Message ID | 40bb2bd3e51e6c642a62eda88a268a344755a1b4.1697654797.git.limings@nvidia.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> 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 4S9g5Q5zk6z20Pd for <incoming@patchwork.ozlabs.org>; Thu, 19 Oct 2023 05:55:06 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1qtBgw-0008WH-Cz; Wed, 18 Oct 2023 18:54:50 +0000 Received: from mail-mw2nam10on2089.outbound.protection.outlook.com ([40.107.94.89] helo=NAM10-MW2-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 <limings@nvidia.com>) id 1qtBgk-0008Td-H0 for kernel-team@lists.ubuntu.com; Wed, 18 Oct 2023 18:54:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=et603kmUr+y7pz9A1Lyfj9XGGgqn+ug42q6EVDvPyZKG/24j3FC7nz0zx/Ile+W9LUzm7l2maDEVOzFizEAjRAPizXrQ6tuZbr336WXAOJSlAaGdmUyTRFPy+VUb9dGyypVrx7BVCfrBJ8VgYhEO1J+qXkO5kn/xXnw94C5v8vZ4yDd5Pkj6J7WIwGcBrYSXKRCVoegsM83imtdbPptUKB6CRs5HDQhRcgKmOdWwxSBRAUfKayAAiwDG+9tiZLjaDrwjcfctzI1GG16Irv3mK0Apg/pfzipePS5knRDqP0VA8RPD4xXrkhM1/juSYciRbMpuwpsROIeenyVmNeki9Q== 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=TYYCrw5gUpAv71nl/UTzMdUn/nBfBTt+teDcJyIF3S4=; b=hIMJah1nzX4oIZDzq5a0Mb8Fa3SL4NP40R0r/Ea4DLMS1J150DJhhnBE9R+852b22dyoowxMlofoBI32o5mvcK5tJpsSHG/lRBB4/7Jr0g/LyOIUZ9liAr59Q9iVpJTdHJDeOChky/nmMc9cFCtvJ+SZ4nQCzlch3IHWsUj2pLQsIdB4GeWna5jBdqNy55vmCcSJb+t0IxIsG36omnwCCd9Df/mWvV+RTKu/5frVjvQrN5cr+5fAx779do5kIzs9Ps6JPy2vYzZJoxLwQQq6Ip/B4h8CSxL4Ai2piuIl0w5r+zWQZDTRcGYQ+Jt1DJ5jhscOJIW6JMgt13vZYvh5/w== 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 Received: from BL1P221CA0028.NAMP221.PROD.OUTLOOK.COM (2603:10b6:208:2c5::18) by CH3PR12MB8756.namprd12.prod.outlook.com (2603:10b6:610:17f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Wed, 18 Oct 2023 18:54:34 +0000 Received: from BL02EPF0001A105.namprd05.prod.outlook.com (2603:10b6:208:2c5:cafe::93) by BL1P221CA0028.outlook.office365.com (2603:10b6:208:2c5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23 via Frontend Transport; Wed, 18 Oct 2023 18:54:34 +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 BL02EPF0001A105.mail.protection.outlook.com (10.167.241.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.21 via Frontend Transport; Wed, 18 Oct 2023 18:54:33 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) 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.986.41; Wed, 18 Oct 2023 11:54:17 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 18 Oct 2023 11:54:17 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Wed, 18 Oct 2023 11:54:16 -0700 From: Liming Sun <limings@nvidia.com> To: <kernel-team@lists.ubuntu.com> Subject: [SRU][J:linux-bluefield][PATCH v1 1/1] UBUNTU: SAUCE: sdhci-of-dwcmshc-bf3: Enable SDHCI_QUIRK_BROKEN_TIMEOUT_VAL Date: Wed, 18 Oct 2023 14:54:12 -0400 Message-ID: <40bb2bd3e51e6c642a62eda88a268a344755a1b4.1697654797.git.limings@nvidia.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <cover.1697654797.git.limings@nvidia.com> References: <cover.1697654797.git.limings@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0001A105:EE_|CH3PR12MB8756:EE_ X-MS-Office365-Filtering-Correlation-Id: 74fad79d-d8a0-4be4-3615-08dbd00bab53 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 90WVCHMar8Ho7Gm/UcFQYlmgOYuq8SZ69aL3TNo1A/xpg8mbxbq8UgVOr6e5OwM+m3lTDxY9p46dGNt2pVX367vVeiwmyFxsbECBhLjVtiVwbY7LU631BRxUScCSaNd4TYsa5KPl9YpJCOGb8lQ554Nm1BXsunMJoeZdOhbPEXOwAqpdORKObEm0QblWS2Cx33W7Isz8ftYXX/1wnOtz6JXfTwrcYuwf6qSXiPFqUO+83UG1GzzWXxGyGAQftBKBBkRNcKiKGa1jSdUHlHdPljvs5Kc5OAdslpYoO5TJF2Lumn71QpZaRYXaehWlVRPXH9GfhOWU/At/wIGFNm6TGvSOAsHRiypBpVCcZ9zrxylAKpDyZukIY7G5gyLASA+5AOQbftp7TvHzv7hpRQqKDVQlr03z/0HMR71REXRIi8iQI5sqbk7WDWp7r2MNUhr/HiWGH5T7YzvHK63aZuVL6QkJks6NrZozrFrvs+9Qo1yWCbte2j/YhE1DDCBsWi8oFiku+S1Ww3aN/8WfDp/ppZHVuU/bJOXrokQ7SQLFWwuAOOonwTHcfxhyQ/EbJ45r+tDNUTxdGVAKqevnWjrtWKUKwyPvdmNrYdAL8VL1Sk9/A5mNfYO+aIwADN9SV4No0fB51Z81xjX0fkPQ1VhfxRqPSMeHT//GvfUnud2oMnEA3QY4iGMQvXkAnRcT/R8WkzQMzNRUaC2hkjeUEHNNVO4ELRQzpaXK25JfWZdgIGyFqHQ2C5eAcaX7O6nQ1OzN/YVvSofRy4NDvB1HOlXUXmWmKts1wo4k8D2OenKTZxY= 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:(13230031)(4636009)(376002)(346002)(396003)(39860400002)(136003)(230922051799003)(451199024)(64100799003)(186009)(82310400011)(1800799009)(40470700004)(36840700001)(46966006)(107886003)(40460700003)(26005)(2616005)(426003)(336012)(82740400003)(8936002)(8676002)(4326008)(5660300002)(47076005)(83380400001)(7636003)(40480700001)(356005)(2906002)(478600001)(966005)(86362001)(41300700001)(316002)(6666004)(7696005)(70206006)(54906003)(36756003)(70586007)(36860700001)(6916009); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 18:54:33.8444 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 74fad79d-d8a0-4be4-3615-08dbd00bab53 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: BL02EPF0001A105.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8756 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Cc: Liming Sun <limings@nvidia.com>, David Thompson <davthompson@nvidia.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
UBUNTU: SAUCE: sdhci-of-dwcmshc-bf3: Enable SDHCI_QUIRK_BROKEN_TIMEOUT_VAL
|
expand
|
diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c index 44fd58014b7f..188c5ae7efc5 100644 --- a/drivers/mmc/host/sdhci-of-dwcmshc.c +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c @@ -316,7 +316,8 @@ static const struct sdhci_pltfm_data sdhci_dwcmshc_pdata = { #ifdef CONFIG_ACPI static const struct sdhci_pltfm_data sdhci_dwcmshc_bf3_pdata = { .ops = &sdhci_dwcmshc_ops, - .quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN, + .quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN | + SDHCI_QUIRK_BROKEN_TIMEOUT_VAL, .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN | SDHCI_QUIRK2_ACMD23_BROKEN, };
BugLink: https://bugs.launchpad.net/bugs/2039325 This commit enables SDHCI_QUIRK_BROKEN_TIMEOUT_VAL to fix the intermittent eMMC timeout issue. eMMC has two timeout, one is in the controller and one is configured in OS. Previously, both are calculated on top of configuration read from eMMC CSD register and clock setting. With the quirk setting, controller timeout value 0xe (max value) will be used which is the same as UEFI does. The OS timeout will be set to 10 seconds accordingly. Signed-off-by: Liming Sun <limings@nvidia.com> --- drivers/mmc/host/sdhci-of-dwcmshc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)