Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp603564rdh; Thu, 26 Oct 2023 10:27:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEQumtWoVrjcANmg0Y5hEiTu7IZCfAFAoUFRl3tusGXcFG5Ghprcta+GrKurHl58FWmIn+ X-Received: by 2002:a25:db8f:0:b0:d78:3b67:ef3 with SMTP id g137-20020a25db8f000000b00d783b670ef3mr768860ybf.12.1698341235058; Thu, 26 Oct 2023 10:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698341235; cv=none; d=google.com; s=arc-20160816; b=pN4WiGFvxSIkqbbsZ7NeU/suff00fF7+nYYV6N5zPBz/Q961gTEZKkUpnNwHgQcgZw bWYGlI1y699Azkx2m/ounMiGXQ7jJIIxNZ4gq2SHrrGLitkNfI6XztmlO43sWYNCLWVY 5ZD7IfNOzgFY4u9U+12iNRQpuBFlqEC1axtHlfzmfLgT/x8zIo0jK0Q6LE3DX62er8Gb 36L+CTvtrjmWSm7r9UKaubYPxJXZ0Bf5GkUXWVX8Vb2yxFLMkFxESStjl39ZUrMGFAk8 suKcH21jgdFbsttf2gKoOK1shXZJ0pDV/MXTFuLO+qjV1EQwOp004Fb7y+cBiQKn0huP cg6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=7BAeAfW71dln/XhU+dLMLgzw3nnXeBMswiuhD606WIo=; fh=pUrxQ7bKdFZlYQA/O4ra24sBEoqszjT5Ii9HRdVBvcw=; b=WjHfPachEcwoFOzygRj4QtWELafOQvelbgyYwwNGRTKemkqX7I+eSOVhYNoluTBhsI 5nVIA+aDsIrRA6OR78Aohb7VImqMtAYftfYtDNB4eAyXzM1i30O3HK/oazz7vTDJDnRS MkoZePkAMinQ5Y7n9rtQxoCsZYNImjliXRSSJDdy9NeNLZNaRSTuuk0ti0Ni1a3dB2qQ a7lOMzXESV845i6A2Yg30OKIslmV+5VL48oMIox9NFJHbYx+azYI7+Kk5X8GqIdA2j1C xOhNLEm+rMiWfH0p6vebO2lALy9zbJ+NTke+tVDzyGSIxeCaed2ecC+SCiD6lWbGymna 9uaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s3db95fI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id cj13-20020a056902188d00b00d9cd32355b6si17936737ybb.260.2023.10.26.10.27.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 10:27:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s3db95fI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5FF0F828C485; Thu, 26 Oct 2023 10:27:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344845AbjJZR0q (ORCPT + 99 others); Thu, 26 Oct 2023 13:26:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231869AbjJZR0o (ORCPT ); Thu, 26 Oct 2023 13:26:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A44BA194 for ; Thu, 26 Oct 2023 10:26:41 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF22CC433C7; Thu, 26 Oct 2023 17:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698341201; bh=7BAeAfW71dln/XhU+dLMLgzw3nnXeBMswiuhD606WIo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=s3db95fI/eHkyzmx5IJp8Fd/n3POMb+po5Nmw5rzw1WR2hsZBiEn5HHKb6TsoPlom S7irqxF2d/EQl6eTpQMMaKPyV9tani0dtK9imvy/yCvLOAienXTZImKk8Ku1f/aRa0 Nw4OnLdjX6eJHzclFXGU6FCZzwTa9MoSlDhE9bveYUqYAMA42vm2RmryvohRVjMdEH jL5GuQ7vv9OD8IOSQqdbALt5ei7+tNzMoXqtNLmLN2I9gU9pRL4YOSLikvvoOmXIil SrHMQxGhCZLAVtBGIS97p3/jSbnlyvlcnmmTHRRFuHA0wow7gHnrcXDn3/uAkx18l9 U7J00d24d6eJQ== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Anup Patel Cc: Anup Patel , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, x86@kernel.org Subject: Re: [RFC PATCH] genirq/matrix: Dynamic bitmap allocation In-Reply-To: References: <20231026101957.320572-1-bjorn@kernel.org> Date: Thu, 26 Oct 2023 19:26:38 +0200 Message-ID: <87a5s5z44x.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 26 Oct 2023 10:27:12 -0700 (PDT) Anup Patel writes: > On Thu, Oct 26, 2023 at 3:50=E2=80=AFPM Bj=C3=B6rn T=C3=B6pel wrote: >> >> From: Bj=C3=B6rn T=C3=B6pel >> >> Some (future) users of the irq matrix allocator, do not know the size >> of the matrix bitmaps at compile time. >> >> To avoid wasting memory on unnecessary large bitmaps, size the bitmap >> at matrix allocation time. >> >> Signed-off-by: Bj=C3=B6rn T=C3=B6pel >> --- >> Here's a cleaned up, boot tested, proper patch. >> >> Thomas, this is just FYI/RFC. This change would only make sense, if >> the RISC-V AIA series starts using the IRQ matrix allocator. > > I have dropped "multi-MSI" support from the AIA v12 series > and also integrated the IRQ matrix allocator. This patch is > included in the AIA v12 series. Ok! > For reference, look at riscv_aia_v12 branch at: > https://github.com/avpatel/linux.git > > I still need to rebase this upon device MSI domain support > from Thomas. Note that the per-device domain support is already upstream, it's only the ARM cleanups that are not. IOW, there's no need to wait for the ARM cleanups. :-) Bj=C3=B6rn