On 8/28/25 4:08 PM, Haren Myneni wrote: > ibm,receive-hvpipe-msg RTAS call is used to receive data from the > source (Ex: Hardware Management Console) over the hypervisor > pipe. The hypervisor will signal the OS via a Hypervisor Pipe > Event external interrupt when data is available to be received > from the pipe and the event message has the source ID and the > message type such as payload or closed pipe to the specific > source. The hypervisor will not generate another interrupt for > the next payload until the partition reads the previous payload. > It means the hvpipe is blocked and will not deliver other events > for any source. The maximum data length of 4048 bytes is > supported with this RTAS call right now. > > The user space uses read() to receive data from HMC which issues > ibm,receive-hvpipe-msg RTAS and the kernel returns the buffer > length (including papr_hvpipe_hdr length) to the user space for > success or RTAS failure error. If the message is regarding the > pipe closed, kernel just returns the papr_hvpipe_hdr with > flags = HVPIPE_LOST_CONNECTION and expects the user space to > close FD for the corresponding source. > > bm,receive-hvpipe-msg RTAS call passes the buffer and returns
Missing the "i" in "ibm,receive-hvpipe-msg". > the source ID from where this payload is received and the > payload length. > > Signed-off-by: Haren Myneni <ha...@linux.ibm.com> > Reviewed-by: Mahesh Salgaonkar <mah...@linux.ibm.com> > Tested-by: Shashank MS <shashank.go...@in.ibm.com> > --- Reviewed-by: Tyrel Datwyler <tyr...@linux.ibm.com>