summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/ipl.h
diff options
context:
space:
mode:
authorEric Farman <farman@linux.ibm.com>2022-11-21 17:58:36 +0100
committerAlexander Gordeev <agordeev@linux.ibm.com>2022-12-05 15:01:36 +0100
commit5de2322d7b8ecba37152334ebaaddf687fd63a38 (patch)
treeb0c3e15c0f35a63ec80f790cfe2039a77a9152f7 /arch/s390/include/asm/ipl.h
parent21c7996917cb5c9d8669409b00d990b75d22a849 (diff)
downloadlinux-5de2322d7b8ecba37152334ebaaddf687fd63a38.tar.bz2
vfio/ccw: identify CCW data addresses as physical
The CCW data address created by vfio-ccw is that of an IDAL built by this code. Since this address is used by real hardware, it should be a physical address rather than a virtual one. Let's clarify it as such in the ORB. Similarly, once the I/O has completed the memory for that IDAL needs to be released, so convert the CCW data address back to a virtual address so that kfree() can process it. Note: this currently doesn't fix a real bug, since virtual addresses are identical to physical ones. Signed-off-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by: Nico Boehr <nrb@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Link: https://lore.kernel.org/r/20221121165836.283781-3-farman@linux.ibm.com
Diffstat (limited to 'arch/s390/include/asm/ipl.h')
0 files changed, 0 insertions, 0 deletions