From: Loc Ho <lho@apm.com> To: bp@alien8.de, dougthompson@xmission.com, mchehab@osg.samsung.com, tomasz.nowicki@linaro.org, fu.wei@linaro.org, rjw@rjwysocki.net, lenb@kernel.org Cc: linux-edac@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, patches@apm.com, Loc Ho <lho@apm.com>, Tuan Phan <tphan@apm.com> Subject: [PATCH v4 2/2] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ Date: Wed, 20 Jan 2016 17:17:39 -0700 [thread overview] Message-ID: <1453335459-3617-3-git-send-email-lho@apm.com> (raw) In-Reply-To: <1453335459-3617-1-git-send-email-lho@apm.com> This patch allows APEI generic error source table with external IRQ to share an single IRQ. Signed-off-by: Tuan Phan <tphan@apm.com> Signed-off-by: Loc Ho <lho@apm.com> --- drivers/acpi/apei/ghes.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index 3dd9c46..76146c8 100644 --- a/drivers/acpi/apei/ghes.c +++ b/drivers/acpi/apei/ghes.c @@ -1011,7 +1011,8 @@ static int ghes_probe(struct platform_device *ghes_dev) generic->header.source_id); goto err_edac_unreg; } - rc = request_irq(ghes->irq, ghes_irq_func, 0, "GHES IRQ", ghes); + rc = request_irq(ghes->irq, ghes_irq_func, IRQF_SHARED, + "GHES IRQ", ghes); if (rc) { pr_err(GHES_PFX "Failed to register IRQ for generic hardware error source: %d\n", generic->header.source_id); -- 1.7.1
WARNING: multiple messages have this Message-ID (diff)
From: lho@apm.com (Loc Ho) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 2/2] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ Date: Wed, 20 Jan 2016 17:17:39 -0700 [thread overview] Message-ID: <1453335459-3617-3-git-send-email-lho@apm.com> (raw) In-Reply-To: <1453335459-3617-1-git-send-email-lho@apm.com> This patch allows APEI generic error source table with external IRQ to share an single IRQ. Signed-off-by: Tuan Phan <tphan@apm.com> Signed-off-by: Loc Ho <lho@apm.com> --- drivers/acpi/apei/ghes.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index 3dd9c46..76146c8 100644 --- a/drivers/acpi/apei/ghes.c +++ b/drivers/acpi/apei/ghes.c @@ -1011,7 +1011,8 @@ static int ghes_probe(struct platform_device *ghes_dev) generic->header.source_id); goto err_edac_unreg; } - rc = request_irq(ghes->irq, ghes_irq_func, 0, "GHES IRQ", ghes); + rc = request_irq(ghes->irq, ghes_irq_func, IRQF_SHARED, + "GHES IRQ", ghes); if (rc) { pr_err(GHES_PFX "Failed to register IRQ for generic hardware error source: %d\n", generic->header.source_id); -- 1.7.1
next prev parent reply other threads:[~2016-01-21 0:17 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-01-21 0:17 [PATCH v4 0/2] acpi: apei: Bug fix to enable APEI support for ARMv8 Loc Ho 2016-01-21 0:17 ` Loc Ho 2016-01-21 0:17 ` [PATCH v4 1/2] acpi: Fix proper return code for function acpi_gsi_to_irq Loc Ho 2016-01-21 0:17 ` Loc Ho 2016-01-25 21:23 ` Loc Ho 2016-01-25 21:23 ` Loc Ho [not found] ` <CAPw-ZTnm5F3Kt+_J6HoNCYbx8R7JVkME5yA9V-hAwRtr8ge9ZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2016-01-26 8:31 ` Marc Zyngier 2016-01-26 8:31 ` Marc Zyngier 2016-01-26 17:54 ` Loc Ho 2016-01-26 17:54 ` Loc Ho 2016-01-21 0:17 ` Loc Ho [this message] 2016-01-21 0:17 ` [PATCH v4 2/2] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ Loc Ho [not found] ` <1453335459-3617-3-git-send-email-lho-qTEPVZfXA3Y@public.gmane.org> 2016-01-25 21:25 ` Loc Ho 2016-01-25 21:25 ` Loc Ho 2016-01-25 21:54 ` Borislav Petkov 2016-01-25 21:54 ` Borislav Petkov
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=1453335459-3617-3-git-send-email-lho@apm.com \ --to=lho@apm.com \ --cc=bp@alien8.de \ --cc=devicetree@vger.kernel.org \ --cc=dougthompson@xmission.com \ --cc=fu.wei@linaro.org \ --cc=lenb@kernel.org \ --cc=linux-acpi@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-edac@vger.kernel.org \ --cc=mchehab@osg.samsung.com \ --cc=patches@apm.com \ --cc=rjw@rjwysocki.net \ --cc=tomasz.nowicki@linaro.org \ --cc=tphan@apm.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: linkBe 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.