diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2022-02-07 15:02:46 -0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-02-14 19:41:39 +0100 |
commit | 7a5fbc9bcba5325a45297a4ba00091f39a63a1ed (patch) | |
tree | c723c6ba5b9da209e94577a9c5e363c3b550cc34 /kernel/fork.c | |
parent | 7a853c2d5951419fdf3c1c9d2b6f5a38f6a6857d (diff) | |
download | lwn-7a5fbc9bcba5325a45297a4ba00091f39a63a1ed.tar.gz lwn-7a5fbc9bcba5325a45297a4ba00091f39a63a1ed.zip |
iommu/ioasid: Introduce a helper to check for valid PASIDs
Define a pasid_valid() helper to check if a given PASID is valid.
[ bp: Massage commit message. ]
Suggested-by: Ashok Raj <ashok.raj@intel.com>
Suggested-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20220207230254.3342514-4-fenghua.yu@intel.com
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions