From patchwork Mon Nov 12 03:20:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10678067 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 949A71709 for ; Mon, 12 Nov 2018 03:23:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 826A52A10F for ; Mon, 12 Nov 2018 03:23:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76BC32A125; Mon, 12 Nov 2018 03:23:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E16942A10F for ; Mon, 12 Nov 2018 03:23:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vriCenOS+pET7TxvYJiM5rW7ndbgTO32+vBqnBSEzuM=; b=hVlJHpFA0xBZz2 NAPtZlXWuORP47HCJeEq6SLFMGXMvz6cYC1jCCuUcSZHcGShbIWr/DQFufeTLe/QsRnmjO2xQuoeM 1FCyVieLxnoehVxHvvj6a0EW17LDhiyzF9KUMLlX1zgzEK/Fmre1Pw6/0zdaCxzQtg5uw5Uv8Gcf/ ++HFSI+iyALx7iwuoE8vTVelwQ33Ags59Gwox2OS3Vie3Z8+7TdlpvgLICBVHjVtOqwhvJMuGin1t fat46tWzV4bRLEE8mADiLOcr0Q53adWcUgluMLDWTvdcGIOczRdtylrN3BYe9HHZigIPeSmEvszUF NRwyeU5DwV7SX7povcyw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM2pC-0000Sv-6F; Mon, 12 Nov 2018 03:23:42 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM2n0-0006ku-TW for linux-arm-kernel@bombadil.infradead.org; Mon, 12 Nov 2018 03:21:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lt4vOoa5IQeY71aScK9LTTx0oQoJ6XnjVdiOq/9ThQU=; b=g/eb4NFlB+fwokt9Qff3F0UR5y 7qIKfWcN3cPkC3WYZeV1KXehReuMH+cmXAb+/+EQniIe1FgYUvI4eIlLTjjxMmXBUoE2SRPk8fOkh 30Dyzc8oy/OTo2NGx3ghchkfUl5XjgcW9JhjYqrrlk2iNdRMs4+yit++/3UqJCZ9r3Px8dkpUhUJ4 Oldjxty6ZOFwgLhJP+v3g+m4ijCdmDN6hjIgGD71SDxRTdBsfo6LKScs/WTWESpD/w0mzB2+tKf/N rJ6tg7t4tm4DBgGH2WpXCsvxwDryWyhsaB/S0sfdGtsKTgcHsmeSRe0nn7itANJjwkUgEWgwjLYM0 KR866pQg==; Received: from shell.v3.sk ([90.176.6.54]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM2mv-0005wA-OE for linux-arm-kernel@lists.infradead.org; Mon, 12 Nov 2018 03:21:25 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id AF1B2C6A29; Mon, 12 Nov 2018 04:21:17 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ULqfkiF9Ad_v; Mon, 12 Nov 2018 04:20:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 009E1C6A24; Mon, 12 Nov 2018 04:20:44 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0-3cuj2iekVB; Mon, 12 Nov 2018 04:20:40 +0100 (CET) Received: from belphegor.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id 5F56AC6A25; Mon, 12 Nov 2018 04:20:38 +0100 (CET) From: Lubomir Rintel To: Eric Miao , Haojian Zhuang Subject: [PATCH v3 10/18] irqchip/mmp: only touch the PJ4 & FIQ bits on enable/disable Date: Mon, 12 Nov 2018 04:20:19 +0100 Message-Id: <20181112032027.653931-11-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181112032027.653931-1-lkundrak@v3.sk> References: <20181112032027.653931-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181112_032121_862635_B09A3A1A X-CRM114-Status: GOOD ( 12.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lubomir Rintel , Robert Jarzmik , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP On an OLPC XO 1.75 machine, the "security processor" handles the GPIO 71 and 72 interrupts. Don't reset the "route to SP" bit (4). I'm just assuming the bit 4 is the "route to SP" bit -- it fixes the SP-based keyboard for me and defines ICU_INT_ROUTE_SP_IRQ to be 1 << 4. When asked for a data sheet, Marvell was not helpful. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- Changes since v1: - Adjusted wording & ack from Pavel drivers/irqchip/irq-mmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c index 25f32e1d7764..1ed38f9f1d0a 100644 --- a/drivers/irqchip/irq-mmp.c +++ b/drivers/irqchip/irq-mmp.c @@ -190,7 +190,7 @@ static const struct mmp_intc_conf mmp_conf = { static const struct mmp_intc_conf mmp2_conf = { .conf_enable = 0x20, .conf_disable = 0x0, - .conf_mask = 0x7f, + .conf_mask = 0x60, }; static void __exception_irq_entry mmp_handle_irq(struct pt_regs *regs)