From patchwork Wed Apr 5 07:28:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 7734 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp123702vqo; Wed, 5 Apr 2023 00:50:13 -0700 (PDT) X-Google-Smtp-Source: AKy350aYKMcXW9ulcKdqo+AQ9VzOaCODLMm0FFKlj05wfpm1cLjNr9L+ZUuI5r78ctjTBDpo8a0O X-Received: by 2002:a17:907:75d9:b0:922:78e2:7680 with SMTP id jl25-20020a17090775d900b0092278e27680mr1697958ejc.52.1680681013230; Wed, 05 Apr 2023 00:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680681013; cv=none; d=google.com; s=arc-20160816; b=ACfjk5ySWv4fc7w++MwP6Fu9xpOeM+5nsBB/OqsGYEumv9lILBQLzvrEMAHBM04gN4 UaRm49o1tqGZStjsuwZfTULJNcwKch+nI3L4aq8d+OAHnjd2xuLtG5BRVnLPotMPzU/X iwcFS2GTDYZ+WzM0x32qR8/eTTlLiQGuLIT5XPp4WphPgT0fJwJLGQu0lKFHHuEsmU/d M/ek/i29R6xrcNV+bST2d49fJrkofIiRxglPX2bWagGq3rCHigxuIkMaFXnDZcnY9f9s MDRX0fcntpI4gmj1vwaCQ8Pf/rFnr6D0DaDEm8Wo4Fk7u7CRMBR7OKqvyvIhSspckRwf nKwg== 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=vIbgVrcpaNBA8DY35aYw8I18NZLqzjpmqSaIZu+NMMY=; b=bHsTpuQ+uK4aP+Tabk+6kUj+byH/xfKGH36qI85m2a/4lYBm6kV60oR1JuWWFQ7Fh6 M0UibCR0ZV+2Jl6w0vHeyJIlsBH/M5nFZlp/kUKcGvLsepHC91I2azV1zFVm9/pmqWQH EhqBg8W2Ci6C1TVeKhB2dEab2eynO60vj0M03VGfJvcaLfOE2Pt6TRXIZho9JSQGxQli Bo0RCOCnIA40qroiwtDMLvGdCCYbWiBscYTkBBHosw4vNQi/d33rtyI19WqI9KO9jAGj Nh9W2v3K01aEuP94UzLjDnPLJZLwENRLrzsYc0NQvw2XXmzZ4G8ZWQ618RQkFzc5naFi 4ymA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pa6uT+dF; 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 k20-20020a17090632d400b00932a33a374csi3124077ejk.170.2023.04.05.00.49.49; Wed, 05 Apr 2023 00:50:13 -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=pa6uT+dF; 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 S237079AbjDEHax (ORCPT + 99 others); Wed, 5 Apr 2023 03:30:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbjDEHav (ORCPT ); Wed, 5 Apr 2023 03:30:51 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6477C49D8 for ; Wed, 5 Apr 2023 00:30:50 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id z10so21165140pgr.8 for ; Wed, 05 Apr 2023 00:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679850; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vIbgVrcpaNBA8DY35aYw8I18NZLqzjpmqSaIZu+NMMY=; b=pa6uT+dFYoCMpahPH4F38vo7VSpejBOS+001hZ7WxdZdpBres0Gg/GgGdS/Xh3RmY8 67NN6pKZOjoIjnIYF3h3qNXa+CMfO3ijPtFWz+ezix1otGsPslBKM1cy09mIfCVpeRRF TLCn9aM9zDBQG2BcIbmGnVwDfhN5XP/N23srUVr6q5NESeDfohU9zysQ58d5q+xMSkoT RECZ+Zcplkr1fKHsScore86BKlyW3v5birQ0pPzdjTtlHB21GXnT42Qd1Sb2CSVAudLJ 0f3R39/T4Bxlx5JBV46lVP5OlK/+GOFs99arlt68dpDGykCmCrXNMlqr9hYc4bkBbYVg b3Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679850; 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=vIbgVrcpaNBA8DY35aYw8I18NZLqzjpmqSaIZu+NMMY=; b=IvGDhQ3hO6MMX4DzUGX7zXPfxWZmgsoNyaqXGYq7sAeEDzFSIYsT6qlDEyQ/eFDg2k 94B7ZGYkFYzVpmOK2ue4mgaRVp0Dy/9z4RDKw6Bmw108TLHurvUB03MbrLukfpiH3Qsx rrxbx5ytj1kmhbKCW03yb8iEPhrkHjxgkXbkJIdhZxaJOumFB7NOweELctf2q+MUYDAu 5FqOodIn+YUJK8gaOKhlYzFDa35NZTE6C3hJtU+1l3s52DK+OjrIL7xyY8YLOUTjF6SU F4e0thZBQeaER7qBv194NBVywXPAJVlxNquy7EQcHnsdRFddognurfWqQpDRsMnaK/9W wE4A== X-Gm-Message-State: AAQBX9dWXUAI+KycBaO1WSsRA0EZE9lyGROFdeGTZdVa/UjDY5TlFkCx QLFb5ECGCW1Jq7SkstqOYiPKzg== X-Received: by 2002:aa7:9aee:0:b0:628:1638:441f with SMTP id y14-20020aa79aee000000b006281638441fmr3666312pfp.26.1680679849814; Wed, 05 Apr 2023 00:30:49 -0700 (PDT) Received: from localhost.localdomain ([223.233.67.41]) by smtp.gmail.com with ESMTPSA id l7-20020a635b47000000b004facdf070d6sm8781507pgm.39.2023.04.05.00.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:30:49 -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, djakov@kernel.org Subject: [PATCH v6 00/11] arm64: qcom: Enable Crypto Engine for a few Qualcomm SoCs Date: Wed, 5 Apr 2023 12:58:25 +0530 Message-Id: <20230405072836.1690248-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?1762321774015132175?= X-GMAIL-MSGID: =?utf-8?q?1762321774015132175?= Changes since v5: ----------------- - v5 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230402100509.1154220-1-bhupesh.sharma@linaro.org/ - Collected Ack from Rob for [PATCH 01/11]. - Addressed Georgi's comment about interconnect cells in [PATCH 10/11]. Changes since v4: ----------------- - v4 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230331164323.729093-1-bhupesh.sharma@linaro.org/ - Collected R-Bs from Konrad for a couple of patches sent in v4. - Fixed incorrect email IDs for a couple of patches sent in v3, which I used for some patches created on a different work machine. - No functional changes since v3. 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(-) Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing