Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1973346rwd; Mon, 15 May 2023 05:49:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4OkYWzwzIBxMCShdt5TjRCX0GfZgwi9j6HeWl0qiAqyWUjF/C8oVri/KCYNpRD5Fa2RXFX X-Received: by 2002:a05:6a20:7d81:b0:101:4e04:cefc with SMTP id v1-20020a056a207d8100b001014e04cefcmr28508178pzj.51.1684154959013; Mon, 15 May 2023 05:49:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684154959; cv=none; d=google.com; s=arc-20160816; b=XxVm+dWDkCHEO3h0446IMXaB2gAE32VU5Y0uqHeLpO/O1izhMb/uCa3vdRYiSdEeB9 uM/3ZXNlxOQ72HdaOdVJ4pRgLhZZ2+qJCoMLpRQJ7ZRQoXGt2o75+Zk2/xZU928Dbtq8 v0W1umY3mxRcv0cavp0NTf1gYoSZa1Mq/O5MIqMOIDCKEgllOeA8OUofMkzzbQvC37Nv VhUEyNAe+WxBT7Z7fbi9QfInLDVQdUqcDdnvMQr4QX5Q5ouqHr1ub+DuMiQ73D1pyBFq KfRKRHz2VUoWqmRXjudE8qpqS0+BXwET5YGLrYm/VW46NSCq3tuTwM9rLWXqYp1777v2 htJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=PUpS7IfaYBMw/Na50YIQI+ZiUTeZiqWo17nRMy+4hRM=; b=vPs3rJB110dkD4tCWZiGWsIrMApFPFv1qbpjNr4XPZMEctpLZRtwmGluIuQ4uXnznq FXGLJKDf5UpCRWA6IFE1/xGrP1gopwS7Y85mOyX8Kc12O7LQme7ItEb7dDOGJvVzbvni H6ywuh3VlDCmPFRvAHikMEJAu/xxcjpwSG0kD5QjYPdQ04FGLXDc4ZQlOe0pLwc8oLlp K0HzQDmuqj7o/D8jw0XsxG2fjzO7HnCFQcjpjcj/pFtH9x9u2v1dXdZ0dM4Ria9Yyuh9 Hv1VAgq6mbDICxCME+NwTZdnfwkmXj7uidQWmrHdW+6cqGt2PmA05c/DUjjWwMBnsl0X YPkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i5zKRopz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a63960a000000b005306fa3aed5si1770902pge.398.2023.05.15.05.49.04; Mon, 15 May 2023 05:49:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i5zKRopz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240917AbjEOMpB (ORCPT + 99 others); Mon, 15 May 2023 08:45:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232265AbjEOMpA (ORCPT ); Mon, 15 May 2023 08:45:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 100B9126 for ; Mon, 15 May 2023 05:44:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A18DA61DC0 for ; Mon, 15 May 2023 12:44:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16650C433EF; Mon, 15 May 2023 12:44:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684154698; bh=DRHn9Re9jSlJG7DRJXR2pd2aFGBh2DugcRsZNzO9o1U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=i5zKRopz/51Eaq3hJUF/zssHf3RVMzjE2WWoM4UizxtrGI8HvusLDvYhfAJEzro2I Nawlu5rFMq3VRkObshmq2LrpT0cQTRXZBb4uNJDXmdX/3U0o9Krrq/zIUf3mMP5cho pBmU37ouP3Zn2gYhaF6Ji8c0HXePP0NkGfhHQCc01Ps+R4N75/9oc7unqjt9USq9Ws F1xPP9ssN93yOLYqCfMCDM1loTh1Qlxl9hbcPAS4lHoJO/tHhst6sTaTA5DdZX8k6A D9SY0S5mS41+aPsOj61uflAZuiE/S2hZl2S9IZ7y89C2pwIJdfzsG95l3K875Rvgsb lc1yKQOCZecRw== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pyXZP-00FEfe-Pg; Mon, 15 May 2023 13:44:55 +0100 Date: Mon, 15 May 2023 13:44:55 +0100 Message-ID: <86jzx9n4qg.wl-maz@kernel.org> From: Marc Zyngier To: wangwudi Cc: , Thomas Gleixner Subject: Re: [PATCH] irqchip: gic-v3: Collection table support muti pages In-Reply-To: <1684152604-12621-1-git-send-email-wangwudi@hisilicon.com> References: <1684152604-12621-1-git-send-email-wangwudi@hisilicon.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: wangwudi@hisilicon.com, linux-kernel@vger.kernel.org, tglx@linutronix.de X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 May 2023 13:10:04 +0100, wangwudi wrote: > > Only one page is allocated to the collection table. > Recalculate the page number of collection table based on the number of > CPUs. Please document *why* we should even consider this. Do you know of any existing implementation that is so large (or need so much memory for its collection) that it would result in overflowing the collection table? Thanks, M. -- Without deviation from the norm, progress is not possible.