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

From: Marc Zyngier
Date: Tue Aug 08 2023 - 15:22:37 EST


On Thu, 03 Aug 2023 18:59:06 +0100,
Sunil V L <sunilvl@xxxxxxxxxxxxxxxx> wrote:
>
> From: Anup Patel <apatel@xxxxxxxxxxxxxxxx>
>
> 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.