From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76FB9C25B67 for ; Thu, 26 Oct 2023 17:26:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345121AbjJZR0r (ORCPT ); Thu, 26 Oct 2023 13:26:47 -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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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