Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp787832lqm; Wed, 1 May 2024 16:19:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDaeL+juQfVvx8VLvWU5XM2rRR9w83+zdJoxGTo8yCH4eMf4A1pTLo60I+wWlPFDXktR4jG/ZwcxjzP2Cql4zpwSCdatK6WIQaN0Sk9Q== X-Google-Smtp-Source: AGHT+IGUvjmrVn4FcubyiwU18B420Ex6uOPlMEeIZEoLNXgpN/HzNwske9RZIizRDgKt6VSukpCo X-Received: by 2002:a05:622a:1486:b0:43a:ea67:fe91 with SMTP id t6-20020a05622a148600b0043aea67fe91mr356650qtx.52.1714605556286; Wed, 01 May 2024 16:19:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714605556; cv=pass; d=google.com; s=arc-20160816; b=x1GgwvOvmCpPZQ1Lodv8u/ZaZCR4KRgmuChYFSqB9YijJgqhs1N3uFRj/45RfZzIWf dd0cKRCBw0IUdItdine7Yh7R7TkCPAZEyErCwq+lUM6KpGOdtrw8bOGMbvggW3f2OWyS QrwzSSyWr4BXHYV7Jw2AmpCLT/E+QApRfmd1MMkqcSmI7U58uhE6hbcOohDqgn3kl3mL GR4ATNlsd8+lSe4xvzmdRYLlsfa67CWqIpuO59d42Z88w3QJ7c7/SbEarGKj9RkOuowX zUKgYgrhiZrTx94TuJp0A1hhj8LU30WtIMkxprgN0RRCITkKa3MguM4T/UeMYRhcuKgI jZWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=8I49xdD+d9776Vt2j9z1NeaJ1EuBZRI/KuJy9t3rDCU=; fh=1sGZ7QlIOOpoYyrjGcSPoN+MZxXiT+oRQCRrlW6AZnY=; b=rEqJxOD74CHUSV/qZbip8gAZN9Cy6PfC7s4AfLc4NOTxarXVZU91sUmzpphnC/z8sV DrI+EwMCHpM+7srcVx2hBvBODjFvn2SRufa/KT1sopMSkyN5Zdw5lgMEmbqEOV8woZyY /20F9x4kW2PY1DLM6YDQ4ocyHYPcI7C2sqpO92I6Zwzqs9PLlzHhXJ3zLv5HbDNLXhrh J231fVpikDgAVREe7PTK2s9Sjw76XAik6NbxZOgDQKLsWIYwONeMS4ccUucoF8MHbM+l 6zlPUzS6sGQT/lohtTacWFyDd8L15jg79Zg/bm/AGtYmEVTIHmSipedByHcr9NsL53Y9 Hlwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="JZPfk5M/"; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-165831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165831-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p18-20020a05622a13d200b0043af2be0758si8019032qtk.382.2024.05.01.16.19.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 16:19:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="JZPfk5M/"; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-165831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165831-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 052E11C20FB1 for ; Wed, 1 May 2024 23:19:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8562B168B1B; Wed, 1 May 2024 23:19:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="JZPfk5M/" Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.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 886F8165FD6 for ; Wed, 1 May 2024 23:19:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714605545; cv=none; b=sht8YEOyPdrxFx2bn61QlMQyAxBLPCoQcMHE1D6mOfoDujgZlNsW7SLfAwEL6CH3HEQbmzwLPO6G1rq1nm3YKu/xMmBiguqw6Kc0IGjkT0D0DjGaq5w2vMEXd6Brn/G5O3pQFo6F4aLgePGeg7379hOj9XwU2zmsAOwByQ7o+O4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714605545; c=relaxed/simple; bh=gYC/W2xaDFXJYpjFLqNWMFw+2VXkrn96q+xybr/GbjY=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=nLCxdLkEIF3F6zcXL/3PunA0A45vfRHnpMtUoOm/qMKHuKWMD8w1nNt5VRDAEz/DlltOCAkzZs8zFqIyE4cESmIY1T+8V1cEV1g1D/UUNYXRxrYZkS0w970qlboyKymN08SISnUjNgwFSFdqa7TVya+hwYnincW5VY+57gneyY0= 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=JZPfk5M/; arc=none smtp.client-ip=209.85.210.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 Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-6ed25ed4a5fso8344873b3a.1 for ; Wed, 01 May 2024 16:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1714605544; x=1715210344; 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=8I49xdD+d9776Vt2j9z1NeaJ1EuBZRI/KuJy9t3rDCU=; b=JZPfk5M/Qmk7FhXmvLH8JdHQzpXDe/XqwwJzd+RCN0cq0RTw2YF0/wyLZ3Mps3uD9O 23W3ZaQKi5VPzO0B2iiVj3ySDelBpMWSE2jc0F0nmy0vOKRg+P36X5Eu78ocqJgKDkPM avaNGkNyw9RpqK3mzsEGPRI7Zq71C/dsTVC/y1yLAm30E13qvLFc+t9UHT7928oktLOC WapFIL/SzOuDk4LOgWY/qfBOF9aI1FbQgIB6USBCyBri2gZf/ukCUxCv1jSVMf6Ol09m McE3ZSrAw7t8/ogY0ef0U7Z4npojFrB8FslzMv3p4Fv6mrqcKVtR1aiqJe/lATQUJmRP AHNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714605544; x=1715210344; 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=8I49xdD+d9776Vt2j9z1NeaJ1EuBZRI/KuJy9t3rDCU=; b=oD6Gaz4F6RxvVa+G4j0c5mRAF9/gk7smefk4NgSGuHT/SGOk7bLslFteN/JXdLjcEI qyxPIG8yDEDYi+yw0Ob8/Eu1b6rgRgmn1jWw2MHAenJoXbyW1q8XOFICynla8DG5fv4e 1/D0YK0fn5Rz9iR8m2SeX2/SJemXvn0MdUfzT/n5xbqgoFhKOL0BOvuAU/FqwbOQEQR7 Km0UFGwzmzkkg/BRKJHAENLL9TyqyvHgwntxStqZabDOZXnh1xBoDSl9bbA5nISxPcUD R/8NJ2/+HmbFRLk8oEaQ3KYSJt0gCwHefVwPlJZLpsp09ZA4VcjUvkLnH/+bu4/Kgx/O VG4Q== X-Forwarded-Encrypted: i=1; AJvYcCWt8MZu13MkXg6ekz7kzgbMPXSyEYWGTp9j2+eN6CWG/QkUZaoQ+taNMEgqf3I5GFIR/3+5//oA07JnhFy3YJ/2+gfWrkJ1YU0mjZ7O X-Gm-Message-State: AOJu0YwfX9ZQoHc3H1Gi1cZmk4FGIgXlzUXbg/SJ0NZmr69u2OTGM+Hs 6GDaq+x2z3rWpgsUy1mi9leBJkp0exwxpj+Zm41QxOYHJuTPo7FAVbdDWKXOm1RkhdiIV21lY16 LjA== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6a00:ac5:b0:6ec:ceb4:d9e2 with SMTP id c5-20020a056a000ac500b006ecceb4d9e2mr336913pfl.0.1714605543866; Wed, 01 May 2024 16:19:03 -0700 (PDT) Date: Wed, 1 May 2024 16:19:02 -0700 In-Reply-To: <20240219074733.122080-26-weijiang.yang@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240219074733.122080-1-weijiang.yang@intel.com> <20240219074733.122080-26-weijiang.yang@intel.com> Message-ID: Subject: Re: [PATCH v10 25/27] KVM: nVMX: Introduce new VMX_BASIC bit for event error_code delivery to L1 From: Sean Christopherson To: Yang Weijiang Cc: pbonzini@redhat.com, dave.hansen@intel.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, peterz@infradead.org, chao.gao@intel.com, rick.p.edgecombe@intel.com, mlevitsk@redhat.com, john.allen@amd.com Content-Type: text/plain; charset="us-ascii" The shortlog is wrong, or perhaps just misleading. This isn't "for event error_code delivery to L1", it's for event inject error code deliver for _L2_, i.e. from L1 to L2. The shortlog should be something more like: KVM: nVMX: Virtualize NO_HW_ERROR_CODE_CC for L1 event injection to L2