[RFC PATCH v1 11/21] swnode: Add support to create early during boot

Marc Zyngier maz at kernel.org
Tue Aug 8 06:06:08 PDT 2023


On Thu, 03 Aug 2023 18:59:06 +0100,
Sunil V L <sunilvl at ventanamicro.com> wrote:
> 
> From: Anup Patel <apatel at ventanamicro.com>
> 
> swnode framework can be used to create fwnode for interrupt
> controllers. This helps in keeping the drivers same for both
> DT and ACPI. To enable this, enhance the swnode framework so
> that it can be created early during boot without dependency
> on sysfs.

Where is this coming from? We have had common abstractions for
irqchips for a very long time. We can create fwnodes any odd way we
want, but why oh why should we invent another method for that?

We already have multiple architectures such as arm64 and loongarch
already having both DT and ACPI. Do they need another level of
"abstraction"? No. Why is risc-v so special?

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list