Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1831725ybv; Sat, 8 Feb 2020 06:59:38 -0800 (PST) X-Google-Smtp-Source: APXvYqz30kUnzPZpfrfyybi6+b+bW9AVmyBG+5UQDB6TULJHXMakfxlJqAHY910LYavyJIDERZqk X-Received: by 2002:a05:6830:1d59:: with SMTP id p25mr3784943oth.308.1581173978603; Sat, 08 Feb 2020 06:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581173978; cv=none; d=google.com; s=arc-20160816; b=jmSUh2ZRh3EU1jBWYKPrq7UfqKGHCqDH5nXlTHUE2tkKUiiz1+1HGgZUQl00miG4iu CRG4MqmR2TXzExJG9QLpw5YMDxteJGYMxY1qACFwrMvtT2NsNwxCYXUAmue5Ne7avUvJ UcclIJ7u8Kox95TQXQ4fsrM3kS85ZFiPDioDDmZUGc5uqnVfwtymxoPnZrMpReBpOpox I2hrwjwCSCa09SxrS1TyEeb9We/8/NuWVYkOUwNNSbCM0NxbStBM0ogV4rH7HDQvPWhW Z066SEVX6Bj/YSEswzfCzyc5wAFj5UUax1Y+Wf8laaCzb/guAN52n86pduV2stvZWC4W Craw== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=z+bHDK/OgXX0ICgmHOqmI5/dhK4MO31Yr7nu5rQQ+6U=; b=RYIbjTzPoTN8kV9FCs1MgjqNhM8rIq4I1URV5hrjR5r8CT3fmQq/eZVEbzkkhk0hRr 9bb7QFMtKlBbkDJnWk/M7c8Zr1uvrcZnghIyKV8ELj+hfwvjatoyBxWo/ueKkkKcJylL wD65ssXJOkgP3uAqkE07Wn14/ia7KLGJoy6Uro5qM2C2gTNwwW8weZ3vLKHXd3xdv2Iq 9/xmt7ZRgUkZBUhg6NaXuKwEy6gh0aou+Gt4Vl9PU0DU6kMx/UfS/5uOHtZiu8goa6ED Pd3H5RyAjotuKQ4rFYprj1xMN7bHPbcYXt17XmEbpjbZlfGtek7+rdDIBX1LBeDhtHWt t3LQ== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si4985897oiy.254.2020.02.08.06.59.27; Sat, 08 Feb 2020 06:59:38 -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; 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 S1727604AbgBHO6d (ORCPT + 99 others); Sat, 8 Feb 2020 09:58:33 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:42048 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727379AbgBHO6K (ORCPT ); Sat, 8 Feb 2020 09:58:10 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1j0RYc-0003Bz-BR; Sat, 08 Feb 2020 15:58:06 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id E4B601C1F87; Sat, 8 Feb 2020 15:58:05 +0100 (CET) Date: Sat, 08 Feb 2020 14:58:05 -0000 From: "tip-bot2 for Zenghui Yu" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/urgent] irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL Cc: Zenghui Yu , Marc Zyngier , x86 , LKML In-Reply-To: <20191202071021.1251-1-yuzenghui@huawei.com> References: <20191202071021.1251-1-yuzenghui@huawei.com> MIME-Version: 1.0 Message-ID: <158117388570.411.1371363012639946024.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 107945227ac5d4c37911c7841b27c64b489ce9a9 Gitweb: https://git.kernel.org/tip/107945227ac5d4c37911c7841b27c64b489ce9a9 Author: Zenghui Yu AuthorDate: Mon, 02 Dec 2019 15:10:21 +08:00 Committer: Marc Zyngier CommitterDate: Mon, 03 Feb 2020 10:04:19 irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL It looks like an obvious mistake to use its_mapc_cmd descriptor when building the INVALL command block. It so far worked by luck because both its_mapc_cmd.col and its_invall_cmd.col sit at the same offset of the ITS command descriptor, but we should not rely on it. Fixes: cc2d3216f53c ("irqchip: GICv3: ITS command queue") Signed-off-by: Zenghui Yu Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20191202071021.1251-1-yuzenghui@huawei.com --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index f717586..e5a25d9 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -661,7 +661,7 @@ static struct its_collection *its_build_invall_cmd(struct its_node *its, struct its_cmd_desc *desc) { its_encode_cmd(cmd, GITS_CMD_INVALL); - its_encode_collection(cmd, desc->its_mapc_cmd.col->col_id); + its_encode_collection(cmd, desc->its_invall_cmd.col->col_id); its_fixup_cmd(cmd);