Re: [PATCH 7/7] s390/pci: move MSI affinity flag initialization to boot time
| Newsgroups | org.kernel.vger.linux-s390 |
|---|---|
| Message-ID | <[email protected]> |
> The MSI_FLAG_NO_AFFINITY flag for FLOATING mode is currently set lazily > in zpci_create_parent_msi_domain(), which may be called multiple times > when discovering PCI buses. While setting the flag multiple times is a > no-op due to its idempotent nature, this is inefficient and unclear. > > Since irq_delivery mode is determined once at boot time and never > changes, move the flag initialization to zpci_irq_init() where it > belongs. This clarifies intent and avoids redundant repeated operations > on the shared structure. > > Signed-off-by: Tobias Schumacher <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=7