Re: [PATCH] ACPI/sbshc: Add 5us delay to fix SBS hang on MacBook

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

 



On 30/04/15 04:21, Chris Bainbridge wrote:

Supporting _OSI("Darwin") caused the MacBook firmware to expose the SBS,
resulting in intermittent hangs of several minutes on boot, and failure
to detect or report the battery. Fix this by adding a 5us delay to the
start of each SMBUS transaction. This timing is the result of
experimentation - hangs were observed with 3us but never with 5us.

G'day Chris,

Using 4.1-rc3 (whatever git head was from a couple of days ago) I've still been seeing ACPI lockups on my Macbook Pro (11,1). It appears to take a couple of suspend/resume cycles but seems to happen within 24 hours of booting whereas before this patch it was easy to hit.

As a test (and I do wonder if it'll lock up after I press send on this E-mail) I upped the delay to 10us and I've now been up for 1 day, 17:23 with the battery still responding to polling.

To make it easier to reproduce, I've been running a script that polls the battery every 60 seconds.

I figure I'll let it go for another couple of days, but I wanted to put this out there in case anyone else is seeing lockups after a longer period of uptime. The symptoms are the ACPI command just hangs as does 'cat /sys/class/power_supply/BAT0/status'. From there I can't suspend as the tasks can't be frozen and I just end up hard booting the machine.

I've removed Len & Rafael from the cc.

Regards,
Brad
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux