Re: [PATCH] mmc: sdhci-pci: disable intel voltage switch if unsupported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adrian,

On Fri, Nov 16, 2018 at 04:01:36PM +0200, Adrian Hunter wrote:
> On 16/11/18 11:50 AM, Adrian Hunter wrote:
> > On 16/11/18 11:37 AM, Anisse Astier wrote:
> >> Hi Adrian, 
> >>
> >> On Thu, Nov 08, 2018 at 05:43:32PM +0000, Hunter, Adrian wrote:
> >>> [snip]
> >>> I found some time today.  It seems that the ACPI _PS3 method is failing to save the tuning value.
> >>> That results in a CRC error, but the driver does not recover very gracefully.
> >>>
> >>> I will look at making a patch for the driver recovery, but also add some diagnostics prints to the ACPI DSDT to try to figure out what is going wrong there.
> >>>
> >>>
> >>
> >> Have you had the time to look at what diagnostics could be added ?
> > 
> > I have a patch, but I am still testing it.
> > 
> 
> Please try the attached patch

> From 5c33302367e7852aa0a723e311b1749bea59f055 Mon Sep 17 00:00:00 2001
> From: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> Date: Fri, 16 Nov 2018 14:02:12 +0200
> Subject: [PATCH] mmc: sdhci-pci: Workaround GLK firmware failing to restore
>  the tuning value
> 
> GLK firmware can indicate that the tuning value will be restored after
> runtime suspend, but not actually do that. Add a workaround that detects
> such cases, and lets the driver do re-tuning instead.
> 

This looks like it solves the issue. Please find the boot log here:

https://anisse.astier.eu/static/dmesg-sdhci-glk-workaround.txt.xz

We still have I/O errors I don't understand, but no more long CQE
timeouts.

Please tell me if you'd like me to do any other test.

Regards,

Anisse





[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux