Skip to contentSkip to conversation

acpi: apei: Bug fix to enable APEI support for ARMv8

PATCH Superseded Loc Ho 2 participants 3 messages Jul 20, 2017 – Jul 21, 2017

Subsystems (2)

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Loc Ho

author
#0 lore raw

v5 cover acpi: apei: Bug fix to enable APEI support for ARMv8

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(-)
Signature · 1 line
1.8.3.1
author
#1 lore raw

PATCH v5 1/1 acpi: apei: Enable APEI multiple GHES source to share an single external IRQ

This patch allows APEI generic error source table with external IRQ to share a single IRQ.

---
 drivers/acpi/apei/ghes.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/acpi/apei/ghes.c +2 -1
index d661d45..eed09fc 100644
@@ -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);
Signature · 1 line
1.8.3.1
#2 lore raw

Re: [PATCH v5 1/1] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ

Quoted 1 line · Loc Ho

This patch allows APEI generic error source table with external

"This patch" in a commit message is tautologically redundant.

Quoted 1 line

IRQ to share a single IRQ.

Because? More background please.

Quoted 1 line

I guess an invented tag is fine. What you can also do is say in free text in the commit message that Tuan has helped.

Quoted 2 lines

---

...

Signature · 5 lines
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imend?rffer, Jane Smithard, Graham Norton, HRB 21284 (AG N?rnberg)
--