Skip to contentSkip to conversation

NX protection for kernel data : fix 32 bits S3 suspend

PATCH Bodo Eggert 2 participants 2 messages Feb 6, 2011 5 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 6 lines · H. Peter Anvin

In static_protections() we have:

Quoted 4 lines

/*
* The BIOS area between 640k and 1Mb needs to be executable for
* PCI BIOS based config access (CONFIG_PCI_GOBIOS) support. */

I don't think the CGA/MDA/VGA graphics memory areas should be executable, and I doubt execute access to these areas is required - is it?

0xA000:0000 might be a BIOS area, if it is, you don't have a VGA and the ROM will be exactly 64K. 0xB800 and 0xB000 SHOULD NOT be a ROM, nobody dared to use it (I don't remember exactly where ROMs are searched).

Signature · 4 lines
Funny quotes:
34. If FedEx and UPS were to merge, would they call it Fed UP?

Friß, Spammer: [email protected] [email protected]
#6 lore raw
Quoted 9 lines · Bodo Eggert
Quoted 6 lines · H. Peter Anvin

In static_protections() we have:

Quoted 4 lines

/*
* The BIOS area between 640k and 1Mb needs to be executable for
* PCI BIOS based config access (CONFIG_PCI_GOBIOS) support. */

Quoted 6 lines

I don't think the CGA/MDA/VGA graphics memory areas should be executable, and I doubt execute access to these areas is required - is it?

0xA000:0000 might be a BIOS area, if it is, you don't have a VGA and the ROM will be exactly 64K. 0xB800 and 0xB000 SHOULD NOT be a ROM, nobody dared to use it (I don't remember exactly where ROMs are searched).

0xA0000..0xBFFFF can be ROM if you don't have a VGA card; this is new in PCI 3.x IIRC. However, in legacy systems you will not have ROM in this area.

-hpa

Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.