All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Yang Yingliang <yangyingliang@huawei.com>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Jiang Liu <jiang.liu@linux.intel.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Marc Zyngier <marc.zyngier@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	Hanjun Guo <hanjun.guo@linaro.org>
Subject: Re: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu
Date: Tue, 13 Oct 2015 20:28:24 +0100	[thread overview]
Message-ID: <20151013192824.GL32532@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1443087135-17044-4-git-send-email-yangyingliang@huawei.com>

On Thu, Sep 24, 2015 at 05:32:15PM +0800, Yang Yingliang wrote:
> When cpu is disabled, all irqs will be migratged to another cpu.
> In some cases, a new affinity is different, the old affinity need
> to be updated and if irq_set_affinity's return value is IRQ_SET_MASK_OK_DONE,
> the old affinity can not be updated. Fix it by using irq_do_set_affinity.
> 
> And migrating interrupts is a core code matter, so use the generic
> function irq_migrate_all_off_this_cpu() to migrate interrupts in
> kernel/irq/migration.c.

Please can you put this patch in the patch system so I don't forget it
(it's taken tglx prompting and quite a long time to find this in my
mailbox already.)

See http:/www.arm.linux.org.uk/developer/patches/

Thanks.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

WARNING: multiple messages have this Message-ID (diff)
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu
Date: Tue, 13 Oct 2015 20:28:24 +0100	[thread overview]
Message-ID: <20151013192824.GL32532@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1443087135-17044-4-git-send-email-yangyingliang@huawei.com>

On Thu, Sep 24, 2015 at 05:32:15PM +0800, Yang Yingliang wrote:
> When cpu is disabled, all irqs will be migratged to another cpu.
> In some cases, a new affinity is different, the old affinity need
> to be updated and if irq_set_affinity's return value is IRQ_SET_MASK_OK_DONE,
> the old affinity can not be updated. Fix it by using irq_do_set_affinity.
> 
> And migrating interrupts is a core code matter, so use the generic
> function irq_migrate_all_off_this_cpu() to migrate interrupts in
> kernel/irq/migration.c.

Please can you put this patch in the patch system so I don't forget it
(it's taken tglx prompting and quite a long time to find this in my
mailbox already.)

See http:/www.arm.linux.org.uk/developer/patches/

Thanks.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

  reply	other threads:[~2015-10-13 19:28 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24  9:32 [RFC PATCH v6 0/3] arm/arm64: fix a migrating irq bug when hotplug cpu Yang Yingliang
2015-09-24  9:32 ` Yang Yingliang
2015-09-24  9:32 ` [RFC PATCH v6 1/3] genirq: introduce CONFIG_GENERIC_IRQ_MIGRATION and kernel/irq/cpuhotplug.c Yang Yingliang
2015-09-24  9:32   ` Yang Yingliang
2015-10-01 14:18   ` [tip:irq/core] genirq: Introduce generic irq migration for cpu hotunplug tip-bot for Yang Yingliang
2015-10-01 14:24     ` Thomas Gleixner
2015-10-01 14:24       ` Thomas Gleixner
2015-10-01 14:47       ` Catalin Marinas
2015-10-01 14:47         ` Catalin Marinas
2015-09-24  9:32 ` [RFC PATCH v6 2/3] arm64: fix a migrating irq bug when hotplug cpu Yang Yingliang
2015-09-24  9:32   ` Yang Yingliang
2015-10-09 16:55   ` Catalin Marinas
2015-10-09 16:55     ` Catalin Marinas
2015-09-24  9:32 ` [RFC PATCH v6 3/3] arm: " Yang Yingliang
2015-09-24  9:32   ` Yang Yingliang
2015-10-13 19:28   ` Russell King - ARM Linux [this message]
2015-10-13 19:28     ` Russell King - ARM Linux
2015-10-21 11:47   ` Geert Uytterhoeven
2015-10-21 11:47     ` Geert Uytterhoeven
2015-10-21 11:47     ` Geert Uytterhoeven
2015-10-21 20:29     ` Russell King - ARM Linux
2015-10-21 20:29       ` Russell King - ARM Linux
2015-10-21 20:29       ` Russell King - ARM Linux
2015-10-22  9:26       ` Russell King - ARM Linux
2015-10-22  9:26         ` Russell King - ARM Linux
2015-10-22  9:26         ` Russell King - ARM Linux
2015-10-22  9:46         ` Geert Uytterhoeven
2015-10-22  9:46           ` Geert Uytterhoeven
2015-10-22  9:46           ` Geert Uytterhoeven
2015-10-22 10:56         ` Yang Yingliang
2015-10-22 10:56           ` Yang Yingliang
2015-10-22 10:56           ` Yang Yingliang
2015-10-22 11:13           ` Russell King - ARM Linux
2015-10-22 11:13             ` Russell King - ARM Linux
2015-10-22 11:13             ` Russell King - ARM Linux
2015-10-22 12:43             ` Thomas Gleixner
2015-10-22 12:43               ` Thomas Gleixner
2015-10-22 12:43               ` Thomas Gleixner
2015-10-22 16:34               ` Catalin Marinas
2015-10-22 16:34                 ` Catalin Marinas
2015-10-22 16:34                 ` Catalin Marinas
2015-12-15  6:59             ` Yang Yingliang
2015-12-15  6:59               ` Yang Yingliang
2015-12-15  6:59               ` Yang Yingliang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151013192824.GL32532@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=hanjun.guo@linaro.org \
    --cc=jiang.liu@linux.intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=tglx@linutronix.de \
    --cc=will.deacon@arm.com \
    --cc=yangyingliang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.