From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) (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 E8A6C2652A4 for ; Fri, 23 Jan 2026 18:06:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769191596; cv=none; b=QfS2kHAiEQU4CAyT/Eusl3mtfHKkmR/dppSXFPxkYCuEN2YtB/1Z4Yey1nadhRtIajRLnB2mzVc94VsA4iPLk0JvdpIdhunlEte2O5OGVKR7tyuKurJ/YPix9ytJsYIrz+MsKSyytY7MUcqIY/SEIJYAEsHbhaEMrSf2aSR16mY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769191596; c=relaxed/simple; bh=HBMBI2gTN3EKvqTY78cLZchezunqrr5qT9xDj/LI76M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=c+9W08DKoIfVuiKI7KEzap3Y6CG1MthMObJb0MelxlN0Jyhxb5GDBp3x/w5gKv9FVfAuD+W2C0PE/BQb5bSxZxg7Ub5EOrFKS8oxq1w3sIK0udektDKaf0Zdj/miju4lZwVa4vhywY70DakoT/AuehTUVvPZdd/WKbuKfRRKlWM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=3CRGvG/s; arc=none smtp.client-ip=209.85.215.202 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--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="3CRGvG/s" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-c63597a63a6so741579a12.3 for ; Fri, 23 Jan 2026 10:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1769191594; x=1769796394; 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=5kWxxolVgEbWZqXlOySF2Dt4v7LfEshZxevNTBFqVG4=; b=3CRGvG/sSI7df3oq12VtjLJqMwHqmRpkF+4jTwEQvyOO0URokXcvYxH6GdxP9fr/Gc sTL8mama97DYoqPkOtO8rjF1REAaen2dlshfosSMNqfQ71SzXEZ8DdPTjTGjZ63JNEjK 1aUtqjpyBIoVM295vUkeegKoN6IJFa6UCj0p/cHFrKMVjsawRl5/eE5flQ8XaPaYlkpC AnhYHgDjIXpIv7by2aHRLusNP6CwMLWrPn3XH00RTODhTvgObietY4Wcvmt9ciwu4Yx1 osh3OUfSoKcbRh1IqxgnovRhV+9RDyYgShBclshzf7VcM3UfO8uTglUuK0JdjDvkmGW9 wXow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769191594; x=1769796394; 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=5kWxxolVgEbWZqXlOySF2Dt4v7LfEshZxevNTBFqVG4=; b=b3+LGoBdeb9FpBDvzlTLAVlZFZUp0kh+Csb1guS1uHR2JFhRTFS/rT0w7I5VB5Jtst f0vklgd5764KUKZ1P8cTQBVwDErRTJD/3ymB0mrWQ7AiAonPMyyhdFjJbFLMY8L2UeS9 mc0hClKA8gTsovih5c7Hg97xiT6A0OKP/H7nXA0G9FluZ+csyX/w3HwlKwlk79+0b7sy MbjtapXoYhgRK186KC89ZMLnhNBC50eSBuagjfLWxfvAago8TMRvOt/3RCPiBDVixFpm vfMWRW8xedHu0gXYIRrXbDGzVqUsdAGw5/RUgOjloNscYqGVDJ57bJ027HMpqSSCutOh uLSg== X-Forwarded-Encrypted: i=1; AJvYcCUici01piqMs4KP/93uvXh4T7WyhfKbp82x6C2yiCw1EPpmyJMJIdVofBeD3ifrocTnPOtxWm0BtUl3XZA=@vger.kernel.org X-Gm-Message-State: AOJu0YzMM6P3QRjRcjITRIfTYxRQRnxqNKwdIVUiRL1115lQwXkALd2O Ec/Dm5Fu7CiKdpftzJwk1fobrCHOSNUiQVkty1Q4JRBDaZtJ3zarkAjzYPLn34awZCvQPwInRkB mXPfmYw== X-Received: from pjbcp7.prod.google.com ([2002:a17:90a:fb87:b0:34c:567d:ede4]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:3d85:b0:341:8ad7:5f7a with SMTP id 98e67ed59e1d1-35368b470d3mr3144376a91.18.1769191594234; Fri, 23 Jan 2026 10:06:34 -0800 (PST) Date: Fri, 23 Jan 2026 10:06:32 -0800 In-Reply-To: <20251120050720.931449-3-zhao1.liu@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251120050720.931449-1-zhao1.liu@intel.com> <20251120050720.931449-3-zhao1.liu@intel.com> Message-ID: Subject: Re: [PATCH 2/4] KVM: x86: Advertise AMX CPUIDs in subleaf 0x1E.0x1 to userspace From: Sean Christopherson To: Zhao Liu Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Chao Gao , Xudong Hao Content-Type: text/plain; charset="us-ascii" On Thu, Nov 20, 2025, Zhao Liu wrote: > Define and pass AMX CPUIDs (0x1E.0x1) through to userspace. Similar to the PASSTHROUGH_F() thing in the first patch, these aren't strictly being passed through. In practice, they are passed through as of the current code base due to the features residing in KVM-only words, but I'd like to avoid stating that features are being passed through unless KVM very deliberately wants to ignore the kernel. As before, I'll tweak when applying. Same goes for patches 3 and 4.