From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) (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 D95474F30E4 for ; Mon, 28 Sep 2026 17:01:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790614918; cv=none; b=eFOgYjIPnMpEVfD2oGnIkvzsJ7FKSNf0ucuX9hH0sDP8FjPMHLXYyUawmIpPJx5SpvmaEWGNBwTiy+KuiadvnubouSFjpxtyRSqC+GWlvfkBNGIjswHZjUAJ2Hv9gJftOqY7V1JqTnjbsT9RwkHt2ZPx6IaSbDy6OsR7n9v1BVA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790614918; c=relaxed/simple; bh=aMzM5fzvbcSHzOHJA1huRTbo8w52WJS9I3sDGwRRaqE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=dpKC6A3lmpx0H0/KUS13a2F5Z4+IAxlFm1uibjQyRpSdFGLRLUbGGh8WK5yqV33LDfj1cLBch6bmiOgEWnxSndIZxwhFMQJFkS2xlp+Qo2rhg+1arqrDh0iXAo22WN4+rqiH20hHQCYgYWCugLrQA7vPl3VClVDjXlGbgo9WVXA= 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=jmna8R/M; arc=none smtp.client-ip=209.85.215.198 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="jmna8R/M" Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-cb11535e6a1so1860127a12.0 for ; Mon, 28 Sep 2026 10:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1790614915; x=1791219715; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=v5MkOtLdmaXNujQwpeiaeYMUIR7StZN5Q2iECEiW9FU=; b=jmna8R/MwKmWsqL9annwcXlGPhnQm0L2baB9vv3hMTpLNPDZORuLkdvKxkik8+3COL OhVQfHg9+n7PwqQqCFAQtO0Ou+EhNCZxAsSlFt+1iCglHmQKzkVcxtEpupFQplFRRvuq 6/dtHv6ngD6pF6PlSL1IgO65SwNeBAbaMrWOldE0MWxVg+j0ZS8/tYPBa9fW7ZWJTxVn tVqYbgZMRsKz60Y2vifbXDgJEzobd4AMRE9suYdU7MQM5vUmKAb4u6TfpVUu/AD06Pbt MOWn1T/kAYdqyQV2zXdK1pLHAy42KEp/fQDlwd0ty48hYXeP2FxWZ+QsABtfTwpJadEl 6KBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790614915; x=1791219715; h=content-type: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:content-type; bh=v5MkOtLdmaXNujQwpeiaeYMUIR7StZN5Q2iECEiW9FU=; b=zrJKAaLhB6w1+YW9ozuDALPeDF2yuS5AcOr+eNHuLOqS5MIy7ztb2S5IRvBKZx7uj/ LFUGIfLbrjLptK5EQXf/wD/VfbpMcxGSKK7ivIfjsnCigFFJbTALNLEDeuN6R6n8FWYG QpjJyEiFZLqruz1twGL5wwRt8MSCIt67RcQlpJOk58KSQrrJCpSNkQgI7yqc7FOec5SX mReyWd2hSyglG266f0mkSj/M5yBLwOe6thUPuLNA/o+vlYnDriTzgbEJzw3CtHfw3VtM qI4Y2lfVGIQZr2hTUVlV0ZOASI4t+D0tiDu05VG4l3qgDJ1Zj7K9y3xRoTJ3YxmLAkDr mA+w== X-Forwarded-Encrypted: i=1; AKwUvBwf2UgHH1faSmBCT9gEmmyhXNCz8HhHLPFaR/f9jb3/6hmbiw9UcT4eey2FIMm815z5aS0=@vger.kernel.org X-Gm-Message-State: AFq9FYKojtROfi+Vb+CYEOVflFeCKAxvbElPIudzRgHkmsjdHcS51yqz nhyv6io7SlSTGCCvA1p1+0RFL+6ODX/0acQHcoRPhLYkxcvBiQeiTefhY1HoqFhsr1d69hUwN0r ZkjkLfw== X-Received: from pgde25.prod.google.com ([2002:a05:6a02:319:b0:cc7:9ef7:92eb]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:270d:b0:3a4:80bf:af6 with SMTP id 98e67ed59e1d1-3a480bf0b5fmr1559457a91.30.1790614915254; Mon, 28 Sep 2026 10:01:55 -0700 (PDT) Date: Mon, 28 Sep 2026 10:01:54 -0700 In-Reply-To: <20260926061135.714158-1-pbonzini@redhat.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260926053253.195597-1-pbonzini@redhat.com> <20260926061135.714158-1-pbonzini@redhat.com> Message-ID: Subject: Re: [PATCH 00/11] KVM: fix issues with stale control fields From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Sat, Sep 26, 2026, Paolo Bonzini wrote: > > Fix two bugs where the guest could do stupid things on purpose to > > cause problems in the host. > > > > Patches 1-5 cover cases where actions done through VMCB control fields > > have to be redone if VMRUN fails. In particular, failed VMRUNs can > > cause pending TLB flushes to be dropped. > > > > Patch 6 fixes a case where eVMCS execution controls can cause the > > host to use a stale MSR permission bitmap. Patches 7-11 are tests > > for nested x2APIC; don't run them on an unpatched kernel. > > In addition to what was reported by Sashiko, the test does not pass on > SVM. Fixed as follows: Thanks for cleaning up the mess! I was definitely getting too greedy trying to get bonus coverage on AMD (and I've been ignoring the SVM failures in my local testing for an embarrasingly long time).