linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] ACPI: New helper function acpi_dev_get_memory_resources() and a new ACPI ID
@ 2022-08-16 10:16 Heikki Krogerus
  2022-08-16 10:16 ` [PATCH 1/6] usb: typec: intel_pmc_mux: Add new ACPI ID for Meteor Lake IOM device Heikki Krogerus
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Heikki Krogerus @ 2022-08-16 10:16 UTC (permalink / raw)
  To: Rafael J. Wysocki, Greg Kroah-Hartman
  Cc: Utkarsh Patel, rajmohan.mani, linux-acpi, linux-kernel, linux-usb

Hi,

The helper function returns all memory resources described for a
device regardless of the ACPI descriptor type (as long as it's
memory), but the first patch introduces new ACPI ID for the IOM
controller on Intel Meteor Lake and also separately modifies the
driver so that it can get the memory resource from Address Space
Resource Descriptor.

An alternative would have been to introduce that helper function first
so we would not need to modify the driver when the new ID is added,
but then the helper would also need to be applied to the stable kernel
releases, and that does not feel necessary or appropriate in this
case, at least not IMO.

So that's why I'm proposing here that we first add the ID, and only
after that introduce the helper, and only for mainline. That way the
patch introducing the ID is the only that goes to the stable releases.

If that's okay, and these don't have any other problems, I assume it's
OK if Rafael takes all of these, including the ID?

thanks,

Heikki Krogerus (5):
  ACPI: resource: Filter out the non memory resources in is_memory()
  ACPI: resource: Add helper function acpi_dev_get_memory_resources()
  ACPI: APD: Use the helper acpi_dev_get_memory_resources()
  ACPI: LPSS: Use the helper acpi_dev_get_memory_resources()
  usb: typec: intel_pmc_mux: Use the helper
    acpi_dev_get_memory_resources()

Utkarsh Patel (1):
  usb: typec: intel_pmc_mux: Add new ACPI ID for Meteor Lake IOM device

 drivers/acpi/acpi_apd.c               |  9 +--------
 drivers/acpi/acpi_lpss.c              |  9 +--------
 drivers/acpi/resource.c               | 20 ++++++++++++++++++++
 drivers/usb/typec/mux/intel_pmc_mux.c | 12 ++++--------
 include/linux/acpi.h                  |  1 +
 5 files changed, 27 insertions(+), 24 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-08-20 11:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16 10:16 [PATCH 0/6] ACPI: New helper function acpi_dev_get_memory_resources() and a new ACPI ID Heikki Krogerus
2022-08-16 10:16 ` [PATCH 1/6] usb: typec: intel_pmc_mux: Add new ACPI ID for Meteor Lake IOM device Heikki Krogerus
2022-08-16 10:16 ` [PATCH 2/6] ACPI: resource: Filter out the non memory resources in is_memory() Heikki Krogerus
2022-08-16 10:16 ` [PATCH 3/6] ACPI: resource: Add helper function acpi_dev_get_memory_resources() Heikki Krogerus
2022-08-16 10:16 ` [PATCH 4/6] ACPI: APD: Use the helper acpi_dev_get_memory_resources() Heikki Krogerus
2022-08-16 10:16 ` [PATCH 5/6] ACPI: LPSS: " Heikki Krogerus
2022-08-16 10:16 ` [PATCH 6/6] usb: typec: intel_pmc_mux: " Heikki Krogerus
2022-08-18 19:12 ` [PATCH 0/6] ACPI: New helper function acpi_dev_get_memory_resources() and a new ACPI ID Greg Kroah-Hartman
2022-08-19 10:02   ` Heikki Krogerus
2022-08-19 10:33     ` Greg Kroah-Hartman
2022-08-20 11:25       ` Rafael J. Wysocki

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