Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp734328lql; Mon, 11 Mar 2024 16:19:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXpC9l2OarozIqcoeJsi2cLFMUbmMc7XoczuFg2mfjO+1+4N58PtZbhjGGC1ZnJsvVSwz5xMh/ZZLPw9abztWEDSUeow+LlyE8b4ughoA== X-Google-Smtp-Source: AGHT+IGsVHC6Bdg4scgQ5GXyeMYrNjSPBjF1C7J4zK3WY+u8aclp+KbtiJCfwfxY2ytohnMlonIL X-Received: by 2002:a05:620a:2629:b0:788:2b1f:3f6d with SMTP id z41-20020a05620a262900b007882b1f3f6dmr9546814qko.12.1710199181856; Mon, 11 Mar 2024 16:19:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710199181; cv=pass; d=google.com; s=arc-20160816; b=v7mkblPSXvul557T/6dL5yctkx5Ue04LXG7lR8D8ykiNXHMvYO51DH/3MXYvhf57Np lvPd8WRcO/RLe+rIGGam9xbY1fgF7CgCBTAP5RisWZr+OeoOnyl6Vl9SH5+fG+kf1XL2 b5pQbGczYXZrglVzCw1XE6MyU2M0u1j9SdNOUdgyh/Kjq/zZ1vKJdWSKd9OtNBtJ1JvD mDEKUdqT1/PNUoqevg/Wp4syg8p9avVozj1Jfo9erWr/cCx0h1V02vbFV2Jjh9Ynoxd5 U7DsufAAvo/cgKNrZdKQH2RBRHR5OonCu+shUHjZdTMX6iRFaR4k06Zj0B4+IackOyEk eVWw== 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=S5Pc0+zoGdxeTs8kzE7BbpEVeJ6H4W3Z50wxBYcr+t0=; fh=D3a8E/TO5g35t7WgUfJrWRHWB+cj1ADAcYVbRmcgEW0=; b=wXm//hw8yTLK7BMorx1cpu+0p/67/lm8fcB02ELHZlVi+vzLf9d98vsn0zh5axTfPG k7j8uubEyAqIG7N0/kWmTKkGlJuNaNuaBboENeZV5wiSonO2ZA1TW+LLV307ub1AhPnI UApt5mxzj4vfd/8EBL51NxAberbicX2QcjxQEBd1wO/pnusR3hw2mA20OmIn/h13tvpz Zhs+GAvxCFN1IDw8u54h9eqHhwu0EtRTv5XOMq/7Pv+bqi/dBo9JIrJEB/mUGnmdP0OM vJmRnvEGqypjnx4u9D5GFRU708O0jQBsSePUI8qPmu4ipgxtg0Njg8+FafmMStbbLPu2 BLnQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FvoOm3mY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id xy12-20020a05620a5dcc00b00787c631976csi6381021qkn.291.2024.03.11.16.19.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 16:19:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FvoOm3mY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99653-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99653-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 774461C20C88 for ; Mon, 11 Mar 2024 23:19:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FD8C58ABD; Mon, 11 Mar 2024 23:19:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FvoOm3mY" 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 B816F5B1EE; Mon, 11 Mar 2024 23:19:35 +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=1710199175; cv=none; b=WMlPQQ82xB8TsUl8CvyGiY25HCIpPbqqhDdu6tbfoGjHWwA4y9kqnDOVPZJkLiv4JLzfFVg+IBM6Z+6N7meOYxqOaRINHWkL0DwhSSjvtEM06sPgqsIYp1IIh7/RKXBUl9g1or20AKr3O/nZKgaJvhWWIP6HbNUiSfeQnP2xkY8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710199175; c=relaxed/simple; bh=ao1qU99xMqRjKkn54WMjqMkh4JDfooM7PjAuxBwuxX0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BzCpa2AspddTEf2YR9C3hUfYS9Hgo9pARP5iSrOLNs73/DIqJ26RyYejDwr5qOtT8Mop8hKhs0X015HmglFJm1DvXmWnlFgkXCGkHPvQf0iwbjUfIoqfONx2XmY3W0EykPmUlGJ7mFRWyK7yt4CORfZIRjD6BD/PZIYcB0r9utQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FvoOm3mY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 580C0C433F1; Mon, 11 Mar 2024 23:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710199175; bh=ao1qU99xMqRjKkn54WMjqMkh4JDfooM7PjAuxBwuxX0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FvoOm3mYATihJvuer6OdqR15Lg0SdNaNQqZuf1BX/PHXYcTSyOEPbqb4D15oBOLDE 1GcIh/bJzWoGeKTfTqTXQOqJSWrlUank6UA6jLHDKziPkwWWppJksFr27Dr5Bvd0u0 txaI6G7+b8QXw4q6/w8Ixn/P++vNBj2uABDS6OkapfF2FEjjkgsHa19yIY+S/4yrDV Y3fWNmvDiLXWTCf9aNqvF+YNBBwfqVUTb88BkFhGPM5CQ+kRvXO6+Z4zY+h7TCH740 ZrGsTeeGHSi6hCd4zLYZK2FyPJb+Ut9WTJ0PANRm9TUgyKs2TjSdeT/bPCNoYjZ56Q WsOI4cRy7uB1w== Date: Mon, 11 Mar 2024 23:19:29 +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 , Nicolin Chen , Michael Kelley Subject: Re: [PATCH v6 0/6] Fix double allocation in swiotlb_alloc() Message-ID: <20240311231929.GA28478@willie-the-truck> References: <20240308152829.25754-1-will@kernel.org> <20240311133617.GA1349@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: <20240311133617.GA1349@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) On Mon, Mar 11, 2024 at 02:36:17PM +0100, Christoph Hellwig wrote: > > Thanks, I've applied this to the dma-mapping tree and plan to send it > onto Linus after a bit of soaking time. Cheers, Christoph. I'm suspecting we'll have a few extra fixes as we collectively get a better understanding of this code (and also as Petr develops the selftests), but we can send those on top of this series. Will