Re: [RFC PATCH v2 1/3] powerpc/prom_init: Replace linux,sml-base/sml-size with linux,sml-log

2024-03-11 Thread Jerry Snitselaar
On Mon, Mar 11, 2024 at 09:20:28AM -0400, Stefan Berger wrote: > linux,sml-base holds the address of a buffer with the TPM log. This > buffer may become invalid after a kexec. To avoid accessing an invalid > address or corrupted buffer, embed the whole TPM log in the device tree > property linux,sm

Re: [PATCH v7 24/24] iommu: Convert remaining simple drivers to domain_alloc_paging()

2023-08-28 Thread Jerry Snitselaar
gt; Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/msm_iommu.c| 7 ++- > drivers/iommu/mtk_iommu_v1.c | 7 ++- > drivers/iommu/omap-iommu.c | 7 ++- > drivers/iommu/s390-iommu.c | 7 ++- > 4 files changed, 8 insertions(+), 20 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 23/24] iommu: Convert simple drivers with DOMAIN_DMA to domain_alloc_paging()

2023-08-28 Thread Jerry Snitselaar
iles changed, 17 insertions(+), 40 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 22/24] iommu: Add ops->domain_alloc_paging()

2023-08-28 Thread Jerry Snitselaar
ted-by: Steven Price > Tested-by: Marek Szyprowski > Tested-by: Nicolin Chen > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/iommu.c | 17 ++--- > include/linux/iommu.h | 3 +++ > 2 files changed, 17 insertions(+), 3 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 21/24] iommu: Add __iommu_group_domain_alloc()

2023-08-28 Thread Jerry Snitselaar
ki > Tested-by: Nicolin Chen > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe > --- Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 20/24] iommu: Require a default_domain for all iommu drivers

2023-08-28 Thread Jerry Snitselaar
y named with domain types. > > Tested-by: Heiko Stuebner > Tested-by: Niklas Schnelle > Tested-by: Steven Price > Tested-by: Marek Szyprowski > Tested-by: Nicolin Chen > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/iommu.c | 22 +++--- > 1 file changed, 7 insertions(+), 15 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 19/24] iommu/sun50i: Add an IOMMU_IDENTITIY_DOMAIN

2023-08-28 Thread Jerry Snitselaar
anged, 19 insertions(+), 7 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 18/24] iommu/mtk_iommu: Add an IOMMU_IDENTITIY_DOMAIN

2023-08-28 Thread Jerry Snitselaar
Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/mtk_iommu.c | 23 +++ > 1 file changed, 23 insertions(+) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 17/24] iommu/ipmmu: Add an IOMMU_IDENTITIY_DOMAIN

2023-08-28 Thread Jerry Snitselaar
3 ("iommu/ipmmu-vmsa: Remove > ipmmu_utlb_disable()") > > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/ipmmu-vmsa.c | 43 ++ > 1 file changed, 43 insertions(+) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 16/24] iommu/qcom_iommu: Add an IOMMU_IDENTITIY_DOMAIN

2023-08-28 Thread Jerry Snitselaar
Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/arm/arm-smmu/qcom_iommu.c | 39 + > 1 file changed, 39 insertions(+) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 15/24] iommu: Remove ops->set_platform_dma_ops()

2023-08-28 Thread Jerry Snitselaar
rtions(+), 29 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 14/24] iommu/msm: Implement an IDENTITY domain

2023-08-28 Thread Jerry Snitselaar
19 insertions(+), 4 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 13/24] iommu/omap: Implement an IDENTITY domain

2023-08-28 Thread Jerry Snitselaar
1 file changed, 18 insertions(+), 3 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 12/24] iommu/tegra-smmu: Support DMA domains in tegra

2023-08-28 Thread Jerry Snitselaar
havior changes. > > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/tegra-smmu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 11/24] iommu/tegra-smmu: Implement an IDENTITY domain

2023-08-28 Thread Jerry Snitselaar
t; Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/tegra-smmu.c | 37 - > 1 file changed, 32 insertions(+), 5 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 10/24] iommu/exynos: Implement an IDENTITY domain

2023-08-28 Thread Jerry Snitselaar
arek Szyprowski > Acked-by: Marek Szyprowski > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/exynos-iommu.c | 66 +--- > 1 file changed, 32 insertions(+), 34 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 09/24] iommu: Allow an IDENTITY domain as the default_domain in ARM32

2023-08-28 Thread Jerry Snitselaar
k Szyprowski > Tested-by: Nicolin Chen > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/iommu.c | 21 - > drivers/iommu/mtk_iommu_v1.c | 12 > drivers/iommu/rockchip-iommu.c | 10 -- > 3 files changed, 20 insertions(+), 23 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 08/24] iommu: Reorganize iommu_get_default_domain_type() to respect def_domain_type()

2023-08-28 Thread Jerry Snitselaar
mu.c | 117 ++++-- > 1 file changed, 79 insertions(+), 38 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 07/24] iommu/mtk_iommu_v1: Implement an IDENTITY domain

2023-08-25 Thread Jerry Snitselaar
AGED from > def_domain_type(). This allows the next patch to enforce an IDENTITY > domain policy for this driver. > > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/mtk_iommu_v1.c | 21 +++-- > 1 file changed, 19 insertions(+), 2 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 05/24] iommu/fsl_pamu: Implement a PLATFORM domain

2023-08-25 Thread Jerry Snitselaar
nd to warn away any future people looking at this. > > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 06/24] iommu/tegra-gart: Remove tegra-gart

