linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/8] ACPI overlays
@ 2016-07-08 16:13 Octavian Purdila
  2016-07-08 16:13 ` [PATCH v7 1/8] Documentation: acpi: add SSDT overlays documentation Octavian Purdila
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Octavian Purdila @ 2016-07-08 16:13 UTC (permalink / raw)
  To: Rafael J . Wysocki
  Cc: linux-acpi, linux-efi, linux-i2c, linux-spi, linux-kernel,
	leonard.crestez, Octavian Purdila

This patch set enables custom ACPI board configuration by adding
mechanisms in the Linux kernel for loading user defined SSDTs.

Currently it is possible to load SSDT overlays using the upgrade
initrd mechanism introduced in 4.7. This patch series adds support for
two more methods:

* From an EFI variable

 This is the preferred method, when EFI is supported on the platform,
 because it allows a persistent, OS independent way of storing and
 updating the user defined SSDTs. There is also work underway to
 implement EFI support for loading user defined SSDTs and using this
 method will make it easier to convert to the EFI loading mechanism
 when that will arrive.

* From userspace via configfs

 This is useful when we want to defer the operation to userspace for
 platform detection, loading the SSDTs from a custom partition, etc.

Changes from v6:

 * make acpi_table_events_fn static, fix (c) year and fix a typo

Changes from v5:

* EFI: enable duplicate detection to avoid firmware bugs that returns the
same variable over and over again; this requires pushing the entry
allocation back into efivar_ssdt_iter() and creating a temporary list
that is iterated over in efivar_ssdt_load()

* EFI: marked efivar_ssdt with __initdata

Octavian Purdila (8):
  Documentation: acpi: add SSDT overlays documentation
  acpi: fix enumeration (visited) flags for bus rescans
  acpi: add support for ACPI reconfiguration notifiers
  i2c: add support for ACPI reconfigure notifications
  spi: add support for ACPI reconfigure notifications
  efi: load SSTDs from EFI variables
  acpi: add support for configfs
  acpi: add support for loading SSDTs via configfs

 Documentation/ABI/testing/configfs-acpi |  36 +++++
 Documentation/acpi/ssdt-overlays.txt    | 172 ++++++++++++++++++++
 Documentation/kernel-parameters.txt     |   7 +
 MAINTAINERS                             |   1 +
 drivers/acpi/Kconfig                    |   8 +
 drivers/acpi/Makefile                   |   1 +
 drivers/acpi/bus.c                      |   9 ++
 drivers/acpi/configfs.c                 | 267 ++++++++++++++++++++++++++++++++
 drivers/acpi/internal.h                 |   3 +
 drivers/acpi/scan.c                     |  81 +++++++++-
 drivers/acpi/sysfs.c                    |   6 +-
 drivers/firmware/efi/efi.c              |  96 ++++++++++++
 drivers/i2c/i2c-core.c                  | 175 ++++++++++++++++-----
 drivers/spi/spi.c                       | 100 +++++++++++-
 include/linux/acpi.h                    |  36 +++++
 15 files changed, 942 insertions(+), 56 deletions(-)
 create mode 100644 Documentation/ABI/testing/configfs-acpi
 create mode 100644 Documentation/acpi/ssdt-overlays.txt
 create mode 100644 drivers/acpi/configfs.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-07-08 16:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-08 16:13 [PATCH v7 0/8] ACPI overlays Octavian Purdila
2016-07-08 16:13 ` [PATCH v7 1/8] Documentation: acpi: add SSDT overlays documentation Octavian Purdila
2016-07-08 16:13 ` [PATCH v7 2/8] acpi: fix enumeration (visited) flags for bus rescans Octavian Purdila
2016-07-08 16:13 ` [PATCH v7 3/8] acpi: add support for ACPI reconfiguration notifiers Octavian Purdila
2016-07-08 16:13 ` [PATCH v7 4/8] i2c: add support for ACPI reconfigure notifications Octavian Purdila
2016-07-08 16:13 ` [PATCH v7 5/8] spi: " Octavian Purdila
2016-07-08 16:13 ` [PATCH v7 6/8] efi: load SSTDs from EFI variables Octavian Purdila
2016-07-08 16:13 ` [PATCH v7 7/8] acpi: add support for configfs Octavian Purdila
2016-07-08 16:13 ` [PATCH v7 8/8] acpi: add support for loading SSDTs via configfs Octavian Purdila

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).