Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp602617ybe; Thu, 5 Sep 2019 03:02:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyU7vfZ4xBLhcgGVRVFzSXh45D+4SqsYPUBk0mKvoZ+G0VXRUzIVozD1+JjudNCRB0OSGBr X-Received: by 2002:a17:90a:db48:: with SMTP id u8mr2969890pjx.41.1567677727419; Thu, 05 Sep 2019 03:02:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567677727; cv=pass; d=google.com; s=arc-20160816; b=C+VBjEXGFOTD1jv0bOibsysWl3/iR0UaT0cAVqJBoo6+j3Ixfj50fjBq7OXwlEzqha qZUfOW6r44FeqbsiMswdtFanSV6Ym2RWL7F+JrR8+Ordxv0LHW65PEoCwscg6qpI9/U9 K/u7lfNjnnHf2mQ+hhOkuyjMDn+BgBCKoVzBxuLLTUv7ucmRCoj5He9YDAN8+DHu91V5 y15B7MtvzrxGS3qRGPX0ApRW3Oyda1wbN0CyL05XNRvmbDqhiI8V1gPudvOfS06rLChg 8h4AFmQPEki5BxHxyyqzrue2cj/ZpQxmZKHdGZe2n5f4yg7V2ynHDrYWXa6sRvhx7Yij TFZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:dkim-signature; bh=4NdGWVOfFBg9vN1vd36not3xMvSXGtQkuCnHi0X9aAA=; b=GH5PJJtaifHfhz+1tANA8Xmhz4MIEDQgJ1DmGXSU2SwPQIwcGtikUO7PN0et7MdyG0 yOOlpe5Zotc3dzsrUrvr6Mkv4mT53W8h6Amij+kEmZ2CRQkcszIRWSdnsGpAeyOj6Sg5 0kXs7u/gA+rD56oCUX3xQ2pGTQojg08qjeX0zaSzXmoizu0RKzyFfecs0QS2AwOPqcVi ymeaflkwcGvOw7CPujOEK2EYNQwGJ9kW1dF4HBGv4+0o007d3vPPvdEDQV4JQe+lK8nk Mxx62F6f9H9BGmMA+lZaUeA2eovDP6eg3WsxRu+k1IC9zu7MFsqCaxITJvjMuZ5s28UB P0NA== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=LFc5+jrI; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=Xc8fSxsq; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w24si1316304pga.394.2019.09.05.03.01.48; Thu, 05 Sep 2019 03:02:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=LFc5+jrI; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=Xc8fSxsq; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732366AbfIEIok (ORCPT + 99 others); Thu, 5 Sep 2019 04:44:40 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:6205 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731772AbfIEIoj (ORCPT ); Thu, 5 Sep 2019 04:44:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1567673080; x=1599209080; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=4NdGWVOfFBg9vN1vd36not3xMvSXGtQkuCnHi0X9aAA=; b=LFc5+jrIOnTqLYdVoxVOVxt9LG1Aqup8//fcCtgEN84H+lemlmpXE1Rm kMolqNlnCb+igCtHXpLF07cXdxSXmg4pR1WNoo+s2K1vDkvdGSNspvKBo +P3DrpiMfpA6APmFXGRaLguDSe0AwQ+yR9mL2nvJTD7znFuHzKgmr37L1 PF1WCw1JMkOAVQntQ2A8Vr3znlbNp7JKCqMqdUqBPnToK74oO5vdY+jYg ifbRmEX3ZUk06QtAR6aZ4ZoLIXTTMpOvQkcUhkRjPQiYRwrnJ1visCkSu 4/QCydpjJb0FZeiT3R/IJf+rjjuhpPLXxSj4rrBYXL4FLoExpN4M8gBB5 Q==; IronPort-SDR: k80FLqrxZbdixP5tXmEPppRrAt6AE0YhxMsUSYSxn9nzxI8Fo+iGdQGNbY+FVRKaRv+HOrd/cs 6JyxRwXipTqw0HXsUE7dw59tN+z1QIvHB3V/IzKTXxbkEIhAr1WE6H/ZkfMMGSPXJHs8JSgZBZ Z+jZDbgz9muLGu4w/5GWqfxYziMSVZS1dUBjjsSxNKtRrUThyacS5wMnw9l4ogeAiYm2zdcxzG Nlc+G8pC/G5LkI1VQyASA1QDWAyS6rvsWWtHUbz2Q7syfcpBr017GiSfgedHibN6wPxfI419DS Q7k= X-IronPort-AV: E=Sophos;i="5.64,470,1559491200"; d="scan'208";a="118421646" Received: from mail-bn3nam01lp2055.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([104.47.33.55]) by ob1.hgst.iphmx.com with ESMTP; 05 Sep 2019 16:44:38 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HM0ygg9YmS/DTCGQ7m3/OAQc+lNK0O0RuGiH81NFIR7ZXWxTdSrsaWJgetRMq3zl+QGNGZasAYT2FnXWWxzhodC4HCaiy3t5lcefyN+yq51/BiawK5IjtKOCKNfEwjEY/pCRyiDMudnmGeEzCarQYC/lIaimzPXUNhHvaudFVUTIaf419NC9+oQNC3RTa52bwYyFWKvjaxjMkBOeRKcVcA70gFYkZDdSV1pdw+jjI1I8DvIU2NUaqJpGiFCzegUmSd7jAOGcKL1CgnttpHy5Zlfv/qp7eYoKIOFW5Fv+lwH1wO3YYt7nJBA79vM5gjLN7YkxPpkBRcyzipgwOG1NTQ== 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=4NdGWVOfFBg9vN1vd36not3xMvSXGtQkuCnHi0X9aAA=; b=Ok4S2DfP47B3vEp7RwWn4TRqAdiS2XEOteAkVXiDEaUGwpCzYHNxDjvJYHQizaQOE28QEMimONZ3AiP0lIkkUrWfNGBgYp5rHeKCEiV7DSA3v+YOFOlw4GaPqwbbfXZT0CqgKeIe12250u+F44meI6vKNGAfGWnt5le0Ej6URqwbF7RtOdvN9RoRDmJd0YJ/hTje46sotY/XfIdY2p/0wEmAEMPSbYJweO2hgLCvkCAROfK2IleLzJXxLN9LG48cz6xnJrD3FSZ2Th7HnObhd8Jf5kfcfRKtmp5EQwBDmpdzMf/ivqJ+Wf8Cm5Shri/zbfQ6zLWPo/hAwzuCoyoTRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4NdGWVOfFBg9vN1vd36not3xMvSXGtQkuCnHi0X9aAA=; b=Xc8fSxsq+IveGmDfcxH/l6C/6AHkT4E5q7EuQCC8KbPYxbK1co17NdCUiDM4vQRqHMKkYC1iVjnFQ2ttzSepxzwVhB1ruDCf31LUFigpvW46zymPxCyWsoy2KmGgORDLDUk4mCreIrgDCgK2PHK1yRJ5fde3e0w23bu5haQ2wTs= Received: from MN2PR04MB6991.namprd04.prod.outlook.com (10.186.144.209) by MN2PR04MB6784.namprd04.prod.outlook.com (10.141.117.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.19; Thu, 5 Sep 2019 08:44:35 +0000 Received: from MN2PR04MB6991.namprd04.prod.outlook.com ([fe80::9c2b:ac1b:67b8:f371]) by MN2PR04MB6991.namprd04.prod.outlook.com ([fe80::9c2b:ac1b:67b8:f371%2]) with mapi id 15.20.2220.022; Thu, 5 Sep 2019 08:44:35 +0000 From: Avri Altman To: Chaotian Jing , Ulf Hansson CC: Matthias Brugger , Jens Axboe , Hannes Reinecke , YueHaibing , Wolfram Sang , Ming Lei , Chris Boot , Zachary Hays , "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-mediatek@lists.infradead.org" , "srv_heupstream@mediatek.com" Subject: RE: [PATCH v2 2/2] mmc: block: add CMD13 polling for ioctl() cmd with R1B response Thread-Topic: [PATCH v2 2/2] mmc: block: add CMD13 polling for ioctl() cmd with R1B response Thread-Index: AQHVY78FV3LC8eVs1UiHHYg0C+TgPaccxI9Q Date: Thu, 5 Sep 2019 08:44:35 +0000 Message-ID: References: <20190905075318.15554-1-chaotian.jing@mediatek.com> <20190905075318.15554-3-chaotian.jing@mediatek.com> In-Reply-To: <20190905075318.15554-3-chaotian.jing@mediatek.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Avri.Altman@wdc.com; x-originating-ip: [212.25.79.133] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c365405c-3b67-42fe-056f-08d731dd47de x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:MN2PR04MB6784; x-ms-traffictypediagnostic: MN2PR04MB6784: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 015114592F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(366004)(136003)(39860400002)(396003)(346002)(199004)(189003)(81156014)(5660300002)(316002)(54906003)(26005)(110136005)(81166006)(14444005)(7696005)(476003)(25786009)(6436002)(6116002)(3846002)(8676002)(52536014)(71190400001)(71200400001)(102836004)(99286004)(229853002)(486006)(66066001)(6506007)(478600001)(2906002)(8936002)(4326008)(7736002)(446003)(305945005)(14454004)(4744005)(256004)(186003)(9686003)(74316002)(86362001)(7416002)(11346002)(76176011)(55016002)(33656002)(76116006)(53936002)(66946007)(66476007)(6246003)(64756008)(66556008)(66446008);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB6784;H:MN2PR04MB6991.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mT09dlgI7BOOu1LFWdRO3VJetslmHh67wSYvxgiEsucAsxZc7whNeYKiSPkOV1MN3dkq1WLFZIlRWcGYsIbYWjJwv0a7dy9shX/reDeYgURIPDMuF1TOesdia8+yPTXcXV4GotHYq6Zn3qNEERYRz3S6Ovu6Uz9/J3WSexrsL0bzQmtHcRT5HmmmAduRby/LM1G/SefTWLcwvEfHYzWxAo3T7fp6BwQkM8jtqQ7n4Oq9XMmQq4QtgFX6oCNSf46DYCJRhd5E+dfsJmaVFiDrGZwWr5Gr/6W8qiXOwFwgvYxHahO9pA1Y8Xz6JUl2F/pP+xGjPp5MbqLkMRzmE8JyQXsHZ2lzRaAFvn1GjB4ov7pXd+16AHlArD33xA/Sv+Htf2LfidKZJEPudLm1BUjKmh1tS9ZvATGdf80KVjjBFjk= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: c365405c-3b67-42fe-056f-08d731dd47de X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2019 08:44:35.6298 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DmIGjktbr7+KvvfqoaO213lNIlgNEzH7DLZ14dnwTyB7glYd3Npje8hiiVdpN9gaEAYf+GFF7ools0TmLCjZ+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6784 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >=20 >=20 > currently there is no CMD13 polling and other code to wait card > change to transfer state after R1B command completed. and this > polling operation cannot do in user space, because other request > may coming before the CMD13 from user space. >=20 > Signed-off-by: Chaotian Jing Reviewed-by: Avri Altman