Re: [PATCH v2] x86: selective remapping in parse_setup_data()

2013-08-12 Thread Yinghai Lu
On Mon, Aug 12, 2013 at 4:01 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 v2] x86: selective remapping in parse_setup_data()

2013-08-12 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, first remap the setup_data header, and remap the data only for