Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4838975yba; Mon, 13 May 2019 00:04:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqx43vhQr9Hhm1QIlTdJqUx0UDndr5xjD6K6fqK6wDnlFC42qTepNbMf2B2xGB1DSl+Q966z X-Received: by 2002:a65:5244:: with SMTP id q4mr28287972pgp.79.1557731093859; Mon, 13 May 2019 00:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557731093; cv=none; d=google.com; s=arc-20160816; b=H+JSs38TsHCOvrVwun80Tp1xYPQRbgOrPGyowJZWO2V4KEHuKQmKHTIqLIQzgxwxRn O8LTfQZyvcA3aI11XoatnJBEjvbaXqbd+oPBCzBo7N5HdkeItTBuIwl7GXlpwQ7kV/P0 Kk8JPjK39t3+tdxlqTNe+qsO3FjnmgDFcj/4tlvdNhdkGiWnFxczzSJJedIA72MekagR MFMzSwv7zO1EQKKFUp3I+tZm1i5pMv8pQYDKY7iBBJHX5MMleQmHYm578te6XDz0S1cw 9rXlKuxsqw7z0WelljLOdh5/0ht8/XLubPK8rNhXWRgTz6DBQlrXL3Kk/s2g7CtR+I7j gq1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=4GnDt7MKtmdrjl9qNf0BzAN2Jq0zNYzu/OFXQFE/cWs=; b=oNY6gbKLvwfydD7VhqR2Avw7DfXqUXMFx/u/aIpJnFoYunJx4mKiiaKi/+kLEuElia WJV9OV3AF1F/JIbpWoI5FBKmKGlyuWBwci/WPnySxB3UPXwXFf6ogKg5zbhvVmL6Go7h 006CG615eXI92OtBKnABUpM/QK0wleHXe4a7kCuJwcqysfL5YSsx8F4280MJ+ah+5TjI Q/n4yXHtFx+XheMTDdOR+ej+VkywcPrZy5PQLoFpoBsGH6rf3cuFfDBSbOeAX9fKHMGS YOhM8mPiGvqglHT8fTk73hctNXSseMDpX57qRvjq61U3lTn48ULZs5z8zUJaFDFThRRi bcTw== ARC-Authentication-Results: i=1; mx.google.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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7si14498933pgw.133.2019.05.13.00.04.37; Mon, 13 May 2019 00:04:53 -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; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727533AbfEMGos (ORCPT + 99 others); Mon, 13 May 2019 02:44:48 -0400 Received: from mga18.intel.com ([134.134.136.126]:12748 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbfEMGos (ORCPT ); Mon, 13 May 2019 02:44:48 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 May 2019 23:44:47 -0700 X-ExtLoop1: 1 Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.198]) ([10.237.72.198]) by orsmga002.jf.intel.com with ESMTP; 12 May 2019 23:44:45 -0700 Subject: Re: [RFC PATCH 2/2] mmc: sdhci: Quirk for AMD SDHC Device 0x7906 To: "S-k, Shyam-sundar" , Raul E Rangel , "linux-mmc@vger.kernel.org" , "Agrawal, Nitesh-kumar" Cc: "djkurtz@chromium.org" , "linux-kernel@vger.kernel.org" , Ulf Hansson , "Sen, Pankaj" , "Shah, Nehal-bakulchandra" References: <20190501175457.195855-1-rrangel@chromium.org> <20190501175457.195855-2-rrangel@chromium.org> <08c3dc49-f5cb-401d-b900-12879f469728@intel.com> <495b70a3-0232-343b-9081-56869415986f@amd.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: Date: Mon, 13 May 2019 09:44:36 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <495b70a3-0232-343b-9081-56869415986f@amd.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/05/19 8:04 PM, S-k, Shyam-sundar wrote: > On 5/2/2019 12:02 PM, Adrian Hunter wrote: >> Cc: some AMD people >> >> On 1/05/19 8:54 PM, Raul E Rangel wrote: >>> AMD SDHC 0x7906 requires a hard reset to clear all internal state. >>> Otherwise it can get into a bad state where the DATA lines are always >>> read as zeros. >>> >>> This change requires firmware that can transition the device into >>> D3Cold for it to work correctly. If the firmware does not support >>> transitioning to D3Cold then the power state transitions are a no-op. >>> >>> Signed-off-by: Raul E Rangel > Signed-off-by: Shyam Sundar S K > Acked-by: Adrian Hunter