From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5767248B38A for ; Thu, 8 Jan 2026 10:42:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767868954; cv=none; b=D6Bul3dAsw+LXMOTvGTfr1BbQ9bzDE6y4u53rK9bOsY3eh6sd7jZq2uy+OMJfZxL65kmvwCS0722sIfRupINBlUnyWCQMnZ1FgTFH3/9VNfkK89YQEWkWoS57xbFkYPpSefntiA9lUUYJsSgXUcbGNGWkmO8HcfyAu5JjQcC1+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767868954; c=relaxed/simple; bh=7jKXaItOB5HW6uJMPUGoE6Z1+rU0TW3Ya6J4u86JvQo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U4GRD4HPM8YrQtV/UfDgrKgska0u1C6ga7crpzdbIUUFOq1qm4P9LFBJ3dISXnclWlBuawUx/MLR8QvRg6+1JI5KscdHA53A9vTIvgLYXQEB3+G6QJFsFUR5ZyRd+GardNgYgfYX5WzRr0/yvRb2FSxm2ZpmcyiJ9vW5LzZxXHM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=C/U4QNzp; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="C/U4QNzp" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4779e2ac121so128125e9.1 for ; Thu, 08 Jan 2026 02:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1767868945; x=1768473745; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=iCksppsN2qljq533bVWKBzGPs8aXT6gZzyjV+hGv2Fs=; b=C/U4QNzpRg9cP1pYp/d/r6DsdRrGuciDjV8jHfcHOk/qDm1nEJVi21VYML4cj6RyU+ jErS/5dC7I8pFiai/9CTqgpT3m1bGJHcz1RZwbVlX6sRZlrn4FLQk7dJCJJ4Yrd2DPXU /Ha+sLJTTyp9YNVasVbH+In6YzJws773ghXXKmAjcbuYx6YwfjmKNeXguTdu5G2toi7A NMNQryPj+J0BJi1KaHwnaELga7e+O+Ilu/uaCAf+MnGbVI76rPpp/C6TFWwBETTxQd3/ EpRk2bTX+PBy92wzRRxprXOfhH+u2s0U5wk7R0NZvhVw4n89bFbABYAEOzid+DjTPUHz 7U6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767868945; x=1768473745; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iCksppsN2qljq533bVWKBzGPs8aXT6gZzyjV+hGv2Fs=; b=h0UHfrIvIvMSG0CW4rtp61IFc5nfE36UGSOp8uCKbpRo3g+a30cMyVWs44X2uWsLIs O3Wjhb7qS/5rQi7XxBvOaKbMiKylMxVagdFfDXUFzpy3iq5HjpsRNJj8kN8W9ev5HmyG B4LyhqG+mwGtrebmliU6v2sk0zWT+io71J+wKJKhRSdSFQ4zybgNc13SbRVKO4t0zR5a 4RkTQXY0MQgaT/zUMBsytuykdvggS9PRp1j1d1VNQuyETrdHc7Ty9qwAdxb9XzjnHvpL zFd8rme69wloGTC+lMFsb+TIlqdoiP1IoDiWcSFjkPjIArizFpR6ft+6l7KtgqzOB1TJ 9s1A== X-Forwarded-Encrypted: i=1; AJvYcCWCN1OyV90D6/G/8KgSV0IY/sq/SKKoprrZZySh+9fc+jC/2/C7Uk9ZPz58YZG824kM+PWd1l/yMUz9HGg=@vger.kernel.org X-Gm-Message-State: AOJu0Yy2W+8rLHlbJjxLlkbF/NvSaBnx5DSR098bsw3sKnBqC0OKooEz jQTlBtOcNBFCVSuETIZuHMCwug44ckkP34bujpN9JgxGW0bAdYKZsktDaSxTK3ky40mIu3sehz0 ezxQVPA== X-Gm-Gg: AY/fxX5f2T3Bt+IU4VA1ybD1zQkFjotMVPi4n0P3WRKzYfaZGKrJkY0QH5M7MCyELZ8 +jTRihlEZSa34/FylVR83VKWHtLdSgGdDcK4KN0NwRcADTV3TqJh0x9KLCM1xjXpP46fAg6Mnxr bY3Cd+SpxP1Kzw34FLbuqqOOSIBLvJjZzZ520/RVBd22ZJY4Wh6OADYw1tulYGvyxs8zJFloGAz D03Pa03CNz9Bx6+2X+RmiNKgMcEenl8eO7H9uqDjrLSDmmrL6rpxU1nerEp/sST4g8KSJ1tcWEA xPVP8kMq/3A5iAkhxY/saxFw/9BbnEJ2f+0jZI2f+OvZcVYduLaGePkzqkdaFH/jm+UBCJlchae NAD3T2em19mXIN3qigJ3Bknp3G4mnRGJEaOCa/DB9IXiUtXO2rmNmsek3cIsmh0nr4HuWncqj8N XyIandspTl8l8hUTV5c25hrfZBsHDaKzCMejo9xz+8KFiA/WUrBKzw X-Received: by 2002:a7b:ce90:0:b0:477:95a8:2565 with SMTP id 5b1f17b1804b1-47d8ac3eea6mr350785e9.16.1767868944788; Thu, 08 Jan 2026 02:42:24 -0800 (PST) Received: from google.com (171.85.155.104.bc.googleusercontent.com. [104.155.85.171]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd0daa84sm15517528f8f.2.2026.01.08.02.42.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jan 2026 02:42:24 -0800 (PST) Date: Thu, 8 Jan 2026 10:42:20 +0000 From: Mostafa Saleh To: "David Hildenbrand (Red Hat)" Cc: linux-mm@kvack.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, corbet@lwn.net, joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, akpm@linux-foundation.org, vbabka@suse.cz, surenb@google.com, mhocko@suse.com, jackmanb@google.com, hannes@cmpxchg.org, ziy@nvidia.com, lorenzo.stoakes@oracle.com, Liam.Howlett@oracle.com, rppt@kernel.org, xiaqinxin@huawei.com, baolu.lu@linux.intel.com, rdunlap@infradead.org Subject: Re: [PATCH v5 1/4] iommu: Add page_ext for IOMMU_DEBUG_PAGEALLOC Message-ID: References: <20260106162200.2223655-1-smostafa@google.com> <20260106162200.2223655-2-smostafa@google.com> <1a6aedcd-34c2-4e26-b07e-6eb8d423b759@kernel.org> 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: <1a6aedcd-34c2-4e26-b07e-6eb8d423b759@kernel.org> On Wed, Jan 07, 2026 at 05:53:50PM +0100, David Hildenbrand (Red Hat) wrote: > On 1/6/26 17:21, Mostafa Saleh wrote: > > Add a new config IOMMU_DEBUG_PAGEALLOC, which registers new data to > > page_ext. > > > > This config will be used by the IOMMU API to track pages mapped in > > the IOMMU to catch drivers trying to free kernel memory that they > > still map in their domains, causing all types of memory corruption. > > > > This behaviour is disabled by default and can be enabled using > > kernel cmdline iommu.debug_pagealloc. > > > > Reviewed-by: Lu Baolu > > Signed-off-by: Mostafa Saleh > > --- > > I think I acked it, but maybe too late for you to spot it > > for the MM bits > > Acked-by: David Hildenbrand (Red Hat) Thanks! If my mail client is not acting, it seems that was the same version(v5) also. Thanks, Mostafa > > -- > Cheers > > David