Skip to content
Commit 27e27782 authored by Gavin Shan's avatar Gavin Shan Committed by Alexander Graf
Browse files

sPAPR/IOMMU: Fix TCE entry permission



The permission of TCE entry should exclude physical base address.
Otherwise, unmapping TCE entry can be interpreted to mapping TCE
entry wrongly for VFIO devices.

Signed-off-by: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: default avatarAlex Williamson <alex.williamson@redhat.com>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent f92f5da1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment