From patchwork Fri Mar 31 16:43:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 7552 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp703193vqo; Fri, 31 Mar 2023 09:56:19 -0700 (PDT) X-Google-Smtp-Source: AK7set98wROLO5gatPvHLREh6OG34b02RqXA6PMNNKvKbXLmaDdpLyNUglKZZStw5Ug5UYDFTCc1 X-Received: by 2002:a05:6a20:b723:b0:d9:79f7:aa26 with SMTP id fg35-20020a056a20b72300b000d979f7aa26mr26029478pzb.21.1680281779441; Fri, 31 Mar 2023 09:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680281779; cv=none; d=google.com; s=arc-20160816; b=Jcq3PDCecuINwPpgVd/yxYLlBAEE+aoDzGylSB90qBAmB/EIlNKEho3qX9pPjreEKU ZZMKmixFL7prAe4NtuuzhtPTwgA9YnoZVtMQRJObGgv+5IkmHGfj55WIzI+p1pyrv3Bb qQUnKzmiIp4tYsHgVIDjndbmvM+9E3CrUcav0XHVhuJPT/62Ay2d7y3TxQiJvdg/hm2D ynT/LZLKwTcjQbRXwwwmF7N59NRA3N6MzaAARWzsBtuOn7huQqssuHiyWpmQaJkrtHdw REWzFM9G8IEDQquaOnJ7YoPYeMtc6Lmq7g/lRkChMSXlPWOFjzpQc+tL0a6r2AXO6b7F 9+BQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=wLr+iiNqb1ZBQGvqnlVWR+X2NxcFaq++wph0hIOBr8U=; b=0BhA+1ty87YHal8qXagcts34UsZnRno1KNM3ATKDj95B7ZhOP1ej9EM+aivpn5mRrc KAi+pE4TKr2SS4LaUIqZwkLPuMt6QJpH+ZeCSnykYD6qJd/c+GIuV3lTwnuDWzDJg/UJ sGE9XsuZBx2PnHLxjcB8YYVXXA24gZl23sZqrQ8rhqSR2n1bZdTq+0mKZ5FyPRt9lSpr 1h4Yl0/i+madFA/E5lFULbrM0Gno2B9kMrtMeTy2IOaGHy09JKKpz/yaaKZz/gYxFs+M hRESiEFFPEmJFnimHEEDj4aV1dJ5zBQ1SQoafhWB/hPwwvIn2wASbqVGhJFRJjFhz1U3 Nl+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="P1oF/yAS"; 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 k63-20020a628442000000b006293f8330fcsi2780170pfd.322.2023.03.31.09.56.07; Fri, 31 Mar 2023 09:56:19 -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="P1oF/yAS"; 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 S231308AbjCaQp1 (ORCPT + 99 others); Fri, 31 Mar 2023 12:45:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231777AbjCaQpD (ORCPT ); Fri, 31 Mar 2023 12:45:03 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFA014680 for ; Fri, 31 Mar 2023 09:43:44 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id w4so21743144plg.9 for ; Fri, 31 Mar 2023 09:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281014; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wLr+iiNqb1ZBQGvqnlVWR+X2NxcFaq++wph0hIOBr8U=; b=P1oF/yAS5meoHqrtMYIHxYP1rDgoZl+Eugm/jMw89X0wiAkGSvLbeD0CBLTcrLeJ8+ SnNUdf4/ANcLWjz7365AhnL+WfxC9gFEwDlPonnzDV3kOqktlOQ/FcHseLwWeUSwf8/8 329KK18UiqFsHQLAW1ZL4UM3axAk9H1FvCYxnCjcKer8x3uwlSnPaDceSa7V++bT06ta tZ78t6jdVRDZeCHQ+TQqfzQcR8rvQ2PqrEIg9844gUbjO1h5ff2RAOLSsi8gnlitoj71 m/dF6dN2jijI52R/GY8lH6IuyuXIYAcVSMJQbTpUeyr6kSCpsVPFtB+KS6NCVaoBX0cu 4LzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281014; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wLr+iiNqb1ZBQGvqnlVWR+X2NxcFaq++wph0hIOBr8U=; b=28dPe9S086fJIlNOBoimYYNekVuoMXG7Tt0uJstOOPJlkVbxMYM+2yE0eh1Fro6Pt2 xnDO16/fbV5tSMD+lB37gQF9tNkZw8kvQk+NtG2khlGFeLp0jpMSUbN1vcbkrvsslZU+ eHi2YRCJF6HOkAuuyqzBEVyQl5rRoJOR07aJiNPtGhPIudVobt7tB6V6JkA4otkwGbN5 beb8R92dowxR0+x/st+VVyVRblXeEbUSF3AlcYtTt5MkM/wjEDA5Yw+8MNlOp6E3x2aU ckBWXn7Q4v9bliCXHeBXO8OKXSpi4tigYITCo9Soj3bqvAOn28imtrGuMh5J1DZgi7dR VHgA== X-Gm-Message-State: AAQBX9fRbpW0kbr4dBVEWgUpWKpbU0JenT3U0hQOrN0lOc7s3A1w8zHX 3leWRzDRzH/vygSb6bvXHiHVZg== X-Received: by 2002:a17:902:ecc2:b0:19c:da68:337a with SMTP id a2-20020a170902ecc200b0019cda68337amr35223895plh.31.1680281014407; Fri, 31 Mar 2023 09:43:34 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:43:34 -0700 (PDT) From: Bhupesh Sharma 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 Subject: [PATCH v4 00/11] arm64: qcom: Enable Crypto Engine for a few Qualcomm SoCs Date: Fri, 31 Mar 2023 22:13:12 +0530 Message-Id: <20230331164323.729093-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761903147393981002?= X-GMAIL-MSGID: =?utf-8?q?1761903147393981002?= Changes since v3: ----------------- - v3 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230328092815.292665-1-bhupesh.sharma@linaro.org/ - Collected Acks from Krzysztof for a couple of patches sent in v3. - Fixed review comments from Krzysztof regarding DMA binding document and also added a couple of new patches which are required to fix the 'dtbs_check' errors highlighted after this fix. Changes since v2: ----------------- - v2 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230322114519.3412469-1-bhupesh.sharma@linaro.org/ - No functional change since v2. As the sdm845 patch from v1 was accepted in linux-next, dropped it from this version. Changes since v1: ----------------- - v1 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230321190118.3327360-1-bhupesh.sharma@linaro.org/ - Folded the BAM DMA dt-binding change. (sent earlier as: https://lore.kernel.org/linux-arm-msm/20230321184811.3325725-1-bhupesh.sharma@linaro.org/) - Folded the QCE dt-binding change. (sent earlier as: https://lore.kernel.org/linux-arm-msm/20230320073816.3012198-1-bhupesh.sharma@linaro.org/) - Folded Neil's SM8450 dts patch in this series. - Addressed review comments from Rob, Stephan and Konrad. - Collected Konrad's R-B for [PATCH 5/9]. This patchset enables Crypto Engine support for Qualcomm SoCs like SM6115, SM8150, SM8250, SM8350 and SM8450. Note that: - SM8250 crypto engine patch utilizes the work already done by myself and Vladimir. - SM8350 crypto engine patch utilizes the work already done by Robert. - SM8450 crypto engine patch utilizes the work already done by Neil. Also this patchset is rebased on linux-next/master. Bhupesh Sharma (10): dt-bindings: dma: Add support for SM6115 and QCM2290 SoCs dt-bindings: dma: Increase iommu maxItems for BAM DMA arm64: dts: qcom: sdm8550: Fix the BAM DMA engine compatible string arm64: dts: qcom: sdm845: Fix the slimbam DMA engine compatible string dt-bindings: qcom-qce: Fix compatible combinations for SM8150 and IPQ4019 SoCs dt-bindings: qcom-qce: Add compatibles for SM6115 and QCM2290 arm64: dts: qcom: sm6115: Add Crypto Engine support arm64: dts: qcom: sm8150: Add Crypto Engine support arm64: dts: qcom: sm8250: Add Crypto Engine support arm64: dts: qcom: sm8350: Add Crypto Engine support Neil Armstrong (1): arm64: dts: qcom: sm8450: add crypto nodes .../devicetree/bindings/crypto/qcom-qce.yaml | 8 ++++++ .../devicetree/bindings/dma/qcom,bam-dma.yaml | 22 +++++++++------ arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm6115.dtsi | 22 +++++++++++++++ arch/arm64/boot/dts/qcom/sm8150.dtsi | 22 +++++++++++++++ arch/arm64/boot/dts/qcom/sm8250.dtsi | 22 +++++++++++++++ arch/arm64/boot/dts/qcom/sm8350.dtsi | 22 +++++++++++++++ arch/arm64/boot/dts/qcom/sm8450.dtsi | 28 +++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- 9 files changed, 140 insertions(+), 10 deletions(-)