]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/io-pgtable: Add a domain attribute for pagetable configuration
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Wed, 25 Nov 2020 07:00:10 +0000 (12:30 +0530)
committerWill Deacon <will@kernel.org>
Wed, 25 Nov 2020 12:39:09 +0000 (12:39 +0000)
commitc3aaa1c5a55cb7a9778a40d9b205c23c511bcff5
tree0091d5df879a276a41567ee032e15fe2783803b0
parent68ed2672b8fdb9454c449f573990714135c93adc
iommu/io-pgtable: Add a domain attribute for pagetable configuration

Add a new iommu domain attribute DOMAIN_ATTR_IO_PGTABLE_CFG
for pagetable configuration which initially will be used to
set quirks like for system cache aka last level cache to be
used by client drivers like GPU to set right attributes for
caching the hardware pagetables into the system cache and
later can be extended to include other page table configuration
data.

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Link: https://lore.kernel.org/r/9190aa16f378fc0a7f8e57b2b9f60b033e7eeb4f.1606287059.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
include/linux/io-pgtable.h
include/linux/iommu.h