From: andreas.noever@gmail.com
To: rjw@rjwysocki.net
Cc: lenb@kernel.org, robert.moore@intel.com, lv.zheng@intel.com,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.or,
linux-pci@vger.kernel.org, bhelgaas@google.com,
matthew.garrett@nebula.com,
Andreas Noever <andreas.noever@gmail.com>
Subject: [PATCH v2 0/3] ACPI: Improve behaviour on Apple hardware
Date: Sat, 20 Sep 2014 13:19:44 +0200 [thread overview]
Message-ID: <cover.1411211725.git.andreas.noever@gmail.com> (raw)
From: Andreas Noever <andreas.noever@gmail.com>
This is a resend of Matthew's patches from https://lkml.org/lkml/2014/6/1/165
which are needed to fully support Thunderbolt on Apple hardware:
> Apple hardware behaves differently depending on whether or not the OS claims
> to be Darwin. Failing to report Darwin results in some hardware being
> disabled. However, claiming to be Darwin also alters the behaviour of
> battery reporting and PCI handling. These patches add support for reporting
> Darwin support and fixing up the behavioural quirks that are exposed as a
> result.
Without these patches the firmware will cut power to the controller after
suspend (at the latest) and the thunderbolt driver will fail.
I have reordered them such that the two battery fixes/quirks come before the
_OSI change that breaks battery reporting. I have also merged "ACPI: Don't call
PCI OSC on Apple hardware when claiming to be Darwin" into "ACPI: Support
_OSI("Darwin") correctly" to avoid (temporarily) breaking hotplug events and
modified the patch to not touch ACPICA, as requested by Rafael.
Matthew Garrett (3):
ACPI: Don't assume the existence of an SBS charger
ACPI: Disable smart battery manager on Apple
ACPI: Support _OSI("Darwin") correctly
drivers/acpi/osl.c | 10 +++++++
drivers/acpi/pci_root.c | 14 +++++++++
drivers/acpi/sbs.c | 80 +++++++++++++++++++++++++++++++++++++++----------
3 files changed, 89 insertions(+), 15 deletions(-)
--
2.1.0
next reply other threads:[~2014-09-20 11:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-20 11:19 andreas.noever [this message]
2014-09-20 11:19 ` [PATCH v2 1/3] ACPI: Don't assume the existence of an SBS charger andreas.noever
2014-09-20 11:19 ` [PATCH v2 2/3] ACPI: Disable smart battery manager on Apple andreas.noever
2014-09-20 11:19 ` [PATCH v2 3/3] ACPI: Support _OSI("Darwin") correctly andreas.noever
2014-09-21 0:22 ` [PATCH v2 0/3] ACPI: Improve behaviour on Apple hardware Rafael J. Wysocki
2014-09-25 23:45 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1411211725.git.andreas.noever@gmail.com \
--to=andreas.noever@gmail.com \
--cc=bhelgaas@google.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.or \
--cc=linux-pci@vger.kernel.org \
--cc=lv.zheng@intel.com \
--cc=matthew.garrett@nebula.com \
--cc=rjw@rjwysocki.net \
--cc=robert.moore@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).