Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1023291rdb; Mon, 19 Feb 2024 01:25:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXUEB3ER7BV3QyHzMb+ttD3oUd+rXt4LRWMzNdsTa7B3yRc2dQrakdcucR35wHNfrAIKJtAnkmJA4SPNCfiIF1aQRL/vWoyY5LiyoDa9g== X-Google-Smtp-Source: AGHT+IGxIcyJh6E2hNZg+7hCEQW5KatoX1KDcqJWUTGmz2LTgecT2/2knesdlvNQ2pVX35GfNqEA X-Received: by 2002:a05:6a20:518a:b0:1a0:6bcc:3ed with SMTP id j10-20020a056a20518a00b001a06bcc03edmr13282095pzf.3.1708334710720; Mon, 19 Feb 2024 01:25:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708334710; cv=pass; d=google.com; s=arc-20160816; b=jza0uHpZ2sVyWV7dgSUBom80Wj4LAyycBzssht4/ENN0HzydG7VA4prrU0xDp6ZfM2 h+DSN7xl+UPogojn1nWzlxwgJhydPVqV/+aHAHh0e7MMzaYNH5bL9EmsTLXn+aspVpEa wvTt8ZWrvxiEJ8Bp5ebQPi2Al+JDVlaID23KR8l+fr2ATSgu41UniOO0Rs/CTdVqyFLB 6NfKwSNvNp31TfTNGXbp0ZSFr41xXaMRru7lsf1V21mtTn3Pzhm5/1IPBC0XYyfaiWlB F/UvQa1sj0DvB1Lg7I/B9KYjxzdYCZCgSGGqY5DxudJSb3p3dgB82eTW3shwQxOTkReU DlYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=cHV74QhceqZ2+XbCvJJj3Cf7xONLS1W+pjFWm1YMEvA=; fh=0cfoGa3/aGv4cIp2xhZ6EsEF9g2Qw5hwrL/jIqwrhCc=; b=tsdqsm3yGzyg5PF2S83EADN4PBt378e8fgEfe+o+8Cxd5wEre5YnuFe33MeAoR7TFe hIqTHvZxbCUT7pNa+1CMusHNcDS6LUbpho4ytruredV+0j+u91oRwWfNb6l++WWCgz2T kSCQN/kgGqkLm6ElGFYv5+Jkuz3pbzu2sBLRSUl81GOpqgov2h1ZHYC2xz4qQiVqX7N4 QReJ3xX4LDpecyKThpAMATxm7zDr+Yr0ETojsG0NPfso7gV1gUiAok8ioyho86E7Kv1Z UnVWcqBDfxwKpwZ231krZxjkzbXEIsVtzT+mPj1RMp7qDyDsP/QHXW3rLTtmk+KqO4lz 0dpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZVMFI7/r"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71025-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s25-20020a656919000000b005dc98dad590si4133348pgq.68.2024.02.19.01.25.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 01:25:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71025-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZVMFI7/r"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71025-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4FD71B2148E for ; Mon, 19 Feb 2024 09:24:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 637B52375D; Mon, 19 Feb 2024 09:24:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZVMFI7/r" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EE6E23749; Mon, 19 Feb 2024 09:24:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708334684; cv=none; b=sotTw1N8K9UY4lPLDFVhgZOQH92/IHr/bfLaRKtvNTJ8Q3MymYPxgjW415lbpen8sLHXFmurnKwlbmG6XgxazOi84GwaQqOL51Yvm9sRhuNLXcXT+Mx+LrwstlCHuf9BG9rLM1ML84wwuVNaWERZ1CLChLexY/eG8fuyt61csp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708334684; c=relaxed/simple; bh=cHV74QhceqZ2+XbCvJJj3Cf7xONLS1W+pjFWm1YMEvA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ANWzkWz9aQ56C6Emtjd/PGrmyxllMX3/rQIrBJpEr49hTcAkydLacQtVQQlGVR7ocy0mSRgEEVzaFB4diciQiPf4MHt7bxpaEOdxM0fu4kS9RdxA2e191jGfuGdZarZjju4zmf7a0eXFhP5qVYLT/4Xwe5AWDlX0rsbtXKOa6eM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZVMFI7/r; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6340DC433C7; Mon, 19 Feb 2024 09:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708334684; bh=cHV74QhceqZ2+XbCvJJj3Cf7xONLS1W+pjFWm1YMEvA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZVMFI7/r5bqKUYpio0866Qs0B9QoX/6XMIm68I8w0UzwXl3a/lxe9PAxq1eZToYPj 69F3XJuzbGXvFrcTdcMGoGV9bkVXsvH9T93+9hr1nuUmv5jrjtSf7ruCp4fj9i3Cig liXrHNa/T+3EXOHlXWS4We5DXihfDWl6BfFd0Y5X4quNwWu7YyIT2WnDHv7svxAIqS Ewl7VXNyzk/09jPz3KlacNnBhqNEbVSzWxpuHdDBJHGuKuJYajP+UuT9Ay3a9+iwHb c3YTtJdwuGQdk9ebqphhZA2Z+gJuI+rGO4GKIPWs04wAbvEcdOuZRoksXY57b8yKE1 Vd7aJXtLYMCPA== Date: Mon, 19 Feb 2024 09:24:39 +0000 From: Will Deacon To: Christoph Hellwig Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, iommu@lists.linux.dev, Marek Szyprowski , Robin Murphy , Petr Tesarik , Dexuan Cui Subject: Re: [PATCH v3 0/3] Fix double allocation in swiotlb_alloc() Message-ID: <20240219092438.GB4105@willie-the-truck> References: <20240205190127.20685-1-will@kernel.org> <20240219063527.GA4580@lst.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240219063527.GA4580@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) Hey Christoph, On Mon, Feb 19, 2024 at 07:35:27AM +0100, Christoph Hellwig wrote: > Robin and Petr, does this looks good to you now? FWIW, I'm likely to send a v4 addressing another issue reported by Nicolin with NVME and 64k pages [1], so you may as well wait for that. Cheers, Will [1] https://lkml.kernel.org/r/cover.1707851466.git.nicolinc@nvidia.com