Re: [PATCH v3] x86: avoid remapping data in parse_setup_data()

2013-09-01 Thread H. Peter Anvin
On 08/13/2013 02:46 PM, Linn Crosetto wrote: > Type SETUP_PCI, added by setup_efi_pci(), may advertise a ROM size > larger than early_memremap() is able to handle, which is currently > limited to 256kB. If this occurs it leads to a NULL dereference in > parse_setup_data(). > > To avoid this, remap

Re: [PATCH v3] x86: avoid remapping data in parse_setup_data()

2013-08-13 Thread Pekka Enberg
On 8/14/13 12:46 AM, Linn Crosetto wrote: Type SETUP_PCI, added by setup_efi_pci(), may advertise a ROM size larger than early_memremap() is able to handle, which is currently limited to 256kB. If this occurs it leads to a NULL dereference in parse_setup_data(). To avoid this, remap the setup_da

Re: [PATCH v3] x86: avoid remapping data in parse_setup_data()

2013-08-13 Thread Yinghai Lu
On Tue, Aug 13, 2013 at 2:46 PM, Linn Crosetto wrote: > Type SETUP_PCI, added by setup_efi_pci(), may advertise a ROM size > larger than early_memremap() is able to handle, which is currently > limited to 256kB. If this occurs it leads to a NULL dereference in > parse_setup_data(). > > To avoid th

[PATCH v3] x86: avoid remapping data in parse_setup_data()

2013-08-13 Thread Linn Crosetto
Type SETUP_PCI, added by setup_efi_pci(), may advertise a ROM size larger than early_memremap() is able to handle, which is currently limited to 256kB. If this occurs it leads to a NULL dereference in parse_setup_data(). To avoid this, remap the setup_data header and allow parsing functions for in