Thomas Gleixner e982ad82bd genirq/msi: Return MSI_XA_DOMAIN_SIZE as the maximum MSI index when no domain is present
On architectures such as s390 that do not use irq domains for MSI,
returning 0 as the maximum MSI index is a bit counter-productive,
as it indicates that no MSI can be allocated. Bad idea.

Instead, return the maximum we're willing to support in the MSI
backing store (MSI_XA_DOMAIN_SIZE), and let the arch code do its
usual thing.

Thanks to Matthew Rosato for fixing the fix.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[maz: commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/87fsdgzpqs.ffs@tglx
2022-12-16 14:04:04 +00:00
..
2022-12-13 15:47:48 -08:00
2022-12-13 19:29:45 -08:00
2022-12-02 11:25:00 +01:00
2022-12-12 15:19:38 -08:00
2022-12-14 12:20:00 -08:00
2022-12-13 14:05:39 -08:00
2022-12-13 19:29:45 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 15:47:48 -08:00
2022-12-14 12:20:00 -08:00
2022-12-15 18:01:16 -08:00
2022-08-29 19:47:03 -04:00
2022-09-26 10:13:13 -07:00
2022-12-02 13:04:39 -08:00
2022-12-13 19:29:45 -08:00
2022-11-15 00:42:02 -08:00
2022-11-15 00:42:02 -08:00
2022-12-14 12:20:00 -08:00
2022-06-29 13:07:16 +02:00
2022-12-14 12:20:00 -08:00
2022-10-10 12:49:34 -07:00
2022-02-25 09:36:06 +01:00
2022-12-13 19:29:45 -08:00
2022-08-06 16:38:17 -07:00