From patchwork Thu Sep 1 14:24:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Lemberg X-Patchwork-Id: 9309197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E0C0C607D6 for ; Thu, 1 Sep 2016 14:44:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5AD329404 for ; Thu, 1 Sep 2016 14:44:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9F7B2941F; Thu, 1 Sep 2016 14:44:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 251AC29404 for ; Thu, 1 Sep 2016 14:44:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932624AbcIAOn5 (ORCPT ); Thu, 1 Sep 2016 10:43:57 -0400 Received: from mail-by2nam01on0052.outbound.protection.outlook.com ([104.47.34.52]:5504 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932583AbcIAOnx (ORCPT ); Thu, 1 Sep 2016 10:43:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yb3OPQ7T2heIXmSu7CCtVvM85uqoOkvmuHo7SUTWYVM=; b=lpbpR4ibV29lS9M6cVWW3rKyj6sMxoyaVXqOccNS8tur2F1xhguKLG4o8jc3EAUWJl1CaNApvZkK48KQDPPddj0iL6WlwMQ/jxW5J5oxtMGc2Vr+9oKdwYOzbBEOcD4/VoClPE/CsdpOd/pYF5IjteOANN0n9lXLofawIlLHh4U= Received: from BY2PR02CA0060.namprd02.prod.outlook.com (10.141.216.50) by DM2PR02MB1306.namprd02.prod.outlook.com (10.161.142.17) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Thu, 1 Sep 2016 14:29:10 +0000 Received: from BN1AFFO11FD021.protection.gbl (2a01:111:f400:7c10::156) by BY2PR02CA0060.outlook.office365.com (2a01:111:e400:2c40::50) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Thu, 1 Sep 2016 14:29:09 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN1AFFO11FD021.mail.protection.outlook.com (10.58.52.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.587.6 via Frontend Transport; Thu, 1 Sep 2016 14:29:09 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 0D.D9.61581.46938C75; Thu, 1 Sep 2016 07:21:24 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.301.0; Thu, 1 Sep 2016 07:29:04 -0700 X-AuditID: 0ac94371-952c29800000f08d-37-57c8396419c7 Received: from alexl-VirtualBox.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 30.B3.02783.F2B38C75; Thu, 1 Sep 2016 07:29:04 -0700 (PDT) From: alex lemberg To: , CC: , alex lemberg Subject: [PATCH 2/3] mmc: Adding AUTO_BKOPS_EN bit set for Auto BKOPS support Date: Thu, 1 Sep 2016 17:24:49 +0300 Message-ID: <1472739890-3384-3-git-send-email-alex.lemberg@sandisk.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472739890-3384-1-git-send-email-alex.lemberg@sandisk.com> References: <1472739890-3384-1-git-send-email-alex.lemberg@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPLMWRmVeSWpSXmKPExsXCddJ5kW6K5Ylwg+ZpChZH/vczWhxfG+7A 5HHn2h42j8+b5AKYorhsUlJzMstSi/TtErgyNnUtZCyYwVcx78ZB5gbGNdxdjJwcEgImEqfv r2PrYuTiEBJYyiRxs3M9I0hCSGA7o0THKVeYolUXZ7FAFO1klPh9/SArSIJNQFdiT/8HFhBb RMBS4sqUZWDNzALeEk+6X4HZwgK+Eu8794HVsAioSOx73QwW5xVwl+hd0ckEsUBO4uSxyUAz OTg4BTwkbqzxhbjBXWJ23zp2kL0SAp9YJNqX7GKF6BWUODnzCQvELgmJgy9eMIP0CgmoSpx9 WzeBUWgWkqpZSKoWMDKtYhTLzcwpzk1PLTA00StOzEvJLM7WS87P3cQICdbCHYyvb3sfYhTg YFTi4d2gfyJciDWxrLgy9xCjBAezkgjvamCoC/GmJFZWpRblxxeV5qQWH2KU5mBREue9GP0x TEggPbEkNTs1tSC1CCbLxMEp1cCYIdyYdK3ujHf9vjc1+0rkBO+euHd84slq5/0uNdcZ2wQ/ KC6r31M2K8vRPCdvhvBmls6cEh2ldabWwZYLa3/MzLBselfgYxR28N0UlSmu/qnCm7al1yvW XbA1+7z283GvzEfPzWv4xCvunfiYea40ftNRli6Depbk6eFhH3a/EqlN4soPZ1BiKc5INNRi LipOBAB+jIriUgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKJMWRmVeSWpSXmKPExsXCtZEjRdfA+kS4wdTTyhY3H/xgs9i5dx2T xZH//YwWx9eGO7B43Lm2h81j2przTB6fN8kFMEdx2aSk5mSWpRbp2yVwZWzqWshYMIOvYt6N g8wNjGu4uxg5OSQETCRWXZzF0sXIxSEksJ1R4vHGbewgCTYBXYk9/R9YQGwRAXOJh8tamEFs ZgFvifNLbrCB2MICvhLvO/eB1bAIqErcvNsCZvMKuEv8nP2EFWKBnMTJY5OBbA4OTgEPiRtr fEHCQkAls/vWsU9g5F7AyLCKUSw3M6c4Nz2zwNBQrzgxLyWzOFsvOT93EyPY45yROxifTjQ/ xMjEwSnVwFgm3fntxsSPRpMeOHz1OJq9O3jHD4cg62OmQp+jT+8xz9na+yh6+Ym7eUs0D3dp Or2b+nN+rLgriz7nwvCCVYJevjU1cZzfzgkf+7dn4WQdh48fayf46vW/Wr1i+YEdMf/uTCxR PWJxbG0Jw5ctX2XlrnRJrWNObmZvebj1tuc8bsm21PM14X5KLMUZiYZazEXFiQCAbeZMqAEA AA== MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(47776003)(106466001)(86362001)(586003)(2906002)(229853001)(87936001)(5003940100001)(86152002)(189998001)(5660300001)(107886002)(50986999)(626004)(2950100001)(4326007)(33646002)(76176999)(36756003)(77096005)(97736004)(5001770100001)(7846002)(356003)(50466002)(4001430100002)(11100500001)(48376002)(8936002)(8676002)(81156014)(81166006)(68736007)(305945005)(50226002)(7696003)(92566002)(19580405001)(2270400002)(19580395003)(69596002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1306; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD021; 1:m48Morm1IEkTFi+FMJcYO/4asGLio557FlW87F4VxotiUc+rnJu5gzGrflrg9fGYTwGf4t9nQzmXYp5bFJmGLhYjrEQCwvyDINYnbsFo3+J2lWVzQ6P+NO1zCBm/qsmDRjX5aDiu+N3fvCL+wPrNQKL16S5S16XUaRvldqLZ+c5ExbpjLGDy7wEq52J7uBSVNlTaQbi2/c87rNQfFvJ00OBkW0xWks5bt4wBu6LULL0SzIUZKsD5yAFL1v2Y5kVCUQIABqSiURFSEhP+WobmvJAd0OrlMiHPu4UvgrJ6VVdSthqCGtDYojOD0eaYR+che/Ac6yUIeD+PFWoGgn5dkFFvU30NLfpYF7RZQ7XKChg0mGqdRAg/yZ2uJsGSWq7+of4855ga9/433uuXrX4ZvECJslFT4qgMdBe8yiuA6i00yoaBDcp8e72YfHVNmplJYjL8jBf+Q7ffBV86y8Qq8h8bXUocEicEGpQyHyPuyCw= X-MS-Office365-Filtering-Correlation-Id: 0a546845-0767-4eaf-ab4f-08d3d2745639 X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1306; 2:vQVq1n/NMpuUKMtYujq8+BbYHWNv0Deau+Bgkwb+C1BVgokhYLVqYpyEmULAr1h+HV1PNG9nfRg7aHWXzgNFUuZpnXthXdLGyTEb8Nuts8NdFUSUj6vZMX2ajftRGu2NLEqwxNSwmGmKR8ofVMJga+M8RnXZ2aSUBsowboNrllEDwAURoBcg7ezCO2jjlznl; 3:k+xNbBLK06aL/in2WIhsNgPsOi5pnJYIxxpF5JbW0NUqF9iVSfDAgDRIcoCRdWu/7tlOpnOHnk/Gg+UlN7TR5at/ckMFB/+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OImi85knXYoEkUgdu8geDPGN2BJpejf5Xpvfcoqix1ffzorIauTtS6h6cglPhDPfaKX4HkLUiINhaz/uwOeCIkkEbbC5LR2axHXRpewsVr2GFx5Z8RI8VlI2B5HaOEmcN/uHYf7mor5KcLN6Fbngw7rddUXl6xDupDt2ZCq0WwFKK3KTnLEFpRjSVGexu3koNpsvkhED+EDOGMKr+TifFu81XsozDcrwKriNZ8PKMSjZXoU4RemCmijtfbb8aqnl9MdZuPho9m0iZG4jAKtAaU9YW8SH9/Rz7lTD5A3CqbN+0HJriTcDgBB+ABPs3Wl5U/mP2LTh4maQ9fPWOjT8hbjB3LgpR9O2brsC/6csOfVc1hd+iL4Xw3UBYtqC4tI3aKRM/15cTnoea56+WX6EG2r8UA X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:DM2PR02MB1306; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1306; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1306; 4:2oEg2NaLMjNtC2Nj2cvwTu45XFq6TfcuYYMWMXm4mMolZf1A+J2LeMMgsCFlgln1CGAr5MUAlPW5Cpa6k6aS9NbzC/o06qKGjo+1CCcFoVLru+ICnM/fLrL5prytrWHPG7qBmBAF/ittQOmuh1yUFGBTtJpd+VkfEGa7Rj/a8xzUsfUOlvZycNBO0jJBzyRWqaaom1Wk0bauNyLDfA4iLtQugPWSoc2Nn2tCpUg/HjwVa3dEyUhlTSjYuqwbepd3RcQiM026nOrS3HV1m+qKrVJPDP/rVFl9ff7DYo9xIfjS/Nzf3SvMKwcVcA5xiUY9kvCtQZY7YhRg66uJltEMVC+URXHFUwBk4i2lh1tdCFrWZJJwVPlvswptruy9nSTJSoCbXNvHmnLJXiUslfbCDKyzvs2nuUdovv4vm8vnTuil2WxEGl8ly7GXnHD585YbATkqDiK9dGd982soG/AW/xPal76ss6LcAhql7tZ+qqw= X-Forefront-PRVS: 0052308DC6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR02MB1306; 23:/NbQkfg6P7tENbn5I8jqX4elihRvdSl236grwrfRh?= =?us-ascii?Q?g4GemuH8UGZkHgnIpvZL6C3WkZHVAzkE+pvmzrj0t+ENXGfrE2/sT95DBvrm?= =?us-ascii?Q?QNB6Lks9S/s1lIUEOLo8bfaJivQXXXPduwNlSpRJHOksBTzNfNF7JIzmDWNs?= =?us-ascii?Q?UeCCvZzTxD2NfW1zKcZ9D4yTIl3+T03nc5G8F8c3uVHjITvnbjDANNght6ZH?= =?us-ascii?Q?aZo/LzE4F1JHXGl5Zrz40pyH4IMulpwhshDc/WLwDpWFZg16aG2cyF+b2AHJ?= =?us-ascii?Q?f76SkIXKiCLdbtEy927n8w7Ylc5PG6I9/WiVZCjHnn70gZ3kSBHVxrxoPHlo?= =?us-ascii?Q?xc5TGHC/NYzkgXZqsOxRX+rV4yAVuNXZR8TWSJ4c8Jjlmx5ANJgcme2M/1Mr?= =?us-ascii?Q?gpYH9Y8QS0NX2FtPIfbL/fW4RInZAI+gLKx/XEVJqFl4G6zXGRXbdGPEkV78?= =?us-ascii?Q?3/jRrBmuCKnR27MYYOKn0W2pzjehHqgPY9zMa+VQqz7zyynWnygyofDq2Hx9?= =?us-ascii?Q?dyuqAlM0pBrdt8V/n7FU7V0iVc8zj0j2/VTHccKdXjo1m+XQBa2lBbAdLV3u?= =?us-ascii?Q?qhqrY5oGATc8HRj0m9zgIJ74NA3IPemgioudx8Y3yxlMHKCl55pI/TUsSj4S?= =?us-ascii?Q?4A2W3Gkz91rZ7Ax4BI3piRpOYaEUKlWlQU3RfDc7w+HcJyFiNMJ6D2/II0pE?= =?us-ascii?Q?qwzHSDt67V1pDk59iNKHaqcjMV4nU1LWGXgAtIHEqlJQ/v2rfRXAa8ATNA0z?= =?us-ascii?Q?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8wMTJr5HEwRgSXtLc8dGLQHWNAfNZJViFjccVe2fuolDmkPEvxS4PT4nk5hhXhB9+Fily8sCuY=; 7:S8Dpo8rIDmQqtGz8A3QwCBodRQwkgAMvNbdjDNNxVXJe7h5Feti96Aj6lCU1VlicF6SvClLQ3FE73ZATlfPhaYIhO3V1ey9FMzJpEpslgUWCoeAwQ1Lhx73Rfc6lk9xiHUCVBhXcR9BpEjOMPMJyGnhVzv/z5JVT7iAhfNzwLD9NXuKiuJ8Wwpk6u+USFoG4FxY579GsnKu6frstEqLJcL6mgCFPD4DWM97GMFdSCPifxCRbkyXpTKyuGc+dvXtS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1306; 20:ogfnHxbRL77gSHpsWp3WO7l/OYZlYw4NCZRYTKA93wh7WaL/RA9RHcwCPWOQTukBCoeB3KDBrSPuOmmcwAKY2IGHLkupgipwcGxWuWGChAvXW4ZeYlF1FbXi/2YsWuXPokOurcoNLVaEPaX+OBP5F+M7uGiFN+A2otCnOiuDNldgizrIRRWrpUt0XYv3q1Vu+UpIjTlgRUj6dKG6iIpt56z0kTvXDX2Hh97HZOSsS3QwpWX8jh+IcsHtqoX9T6t4 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2016 14:29:09.1067 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB1306 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: alex lemberg --- drivers/mmc/core/mmc.c | 6 ++++++ include/linux/mmc/card.h | 1 + include/linux/mmc/mmc.h | 1 + 3 files changed, 8 insertions(+) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index f2d185c..e2e987f 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -531,6 +531,12 @@ static int mmc_decode_ext_csd(struct mmc_card *card, u8 *ext_csd) if (!card->ext_csd.man_bkops_en) pr_debug("%s: MAN_BKOPS_EN bit is not set\n", mmc_hostname(card->host)); + card->ext_csd.auto_bkops_en = + (ext_csd[EXT_CSD_BKOPS_EN] & + EXT_CSD_AUTO_BKOPS_MASK); + if (!card->ext_csd.auto_bkops_en) + pr_debug("%s: AUTO_BKOPS_EN bit is not set\n", + mmc_hostname(card->host)); } /* check whether the eMMC card supports HPI */ diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 73fad83..aaedb68 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -84,6 +84,7 @@ struct mmc_ext_csd { unsigned int hpi_cmd; /* cmd used as HPI */ bool bkops; /* background support bit */ bool man_bkops_en; /* manual bkops enable bit */ + bool auto_bkops_en; /* auto bkops enable bit */ unsigned int data_sector_size; /* 512 bytes or 4KB */ unsigned int data_tag_unit_size; /* DATA TAG UNIT size */ unsigned int boot_ro_lock; /* ro lock support */ diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h index c376209..0fe3908 100644 --- a/include/linux/mmc/mmc.h +++ b/include/linux/mmc/mmc.h @@ -436,6 +436,7 @@ struct _mmc_csd { * BKOPS modes */ #define EXT_CSD_MANUAL_BKOPS_MASK 0x01 +#define EXT_CSD_AUTO_BKOPS_MASK 0x02 /* * MMC_SWITCH access modes