From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 0D19739B970 for ; Fri, 1 May 2026 13:29:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777642201; cv=none; b=pFJ0aVIKpaQMUxoojMYYVb4pvjWMdynxwUcV28KiqK2DTSeRvFnqAMebMkw33JNtxCZKLczSW22ptJZm5y36D/FrtBZzdWQUkLRnWAKofXm76X2Z5R0BB/PWy27ulYmdxByo4pfPoI9TDTqce8XXU9JC6rjY5HLIwyUKfREGQT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777642201; c=relaxed/simple; bh=QMAMQMcXmXO5iDgO9R7Ml5i1jurNhgR83adu1yh9MHE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Oc6EPByoWUVKfBYosJ/lGY6dAKvaKxfW0W2QIMs0II5eZbZgCCUCtt1oPjGZWLZ6wCoJyZSJTwBuFPFREDC4m/E20IcFtxMDJxwAmDBMzrvyDipWaeEvBjmjlEVDZiNG0cVj0zJJq7DRcb5FMOHRVDUJrokvCRsRaXZR6f+U23c= 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=UkTmP+ea; arc=none smtp.client-ip=209.85.214.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="UkTmP+ea" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-2b2eba42b8dso19183455ad.0 for ; Fri, 01 May 2026 06:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1777642199; x=1778246999; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=NyM2EguwA1qrtJl1DRIhILftf3E18FPrc3foabc2hdo=; b=UkTmP+eainjXuJ5Jvgjo05Ouag0yXCmBuXw/Gajurjcx0LulOS+bZnHscNCf9oy3X5 OcODUGb7+LpBYdBADMiVDBlOEhzFMR9A9TUxXra7A6RFwnsyqFABqgix80ZllGOok+cJ yEEW0Dsv/GCtPuXdTodmKHV2P9Y+nlILuOdS7K5XYSwA7Mzt4pP+ogz3wv00FqPWZWpd 9TLRWMNqQ5mR/lCPJmzmDuYImMXMUHftEpjNtUrsLqFRIps96jKrMvjxENz7oA/l3p0a MQOdcnwRb5ziE8VHTRu/TtZv3uMYhKtFfcpExj1bBesEW9dkOOSDxgwWogmJyLhqQKxm VUVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777642199; x=1778246999; h=content-transfer-encoding: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=NyM2EguwA1qrtJl1DRIhILftf3E18FPrc3foabc2hdo=; b=UtHDcpGaYCBDe8wBBkJC/VNg7+rb5XfYIMrvLA8tJUnwpf5OYG33AS1oywiG3ORSjQ 2z9cg82d7kxVmYhb/PhPDYF3uIwOm6cmpXOEhYleq+nBWo7X8btjXN2S7ZdVhi7Wnxmr 9YJcdle0s+BjCaTHHAidaFgqe1/T1UFaGwIWcJ+VETWME3DqrIR9WUfq8SL0J8atIS0R dphZZeNkN2U5XkWQJU/lW4wSEv3TEG796BmQo/4YOQM/wxmyH6Rsoe+21sRsnRSEqktC eUzF7rsnH3+B1COzWo9v8Niu7E4ad8i5NZyOJxoagUA3KXXmaZzj5UEStWH0sdwOQlPu dJsg== X-Gm-Message-State: AOJu0YyP0b8mWnummozQtAp2bGOdlRclblqq3f4z/q3EQSsE5aE/gol6 VakkdFWOuEwetNzXZX5AqUk8eEkW4aR1Scv9KEXXcrD5dwU6swnPnur5YkMfWcEZkNuWAOq23+y XChiWIA== X-Received: from pltk6.prod.google.com ([2002:a17:902:6946:b0:2b0:495c:f3ec]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:ef10:b0:2b9:4941:7f6e with SMTP id d9443c01a7336-2b9a2319b9cmr76970215ad.2.1777642199127; Fri, 01 May 2026 06:29:59 -0700 (PDT) Date: Fri, 1 May 2026 06:29:56 -0700 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260430150747.76749-1-pbonzini@redhat.com> <20260430150747.76749-25-pbonzini@redhat.com> Message-ID: Subject: Re: [PATCH 24/28] KVM: x86/mmu: hard code more bits in kvm_init_shadow_npt_mmu From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, d.riley@proxmox.com, jon@nutanix.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Fri, May 01, 2026, Paolo Bonzini wrote: > On Thu, Apr 30, 2026 at 9:09=E2=80=AFPM Sean Christopherson wrote: > > > > On Thu, Apr 30, 2026, Paolo Bonzini wrote: > > > Likewise, clear X86_CR4_SMAP to avoid that KVM erroneously faults on > > > supervisor accesses to an U=3D1 page. > > > > What, don't you want to more closely follow real hardware? :-D >=20 > Uh, I cannot parse this. Is there an errata I don't know about? Errata 1096, where the decode assist fails because the CPU tries to read th= e code stream with data reads and trips SMAP. Not a truly spurious fault since it= 's not software visible, but I couldn't resist the joke :-)