Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1322572pxb; Wed, 3 Nov 2021 23:35:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKq/OX6V79GplB1xpV4tUeJB/0nUOJZdZ93kheAaK6Cp5RL4RYBtQ7R1hZlc7xiSx6vlk6 X-Received: by 2002:a6b:5b0f:: with SMTP id v15mr5711421ioh.48.1636007740808; Wed, 03 Nov 2021 23:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636007740; cv=none; d=google.com; s=arc-20160816; b=HYq3FJzfCp4zv5UaOm/2M72R+8bs9FEdOSaO9oW69HbHGiVkqMAi1QTPejxWsdsuIP 0t3uqRozPidlSikTu7vSxclsMZkyDHIiJhggnsw/33u6HHEmfe3eW+vNErTuydy6gT/o NQJKGFTNAMduE946ASzwGYE/af+IoHNrYzSW6tdyoOKpLYASFrXAN+ANSoh+ehKJp/At 0dSbJGSNCZ86zWplgfuAgYuU6HXr80rGlGtZkf4HWTs+ecLgXGhYL+qSo2nHCET4BVSK CP8NoFKO/j6mgfYn695xTf9gC/Yfa7eepzUGWLJfBcAcL6aV7/J8rKI9/RpEwdgoVDvw CUoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=XQ82X6xPFxlA23GhyUFqTKX41dSNvOuOx32KdybUn1c=; b=kbUu9Jm7DtluG2x8wpZ7uqZhekdzp7OUvm+GWKzkV5p7hDlkW9ViVSXF7S1TLCLnGW 3jnbRmDmWQHWhMqoL7vfjCXZSvdYhrHzJZmhcoUvKUvAXZbaFT1bsJb9yNqKE6Na6ina Eou7LPcsQ85LtXlYwJceV3OLBRgQgIVRhsQZdZmdT36m3+rPWaMelATGOZ/oaMNyDiPT yE8hfbn6pZo512vC/iTr/p+FAYBPKI7aQgU3tfsJTtQUNdtAk6sOzswDpxc4ob2u7aOY LwdIVuJaQpbmOZQV/5hQpmQhlk9pwuxypD2kyX5k16L4wUelxVvSsGkRgs2zE5owWHwq VKcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="F/ZTwDYa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si6037161jah.106.2021.11.03.23.35.26; Wed, 03 Nov 2021 23:35:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="F/ZTwDYa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230335AbhKDGf3 (ORCPT + 99 others); Thu, 4 Nov 2021 02:35:29 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:32935 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230363AbhKDGf0 (ORCPT ); Thu, 4 Nov 2021 02:35:26 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20211104063246epoutp03a1c3ae4c79863c0a3318cd5b1a0cf12d~0RDbCg5NJ0489804898epoutp03B for ; Thu, 4 Nov 2021 06:32:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20211104063246epoutp03a1c3ae4c79863c0a3318cd5b1a0cf12d~0RDbCg5NJ0489804898epoutp03B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1636007566; bh=XQ82X6xPFxlA23GhyUFqTKX41dSNvOuOx32KdybUn1c=; h=From:To:Cc:Subject:Date:References:From; b=F/ZTwDYaIr2OtIw3fHPNqVmTyeREQFjC/SE1LU5Z5BoKm5uZWWHHTEx+QnM+pFDqQ uGf5qJvPGFGuKlXF5B+MrRm6/1uXc9XGioAbLsR7d92kjeAZTaEYHtzybqnIc35KJO Vn+MgvlFgiK4AEpDzeC3iJdW0xIboCVbpd6wh7m4= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20211104063246epcas1p3b6855d69870811311cf5e3649731bfd3~0RDawkgZ-0545405454epcas1p31; Thu, 4 Nov 2021 06:32:46 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.38.247]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4HlDMw2wgKz4x9Q8; Thu, 4 Nov 2021 06:32:44 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 23.D8.64085.C8E73816; Thu, 4 Nov 2021 15:32:44 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20211104063243epcas1p4526b49feac019f3eadb33a23dc132976~0RDYjQpBR2528025280epcas1p4x; Thu, 4 Nov 2021 06:32:43 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20211104063243epsmtrp2af96d8ca02daefd99b095a730c64a2ee~0RDYilWqk2025420254epsmtrp2e; Thu, 4 Nov 2021 06:32:43 +0000 (GMT) X-AuditID: b6c32a35-9c3ff7000000fa55-5c-61837e8c9c8f Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 55.19.29871.B8E73816; Thu, 4 Nov 2021 15:32:43 +0900 (KST) Received: from localhost.localdomain (unknown [10.88.98.193]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20211104063243epsmtip22d1d87717fd7119effbcf8082bd3396f~0RDYaryWr1646816468epsmtip2j; Thu, 4 Nov 2021 06:32:43 +0000 (GMT) From: Huijin Park To: Ulf Hansson Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Huijin Park , Huijin Park Subject: [PATCH v2 0/2] mmc: core: adjust polling interval for CMD1 Date: Thu, 4 Nov 2021 15:32:29 +0900 Message-Id: <20211104063231.2115-1-huijin.park@samsung.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrNKsWRmVeSWpSXmKPExsWy7bCmvm5PXXOiwestEhYv9x5itui46GJx edccNosj//sZLY6vDXdg9dg56y67x51re9g8+rasYvT4vEkugCUq2yYjNTEltUghNS85PyUz L91WyTs43jne1MzAUNfQ0sJcSSEvMTfVVsnFJ0DXLTMHaKuSQlliTilQKCCxuFhJ386mKL+0 JFUhI7+4xFYptSAlp8CsQK84Mbe4NC9dLy+1xMrQwMDIFKgwITvj5K3l7AUXWCt63j5ibWA8 ztLFyMkhIWAi8XnFHSCbi0NIYAejROumo2wQzidGiY+dV1ghnG+MEtsP/4ZrOT9/M5gtJLCX UWL5yWQIG6hj+U49EJtNQFvi+tqtjCC2iICGxJ6H51lBbGaBLkaJm7ccQGxhAWeJb1u2AcU5 OFgEVCV+rJIDCfMKWEvsfLaGHWKVvMTMS9/ZIeKCEidnPmGBGCMv0bx1NjPIbRIC29glvj65 ygwyR0LARWLhciuIXmGJV8e3QM2Rkvj8bi8bhF0usWvCVajeBkaJvrXfWSESxhLv3q4Fm8Ms oCmxfpc+RFhRYufvuYwQe/kk3n3tYYVYxSvR0SYEUaI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FMSK6tSi/Lji0pzUosPMUpzsCiJ817oOhkvJJCeWJKanZpakFoEk2Xi4JRqYPIu 9jR0/Ldb9CNnaHPapC070+5PPlRbGVxxR6hlwd/nuWqHW5WzrOfGpbPcL31X9GOHQ3BVgOws Va33j1lPKfzYJv7AU6/s3bSjp56+3bD0+v8X5lXB9c9unT4Skyn96MyXoAMLqteZavy/VL7n T03WmxUH+q9OTJPTPtYw499Mtmx1Z4U9YtnNjyK+/dBucFC31Vc1K1tsUWJlNUHG2nRveXg1 r0tFidu3bucbWrPi753bHThrw0+PqT5LX9/yX8i8/TAbS+qUnv1CD76ecKjlZVdwD/p54nRb xp3GffmXnWdPbd0jd36CgtKDgLwLGlzJkl+b5lpWFdzcvNRrWZFz6JFgttTz0td/a1e2+Sqx FGckGmoxFxUnAgBmCLlzrwIAAA== X-CMS-MailID: 20211104063243epcas1p4526b49feac019f3eadb33a23dc132976 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20211104063243epcas1p4526b49feac019f3eadb33a23dc132976 References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series is for adjusting polling interval for CMD1 using __mmc_poll_for_busy() common function which provides a stricter timeout checking and a throttling mechanism. v1...v2: - Change __mmc_poll_for_busy() first parameter type to 'mmc_host*'. - Use __mmc_poll_for_busy() common function. Huijin Park (2): mmc: core: change __mmc_poll_for_busy() parameter type mmc: core: adjust polling interval for CMD1 drivers/mmc/core/block.c | 4 +- drivers/mmc/core/mmc.c | 2 +- drivers/mmc/core/mmc_ops.c | 89 ++++++++++++++++++++++++-------------- drivers/mmc/core/mmc_ops.h | 2 +- drivers/mmc/core/sd.c | 2 +- 5 files changed, 62 insertions(+), 37 deletions(-) -- 2.17.1