Re: [PATCH] KVM: s390: pci: fix GAIT physical vs virtual pointers usage

From: Janosch Frank
Date: Tue Sep 20 2022 - 04:29:38 EST


On 9/7/22 17:59, Matthew Rosato wrote:
The GAIT and all of its entries must be represented by physical
addresses as this structure is shared with underlying firmware.
We can keep a virtual address of the GAIT origin in order to
handle processing in the kernel, but when traversing the entries
we must again convert the physical AISB stored in that GAIT entry
into a virtual address in order to process it.

Note: this currently doesn't fix a real bug, since virtual addresses
are indentical to physical ones.

Reviewed-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
Acked-by: Nico Boehr <nrb@xxxxxxxxxxxxx>
Signed-off-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx>

Thanks, applied