Message ID | 20230526192210.3146896-11-bhupesh.sharma@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp707438vqr; Fri, 26 May 2023 12:35:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49RJIeAMq64Qjd/ProQ1jEcDQjWi8czMV+3gFjAFzrHLEJ54e/0UsxLThYFCRTGDIx7obM X-Received: by 2002:a05:6a00:2d83:b0:641:39cb:1716 with SMTP id fb3-20020a056a002d8300b0064139cb1716mr4938376pfb.20.1685129737662; Fri, 26 May 2023 12:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129737; cv=none; d=google.com; s=arc-20160816; b=NVaqJ70IMd/Jogr7S6yakN/efX29fw5HcfDdJlvtGLEL6KcD8HiAQxrNtzR/lHM+0F VH36SgeixDvQnKgeww9e1xj002c9+j1x9pRl7Q/CiPRzVD5ZNCLIci//lHh/9QwlzBxv K4jiJrtuneTHcM+JIkMTRAQOSjUoRGuPL1twkM81iW4x7yfx9YeWp928cICeicjuevmS aD2oEgXl5ypYUrMXNXsTVtyAPBW/Uav6HN4zcayl/uTbSslEx87YQhw0zJxZoNmilijF ZNAeo6rcDW6NQVFCRZ2Hpe/Jr2wrlREjUf5xpZbthi/knPj/DqQdqzo5Wv9e2Aa64s5/ MCBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LzLxRqESfAzhWOHk9jWggF2sKez+2FAQRolSYn3FDhg=; b=Pcq0exmmZ+mQWzseFW91eIf9tUfU4SIN+dd6pgLC5FEyL5L7Ywfra4v7tHz4d/q1xg tUHcPhosMn+d3SL64GnLpZWoAlBQaTz66s8BZmtMAUvVb+TlXEMJVbnXbtg78zcGRLg0 Zr22bSmdXyqVAeeGqWJWBnZQYGGUCaaDI1b9x2TiCFReNwNWfoMejZkJzypCVxoymCh2 iXVXr7NRab9+Q1AP3U+yE4kVOZwle8f2MDqMkxbcZCvcMSxo5Pq93+/dw0djWWyeLECK YSSpqFAg4yb+rybdEKgWjP+Sdgy3YINXr3bocxFp0noC2b9JqwXakdlnT0jpelnHCzQB a53A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UZvG6SPq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p4-20020a63ab04000000b0053f266243e3si4293557pgf.231.2023.05.26.12.35.01; Fri, 26 May 2023 12:35:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UZvG6SPq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242430AbjEZTZB (ORCPT <rfc822;syz17693488234@gmail.com> + 99 others); Fri, 26 May 2023 15:25:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234439AbjEZTYS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 26 May 2023 15:24:18 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46843E4E for <linux-kernel@vger.kernel.org>; Fri, 26 May 2023 12:23:57 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1ae3ed1b08eso11085765ad.0 for <linux-kernel@vger.kernel.org>; Fri, 26 May 2023 12:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685129012; x=1687721012; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LzLxRqESfAzhWOHk9jWggF2sKez+2FAQRolSYn3FDhg=; b=UZvG6SPqirBlWwo5g3YildSNzcleAp3Rwlt3UKE8P2jPVYOL9fo4scwjEO9njeI4C4 n0POx7PAKH8wF9/wdNF47kCoAkbIMNM4utf8vz0Vs9QNpcZMvYIQ5EcUjEZTWTA0r2Oc 2zDFWnhpSbWn+NDDESS2dvuFQySHKuCaKxfL/nIyZEmy2to/CnRpa4OSqekUPS2QuNvb ZE1J2v2l3ooCfGe8A5pJlA5+x4Rg4q6+cQ2EUUweoyeH5FP023qPhtdWCY7y/AOoPJaP UWG4M0zYTvRpIADCs1hKKejlHxEiEOASIqknBhbF/j2VtMhDsGlLbUF2cQuGwm3NSAiF kvrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685129012; x=1687721012; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LzLxRqESfAzhWOHk9jWggF2sKez+2FAQRolSYn3FDhg=; b=BSYFfZS3vlfyJzLfDaBF4wb+pWuYcldrV5aLV2jeHpK0sLjJfPkVvFnJ+xb70SwMBX UO8v9gDdWh7gM+4zUoT02XmhSqOXc12Yk2kMjXUld+oujBg66SlpBN9IRLPnn8xgfk13 h2pp3J7mSizMIoXqvR/Ts8UzvYY7FFiXnGp7kB/WZPpeWUylslm0hT4Jok4h/lkpsGRg lxZuL+82nfiMERv8o4W8patW/nl/CRuAGFmdpvFzNNjW3ys292/AnLm4SkGhTWSRINeu +FCkNCvdcLEYhD/tf+zhj32n5uZ7phe2JjfdcqyKorzVYV5HxV/aGiyDP1Xl7irs04Ob rYrw== X-Gm-Message-State: AC+VfDzyoafVekCraFuWM33T19h7MnmuNxAvdSUApd04GtNorhhnSzJj 3LfVlZ3NIpwYjgYrK18/x6xlBA== X-Received: by 2002:a17:902:ce90:b0:1ac:310d:872d with SMTP id f16-20020a170902ce9000b001ac310d872dmr3587422plg.52.1685129012380; Fri, 26 May 2023 12:23:32 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.23.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:23:32 -0700 (PDT) From: Bhupesh Sharma <bhupesh.sharma@linaro.org> To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell <anders.roxell@linaro.org>, Linux Kernel Functional Testing <lkft@linaro.org> Subject: [PATCH v8 10/11] arm64: dts: qcom: sm8350: Add Crypto Engine support Date: Sat, 27 May 2023 00:52:09 +0530 Message-Id: <20230526192210.3146896-11-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766986599572738982?= X-GMAIL-MSGID: =?utf-8?q?1766986599572738982?= |
Series |
arm64: qcom: Enable Crypto Engine for a few Qualcomm SoCs
|
|
Commit Message
Bhupesh Sharma
May 26, 2023, 7:22 p.m. UTC
Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8350.dtsi'. Tested-by: Anders Roxell <anders.roxell@linaro.org> Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> Co-developed-by and Signed-off-by: Robert Foss <rfoss@kernel.org> [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Comments
On 26/05/2023 21:22, Bhupesh Sharma wrote: > Add crypto engine (CE) and CE BAM related nodes and definitions to > 'sm8350.dtsi'. > > Tested-by: Anders Roxell <anders.roxell@linaro.org> > Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> > Co-developed-by and Signed-off-by: Robert Foss <rfoss@kernel.org> > [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > --- #regzbot introduced: f1040a7fe8f069d2259ab3dab9190210005ceb33 #regzbot title: HDK8350 silently crashes early on boot Hi, this landed in the next but unfortunately it causes silent crash (and reboot) of HDK8350. Reverting this commit helps. Log is more or less like: [ 1.359340] Bluetooth: HCI UART driver ver 2.3 [ 1.363929] Bluetooth: HCI UART protocol H4 registered [ 1.369243] Bluetooth: HCI UART protocol LL registered [ 1.374639] Bluetooth: HCI UART protocol Broadcom registered [ 1.380476] Bluetooth: HCI UART protocol QCA registered [ 1.385868] Bluetooth: HCI UART protocol Marvell registered [ 1.391623] usbcore: registered new interface driver btusb [ 1.397273] ghes_edac: GHES probing device list is empty [ 1.400305] sdhci: Secure Digital Host Controller Interface driver [ 1.412124] sdhci: Copyright(c) Pierre Ossman [ 1.417494] Synopsys Designware Multimedia Card Interface Driver [ 1.424823] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.433783] ledtrig-cpu: registered to indicate activity on CPUs [ 1.442236] usbcore: registered new interface driver usbhid [ 1.447982] usbhid: USB HID core driver [ 1.457065] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available [ 1.473760] NET: Registered PF_PACKET protocol family [ 1.479044] 9pnet: Installing 9P2000 support [ 1.483491] Key type dns_resolver registered [ 1.496583] registered taskstats version 1 [ 1.500951] Loading compiled-in X.509 certificates [ 1.519456] platform 18200000.rsc:regulators-0: Fixed dependency cycle(s) with /soc@0/rsc@18200000/regulators-0/smps11 [ 1.530916] platform 18200000.rsc:regulators-1: Fixed dependency cycle(s) with /soc@0/rsc@18200000/regulators-0/smps12 [ 1.541906] platform 18200000.rsc:regulators-1: Fixed dependency cycle(s) with /soc@0/rsc@18200000/regulators-1/bob [ 1.552625] platform 18200000.rsc:regulators-1: Fixed dependency cycle(s) with /soc@0/rsc@18200000/regulators-1/smps1 [ 1.563730] vreg_s10b_1p8: Setting 1800000-1800000uV [ 1.564861] vreg_s1c_1p86: Setting 1856000-1880000uV [ 1.569411] vreg_s11b_0p95: Setting 952000-952000uV [ 1.574304] vreg_bob: Setting 3008000-3960000uV [ 1.576918] bam-dFormat: Log Type - Time(microsec) - Message - Optional Info Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic S - QC_IMAGE_VERSION_STRING=BOOT.MXF.1.0-00637.1-LAHAINA-1 S - IMAGE_VARIANT_STRING=SocLahainaLAA S - OEM_IMAGE_VERSION_STRING=crm-ubuntu77 S - Boot Interface: UFS S - Secure Boot: Off defconfig with builtin INTERCONNECT_QCOM_SM8350 and several other options. Can it be that some dependency is missing in linux-next or Bjorn's tree? Shall we revert it? Best regards, Krzysztof
On 16.06.2023 19:36, Krzysztof Kozlowski wrote: > On 26/05/2023 21:22, Bhupesh Sharma wrote: >> Add crypto engine (CE) and CE BAM related nodes and definitions to >> 'sm8350.dtsi'. >> >> Tested-by: Anders Roxell <anders.roxell@linaro.org> >> Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> >> Co-developed-by and Signed-off-by: Robert Foss <rfoss@kernel.org> >> [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] >> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> >> --- > > #regzbot introduced: f1040a7fe8f069d2259ab3dab9190210005ceb33 > #regzbot title: HDK8350 silently crashes early on boot > > Hi, this landed in the next but unfortunately it causes silent crash > (and reboot) of HDK8350. Reverting this commit helps. Downstream also references the following SIDs: iommus = <&apps_smmu 0x592 0>, <&apps_smmu 0x598 0>, <&apps_smmu 0x599 0>, <&apps_smmu 0x59F 0>; that might be the culprit Konrad > > Log is more or less like: > > [ 1.359340] Bluetooth: HCI UART driver ver 2.3 > [ 1.363929] Bluetooth: HCI UART protocol H4 registered > [ 1.369243] Bluetooth: HCI UART protocol LL registered > [ 1.374639] Bluetooth: HCI UART protocol Broadcom registered > [ 1.380476] Bluetooth: HCI UART protocol QCA registered > [ 1.385868] Bluetooth: HCI UART protocol Marvell registered > [ 1.391623] usbcore: registered new interface driver btusb > [ 1.397273] ghes_edac: GHES probing device list is empty > [ 1.400305] sdhci: Secure Digital Host Controller Interface driver > [ 1.412124] sdhci: Copyright(c) Pierre Ossman > [ 1.417494] Synopsys Designware Multimedia Card Interface Driver > [ 1.424823] sdhci-pltfm: SDHCI platform and OF driver helper > [ 1.433783] ledtrig-cpu: registered to indicate activity on CPUs > [ 1.442236] usbcore: registered new interface driver usbhid > [ 1.447982] usbhid: USB HID core driver > [ 1.457065] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 > counters available > [ 1.473760] NET: Registered PF_PACKET protocol family > [ 1.479044] 9pnet: Installing 9P2000 support > [ 1.483491] Key type dns_resolver registered > [ 1.496583] registered taskstats version 1 > [ 1.500951] Loading compiled-in X.509 certificates > [ 1.519456] platform 18200000.rsc:regulators-0: Fixed dependency > cycle(s) with /soc@0/rsc@18200000/regulators-0/smps11 > [ 1.530916] platform 18200000.rsc:regulators-1: Fixed dependency > cycle(s) with /soc@0/rsc@18200000/regulators-0/smps12 > [ 1.541906] platform 18200000.rsc:regulators-1: Fixed dependency > cycle(s) with /soc@0/rsc@18200000/regulators-1/bob > [ 1.552625] platform 18200000.rsc:regulators-1: Fixed dependency > cycle(s) with /soc@0/rsc@18200000/regulators-1/smps1 > [ 1.563730] vreg_s10b_1p8: Setting 1800000-1800000uV > [ 1.564861] vreg_s1c_1p86: Setting 1856000-1880000uV > [ 1.569411] vreg_s11b_0p95: Setting 952000-952000uV > [ 1.574304] vreg_bob: Setting 3008000-3960000uV > [ 1.576918] bam-dFormat: Log Type - Time(microsec) - Message - > Optional Info > Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic > S - QC_IMAGE_VERSION_STRING=BOOT.MXF.1.0-00637.1-LAHAINA-1 > S - IMAGE_VARIANT_STRING=SocLahainaLAA > S - OEM_IMAGE_VERSION_STRING=crm-ubuntu77 > S - Boot Interface: UFS > S - Secure Boot: Off > > defconfig with builtin INTERCONNECT_QCOM_SM8350 and several other options. > > Can it be that some dependency is missing in linux-next or Bjorn's tree? > Shall we revert it? > > Best regards, > Krzysztof >
On 17/06/2023 01:33, Konrad Dybcio wrote: > On 16.06.2023 19:36, Krzysztof Kozlowski wrote: >> On 26/05/2023 21:22, Bhupesh Sharma wrote: >>> Add crypto engine (CE) and CE BAM related nodes and definitions to >>> 'sm8350.dtsi'. >>> >>> Tested-by: Anders Roxell <anders.roxell@linaro.org> >>> Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> >>> Co-developed-by and Signed-off-by: Robert Foss <rfoss@kernel.org> >>> [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] >>> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> >>> --- >> >> #regzbot introduced: f1040a7fe8f069d2259ab3dab9190210005ceb33 >> #regzbot title: HDK8350 silently crashes early on boot >> >> Hi, this landed in the next but unfortunately it causes silent crash >> (and reboot) of HDK8350. Reverting this commit helps. > Downstream also references the following SIDs: > > iommus = <&apps_smmu 0x592 0>, > <&apps_smmu 0x598 0>, > <&apps_smmu 0x599 0>, > <&apps_smmu 0x59F 0>; I already tried iommus from downstream from: 1. qcrypto node (0x584, 0x594) 2. qcedev (0x586, 0x596) 3. qcom_cedev_ns_cb (0x592, 0x598, 0x599, 0x59F), although with 0x0011 last argument. Same results, but indeed iommu would be nice reason here. I also double checked the version of block (BAM DMA is v1.7.4) and other properties. When I disabled crypto but left BAM DMA, the result was the same, thus it is maybe the BAM who causes abort. Best regards, Krzysztof
On Sat, 17 Jun 2023 at 12:58, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 17/06/2023 01:33, Konrad Dybcio wrote: > > On 16.06.2023 19:36, Krzysztof Kozlowski wrote: > >> On 26/05/2023 21:22, Bhupesh Sharma wrote: > >>> Add crypto engine (CE) and CE BAM related nodes and definitions to > >>> 'sm8350.dtsi'. > >>> > >>> Tested-by: Anders Roxell <anders.roxell@linaro.org> > >>> Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> > >>> Co-developed-by and Signed-off-by: Robert Foss <rfoss@kernel.org> > >>> [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] > >>> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > >>> --- > >> > >> #regzbot introduced: f1040a7fe8f069d2259ab3dab9190210005ceb33 > >> #regzbot title: HDK8350 silently crashes early on boot > >> > >> Hi, this landed in the next but unfortunately it causes silent crash > >> (and reboot) of HDK8350. Reverting this commit helps. > > Downstream also references the following SIDs: > > > > iommus = <&apps_smmu 0x592 0>, > > <&apps_smmu 0x598 0>, > > <&apps_smmu 0x599 0>, > > <&apps_smmu 0x59F 0>; > > I already tried iommus from downstream from: > 1. qcrypto node (0x584, 0x594) > 2. qcedev (0x586, 0x596) > 3. qcom_cedev_ns_cb (0x592, 0x598, 0x599, 0x59F), although with 0x0011 > last argument. > > Same results, but indeed iommu would be nice reason here. > > I also double checked the version of block (BAM DMA is v1.7.4) and other > properties. When I disabled crypto but left BAM DMA, the result was the > same, thus it is maybe the BAM who causes abort. I remember testing it on the sm8350-mtp and found no issues. Infact Robert (the original author of the patch) had also done some testing in the past. I am sure - mtp v/s hdk board variation would not cause this, so let me have a stab at it tomorrow. Thanks, Bhupesh
Linux regression tracking (Thorsten Leemhuis)
June 26, 2023, 10:51 a.m. UTC |
#5
Addressed
Unaddressed
[TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 16.06.23 19:36, Krzysztof Kozlowski wrote: > On 26/05/2023 21:22, Bhupesh Sharma wrote: >> Add crypto engine (CE) and CE BAM related nodes and definitions to >> 'sm8350.dtsi'. >> >> Tested-by: Anders Roxell <anders.roxell@linaro.org> >> Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> >> Co-developed-by and Signed-off-by: Robert Foss <rfoss@kernel.org> >> [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] >> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> >> --- > > #regzbot introduced: f1040a7fe8f069d2259ab3dab9190210005ceb33 > #regzbot title: HDK8350 silently crashes early on boot > > Hi, this landed in the next but unfortunately it causes silent crash > (and reboot) of HDK8350. Reverting this commit helps. #regzbot fix: arm64: dts: qcom: sm8350: fix BAM DMA crash and reboot #regzbot monitor: https://lore.kernel.org/all/20230621143627.189134-1-krzysztof.kozlowski@linaro.org/ #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.
diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index d9aa591dccf8..52afdf26b2bf 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1735,6 +1735,28 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x24000>; + interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x594 0x0011>, + <&apps_smmu 0x596 0x0011>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8350-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x594 0x0011>, + <&apps_smmu 0x596 0x0011>; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "memory"; + }; + ipa: ipa@1e40000 { compatible = "qcom,sm8350-ipa";