Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4367871ybl; Tue, 21 Jan 2020 19:00:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyRkYkmK+//doapAa0p9j1PBc3nIl3igvwjxNyDRmt5Boo4TKqzrLYdYxc9nGE1crtk8I2X X-Received: by 2002:a05:6830:194:: with SMTP id q20mr6172502ota.92.1579662038434; Tue, 21 Jan 2020 19:00:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579662038; cv=none; d=google.com; s=arc-20160816; b=ial1EHso18gh/O7WUFz2cIuRBXAEwyGyUCQhCBEs4ubzAYPxjOiIVfBWiEzwwMFUHD 4m5yLqlj0824yjdTJjXvs5slg4Ti6puNSAtCO+hlmK+TCfloPxoWOL5/4aGfvEjLrlNC 00zL8KyPwuAdSJqDrbFD273fXSdTnMjZ3gNgMOoamabz1wL06FloAtK5et48qQGFhmWi LQ4YyLCyd7BLDjFUbNsvQt9wsASE53+UVyZ8pjIhaibRaEDb8NFeQSkWzSRfHwEqN+cH SSDM9UgetcmDnwN/QMyKILx0ZaEZDAKMOwaD6InpQvLWT/cW4E7LaQhrNGVCfByGn6G3 Ikaw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=OKpp0G+L9nstPX5PucjyKLo3+EcrTG3fomVr8O7HsT8=; b=k2nlx7vBd5QiGGC98/EBQHN3nvadpnmg2oFQ1J8b2b8eWa5cSMDzSZeHSqOEJZ4jg3 lySeZT+JM3gBSE54bqp0+rE0Q1cn8YoPKoZDIPw/VeRKojiCsz8an6adHNvA686uQj+E eFQQe2V3iiUYRDVk1rLQMx+TxUzOzZQRve3Cyc3Qd8g9O1R/BmRbAZGkW2b2am1xEpkK EDC3kdhdVb6KMZfJNtMxzAMgJd6KZyrfJ4N7PlvIO5JZJ7qvaGbllJ/WYpw41d3Bdpvx UpVfCB9Cr9i6L23yqjtl/RlG5n14PFv5VpDcdNFQeAKDmB8kh3nPIVzG6aiPTgP6ad54 NM1g== 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 l14si20257390oic.222.2020.01.21.19.00.25; Tue, 21 Jan 2020 19:00: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 S1729014AbgAVC7c (ORCPT + 99 others); Tue, 21 Jan 2020 21:59:32 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:34514 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728779AbgAVC7c (ORCPT ); Tue, 21 Jan 2020 21:59:32 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id ADF7244081C22D3B539C; Wed, 22 Jan 2020 10:59:30 +0800 (CST) Received: from [127.0.0.1] (10.173.222.27) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Wed, 22 Jan 2020 10:59:21 +0800 Subject: Re: [PATCH v3 05/32] irqchip/gic-v4.1: VPE table (aka GICR_VPROPBASER) allocation To: Marc Zyngier , , CC: Eric Auger , James Morse , Julien Thierry , Suzuki K Poulose , Thomas Gleixner , Jason Cooper , Lorenzo Pieralisi , "Andrew Murray" , Robert Richter References: <20191224111055.11836-1-maz@kernel.org> <20191224111055.11836-6-maz@kernel.org> From: Zenghui Yu Message-ID: <1c278098-f365-2b50-ce60-b27faeef2e48@huawei.com> Date: Wed, 22 Jan 2020 10:59:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <20191224111055.11836-6-maz@kernel.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.173.222.27] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/12/24 19:10, Marc Zyngier wrote: > @@ -4147,6 +4453,8 @@ int __init its_init(struct fwnode_handle *handle, struct rdists *rdists, > bool has_v4 = false; > int err; > > + gic_rdists = rdists; > + > its_parent = parent_domain; > of_node = to_of_node(handle); > if (of_node) > @@ -4159,8 +4467,6 @@ int __init its_init(struct fwnode_handle *handle, struct rdists *rdists, > return -ENXIO; > } > > - gic_rdists = rdists; > - > err = allocate_lpi_tables(); > if (err) > return err; And shouldn't this be part of patch#2? (As the new ITS_MAX_VPEID_BITS would use gic_rdists in the allocation of ITS vPE table.) But I haven't tested the first two patches separately, I guess it may crash my box ;-) Thanks, Zenghui