Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2009227ybi; Thu, 4 Jul 2019 03:39:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgQHP3n4O2QlYltBVLNzKVLgwq8ccLWix0T4HD0EZg8NNhorZ64a93f5Ab5liNIu8yP+y3 X-Received: by 2002:a17:902:8546:: with SMTP id d6mr47488281plo.207.1562236771136; Thu, 04 Jul 2019 03:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562236771; cv=none; d=google.com; s=arc-20160816; b=KEC0Z3D0JGOymDAmw8iJR5NuejfIEsioswzOyM5CTTHvLDJ6HKLPg3RH8t3/s6/kGk 4nwGw7xUOkssSi/0Q8ujUCcIo/YlfRdddRLysczNfp0NFLY4j9RT78SwM0mbgboZHICN gRdkxMMyoAC8xHZJ21jkIIp4XIgBd/Vkt0r1QCEjaXagJGTxMFGbvHwO5ABIQrF9tFb4 2JmOneSInnoT7pxNGfraiJP4FI/oPWSsWGgWfqrLCyaXRUAyJGEj/njOmwkJSO8yqbug wSHFATHsdJgFf0Y+IHr4Za4tRQRwt6V4asyqzLGUfQYd0qBdAXSuHrQLVErLKCwtJOsC w5Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=xCvCGwtX95qFHWhkAdmeugVBg4xpRyAdODhU5SpQ5wk=; b=j4sMr8A8zq3S9qBGGDb4JBzUVeWvqZ4sF/WaThyOPghp5F0/ubYEurTzwthpllcXu2 CjrHVWQqf3NvAKwwiltoDJ6esGrRNG85059BqjIRmcFCcOEtB7/VPCkwvqIF8gHFfWly /Vzr8FdH1uM3eVDskZLMLzTAYX4Xtw+wyHFqXl8ogpAjFQQpPBk65vdFZrfcLqkHZE7M AxTUT1ti/yxgRR9PQDjwyPihD2bQCbYTjvxnukygowXiAF/j/dO1N5Vn1Uqj4T/dSRZe xKm3FlTsU0oB4gQWTmiMxgddOpJM9+wnmV4tCpbkgud2Te3QrMidHL6MjJ9CFBt/itKM kuHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0818 header.b=kVdjzg7N; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector2-marvell-onmicrosoft-com header.b=aPsJJBA9; 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=marvell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si4938641pgp.326.2019.07.04.03.39.15; Thu, 04 Jul 2019 03:39:31 -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=@marvell.com header.s=pfpt0818 header.b=kVdjzg7N; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector2-marvell-onmicrosoft-com header.b=aPsJJBA9; 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=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727575AbfGDKh0 (ORCPT + 99 others); Thu, 4 Jul 2019 06:37:26 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:27396 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727385AbfGDKhZ (ORCPT ); Thu, 4 Jul 2019 06:37:25 -0400 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x64AZ41P026705; Thu, 4 Jul 2019 03:37:04 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=xCvCGwtX95qFHWhkAdmeugVBg4xpRyAdODhU5SpQ5wk=; b=kVdjzg7NiZP6ZKCxhaFd9FrvI5zypYyHsPG/jMicf3HVpt0YlrB1RKO8mEy/fAUkf4Xl p4IMkSfGceH13nyFldAWwiNjgLFqW2UkbEhye81eDPe/xEeXObs6+EgLUmhA/LB+lSgK vOe1sTmwHlznc2IKMbpdk8LfKFATxU6FJoGr1jfh+SbGEWMlBdKyvWJQsK6uwSstfP9z NbukgTZ/s7e0Q9b7cKgMwj5vxUg8fbeIIOTb6AhRMPYj9/JF/1hEFwuIjPdzUd9HZU7P i0EQ9nK/3pOW8qUk/mLfn0jFfjXNN6tqn/ZntOMaV214BHx/uJeIOWX7K04HyvTGRecX Qw== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2th9481k0y-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 04 Jul 2019 03:37:04 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 4 Jul 2019 03:37:02 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.57) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 4 Jul 2019 03:37:02 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xCvCGwtX95qFHWhkAdmeugVBg4xpRyAdODhU5SpQ5wk=; b=aPsJJBA97RwUllSG6ahDJ12vTpJg3lz/8O3OQBUu1S4enSmPfJ8yPLVErPtUFzNII94admA2F9vzfs/kKzvfU9AzhR13CO9lURkFgZAJJY6ua+riI5Y2sV05nzds1wwY8XmRdYSVRkuyrsODnxGgK7rgDjqDKpVTtIWh6TyVwRQ= Received: from MN2PR18MB3055.namprd18.prod.outlook.com (20.178.255.209) by MN2PR18MB2384.namprd18.prod.outlook.com (20.179.80.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.20; Thu, 4 Jul 2019 10:36:58 +0000 Received: from MN2PR18MB3055.namprd18.prod.outlook.com ([fe80::9574:8e34:cd99:788f]) by MN2PR18MB3055.namprd18.prod.outlook.com ([fe80::9574:8e34:cd99:788f%4]) with mapi id 15.20.2032.019; Thu, 4 Jul 2019 10:36:58 +0000 From: Shijith Thotton To: Julien Thierry , Thomas Gleixner CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Catalin Marinas , Will Deacon , "Jayachandran Chandrasekharan Nair" , Ganapatrao Kulkarni , Jan Glauber , Robert Richter Subject: Re: [PATCH] genirq: update irq stats from NMI handlers Thread-Topic: [PATCH] genirq: update irq stats from NMI handlers Thread-Index: AQHVMiAiVz/XkkYfRk2+vKGjBsT7x6a6C8+AgAA4f4A= Date: Thu, 4 Jul 2019 10:36:57 +0000 Message-ID: References: <1562214115-14022-1-git-send-email-sthotton@marvell.com> <6adfb296-50f1-9efb-0840-cc8732b8ebf9@arm.com> In-Reply-To: <6adfb296-50f1-9efb-0840-cc8732b8ebf9@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BY5PR13CA0005.namprd13.prod.outlook.com (2603:10b6:a03:180::18) To MN2PR18MB3055.namprd18.prod.outlook.com (2603:10b6:208:ff::17) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [199.233.59.128] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0fb5dc59-67b0-4a88-3526-08d7006b8a42 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR18MB2384; x-ms-traffictypediagnostic: MN2PR18MB2384: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 0088C92887 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(39850400004)(346002)(376002)(366004)(136003)(199004)(189003)(3846002)(4326008)(256004)(6116002)(6512007)(31686004)(486006)(11346002)(68736007)(66556008)(66476007)(66946007)(73956011)(64756008)(66446008)(6246003)(76176011)(186003)(478600001)(99286004)(229853002)(14444005)(25786009)(386003)(6506007)(53546011)(6486002)(14454004)(86362001)(31696002)(6436002)(2906002)(446003)(7736002)(305945005)(71200400001)(66066001)(71190400001)(81156014)(81166006)(8936002)(107886003)(8676002)(36756003)(102836004)(2616005)(476003)(316002)(5660300002)(54906003)(52116002)(26005)(110136005)(53936002)(15650500001);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR18MB2384;H:MN2PR18MB3055.namprd18.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 5ps7b0H6YW2eH3AS7qvZ2ypdGEuHYqzxFdU72yt15p6G21gmcmTLDLTpUx9JByRVc7WVNPya1HKy8k9eN15Ei56HiKQlsX1RuRM9uAeyH7ZXeNxKC9tm3+Dgi6SSqx1GQiNqFXorQccdIe1Rny+5bF25ifz4vhSbtvyWLh+AWNpItGe6qYuDpbeNVI+tRtT5qfg714Bdvi2H2H7L7d0XB3/cCzP/U3B0kkvUJ9uRoyA0WjyggT0t9XgHktPCxFgaC6FpWNRCjjpid3JsCnSYGKd3s9Nk5q7ZdtJRgHsGSUcWnr5gXPR8Fi9OVP74gz0un4cDRxCxGEmyCXQlw39mlq75LBzVdBXZkgQ7mecxQHb47arItOnlbx2vJ7rTSI7JrG11zYtGT7Hrs3ZhVFupyQOFa8iPYv4A7v+T98IGEfU= Content-Type: text/plain; charset="utf-8" Content-ID: <725FCB043436864D9D650E1D4405B889@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0fb5dc59-67b0-4a88-3526-08d7006b8a42 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2019 10:36:58.0468 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: sthotton@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2384 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-04_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpIaSBKdWxpZW4sDQoNCk9uIDcvNC8xOSAxMjoxMyBBTSwgSnVsaWVuIFRoaWVycnkgd3JvdGU6 DQo+IE9uIDA0LzA3LzIwMTkgMDU6MjIsIFNoaWppdGggVGhvdHRvbiB3cm90ZToNCj4+IFRoZSBO TUkgaGFuZGxlcnMgaGFuZGxlX3BlcmNwdV9kZXZpZF9mYXN0ZW9pX25taSgpIGFuZA0KPj4gaGFu ZGxlX2Zhc3Rlb2lfbm1pKCkgYWRkZWQgYnkgY29tbWl0IDJkY2YxZmJjYWQzNSAoImdlbmlycTog UHJvdmlkZSBOTUkNC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gICAgICAgIWlycV9zZXR0aW5nc19pc19wZXJfY3B1KGRlc2MpKQ0KKyAgICAgICAgICAgIWly cV9zZXR0aW5nc19pc19wZXJfY3B1KGRlc2MpICYmDQorICAgICAgICAgICAhaXJxX2lzX25taShk ZXNjKSkNCiAgICAgICAgICAgICByZXR1cm4gZGVzYy0+dG90X2NvdW50Ow0KDQogICAgICAgICBm b3JfZWFjaF9wb3NzaWJsZV9jcHUoY3B1KQ0KDQoNClRob21hcywNClBsZWFzZSBzdWdnZXN0IGEg YmV0dGVyIHdheSBpZiBhbnkuDQoNClRoYW5rcywNClNoaWppdGgNCg==