2023-08-25 Thread Jerry Snitselaar
hierry Reding > Cc: Dmitry Osipenko > Acked-by: Thierry Reding > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 04/24] iommu: Add IOMMU_DOMAIN_PLATFORM for S390

2023-08-25 Thread Jerry Snitselaar
> Tested-by: Niklas Schnelle > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 03/24] powerpc/iommu: Setup a default domain and remove set_platform_dma_ops

2023-08-25 Thread Jerry Snitselaar
lu > Signed-off-by: Jason Gunthorpe > --- > arch/powerpc/kernel/iommu.c | 38 + > 1 file changed, 17 insertions(+), 21 deletions(-) > Reviewed-by: Jerry Snitselaar

Re: [PATCH v7 02/24] iommu: Add IOMMU_DOMAIN_PLATFORM

2023-08-25 Thread Jerry Snitselaar
On Fri, Aug 25, 2023 at 02:40:10PM -0300, Jason Gunthorpe wrote: > On Thu, Aug 24, 2023 at 06:51:48PM -0700, Jerry Snitselaar wrote: > > > > + /* > > > + * Allow legacy drivers to specify the domain that will be the default > > > + * domain. This should always

Re: [PATCH v7 02/24] iommu: Add IOMMU_DOMAIN_PLATFORM

2023-08-24 Thread Jerry Snitselaar
On Wed, Aug 23, 2023 at 01:47:16PM -0300, Jason Gunthorpe wrote: > This is used when the iommu driver is taking control of the dma_ops, > currently only on S390 and power spapr. It is designed to preserve the > original ops->detach_dev() semantic that these S390 was built around. > > Provide an op

Re: [PATCH v7 01/24] iommu: Add iommu_ops->identity_domain

2023-08-23 Thread Jerry Snitselaar
he iommufd selftest. > > Convert rockchip to use the new mechanism. > > Tested-by: Steven Price > Tested-by: Marek Szyprowski > Tested-by: Nicolin Chen > Reviewed-by: Lu Baolu > Signed-off-by: Jason Gunthorpe Reviewed-by: Jerry Snitselaar

Re: [6.4-rc6] Crash during a kexec operation (tpm_amd_is_rng_defective)

2023-06-29 Thread Jerry Snitselaar
On Thu, Jun 29, 2023 at 05:28:58PM +, Limonciello, Mario wrote: > [Public] > > > -Original Message- > > From: Jerry Snitselaar > > Sent: Thursday, June 29, 2023 12:07 PM > > To: Limonciello, Mario > > Cc: Michael Ellerman ; Linux regressions m

Re: [6.4-rc6] Crash during a kexec operation (tpm_amd_is_rng_defective)

2023-06-29 Thread Jerry Snitselaar
On Thu, Jun 22, 2023 at 09:38:04AM -0500, Limonciello, Mario wrote: > > On 6/22/2023 7:36 AM, Michael Ellerman wrote: > > "Linux regression tracking (Thorsten Leemhuis)" > > writes: > > > Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting > > > for once, to make this easily ac

Re: [PATCH v9 3/4] of: kexec: Refactor IMA buffer related functions to make them reusable

2023-05-24 Thread Jerry Snitselaar
imi Zohar > Reviewed-by: Rob Herring > Tested-by: Nageswara R Sastry > Tested-by: Coiby Xu > Reviewed-by: Jerry Snitselaar > --- > v6: > - Add __init to get_kexec_buffer as suggested by Jonathan > > v5: > - Rebased on Jonathan McDowell's commit "b

Re: [PATCH v9 2/4] tpm: of: Make of-tree specific function commonly available

2023-05-24 Thread Jerry Snitselaar
from the TPM Open Firmware driver. > > Signed-off-by: Stefan Berger > Cc: Jarkko Sakkinen > Cc: Jason Gunthorpe > Cc: Rob Herring > Cc: Frank Rowand > Reviewed-by: Mimi Zohar > Tested-by: Nageswara R Sastry > Tested-by: Coiby Xu > Acked-by: Jarkko Sakkinen >

Re: [PATCH v9 1/4] drivers: of: kexec ima: Support 32-bit platforms

2023-05-24 Thread Jerry Snitselaar
g > Signed-off-by: Palmer Dabbelt > Reviewed-by: Mimi Zohar Reviewed-by: Jerry Snitselaar > --- > drivers/of/kexec.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/of/kexec.c b/drivers/of/kexec.c > index f26d2ba8a371..1373d7e0a9b3

Re: [PATCH 00/13] iommu: Remove usage of dev->archdata.iommu

2020-06-25 Thread Jerry Snitselaar
/s5p-mfc/s5p_mfc_iommu.h| 4 +++- 17 files changed, 64 insertions(+), 71 deletions(-) -- 2.27.0 Reviewed-by: Jerry Snitselaar

Re: [PATCHv2] tpm: ibmvtpm: Wait for ready buffer before probing for TPM2 attributes

2020-06-18 Thread Jerry Snitselaar
lization, which will ensure the buffer is allocated. Fixes: 18b3670d79ae9 ("tpm: ibmvtpm: Add support for TPM2") Signed-off-by: David Gibson --- Reviewed-by: Jerry Snitselaar Changes from v1: * Fixed a formatting error in the commit message * Added some more detail to the commit

Re: char/tpm: Improve a size determination in nine functions

2017-10-18 Thread Jerry Snitselaar
On Wed Oct 18 17, SF Markus Elfring wrote: For 1/4 and 2/4: explain why the message can be omitted. Why did you not reply directly with this request for the update steps with the subject “Delete an error message for a failed memory allocation in tpm_…()”? https://patchwork.kernel.org/patch/100