Re: [PATCH V3] iscsi_ibft: fix crash due to KASLR physical memory remapping

From: Christoph Hellwig
Date: Tue Aug 10 2021 - 13:01:34 EST


> Fix this bug by saving the address of the physical location
> of the ibft; later the driver will use isa_bus_to_virt() to get
> the correct virtual address.

That sound rather broken. Why not save the physical address in
find_ibft_region and then later ioremap that when a virtual address is
needed like all other code accessing magic I/O memory?