Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4121605rba; Tue, 2 Apr 2024 08:10:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUIYUQ/0iDyLoBBB6Xtt7Ftee8Bt0y+kCwiw1nNuxrhnEL7+AhB1uXprv9fXJW9xZb1H82p7Cam9u06p+Hxgnje5syWLd8d4THG7DT1iw== X-Google-Smtp-Source: AGHT+IEchQgvexHwHzj6M8nkLjsa9huMHTLAEUmXkA+0F4c3zIVREE4fhNV345zS8Wxv87hX3gUK X-Received: by 2002:a05:6a20:728e:b0:1a7:23d1:df36 with SMTP id o14-20020a056a20728e00b001a723d1df36mr1508916pzk.12.1712070647983; Tue, 02 Apr 2024 08:10:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712070647; cv=pass; d=google.com; s=arc-20160816; b=080tygJ/PZ3NakmQcKz5F5L5MmBOOjQmpn+YLjcrocJOvAmPylFpb0YA2yRPMJNrNO 8+pDrJ+BvTuMsJV0e1qF3Cyp184vq2qvb2fRKh8owkFxo1TCqozO6TWWPdlX15Xf4qw2 PgCAmytyvYxgI/hLqhxuGbF1qaJgQRXQzdTK9uuekx22MiU1NJ6H1dUB34K0AA8TmXNY lUFh6Z0WXB1b0geeVKact1ukxW5BELQaDOmXN/k0pcpgoS8LrEvAiWhf9G3MwCL7lLX/ OMrLY/IPn2/XM38+B8zlo4nVOCe834VyhMXnkJDRdazGAb19ZTVhuOajB4nepwTDJ66c 8f9w== 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; bh=sRajvdrV7rqeXiMmpuswBdvcbYNZJGIC389pFfFEwCI=; fh=oFLD20fRleTlLXvrx7vaqeSP76bB3o6SnDAfE7eHftA=; b=sYyWtZRAxtagGaGbPJX+XV2RMjyHDBNjlptxvtRlBJH1ZuRaBdJovGTuUnLr6v7XGP ahjdPSeU0V465jz6LB3Xbczj55kWnwzLWgNcBgjKoE7r63bZzQXtch1Bpto6TdMcoFj3 SlbZyRU0djG/esIT+BEeorF8MFql9TyyEAYdrxL0g3IoVUGzYOdzJasTeAdF2e1DBG73 fnNK4AlhORj7ZsGSI5JrdU5kutYnx/oDeD5QJIrI+L7psxMc9AG1RNCgCBo1lVuChaev IugoerN7RTWQFOKiujAz1K3wHKBiA1GByOt1HR7YSZSKBrS+VOuqHWExRDXmHJQULIqs E4Xg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-128222-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128222-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k63-20020a633d42000000b005f3a866cc50si4014988pga.550.2024.04.02.08.10.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 08:10:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128222-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-128222-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128222-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BA04B2868CD for ; Tue, 2 Apr 2024 15:10:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3CA112C52C; Tue, 2 Apr 2024 15:10:15 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 AD21812BF22 for ; Tue, 2 Apr 2024 15:10:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712070615; cv=none; b=qgU+LTFunxerVAdomYIQPR70lqYtPQ3MALjXYwNh3uFvhS7YCp78Bg/tati+J8l7aJGybb4sQ3JZ7snrDzr0e7RR42/phS7rAop8zwsTH60RYPk9roDpiwukngPhLH6jApBI3ozqJTImNi+/L8iWpiZyeqt9KB2PZXrkt1IXsQ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712070615; c=relaxed/simple; bh=sRajvdrV7rqeXiMmpuswBdvcbYNZJGIC389pFfFEwCI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CgPW9JTqg9KqENulRo9Pl1/Fga4KtkJq2I7fAc/RQHv9KxSJkDs85EhKRpNFNk+OjgZ8fh+sEG9EW+CJPc0dMfZce7XyfZVxGIhjh3gk0f2hif87x9eIAwYRFXHs0nxUMM2JTezUWLg4DQ3lM4V/rjv7SoZprXbVVwEx1iIYy/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 44D3C68BFE; Tue, 2 Apr 2024 17:10:09 +0200 (CEST) Date: Tue, 2 Apr 2024 17:10:09 +0200 From: Christoph Hellwig To: Petr Tesarik Cc: Christoph Hellwig , Marek Szyprowski , Robin Murphy , Petr Tesarik , Michael Kelley , Will Deacon , open list , "open list:DMA MAPPING HELPERS" , Roberto Sassu , Petr Tesarik Subject: Re: [PATCH v4 1/2] swiotlb: extend buffer pre-padding to alloc_align_mask if necessary Message-ID: <20240402151009.GA2117@lst.de> References: <20240325083105.658-1-petrtesarik@huaweicloud.com> <20240325083105.658-2-petrtesarik@huaweicloud.com> 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: <20240325083105.658-2-petrtesarik@huaweicloud.com> User-Agent: Mutt/1.5.17 (2007-11-01) Thanks, applied to the dma-mapping tree for Linux 6.9-rc.