From patchwork Sat Nov 7 00:51:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 7574251 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 39AF79F1C4 for ; Sat, 7 Nov 2015 00:54:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 67BC5206CE for ; Sat, 7 Nov 2015 00:54:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 90BA5206C0 for ; Sat, 7 Nov 2015 00:54:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZurkR-0003St-2Q; Sat, 07 Nov 2015 00:52:51 +0000 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZurkK-0003Om-GE for linux-arm-kernel@lists.infradead.org; Sat, 07 Nov 2015 00:52:46 +0000 Received: by padhx2 with SMTP id hx2so129880648pad.1 for ; Fri, 06 Nov 2015 16:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wMbluCHmladdHdILUUQcfSCykaWJzVhAiymTJC2Ar6I=; b=FU0JX/Bxfi5BUlbG8D7CusgIcGt75vNShIBExXsR2+e38Bl38eiN44NuB+qAnHlUoO S9fqpoixzMxDRoZqtdA7uh3R2nmO/7CfK+KZOvYmXE/KldZYl1V3Zvu41PI99LADBt1o KN4Wqfx78esJ4jiXX4Von8i/l3HkdA6EKx1wE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wMbluCHmladdHdILUUQcfSCykaWJzVhAiymTJC2Ar6I=; b=hhOPKu8lwTmyE1SYhmHOX3YznSlWQLhC0P8g0nOEYuHA16wUbsxnlZXgtzxZnJmRRq v8Mtlf6T2FTWEf1IovNLgAq7EGqQyfSaf5Vr/D5iSP+MxkVYFz7W0ceGINZap0H6bELq U5eTYduz2N+CLceDLfwVXyyNbe7aEzMPTN3lza6mCZQ448Sv7drqXuFeVLw3LOhduTXM DgOxh2HSwVFVnSwvyRyQGkV3j57cd811v0iw2N65Ds7Bu7SH1mGs2QSlatJDUreoPzgI mQCmRLRLLh65sHgvpBpLs4ByUQWQSxqkPGJMZwhSdJRkTFHQj+KI7KVNbnhJr9fpQG3o Y07w== X-Gm-Message-State: ALoCoQmzBHGo65HnJINHZ2ivWsEY7N+YClXfpE6vccCYnMdCmZR+T5WuQX28B+uCpcCiqy5gsxfs X-Received: by 10.67.4.229 with SMTP id ch5mr8661033pad.79.1446857543728; Fri, 06 Nov 2015 16:52:23 -0800 (PST) Received: from localhost.localdomain ([198.137.200.11]) by smtp.gmail.com with ESMTPSA id rc5sm2195318pbc.95.2015.11.06.16.52.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Nov 2015 16:52:22 -0800 (PST) From: Loc Ho To: dougthompson@xmission.com, bp@alien8.de, mchehab@osg.samsung.com, tomasz.nowicki@linaro.org, fu.wei@linaro.org, rjw@rjwysocki.net, lenb@kernel.org Subject: [PATCH v3 2/2] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ Date: Fri, 6 Nov 2015 17:51:59 -0700 Message-Id: <1446857519-5908-3-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1446857519-5908-1-git-send-email-lho@apm.com> References: <1446857519-5908-1-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151106_165244_773347_3D9864B3 X-CRM114-Status: GOOD ( 11.79 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jcm@redhat.com, patches@apm.com, linux-acpi@vger.kernel.org, Loc Ho , Tuan Phan , linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch allows APEI generic error source table with external IRQ to share an single IRQ. Signed-off-by: Tuan Phan Signed-off-by: Loc Ho --- drivers/acpi/apei/ghes.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index 3dd9c46..edc8a39 100644 --- a/drivers/acpi/apei/ghes.c +++ b/drivers/acpi/apei/ghes.c @@ -1011,7 +1011,7 @@ 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);