Messages in this thread | | | Date | Wed, 6 Jul 2022 13:48:26 -0300 | From | Jason Gunthorpe <> | Subject | Re: [RFT][PATCH v2 2/9] vfio/ap: Pass in physical address of ind to ap_aqic() |
| |
On Tue, Jul 05, 2022 at 11:27:52PM -0700, Nicolin Chen wrote: > The ap_aqic() is called by vfio_ap_irq_enable() where it passes in a > virt value that's casted from a physical address "h_nib". Inside the > ap_aqic(), it does virt_to_phys() again. > > Since ap_aqic() needs a physical address, let's just pass in a pa of > ind directly. So change the "ind" to "pa_ind". > > Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> > Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> > --- > arch/s390/include/asm/ap.h | 6 +++--- > drivers/s390/crypto/ap_queue.c | 2 +- > drivers/s390/crypto/vfio_ap_ops.c | 7 ++++--- > 3 files changed, 8 insertions(+), 7 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
| |