Thread (200 messages) 200 messages, 10 authors, 2025-09-10

Re: [PATCH 05/33] ACPI / PPTT: Find cache level by cache-id

From: James Morse <james.morse@arm.com>
Date: 2025-08-28 15:57:53
Also in: linux-acpi, linux-arm-kernel, lkml

Hi Markus,

On 23/08/2025 13:14, Markus Elfring wrote:
quoted
+++ b/include/linux/acpi.h
quoted
@@ -221,6 +222,17 @@ void acpi_reserve_initial_tables (void);
 void acpi_table_init_complete (void);
 int acpi_table_init (void);
quoted
+DEFINE_FREE(acpi_table, struct acpi_table_header *, if (!IS_ERR(_T)) acpi_put_table(_T))
+
 int acpi_table_parse(char *id, acpi_tbl_table_handler handler);
…

How do you think about to offer the addition of such a special macro call
by another separate update step?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc2#n81
As it goes via the same tree I don't think there is a strong reason either way.

Dave points out on an earlier patch that the PPTT code doesn't care about the reference
counting anyway, so this stuff can go.


Thanks,

James
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help