From patchwork Fri Dec 20 13:22:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 182272 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp530254ilf; Fri, 20 Dec 2019 05:28:30 -0800 (PST) X-Google-Smtp-Source: APXvYqye6hRF6zsDF/SX0y6i5MXQeayetp1UHprg94H/+BKbuHjoPkX6lJaz5KsITChj9fkLolaF X-Received: by 2002:aca:5b89:: with SMTP id p131mr3442649oib.138.1576848510636; Fri, 20 Dec 2019 05:28:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576848510; cv=none; d=google.com; s=arc-20160816; b=vtd+2QmLhESy80OfR2hzMt0bfvMo+W3HyxZWJ3D9HDg+H2U7kf43uIMX6JF63QyIWp 1itFR5y2GHA+zMbCmXa339TScjfB3uKtGDWL6l1Dbossm+xQJefnsedHalkM3fgffMsU kqqGQWXOY0EWDkYnbiNKxIhTpnU/PSn/6cJ/nJ5YObXgxdUP3hehwNiHV4QqkpER7mp1 hndxUOm+UoUj99UU0qAINGNb5jStRXGVbDnGKshcrZTPsJ9mQfndkulrM1vTLqnDFo13 qYIPcUiDew+3N7WfKJZKAPW6OLwwXWIrZzw7H1SYNEhTxXRTHs9LaE6YkVzsCPjA+5eb P/Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=tq4uTuTrF1sjaAQeE45sTsyrBhoioBCJJ0MxAc2jFgg=; b=WoN3KKGZHatbmcU0Q0mwJK6urPUdDm2PviImsZwZ+hKbOwcnOtlKwOSQl+tU7aaL4Y 031VSaGXmQEUddClu6mJ0x1lC6vu+jOnrp4bjpm1Z0xm0hxPciu+Hih5USus4FTquGAR UMIP+QVFosEP/q+Mv2lb1ZsIszX0Dp52ph/1M0XS2lN6vwTPnrziyZxWHmAhC22BRZKK hlTnqGuUwui/c5n6hnmJjZIka18oHymrvciRQlDQ6TsPzukjY3wRrHctI9MqsG45UGiz ply4JwfwGWWmWDfs+zFW3DDXXEmXOKkgU0K8I9WMImxbdSW3uI/pOazYGxofazeCxjwi MEOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=n2+bLZoX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 77si4922501oie.10.2019.12.20.05.28.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Dec 2019 05:28:30 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=n2+bLZoX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:55578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiIKT-000739-Ar for patch@linaro.org; Fri, 20 Dec 2019 08:28:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42556) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiIF3-0007S4-Vm for qemu-devel@nongnu.org; Fri, 20 Dec 2019 08:22:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiIF2-0005Rt-52 for qemu-devel@nongnu.org; Fri, 20 Dec 2019 08:22:53 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:36620) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiIF1-0005NG-Nb for qemu-devel@nongnu.org; Fri, 20 Dec 2019 08:22:51 -0500 Received: by mail-wm1-x344.google.com with SMTP id p17so9236065wma.1 for ; Fri, 20 Dec 2019 05:22:51 -0800 (PST) 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=tq4uTuTrF1sjaAQeE45sTsyrBhoioBCJJ0MxAc2jFgg=; b=n2+bLZoXUIjpILnemC+nImUg3xPzAb+dJGK3kwH6yv2Pw7+0XsroNA+cITIssOScdH 5fO9iilbZSj+ygSANDaLmWhOKGTmzyvqJMKRWzHrzyeNZVwUdWY1drgWc5ZAe+F08qyc uu1w+bQecM3O7j2y50K/aQ8OMbs1aE2PhJ3X9tSE3PSh+khjbuv/oOcoZwrDtY6b2BpQ v7RtUSQ3ktfSOtNb1vE5ybW/OA8TFC+Fr12uJR9EEq4Jqv/JKV4qr2CJZmpFj9e0oZE+ Kzg1RFbyL1tvX3qjq+tODsNyIWB7DIYFPA4SOl/P+OUWpbI9aWyepAWBDwRLsobbSN8M nD/A== 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=tq4uTuTrF1sjaAQeE45sTsyrBhoioBCJJ0MxAc2jFgg=; b=teDwcNTEGYTwwVFK9txon/4KdonXOZbsVSazteNQc0liNE2hlHQW+K+diFC0DmIkhp aAb7XKdF5EkAgB+mPowpxvJbl4Ma3E4tQIlfF1QNHRDj5po/mMPGajknj4/63rodcqRd 7fAx0g7NiK3RtuMFAHogNESLAjKsUNo+aitdu/LdwFndQBxAP/nXRhapNU61+kJHw+uV uaj95TAm99nuyhn1nBirC/4ixH/YzWtVoS6Irer3SjJu5iP+pOGC/7o2Wkz6J9qsniCn fY0B5RBYAU46tF/GH8MCLBOHHtvdOYHG651T9+g7hEYH29afwynEVsOLNvK4CSSHiQir C+Nw== X-Gm-Message-State: APjAAAVBNeSokk3p5tQbdDdji2UYW6G7/8aYGiALEMe6fkAi2gqcZvJh +5YJTcz7PKHJGqWYfdhbRMI4Ng== X-Received: by 2002:a7b:c216:: with SMTP id x22mr15708176wmi.51.1576848170053; Fri, 20 Dec 2019 05:22:50 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t1sm9763073wma.43.2019.12.20.05.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 05:22:47 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id ABC081FF8C; Fri, 20 Dec 2019 13:22:46 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 1/5] target/arm: remove unused EXCP_SEMIHOST leg Date: Fri, 20 Dec 2019 13:22:42 +0000 Message-Id: <20191220132246.6759-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191220132246.6759-1-alex.bennee@linaro.org> References: <20191220132246.6759-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 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, "open list:ARM TCG CPUs" , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" All semihosting exceptions are dealt with earlier in the common code so we should never get here. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Keith Packard Tested-by: Keith Packard --- target/arm/helper.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.20.1 diff --git a/target/arm/helper.c b/target/arm/helper.c index 5074b5f69ca..b4dc2274c8b 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -8554,12 +8554,6 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *cs) case EXCP_VFIQ: addr += 0x100; break; - case EXCP_SEMIHOST: - qemu_log_mask(CPU_LOG_INT, - "...handling as semihosting call 0x%" PRIx64 "\n", - env->xregs[0]); - env->xregs[0] = do_arm_semihosting(env); - return; default: cpu_abort(cs, "Unhandled exception 0x%x\n", cs->exception_index); }