From nobody Fri Oct 31 11:11:02 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1749042195; cv=none; d=zohomail.com; s=zohoarc; b=B4OH8Rnk1g1iq3yfEjSanwXNFeHVDrBjyvPVzgk01UzmzhgNmObvYCyD6dgxcTviEm/epZ+GUUjPRHKiGI9Ea8kJjPXPQw5YiH0yNJxQ/9FcNTO/esw1qrqzvn4F69gzYvbiofdC2UdJ8APfW7lmmTijIyMoazqy7sO4k9pEvFE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1749042195; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=W+k2cOatHut62eiVD86m0J41TDAOoAGZL4LtoHPLDVI=; b=cUijHvjEVGplG2tLURWoWDaknOR7JZwXL/mK0JKz4GpGbgQwyxawth7LfBLkX4DMfVL10avgSHjqtTzBw4mDaGx5Om/Ws1TtgTKYs8AVqPzwElBChrihLfxh/VE419Bv33+XgDLSCWI1KIOf8aafHP3Bc438+OAxKc3NMKDvefI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1749042195173989.0476802048473; Wed, 4 Jun 2025 06:03:15 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1005539.1384991 (Exim 4.92) (envelope-from ) id 1uMnlj-0005Uv-JN; Wed, 04 Jun 2025 13:02:59 +0000 Received: by outflank-mailman (output) from mailman id 1005539.1384991; Wed, 04 Jun 2025 13:02:59 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uMnlj-0005Uo-Fc; Wed, 04 Jun 2025 13:02:59 +0000 Received: by outflank-mailman (input) for mailman id 1005539; Wed, 04 Jun 2025 13:02:58 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uMnli-0005Ui-0f for xen-devel@lists.xenproject.org; Wed, 04 Jun 2025 13:02:58 +0000 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [2a00:1450:4864:20::32c]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 3bf3507d-4144-11f0-a300-13f23c93f187; Wed, 04 Jun 2025 15:02:56 +0200 (CEST) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-450ce671a08so43956845e9.3 for ; Wed, 04 Jun 2025 06:02:56 -0700 (PDT) Received: from localhost.localdomain (host-92-26-98-202.as13285.net. [92.26.98.202]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4f00a02cdsm21890755f8f.94.2025.06.04.06.02.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jun 2025 06:02:55 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 3bf3507d-4144-11f0-a300-13f23c93f187 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1749042176; x=1749646976; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=W+k2cOatHut62eiVD86m0J41TDAOoAGZL4LtoHPLDVI=; b=Th2z/cC+344Bfgo/HWcL7PaB8cNNzDS9PO9Qj1PYih18meuX2Oulfdo7F7ZGo+hnSW 091qelnZsUXsbQDVmQC9kq8HCtNkFBKSQj/vQf0Y0v4LsftckUDhZfw2OYM0ldGP1aEw mEOL8u9MQLWdG6nZFfDtv9zZXbJZidMX2kVqA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749042176; x=1749646976; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=W+k2cOatHut62eiVD86m0J41TDAOoAGZL4LtoHPLDVI=; b=FWSRqyF/qeuSGcu4h/J0psEoTMgmLu6oAEKr2ZFklTJ1CP5gRVKMUy/0xvKpFeMGUR aq0JBZ+4SailAoepy39hbN9T2sent8noeRKzoDjHRtLDUKB7CxVG72FezVq6ZLmWmJ9e jbjjWbL+/jzdBAFE8x1myIyBYl6OMpqMB+PVxw55Cn46Eu0V3PI4NKPBI7xwCkz8Y3rX DYF8FgDUcE2aoTNOxzlpCeqGy9dwDWsXj8v4PxOqe6/ifhlc5I5e38CNc/UXyJ9xrfMU /4826MLrdH3wYj6YbjZDR9n1evpiDb5JdqyO2rfkGV/sHjIFZ3K4brY7i/mLdVwwUDF3 yv3w== X-Gm-Message-State: AOJu0YylqJrfslILYme2N3wZPtZ/+sxdyliHP05lWKwar66QeMaLTUHU IzXSe0YRZ1CactQW5KNRccMpXVJdKb6XPoir87dE5EmUdhl7otWPPW40cMZtXeFgFv1DSFALvi6 vEXB1 X-Gm-Gg: ASbGncuX3obt7c6tIVBUMDzabOLAwKz0xtVMp8F4pFux4G+F5cS+bDVzDuCd0OgClJq uQWpf5un8EqXowD7rnyk+ztgrMWlcJzGvYVFhWDbfxVpbqYwsWfxxAJezV+e7c5gHTHDV84gxn8 Hs/1qQPOPHzpqSjA9nw51C8cAEZtNIhAzui9o1034unhKXLPBeR85m39uEqh6qViSQHDE3G/p44 Ydfbm99eS4kdidn68e//knBAIiuX8ukMELVCyVx7pKB0eHsygMWtVLTZrDlJNr3YvYngC+7Stoh zYBummn2QQarAKZCFvwFm1LrD83xODc9Uhg6xCLieBcIKZ3j6aq66zRS7wqYmTeTlh2xamU48F9 tQzfddWRBpaldkHX+5orv4h93 X-Google-Smtp-Source: AGHT+IGxqKWgRu7Fty1BsVpcQl50CvKjUPbJmvS6U8jQOQI5ofW1ncRC47tjBdkrHdEe8gbrIVD7OA== X-Received: by 2002:a05:600c:3151:b0:450:d586:25ad with SMTP id 5b1f17b1804b1-451f0a9a4b2mr23571995e9.15.1749042175862; Wed, 04 Jun 2025 06:02:55 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Aidan Allen , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [PATCH] x86/hvm: Process pending softirqs while dumping VMC[SB]s Date: Wed, 4 Jun 2025 14:02:53 +0100 Message-Id: <20250604130253.2805053-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1749042197484116600 24 guests with 8 vcpus each is sufficient to hit a 5 second watchdog. Drop a piece of trailing whitespace while here. Reported-by: Aidan Allen Signed-off-by: Andrew Cooper Acked-by: Roger Pau Monn=C3=A9 Tested-by: Aidan Allen --- CC: Jan Beulich CC: Roger Pau Monn=C3=A9 CC: Aidan Allen --- xen/arch/x86/hvm/svm/vmcb.c | 4 ++++ xen/arch/x86/hvm/vmx/vmcs.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/svm/vmcb.c b/xen/arch/x86/hvm/svm/vmcb.c index 4e1f61dbe038..839d3ff91b5a 100644 --- a/xen/arch/x86/hvm/svm/vmcb.c +++ b/xen/arch/x86/hvm/svm/vmcb.c @@ -12,6 +12,8 @@ #include #include #include +#include + #include #include #include @@ -246,6 +248,8 @@ static void cf_check vmcb_dump(unsigned char ch) } printk("\tVCPU %d\n", v->vcpu_id); svm_vmcb_dump("key_handler", v->arch.hvm.svm.vmcb); + + process_pending_softirqs(); } } =20 diff --git a/xen/arch/x86/hvm/vmx/vmcs.c b/xen/arch/x86/hvm/vmx/vmcs.c index 57d49364db56..57bae6679dd5 100644 --- a/xen/arch/x86/hvm/vmx/vmcs.c +++ b/xen/arch/x86/hvm/vmx/vmcs.c @@ -2165,7 +2165,7 @@ static void cf_check vmcs_dump(unsigned char ch) { struct domain *d; struct vcpu *v; - =20 + printk("*********** VMCS Areas **************\n"); =20 rcu_read_lock(&domlist_read_lock); @@ -2184,6 +2184,8 @@ static void cf_check vmcs_dump(unsigned char ch) } printk("\tVCPU %d\n", v->vcpu_id); vmcs_dump_vcpu(v); + + process_pending_softirqs(); } } =20 base-commit: eb57fe072232c9836d085020450ce1434b21a819 prerequisite-patch-id: 32a8746877e6b92075be2f022dca25c6bfa6f31e prerequisite-patch-id: a048b84683314d3a731d79fb3cb11406afa29d7b --=20 2.39.5