Re: [RESEND PATCH v4 3/3] mmc: sdhci-of-arasan: add runtime pm support

2015-12-15 Thread Ulf Hansson
Hi Shawn, Sorry for the delay. [...] >> >> I think your are in right track, but unfortunate you still have some >> work to do. :-) >> >> You can't call sdhci_suspend_host() with a runtime suspended host. You >> will for example access sdhci internal registers, even-though the >> clock to the

RE: Does the Community use Coverity ?

2015-12-15 Thread Jeff Haran
>-Original Message- >From: kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org >[mailto:kernelnewbies- >bounces+jharan=bytemobile@kernelnewbies.org] On Behalf Of >pavi1729 >Sent: Monday, December 14, 2015 11:03 PM >To: kernelnewb...@kernelnewbies.org;

Re: Does the Community use Coverity ?

2015-12-15 Thread Saket Sinha
Hi pavi, Refer https://lwn.net/Articles/608992/ Regards, Saket Sinha On Tue, Dec 15, 2015 at 12:32 PM, pavi1729 wrote: > Hi, > May I know if the community uses the Coverity tool and, if yes where > can I find a repo of > Coverity scans of kernels and IGNORE LIST;

Re: [v4, 5/6] mmc: kconfig: select FSL_GUTS for MMC_SDHCI_OF_ESDHC

2015-12-15 Thread Ulf Hansson
[...] >> > --- a/drivers/mmc/host/Kconfig >> > +++ b/drivers/mmc/host/Kconfig >> > @@ -142,6 +142,8 @@ config MMC_SDHCI_OF_ESDHC >> > depends on MMC_SDHCI_PLTFM >> > depends on PPC || ARCH_MXC || ARCH_LAYERSCAPE >> > select MMC_SDHCI_IO_ACCESSORS >> > + select SOC_FSL

Re: [PATCH 1/2] mmc: core: enable CMD19 tuning for DDR50 mode

2015-12-15 Thread Jaehoon Chung
Hi, On 12/14/2015 07:56 PM, Carlo Caione wrote: > On Mon, Dec 14, 2015 at 10:24 AM, Yang, York wrote: >> Hi, Carlo >> >> I don't think so. You may check the 9faac7b95, there are two changes >> in sd.c and sdhc.c. >> Surely the change in sdhc.c will not

Re: [PATCH] mmc: core: Optimize boot time by detecting cards simultaneously

2015-12-15 Thread Jaehoon Chung
On 12/15/2015 12:50 AM, Ulf Hansson wrote: > On 1 December 2015 at 16:15, Ulf Hansson wrote: >> The mmc workqueue is an ordered workqueue, allowing only one work to >> execute per given time. As this workqueue is used for card detection, the >> conseqeunce is that cards

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-12-15 Thread Ulf Hansson
+Adrian On 8 November 2015 at 23:05, Denis Bychkov wrote: > The only started in 4.3 kernel (at least RC-5), 4.2.x does not have > this problem. The kernel panic happens immediately after the SDHC card > is inserted, reproducibility is 100%. If the system boots up with the >

Re: [PATCH] mmc: sdhci-acpi: set non-removable in ACPI table

2015-12-15 Thread Rafael J. Wysocki
On 12/15/2015 10:36 PM, Philip Elcan wrote: On 12/11/2015 05:53 PM, Rafael J. Wysocki wrote: On Friday, December 11, 2015 10:17:18 AM Adrian Hunter wrote: On 10/12/15 22:57, Philip Elcan wrote: On 12/07/2015 03:30 AM, Adrian Hunter wrote: On 04/12/15 17:40, Philip Elcan wrote: On 12/03/2015

RE: 1217:8520 [Dell Latitude E7450] O2 Micro, SD/MMC Card Reader doesn't work

2015-12-15 Thread Peter Guo
Hi Alex, Thanks for your Test, According to your info. I find the root cause of this issue is quirks SDHCI_QUIRK2_CLEAR_TRANSFERMODE_REG_BEFORE_CMD is not suitable for our host for all cases. Our host just want to clear SDHCI_TRANS_DMA bit only. to Adam, I will commit new patch this week,

Re: [RFC][PATCH v2] mmc_block: Allow more than 8 partitions per card

2015-12-15 Thread Ulf Hansson
On 22 October 2015 at 19:00, John Stultz wrote: > From: Colin Cross > > It is quite common for Android devices to utilize more > then 8 partitions on internal eMMC storage. > > The vanilla kernel can support this via > CONFIG_MMC_BLOCK_MINORS, however

Re: [RFC 0/6] mmc: Field Firmware Update

2015-12-15 Thread Ulf Hansson
+Chris, Baolin On 25 November 2015 at 09:56, Holger Schurig wrote: > We had to modify the last patch a bit and was able to update a Kingston > device from Firmware 0xba to 0xbd. But when doing this in user-space only is > now the way to go, I should probably not submit

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-12-15 Thread Adrian Hunter
On 15/12/15 18:01, Ulf Hansson wrote: > +Adrian > > On 8 November 2015 at 23:05, Denis Bychkov wrote: >> The only started in 4.3 kernel (at least RC-5), 4.2.x does not have >> this problem. The kernel panic happens immediately after the SDHC card >> is inserted,