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 0FAAF28507D for ; Wed, 8 Oct 2025 15:55:25 +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=1759938927; cv=none; b=VpeUzeb2vzfg4AUKi0HaLnR/0mmBhAC7kADn+6jChj5t7BUf32rQCZ/cYlAHbNeP7Gu5fQcUlBnw/tnbbJYEccGASPlinAVxRckdHoDFi/ITS8aEqcAegLuKnvMCVlqlfbmWKGVGlgqv/d5Y3+T2a9Bo8NWvSAUSUNxdmw+QNMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759938927; c=relaxed/simple; bh=85/mm3sXpOoNOn6cTJ/JXyXBRwl6do61EpL+5QUva/0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=bYhXyHSCF9ge8em0T0tFVMDUunn+xLU1H7f/6gtGqt2SIRM9NFV+myhW6+xLQuqTGL/gllJNHOn/iBb6Ff+qIkjFtV7axFRBayCp30Sj+vV51eGaO+MXYvZhFM7bpVi+Dm97z3X4JH5nQRlFCjK7Eh0aqIz3+AlVBPAVXWBl3wM= 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=Rmzgu+5J; 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="Rmzgu+5J" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-27c62320f16so88215855ad.1 for ; Wed, 08 Oct 2025 08:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1759938925; x=1760543725; 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=yE/1NjviAjYgzvKEBWocmDsuG1eu4K2fZd8EwARCmAo=; b=Rmzgu+5JNaP/UN9JgmylzNruOIukS2R/xVk7j7Iqnnhl7MKPZ1UjPISJYpLxpxV/6u s+lQHSnOnijkTV0g2ym7gBYtC7eJsR7CAQGVFVR0aNCjeDWVu1a5MpmtRGFhw2re+oek FDQ16zrGEgJr3qBS2LnUS7Gctro8DA/G8Qys02TF0kqGX3R94iL5ZkJJnpdOHD97Xa+l xOVX9Gzja6xl2NIO+mWzGnpNeFTqEwdNiJ/FnK94+nxPN2bDNqZvp60mCCtF7gAx8xnE GicmN0Fa8TLdlu+KlUx2LU5sZHiA5CmaQ++OO0UfqWJPo2TQrcPwwYFQ0CxlOh0gwS8k WuYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759938925; x=1760543725; 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=yE/1NjviAjYgzvKEBWocmDsuG1eu4K2fZd8EwARCmAo=; b=cjHGrGcm6DbB3eUt/pc+Er8qD7e2RJL22jauuR8o+Cd3nBLhhVJmS4qOd1cTh2iLA3 TS4hoH9JXe/njjoogIDkNncPNqVTYDhiv+zUMnJJ4fGsDTDvFihhSJ9iaXm41DQf0oUO BRbggBWwoizwtK/KEh9xtAhpcA8WggK4IiNwIhcKDXKiawRB111WNiIMi8RzbpN/KP/L PPcv4UBx3NmyCJ8vxlJU+tDPvsaD7owvQJMnRxOisNI9p/IxYa5OxvsVeN/Iiuh1Qiro xW62pFeiYskLKqD9jatT3xUko2hoTwPP4sKbQfSzkfXK9a+FX5pyV+D+ICp3s/c1hbvo NnOg== X-Forwarded-Encrypted: i=1; AJvYcCWJTz4Mg5HkBu359SEpgCUp9cxt7TUNxal63DU/0HN9HeDufF1NwNnBK1ah24V7nnPCwls=@vger.kernel.org X-Gm-Message-State: AOJu0Yz/2eCXpN1x3E4LU54XugzD7ME6NPCHDAojnWBzwzJ01Ca6KNuL n0Q1WEHiwIAAxh4lqxrm9j6kR8hA+VZdpiL/GR7Zxa1WgLl4+OtJUBr4RPkB2fPGjw8R+Cmm47c V/R9stw== X-Google-Smtp-Source: AGHT+IHNZ9o1aucHiV07bHDBIvskxFmukfMK9SZ5tpZZEnJ+tyDCdecEFDLxuqTyrcbJu7v6jlO0OKadLqQ= X-Received: from plblv11.prod.google.com ([2002:a17:903:2a8b:b0:234:c104:43f1]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:ac7:b0:269:9a8f:a4ab with SMTP id d9443c01a7336-29027321d6fmr43055485ad.60.1759938925410; Wed, 08 Oct 2025 08:55:25 -0700 (PDT) Date: Wed, 8 Oct 2025 08:55:24 -0700 In-Reply-To: Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <539FC243.2070906@redhat.com> <20140617060500.GA20764@minantech.com> <6850B127-F16B-465F-BDDB-BA3F99B9E446@jnielsen.net> <74412BDB-EF6F-4C20-84C8-C6EF3A25885C@jnielsen.net> <558AD1B0.5060200@redhat.com> Message-ID: Subject: Re: Hang on reboot in multi-core FreeBSD guest on Linux KVM host with Intel Sierra Forest CPU From: Sean Christopherson To: Jinpu Wang Cc: fanwenyi0529@gmail.com, kvm@vger.kernel.org, Paolo Bonzini , Xiaoyao Li , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Trimmed Cc: to drop people from the original thread. In the future, just s= tart a new bug report. Piggybacking a 10 year old bug just because the symptoms= are similar does more harm than good. Whatever the old thread was chasing was = already fixed, _10 years_ ago; they were just trying to identy exactly what commit = fixed the problem. I.e. whatever they were chasing _can't_ be the same root caus= e, because even if it's literally the same code bug, it would require a code c= hange and thus a regression between v4.0 and v6.1. On Wed, Oct 08, 2025, Jinpu Wang wrote: > On Wed, Oct 8, 2025 at 2:44=E2=80=AFPM Jack Wang w= rote: > > Sorry for bump this old thread, we hit same issue on Intel Sierra Fores= t > > machines with LTS kernel 6.1/6.12, maybe KVM comunity could help fix it= . Are there any host kernels that _do_ work? E.g. have you tried a bleeding = edge host kernel? > > ### **[BUG] Hang on FreeBSD Guest Reboot under KVM on Intel SierraFores= t (Xeon 6710E)** > > > > **Summary:** > > Multi-cores FreeBSD guests hang during reboot under KVM on systems with > > Intel(R) Xeon(R) 6710E (SierraForest). The issue is fully reproducible = with > > APICv enabled and disappears when disabling APICv (`enable_apicv=3DN`).= The > > same configuration works correctly on Ice Lake (Xeon Gold 6338). Does Sierra Forest have IPI virtualization? If so, you could try running w= ith APICv enabled, but enable_ipiv=3Dfalse to specifically disable IPI virtuali= zation.