On 8/28/25 4:08 PM, Haren Myneni wrote:
> The user space polls on the wait_queue for the payload from the
> specific source. The hypervisor interrupts the OS when the pipe
> status for the specific source is changed such as payload is
> available for the partition or pipe to the source is closed. The
> OS retrieves the HVPIPE event message with check-exception RTAS
> and event message contains the source ID and the pipe status.
> Then wakes up all FDs waiting on the wait_queue so that the user
> space can read the payload or close the FD if the pipe to source
> in the hypervisor is closed.
> 
> The hypervisor assigns one pipe per partition for all sources.
> Hence issue  ibm,receive-hvpipe-msg() to read the pending
> payload during release() before closing FD so that pipe to the
> partition will not be blocked.
> 
> Signed-off-by: Haren Myneni <[email protected]>
> Reviewed-by: Mahesh Salgaonkar <[email protected]>
> Tested-by: Shashank MS <[email protected]>
> ---

Reviewed-by: Tyrel Datwyler <[email protected]>

Reply via email to