* [PATCH v5 0/1] acpi: apei: Bug fix to enable APEI support for ARMv8
@ 2017-07-20 21:36 Loc Ho
2017-07-20 21:36 ` [PATCH v5 1/1] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ Loc Ho
0 siblings, 1 reply; 3+ messages in thread
From: Loc Ho @ 2017-07-20 21:36 UTC (permalink / raw)
To: linux-arm-kernel
v5:
* Remove the patch set 1/2 as it was accepted
* Fix the signed-off-by using Co-authored-by
v4:
* Update patch commit log for gsi.c patch
* Make change to be 80 column aligned
v3
* Change the title of the patch to reflect the patch
* Completely dropped the driver. Instead, move completely to the FW by
accessing the GIC directly.
* Fix a bug with function acpi_gsi_to_irq
* Enable APEI multiple GHES source to share an single external IRQ
v2
* Make all code more generic naming
* Still waiting for comment from Linaro folks on APEI
---
Loc Ho (1):
acpi: apei: Enable APEI multiple GHES source to share an single
external IRQ
drivers/acpi/apei/ghes.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH v5 1/1] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ
2017-07-20 21:36 [PATCH v5 0/1] acpi: apei: Bug fix to enable APEI support for ARMv8 Loc Ho
@ 2017-07-20 21:36 ` Loc Ho
2017-07-21 6:00 ` Borislav Petkov
0 siblings, 1 reply; 3+ messages in thread
From: Loc Ho @ 2017-07-20 21:36 UTC (permalink / raw)
To: linux-arm-kernel
This patch allows APEI generic error source table with external
IRQ to share a single IRQ.
Co-authored-by: Tuan Phan <tphan@apm.com>
Signed-off-by: Loc Ho <lho@apm.com>
---
drivers/acpi/apei/ghes.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index d661d45..eed09fc 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -1157,7 +1157,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.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-21 6:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 21:36 [PATCH v5 0/1] acpi: apei: Bug fix to enable APEI support for ARMv8 Loc Ho
2017-07-20 21:36 ` [PATCH v5 1/1] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ Loc Ho
2017-07-21 6:00 ` Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox