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

From: Thomas Gleixner
Date: Fri Jan 12 2018 - 14:36:03 EST


On Fri, 12 Jan 2018, Ming Lei wrote:

> From: Christoph Hellwig <hch@xxxxxx>
>
> 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@xxxxxxxxxx>
> Tested-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> Tested-by: Stefan Haberland <sth@xxxxxxxxxxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

FWIW, Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>