From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 E28E6C13D for ; Thu, 27 Feb 2025 00:07:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740614834; cv=none; b=AGsKkX+CUoM3U++EG/3CzXp88301D/NN8HBqppooTJfogq0Jhx6NBIQzOnFAlWJ5G4jNr2cCjlY5Ul/U6/nv03qxer+1e0askQtspIhXDOHVjzxmVoi/WCR8mw/UuxZTw41gTIJThZHpcpniw6SeCNIrv1Va5N5H8U4Bpnx4GU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740614834; c=relaxed/simple; bh=D4B6RqVqfuec6aEWqbgto8zrx7weWVjEWYYG8bcKNos=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=eMQ7CMAQXL/y2jml/fwPWwBx8x+gXc/a9knmrN/+6nOspRpFBE2LeMasFCWnK03FKR04QYRv8nxAH9adluDtOnkT40XpuPO47+bjq3IXJXcHZ8FAtLO4as56e10NGV+8AYxyVty6vFPCT6UQA2ilYdfXLvEC8hL1781jLErfPFU= 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=GMzf77rB; arc=none smtp.client-ip=209.85.216.73 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="GMzf77rB" Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-2fc2b258e82so790353a91.0 for ; Wed, 26 Feb 2025 16:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1740614832; x=1741219632; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:reply-to:from:to:cc :subject:date:message-id:reply-to; bh=ZB0cspd/5m0HkuC6bg4fvEnYSCPsAZu6TqEcbVgoXbE=; b=GMzf77rBfEkBcSVKQXtQNuH8KZbiQSBsjybRyXP8LphTpDUPxpOJAa3Ahu56pNGDua E66/zFY4gLb8QdFZqcfwhTHJa/VctgoWITrXBJGvCYsck+7jDBaW9oGIwW36t5yC05gJ RDMvmbS8S/YKO40VCbk9KI2k1MuZFRP2cwfBlthXxp/4wc/z72lSO/YhEjC5WOrBIzdL P6EegLRGY8eSUrXnlFWfZ6VPeLyNJ1JS4l7Bamb4pLG4XIodk/3Mi25g/OyizFw2lMwQ BtkobSK9SSv+wokQvnRrhhfQWsZcOy+MqkjSLsiGnbIxwcXYnE55CYQF9++A5I1sTPQP 1LTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740614832; x=1741219632; h=cc:to:from:subject:message-id:mime-version:date:reply-to :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZB0cspd/5m0HkuC6bg4fvEnYSCPsAZu6TqEcbVgoXbE=; b=EUnPl1msMWkZ1kwDEFc6mLWh08zugMh4I4PKs24wbDZefy47RXCXqmOEg3d0RApfmf v6M1ojbqATHuLimxT7YYEHHMvGDmlXxIaP+sRIsWVVJbH0JajrvHQFOiaXyEgNvvv7Dy B3mHWW7Z/kbwMVrRs8+v12a2bnLP5Uf3fdxStwdnzFZmLJzgxPCNokaSNlMF1vRmdQ0S l9MKWjq14ZmE6TEh5tNY38n7C1XflPR0/RJVNb6o50B4v9XMejNaDhUsrAmo1BWCrVSP k2d4QA6GdAFTAl3iDv9aLdqS8HnIbrHfJfgWAyvTm2MFY475GafsB1fckZHHV0UtFrQb 2n2w== X-Forwarded-Encrypted: i=1; AJvYcCVHh29CvXvsS16EYgOaNthL472uWjnxTkJm8DigJfvvJLagG9dvVNptenwJJnzgGPItSqj0EcCe23ePyaw=@vger.kernel.org X-Gm-Message-State: AOJu0YyTvh6t6xw1GuIWoKIDPA0b7z+vXpO6ewijkie3SfS91XivAj4Z ByLrOhtdcvSXROLBTAZYkbHDUvL/dLLzl6FGZqgdreYP2HJjaVvh9oWLSZG92FvzQQpgVoeCShu Wkw== X-Google-Smtp-Source: AGHT+IFLmTwPjgqOOgNnm8DkijtX7ywqc8kVVhHgVPTQV1bQHt+O4eROdoV+XGiIwMC166yJJ+ovnayfhV4= X-Received: from pjbpa16.prod.google.com ([2002:a17:90b:2650:b0:2fa:1b0c:4150]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90a:d00f:b0:2fa:f8d:65e7 with SMTP id 98e67ed59e1d1-2fe7e2e105emr8719705a91.2.1740614832182; Wed, 26 Feb 2025 16:07:12 -0800 (PST) Reply-To: Sean Christopherson Date: Wed, 26 Feb 2025 16:07:03 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.48.1.711.g2feabab25a-goog Message-ID: <20250227000705.3199706-1-seanjc@google.com> Subject: [PATCH v2 0/2] KVM: VMX: Clean up EPT_VIOLATIONS_xxx #defines From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Nikolay Borisov , Jon Kohler Content-Type: text/plain; charset="UTF-8" Nikolay's patch[v1] to drop the ACC_*_BIT defines, plus another patch to add proper defines for the protection bits instead of piggybacking the RWX EPT entry defines. v1: https://lore.kernel.org/all/20250226074151.312588-1-nik.borisov@suse.com Nikolay Borisov (1): KVM: VMX: Remove EPT_VIOLATIONS_ACC_*_BIT defines Sean Christopherson (1): KVM: nVMX: Decouple EPT RWX bits from EPT Violation protection bits arch/x86/include/asm/vmx.h | 28 ++++++++++++++++------------ arch/x86/kvm/mmu/paging_tmpl.h | 3 +-- arch/x86/kvm/vmx/vmx.c | 2 +- 3 files changed, 18 insertions(+), 15 deletions(-) base-commit: fed48e2967f402f561d80075a20c5c9e16866e53 -- 2.48.1.711.g2feabab25a-goog