From: Linn Crosetto Date: Tue, 13 Aug 2013 21:46:41 +0000 (-0600) Subject: x86: avoid remapping data in parse_setup_data() X-Git-Tag: v3.12-rc1~157^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30e46b574a1db7d14404e52dca8e1aa5f5155fd2;p=pandora-kernel.git x86: avoid remapping data in parse_setup_data() 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 individual types to handle their own data remapping. Signed-off-by: Linn Crosetto Link: http://lkml.kernel.org/r/1376430401-67445-1-git-send-email-linn@hp.com Acked-by: Yinghai Lu Reviewed-by: Pekka Enberg Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed