Thread (6 messages) 6 messages, 5 authors, 2024-08-29

Re: [PATCH v3] ACPI: introduce acpi_arch_init

From: Hanjun Guo <guohanjun@huawei.com>
Date: 2024-08-08 09:44:37
Also in: linux-acpi

On 2024/8/8 17:00, Miao Wang via B4 Relay wrote:
From: Miao Wang <redacted>

To avoid arch-specific code in general ACPI initialization flow,
we introduce a weak symbol acpi_arch_init. Currently, arm64 can
utillize this to insert its specific flow. In the future,
other architectures can also have chance to define their own
arch-specific acpi initialization process if necessary.

Signed-off-by: Miao Wang <redacted>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Sudeep Holla <redacted>
---
Changes from v1
- Change acpi_arch_init from a static inline stub to a weak function
   according to Haijun Guo's advice
---
Changes from v2:
- Add __init attribute to the weak acpi_arch_init stub
- Link to v2: https://lore.kernel.org/r/20240807-intro-acpi-arch-init-v2-1-9231e23a7721@gmail.com (local)
Thanks for the quick update,

Acked-by: Hanjun Guo <guohanjun@huawei.com>

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