On Tue, Jul 16, 2013 at 7:32 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote: > Fair enough. I leave it to the experts to comment on whether there > should be some explicit check of whether this is > EFI_BOOT_SERVICES_DATA. > I am reading the code again and something doesn't sound right. The original code calls efi_lookup_mapped_address. It doesn't find the image address there - which is strange given that on my system the address lies in mem type 4 as printed during boot. Hmm. But then phys_to_virt on the same address succeeds and we can read the image off of that. I might need to do some debugging of efi_lookup_mapped_address to see why it isn't finding it there. If it did find it there, none of the ioremap issues would arise. > FWIW, if my board does indeed have a DWORD-swapped address, it's in > plain old RAM (type=7). Yeah, for the status invalid case I think we would be better off just ignoring it. Too much heuristic trickery required and it might not be worth it after all that if the firmware didn't bother putting a proper image in there. Parag -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html