linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix missing case for concatenation
@ 2024-12-02 14:06 Mostafa Saleh
  2024-12-02 14:06 ` [PATCH v2 1/2] iommu/io-pgtable-arm: Fix stage-2 concatenation with 16K Mostafa Saleh
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mostafa Saleh @ 2024-12-02 14:06 UTC (permalink / raw)
  To: linux-kernel, iommu, linux-arm-kernel
  Cc: will, robin.murphy, joro, Mostafa Saleh, Daniel Mentz

First patch fixes a missing case for 16K granule and 40 bits SMMUs
where concatenation is mandatory but ignored.

Second patch, imporves coverage of OAS in selftests to make it
possible to test all concatenation cases.

Cc: Daniel Mentz <danielmentz@google.com>

Mostafa Saleh (2):
  iommu/io-pgtable-arm: Fix stage-2 concatenation with 16K
  iommu/io-pgtable-arm: Add coverage for different OAS in selftest

 drivers/iommu/io-pgtable-arm.c | 72 ++++++++++++++++++++++------------
 1 file changed, 48 insertions(+), 24 deletions(-)

-- 
V2:
- Rely on OAS and don't assume OAS = IAS
- Re-write the comment and commit message to be more clear
- Improve selftests
V1: https://lore.kernel.org/linux-iommu/20241115172235.1493328-1-smostafa@google.com/

2.47.0.338.g60cca15819-goog



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-12-10  9:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02 14:06 [PATCH v2 0/2] Fix missing case for concatenation Mostafa Saleh
2024-12-02 14:06 ` [PATCH v2 1/2] iommu/io-pgtable-arm: Fix stage-2 concatenation with 16K Mostafa Saleh
2024-12-09 23:58   ` Will Deacon
2024-12-10  9:40     ` Mostafa Saleh
2024-12-02 14:06 ` [PATCH v2 2/2] iommu/io-pgtable-arm: Add coverage for different OAS in selftest Mostafa Saleh
2024-12-10  0:17 ` [PATCH v2 0/2] Fix missing case for concatenation Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).