diff options
author | Rex Zhang <[email protected]> | 2023-06-14 14:27:06 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-07-12 22:24:01 +0530 |
commit | 50c5e6f41d5ad7c731c31135a30d0e4f0e4fea26 (patch) | |
tree | 85b627c42cbdc494fdb56827d95466b477e7eff5 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | ecc3cfc31f33c88cb9fa8fd1fcfc8a86e4b7b18b (diff) |
dmaengine: idxd: Modify the dependence of attribute pasid_enabled
Kernel PASID and user PASID are separately enabled. User needs to know the
user PASID enabling status to decide how to use IDXD device in user space.
This is done via the attribute /sys/bus/dsa/devices/dsa0/pasid_enabled.
It's unnecessary for user to know the kernel PASID enabling status because
user won't use the kernel PASID. But instead of showing the user PASID
enabling status, the attribute shows the kernel PASID enabling status. Fix
the issue by showing the user PASID enabling status in the attribute.
Fixes: 42a1b73852c4 ("dmaengine: idxd: Separate user and kernel pasid enabling")
Signed-off-by: Rex Zhang <[email protected]>
Acked-by: Fenghua Yu <[email protected]>
Acked-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions