Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2077902ybf; Mon, 2 Mar 2020 01:22:35 -0800 (PST) X-Google-Smtp-Source: ADFU+vuQXIUZD6n+q028+ossCm+Y4CRpjZPOixXlE1irhTYStLhL1xMIzjwB99W4NQVpEh8ySKdL X-Received: by 2002:aca:1c0d:: with SMTP id c13mr936886oic.44.1583140955269; Mon, 02 Mar 2020 01:22:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1583140955; cv=pass; d=google.com; s=arc-20160816; b=Jp2b2ko4KiZHOuvMP+Of4sqmLN45zM+Mb+ZrA/3QUAPxUTYZPH1PghQkZLTdgJTlFL CRrr8CuvKqVwPL6VAeCyPGd2oXmmIJxCQUu/9o1ZtPLcUP6exMquJbJUyVMi4IYfwK78 B1xFpwCYtBDqnFO9xxHI6PFys4MgenuQM5QU6+9lsfXdbNVAS9G8UQNqw6omNkxQjZ92 NAB2cTWP6xfhXI300G5Ll1brXqvEyGS4roWQGsYZDixrFOV08ODyIwDNSmvzjnXMyzZY cUwx3WRkoobZ+7vBuJZRlE7ObopZIlqbMB8Uk6FIsiiQkDu+hG1mPpKbqAq6oJib/tNp EWkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=AESask4hxg+NxuR3iw0qgQCIFGwFhuPpQ7urhIoFkJg=; b=W93j8iyqjZOtFFiLwc3PU3yDHXtY7eTmml5yR0hTHN8p4j4RyABEkTAXjRrwfjbYPc KobC+YEnp7BvecESSNB5RJas+ydFcmzgsI0jqYsocyTRuL8IBRztVuy8p8xAxnipmq9u vwzGi3ddRjyjw9D4eFfaoyfgPJSg/PMn6lEBceFSFvoVt0IY1RHxspbzuX18TR2Yo7uH fLus8S0j1UAefcI1rOe55XytTfSxWBCODVX/zbw6CWV5N4QERFc3OdqJlIKb6Uou1/W8 TSq/MU/axJd2waNELZLzTQQWGNwV7HwJesMs4rMgXCX43gFbAAoRzVuWuGAZeuClg+dd LJQw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=N00SaeGu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si6006633ois.221.2020.03.02.01.22.23; Mon, 02 Mar 2020 01:22:35 -0800 (PST) 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=@nxp.com header.s=selector2 header.b=N00SaeGu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727361AbgCBJWN (ORCPT + 99 others); Mon, 2 Mar 2020 04:22:13 -0500 Received: from mail-eopbgr50067.outbound.protection.outlook.com ([40.107.5.67]:42244 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726382AbgCBJWM (ORCPT ); Mon, 2 Mar 2020 04:22:12 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lMCoyYXguIMARlkVAdlNbs5Gw7pD/MQRtyuQ7RhzQXevWtQzN52AsTJKbFkzE9PRqEm0TzG8Wd0lhm90ehyl/KiIAtmmvVjqANZMBg737vn55CYktfqLBSfO5oBDt3gdbPS/35YG1Cf7O8gdlgHEr9bIH1MeHePcLfM+y+CxOZ/hHGuLU6XCRtq4mswFQKNnFdSlYIpjMt7BRUqA/GkhROwI95MOS2vDkGNVreXxKxEWu8Yyg4+zSome5nIZFtI6MrKLHEmPinvwIoa/PwaJRde9Qffe20iYvzzRbaUNBFoa3682oEMh16tTFi5+mqlLR3hF8I+ugJhwP/E73chbGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AESask4hxg+NxuR3iw0qgQCIFGwFhuPpQ7urhIoFkJg=; b=VjmK2kMBh29twnLy8jLXGjFcKUlaTFk+dLhHb9ZQxdR1wtYsAwki6v9XWOnSxt93W8UqchRiyO3vv17W/ifXBbOLUQZsNZNEdowHF00izIvILYG1j+4sFN2pEnIB01E2ONvwaif3+A2wCyFiqbeMleRKYrgGd8xgnCL2wjA4SpRErW7DscpPN2pLP+yUzuJkY0I2KOD9P1yMkH65mkLRij/Rw/RSgnN8iwHn+56xlnrIAo+OehkQcCI7OXqX8wMLVPFUM6OKJjoA38VeE+kS4rsxE3Gt8w+rxJef0/mSBn5o8nS5krDOq9nOKlSEEP3ms7arz5hZXVKCjIE910xerQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AESask4hxg+NxuR3iw0qgQCIFGwFhuPpQ7urhIoFkJg=; b=N00SaeGusuyckZBlh0Z68xS98Ds4bK8mXsN99wOkixNiKyN5G50Ek5DZqqE5wB4w/KIy0nbsB/1LenTYWvu9CC+SJI+ra2O9FHH9SvYARlMv+fV6C+fn9YEM8sp9xqc82PlGY7rVASUuLHArIONY4JRR3xdEFJVXb8lI5Fnpcok= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by VI1PR0402MB3950.eurprd04.prod.outlook.com (52.134.18.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Mon, 2 Mar 2020 09:22:06 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::751e:7e8d:ed4:ef5f]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::751e:7e8d:ed4:ef5f%7]) with mapi id 15.20.2772.019; Mon, 2 Mar 2020 09:22:06 +0000 From: Horia Geanta To: =?iso-8859-2?Q?Andr=E9_Draszik?= , "linux-kernel@vger.kernel.org" CC: Aymen Sghaier , Herbert Xu , "David S. Miller" , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , dl-linux-imx , Dmitry Torokhov , Anson Huang , Robin Gong , "linux-crypto@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-input@vger.kernel.org" Subject: Re: [PATCH v2 6/6] Input: snvs_pwrkey - only IRQ_HANDLED for our own events Thread-Topic: [PATCH v2 6/6] Input: snvs_pwrkey - only IRQ_HANDLED for our own events Thread-Index: AQHV6/ZVd03O0pGg0Eazbugm7ITLfQ== Date: Mon, 2 Mar 2020 09:22:05 +0000 Message-ID: References: <20200225161201.1975-1-git@andred.net> <20200225161201.1975-6-git@andred.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=horia.geanta@nxp.com; x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: dc5c0d42-2b77-40b7-6b2b-08d7be8b2cf7 x-ms-traffictypediagnostic: VI1PR0402MB3950:|VI1PR0402MB3950: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 033054F29A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(396003)(136003)(346002)(366004)(376002)(189003)(199004)(55016002)(478600001)(44832011)(7416002)(33656002)(86362001)(71200400001)(52536014)(66946007)(76116006)(91956017)(66556008)(64756008)(9686003)(26005)(186003)(66476007)(66446008)(4326008)(6506007)(7696005)(53546011)(81166006)(81156014)(8676002)(8936002)(2906002)(5660300002)(54906003)(110136005)(4744005)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3950;H:VI1PR0402MB3485.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QKTz8HWUx6bn1kv6BfkBz/LOrHy8L6r+9vNWnnsNR9gMLn8BWZHeAfyh/iJ8OOXaRdP1oamsWmI3A6iHnfMhpq+JpR1fxzDIhJiE0S/pOxeR50zAJ1gV9PpGGq9jnX6w2n9MbeB2bMzPF8W/7gQs/5HE8ODgPDH+lX4qc157x/FNDe/3VWIgL2ADg3Dbgv8bxcv0/HBlEdfnZ6NmRc9l3WDNKLEl+yzuHTE1BjToBsYoBy7pLq1m/vjMdw+4/zX2g6zifcMN3SWIaxe2z73jhod5XN20kkjYNQavbzxw/bCjN/Bk69qVITrLnpi7udJn5DHYiqsudbLncFlILx2jVdC03B47EfLGV9x776nBDjsUGIruM4qtcqYTj9D4/jE4nsK1iXSlnwakilUxIKvmCn5ZkmsIj97pE3ERpyxExFul2ioLkgfvxfpgJCJE7EAt x-ms-exchange-antispam-messagedata: Pn7nSN/zmOBki6jqqdTydkSzKCcsxxUm4chNhqX0gxh2wKZaqVS2O3aJvBKJ8J0hc/dFTj/kIhOefZYVLGpH+ndr8N11Q1ySW5FoHU4SJyu3lsmiHznP6GmbJ/MPPFwOnifXHrgDpIM6fxI6QIIvEA== Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc5c0d42-2b77-40b7-6b2b-08d7be8b2cf7 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2020 09:22:05.8549 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6krFPgu6xFm7RKczQrMqcVtUWvBMH2Low4qZ4iiAtZnvs7+QGTyTpXtr+k2TZswDj4QJBIBHGtgMI9ZtamiqJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3950 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/25/2020 6:12 PM, Andr=E9 Draszik wrote:=0A= > The snvs_pwrkey shares the SNVS LPSR status register with the snvs_rtc.= =0A= > =0A= > This driver here should only return IRQ_HANDLED if the status register=0A= > indicates that the event we're handling in the irq handler was genuinely= =0A= > intended for this driver. Otheriwse the interrupt subsystem will=0A= > assume the interrupt was handled successfully even though it wasn't=0A= > at all.=0A= > =0A= > Signed-off-by: Andr=E9 Draszik =0A= > Cc: "Horia Geant=E3" =0A= > Cc: Aymen Sghaier =0A= > Cc: Herbert Xu =0A= > Cc: "David S. Miller" =0A= > Cc: Rob Herring =0A= > Cc: Mark Rutland =0A= > Cc: Shawn Guo =0A= > Cc: Sascha Hauer =0A= > Cc: Pengutronix Kernel Team =0A= > Cc: Fabio Estevam =0A= > Cc: NXP Linux Team =0A= > Cc: Dmitry Torokhov =0A= > Cc: Anson Huang =0A= > Cc: Robin Gong =0A= > Cc: linux-crypto@vger.kernel.org=0A= > Cc: devicetree@vger.kernel.org=0A= > Cc: linux-arm-kernel@lists.infradead.org=0A= > Cc: linux-input@vger.kernel.org=0A= For patches 2-6:=0A= Reviewed-by: Horia Geant=E3 =0A= =0A= Also imx8mn.dtsi and imx8mp.dtsi will have to be updated.=0A= =0A= Thanks,=0A= Horia=0A=