From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (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 8A6653612EE for ; Fri, 29 May 2026 15:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780068021; cv=none; b=pTTQlrabsTtMgsTxv1X6WQ1AraUh0AC8fMjTAoGRW8n05N2KGJgu9GdZjOxs9xG+5q8TVZr8cdBpBp1XqBT2E7c9Gjj63XBqikG+QZNbSj8uHUIT4sMZ2iG67OThIssh6rymgJR227eMEi9rAt96bjb7Dp6zg/TPwNyZYdWLhHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780068021; c=relaxed/simple; bh=GgWICAJ6ULXuhZrnJ1GDvr4rACkDtSLJFtJqrYBi9o0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=PxYqVpnVU2MMw377ZZSxe00ICvbeYZbTsQ145/6NRs/GWx8lojzxg1oPNw9fhFA8sAlh8OLZRSVfU1UrNWV0EnAPBGhUuOlnaBdzC0aokFZDBobmwmOaa4EDfP//DqAvhNu3YjlKqV8BAZO25C85wOA1rs9oSqtWcl5q1263l+M= 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=YAgiL2pc; arc=none smtp.client-ip=209.85.215.201 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="YAgiL2pc" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-bce224720d8so7200840a12.1 for ; Fri, 29 May 2026 08:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1780068020; x=1780672820; 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=DJMTj4VYzeK/iqbxUOSPuBGx3x19/ygx54Vai3TBl/s=; b=YAgiL2pckSZ29Z97cGGdkKcrCHR3T3Evnm7BJqUq7YPzn3DY/mdZ2v/CG2OliPlMIu gxBM8E6VP/vs1eRD31bvwiqCrfIQmzW1qJcM/bVckX1Ke6tfaQACSuINAmfyxbv/aeiA iiuUkG7o/8CPZiSafvjpogYn6y+dUggLtiajWc8asTnxWtvltKkfAGxQGzYnA4Ez1R5z 2XTTdZdLWi7avkF9432dhodpmjwr51SEixaCtRmILAqTG1n09QH+WuxuzwnLJe7vzXDj wD44ttqfZrSiYOfdsXWhsZj/0KgHvH397Q1qU1ADVanOn++0a6fg8j/CYVyaVCFTlI++ ip3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780068020; x=1780672820; 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=DJMTj4VYzeK/iqbxUOSPuBGx3x19/ygx54Vai3TBl/s=; b=HCTahzE9Kn7oCWq921dpcgooh784gXPTW8d20pw2gyV9WGpZTW/HbZg2fsFcqCLeyk KJOCHgbDEgkpzZMNK3lg4Z+Jv4VRvGr1pM4OBfau8QYsBJ6upcUEEPpVKyWiGkd1RqEy IGX2FrNaeFj1y6IOp5ts4YasxhcPfMQItz+Sg0Uty6FtMVVYlrKrTVjb5VMkLUvvNS9C JgMZ2DsOwSGKTKb8spcoy/4Hj9BZC9rkfYHbwq8UEUwNihGLiVt+K5QQyPP7MP4nysgk mZM7rm1wozGR0J8Wxk2SkPrJwrlmQWX7NhxaR4IwsKt9SXPGNp69YMLB4VxuNnHCoNYn 8Cvg== X-Forwarded-Encrypted: i=1; AFNElJ+O+w7HB6VO3SVcs0X8PiuQipyRXrPHbrNyPJtSAu/E1DMP4nbcgFLnXkQeci3+/DnT2Hw8w+84mxz0Ahw=@vger.kernel.org X-Gm-Message-State: AOJu0YxDwdJTcEX2JN8Hfj8CMX3+7t6lAeCLLKRlFs8RpOdRG/9FoMfp FyDIKBMTjGqV35V7YC02+hRM1Pyo7AK6rJvmdVfpnrnPjb9BEV7rKAFgALApPYgCrarPqXwEr/l ZhkMhRw== X-Received: from pgh1.prod.google.com ([2002:a05:6a02:4e01:b0:c82:7761:9940]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a21:730b:b0:39b:8905:4e13 with SMTP id adf61e73a8af0-3b411be88c1mr3904729637.6.1780068019640; Fri, 29 May 2026 08:20:19 -0700 (PDT) Date: Fri, 29 May 2026 08:20:19 -0700 In-Reply-To: <20260512011502.53072-19-chang.seok.bae@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260512011502.53072-1-chang.seok.bae@intel.com> <20260512011502.53072-19-chang.seok.bae@intel.com> Message-ID: Subject: Re: [PATCH v4 18/21] KVM: x86: Expose APX foundation feature to guests From: Sean Christopherson To: "Chang S. Bae" Cc: pbonzini@redhat.com, kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, chao.gao@intel.com, Peter Fang Content-Type: text/plain; charset="us-ascii" On Tue, May 12, 2026, Chang S. Bae wrote: > Add the APX xfeature bit to the list of supported XCR0 components and > expose the APX feature to guests. Update the maximum supported CPUID leaf > to 0x29 to include the APX leaf. Almost forgot. For the shortlog+change of this patch and the next, the changes don't expose APX to the guest, they advertise support for APX to host userspace. This patch also adds support in KVM by allowing XFEATURE_MASK_APX, though I would argue that belongs in a separate patch anyways. But the next patch is a pure "advertise to userspace", e.g. a VMM could enumerate and expose APX_NCI_NDD_NF to a guest with or without the patch.