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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F012C982EE for ; Mon, 21 Sep 2026 12:50:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=U2kQkhWBF6D2DJFewxEvKPrfCuW3jlKEd3CIz5+RN3A=; b=i2QZ+pTiHj/3xQ JOQ63tpHiGvu5n+/I1ItRHQs+NBCxiWMdNtchp+inE79RFwnu1rpJLOUZcX1suPYhdBueozkgaCY6 Cae+4sez0eOwanb55rzYXHggOF0GViRnNXDWygT8PytUqrYPvRdDCPOlZ+NSiOLGZ2tf/PJy7rH0y xOnKA8pNbVuPqjso1qF0H2l0tml+4OYQO2yMtA2Se2iZfzSioYRBKCtrYySPSaaPgf1XiulmRuzGP +yCtpn3wIJ+VIev91aP7WewEG60IFmdGOW1EoQ4ws6cUAbnw8kEgpL2Xwp0Fq1OOBEd0ILGPDxSN/ gBTt2NCXNSk2jQF1ibLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8dTS-000000028oY-0sRR; Mon, 21 Sep 2026 12:50:22 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8dTQ-000000028nf-0TjR; Mon, 21 Sep 2026 12:50:21 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4588F176C; Mon, 21 Sep 2026 05:50:15 -0700 (PDT) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B2AE03F86C; Mon, 21 Sep 2026 05:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1789995018; bh=TQv7l9aU1HPhSsH6yPVKN6maCdi89qI1I+QaGJPz64U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A1SoKiy+LIZ9OZR6QAKSKC1Ux368ZuAKB18oX6607x3al7a+KRnZc9iDJhGX3ZePO aT176Jp0/eANP5NLj9yCAhkVS10FWvTpr9OikBj7j5132HFZWEeyUqhAkayVoeKSwu OMGqtJEAqxDVi+EZSvFdcDPrspc5Js6YggW/hMp0= Date: Mon, 21 Sep 2026 13:50:10 +0100 From: Catalin Marinas To: "Aneesh Kumar K.V (Arm)" Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Robin Murphy , Marek Szyprowski , Will Deacon , Marc Zyngier , Steven Price , Suzuki K Poulose , Jiri Pirko , Jason Gunthorpe , Mostafa Saleh , Petr Tesarik , Alexey Kardashevskiy , Dan Williams , Xu Yilun , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Alexander Gordeev , Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , Russell King , Huacai Chen , Thomas Bogendoerfer , Jiaxun Yang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v5 2/6] dma: swiotlb: Track whether the pool size was explicitly set Message-ID: References: <20260921063628.362078-1-aneesh.kumar@kernel.org> <20260921063628.362078-3-aneesh.kumar@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260921063628.362078-3-aneesh.kumar@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260921_055020_212713_5ED2C522 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Mon, Sep 21, 2026 at 12:06:24PM +0530, Aneesh Kumar K.V (Arm) wrote: > swiotlb_adjust_size() must not override a pool size supplied through the > swiotlb= command-line parameter. > > Currently, it determines whether a size was supplied by comparing > default_nslabs with IO_TLB_DEFAULT_SIZE. This fails when the user > explicitly requests the compiled-in default size, allowing the request > to be overwritten by automatic pool sizing. > > Record whether swiotlb= supplied a numeric size and add > swiotlb_default_size_changed() to query that state. > > Signed-off-by: Aneesh Kumar K.V (Arm) Reviewed-by: Catalin Marinas _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv