From nobody Mon Feb 9 22:20:18 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578495899; cv=none; d=zohomail.com; s=zohoarc; b=UGvQpOA6dmwKdGEvZKXKaPxAjcV10dbKV7e6Or29he45DWIcn65dWz/TFkEqV6rnGA6WYl13F/WOUf0WL/m2jDew8ynpTFmp9S/kmLRUsj4AQQ/rGNfDmfHVgo5uT7AopOcclWr/OoT5DexezIELYgMjCfn8DHNKBooKkN871Gw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578495899; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=84JoBWqx+ve5fbgwlbi9R0MpJnP9SRzR7nMEMgeLfQI=; b=ghQZQPj5G4Gi7EtptMGW4fVHJMu3ZrsyKtJ9BLbfuxwY5JJEnLqb/K6TH6VHyFvT9EMgDyFInu1DGR6Lt45qLnPLlsjQ8/zgS0+hxADwNYhENSKPRlyj3lefiFd27bwvMJd1UoWp92uuteNudbC9g7HemxGi85YQKiGko9f3/Vo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578495899462625.8532087931799; Wed, 8 Jan 2020 07:04:59 -0800 (PST) Received: from localhost ([::1]:45326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipCtF-0006fl-Mf for importer@patchew.org; Wed, 08 Jan 2020 10:04:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43664) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipCrK-0004gr-9A for qemu-devel@nongnu.org; Wed, 08 Jan 2020 10:02:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipCrI-0000qk-Ur for qemu-devel@nongnu.org; Wed, 08 Jan 2020 10:02:58 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:44753) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipCrI-0000px-LM for qemu-devel@nongnu.org; Wed, 08 Jan 2020 10:02:56 -0500 Received: by mail-wr1-x442.google.com with SMTP id q10so3683772wrm.11 for ; Wed, 08 Jan 2020 07:02:56 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l15sm4289805wrv.39.2020.01.08.07.02.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 07:02:53 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0631B1FF8C; Wed, 8 Jan 2020 15:02:53 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=84JoBWqx+ve5fbgwlbi9R0MpJnP9SRzR7nMEMgeLfQI=; b=hkH/zDta4bkX6o89XOdDN1FOrOM11ZKFDXmgt57fJvE2y0UPY65jsjJDpJcguXVXyo uasx38TZWbtaxD03l8oQFIoVa6OIqMIskRj3y/kKDduUcaaC5aUT7Jibdx7bkWf1cOHK zbHK8UqA084N3FoCQzHp2yuDQ1d6hhLxtRJg+MzexGEu2ixVHilNrJSrqrywQqLyil85 KjB4NVbMS6Ng6qMdGsevgSgWCoc30zg2b3AWohamgsC7u4szn8wd1eXtCe0Cq944GF5Z VSLFcZCmCeQ52hm190umQ8f/d0DICNflmzNYJYqZS70h7f+R817JEvJi2zRn+sh4g6PU 2Fsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=84JoBWqx+ve5fbgwlbi9R0MpJnP9SRzR7nMEMgeLfQI=; b=Dyvtyloqv4MdbyDdUA/hKXSEI7q2smkz7uHDmBMXZdo5IGxbJ5KlakevcBg6PkCdpK Hj0TjmlHei/kmONi8M5fnaYXOARst8uQBTl3cCVk0o27GPizqqLwvfCqrr4CewHutiuT DW+G5Ioni8sKsc1PUemMnZ3tID2f8NzRPgDd18hZKQDS6Wdh4ZD6D5KWowElHIzkbnnA ABewJr5MO/mnBwAUfy1F8iAbciJlgnbfpE8cdvCvCNDUf6pQwZBvJ65mvqOpxs36GNxj wiHvyTSG6FCER1VDmR0hQM/a+tE/oAgk/W7H95YKwa8+hmST1WtK/xPznuRBFii8D7Ko 3xXg== X-Gm-Message-State: APjAAAWEE7HgZ4yGDCgmFsUX0f8vH899/jzOGcy+pvL1s12XB+8svdKi iNdrblwPpYFfUZRHdWD7dpwT2g== X-Google-Smtp-Source: APXvYqybbNvW9ojxN3wpBnZC5S/h/Mcx53YAFZYRtG3XOxtOLnvW0xz5uwrW94M+/s9DXl/UsN9Itg== X-Received: by 2002:adf:df03:: with SMTP id y3mr5500605wrl.260.1578495775242; Wed, 08 Jan 2020 07:02:55 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v3 1/6] target/arm: remove unused EXCP_SEMIHOST leg Date: Wed, 8 Jan 2020 15:02:47 +0000 Message-Id: <20200108150252.6216-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200108150252.6216-1-alex.bennee@linaro.org> References: <20200108150252.6216-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , keithp@keithp.com, qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) All semihosting exceptions are dealt with earlier in the common code so we should never get here. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Reviewed-by: Keith Packard Tested-by: Keith Packard --- target/arm/helper.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/target/arm/helper.c b/target/arm/helper.c index b6bec42f48e..da22c198006 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -8566,12 +8566,6 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *c= s) case EXCP_VFIQ: addr +=3D 0x100; break; - case EXCP_SEMIHOST: - qemu_log_mask(CPU_LOG_INT, - "...handling as semihosting call 0x%" PRIx64 "\n", - env->xregs[0]); - env->xregs[0] =3D do_arm_semihosting(env); - return; default: cpu_abort(cs, "Unhandled exception 0x%x\n", cs->exception_index); } --=20 2.20.1