Re: [PATCH v4] iommu/of: Fix pci_request_acs() before enumerating PCI devices

2021-09-02 Thread Anders Roxell
On Wed, 1 Sept 2021 at 11:58, Robin Murphy wrote: > > On 2021-09-01 09:59, Marek Szyprowski wrote: > > On 21.05.2021 05:03, Wang Xingang wrote: > >> From: Xingang Wang > >> > >> When booting with devicetree, the pci_request_acs() is called after the > >> enumeration and initialization of PCI

[PATCH v2] iommu: arm-smmu-v3: Mark expected switch fall-through

2019-07-30 Thread Anders Roxell
) ^ ../drivers/iommu/arm-smmu-v3.c:1191:3: note: here default: ^~~ Rework so that the compiler doesn't warn about fall-through. Make it clearer by calling 'BUG_ON()' when disable_bypass is set, and always 'break;' Signed-off-by: Anders Roxell --- drivers/iommu/arm-smmu-v3.c | 4

[PATCH] iommu: arm-smmu-v3: Mark expected switch fall-through

2019-07-26 Thread Anders Roxell
and always 'break;' Cc: sta...@vger.kernel.org # v4.2+ Fixes: 5bc0a11664e1 ("iommu/arm-smmu: Don't BUG() if we find aborting STEs with disable_bypass") Signed-off-by: Anders Roxell --- drivers/iommu/arm-smmu-v3.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH] dma-debug: fix soft lockup when a lot of debug are enabled

2018-12-11 Thread Anders Roxell
] kernel_init_freeable+0x194/0x24c [ 44.115570] kernel_init+0x24/0x18c [ 44.116498] ret_from_fork+0x10/0x18 Rework to call cond_resched(), in the function prealloc_memory()'s for-loop. Signed-off-by: Anders Roxell --- kernel/dma/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/dma