Re: [PATCH RFC] function probe_roms accessing improper addresses on UEFI systems

2012-10-04 Thread Matthew Garrett
On Wed, Oct 03, 2012 at 05:53:46PM -0600, Randy Wright wrote: > The following proposed patch takes advantage of the fact that on EFI > systems, the memory map provides a better description of the physical > space than on pre-EFI legacy systems. If the efi_enabled state variable > indicates the

Re: [PATCH RFC] function probe_roms accessing improper addresses on UEFI systems

2012-10-04 Thread Matthew Garrett
On Wed, Oct 03, 2012 at 05:53:46PM -0600, Randy Wright wrote: The following proposed patch takes advantage of the fact that on EFI systems, the memory map provides a better description of the physical space than on pre-EFI legacy systems. If the efi_enabled state variable indicates the kernel

[PATCH RFC] function probe_roms accessing improper addresses on UEFI systems

2012-10-03 Thread Randy Wright
The code in function probe_roms accesses the legacy adapter space (in the physical address range 640k-1mb) without regard to how this range is described in the memory map. The assumption in the code is that the result of an access to unpopulated space is a soft fail, returning -1. This assumption

[PATCH RFC] function probe_roms accessing improper addresses on UEFI systems

2012-10-03 Thread Randy Wright
The code in function probe_roms accesses the legacy adapter space (in the physical address range 640k-1mb) without regard to how this range is described in the memory map. The assumption in the code is that the result of an access to unpopulated space is a soft fail, returning -1. This assumption