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 3A899C197A0 for ; Mon, 20 Nov 2023 14:46:47 +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=rw8bbilVs7s+WLnKHpJ6QandC7/X9ruZml2vDTNsWwY=; b=nJKXG9ky3YT4We 9QYX1ni68rhb9SNXntofXBIPQLm8HCopY52lUziJYBSnlK1fGDOAh78j7qo1WHsSsylt8XDRX/ULq 6mhcuXwbDQH6ocjUOilntcBKbhAIlCWyBJV1fAu6eIP8pJpZgfbt/Fy1glev8IwraIvKa6yHVIA5z nzdK1JCgcP3EPlQsXUPc3h+HefL2hILm5Zam3yTVf9+dRDbF8mheROMxdfoLsFbnsSM/OkXs4XHZp AzQGjqh7ZfMQ9PkSxasF0pjtxf759kN5wTjym4x9TMVduPRczHa/yNVERNM6FcqP1cruw51Qsyl6H 02ArM1280KpynNUhYgKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r55XR-00CMOb-24; Mon, 20 Nov 2023 14:46:13 +0000 Received: from mail-oa1-x2a.google.com ([2001:4860:4864:20::2a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r55XN-00CMLb-0W for linux-arm-kernel@lists.infradead.org; Mon, 20 Nov 2023 14:46:11 +0000 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1ef36a04931so2748447fac.2 for ; Mon, 20 Nov 2023 06:46:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1700491566; x=1701096366; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=hKGlpsR4MZQ4PbPAr4iKvpD/NWTg43d9w2WorVRFaEM=; b=jkF2s6rVzMkVIkcs6kzLsuaeago+AX9rf9Cq4f56NcWvYHYf+Ui5yPWan2kq3Ku68c OB2MTD5K25xmiCQ1jptnlR1jPl3S1pvp/cenk1/n4qSnwNVhUCoTkDi9+JpBGOCE82MN zjYgXhzLFaCWWeirH5WU7rOJXqOObA/qk4KYwPRhdKnYDPGvJk5Wub7L4Ru4VJG6QR6U O1d5dtH+STRSHMzn69TgaUbkJj0luAAtK8OZfXbw3uuD685ohlD+P0ULaZywzxUV4c+M sBJKNCGXe/YcrefdzjHgHe0Kckdaov8kwJ5ywUdOzz5pCHqCdQ6Nxe6UiXUs8ILlZycV dZDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700491566; x=1701096366; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hKGlpsR4MZQ4PbPAr4iKvpD/NWTg43d9w2WorVRFaEM=; b=Nmqs3PbTpsIWR0Mrwba/m+HpC1TX2OB4qdU1Zceuun63xlQCD5CHPsinaD4SxswxMp CP3c31xr8exyZtU9Fbj8WgOqzK44fj8Bmc2mje+0F47rS3DxrN2dJ/iWHzZTpL6Xstu9 RAy5T9TZhZPQDxujcVzW+Ix7IPnBbEf2e6xT0hlXyPFwJgvogPEeZQs/4kCi3AILNzEh zgZphm2UvZfNyZExEY6qlSXQNwvE7dRt+yBHKNoOcud9dqqZDYzRm4K2SOSrVnHWe3vr 2ydsvD7eXPfw5TMiRN/KS062Lr3A4zMUavSRZ5u/WAihpeaT+h+/eb1Ptvk4SDDoXyTC /k3g== X-Gm-Message-State: AOJu0YwBS9uPCJjHaJYTcBevhne1yZVcn0RPX74VcA6WOIaiXbcbSyN4 T8KBdBD+pglrL04/wtP8v8YvhUKQLFzkQSd1b5bwvQ== X-Google-Smtp-Source: AGHT+IFzZWviPZZa03nWXuOFzGQ0tzH2Ne9zQ6glH9lIYEu9EVAdXzYpaCSS1UB1eu0G4bKU3Pfz2A== X-Received: by 2002:a05:6870:288a:b0:1f4:a122:6b02 with SMTP id gy10-20020a056870288a00b001f4a1226b02mr9420967oab.45.1700491566071; Mon, 20 Nov 2023 06:46:06 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-134-23-187.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.134.23.187]) by smtp.gmail.com with ESMTPSA id y1-20020a056870a34100b001f949c5a757sm220261oak.38.2023.11.20.06.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 06:46:05 -0800 (PST) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1r55XI-000bho-Hg; Mon, 20 Nov 2023 10:46:04 -0400 Date: Mon, 20 Nov 2023 10:46:04 -0400 From: Jason Gunthorpe To: Boris Brezillon Cc: Joerg Roedel , iommu@lists.linux.dev, Will Deacon , Robin Murphy , linux-arm-kernel@lists.infradead.org, Rob Clark , Gaurav Kohli , Steven Price Subject: Re: [PATCH v2 0/2] iommu: Allow passing custom allocators to pgtable drivers Message-ID: <20231120144604.GD10140@ziepe.ca> References: <20231110094352.565347-1-boris.brezillon@collabora.com> <20231110151428.GJ4634@ziepe.ca> <20231110164809.270f82bc@collabora.com> <20231110161229.GA462657@nvidia.com> <20231110201652.629b7228@collabora.com> <20231110194215.GR4488@nvidia.com> <20231113101103.1cc05c8c@collabora.com> <20231120140425.GA10140@ziepe.ca> <20231120153838.2166e7b8@collabora.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231120153838.2166e7b8@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231120_064609_218089_14EFFA5C X-CRM114-Status: GOOD ( 22.06 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Nov 20, 2023 at 03:38:38PM +0100, Boris Brezillon wrote: > > At LPC there was quite a lot if interest in improving the io page > > table stuff to work better. Based on that I'm even more against adding > > an external allocator at this time. :\ > > I'm sure this has been discussed with the IOMMU maintainers, but I'd > really like to hear it from them if you don't mind. Especially since, > as I mentioned, the custom allocator idea comes from Robin, not me... It is a community effort - this is my opinion. We now understand this io page table area needs a lot of work to meet all the new needs. I'm against hacking it up like this and making that work harder. > v1, was a sign this was good to go. If the final call is to reject the > custom allocator approach, and there's no updates on your generic > solution in the next couple weeks, I'll probably copy the pgtable code > in panthor so I can implement my own stuff, and later switch back to > the generic io-pgtable implementation when things have settled down. That's horrible, DRM should refuse that too, yet I expect you will probably end up merging like that. I would not expect a resolution in a few weeks. > Nothing against you or your solution (I actually commit to move to the > new approach when it's ready), but we have different priorities, and I > can't really delay the driver merging by several months unless there's > a very good reason to do it. Welcome to Linux, nothing runs fast :( Jason _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel