[PATCH 4/4] irqchip/armada-370-xp: Add support for 32 MSI interrupts on non-IPI platforms

Andrew Lunn andrew at lunn.ch
Wed Jun 19 10:21:53 PDT 2024


On Wed, Jun 19, 2024 at 04:11:34PM +0200, Marek Behún wrote:
> From: Pali Rohár <pali at kernel.org>
> 
> The doorbell interrupts have the following layout on IPI vs no-IPI
> platforms:
> 
>                     |  0...7  |  8...15  |       16...31       |
>   ------------------+---------+----------+---------------------+
>        IPI platform |   IPI   |   n/a    |         MSI         |
>   ------------------+---------+----------+---------------------+
>    non-IPI platform |                   MSI                    |
>   ------------------+------------------------------------------+
> 
> Currently the driver only allows for the upper 16...31 interrupts for
> MSI domain (i.e. the MSI domain has only 16 interrupts).
> 
> On platforms where IPI is not available, we can use whole 32 MSI
> interrupts.
> 
> Implement support also for the lower 16 MSI interrupts on non-IPI
> platforms.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> [ refactored, changed commit message ]
> Signed-off-by: Marek Behún <kabel at kernel.org>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the linux-arm-kernel mailing list