[PATCH 2/2] iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation

2021-11-30 Thread Vinod Koul
Add SM8450 qcom iommu implementation to the table of qcom_smmu_impl_of_match table which brings in iommu support for SM8450 SoC Signed-off-by: Vinod Koul --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c

[PATCH 1/2] dt-bindings: arm-smmu: Add compatible for SM8450 SoC

2021-11-30 Thread Vinod Koul
Add the SoC specific compatible for SM8450 implementing arm,mmu-500. Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml

[PATCH 0/2] Add support from SM8450 IOMMU

2021-11-30 Thread Vinod Koul
This adds the binding and support for IOMMU found in SM8450 SoC Vinod Koul (2): dt-bindings: arm-smmu: Add compatible for SM8450 SoC iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +

Re: [PATCH v4 00/14] x86: Trenchboot secure dynamic launch Linux kernel support

2021-11-30 Thread Paul Moore
On Fri, Aug 27, 2021 at 9:20 AM Ross Philipson wrote: > > The larger focus of the Trechboot project (https://github.com/TrenchBoot) is > to > enhance the boot security and integrity in a unified manner. The first area of > focus has been on the Trusted Computing Group's Dynamic Launch for >

Re: [PATCH 0/4] iommu: M1 Pro/Max DART support

2021-11-30 Thread Janne Grunau
Hej, On 2021-11-17 22:15:05 +0100, Sven Peter wrote: > > This is a fairly brief series to add support for the DARTs present in the > M1 Pro/Max. They have two differences that make them incompatible with > those in the M1: > > - the physical addresses are shifted left by 4 bits and and have 2

Re: [patch 33/37] iommu/arm-smmu-v3: Use msi_get_virq()

2021-11-30 Thread Thomas Gleixner
On Tue, Nov 30 2021 at 09:36, Will Deacon wrote: > On Mon, Nov 29, 2021 at 02:54:18PM +, Robin Murphy wrote: >> On 2021-11-29 14:42, Thomas Gleixner wrote: >> > It's actually 0 when the vector cannot be found. >> >> Oh, -1 for my reading comprehension but +1 for my confidence in the patch >>

Re: [patch 08/37] genirq/msi: Provide msi_device_populate/destroy_sysfs()

2021-11-30 Thread Jonathan Cameron via iommu
On Sat, 27 Nov 2021 02:20:19 +0100 (CET) Thomas Gleixner wrote: > Add new allocation functions which can be activated by domain info > flags. They store the groups pointer in struct msi_device_data. > > Signed-off-by: Thomas Gleixner A few trivial comments... > --- > include/linux/msi.h |

Re: [PATCH v3 12/33] iommu/mediatek: Always tlb_flush_all when each PM resume

2021-11-30 Thread Dafna Hirschfeld
On 30.11.21 09:39, Yong Wu wrote: On Sat, 2021-11-27 at 12:11 +0200, Dafna Hirschfeld wrote: On 10.11.21 09:50, Yong Wu wrote: On Wed, 2021-11-10 at 07:29 +0200, Dafna Hirschfeld wrote: On 10.11.21 04:20, Yong Wu wrote: On Tue, 2021-11-09 at 14:21 +0200, Dafna Hirschfeld wrote: Hi This

Re: [RFC PATCH 0/3] Use pageblock_order for cma and alloc_contig_range alignment.

2021-11-30 Thread Mel Gorman
On Tue, Nov 30, 2021 at 10:11:36AM +0100, Vlastimil Babka wrote: > >>> I find that two pageblocks with different migratetypes, like > >>> MIGRATE_RECLAIMABLE > >>> and MIGRATE_MOVABLE can be merged into a single free page after I checked > >>> __free_one_page() in detail and printed pageblock

Re: [patch 33/37] iommu/arm-smmu-v3: Use msi_get_virq()

2021-11-30 Thread Will Deacon
On Mon, Nov 29, 2021 at 02:54:18PM +, Robin Murphy wrote: > On 2021-11-29 14:42, Thomas Gleixner wrote: > > On Mon, Nov 29 2021 at 13:13, Robin Murphy wrote: > > > On 2021-11-29 10:55, Will Deacon wrote: > > > > > - } > > > > > + smmu->evtq.q.irq = msi_get_virq(dev, EVTQ_MSI_INDEX); >

Re: [RFC PATCH 0/3] Use pageblock_order for cma and alloc_contig_range alignment.

2021-11-30 Thread Vlastimil Babka
On 11/29/21 23:08, Zi Yan wrote: > On 23 Nov 2021, at 12:32, Vlastimil Babka wrote: > >> On 11/23/21 17:35, Zi Yan wrote: >>> On 19 Nov 2021, at 10:15, Zi Yan wrote: >> From what my understanding, cma required alignment of >> max(MAX_ORDER - 1, pageblock_order), because when MIGRATE_CMA

[RFC PATCH] per device enable smmu whem iommu passthrough

2021-11-30 Thread Jay Chen
Currently, when iommu.passthrough=1 is set, all arm smmu peripherals are bypassed. This patch allows specific peripherals to use smmu translate. Signed-off-by: Jay Chen --- .../admin-guide/kernel-parameters.txt | 6 +++ drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 41