Re: [PATCH 5/6] iommu/qcom: Index contexts by asid number to allow asid 0

2022-06-03 Thread Brian Masney
Suijten > Signed-off-by: Konrad Dybcio msm8974 will need this as well. Reviewed-by: Brian Masney ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

[PATCH RFC] ARM: dts: qcom: msm8974: add mdp5 iommu support

2020-01-08 Thread Brian Masney
has a suggestion for something to try. Signed-off-by: Brian Masney --- arch/arm/boot/dts/qcom-msm8974.dtsi | 44 + 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 4b161b809dd5..2515a3bd4aa7 10064

Re: [PATCH] iommu/qcom: fix NULL pointer dereference during probe deferral

2020-01-07 Thread Brian Masney
On Tue, Jan 07, 2020 at 02:25:30PM +0100, Joerg Roedel wrote: > On Tue, Dec 31, 2019 at 10:39:49PM -0500, Brian Masney wrote: > > drivers/iommu/qcom_iommu.c | 12 ++-- > > 1 file changed, 10 insertions(+), 2 deletions(-) > > Shortened commit-message a bit and app

Re: [PATCH v2] iommu/qcom: fix NULL pointer dereference during probe deferral

2020-01-07 Thread Brian Masney
On Mon, Jan 06, 2020 at 01:26:58PM +, Robin Murphy wrote: > On 04/01/2020 12:20 am, Brian Masney wrote: > > When attempting to load the qcom-iommu driver, and an -EPROBE_DEFER > > error occurs, the following attempted NULL pointer deference occurs: > > > > U

[PATCH] iommu/qcom: fix NULL pointer dereference during probe deferral

2020-01-05 Thread Brian Masney
ointer to the qcom_iommu_domain struct. Signed-off-by: Brian Masney Fixes: 0ae349a0f33fb ("iommu/qcom: Add qcom_iommu") --- drivers/iommu/qcom_iommu.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/qcom_iommu.c b/drivers/iommu/qcom_iommu.c in

[PATCH v2] iommu/qcom: fix NULL pointer dereference during probe deferral

2020-01-05 Thread Brian Masney
fix this by adding the 'struct dev' pointer to the qcom_iommu_domain struct. Signed-off-by: Brian Masney Fixes: 0ae349a0f33fb ("iommu/qcom: Add qcom_iommu") Tested-by: Stephan Gerhold --- Changes since v1: - Set CROSS_COMPILE when running scripts/decode_stacktrace.sh. drivers/iommu