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]
Message-ID: <20130208193303.GD20996@sortiz-mobl>
Date:	Fri, 8 Feb 2013 20:33:03 +0100
From:	Samuel Ortiz <sameo@...ux.intel.com>
To:	wei_wang@...lsil.com.cn
Cc:	cjb@...top.org, devel@...uxdriverproject.org,
	linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
	gregkh@...uxfoundation.org, adam.lee@...onical.com,
	rogerable@...ltek.com
Subject: Re: [PATCH] mfd:rtsx: Fix issue that booting OS with SD card inserted

Hi Wei,

On Fri, Feb 08, 2013 at 03:24:27PM +0800, wei_wang@...lsil.com.cn wrote:
> From: Wei WANG <wei_wang@...lsil.com.cn>
> 
> Realtek card reader supports both SD and MS card. According to the
> settings of rtsx MFD driver, SD host will be probed before MS host.
> If we boot/reboot Linux with SD card inserted, the resetting flow of SD
> card will succeed, and the following resetting flow of MS is sure to fail.
> Then MS upper-level driver will ask rtsx driver to turn power off. This
> request leads to the result that the following SD commands fail and SD card
> can't be accessed again.
> 
> In this commit, Realtek's SD and MS host driver will check whether the card
> that upper driver requesting is the one existing in the slot. If not, Realtek's
> host driver will refuse the operation to make sure the exlusive accessing
> at the same time.
> 
> Signed-off-by: Wei WANG <wei_wang@...lsil.com.cn>
> ---
>  drivers/memstick/host/rtsx_pci_ms.c |    7 +++++++
>  drivers/mfd/rtsx_pcr.c              |   30 ++++++++++++++++++++++++++++++
>  drivers/mmc/host/rtsx_pci_sdmmc.c   |   18 ++++++++++++++++++
>  include/linux/mfd/rtsx_pci.h        |    2 ++
>  4 files changed, 57 insertions(+)
Patch applied, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
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