Re: [PATCH 1/2] genirq/affinity: assign vectors to all possible CPUs

Thomas Gleixner
2018-01-12T19:35:55Z

On Fri, 12 Jan 2018, Ming Lei wrote:

> From: Christoph Hellwig <hch@lst.de>
>
> Currently we assign managed interrupt vectors to all present CPUs. This
> works fine for systems were we only online/offline CPUs. But in case of
> systems that support physical CPU hotplug (or the virtualized version of
> it) this means the additional CPUs covered for in the ACPI tables or on
> the command line are not catered for. To fix this we'd either need to
> introduce new hotplug CPU states just for this case, or we can start
> assining vectors to possible but not present CPUs.
>
> Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Tested-by: Stefan Haberland <sth@linux.vnet.ibm.com>
> Cc: linux-kernel@vger.kernel.org
> Cc: Thomas Gleixner <tglx@linutronix.de>

FWIW, Acked-by: Thomas Gleixner <tglx@linutronix.de>