From nobody Sun Feb 8 23:19:28 2026 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=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1632861074; cv=none; d=zohomail.com; s=zohoarc; b=Fqx41j5N6COvGOSIxLZDf83dIvGoEnADW7yPI1TZQcquuQt3hLBmN5bKZsAvnkSRx1Ekb+V+Iow6DzKYgGnx5n5yjwRKhmZG1IwPNjzWLq7QrbqqPS2XkW1noh1djvAU52S0EDYpe3tzlWFjsv8vMbBcr61wORwf3niFINNp8Ys= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632861074; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ymbhtWJDlmnuoU0qSCptZumb6o8HnxQbmRZItmihOOU=; b=aL1RPHC7XBP5oiIG2Dk/CszzAwTr4Nhvy1GqQ47WLc3cPYa5NVsmsx2h+yS2WzHN4kFdXbPNz9Qm8//WaEgmbURUSBQ8d0PuG3tBgvmlWpNAFuS1nPBvAIspXrpZU3S/oH2zswaEXH3Xtf56dAyMML3G8TZr3a5gIjtWzQIRQ/4= 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=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1632861074976568.059340546347; Tue, 28 Sep 2021 13:31:14 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.198415.351900 (Exim 4.92) (envelope-from ) id 1mVJke-0004fF-Mu; Tue, 28 Sep 2021 20:30:56 +0000 Received: by outflank-mailman (output) from mailman id 198415.351900; Tue, 28 Sep 2021 20:30:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mVJke-0004f6-I7; Tue, 28 Sep 2021 20:30:56 +0000 Received: by outflank-mailman (input) for mailman id 198415; Tue, 28 Sep 2021 20:30:55 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mVJkd-0004O5-8X for xen-devel@lists.xenproject.org; Tue, 28 Sep 2021 20:30:55 +0000 Received: from mail-pl1-x629.google.com (unknown [2607:f8b0:4864:20::629]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id c46b5e31-a2db-4dc4-8b19-4e4c8adf388f; Tue, 28 Sep 2021 20:30:50 +0000 (UTC) Received: by mail-pl1-x629.google.com with SMTP id l6so14980324plh.9 for ; Tue, 28 Sep 2021 13:30:50 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:4c02:4c00::5]) by smtp.gmail.com with ESMTPSA id p15sm44201pfn.31.2021.09.28.13.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 13:30:49 -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 X-Inumbo-ID: c46b5e31-a2db-4dc4-8b19-4e4c8adf388f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ymbhtWJDlmnuoU0qSCptZumb6o8HnxQbmRZItmihOOU=; b=hr3dpobqy60MQ0/xIdFAi4fhITENVYsP9/vWT8arSnZjQqR85SucjebewT3a7Cip7s rDz2XoyDlJmCsWxgBwPMh67obBCcuVDQDJFqFD4AkJXIx7vEYNWlsGX7WSOJls20gJqt 1HNSWnnW8fFDv0k9Ok0Uk7ElpDGUtqxbDhigXsUrgmjrgz41LHOls+/SBAxaXVRNEt+r H6CKHkmIcShaC4+G/UP2Y7Zlx4/8X0NDW1/tVAHqoGiiX/o1mWCZQfMQJW6J+/D3WbbC z7sJHI20GYgOSBHqaPrrUfGaWeTyT/dA3xqF5Ml1OPjB1yudTRnsliOlS9ajk/hAQ1uA vR/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ymbhtWJDlmnuoU0qSCptZumb6o8HnxQbmRZItmihOOU=; b=3CMAcHGQ8FwfLbpS0S16/jcB9p3aF2yRm10gU2JxzHO8/vblA9FPXZTE6a/mCO8+Zt rL5t37AgPY2zfTYwv8Jfx5RHlfP9HXiu5IGNy8TzXZnnGFJCRMDRgKdYtgK41XHGlRPj Km7TKLhC/wV+JThvtg9feVx5wIv9FNxTf7Om8krSvxWxX4OdUDq7XMkbwewdRwkgMqqy YOfLQGYpEuuiY+HBfuyYUAqCqwNpz4LC50jRDGqpghUJqBOXsXtwyoUTGs2nlcC4sZOy IQoYWLRWLLj+JeFtu1PZio9fivfSKrGyVSg7Yrj8xP+sBgo9CiKD7QjfEDMUHuEUVBtd WdlQ== X-Gm-Message-State: AOAM530O+KBlm/R810fkc6Ne7h4pRita7cM3eqv4JZYFl0pJaIJcMhZT gz6OXSADfeaZIxCSJ1r0V5SPBfPxUKgx7xRg X-Google-Smtp-Source: ABdhPJwHV0Vtsr8CP1xdXrs4yT4Ov+taT2HHe+f6VfNoQo38IkWERMKnhvVM8wpIKHE/y1MgOqA5kQ== X-Received: by 2002:a17:90b:17ca:: with SMTP id me10mr2070593pjb.171.1632861049495; Tue, 28 Sep 2021 13:30:49 -0700 (PDT) Sender: Bobby Eshleman From: Bobby Eshleman To: xen-devel@lists.xenproject.org Cc: Bobby Eshleman , Stefano Stabellini , Julien Grall , Volodymyr Babchuk , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Wei Liu , Elena Ufimtseva , George Dunlap , Ian Jackson Subject: [PATCH v4 1/6] arm/traps: remove debugger_trap_fatal() calls Date: Tue, 28 Sep 2021 13:30:24 -0700 Message-Id: <4c4f45280547564b2c16fd9ca09443314b8f3b6e.1632860589.git.bobby.eshleman@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1632861076636100001 Content-Type: text/plain; charset="utf-8" ARM doesn't actually use debugger_trap_* anything, and is stubbed out. This commit simply removes the unneeded calls. Signed-off-by: Bobby Eshleman Acked-by: Julien Grall --- xen/arch/arm/traps.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index 4ccb6e7d18..889650ba63 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -41,7 +41,6 @@ #include #include #include -#include #include #include #include @@ -1266,10 +1265,6 @@ int do_bug_frame(const struct cpu_user_regs *regs, v= addr_t pc) =20 case BUGFRAME_bug: printk("Xen BUG at %s%s:%d\n", prefix, filename, lineno); - - if ( debugger_trap_fatal(TRAP_invalid_op, regs) ) - return 0; - show_execution_state(regs); panic("Xen BUG at %s%s:%d\n", prefix, filename, lineno); =20 @@ -1281,8 +1276,6 @@ int do_bug_frame(const struct cpu_user_regs *regs, va= ddr_t pc) =20 printk("Assertion '%s' failed at %s%s:%d\n", predicate, prefix, filename, lineno); - if ( debugger_trap_fatal(TRAP_invalid_op, regs) ) - return 0; show_execution_state(regs); panic("Assertion '%s' failed at %s%s:%d\n", predicate, prefix, filename, lineno); --=20 2.32.0