[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230626110026.65825-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 26 Jun 2023 14:00:22 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org, acpica-devel@...ts.linuxfoundation.org
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>,
Andi Shyti <andi.shyti@...nel.org>,
Robert Moore <robert.moore@...el.com>,
Michael Walle <michael@...le.cc>
Subject: [PATCH v3 0/4] ACPI: platform: Fix SMB0001 enumeration on Kontron devices
After switching i2c-scmi driver to be a plaform one, it stopped
being enumerated on number of Kontron platforms, because it's
listed in the forbidden_id_list.
To resolve the situation, add a flag and count the resources of the
forbiden device. If the count is non-zero, the device must be skipped.
Changelog v3:
- provided completely rewritten solution (Rafael)
- due to above, added two new patches
- due to above, dropped tags from patch 3
Andy Shevchenko (4):
ACPI: bus: Constify acpi_companion_match() returned value
ACPI: bus: Introduce acpi_match_acpi_device() helper
ACPI: platform: Ignore SMB0001 only when it has resources
ACPI: platform: Move SMB0001 HID to the header and reuse
drivers/acpi/acpi_platform.c | 31 +++++++++++++++++++++++++++----
drivers/acpi/bus.c | 21 ++++++++++++++-------
drivers/acpi/device_sysfs.c | 2 +-
drivers/acpi/internal.h | 2 +-
drivers/i2c/busses/i2c-scmi.c | 3 ---
include/acpi/acpi_drivers.h | 2 ++
include/linux/acpi.h | 9 +++++++++
7 files changed, 54 insertions(+), 16 deletions(-)
--
2.40.0.1.gaa8946217a0b
Powered by blists - more mailing lists