On Tue, Mar 19 2024 at 20:46, Tianyang Zhang wrote:
From: Baoqi Zhang <zhangbaoqi@xxxxxxxxxxx>Please don't use 'This patch'. We already know that this is a patch.
This patch remove the fixed mapping between the LS7A interrupt source
See Documentation/process/
and the HT interrupt vector, and replaced it with a dynamicallyYou explain the WHAT, but you really need to explain the WHY.
allocated approach.
We introduce a mapping table in struct pch_pic, where each interrupts/We introduce/Introduce/ See documentation.
source will allocate an index as a 'hwirq' from the table in the orderThis Signed-off-by chain is wrong.
of application and set table value as interrupt source number. This hwirq
will be configured as its vector in the HT interrupt controller. For an
interrupt source, the validity period of the obtained hwirq will last until
the system reset.
This will be more conducive to fully utilizing existing vectors to
support more devices.
Signed-off-by: Baoqi Zhang <zhangbaoqi@xxxxxxxxxxx>
Signed-off-by: Biao Dong <dongbiao@xxxxxxxxxxx>
Signed-off-by: Tianyang Zhang <zhangtianyang@xxxxxxxxxxx>
Please see Documentation/process/submitting-patches.rst
Thanks,
tglx