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=sLRX71HPp1QoIh8O1v/++5AwNmpgRH3GsjooUT7oge53ivomB0z1llVHspMEno5vs5Y3 cJC4lvjExuP557jDB/ZACGC4EIcUwPnVVhy3QZtRCBY0MSv/NgGzMIDjIB60xcS6VYadP xtO36kzhZjBTz6ovbgM7w35im9GZdvbukSMPvw85PCiV6XN1GK5THKPDvUDuzN1Ddyljf Q3bxjIzlw1DLPcHFjWBpHB5oqOkLaLdZzTFpfzKTjJTPpNJke4IkWWjrC2jNcBc8X8i8q QohibulfR07GPjn/HSa6ZVhnVaRdeuJibozDlnHR6+WzR7STrKj2h0QXfttcS1S/RGA== 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=VoQrTfEIxgw8LGYiTBVZhs7xY0N2XbIwnKT9ZWFb7P7o9yYAgvXELZTvUGeE5xKG325W ys1LGZcdJpnfjwjifwOezl582f3lrYvo8ehZTHuuuY6qP7kLABy16lpCA6YF/Twz3UkfQ N2l9nlTAPfhlWDuq22GDdJ+jjSQb8gJXmobSByjGA8eP/bV/26ySNi758EJ2mFZRK2nvu 5rPqKDnD3eqqKSPXfRuvuhRbS8PH61cliFDFWHbBjT33DK/hDk896HYyBJhiqODLkzk1r 26ozrl0UoFrVNYCIpIE/9/b7cEUJexK306MyuCgYOYv1r3ywDFlZHfjKEVEzrJyg9pA== 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 5EC52606A322 for ; Fri, 4 Dec 2026 07:34:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5EC52606A322 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: iommu@lists.linux.dev 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