From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753507AbdFVRBw (ORCPT ); Thu, 22 Jun 2017 13:01:52 -0400 Received: from terminus.zytor.com ([65.50.211.136]:35291 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752138AbdFVRBv (ORCPT ); Thu, 22 Jun 2017 13:01:51 -0400 Date: Thu, 22 Jun 2017 09:57:12 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: axboe@kernel.dk, peterz@infradead.org, mingo@kernel.org, hpa@zytor.com, hch@lst.de, marc.zyngier@arm.com, tglx@linutronix.de, keith.busch@intel.com, linux-kernel@vger.kernel.org, mpe@ellerman.id.au Reply-To: mpe@ellerman.id.au, keith.busch@intel.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, hch@lst.de, marc.zyngier@arm.com, hpa@zytor.com, peterz@infradead.org, mingo@kernel.org, axboe@kernel.dk In-Reply-To: <20170619235445.681874648@linutronix.de> References: <20170619235445.681874648@linutronix.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] genirq/cpuhotplug: Set force affinity flag on hotplug migration Git-Commit-ID: 77f85e66aa8be563ae5804eebf74a78ec6ef5555 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 77f85e66aa8be563ae5804eebf74a78ec6ef5555 Gitweb: http://git.kernel.org/tip/77f85e66aa8be563ae5804eebf74a78ec6ef5555 Author: Thomas Gleixner AuthorDate: Tue, 20 Jun 2017 01:37:31 +0200 Committer: Thomas Gleixner CommitDate: Thu, 22 Jun 2017 18:21:18 +0200 genirq/cpuhotplug: Set force affinity flag on hotplug migration Set the force migration flag when migrating interrupts away from an outgoing CPU. Signed-off-by: Thomas Gleixner Cc: Jens Axboe Cc: Marc Zyngier Cc: Michael Ellerman Cc: Keith Busch Cc: Peter Zijlstra Cc: Christoph Hellwig Link: http://lkml.kernel.org/r/20170619235445.681874648@linutronix.de --- kernel/irq/cpuhotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/cpuhotplug.c b/kernel/irq/cpuhotplug.c index 6f46587..e09cb91 100644 --- a/kernel/irq/cpuhotplug.c +++ b/kernel/irq/cpuhotplug.c @@ -79,7 +79,7 @@ static bool migrate_one_irq(struct irq_desc *desc) brokeaff = true; } - err = irq_do_set_affinity(d, affinity, false); + err = irq_do_set_affinity(d, affinity, true); if (err) { pr_warn_ratelimited("IRQ%u: set affinity failed(%d).\n", d->irq, err);