Re: [PATCH] add PCI ROMs to sysfs

From: Matthew Wilcox
Date: Sat Aug 28 2004 - 11:45:37 EST


On Fri, Aug 27, 2004 at 03:29:38PM -0700, Jon Smirl wrote:
> I would think that it would return 4MB. If it can't find standard ROM
> headers it should return the window size.

The patch I just sent changes this ... if we can find PCI headers,
we should return nothing.

> Are you sure you are getting the correct contents of those ROMs? Would
> it be worthwhile to try and get the author of the ROMs to add standard
> ROM headers? The content you included doesn't look that useful unless
> that is what IA64 instructions look like.

It looks like nothing that makes any sense to me. Maybe it's a blanked
EEPROM or something. This particular device is on the motherboard of a
prototype machine, so there could be almost anything going on with it ;-)

> If reading past 1MB for those ROMs causes a reboots, could something be
> wrong in the IA64 fault handing code?

No, that's normal behaviour on ia64 -- unacknowledged PCI reads cause a
machine check rather than reading ffffffff like x86 does.

--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/