Re: [PATCH 1/2] vfio-ccw: sort out physical vs virtual pointers usage

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

 



Quoting Eric Farman (2022-11-09 21:21:56)
> From: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>
> 
> The ORB is a construct that is sent to the real hardware,
> so should contain a physical address in its interrupt
> parameter field. Let's clarify that.

Maybe I don't get it, but I think the commit description is inaccurate. The PoP
says (p. 15-25):

> Bits 0-31 of word 0 are
> preserved unmodified in the subchannel until
> replaced by a subsequent START SUBCHANNEL or
> MODIFY SUBCHANNEL instruction. These bits are
> placed in word 1 of the interruption code when an I/O
> interruption occurs and when an interruption request
> is cleared by the execution of TEST PENDING
> INTERRUPTION.

So the hardware actually doesn't care what kind of address this is. Rather, the
CIO driver expects the intparam to be a physical address - probably so it fits
32 bits -, see do_cio_interrupt.




[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