[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YRKwqAlgWVGVpEJv@infradead.org>
Date: Tue, 10 Aug 2021 18:00:24 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Maurizio Lombardi <mlombard@...hat.com>
Cc: rppt@...nel.org, bp@...en8.de, tglx@...utronix.de, x86@...nel.org,
pjones@...hat.com, konrad@...nel.org, george.kennedy@...cle.com,
rafael@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3] iscsi_ibft: fix crash due to KASLR physical memory
remapping
> 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?
Powered by blists - more mailing lists