linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] arm64/PPTT ACPI 6.3 thread flag support
@ 2019-06-28 18:14 Jeremy Linton
  2019-06-28 18:14 ` [PATCH v3 1/2] ACPI/PPTT: Add support for ACPI 6.3 thread flag Jeremy Linton
  2019-06-28 18:14 ` [PATCH v3 2/2] arm64: topology: Use PPTT to determine if PE is a thread Jeremy Linton
  0 siblings, 2 replies; 9+ messages in thread
From: Jeremy Linton @ 2019-06-28 18:14 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-acpi, catalin.marinas, will.deacon, rjw, lenb,
	lorenzo.pieralisi, sudeep.holla, Jeremy Linton

ACPI 6.3 adds a flag to the CPU node to indicate whether
the given CPU is a thread. Add a function to return that
information for a given linux logical CPU and then utilize
it while building the arm64 topology.

v2->v3: Clarify and tweak the return from check_acpi_cpu_flag()
	Cache the PPTT table revision to avoid repeat
	      acpi_table_get/put calls in the case of
	      missing or old PPTT tables.

v1->v2:
	Return ENOENT instead on ENONET.

Jeremy Linton (2):
  ACPI/PPTT: Add support for ACPI 6.3 thread flag
  arm64: topology: Use PPTT to determine if PE is a thread

 arch/arm64/kernel/topology.c |  8 +++--
 drivers/acpi/pptt.c          | 62 +++++++++++++++++++++++++++++++++++-
 include/linux/acpi.h         |  5 +++
 3 files changed, 71 insertions(+), 4 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2019-07-12  7:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-28 18:14 [PATCH v3 0/2] arm64/PPTT ACPI 6.3 thread flag support Jeremy Linton
2019-06-28 18:14 ` [PATCH v3 1/2] ACPI/PPTT: Add support for ACPI 6.3 thread flag Jeremy Linton
2019-07-03  9:24   ` Rafael J. Wysocki
2019-07-03 15:11     ` Jeremy Linton
2019-07-03 21:57       ` Rafael J. Wysocki
2019-07-04  2:41         ` Jeremy Linton
2019-07-09  7:19           ` Rafael J. Wysocki
2019-07-12  7:21     ` John Garry
2019-06-28 18:14 ` [PATCH v3 2/2] arm64: topology: Use PPTT to determine if PE is a thread Jeremy Linton

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