Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1507831ybg; Tue, 2 Jun 2020 11:52:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx46uD1GTA8L86rfrNyk6Gs059Bv0hknHariSNNEoaMPNTrmW0ECm/PV5K2yg5XGyco3ml X-Received: by 2002:a05:6402:1d89:: with SMTP id dk9mr15604210edb.275.1591123979580; Tue, 02 Jun 2020 11:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591123979; cv=none; d=google.com; s=arc-20160816; b=TKkyd2iBIkRozoeNEPjddGYGH2EBnXjzlI8vq2FhZ2Qd4PLDVS6EMP1GbsfGCrx4yf I1xLKH55p0F6MWrreo7thZ3KfRRVtojvOZMvU4+cmdKazasr8m7VnqcLSMau3Ty8kMCZ ernqp++aVGjqWRve89lYDYidstbzUnnAoJBjGi4bP5C5K9O3M4IOYyOmtyD5FS08dZVG XJN6UGFu11ts06s4NkSrZTYWOv6H7xCJk3TYa+DUBMgzevj3E8LwHFDwZAjzKCgGQSiA 8/WsLDCfPdCSmLjQV5MMaoTGAoJntU/CO53BNwq4hQZfSO38ghUW8RzkUzaGacT08rXX hxKQ== 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:message-id:date :thread-index:thread-topic:subject:cc:to:from:ironport-sdr :dkim-signature; bh=8HyrvPEKZAYGjGOm7LvhNTWe+Tf0b/dodVyIfLJ4I6I=; b=0+3UY1ndm/e5XIjpu1geAMYjcEQ9egsR8MUT2OVyqj1HW5XE33XSZiViOU9qTJ9z+l T+/5iSWRQT3BheVbV++vWfrf13yKnNoscWzDK+H2UEQKo9yTjoeXmyTeQgGpTqdJAdFm BPjLc5D+jjo60COshVfhULIuCpUgbpNAkUi3BbLDTuq4uk1iFwHP32ruxQX9pnc70WWQ WjTgTssxFyjL3u2pXPNe1fLVB1mNfUSUVtSjtKWnnlpa8KhqnGczTEOTmOfSqTcayiEZ Pcjq2VwHXVmprQUFpuDKl2BSG0ZayMSMI9qqQ5+D+pTSrG2SJwuOSdvp9EH48orMMvb9 gcwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=mgonyhk6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id md12si1810325ejb.431.2020.06.02.11.52.35; Tue, 02 Jun 2020 11:52:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=mgonyhk6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728170AbgFBSsC (ORCPT + 99 others); Tue, 2 Jun 2020 14:48:02 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:46749 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbgFBSsC (ORCPT ); Tue, 2 Jun 2020 14:48:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591123681; x=1622659681; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=8HyrvPEKZAYGjGOm7LvhNTWe+Tf0b/dodVyIfLJ4I6I=; b=mgonyhk62NuoAj4F08qVZq8A+HW7DCooy+VJlEdidEe2/IEIWkUL2YWw rN52UAtvFmKjjGgIOoAQLfsBb4x9CjgjR1upAwJCmST/FDQ4WqpNKV8t3 slKKOilguQdDex7p2PduMyg5es1oMoWGkebthh4I0JuHNrpBgmNkPJv7X c=; IronPort-SDR: QJfZSCVcZfsbttFlBBTLTcNw0ehZp55Rdo8SfyH135HPAUoWGsFV/8eJydrETl16XKM0xcwnRM BQyXL/geWspw== X-IronPort-AV: E=Sophos;i="5.73,465,1583193600"; d="scan'208";a="47942813" Received: from sea32-co-svc-lb4-vlan2.sea.corp.amazon.com (HELO email-inbound-relay-1a-807d4a99.us-east-1.amazon.com) ([10.47.23.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 02 Jun 2020 18:47:59 +0000 Received: from EX13MTAUWA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1a-807d4a99.us-east-1.amazon.com (Postfix) with ESMTPS id F0B44A29DC; Tue, 2 Jun 2020 18:47:55 +0000 (UTC) Received: from EX13D21UWA001.ant.amazon.com (10.43.160.154) by EX13MTAUWA001.ant.amazon.com (10.43.160.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 2 Jun 2020 18:47:55 +0000 Received: from EX13D02UWC004.ant.amazon.com (10.43.162.236) by EX13D21UWA001.ant.amazon.com (10.43.160.154) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 2 Jun 2020 18:47:54 +0000 Received: from EX13D02UWC004.ant.amazon.com ([10.43.162.236]) by EX13D02UWC004.ant.amazon.com ([10.43.162.236]) with mapi id 15.00.1497.006; Tue, 2 Jun 2020 18:47:54 +0000 From: "Saidi, Ali" To: "Herrenschmidt, Benjamin" , "maz@kernel.org" CC: "tglx@linutronix.de" , "jason@lakedaemon.net" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "Woodhouse, David" , "Zilberman, Zeev" , "Machulsky, Zorik" Subject: Re: [PATCH] irqchip/gic-v3-its: Don't try to move a disabled irq Thread-Topic: [PATCH] irqchip/gic-v3-its: Don't try to move a disabled irq Thread-Index: AQHWOQ5TGxQQg3bj90ySVk+Lagzw+A== Date: Tue, 2 Jun 2020 18:47:54 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.160.48] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQrvu79PbiA1LzMxLzIwLCA5OjQwIFBNLCAiSGVycmVuc2NobWlkdCwgQmVuamFtaW4iIDxiZW5o QGFtYXpvbi5jb20+IHdyb3RlOg0KDQogICAgT24gU3VuLCAyMDIwLTA1LTMxIGF0IDEyOjA5ICsw MTAwLCBNYXJjIFp5bmdpZXIgd3JvdGU6DQogICAgPiANCiAgICA+IA0KICAgID4gPiBOb3QgZ3Jl YXQgaW5kZWVkLiBCdXQgdGhpcyBpcyBub3QsIGFzIGZhciBhcyBJIGNhbiB0ZWxsLCBhIEdJQw0K ICAgID4gPiBkcml2ZXIgcHJvYmxlbS4NCiAgICA+ID4gDQogICAgPiA+IFRoZSBzZW1hbnRpYyBv ZiBhY3RpdmF0ZS9kZWFjdGl2YXRlICh3aGljaCBtYXBzIHRvIHN0YXJ0ZWQvc2h1dGRvd24NCiAg ICA+ID4gaW4gdGhlIElSUSBjb2RlKSBpcyB0aGF0IHRoZSBIVyByZXNvdXJjZXMgZm9yIGEgZ2l2 ZW4gaW50ZXJydXB0IGFyZQ0KICAgID4gPiBvbmx5IGNvbW1pdHRlZCB3aGVuIHRoZSBpbnRlcnJ1 cHQgaXMgYWN0aXZhdGVkLiBUcnlpbmcgdG8gcGVyZm9ybQ0KICAgID4gPiBhY3Rp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