Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3728136rwd; Sat, 17 Jun 2023 00:50:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6q/mDB3AXcsJDNsKZypegpKOJ8a0gfFO5j5TUe8uJb6r+el8AqW5a+ItHaTmz1KL4PyaCz X-Received: by 2002:a17:902:da91:b0:1b0:3d54:358f with SMTP id j17-20020a170902da9100b001b03d54358fmr5047427plx.0.1686988259556; Sat, 17 Jun 2023 00:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686988259; cv=none; d=google.com; s=arc-20160816; b=RVl2/YPRh+2RKAS9b55LDwqjRYailTevmTdVBzbvEc5LR1sJwLzZGNKul2EqLuOgH+ pQJFb/1lAC2GEpKprtxMD8Pp2vebRaJiSo1hddT1rAA7//Oi28bZd/NstB2KECSXw09X IvRvcbTzIYwccZUyEIUqm4ZV8KOvrDyeRNwZburwc4aEmAwaf3tXst8p43nz2rqeztgx WzMrrBNCwwd2MQipAx1L0Jn27OlqXARxeHd4Z4EddV4TSCfcBPX3ocRFBentSYFEJ8Lz PjM7GzGZbc7Esy08Xit0zZCiGeOpoleBmoxTerUao7iwkvlnrPGSMxUKFgaGyWqO/MIq zW/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=tNOXDR8ammGfhSACaL8GR+6Nt9orr8dF7n6TFf183BI=; b=ha7SCuGib9YrRluu5gVeaCRXu4deUQWSJA14SmSzxvGRFCP7v9iZis+qS3HvfFpoU8 IbHPp743V4RN2SO9f4A+riU4MerRG6aEqXlzVQIEiOtmbDc2EP/8luYx3/16ARCXUraL u3fT7xQzdvxNw24JpuRpwaqiUxzlfA85SGJupmnquxn7VKbosjRlASh6+cmI+lo8/5FJ HtiUnGRLXF06McOQve9o0HTsSwE1CXuL+6X2SHemWP+BodrHybYsmdI3TAHIHkLXpIVu ojUMW5nGCFe1IKdRuJEcK0Bbhywcad3E5y4JnrTs1iESFLGXgKYaEx0XDNlmOAMXfFui F7Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qA+WvJ4h; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a170903230400b001add2ba445asi14519055plh.259.2023.06.17.00.50.26; Sat, 17 Jun 2023 00:50:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=qA+WvJ4h; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S1346112AbjFQH22 (ORCPT + 99 others); Sat, 17 Jun 2023 03:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346103AbjFQH21 (ORCPT ); Sat, 17 Jun 2023 03:28:27 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EA222702 for ; Sat, 17 Jun 2023 00:28:25 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-982af24987fso238802266b.0 for ; Sat, 17 Jun 2023 00:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686986904; x=1689578904; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tNOXDR8ammGfhSACaL8GR+6Nt9orr8dF7n6TFf183BI=; b=qA+WvJ4hNQbyu/ACCtBfo8NrOiRUJJsOv2VOujI9VBUaTryLoSEHQ9Tuq9GNM9kw8b pYWAVBmXglKYw10E5rOfOpKqY/QmJtvyB5GWFYmzaWj/mQZqii+aHgNv62HhXgvHius2 D7R4Ju0yD2qUzxwY9FY9zS7Z4W57zmIqnLMiKk6bM2JX85TrIeAwKJOrgskvantYq26u dDqDQsTcIzeyl7fpmAEOq0NrSXfH1IX1xv6TLcn4nfewHcJYm74oZP/Rx5xgmLOa1ft3 FWFUrpsUZSmFOUe6YV9cwWvkL73ltimhmXShmLbL3mkkD1YmdpCqZYscRZn+1EoxDic7 95Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686986904; x=1689578904; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tNOXDR8ammGfhSACaL8GR+6Nt9orr8dF7n6TFf183BI=; b=ADaAWtwvHQEGdkpFWllP4TaSTgoJGrtNbw2YLCXBqpXUAsNjeV3Qx1JwNnqhsIDGSt XaqcSaNKGZFpjQ6UpW+fAMawXftpnFeW4pT/clRB9bV7EeqE0KYTKrUmGxt12cF7GZCI q17wi7CLrRnLrNNv0xWQAShCdRixUAAlYH4g3k0/ZHwin18ALHl6ahdwNbEiLSuQyxaB W3MMDY4vSFXi5ceQvwojd6apkvoWM/clYIcLH6Q5ZtALl1yMjJV7VLuW+jMrRkzAW/uG DhX3dY7mYllavhMSu9GMSnNKzfaKx5miYE+hU9VRZv95E6KBpV/Cmv/b3TDFmCBqt9yX j92Q== X-Gm-Message-State: AC+VfDwB34YLyL/ltiZnrW8Chh/iPyWHRs4zm0KCXagKm6KnLzKbydUG Z9EX9kgUFFFPUUNG6e9k1VjHQA== X-Received: by 2002:a17:907:3e27:b0:982:30e3:ddcb with SMTP id hp39-20020a1709073e2700b0098230e3ddcbmr5108273ejc.65.1686986903823; Sat, 17 Jun 2023 00:28:23 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id a13-20020a170906684d00b009828dac8425sm3713144ejs.105.2023.06.17.00.28.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Jun 2023 00:28:23 -0700 (PDT) Message-ID: <83807d70-c35c-6b66-e7f9-521bdfc6d1b4@linaro.org> Date: Sat, 17 Jun 2023 09:28:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v8 10/11] arm64: dts: qcom: sm8350: Add Crypto Engine support To: Konrad Dybcio , Bhupesh Sharma , 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.linux@gmail.com, robh+dt@kernel.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> <20230526192210.3146896-11-bhupesh.sharma@linaro.org> <11c3eb6c-823d-9688-ec53-e05c7bb557c5@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <11c3eb6c-823d-9688-ec53-e05c7bb557c5@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: X-Mailing-List: linux-crypto@vger.kernel.org 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 >>> Tested-by: Linux Kernel Functional Testing >>> Co-developed-by and Signed-off-by: Robert Foss >>> [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] >>> Signed-off-by: Bhupesh Sharma >>> --- >> >> #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