lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 5 Nov 2014 11:58:30 +0100
From:	Ulf Hansson <ulf.hansson@...aro.org>
To:	Vincent Wan <vincent.wan@....com>
Cc:	linux-mmc <linux-mmc@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Arindam Nath <arindam.nath@....com>,
	Huang Rui <ray.huang@....com>,
	Wan Zongshun <mcuos.com@...il.com>
Subject: Re: [PATCH v3 3/3] mmc:sdhci-pci: enable sdhci doesn't support hs200
 quirk for AMD sdhci

On 5 November 2014 07:09, Vincent Wan <vincent.wan@....com> wrote:
> AMD SD controller supports the SDR104 mode, but caps2 can not
> be promoted to support hs200 for eMMC.
>
> Signed-off-by: Vincent Wan <vincent.wan@....com>
> Signed-off-by: Wan Zongshun <mcuos.com@...il.com>

Thanks! Applied for next.

Kind regards
Uffe


> ---
>  drivers/mmc/host/sdhci-pci.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
> index 5a77f18..c1ecd20 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -652,8 +652,10 @@ static int amd_probe(struct sdhci_pci_chip *chip)
>         smbus_dev = pci_get_device(PCI_VENDOR_ID_AMD,
>                         PCI_DEVICE_ID_AMD_HUDSON2_SMBUS, NULL);
>
> -       if (smbus_dev && (smbus_dev->revision < 0x51))
> +       if (smbus_dev && (smbus_dev->revision < 0x51)) {
>                 chip->quirks2 |= SDHCI_QUIRK2_CLEAR_TRANSFERMODE_REG_BEFORE_CMD;
> +               chip->quirks2 |= SDHCI_QUIRK2_BROKEN_HS200;
> +       }
>
>         return 0;
>  }
> --
> 1.8.1.2
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