Thread (46 messages) 46 messages, 7 authors, 2024-05-27

Re: [PATCH v5 03/17] ACPI: bus: Add acpi_riscv_init function

From: Sudeep Holla <hidden>
Date: 2024-05-02 10:12:50
Also in: linux-acpi, linux-pci, linux-riscv, linux-serial, lkml

On Thu, May 02, 2024 at 03:32:25PM +0530, Sunil V L wrote:
On Thu, May 02, 2024 at 12:24:14PM +0300, Andy Shevchenko wrote:
quoted
On Wed, May 01, 2024 at 05:47:28PM +0530, Sunil V L wrote:
quoted
Add a new function for RISC-V to do any architecture specific
initialization. This function will be used to create platform devices
like APLIC, PLIC, RISC-V IOMMU etc. This is similar to acpi_arm_init().
What is the special about this architecture that it requires a separate
initialization that is _not_ going to be in other cases?
Please, elaborate.
This init function will be used to create GSI mapping structures and in
future may be others like iommu. Like I mentioned, ARM already has
similar function acpi_arm_init(). So, it is not new right?
Just to add:

This is to initialise everything around all the arch specific tables
which you will not have on any other architectures. We could execute
on all architectures but the tables will never be found. The main point
is why do we want to do that if we can optimise and skip on all other
archs.

--
Regards,
Sudeep

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help