Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp52147pxa; Mon, 3 Aug 2020 22:32:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6RzAjei3aqvjf/Fkc0d8ZTR0wMvlkIoE5U4uRaBkG+amg/5J6yWd59C+FhMrxFGCew25H X-Received: by 2002:a05:6402:22d5:: with SMTP id dm21mr13217699edb.211.1596519131405; Mon, 03 Aug 2020 22:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596519131; cv=none; d=google.com; s=arc-20160816; b=tqobaXPtc8TTv10blmhtOrLLXN7v6Kx8XxE3/wpkMVza7psJjEKMr3wzl2SEvzsBAH GW4zdbhHRmHG+k2UWID/1GOkdf08/e/bVnEob7ECXlXE+aTByWmdjVw3TMv2PnNzz7DS e8q08zYQU4NyWLFmv1nOl2ndBIe5vp70PsY9w0NFNP+bzjAbiEmkGCXciSkAsQ5gfrHi y4Qarw3LYeCVrxYCsXxfbMl//al6QGvylOJ+EzJ8oeCpzLWgfYnZ+maZi/JW2Ed+QZ7R gIwfLlhcq1eF8mg45rv5g9zwvSVwIKiMz4SJqr1bMQL6L/8cj4IAzMjmibBQ9tsZQUZG ULoA== 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:to:subject:ironport-sdr :ironport-sdr; bh=+RNwyISZcLwDXZyIWM+eGELkDJcBmWIk1qiS8vEyHl4=; b=Xup2WwEG90n3EQ9KmP9InE5uymfJOlOvez8GhVLWOUX2Yp+386Ib08IJZnCQbVtqnM JSPpmgGu9zd//1aFRvcTe96EiQh772wS1xN+Yi4JvNYsg3qwBVPAXIpakqNDfAj+ReAE iJ12A+z8+lnboqLHZ9UoQVe6ge7SO4FsXF9awVLY3LQQKxXWOwZRv7JFJ79hiTKvBohF vuUnCwaVt2wzRp1Wnq2+ycqmEkwovvW0BnVmZh/86+MShEh38PHGjaiHlLxfhTmBq04F 6w5TLDg7cpoG6V8lZxqorl7CqZjLUu2vs+GaUeGdEAxEI+2uLs5APugh87CCm9V7q5r4 sn5Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b21si1591345eja.19.2020.08.03.22.31.49; Mon, 03 Aug 2020 22:32:11 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728811AbgHDF3a (ORCPT + 99 others); Tue, 4 Aug 2020 01:29:30 -0400 Received: from mga05.intel.com ([192.55.52.43]:62694 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727035AbgHDF33 (ORCPT ); Tue, 4 Aug 2020 01:29:29 -0400 IronPort-SDR: wOoSP/RLVSVEWHG2BxbZcGETmWmpGlb/FXRmoZdH5ZHkH6KvUHtEuJ9ZyL3MoSLuFuOWO/oZuQ gN6MPyslrtJA== X-IronPort-AV: E=McAfee;i="6000,8403,9702"; a="237113084" X-IronPort-AV: E=Sophos;i="5.75,433,1589266800"; d="scan'208";a="237113084" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2020 22:29:28 -0700 IronPort-SDR: Z8iqhYn++WufcKhSFIRurRKwOsdQH/yF+J5w7TlJp1oymsnYKRD5uGkMvu7j8j3vG0PTbUTF1e xeIsCzEzBVCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,433,1589266800"; d="scan'208";a="330486541" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.73]) ([10.237.72.73]) by FMSMGA003.fm.intel.com with ESMTP; 03 Aug 2020 22:29:27 -0700 Subject: Re: [PATCH V1 1/2] mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1 To: "Shirley Her (SC)" , "ulf.hansson@linaro.org" , "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20200721011733.8416-1-shirley.her@bayhubtech.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: Tue, 4 Aug 2020 08:29:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sorry, I have been away for a while, but I will look at it shortly. On 3/08/20 10:23 pm, Shirley Her (SC) wrote: > Hi, Adrian: > > Do you?have chance to review the patched code? > > Thanks, > Shirley > > ---------------------------------------------------------------------------- > *From:* Shirley Her (SC) > *Sent:* Monday, July 20, 2020 6:18 PM > *To:* adrian.hunter@intel.com ; > ulf.hansson@linaro.org ; linux-mmc@vger.kernel.org > ; linux-kernel@vger.kernel.org > > *Cc:* Shaper Liu (WH) ; Chevron Li (WH) > ; Xiaoguang Yu (WH) > ; Max Huang (SC) ; > Shirley Her (SC) > *Subject:* [PATCH V1 1/2] mmc: sdhci-pci-o2micro: Bug fix for O2 host > controller Seabird1 > ? > Add bug fix for O2 host controller Seabird1 > > Signed-off-by: Shirley Her > --- > change in V1: > 1. Add quriks2 and mmc->caps2 for Seabird1 > 2. Add get_cd support for Seabird1 > --- > ?drivers/mmc/host/sdhci-pci-o2micro.c | 6 ++++++ > ?1 file changed, 6 insertions(+) > > diff --git a/drivers/mmc/host/sdhci-pci-o2micro.c > b/drivers/mmc/host/sdhci-pci-o2micro.c > index e2a846885902..ed3c605fcf0c 100644 > --- a/drivers/mmc/host/sdhci-pci-o2micro.c > +++ b/drivers/mmc/host/sdhci-pci-o2micro.c > @@ -561,6 +561,12 @@ static int sdhci_pci_o2_probe_slot(struct > sdhci_pci_slot *slot) > ???????????????????????? slot->host->mmc_host_ops.get_cd = sdhci_o2_get_cd; > ???????????????? } > ? > +?????????????? if (chip->pdev->device == PCI_DEVICE_ID_O2_SEABIRD1) { > +?????????????????????? slot->host->mmc_host_ops.get_cd = sdhci_o2_get_cd; > +?????????????????????? host->mmc->caps2 |= MMC_CAP2_NO_SDIO; > +?????????????????????? host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN; > +?????????????? } > + > ???????????????? host->mmc_host_ops.execute_tuning = sdhci_o2_execute_tuning; > ? > ???????????????? if (chip->pdev->device != PCI_DEVICE_ID_O2_FUJIN2) > -- > 2.25.1 >