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

2013-08-12 Thread H. Peter Anvin
On 08/12/2013 02:00 PM, Linn Crosetto wrote: > PCI devices may advertise a ROM size larger than early_memremap() is > able to handle. If this occurs it leads to a NULL dereference in > parse_setup_data(). Avoid this by remapping the data only when > necessary. > > Signed-off-by: Linn Crosetto I

[PATCH] x86: selective remapping in parse_setup_data()

2013-08-12 Thread Linn Crosetto
PCI devices may advertise a ROM size larger than early_memremap() is able to handle. If this occurs it leads to a NULL dereference in parse_setup_data(). Avoid this by remapping the data only when necessary. Signed-off-by: Linn Crosetto --- arch/x86/kernel/setup.c | 19 ++- 1 fil