Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp934869ybf; Fri, 28 Feb 2020 10:26:35 -0800 (PST) X-Google-Smtp-Source: APXvYqwFYi9qvk24NDG3yO7l/ppRwT32IS1eXgwd8AEad9T5aXj2DcJ0q/SkpVy21HxB1Mb5yn5v X-Received: by 2002:a9d:6a85:: with SMTP id l5mr4560209otq.231.1582914395804; Fri, 28 Feb 2020 10:26:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1582914395; cv=pass; d=google.com; s=arc-20160816; b=IN35o+/FO90aadXNq9N3D1EKy1Xw+tioHExjghuLs+LiQCXAwzSxskkj584Lf40uB7 SE7FlPBM6RNVOuEuDK1BI/3Wp28jPFwZhDCoryv6C4BPz+6/QltVWmun4niux0oqyFy8 HUaoJb/Xx48vXd46ZEXUDHRT/6Tpc6pRNIuVDBgmHwXBaZxlAlwRfT1FZAVdDVsV974+ ngfP/v9xhToPUIOT9hr1mZVeJrzJfyEwpgz6Lz3+BtHAQNGpZOcMHYg9F0nWkMj/xCOL NyV8AUgEPVAWpNvOfvdsMn2SLKN8cQRq2upr7zr7SHMDk9foH61NU73tjqwSEIEA6guQ vsdA== 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-id:wdcipoutbound:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature:ironport-sdr:dkim-signature; bh=gDOJg3A7/S7obzE9JKpXLVuAAYRHa3Dz86lLbasCzEE=; b=0RTEht8wgtl/gEgo56Iao3DMENT3p2d6Xjrefn5rKX4Th+/jYj88yrjqySYPA9kMzS ZTRbpdwHn0aJQ75w4uPsepH3gUiW89deSHkrjLdAGT//R3lGT/yFuuQ7B6M8cjESQ0mK 4gMIF+JWYyq4tDbOtIbwdKj/dhlCKsU1guuTWJ0tnMC2lBBTPuBux9xmqMhqmGckHPOd qQrEOohN2uUl764mARcNURv8M/ndYCetilKkHqOGwWfElqIWsIPfzyo6RujCE06geqOi byfvD4VOUOatE/+aFTV90qRBG8qr4P7WZhu95EYnXABQM6DJJlmT486w7nvldJJV4S28 QY3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=B+4FsAQ3; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=miUYkRtB; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a124si2189913oii.138.2020.02.28.10.26.23; Fri, 28 Feb 2020 10:26: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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=B+4FsAQ3; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=miUYkRtB; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726940AbgB1SZt (ORCPT + 99 others); Fri, 28 Feb 2020 13:25:49 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:37960 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgB1SZt (ORCPT ); Fri, 28 Feb 2020 13:25:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1582914349; x=1614450349; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=gDOJg3A7/S7obzE9JKpXLVuAAYRHa3Dz86lLbasCzEE=; b=B+4FsAQ3QZpyxcQJ+oxalZwMrHdFAS80AqH7XRn4NdwOY/LBH9jddbVA 8izMj+EVeaGzTREx9aYRsoCPbljOeqVqSoBlFEhZKoa8wix+VMrWI88fI wLDG3/4b5vfC2SUHofqes+poAGYMwO2FFLEKaiekgidgcDSNvmu94ssDD n2kw+zJ/3EyCPGjgKjVbb6s0kU7riKxIqcT5OpOpo0WgJM9uZseEjbLZm CTKVccYNmnSQJw61W2lYJwIw4M/Dg6F9G6ct6KqWuP9IQKsxmZHruUcul hzLr8AXac5FSPGwCW/X7rRfbg3mUp31dMHI+DGs+rQsoT2YrjOw1gXyJE w==; IronPort-SDR: 5roTzmTqdR8WomKqTIc1nyrie89w0N9j9D5y4//9WEMt0+uek+4dEKvE8aZwRU0hWQ5/qGK52a 0I28+qmDHS2/K54Lr3o8S2dwH/7I2daPtH0nczgvLTJxirs/wOTFGr3X5gxtoYUE/dKVmHSm+3 +0qjqFABaLIfF5Xh5RHg+90m9FuEKiHElvNRQ+DGizJ16GKSsMZvrSNxUQ+ceAx4D6eiNb4sEL poiEilx0GJRSC4XUSF/pRUI7tcfCwxzIRR7Nj7PUw2EJTzZPcwih5q6OyC6+aLN6n5YpsCxLde ndA= X-IronPort-AV: E=Sophos;i="5.70,497,1574092800"; d="scan'208";a="132469481" Received: from mail-dm6nam11lp2168.outbound.protection.outlook.com (HELO NAM11-DM6-obe.outbound.protection.outlook.com) ([104.47.57.168]) by ob1.hgst.iphmx.com with ESMTP; 29 Feb 2020 02:25:48 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bl/lyXbuI3g8Vzg4Axv9yOWKa89WOJbQfsEkAzfW46htGaYF4w4yGyG4+iQ7B8dRQk33qeAfCst2OoFRUpIbRCPD2l9/Yg3CK76zjjGTQwEnTn+QvS7Umm2PXdS4C4heNB3ak+qhowvY5MXQzOOaF7PX/Yrl3fl/WdaNsHslk385/smTPO5EwMIjmDeE+zY7L2yROHU2P4jR/DVGgbQs6IYoTA3aanIAWTbX4CGs5QSwTFJlbnayozwbipLUszYlpl3lQrGnDYgMANg414sR7yRF7PFH6PqM7tBJKNkzT5JqUk4vvLWz1USBsV0o47FdSh1kTKLeZZhJtY7/w6pmng== 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=gDOJg3A7/S7obzE9JKpXLVuAAYRHa3Dz86lLbasCzEE=; b=Bw3Nr/D0LXkkBC5IUxsGW099z1AKgvRCSboYZkfPJtiUXY2rCNBUSQA16B7qsNdShW2NQNUuykKaRS+uxOiY4UBGuI/uGX49u52rbni2iEwa3ZDlv8siybhgIk35qzJWDXCpKHSie3LrQCd2IRDQEsxykhF/UJuN2R5LMQI5nlQXQEov9dwsDhvXue3xv9D9EDjd60tAzNFksFmxF0P1P3oliR45UBmjEEdFtGgj8NwlhBAc4oTW5w6XvohJ/xVx6qerZv7WQtqur8gq5BaFV0OKPdbhd78OqkpGmp5dNu2Vs7DdsQ38z4kM5YjOF8GClZ4YQj40FlNNcesYvJtuYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gDOJg3A7/S7obzE9JKpXLVuAAYRHa3Dz86lLbasCzEE=; b=miUYkRtBAW+hUKlU3FiIB5Tk+dmwhll83pU6EZdHAGlS/1LljhIqgSkFuEY7nh4T1gUR4dK2nJUNCNqUssA/nSVg8C9aRVTWuv9aZ2aKiR3eLGX4z9vLLCUvORDUpTN8Lsdb5cOmaGWRmb4cYvoIbTmOJsTASnims3FE+SZxp2E= Received: from BYAPR04MB3990.namprd04.prod.outlook.com (2603:10b6:a02:ae::29) by BYAPR04MB5110.namprd04.prod.outlook.com (2603:10b6:a03:49::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Fri, 28 Feb 2020 18:25:46 +0000 Received: from BYAPR04MB3990.namprd04.prod.outlook.com ([fe80::ecfa:6b6b:1612:c46e]) by BYAPR04MB3990.namprd04.prod.outlook.com ([fe80::ecfa:6b6b:1612:c46e%6]) with mapi id 15.20.2772.012; Fri, 28 Feb 2020 18:25:46 +0000 From: Atish Patra To: "anup@brainfault.org" CC: "maz@kernel.org" , "linux-riscv@lists.infradead.org" , "palmer@dabbelt.com" , "paul.walmsley@sifive.com" , "linux-kernel@vger.kernel.org" , "jason@lakedaemon.net" , "tglx@linutronix.de" Subject: Re: [v2 PATCH] irqchip/sifive-plic: Add support for multiple PLICs Thread-Topic: [v2 PATCH] irqchip/sifive-plic: Add support for multiple PLICs Thread-Index: AQHV6Q3tn8hvurxLp0+iAdxe4kYX3KgwBu2AgADv8oA= Date: Fri, 28 Feb 2020 18:25:46 +0000 Message-ID: References: <20200221232246.9176-1-atish.patra@wdc.com> In-Reply-To: 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=Atish.Patra@wdc.com; x-originating-ip: [98.248.240.128] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d2614391-84a5-410b-995f-08d7bc7ba109 x-ms-traffictypediagnostic: BYAPR04MB5110: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0327618309 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(366004)(396003)(39860400002)(346002)(136003)(376002)(189003)(199004)(6506007)(6512007)(316002)(54906003)(6486002)(81166006)(81156014)(8676002)(66476007)(2906002)(26005)(966005)(66946007)(4326008)(5660300002)(478600001)(66556008)(6916009)(36756003)(76116006)(53546011)(186003)(64756008)(66446008)(2616005)(86362001)(71200400001)(8936002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR04MB5110;H:BYAPR04MB3990.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Rx+/iTPSFgTRA125mDdKZVVyAUk0dMHt61KVAN051u6oh48TLJfUovsxqxa7xGZBkrKXDxvg9513GXk12P0WuaqD1gy+PsbWwhNHNv/o+knc23cRMFZXbx+z8IeFNYG5rYqQzDfYKOcjVw7TuW+pv2Fa8Or94L4VZ/iCSzlG6U1Qrm5cQBDOZI5idO5dFINoro8YMTAigUK8mWt3YJTy8BLK3Tk3r92RQVRkvR25BzDz5RRriyEH1ImMEIS+IMVTHdSyaNz/obH/k2pjXBhfJPRqSPDPM1RUWrBnRll5+2PyUW2wlcEhQOmbH37Vknk6f6jGLIb+WbpWwptcvpmfErEuAHdPNvKjISJKLtD6yykaa+mRHSp77thIN7ZLTtUNGaxtRSTnInda0bhrsot5Y5XH0lzPSsCZ7HMSQnxEe/yZ3sNuY1v1mZfKVx8XadhnOzajXmIMqMQqFdgd6vhVFi7TSaFbhx1Z95H+T67l9rpIv2bZ7ZQOUsYRohsHqa9InvgR+dF0k8ixb+O5FFgUXw== x-ms-exchange-antispam-messagedata: S/gCSVTB5L7c+saEu7DZrjY5enk56tsRWjJOR0zUw2EirWPnjV741afatEoHDdh3YfvyAKjQSGID2zeKzWYqNTYlyGANWIzjVzYWhcVtSD4M8YQUqxtm/HhonOWJe1YRmSEqxphaFGet8TPnEJOfwQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <95727C7AAB793F4E98E6176351C1574E@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2614391-84a5-410b-995f-08d7bc7ba109 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2020 18:25:46.2925 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oJebpKIHMLSxJoTeyH1xDMLT+k7KWNRDe6CGBJKW2bvhO41rI5ovy7QWmEPPzcwJYqm69otPwGvTOseIsMHdtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5110 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIwLTAyLTI4IGF0IDA5OjM2ICswNTMwLCBBbnVwIFBhdGVsIHdyb3RlOg0KPiBP biBTYXQsIEZlYiAyMiwgMjAyMCBhdCA0OjUzIEFNIEF0aXNoIFBhdHJhIDxhdGlzaC5wYXRyYUB3 ZGMuY29tPg0KPiB3cm90ZToNCj4gPiBDdXJyZW50LCBQTElDIGRyaXZlciBjYW4gc3VwcG9ydCBv bmx5IDEgUExJQyBvbiB0aGUgYm9hcmQuIEhvd2V2ZXIsDQo+ID4gdGhlcmUgY2FuIGJlIG11bHRp cGxlIFBMSUNzIHByZXNlbnQgb24gYSB0d28gc29ja2V0IHN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o+ID4gDQo+ID4gLSAgICAgICBwbGljX3JlZ3MgPSBvZl9pb21hcChub2Rl LCAwKTsNCj4gPiAtICAgICAgIGlmIChXQVJOX09OKCFwbGljX3JlZ3MpKQ0KPiA+IC0gICAgICAg ICAgICAgICByZXR1cm4gLUVJTzsNCj4gPiArICAgICAgIG5vZGVfY3R4LT5yZWdzID0gb2ZfaW9t YXAobm9kZSwgMCk7DQo+ID4gKyAgICAgICBpZiAoV0FSTl9PTighbm9kZV9jdHgtPnJlZ3MpKSB7 DQo+ID4gKyAgICAgICAgICAgICAgIGVycm9yID0gLUVJTzsNCj4gPiArICAgICAgICAgICAgICAg Z290byBvdXRfZnJlZV9uY3R4Ow0KPiA+ICsgICAgICAgfQ0KPiA+IA0KPiA+ICAgICAgICAgZXJy b3IgPSAtRUlOVkFMOw0KPiA+ICAgICAgICAgb2ZfcHJvcGVydHlfcmVhZF91MzIobm9kZSwgInJp c2N2LG5kZXYiLCAmbnJfaXJxcyk7DQo+ID4gQEAgLTI4Nyw5ICszMDYsOSBAQCBzdGF0aWMgaW50 IF9faW5pdCBwbGljX2luaXQoc3RydWN0IGRldmljZV9ub2RlDQo+ID4gKm5vZGUsDQo+ID4gICAg ICAgICAgICAgICAgIGdvdG8gb3V0X2lvdW5tYXA7DQo+ID4gDQo+ID4gICAgICAgICBlcnJvciA9 IC1FTk9NRU07DQo+ID4gLSAgICAgICBwbGljX2lycWRvbWFpbiA9IGlycV9kb21haW5fYWRkX2xp bmVhcihub2RlLCBucl9pcnFzICsgMSwNCj4gPiAtICAgICAgICAgICAgICAgICAgICAgICAmcGxp Y19pcnFkb21haW5fb3BzLCBOVUxMKTsNCj4gPiAtICAgICAgIGlmIChXQVJOX09OKCFwbGljX2ly cWRvbWFpbikpDQo+ID4gKyAgICAgICBub2RlX2N0eC0+aXJxZG9tYWluID0gaXJxX2RvbWFpbl9h ZGRfbGluZWFyKG5vZGUsIG5yX2lycXMgKw0KPiA+IDEsDQo+ID4gKyAgICAgICAgICAgICAgICAg ICAgICAgJnBsaWNfaXJxZG9tYWluX29wcywgbm9kZV9jdHgpOw0KPiA+ICsgICAgICAgaWYgKFdB Uk5fT04oIW5vZGVfY3R4LT5pcnFkb21haW4pKQ0KPiA+ICAgICAgICAgICAgICAgICBnb3RvIG91 dF9pb3VubWFwOw0KPiA+IA0KPiA+ICAgICAgICAgZm9yIChpID0gMDsgaSA8IG5yX2NvbnRleHRz OyBpKyspIHsNCj4gPiBAQCAtMzM0LDEzICszNTMsMTQgQEAgc3RhdGljIGludCBfX2luaXQgcGxp Y19pbml0KHN0cnVjdA0KPiA+IGRldmljZV9ub2RlICpub2RlLA0KPiA+ICAgICAgICAgICAgICAg ICAgICAgICAgIGdvdG8gZG9uZTsNCj4gPiAgICAgICAgICAgICAgICAgfQ0KPiA+IA0KPiA+ICsg ICAgICAgICAgICAgICBjcHVtYXNrX3NldF9jcHUoY3B1LCAmbm9kZV9jdHgtPmxtYXNrKTsNCj4g PiAgICAgICAgICAgICAgICAgaGFuZGxlci0+cHJlc2VudCA9IHRydWU7DQo+ID4gICAgICAgICAg ICAgICAgIGhhbmRsZXItPmhhcnRfYmFzZSA9DQo+ID4gLSAgICAgICAgICAgICAgICAgICAgICAg cGxpY19yZWdzICsgQ09OVEVYVF9CQVNFICsgaSAqDQo+ID4gQ09OVEVYVF9QRVJfSEFSVDsNCj4g PiArICAgICAgICAgICAgICAgICAgICAgICBub2RlX2N0eC0+cmVncyArIENPTlRFWFRfQkFTRSAr IGkgKg0KPiA+IENPTlRFWFRfUEVSX0hBUlQ7DQo+ID4gICAgICAgICAgICAgICAgIHJhd19zcGlu X2xvY2tfaW5pdCgmaGFuZGxlci0+ZW5hYmxlX2xvY2spOw0KPiA+ICAgICAgICAgICAgICAgICBo YW5kbGVyLT5lbmFibGVfYmFzZSA9DQo+ID4gLSAgICAgICAgICAgICAgICAgICAgICAgcGxpY19y ZWdzICsgRU5BQkxFX0JBU0UgKyBpICoNCj4gPiBFTkFCTEVfUEVSX0hB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