Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp893794yba; Thu, 18 Apr 2019 11:20:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwM896XkQXGurCip3l83gGsYUTxPeDMxgAKT0MARbJdCKEHrbXcJkaoDOrqj2s/GXh6uzgg X-Received: by 2002:a63:5248:: with SMTP id s8mr9536480pgl.27.1555611623855; Thu, 18 Apr 2019 11:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555611623; cv=none; d=google.com; s=arc-20160816; b=WtELOdIDxvYnodr8/31gAcucQXYG7E24BAaWaVTQH3QT73MmtOF8muHLaGH0X20lFL 1oVgbQzzM6n0DoeJ1+A66NpZniAFXV3wNGRrOyQOsEUoWFTavYllb0cn1PScfqiEScl5 jIumiZRvSbXJhsskgxdPivyQfAXWkJ+phhNSqVz5M2beBbtcd7S6vg4yxdivYYHtnJvZ LvJ7Xe+E99cY2sB5GjDGqThIlx7x/JtL3u8KTwyRObAjwGZinKs7uSHMEQFAFccRfWyC wilJpMMBbE/iB8rwDQdzZgTKHBJmjTv0IY6DmHm/KJfo210+v2GGXLu3CTKpuWvmqL0r QBCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ngh8WCATy4wf+okW6HwZkljGc/v+WSiT7l3I+JUo0+I=; b=L9oGOkRfwfPtNRHE597vRcBlFjPOecFtNHp77EzXvebK2wMVqVGUYNkuvBn3/5Ql1q yBE6UtoEqpz1j7WjtHLtIZXkREkNoGqSwze1MaKUMQ48v4aOHWitvGZ/n0vpCH8nUQSH v8CzBlrVc9SCPcZFq/hqrvYgqaxHBMryXYXdjMkDs0LQt1kPgtPSid/feVyuhYaG2+bW Lxef/Fylba5rDEpd/4juX07flIt/SAdYqTb0ii9Mo8bYXegIvu5am89Do52sd/hGSRlQ Sf9JqdNfMvXBpqoE7qiH077ZTcLpLKWWDZwvXamJSituWpZW8g1vikmtAB490zd9k14o NMDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rjYZS6pN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a8si2350140pgt.595.2019.04.18.11.20.09; Thu, 18 Apr 2019 11:20:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rjYZS6pN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404214AbfDRSL0 (ORCPT + 99 others); Thu, 18 Apr 2019 14:11:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:43662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390953AbfDRSLY (ORCPT ); Thu, 18 Apr 2019 14:11:24 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BB2B520675; Thu, 18 Apr 2019 18:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555611084; bh=vKW2ZYmrzwxvbkiRzw3k8QMWzApHq9ueCTomN9vrEvA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rjYZS6pNXgqh4vnHwJ0wvBJqjhVqbz3v+BHAGZ1EtfZrfzyehbOCFEVsUHfeigRb7 gCpol9zOwbZRkkilaWl1zEq2cIpAw3Wfr30h2gReQOtipnOvP9dlgG7o1bpv4FMQ6F 07Ji1fl1qWo+/i8NLVhbh5sKxCzQcl+J/PDdFFj0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Loic Pallardy , Fabien Dessenne , Marc Zyngier , Sasha Levin Subject: [PATCH 5.0 53/93] irqchip/stm32: Dont clear rising/falling config registers at init Date: Thu, 18 Apr 2019 19:57:31 +0200 Message-Id: <20190418160443.040864186@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418160436.781762249@linuxfoundation.org> References: <20190418160436.781762249@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 0dda09666f50eae9c5b794dd89b1fd8a8d89d714 ] Falling and rising configuration and status registers are not banked. As they are shared with M4 co-processor, they should not be cleared at probe time, else M4 co-processor configuration will be lost. Fixes: f9fc1745501e ("irqchip/stm32: Add host and driver data structures") Signed-off-by: Loic Pallardy Signed-off-by: Fabien Dessenne Signed-off-by: Marc Zyngier Signed-off-by: Sasha Levin --- drivers/irqchip/irq-stm32-exti.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c index a93296b9b45d..162a7f547f9e 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b/drivers/irqchip/irq-stm32-exti.c @@ -735,11 +735,6 @@ stm32_exti_chip_data *stm32_exti_chip_init(struct stm32_exti_host_data *h_data, */ writel_relaxed(0, base + stm32_bank->imr_ofst); writel_relaxed(0, base + stm32_bank->emr_ofst); - writel_relaxed(0, base + stm32_bank->rtsr_ofst); - writel_relaxed(0, base + stm32_bank->ftsr_ofst); - writel_relaxed(~0UL, base + stm32_bank->rpr_ofst); - if (stm32_bank->fpr_ofst != UNDEF_REG) - writel_relaxed(~0UL, base + stm32_bank->fpr_ofst); pr_info("%pOF: bank%d\n", h_data->node, bank_idx); -- 2.19.1