Message ID | 20230724065230.83017-2-meenakshi.aggarwal@nxp.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show
Return-Path: <linux-crypto-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AF67C00528 for <linux-crypto@archiver.kernel.org>; Mon, 24 Jul 2023 06:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjGXGw5 (ORCPT <rfc822;linux-crypto@archiver.kernel.org>); Mon, 24 Jul 2023 02:52:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbjGXGwz (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Mon, 24 Jul 2023 02:52:55 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2081.outbound.protection.outlook.com [40.107.6.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6115107; Sun, 23 Jul 2023 23:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kLufI0dyDU7bFng5fObDIF4r5XjsbkZP2Pt+mWNnAAnY8ge0rYexn2KXPP9M1lfjjXaHZU9qhXoEI4wWnIKfoWSiNjPmFRGKMOkFdXKY1e9rLP1idxRCcmBYPGwInt3hAjIadZAsCwlIQxQfpfPvuOzHYit+55/RYTQu4tzjiFlYm1FqNR9Fbu9byjwERvepIKa+HIhvAP7ULavxtroGGtk4dlOnb3GNGgVta+SeJHIRP2x+z8VUY8NtlsmEKNzozxHFGb6CjR8qZJEp8mcoQYyeSuLbzMGTes+vVjkZDman8z+bgIMS2QWXUysWrcDbsSqb1tf+/PTEiPjB7lOz4A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rOTasnQbWEcjZPZVRW2KamCX1gLP1ofQtZuQDGdg3xE=; b=M29Gm6idN60h3AfjGgAekDdpmIN3vWjZd7Uo4wKeXwCMY0/gKLkLhMjn/cGGKtEstufG6Ao5HgXFg6bIVj2leETcIIsNaNO220GVx/qPSVPY5Pub1pfrEdiD25CVCK4RB1R0/qKWVqRpZqToqR/UpTgDikNpgzhms5xKcxbqu17nerLO+J7IHdIOAWYSnlj7KotuDb7TARE11noy1QO7l/2qA4vidxc55M4u4UG+TsKR4VJePfU5AIf8oVFyqkDgVPsMNIgCVI+syLinzhaUpiKMkcGUsmh18J+2kqKRVe/OWa/+Umf2Oc5CnwIJnxUBShNQkZFS7Es2NWZc8/xccA== 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=rOTasnQbWEcjZPZVRW2KamCX1gLP1ofQtZuQDGdg3xE=; b=kjTcruqgZBFowNs18u6LWvjVbP9PUchtruP+NzkoTvAw4ELU6kdFrhGdd8tqnUmar0dl6XIHyzfpQee56fW5SHMnnl9BJQg1Q5GEnifNW1zuY2mIMua7NCXrHbitJIJPGCWmMTkR4fR2N1f+muwWy+zLgVD+cJytADpD32fZPeQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU0PR04MB9563.eurprd04.prod.outlook.com (2603:10a6:10:314::7) by AS4PR04MB9266.eurprd04.prod.outlook.com (2603:10a6:20b:4e1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.31; Mon, 24 Jul 2023 06:52:49 +0000 Received: from DU0PR04MB9563.eurprd04.prod.outlook.com ([fe80::15ed:8451:b0a2:ec64]) by DU0PR04MB9563.eurprd04.prod.outlook.com ([fe80::15ed:8451:b0a2:ec64%4]) with mapi id 15.20.6609.032; Mon, 24 Jul 2023 06:52:49 +0000 From: meenakshi.aggarwal@nxp.com To: horia.geanta@nxp.com, V.sethi@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Franck LENORMAND <franck.lenormand@nxp.com>, Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Subject: [PATCH v2 1/2] crypto: caam - Change structure type representing DECO MID Date: Mon, 24 Jul 2023 08:52:29 +0200 Message-Id: <20230724065230.83017-2-meenakshi.aggarwal@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230724065230.83017-1-meenakshi.aggarwal@nxp.com> References: <20230712060728.3562376-1-meenakshi.aggarwal@nxp.com> <20230724065230.83017-1-meenakshi.aggarwal@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PR1P264CA0024.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:19f::11) To DU0PR04MB9563.eurprd04.prod.outlook.com (2603:10a6:10:314::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9563:EE_|AS4PR04MB9266:EE_ X-MS-Office365-Filtering-Correlation-Id: 4cb861fa-8124-48c2-e7f1-08db8c12982f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XDDrNuxEm/6Jak96drUhMhN8tOrrHUYV6jKaDL2Jo/Cdunf9kn2MZGk7RCNbszfXTvfZQ/mL1idTVSAFQSDM6PIarGwUeG0opkSWQw+TBSdVqu7UBDMeH8qhluAd23Lg5VpdUDWMisAl3/+rGCFRqXRm9Ps6Yd3vHx5o/4BNL+LWWX21p3OIpP4qg/tK94kiEFp3AdJUVc3+xg6sLzQirUf+hOVMCyDnIpd/wXqNhfu3b2lH0d7K2kAbQZJfM7xBSU9aZlZVV3yey17mmII1BSBcbWUe9X5yBN/Ijg0p3MKbAlkYwiyj0J8gNgr+x4biS/PMZiKl2koW/lytHWnlikUxmDNuum0TFIKbhaKp6eZHb55ppw/8wEbl/bTbZOdbmVmgSYWI/KTMmdSgBgXLabnG+aaPv8N8zzUXV19i4uum09eKbuLfwQYiwx/PxqG5O/zwel1Jxf8dMP8smuTkE7l/0BpxC5USXDrsuCDD6h3jCFymmy5aWymnRmDxgdmsg7Z30Wp6t8o2s/72r9SQGzHA3hOfdwW/dmIcQspCNSRA1wQVJ/O99I8Zs+3MNVrIzEFUAE+Z9oK8MQQL5f3HcXPx91mcGoyKZMpDTaSqveMwK/zzH9eVu6wP7VzyWgu8 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9563.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(136003)(376002)(39860400002)(346002)(366004)(451199021)(36756003)(5660300002)(26005)(6506007)(186003)(1076003)(66476007)(4326008)(316002)(66946007)(66556008)(41300700001)(52116002)(6486002)(2616005)(9686003)(2906002)(6512007)(6666004)(8676002)(54906003)(478600001)(8936002)(83380400001)(86362001)(38350700002)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?espc37RjwSbEMrQpiQl4NM6K0ndW?= =?utf-8?q?Pw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WtrruI13G98uk3N2kmRhUAezM8b3mjIgv1ICZ4?= =?utf-8?q?RRyUtz5qwJ5VufNYF2R4kDFjE3t7rY1ExeBce+/ymKrTh2PS4mYHWFz9PDcOPE5kw?= =?utf-8?q?dhcHvJJgR5ymgEK9gord16S/9bBzw06cA9wyKYTZCaA5bRps0fofFgGG0yWy7Jkgq?= =?utf-8?q?NzufKuFl1dMxumF11oyuQU08E6UrSMHr4QGsNOZjwTZ4vnyRTNqPRGlviMZnqLTVu?= =?utf-8?q?Cbtuwng04xuNIDeEaASi07oXuKeOVKCWqPRDSGUJUkePvbNv+5sLdweiplBI4tli9?= =?utf-8?q?7aTzJ8emm4WqZd6qAVte5kBhPYceHTyuwgoBFydmlqUpTnkIiOzOorsT1iJ/KloMo?= =?utf-8?q?JHgqFZhnrrTS3KsamVGYQ8iyzTw/ETJCxzRyJRplnYLtyPsWCB2NcdVC3xO/W1Sbu?= =?utf-8?q?8R5r8ye/EOVGb09+uBGQlR1FxF05XWc0vHL/M9vf4VyFZnEjvf3JjqT1nOoIKm+CH?= =?utf-8?q?dlXG0AxVIwbHF1RsDMcmvAWMi3XjGInhuzDpB/5X6qHsT8Tgp7KvUQo8Lu4IuJbbh?= =?utf-8?q?ZZpJCceTjOumr56QZLJtgIkCz3Iu11kjTjO7de8zZjZcPwsGCRSKEidt3+0OGSngx?= =?utf-8?q?3VRq7Hnya0WYF6almB/R1HNYrDwXF3U0IA=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4cb861fa-8124-48c2-e7f1-08db8c12982f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9563.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2023 06:52:49.5367 (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: 2qHhIlk9Y7wQ4Ixb1DsZ2ALeYGxll+dLqAswRRq7aJk3ABOpItf/O7IxVCmxuk+vjonTijCPb1Vzykh0Kzq2Mw6wgUQhNQKJB3vX2IDHdsw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9266 Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org |
Series |
Add power management support in CAAM driver
|
expand
|
diff --git a/drivers/crypto/caam/regs.h b/drivers/crypto/caam/regs.h index 189e74c21f0c..0f87bd365582 100644 --- a/drivers/crypto/caam/regs.h +++ b/drivers/crypto/caam/regs.h @@ -459,12 +459,6 @@ struct masterid { u32 liodn_ls; /* LIODN for non-sequence and seq access */ }; -/* Partition ID for DMA configuration */ -struct partid { - u32 rsvd1; - u32 pidr; /* partition ID, DECO */ -}; - /* RNGB test mode (replicated twice in some configurations) */ /* Padded out to 0x100 */ struct rngtst { @@ -590,7 +584,7 @@ struct caam_ctrl { u32 deco_rsr; /* DECORSR - Deco Request Source */ u32 rsvd11; u32 deco_rq; /* DECORR - DECO Request */ - struct partid deco_mid[5]; /* DECOxLIODNR - 1 per DECO */ + struct masterid deco_mid[5]; /* DECOxLIODNR - 1 per DECO */ u32 rsvd5[22]; /* DECO Availability/Reset Section 120-3ff */