[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <871pj4h239.ffs@tglx>
Date: Sun, 01 Feb 2026 17:15:38 +0100
From: Thomas Gleixner <tglx@...nel.org>
To: Icenowy Zheng <zhengxingda@...as.ac.cn>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Huacai Chen <chenhuacai@...nel.org>, Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-mips@...r.kernel.org, Icenowy Zheng <zhengxingda@...as.ac.cn>
Subject: Re: [PATCH 3/8] irqchip/loongson-pch-lpc: extract non-ACPI-related
code from ACPI init
On Sat, Jan 31 2026 at 17:45, Icenowy Zheng wrote:
> A lot of code could be shared between the current ACPI init flow with
s/could/can/
> the possible OF init flow.
>
> Extract them to a dedicated function.
Extract it ..
> The re-ordering of parent IRQ acquisition requires the arch code to
of the parent interrupt acquisition ... the architecture code ...
> reserve legacy IRQs from dynirq allocation via
... legacy interrupts from the dynamic allocation by overriding
> overriding arch_dynirq_lower_bound(), otherwise the parent of LPC
of the LPC ... allocated at the ...
> irqchip will be allocated to the intended static range of LPC IRQs,
LPC interrupts
> which leads to allocation failure of LPC IRQs.
LPC interrupts
Please use proper sentences and words. This is not an acronym competition.
> +static int __init pch_lpc_init(phys_addr_t addr, unsigned long size,
> + struct fwnode_handle *irq_handle,
> + int parent_irq)
Avoid extensive line breaks. You have 100 characters
> +int __init pch_lpc_acpi_init(struct irq_domain *parent,
> + struct acpi_madt_lpc_pic *acpi_pchlpc)
Either avoid the line break or align the second line argument with the
first argument.
> +{
> + int parent_irq;
> + struct pch_lpc *priv;
> + struct irq_fwspec fwspec;
> + struct fwnode_handle *irq_handle;
> + int ret;
https://www.kernel.org/doc/html/latest/process/maintainer-tip.html#variable-declarations
Thanks,
tglx
Powered by blists - more mailing lists