Re: [PATCH v2 1/5] iommu: Add mm_get_enqcmd_pasid() helper function

From: Baolu Lu
Date: Wed Aug 30 2023 - 22:07:03 EST


On 2023/8/27 16:43, Tina Zhang wrote:
mm_get_enqcmd_pasid() is for getting enqcmd pasid value.

The motivation is to replace mm->pasid with an iommu private data
structure that is introduced in a later patch.

v2: change mm_get_pasid() to mm_get_enqcmd_pasid()

The change log should be moved under the tear line.


Signed-off-by: Tina Zhang<tina.zhang@xxxxxxxxx>
---
arch/x86/kernel/traps.c | 2 +-
include/linux/iommu.h | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)

Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>

Best regards,
baolu