Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp711990lqc; Fri, 8 Mar 2024 09:27:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUDkwejnFFjY4g//IPqG8XYQwjpoT7nfS+0sDHqgmphMaLMfr0S6IP7p6OG8oi9QzFVyWNFe63bop4SM67XaSwYYkgW0ZAhaTCV/IICjw== X-Google-Smtp-Source: AGHT+IHY2UOoU/gESvqMaOtCP5T9iFYSF4FaRG/KwjaZSd7LcTp5adKiGgF3yzRw+avR6TGkSsSH X-Received: by 2002:a05:6a20:748a:b0:1a1:8b5d:d5a6 with SMTP id p10-20020a056a20748a00b001a18b5dd5a6mr211917pzd.56.1709918838697; Fri, 08 Mar 2024 09:27:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709918838; cv=pass; d=google.com; s=arc-20160816; b=uFwWULfEIKGIK3h9Bw/DZ7PyFcF4A8h6fikeu//sOueoXtKMvBhVkmha9nIiLL1D10 gIf82Y74EabNGpV/nrGr1GOnrRbpOTgHetFHfrTxu9RDI3Q+wAZM1sN+E+lwZ6ekTT4x SAyROR/GlL/Ocmh5FPKZBRnYZyvYubRry71JjQavG1XtHTuB6KaOBS2YiDep2fYLgXk1 hQiupk+ipXDxVV2VdXvKQNGxW2pSjvce7FoA4edkCFy2zDdE2fGZEEgVKZUWmmKdbyv0 Hm/wdKa3XETlnesP01EQo/qUl6Qu6kU9LT3B6X4uog3qZGyy5TfpyuB5xfmAATdbcAJe EY/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=IIjocy0slfVtwd++6GcQ24vjrbD1TY3TGPMpZvNOIEg=; fh=6WEAlik79wxk4I01O8gRYO+ACMliNFnnizlNk8GQOaE=; b=LiH8Kiq1QpN1du3owqnsB46mmno0L3DzXMrI9y318gm0AAvARLCYzivcb53r/w2CRO 0DT4M2VjOxtgu2oT1jzhjRpLag1Tj/JWWzKUBjzKMqQCD9eBe+rgNoB7Rlv+wCHwYOPN iFqXB2NMgRDapaV/UPaN6J32eLIJdZonx8fSjD3buhr4QoUAWoztO3amkQuQpB1dbeQ0 Z25T3UvFtLsII4Rh7Q1+0ukpV3Vb6iTbncCwhoRsACvi13+p2t05v5aLbn7g7nbDt9bl bc90xcHyB94wQmrhgDRcGmhTlGBfWSBquyStSBUWvmGII7ggyLmoyZutsW1cxx8LyWhQ 95gQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tesarici.cz header.s=mail header.b=pam1G0Z+; arc=pass (i=1 spf=pass spfdomain=tesarici.cz dkim=pass dkdomain=tesarici.cz dmarc=pass fromdomain=tesarici.cz); spf=pass (google.com: domain of linux-kernel+bounces-97380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97380-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tesarici.cz Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bq22-20020a056a02045600b005e42b4c97f2si17992543pgb.289.2024.03.08.09.27.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 09:27:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@tesarici.cz header.s=mail header.b=pam1G0Z+; arc=pass (i=1 spf=pass spfdomain=tesarici.cz dkim=pass dkdomain=tesarici.cz dmarc=pass fromdomain=tesarici.cz); spf=pass (google.com: domain of linux-kernel+bounces-97380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97380-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tesarici.cz 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 12E3DB2408D for ; Fri, 8 Mar 2024 17:22:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A414236132; Fri, 8 Mar 2024 17:22:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tesarici.cz header.i=@tesarici.cz header.b="pam1G0Z+" Received: from bee.tesarici.cz (bee.tesarici.cz [37.205.15.56]) (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 F0B8D28DA4 for ; Fri, 8 Mar 2024 17:22:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=37.205.15.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709918557; cv=none; b=uRrcSTq/u9kOIBjZBEnbpjXqXGQE68rWNIofRyrzyFkkGI2cyuweVtk/gP4SwgMjLa65v8NGlAnCKJBvp13A3ei2R5i6zzMyiuaicNP5uyufANMuMZb6rcxxRwB9hZSeZTjQmiegyhfk4vy6W90wmeloQiVfbqR6J2bjufYypzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709918557; c=relaxed/simple; bh=GkDhdbaweBxHBVnSFe/4jZfuGtdvnP5xJfMMoRIrsbo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Xj+Ueg+LBTdTcHC0K8RBmf5jhFjHqIOcZ11OOvKBJ5Ijb62Se8NBjd1LxO3tfT40YPESIBLxYgH/tOsdWHwlxo04haC+WCgYtEuNKhnxqR3PIVm++PpID3Aa3MDMpEZagarebj9/nk9htCt+i6+uV7JBqIudQnF2ki1vtrM4L8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tesarici.cz; spf=pass smtp.mailfrom=tesarici.cz; dkim=pass (2048-bit key) header.d=tesarici.cz header.i=@tesarici.cz header.b=pam1G0Z+; arc=none smtp.client-ip=37.205.15.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tesarici.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tesarici.cz Received: from meshulam.tesarici.cz (dynamic-2a00-1028-83b8-1e7a-4427-cc85-6706-c595.ipv6.o2.cz [IPv6:2a00:1028:83b8:1e7a:4427:cc85:6706:c595]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bee.tesarici.cz (Postfix) with ESMTPSA id 0D8421CD637; Fri, 8 Mar 2024 18:22:34 +0100 (CET) Authentication-Results: mail.tesarici.cz; dmarc=fail (p=quarantine dis=none) header.from=tesarici.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tesarici.cz; s=mail; t=1709918554; bh=IIjocy0slfVtwd++6GcQ24vjrbD1TY3TGPMpZvNOIEg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pam1G0Z+1K+Gxm7SaqFhf8CCIXCd11ATi8Dma6oxnzxC4A+LFMnsckIEgyqkgYhRb A9s2lvSYxSpy/n/7Gf2Q77F5+x9Du6lAMfyqbYImOcUqA410H6IBN638O8cObTTp2s E61RbagsAOBBjf6LpZe+uZ2fZPCoodw5vSExUjyeXR9HUDwoknBBs89PhvicLPs5mb diyaLp00dUceopAen3TSdmBXDeGZdOtVbKBSM4P40Qdn4q37LPyKZEw6JUcWvn1yEz pFLo7hmYMZkSbBQn0dL0gA3Fp2s6s1MsQ9/K2GFxnQK/yjiXoKyDpmsAG60EvY8FoY nnJF2bV9RZ6gA== Date: Fri, 8 Mar 2024 18:22:32 +0100 From: Petr =?UTF-8?B?VGVzYcWZw61r?= To: Christoph Hellwig Cc: Robin Murphy , Will Deacon , linux-kernel@vger.kernel.org, kernel-team@android.com, iommu@lists.linux.dev, Marek Szyprowski , Petr Tesarik , Dexuan Cui , Nicolin Chen , Michael Kelley Subject: Re: [PATCH v6 6/6] swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE Message-ID: <20240308182232.2480a1f3@meshulam.tesarici.cz> In-Reply-To: <20240308165025.GA18550@lst.de> References: <20240308152829.25754-1-will@kernel.org> <20240308152829.25754-7-will@kernel.org> <5c7c7407-5356-4e12-a648-ae695fe0d1cb@arm.com> <20240308173816.5351ea58@meshulam.tesarici.cz> <20240308165025.GA18550@lst.de> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.39; x86_64-suse-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 8 Mar 2024 17:50:25 +0100 Christoph Hellwig wrote: > On Fri, Mar 08, 2024 at 05:38:16PM +0100, Petr Tesa=C5=99=C3=ADk wrote: > > I thought we agreed that this stricter alignment is unnecessary: > >=20 > > https://lore.kernel.org/linux-iommu/20240305140833.GC3659@lst.de/ > >=20 > > But if everybody else wants to have it... =20 >=20 > Let's get the fixes in with the existing documented alignment, and > then lift it in the next merge window with enough soaking time in > linux-next. I agree. It make sense. Petr T