From patchwork Thu Jul 11 17:48:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liming Sun X-Patchwork-Id: 1959470 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WKhzb0BlJz20MP for ; Fri, 12 Jul 2024 03:48:42 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sRxuD-0002xV-Du; Thu, 11 Jul 2024 17:48:33 +0000 Received: from mail-dm6nam12on2049.outbound.protection.outlook.com ([40.107.243.49] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sRxu9-0002wH-Al for kernel-team@lists.ubuntu.com; Thu, 11 Jul 2024 17:48:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SWhUPFfXdyGDZ6lWW1oaZpLXdvW2izk4pcGFFszod7O0tWPg4Xcypw5VNdVjPZxEe09TJLe4DDjeo0mHge6aCx33HXpPPEvsAtJjRX8BQQk2/zI/7gc1XG9sFRBlhqhvE1vASmjSyAExpKbyJuIUemz8N3uEmeeTCAaOPD205RlzSSoPAYELnLIsWBeLyFBQ+SYUbCydLgsPZN8ySBZqM6Yd6ZG5pbAL7bgXfirAtIWhvgK8sBhWgsc6U2XZX/lcGMizIgiwY0uIeEFBfxa415QFXMOS/gwi5zIBs8z4/RrKFDxW+3g0JcDZp86Ef6vH/5EzJ9MyOPZOnROQuX0UOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=HwrKgBJ4iCrvCco+5dalwn5jYCUOFmvVmiLlyPmTerc=; b=CJQ08rEkg0Z2J5LfjU0tBNQjFlOeUgnEFhYg1yKDJHRWIT339/m6CRioIrXFwnavW9HubxdNLxL+aqGeaGPvN3BAdeRUYiQm8IFGQaAwEzXHpf+9QhzzCishefELwLhlcpmMOarFS42VcQJQK2Pn/luZ99LQe0H9M2keqbWxPsPq79hwaF5N4X8vmfHRbPPnG1lW+s5jMTw+GevMgbvgK1RKY/88Bn/y3ub37zDFAr7tvFzrRyerO697tzlA79rtE+9KZJdG7ZlRzOiSEEn7LaZqWCEHpbo/fiGTLtqqcnsq28smJWdA8fUmzMlwtjU/7X+xmKiCnttWGsGTimQcSg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=lists.ubuntu.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) Received: from CH0P223CA0012.NAMP223.PROD.OUTLOOK.COM (2603:10b6:610:116::29) by MN0PR12MB5956.namprd12.prod.outlook.com (2603:10b6:208:37f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Thu, 11 Jul 2024 17:48:23 +0000 Received: from DS2PEPF00003441.namprd04.prod.outlook.com (2603:10b6:610:116:cafe::43) by CH0P223CA0012.outlook.office365.com (2603:10b6:610:116::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23 via Frontend Transport; Thu, 11 Jul 2024 17:48:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DS2PEPF00003441.mail.protection.outlook.com (10.167.17.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.17 via Frontend Transport; Thu, 11 Jul 2024 17:48:22 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 11 Jul 2024 10:48:06 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 11 Jul 2024 10:48:05 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Thu, 11 Jul 2024 10:48:05 -0700 From: Liming Sun To: Subject: [PATCH v1 0/1] UBUNTU: SAUCE: [SRU][J:linux-bluefield] mmc:sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC Date: Thu, 11 Jul 2024 13:48:04 -0400 Message-ID: X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF00003441:EE_|MN0PR12MB5956:EE_ X-MS-Office365-Filtering-Correlation-Id: 32355295-a3f4-4369-364b-08dca1d1a880 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|82310400026|376014|36860700013; X-Microsoft-Antispam-Message-Info: VrLNmHENv1EgYf9DcOrrPTM1uSsRgqT43fgbcxvqG10dCcDJ73+qeHjGuy6wvII9/6hTafKe1VU0PdilY1Q3y54zvonPR++od37SMMR8HP/HFJGyzaJ+KYcJZDj2ye4dY+vH/dK7FiW8bz0eZD7zOwDNPfhilWrVnsVo/IMTs8Ud4nhnftXl3AUI+e4tlrsqQMXdosTYPt2I9me0gc+nAZm8hoWAyRcYUWG6BYrAANI0nMSbZjguMejt7eQrSKHllM3CVrasO7iT8gtuIwIQMnUm/jXrTNK8TsOLo9+APUTRMI+pnxANhU1/gxsx/6dW5PSMv6XuMQgv6JrRUiMQlIioJFcLpDfczNOJYic3cspIglRj4Wh69LXklRLhpgkl+IH1TeyaoDW2Bq2+zT4rGfEFtOlfG00Yn0YOQdSG39WRgbtf7hG3RAV9EH7K4srV432747yq+E6PMvJaocGTskMeEJyWJxRWQHtdW3Qin9C37lMZGCX45cXSQqMa/RRyGkXpC6a1XoPzISTwlAYjAJ0+SfxbIluVcRP6OKgL8sJKrvU0mzZzepTOUwZeqrpHXwFTwDHmh8xpsjhp4dlg727GPN6oj6WjVkqaq5WYIxdwXPd+LFz+FsCgF9brCzJVYsaYt7s2RYfZj9+ERxcEwJnP9W7MircxJe7YloBM65E3Uz5c5IQtQTaqIDG6rQ5gSEODBYX05LbriVtCW/MD0cgMkNJnf9R26brs8vWHWXz69W1GG9a0kLkwpTyqI5PrZWk8uM/+vCciWNRjEb7Yx5IR5oTjuAhcDtESCcW91S4Fy4Y8u18WosH6kkDWcWewQelj18cwLmdrQHlTkDODOVNyVq7zcNSVjcwPQv1VNXfy3dv6lH0N0jwIZB7wH2265k4ohGm0NkwSVymWrAaTkWDVBWCFISYACuvW0LxnmxLjJFz3y3UxagsOk+iVcNMR9ZDNaHK1w5omQf0Cq/zt7j7qwgI972DDkS+z4ospsg/3jwUyfKQTCr6Ml8pvusbPZ6IFa5XDJm+6/WeQltZe5AfSkLTs1ycBV4gfc4gWIwlxifGozleET9BNBbWmtETAuGuYijJhXQfb1BqDWubCclCF+1yvTIPQUoCBzO3+5kcV58r7SkaHy9k0vdCoI6Jua9sCimtdRYj1NYXl9oAa2+W91x6YMxFPOf0RJCjz86kpX8Ay6BKs3BwX8O1GMEE1k2YxmPd6FUJx9dxMbkIUdPK/2UltWainktvYRPWmFWtE6Dcd2L7cUWaBTQB2hN2m6BTsM/N1fLcA3XM9SLpwh9F4hvN6bCEKt2b0SOEzVl8iJe5ODMDkMDvlpGFvBt9maZKfXJpH54pIl8UQCWn79cTv+m22pvyQQXEOJXG2LyLaRXqIjBtscouRX3Z+pVJ+1Yja4RTPO0mJi8DxmoLeYFdlkzz5/7SkCKzhaf0N33KoSjILZgmh+AEsW4zgB8dW X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230040)(1800799024)(82310400026)(376014)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2024 17:48:22.5416 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 32355295-a3f4-4369-364b-08dca1d1a880 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS2PEPF00003441.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5956 Received-SPF: softfail client-ip=40.107.243.49; envelope-from=limings@nvidia.com; helo=NAM12-DM6-obe.outbound.protection.outlook.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2072786 SRU Justification: [Impact] This is an enhancement to enable the hw_reset() support in the sdhci-of-dwcmshc driver for BlueField-3. [Fix] BLueField eMMC RST_N register is implemented as secure, thus the default hw_reset() implementation won't work. This patch provides BlueField specific hw_reset() which send SMC call to ATF to update the same RST_N register. [Test Case] Same functionality and testing as on BlueField-3. [Regression Potential] Same behavior from user perspective. Liming Sun (1): UBUNTU: SAUCE: [SRU][J:linux-bluefield] mmc:sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC drivers/mmc/host/sdhci-of-dwcmshc.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) Acked-by: Bartlomiej Zolnierkiewicz Acked-by: Manuel Diewald