diff options
author | Nicolin Chen <[email protected]> | 2022-07-22 19:02:49 -0700 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-07-23 07:29:10 -0600 |
commit | 10e19d492a326afe7f016a8735ccdfd7c65fc979 (patch) | |
tree | 582d90232c98f7c826a8eb0a6f303099c46524e6 /scripts/gdb/linux/utils.py | |
parent | 2c9e8c01109fb65a63b6830adeb5d7c79ccf26d6 (diff) |
vfio/ap: Pass in physical address of ind to ap_aqic()
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 <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Tested-by: Eric Farman <[email protected]>
Signed-off-by: Nicolin Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions