Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1159762pxb; Sat, 17 Apr 2021 08:21:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaJ8lWnwYEUpOwSlnJrGtLzB8io7jvMLFAGohoM9rvJCcd4N36Ei1EPMp40wEyHOjvqFgZ X-Received: by 2002:a17:906:170d:: with SMTP id c13mr13185693eje.491.1618672884383; Sat, 17 Apr 2021 08:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618672884; cv=none; d=google.com; s=arc-20160816; b=Nd1H8WGN85zryRZA5jnSLYUDiLj+sqn9nCqCY7CYrE4G7JU6S5PLiHkvsMuOKF6F8N ZC4ZtjkeP7UKs5ANtyKHKVd4ZDjmQkXAitB3bMgfxeGZoMGctQ2NmftNGvLCHB864MZN hGNe+804ATOxl2AwpNwFVqj3bvOg9WcxrhgusdnMjXvOgqgeWDoooG5DVTEElpovT5QP dB4QeqWH++nIP3ep1bEa0SZujV8dYgw35yMXkqgwYF65Np4XBScQqnzfYy5tDkJ+J/b/ FadQWwMAkR5GTuzs/AwFcVv1QCThyNP/NH7MiWBR00xrWfF4pmE8X94c4GDjU+m35XoI 43Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=8/9IDQAKsRrLFs1NEihps02AQsMlg20g5E4aKOfWDYs=; b=n+oo2pvWQVWt6K68JhYjQ5cw8kduQaNKU+AubfObZFUs14h48RWUGCcnlc7xmPZEYH Egniw/HxmNhnlmAvIRdhzDBg6p7oolyp3Fu9gdGCvhuNNFlHNY9H4iXJ8GCaVMX+szsE v6hAfgWZFFF49E7s0is1zvkuvmi7255XQIBQn5tp6JYNLecuZsXl0d7UEpnm4C3HZbpN H4RHA9f5ztqOQD8hJ11OSFvRhWByb5Fdw9N1rVC/DlFSsxOr0NhXGuhjI+7ZJx3GwzOM N2kXnl+Zb/Dosp/Zarz0mhXvt1pWpYJnWgt1WqyYwtwqLC2OpKIs6o9e2+fRNyQWzvkq T7zA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u18si1272898ejf.448.2021.04.17.08.20.59; Sat, 17 Apr 2021 08:21:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236541AbhDQPUT (ORCPT + 99 others); Sat, 17 Apr 2021 11:20:19 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:56964 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236287AbhDQPUR (ORCPT ); Sat, 17 Apr 2021 11:20:17 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lXmjS-00HG9v-O3; Sat, 17 Apr 2021 17:19:38 +0200 Date: Sat, 17 Apr 2021 17:19:38 +0200 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Rob Herring , Marek Behun , Gregory Clement , Sebastian Hesselbarth , linux-arm-kernel , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , PCI Subject: Re: [PATCH] arm64: dts: marvell: armada-37xx: Set linux,pci-domain to zero Message-ID: References: <20210412123936.25555-1-pali@kernel.org> <20210415083640.ntg6kv6ayppxldgd@pali> <20210415104537.403de52e@thinkpad> <20210417144953.pznysgn5rdraxggx@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210417144953.pznysgn5rdraxggx@pali> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Currently this code is implemented in pci_bus_find_domain_nr() function. > IIRC domain number is 16bit integer, so plain bitmap would consume 8 kB > of memory. I'm not sure if it is fine or some other tree-based structure > for allocated domain numbers is needed. Hi Pali Have a look at lib/idr.c Andrew