Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1652465rdb; Mon, 8 Jan 2024 06:18:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPSyWjhzH6CkL6Gwa2RFnHWeMwr0C9w/oiGk/+D/eH6Y5vStCtM+C55pqJrdkAJ8ov0nnr X-Received: by 2002:a05:6e02:2220:b0:35f:d62b:1d94 with SMTP id j32-20020a056e02222000b0035fd62b1d94mr3856935ilf.121.1704723522999; Mon, 08 Jan 2024 06:18:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704723522; cv=none; d=google.com; s=arc-20160816; b=TsHDk8qFhD2FmIK/Pl3nqIqjCxYgn0B2I5unSMdcocxR3rVBg2KXNFQk6VQIf2v0Hj waVBQUjI/FvvOZL87SMqlPnAznnV0pCErbcSGtJd7Fuyga8rWPs4yEQr+W1H7HNpM96m Xa93koNNeT4j1RkTeyM/dePHE+NjndHdumPeKhSC7uf724kaiQpsYqcexVAQmGp3zuFa kRcCqimBnTYtmIEzuLyjulzzgdlezAFyDTnHBtRkOkkLueniMyVe01l+PgS4hS9Xsv9g /bUgIS8axogOudl8dKgO6XPwBzPWOqEG9LaXvlILQlGE/0MIqXdKrZXhlsMas1+Wg1zo c3Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=P3kcA+8gd/ihreT+PW6mSK4aXzHl6uwlNcvHHeH5WiU=; fh=oexMxkd5PvVjddZlbPD/Lb8YhDwszSE05NijPtqoU3o=; b=b1fQhjVTP3O2N1kEPloCuPn/kKo56EonKgmZfYoJzFvZbhA5NVs8hKFrWthnJovbVc TihFOgcR8FgRs0iAUtnHrO7oMf/V5MgXBCaPl6FzQcmbPDWze6DhpSmu+g2eFKRUGIng GsBNhbE3tRVBNcicHvTzwpzzRfK1XNX3Y0DsQHLdSXMyKgYZO44iSXuQd5x24Zz7/aua vGXxTbsXwoflOcOXl/vzayoAHI0XvHQRBww5761/UL4TDRWV9YemE5V5x/s4nF7okMPG IimmPstg+GJ7ZJk6QQTaO+eVCiWTYrwl29hIjGK0MaEKjhCFHdBuezZaCLzy1QMsqwEJ tjIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tM7WFjmo; spf=pass (google.com: domain of linux-kernel+bounces-19686-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i188-20020a639dc5000000b005ce52da910asi6183326pgd.259.2024.01.08.06.18.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 06:18:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19686-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tM7WFjmo; spf=pass (google.com: domain of linux-kernel+bounces-19686-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A02DB283B68 for ; Mon, 8 Jan 2024 14:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42B4F45C06; Mon, 8 Jan 2024 14:18:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tM7WFjmo" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE12547772 for ; Mon, 8 Jan 2024 14:18:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40d858c56cbso24983195e9.2 for ; Mon, 08 Jan 2024 06:18:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704723495; x=1705328295; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=P3kcA+8gd/ihreT+PW6mSK4aXzHl6uwlNcvHHeH5WiU=; b=tM7WFjmoIQ88teh6wPNt1c9d2g4CYW2funJNrdxfbYBwDF91tlVfil1HLLH8A6UEjQ sgwsEGf1BzasLD9+j9JqEgPgoymXL8kjf2uJE3vkLUWIODV/dKwnpZ+KxM+5E3PI5hRM Err3qb5WRqn4Udgm6VyN7kF1pbkLJJSuVz57ZRavkbxBsa46HhYJ2wrqowX5D53RLmiJ P6uvx3vLFXyMayRO1PwTDHIoewtKfRbi1ffx3wPVIRdMdiTbsZw+UdhQTfm7hVK5B84m xnMmdHS1uzenJynVUvUooHWoBIkYTg25oScGIggIGmURq3gFi4bpG7JGKgYbO+ddeA7s N+lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704723495; x=1705328295; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=P3kcA+8gd/ihreT+PW6mSK4aXzHl6uwlNcvHHeH5WiU=; b=FDF2NiTk5dt02EI3gS5e3I3TP3HDCOopJssxAY0Yrnaq35YTFqNKsmUv6NpHn6Jh8q KAUvfdbGW114v3coh7bFvUBqyB4QzHvFQPoaZw6//wYB99aEfWaYmDx/pnMtlDbnezMA DyfTMBc2pVq0ZySWx1TWdcaujjpokskEoxaHM1ILclOhTOZnQQqw4Wi9iD9yRNEXVe5q XCrZbAApsrOlzCUwY5QOhiKjwcbIIW559tIuk0dfFU5YRwM+bStGONIq7e2eh19Ar9ZQ XC+GLqC8PWVc0cres6OOjO/6SQokfLAMM2NLunJAx0dSrXvPgVk6uBgTA6xsJtXUmDxV 0T3g== X-Gm-Message-State: AOJu0YwUVbVF57VPxo9xf4DQX6WlKjHriWsJNBdEZGjysrwNmNPPMJom 0wVH8EUaI8JkpvFuQHTW9e42KaiuVLQprw== X-Received: by 2002:a05:600c:4595:b0:40d:2df0:ba12 with SMTP id r21-20020a05600c459500b0040d2df0ba12mr2037004wmo.83.1704723495272; Mon, 08 Jan 2024 06:18:15 -0800 (PST) Received: from [192.168.199.125] (178235179081.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.81]) by smtp.gmail.com with ESMTPSA id ha17-20020a170906a89100b00a2b1db54f7asm46705ejb.70.2024.01.08.06.18.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jan 2024 06:18:14 -0800 (PST) Message-ID: Date: Mon, 8 Jan 2024 15:18:12 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFT] arm64: dts: qcom: sm8350: Reenable crypto & cryptobam Content-Language: en-US To: Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bhupesh Sharma , David Heidelberg Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240108-sm8350-qce-v1-1-b7d586ff38af@fairphone.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25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I+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240108-sm8350-qce-v1-1-b7d586ff38af@fairphone.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 8.01.2024 14:49, Luca Weiss wrote: > When num-channels and qcom,num-ees is not provided in devicetree, the > driver will try to read these values from the registers during probe but > this fails if the interconnect is not on and then crashes the system. > > So we can provide these properties in devicetree (queried after patching > BAM driver to enable the necessary interconnect) so we can probe > cryptobam without reading registers and then also use the QCE as > expected. This really feels a bit backwards.. Enable the resource to query the hardware for numbers, so that said resource can be enabled, but slightly later :/ Konrad