[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240812205255.97781-1-smostafa@google.com>
Date: Mon, 12 Aug 2024 20:52:53 +0000
From: Mostafa Saleh <smostafa@...gle.com>
To: linux-kernel@...r.kernel.org, iommu@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, will@...nel.org, robin.murphy@....com,
joro@...tes.org
Cc: jgg@...pe.ca, nicolinc@...dia.com, mshavit@...gle.com,
Mostafa Saleh <smostafa@...gle.com>
Subject: [PATCH 0/2] Fix handling of S2 stalls
While debugging something else, I spent hours looking at hexdumps of
STEs, CDs and commands while comparing them against the arch specs,
where I noticed a minor violation in the driver regarding handling of
S2S bit in the STE.
This has been there for ages, so it’s highly unlikely that any HW (if
it exists with such features) running Linux is affected.
I don’t have access to HW with stalls so I just tested normal usage
and (terminated) translation fault events.
Mostafa Saleh (2):
iommu/arm-smmu-v3: Match Stall behaviour for S2
iommu/arm-smmu-v3: Report stalled S2 events
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 23 ++++++++++++++++-----
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 3 +++
2 files changed, 21 insertions(+), 5 deletions(-)
--
2.46.0.76.ge559c4bf1a-goog
Powered by blists - more mailing lists