Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7837600rdb; Thu, 4 Jan 2024 09:08:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEeaw38XjMP8xM1YqE9QtoJueqS6F4HGp8Ffx2Fw7g5cW1XTjSs6W/gUNDXqUxOTslqZ/a1 X-Received: by 2002:a17:903:22d2:b0:1d4:cf2b:6bfe with SMTP id y18-20020a17090322d200b001d4cf2b6bfemr982876plg.0.1704388093969; Thu, 04 Jan 2024 09:08:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704388093; cv=none; d=google.com; s=arc-20160816; b=ezHd0yrQ0qlHMwR68TNQYfhblbCchG1zFthnvskB9SZ+4/Fy3ngXPiwrHrCaQNqroy JLvUbKwynUKr2PVdAjCaMJ8t4sr/YtadpR3/9lQzwZaTFe1yLFMbpngl0256AIcbtpqd 5WKfvRDztxKNdwD40MWPJheirvSzwp5+ujyIQ88lz+uo48Fd/8PLXU+ahnVzdEZ+s3u8 nORDDnlycmi08ILm5s613NiVU2uHk4gEqv+eoDj7x2c7tAEcbPH0O2ItzaGuIsup2aJ9 me0yaTXNHSBz/zRYiXbJty8B75zf4ia29HwMKtlh+lEzhsNRyMclsQc13FtKEYZwpBB5 hD0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zxfcbWmZQwK1Fh40oUhvBgx2kAlaLPwmS6z8MeTtUVE=; fh=W8KyhoD3rx7sOm5Xp/OwR6+ra1LkLqMtQQyF3X0newI=; b=OWRed4e1lZzekadDcJF0rsuafy3tb465lZCmESkN0WPsFLdvVoiHvThzFtKsGyQcPT F9f89Sn2Ket9SMTDM2jGCuAkwKC/gZAQd2T4glnKsO1tdKvtNE0xezsnCHsyJILj95lt BH4EOVSZyOc5FjaE3Ix43xsZAZX5B+Qm7fyeWoXcp2C+tOrbIvpnh0v36+o8TWYxzci8 aOTR/RcT3JcHARCA5UrrFgF6RO2iPH8YQ94TAaJXeJMKu5CM0gqGRPqTuZhEVQEVNAcu QvnMvIrdBa66qA6SaTieDrkswld3/lr5T+jjlj0TEv0fhLby7iL21cJnjheS4m0zKOEW yN2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=l5YIbXbQ; spf=pass (google.com: domain of linux-kernel+bounces-16986-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16986-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y21-20020a170902ed5500b001d04dd7cd12si23341380plb.194.2024.01.04.09.08.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 09:08:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16986-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=l5YIbXbQ; spf=pass (google.com: domain of linux-kernel+bounces-16986-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16986-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9F86228316D for ; Thu, 4 Jan 2024 17:08:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71DB62557B; Thu, 4 Jan 2024 17:08:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="l5YIbXbQ" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3759C25560; Thu, 4 Jan 2024 17:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704388081; x=1735924081; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qPUzoILDd3+YEP2nl1nUfeLW8U963CpH72/0YjAzmlo=; b=l5YIbXbQgXwHC7lMnxYPVkP7JwAllc/RZILLL5Q8nkv6iKiYwMaukAdZ J82zTo5YUdftLlkeElG8WYjJXgqEU0Xey+i7fuOUe2Mu303mA1vLuxyuf sUnPgB651aEkhhZ0dHCEglNBfNZdiyp8OYcUKzx+vsfnfBF4//6hznZ7v QDcEoLxAoTOHTdEk3CeXi8VMKcvqsixonETBhMNdObnOFnRNQ86MAoRFf jh89F3RgxXtPkVsOr9F/8110Gz/KP6uDcyD4XFvryCfbv2iQy7OUaIIJT gxzOHYZOQkz3Fkv2NMo6JF2ekBIkeaZrpsKTqBdbEQpaauubbyfw+NS4R w==; X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="4409440" X-IronPort-AV: E=Sophos;i="6.04,331,1695711600"; d="scan'208";a="4409440" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 09:07:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="780475868" X-IronPort-AV: E=Sophos;i="6.04,331,1695711600"; d="scan'208";a="780475868" Received: from tassilo.jf.intel.com (HELO tassilo) ([10.54.38.190]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 09:07:57 -0800 Date: Thu, 4 Jan 2024 09:07:56 -0800 From: Andi Kleen To: "Paul E. McKenney" Cc: Paolo Bonzini , Sean Christopherson , Like Xu , Kan Liang , Luwei Kang , Peter Zijlstra , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Breno Leitao , Arnaldo Carvalho de Melo , Ingo Molnar Subject: Re: [BUG] Guest OSes die simultaneously (bisected) Message-ID: References: <3d8f5987-e09c-4dd2-a9c0-8ba22c9e948a@paulmck-laptop> <88f49775-2b56-48cc-81b8-651a940b7d6b@paulmck-laptop> <77d7a3e3-f35e-4507-82c2-488405b25fa4@paulmck-laptop> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: > My (completely random) guess is that there is some rare combination > of events that causes this code to fail. If so, is it feasible to > construct a test that makes this rare combination of events less rare, > so that similar future bugs are caught more quickly? Yes, I tested something similar before. What you need is create lots of PMIs with perf (running perf top should be enough) and a workload that creates lots of exits in a guest (e.g. running fio on a virtio device). This will stress test this particular path. -Andi