diff options
author | Suthikulpanit, Suravee <Suravee.Suthikulpanit@amd.com> | 2019-10-14 23:06:05 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-10-15 15:13:31 +0300 |
commit | ec21f17a9437e11bb29e5fa375aa31b472793c15 (patch) | |
tree | 0bac239bbda2af1e217e0b1e99b6c134787a0e0d /drivers/nvmem | |
parent | ec37d4e999041ae8eb507d8d444a28b338670336 (diff) | |
download | linux-ec21f17a9437e11bb29e5fa375aa31b472793c15.tar.xz |
iommu/amd: Fix incorrect PASID decoding from event log
IOMMU Event Log encodes 20-bit PASID for events:
ILLEGAL_DEV_TABLE_ENTRY
IO_PAGE_FAULT
PAGE_TAB_HARDWARE_ERROR
INVALID_DEVICE_REQUEST
as:
PASID[15:0] = bit 47:32
PASID[19:16] = bit 19:16
Note that INVALID_PPR_REQUEST event has different encoding
from the rest of the events as the following:
PASID[15:0] = bit 31:16
PASID[19:16] = bit 45:42
So, fixes the decoding logic.
Fixes: d64c0486ed50 ("iommu/amd: Update the PASID information printed to the system log")
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions