diff options
| author | Vasant Hegde <vasant.hegde@amd.com> | 2026-08-11 04:08:57 +0000 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-08-11 09:02:55 +0200 |
| commit | 589f0cc1e099720aaffe4abf2d4d1a19c62a975a (patch) | |
| tree | a3e8e6f3643988425a4b0ed19832f9fb0581fe56 /tools/perf/scripts/python | |
| parent | 5322e19fc5acf013784207bc38191cd418a8bb48 (diff) | |
iommu/amd: Introduce PPR_TAG_LAST_PAGE() macro
The PPR tag field (PPRtag) encodes two distinct fields: the 9-bit tag
value (bits 8-0) and the last-page indicator L bit (bit 9).
Fix PPR_TAG() to mask only the 9-bit tag field and introduce
PPR_TAG_LAST_PAGE to explicitly extract the L bit. This way it becomes
easy to read.
Cc: Wei Huang <wei.huang2@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Ankit Soni <Ankit.Soni@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
