From patchwork Thu Sep 26 16:26:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 174496 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp2311213ill; Thu, 26 Sep 2019 09:54:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqylk3zG8u5jPx4mohnNW7w1/+0CiPmmEX/LMqPJrqF9Uc2xXD6Dy85x67uga/l10W/0oI8E X-Received: by 2002:ac8:75c7:: with SMTP id z7mr4981439qtq.136.1569516865532; Thu, 26 Sep 2019 09:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569516865; cv=none; d=google.com; s=arc-20160816; b=KnBODksEyrsIaCrgmBml2c/SQuMXTTAQzaKyMWI/MmdUVZEqRoKcRldDsPCl+/EPfW W2+l5ss3aRJxZ2cBHoUbOJUgUEK3IgfWLUSi2f3DvOauiNSkkad06Lwx0GDUFcL/psyB SxdcPeeAOHt/bNUsG8kKIE0KoAZqmnFxOtgX1Qsux2lkyszn+U1fLi+c/h1bPdG5qA16 jnRbON8eZbFXyJNBZJyTx+58eL+35MM8jnIxJCXSGSQ/5IJ5byomn1BOAYTWtggnz+qv pcGOmPrLfmVCmlAd+qz/Xf6ZIeGmgvrYT7jUQenGB11AQ8laiM0+lb10fy5odnvc3Vrt IBbQ== 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:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=jrvKbjfU1dFIu8+98+zhi34QV271t8gxz4iMHGKRMxY=; b=N8OT3ifH+exheUkSw4gHWUAucop5kljXSyloEP8X5MW1n2MTVgG6V14F2t7QgbCImS fkJqjdgvl7F4sCkj+Td7Gy8JKa1s/0N3LGCQoBUOVe5Xcw6hEqrTE0OGFCD/65AUhRZa gh81gzgDG9iOMVFXamhk1iwxk7QDTMJZXWgZEhuYlf7CQrR/DCGuBCtXPQk0L1L8VQ72 D3jcvkZgZvCXJFtB029ZNMMApc/PLqIZMDw9MSGCTAlKkP3sRAm7Ov6Hn65hmzv3P0nm Bh0DEMQrZf9ttnKr8RYJcbmX/KmOlcMJqZzrDGu9LY2/Rmtby4/Ic4R3HlGmtRXJTQx/ V0og== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DlwvgVBM; 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 b10si2229349qvh.59.2019.09.26.09.54.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Sep 2019 09:54:25 -0700 (PDT) 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=DlwvgVBM; 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]:41044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDX28-0004Bg-U9 for patch@linaro.org; Thu, 26 Sep 2019 12:54:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41490) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDWcJ-0002mP-59 for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDWcH-0004rr-Dp for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:42 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:43921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDWcH-0004rK-7c for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:41 -0400 Received: by mail-pf1-f196.google.com with SMTP id a2so2111639pfo.10 for ; Thu, 26 Sep 2019 09:27:41 -0700 (PDT) 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; bh=jrvKbjfU1dFIu8+98+zhi34QV271t8gxz4iMHGKRMxY=; b=DlwvgVBMjYyJV7gzhvmmTzrKx50D0/XPtcd/euRD4gb25N/dXLiE53+IXVaKki187z Y8J2+MTS7X6HmB4m5BWCacNzPNs6ph2AmFdDgZA16jIzBKGg0zw9EeS7NF3jnZmD0OTz T5pwB0P6rsge989Cfi3l55cBlvptjIjWeYvSne9fL7uLG5CTCCbApRUyAvQZ9cS7rkVe HqXVZQxq3ZCJVvLET3gHD8RPqOUX2Hgc3z6fLPgLfirJSnJZcsbuj2sMf2sA/HUSk1TB 6TMqVcUGKL2tgEXzpiHuW/nyEYKg5UNQpmrJDLWnRCVlaNo3z28tzGEWIbhCFfgeFvb+ VaSA== 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; bh=jrvKbjfU1dFIu8+98+zhi34QV271t8gxz4iMHGKRMxY=; b=EbMgeR2KITaztSa/r/0hqMeiiGmqkv8u/BjnWFz7xBzHx5Uum/8dQreV1dVHQP9/Jn KQWURRcze/44leF4VaN3RZ4WnrYEAUa0R8LfYKrwNDQeUMOEcSp32Y7apjEgMhutCN96 iURTrRViH8sCYINQj7kMabN5sDKy8uoiPsM7MP40kwzmF9KpZD11Jf8xs0pMLkEvyZTS +HJ9y1rxMBDo603jbBjlA2dk3a7ziR/1U1bdSTlQnFBQsDwIX2DBHOyt1og3PjPbgaGP uOebHsuLYqhMWCu1PLJJ8ZpNJdF187esmlMrS/XvifrTJvIKuK13iHlmD6BktrldW82w bDDA== X-Gm-Message-State: APjAAAX3tAReYKlZoYgabEWjYoRKzX4gCC0BEXF1losYEcEL2M+GRjhg 5RSPblxo/qJSHiddccmBu/i0ijGWDM0= X-Received: by 2002:a62:5441:: with SMTP id i62mr4779630pfb.49.1569515199840; Thu, 26 Sep 2019 09:26:39 -0700 (PDT) Received: from localhost.localdomain ([12.157.10.114]) by smtp.gmail.com with ESMTPSA id 64sm4453169pfx.31.2019.09.26.09.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 09:26:38 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 16/18] target/s390x: Remove ILEN_AUTO Date: Thu, 26 Sep 2019 09:26:13 -0700 Message-Id: <20190926162615.31168-17-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190926162615.31168-1-richard.henderson@linaro.org> References: <20190926162615.31168-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.210.196 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: qemu-s390x@nongnu.org, david@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This setting is no longer used. Signed-off-by: Richard Henderson --- target/s390x/cpu.h | 2 -- target/s390x/excp_helper.c | 3 --- 2 files changed, 5 deletions(-) -- 2.17.1 Reviewed-by: David Hildenbrand diff --git a/target/s390x/cpu.h b/target/s390x/cpu.h index a5eab491cd..fc941c7d76 100644 --- a/target/s390x/cpu.h +++ b/target/s390x/cpu.h @@ -816,8 +816,6 @@ void s390_io_interrupt(uint16_t subchannel_id, uint16_t subchannel_nr, uint32_t io_int_parm, uint32_t io_int_word); /* instruction length set by unwind info */ #define ILEN_UNWIND 0 -/* automatically detect the instruction length */ -#define ILEN_AUTO 0xff #define RA_IGNORED 0 void s390_program_interrupt(CPUS390XState *env, uint32_t code, uintptr_t ra); /* service interrupts are floating therefore we must not pass an cpustate */ diff --git a/target/s390x/excp_helper.c b/target/s390x/excp_helper.c index 8ce992e639..c252e9a7d8 100644 --- a/target/s390x/excp_helper.c +++ b/target/s390x/excp_helper.c @@ -196,9 +196,6 @@ static void do_program_interrupt(CPUS390XState *env) LowCore *lowcore; int ilen = env->int_pgm_ilen; - if (ilen == ILEN_AUTO) { - ilen = get_ilen(cpu_ldub_code(env, env->psw.addr)); - } assert(ilen == 2 || ilen == 4 || ilen == 6); switch (env->int_pgm_code) {