Re: [PATCH 2/2] vfio/ccw: identify CCW data addresses as physical

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Eric Farman (2022-11-09 21:21:57)
> 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@xxxxxxxxxxxxx>
> Reviewed-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx>

Reviewed-by: Nico Boehr <nrb@xxxxxxxxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux