From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=85.214.250.239 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796369669; b=CZCx9e2MC3e6BJfxzV4GZ7aI/be0bLb8Cm/fxLaoSIghvZSXZru4DUgMA/n+wiItVq7z Ekyj6UNEWbHju5RbRnsbPzOgkZJohspB5q8XCOEau8jyA2GwFvutGOPdWVec5HlVtee5r upL5SJnc2qS//dX8HHSZFnVS3wg966optNfirheZfIB7t3oNuvpgxDAhGULoA7j2/LjxP BUpSmwzEGySR2D8/LjTAjPtX5iWRsiC5NtEr3yiwBNbJ7YHNat/MTTi4n5i7utublVbnW wsEhVkNR+wej4b1Oz14hedLZJF8PbraPtRB9aI5LOfFJKCzhRpMrbvE+W7erpwOpGOw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796369669; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=2OQCTiQdeUnlPrysXCovgS6UC5xPUzDOtRPZyOrvCao=; b=RQ3LiIAE5LLkbI8CCkNHUXpRLL/4zo+MqHg9h64mHJYeKtpuFnOzzIgyQi5kY+U0q/Uz /4iyDItXybM+xc1DOyip335eP487uEG7VpIMGDCUCwHVRebeKO+3bb6KrBCXKH0j+tH9/ +KtwWHIPYNUAAp2mupmZBd2cPMlNR3dbf8lJta4JO/HGBtrsoeCj7SEup9vHOFGTtTMSz jfsGT+Ydg6lT+4121/oUXxAIIgu8ozyONe505GOgGsyIRUK+FHeHCLj6U2QnKzlSznh/0 q18ZjLqMvX1zoih3swAOHuQatz+2eMVoVn/O7AgAR3hzp6mhDHIRcDy/dx84vjiYU2g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; arc=none smtp.remote-ip=85.214.250.239 Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5ED54606A32C for ; Fri, 4 Dec 2026 07:34:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5ED54606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8bytes.org Received: from 8bytes.org (p549216fa.dip0.t-ipconnect.de [84.146.22.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 2CC00244763; Fri, 4 Dec 2026 08:34:27 +0100 (CET) Date: Fri, 4 Dec 2026 08:34:26 +0100 From: =?utf-8?B?SsO2cmcgUsO2ZGVs?= To: Mostafa Saleh Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org, will@kernel.org, robin.murphy@arm.com Subject: Re: [PATCH v2 2/2] iommu: debug-pagealloc: Fix mappings starting at phys 0 Message-ID: References: <20261202112047.509228-1-smostafa@google.com> <20261202112047.509228-3-smostafa@google.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Mostafa, On Thu, Dec 03, 2026 at 10:57:09AM +0000, Mostafa Saleh wrote: > I can add the alignment check in __iommu_debug_update_iova() but that > won't be related to this fix as this existed before the series, it can > be a new hardening patch. I prefer this approach as it keeps the check close to the code relying on it. I will apply these two patches, so please submit this hardening patch on-top of this series. -Joerg