From patchwork Sun Mar 7 20:47:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Horia Geanta X-Patchwork-Id: 12121101 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C650C433DB for ; Sun, 7 Mar 2021 20:55:49 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 72A0564FF3 for ; Sun, 7 Mar 2021 20:55:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 72A0564FF3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2Qt973hB0aLgZP6rilyYPshan+g1nrVoEcTofexXrwk=; b=KT/DirzMJ+VNyTJ7gTLYziUWx 2LHk65M6mSURz8JxSqCpUlAzomS2FFe72s97p7cJoUdxd2rEczY2ZWQBdh9Ezn6nOBMM5ZqXY7AU2 CS77sq+vUiNFMJ3bxSUMKXt7DWgvmklsQj5Y7Ztncz02ScRBiabztdpVI+ku14+qR9KeWeWoSThwY 316QeMB+2ld9XaH9n2NDgcPUsfoUmz+akhb4vxUqxQHCHdIAZlKdEYkNaEmsYK8/BHMvBzJHk3N3M xbCS00rC5s7m5ayXBvTC9vjX15VdF1QSUdsynxgU2hDGy5xu3nPYPj/bPDTmv24FED0gR39RfLyMQ 8ykgXjZVg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJ0Pb-00CS9Y-LM; Sun, 07 Mar 2021 20:54:03 +0000 Received: from mail-db8eur05on2088.outbound.protection.outlook.com ([40.107.20.88] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJ0PK-00CS29-Ms for linux-arm-kernel@lists.infradead.org; Sun, 07 Mar 2021 20:53:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OnFCUwuDsxF+kHSPRwxMhRUVZP2BkBCBxTH3aMq3cG1m4CeOWc0bgZewY42OZOQcdB+CMi6MLVAfsyQnpaAkeT2JV3dRh1Qeu06Z1OvEh1b9rA3jOEZ6goUXWibKXm8y3KDxOAvvHBxYX7HqI0YPKApH50sSCmmHvcrdIFdPLTqbIHh0ilivGTFS31GwP5HnS9p50XNGNJnEN7sXwkm2O8eOIYsrf3JsQJWbZr/u51IO9jcLwkI1SS4vMSJEBV+CHfGS2hvidIyLT2QruZGMLdo2M2X8Wsiwbj5mjqr83ELWU/Wc53T/gO8YpqigDUIlfgmyoDvn/k6FWMvb2uxsBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JC//N2p8nzDSiOG5L3j5cvhm5Wpne0dGgqN2DwlVBUo=; b=Qg4bkQqdotG++IEwjaJsajUHz2iDKOLTqJt3yjUaGgAGx0v9hLnkZQyD7pm0N9W5VyAhpufLJP8/Z3kxtqX8AH2uYZHoPt7Jb8fYAAI3O2kHKRsmMXEx+1oKaIyHjNby0tP3+8Pky9TQ0rVvLIAAHychrDBhKrkeAd4yYmtarbs40Dy06+7Vws2CDU/s0hGK7obrRNVr0QcB93zlYCtT3mVIyiwq41+EHBgKyQ+yStYjg/caUEhFn5OW2XzjkRJGWtx0yO5HDm1iAXJC47lS4DEj11l5QpnGG+FUcdLDQOs3zPSKYAeOzoLx0pPRTi87prrmpmbC3iT5xKdT6Yw5LQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JC//N2p8nzDSiOG5L3j5cvhm5Wpne0dGgqN2DwlVBUo=; b=UCXH71YbzMxLYWmVsA8qASr16Gie6zETEZ9cXwYLK1xKwmer+dPiOjs/W4ocLaGqnJOG0KCxwB+LPRk61QOClAUdlupmRFw9duG5pIzvWDQe8MAK78pE4vG7M5TF87zxQKDeFlJ79PB8vqDM4xlRFwkMoNIweQDi9h6lgFoZL+M= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4046.eurprd04.prod.outlook.com (2603:10a6:803:4d::29) by VI1PR0402MB3792.eurprd04.prod.outlook.com (2603:10a6:803:20::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.23; Sun, 7 Mar 2021 20:53:37 +0000 Received: from VI1PR04MB4046.eurprd04.prod.outlook.com ([fe80::29a6:a7ec:c1d:47ba]) by VI1PR04MB4046.eurprd04.prod.outlook.com ([fe80::29a6:a7ec:c1d:47ba%5]) with mapi id 15.20.3912.026; Sun, 7 Mar 2021 20:53:37 +0000 From: =?utf-8?q?Horia_Geant=C4=83?= To: Shawn Guo , Li Yang , Rob Herring Cc: Greg Ungerer , Sascha Hauer , Robin Murphy , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: ls1043a: mark crypto engine dma coherent Date: Sun, 7 Mar 2021 22:47:36 +0200 Message-Id: <20210307204737.12063-3-horia.geanta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210307204737.12063-1-horia.geanta@nxp.com> References: <20210307204737.12063-1-horia.geanta@nxp.com> X-Originating-IP: [83.217.231.2] X-ClientProxiedBy: FR2P281CA0016.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a::26) To VI1PR04MB4046.eurprd04.prod.outlook.com (2603:10a6:803:4d::29) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from lsv15138.swis.ro-buh01.nxp.com (83.217.231.2) by FR2P281CA0016.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.16 via Frontend Transport; Sun, 7 Mar 2021 20:53:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3a61c280-3c08-4958-5fdc-08d8e1ab1485 X-MS-TrafficTypeDiagnostic: VI1PR0402MB3792: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rJ9iy1dX6ltiYz/ekWhOOnjmAtM7C+jBsJ8LpR4yksr05Dud/fUPAElUQK1rCY5u/R21ynUL3jBPitFJg7zgTuB+EIFKLSPriSO1H/7C3AX2MUV4WC5Jwg8B9w6CS3Cp4ewgW7xyoIotET+9wYXjyofMvelSZeSqsGN//CFK64Q8VnNUEA9kJw1Q91/vAl20Ktg7KeQexQUEoTcXIK4QJV0FHaXouGxvXR2SUKJfPsPZyUwerjMBsln/0R6N3mAtyqK2j+f0yi8WqvQNrItbTzvdPRUqwWUa9ktRMbS3LH3FX6fnUlVfG/UUpwtZjMKC2/mcW6DED2KlmwG6Humf+Qsdp/1I5WdXV8+4tOzHewbP30e9YCcWenN6Ud93WtQDPw/ZstJKj+0sOsoYZcox3D9PbYCkjFdlaQF11wFWVUXOBZEbI2aIhwMINj3TiLWl+r0/YI/TNKSpxTHCvGC8sZpcl6npKDOwZgzYzA7x5AP+Z3k3xV8i5UspT6erfrOxui17k8mFj8eV/sgpTH+RSo5+yiKfCOwDUVBrsH5A6LKZQ7Qh8q5gKQt/neJq015raFb9tia26Zn6nFMXOUPWCIfTFGzgsR8dZ8v35u1VjmU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4046.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(346002)(366004)(396003)(136003)(2906002)(8676002)(5660300002)(66556008)(956004)(54906003)(16526019)(66946007)(86362001)(1076003)(110136005)(2616005)(26005)(36756003)(66476007)(316002)(8936002)(186003)(7696005)(478600001)(6486002)(4326008)(966005)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?hugKydG4ubbrybnjQUcBagM5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U1t6QVpd46m?= =?utf-8?q?ioSmcKfDIcrUm4X9xaQPGuPl0zq+Of1SQHlfxsNKyPN3rIcJIMaveguxrb2ZTCvZQ?= =?utf-8?q?GJIRhaWK/aNFzLUx264XtiQEZf+5sRddNL4yxSV4T0YxePLI0IqVzmFTBdSx3Qzdd?= =?utf-8?q?ai70kLLijqQ/D7y+EusXnmIONqtU5bkvcK+MZtrzdF9Z1cFnLkzA4SjXaeaE14qNt?= =?utf-8?q?SOBdsoMnlUFE1fQqs1I0g+LM91Kde9CHJVpnCpjiMJUMbODYyEngyKK+30uqd05sz?= =?utf-8?q?+bxrTvn2qY9Rd4lyE6I8Gh6dyDf8Mp2EwG5zsU7ihdPmRszOo+YSTXHkteDrHEgio?= =?utf-8?q?yXAtAPJi/mn5foiaQiS3vESZ7UWoOevfKBFwCWMAJbRX4fI7xK7W3wg3ROhoFAL5o?= =?utf-8?q?WxsP3ZDQlFT0cN?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a61c280-3c08-4958-5fdc-08d8e1ab1485 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2021 20:53:37.6695 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VjIKWsWqzJaAEEx5L8rFBu01RLfqKfh3eCC3AjM6BnknsVtkx8wScQOcYvnNXKtbTNXhBxKGPAq6kGPEl3qObA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210307_205347_186387_3F7E76F9 X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Crypto engine (CAAM) on LS1043A platform is configured HW-coherent, mark accordingly the DT node. Lack of "dma-coherent" property for an IP that is configured HW-coherent can lead to problems, similar to what has been reported for LS1046A. Cc: # v4.8+ Fixes: 63dac35b58f4 ("arm64: dts: ls1043a: add crypto node") Link: https://lore.kernel.org/linux-crypto/fe6faa24-d8f7-d18f-adfa-44fa0caa1598@arm.com Signed-off-by: Horia Geantă --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 5a8a1dc4262d..28c51e521cb2 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -348,6 +348,7 @@ ranges = <0x0 0x00 0x1700000 0x100000>; reg = <0x00 0x1700000 0x0 0x100000>; interrupts = <0 75 0x4>; + dma-coherent; sec_jr0: jr@10000 { compatible = "fsl,sec-v5.4-job-ring",