From: "tiejun.chen" <tiejun.chen@windriver.com>
To: <benh@kernel.crashing.org>, <galak@kernel.crashing.org>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC][v0][PATCH 1/1] ppc64: ignore interrupts while offline
Date: Wed, 16 Jan 2013 11:00:52 +0800 [thread overview]
Message-ID: <50F617E4.4070109@windriver.com> (raw)
In-Reply-To: <1358245860-6546-1-git-send-email-tiejun.chen@windriver.com>
Please ignore this to check next version.
Tiejun
On 01/15/2013 06:31 PM, Tiejun Chen wrote:
> With lazy interrupt, some implementations of hotplug will
> get some interrupts even while offline, just ignore these.
>
> Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
> ---
> arch/powerpc/kernel/irq.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
> index 4f97fe3..dbca574 100644
> --- a/arch/powerpc/kernel/irq.c
> +++ b/arch/powerpc/kernel/irq.c
> @@ -144,6 +144,12 @@ notrace unsigned int __check_irq_replay(void)
> */
> unsigned char happened = local_paca->irq_happened;
>
> + /* Some implementations of hotplug will get some interrupts while
> + * offline, just ignore these.
> + */
> + if (cpu_is_offline(smp_processor_id()))
> + return 0;
> +
> /* Clear bit 0 which we wouldn't clear otherwise */
> local_paca->irq_happened &= ~PACA_IRQ_HARD_DIS;
>
>
WARNING: multiple messages have this Message-ID (diff)
From: "tiejun.chen" <tiejun.chen@windriver.com>
To: <benh@kernel.crashing.org>, <galak@kernel.crashing.org>
Cc: <linuxppc-dev@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [RFC][v0][PATCH 1/1] ppc64: ignore interrupts while offline
Date: Wed, 16 Jan 2013 11:00:52 +0800 [thread overview]
Message-ID: <50F617E4.4070109@windriver.com> (raw)
In-Reply-To: <1358245860-6546-1-git-send-email-tiejun.chen@windriver.com>
Please ignore this to check next version.
Tiejun
On 01/15/2013 06:31 PM, Tiejun Chen wrote:
> With lazy interrupt, some implementations of hotplug will
> get some interrupts even while offline, just ignore these.
>
> Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
> ---
> arch/powerpc/kernel/irq.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
> index 4f97fe3..dbca574 100644
> --- a/arch/powerpc/kernel/irq.c
> +++ b/arch/powerpc/kernel/irq.c
> @@ -144,6 +144,12 @@ notrace unsigned int __check_irq_replay(void)
> */
> unsigned char happened = local_paca->irq_happened;
>
> + /* Some implementations of hotplug will get some interrupts while
> + * offline, just ignore these.
> + */
> + if (cpu_is_offline(smp_processor_id()))
> + return 0;
> +
> /* Clear bit 0 which we wouldn't clear otherwise */
> local_paca->irq_happened &= ~PACA_IRQ_HARD_DIS;
>
>
next prev parent reply other threads:[~2013-01-16 3:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-15 10:31 [RFC][v0][PATCH 1/1] ppc64: ignore interrupts while offline Tiejun Chen
2013-01-15 10:31 ` Tiejun Chen
2013-01-16 3:00 ` tiejun.chen [this message]
2013-01-16 3:00 ` tiejun.chen
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=50F617E4.4070109@windriver.com \
--to=tiejun.chen@windriver.com \
--cc=benh@kernel.crashing.org \
--cc=galak@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
/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.