From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f74.google.com (mail-ed1-f74.google.com [209.85.208.74]) (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 3324136BCCE for ; Wed, 21 Jan 2026 11:49:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768996158; cv=none; b=q5/ljoyLVydVdK2ea+ffIQ3EnmjTOp3GttDWhl95UGc9o1xkijEv7TJFlyZfneiv7RboRus0pq8DJr0HBe9g98lfB6Hyxtk+IHS7kwUrXF1VlDjztFJCPUiUJnWmqvcMGwq29tH7VofGKsXTqQiwUggd3sF8SXb9vfHQW0Zwy3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768996158; c=relaxed/simple; bh=CXJmvYhE3FJjOtmLAdXEeX/qJThBu+TLinA/jziif/g=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=rqkt6/gCoKQ3uC6KDa1NCJEI4EnSRyOTpmouSJpV8lQZPmiGF115SX/JUlwyzvNUpgypSBzWjK0c/mXaHczQaVuHJ7/Hh45wtM1OuBcAjo/ZCTXhlg1CobryKubw/EK9hRDLmHAtLeiy8WOES4FgKI/luctUGxVr+ZHSXHyOmVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--jackmanb.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=BrNCXt6+; arc=none smtp.client-ip=209.85.208.74 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=flex--jackmanb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="BrNCXt6+" Received: by mail-ed1-f74.google.com with SMTP id 4fb4d7f45d1cf-6505cbe401aso6163647a12.0 for ; Wed, 21 Jan 2026 03:49:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1768996154; x=1769600954; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=hDVt8yY2/5hunMbzbLaciGoWHJvxPm3JadMnQq3QoQw=; b=BrNCXt6+amzTvpP7ucbmJiI27XwJlVaQb734AzVd5YRAOgwK5RNae1copaKXYDWI2M pJRGXrVx10a9GQjUh/dxvv/A4HUsmTB9gYbLj2DlDM65QDOULjr41iM/giKY9iDF2NPo OahSLUOKUQALjOH+nDJBhFv2HpxeGdVay44J1KXukAjcTlqZBb2kbC142vgl9IomQqLt YKuT9pETWd952WcaU/WZPirewRUpNiK3h74GJlyS4kR7BUrY30M+sUCAB3Rt6R3OhQx6 nikaB8ObQ+7RMprtRqr2ZgTVozreZVMm5KpPjxEEZtfZMej5jh3WjbNz44pTnEvdrZJu LNdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768996154; x=1769600954; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hDVt8yY2/5hunMbzbLaciGoWHJvxPm3JadMnQq3QoQw=; b=p0JAo54YlGaM0Q1PdbVdZvLgYeyUFQzuW9Dsc0FSIe0J8ScvyqMqYS9rRPekKxncIQ pLS/5ryFxLqyngi6r1NRr/WGhePu80FaizmboLq3/WITwUTv/etmth7UJioJmqqsDXI4 8ORWbYK67zub+Xaj88ed15yKGYHcc4HmPz+YTlDaNIuccHFhtA6sUZyisdJhyHIh6ac7 e7Q6bPx0uCYyIK9T3pOrM0MJi7VmlmCzlROjlkX8Eslktx8WxRjB/wnlIV9A6x6bZAIb CtWUAs5E/g6CccVn4FYXf4tLeOsnofCbgdN5pN2EZi7WEJqlW7tCi1sVqETRyzNwigWy PMOw== X-Forwarded-Encrypted: i=1; AJvYcCXXqqfbpNYQvKLNMy6Czvq1lQRz+JjgeLd1/UooBqhWWsKH78fyLJCMUd/LYJOasb18wfVKB1HyJV1uUJU=@vger.kernel.org X-Gm-Message-State: AOJu0Yxl3Ut8aKtSjBnR8r1yMWR9MqI52XUefu9gKfDvlBd9zar6iNfO /jG0dGE5UTM7mwZXAi4Qe6ZzEQgOqZ/OD2vtE3NUC9O5eDTpkienqnSw78yXD02RlALydLuqfGc EsjOuB2HM4T7b9w== X-Received: from edzd5.prod.google.com ([2002:a05:6402:8c5:b0:658:786:7029]) (user=jackmanb job=prod-delivery.src-stubby-dispatcher) by 2002:a17:906:fe0e:b0:b76:d4d0:68da with SMTP id a640c23a62f3a-b8800234f39mr320389366b.6.1768996154161; Wed, 21 Jan 2026 03:49:14 -0800 (PST) Date: Wed, 21 Jan 2026 11:49:13 +0000 In-Reply-To: <20260121112738.GBaXC4KgFQ2J667ea5@fat_crate.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250924-b4-asi-page-alloc-v1-0-2d861768041f@google.com> <20250924-b4-asi-page-alloc-v1-5-2d861768041f@google.com> <08338619-6aa1-4905-bdf8-bf1a90857307@intel.com> <19e5012a-3c58-4696-9e4e-39e2b7d2b5af@intel.com> <20260120163728.GDaW-vSLGY1P_E0DqS@fat_crate.local> <20260121112738.GBaXC4KgFQ2J667ea5@fat_crate.local> X-Mailer: aerc 0.21.0 Message-ID: Subject: Re: [PATCH 05/21] x86/mm/pat: mirror direct map changes to ASI From: Brendan Jackman To: Borislav Petkov , Brendan Jackman Cc: Dave Hansen , Andy Lutomirski , Lorenzo Stoakes , "Liam R. Howlett" , Suren Baghdasaryan , Michal Hocko , Johannes Weiner , Zi Yan , Axel Rasmussen , Yuanchu Xie , Roman Gushchin , , , , , , , , , , , , , , , , Yosry Ahmed Content-Type: text/plain; charset="UTF-8" On Wed Jan 21, 2026 at 11:27 AM UTC, Borislav Petkov wrote: > On Wed, Jan 21, 2026 at 09:45:22AM +0000, Brendan Jackman wrote: >> 2. The property of some memory being mapped or unmapped in the >> "restricted"/"partial"/"sensitive" address space (current patch's >> terminology: sensitive/nonsensitive). > > Why do we care about the sensitivity of memory? To the kernel it doesn't > matter whether memory is sensitive or not. You simply map it in the sensitive > page table or in the nonsensitive or in both. > > Having a sensitive and nonsensitive pagetable should be enough. And that'll > make the whole concept a lot simpler. Well, something has to manage those pagetables and that thing needs a term to describe the stuff it's acting on. I.e. we need an adjective better than "to-be-mapped-into-the-full-pagtable". Anyway, I think this will be an easier debate to have once we're looking at actual code etc - I'm still debugging my page allocator changes to support the guest_memfd thing and that code doesn't need to care about "sensitivity" at all, there's just one address space and data is "mapped" or "unmapped". So I propose we defer this conversation until after that...