From patchwork Tue Oct 1 17:16:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 174914 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp8861859ill; Tue, 1 Oct 2019 10:37:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqygdLYVdcuqqw55O+fFZHYEbYQIbGptz0ujTcakxRvxhLaM1GUA+iMqrw+Lh+mAiMSidUFV X-Received: by 2002:ac8:5306:: with SMTP id t6mr32012335qtn.53.1569951471278; Tue, 01 Oct 2019 10:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569951471; cv=none; d=google.com; s=arc-20160816; b=sr0Krv5ObiePPXBPwFzq/6k9AVAC9v3Qj/gOywlKNya32FBS1ZlKo8z/VkGHS+35tm GLjutZN6mjzCfQSnNAhJeWzU5ZH4xX+Lm37z2T+cYDVpN0BwA6me1Tnof+5VI5U/Y8T5 hwl033BWCp3THdW/pgsyspeelsggODvIlCDJV/G4zFRO7NQViUY2lWCj6i5nlI2DqSu+ zdYrZOfyXdtrGN5KeG5zXtJTXBCO3KhNkyMRH4XFx7jAAZQs0RjwQxLdByV4Q4bs7jdQ lB7ZFAqeZzR8bPTEt7LgCw/DyOg8MYiHrE9yX/55RQTMH7WHILIDUJXIX01dJQ6uPToW cAwg== 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=v4OWbCEYlAnhjvj+x+7Ps/UFUWQ5DVP1AWFH0GWe8MY=; b=gJOSb/s14N8ky6iN8n3Pnrgua5l9/pWWUSUx0cq+E8k9JKjDj08whYKNhdZLLy/N2Z wrnORnPlPsktmzUFyl9WJ2+8hFjHRiJ1ZH29E3W0bi/M9k/3BCeJava2Db6g8TTP9Sj7 D4xlrwwT0eQ+xtE2UQZzJTdfK1nI8E9giDYq7jE2Pmq4hD22dNEWQ0E4DGcfttkZ4JZ5 hJneVMA4I7X8mFTK+AevoljhP7EQPMdJLD+tBZdSYp/rkArUH0JMOzcigu4N850CivlU yPaIl65OeQAhbZiw/jmDhQ5isXlmVqbcwWZVtd6WqpgE5BloBILdeFDqJZLJZcusOKtS wd6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BMyW5teI; 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=pass (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 u2si13636740qkb.42.2019.10.01.10.37.51 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Oct 2019 10:37:51 -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=pass header.i=@linaro.org header.s=google header.b=BMyW5teI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFM5u-0004Zf-QA for patch@linaro.org; Tue, 01 Oct 2019 13:37:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32963) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFLlO-0001jZ-OY for qemu-devel@nongnu.org; Tue, 01 Oct 2019 13:16:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFLlN-0005cI-Qu for qemu-devel@nongnu.org; Tue, 01 Oct 2019 13:16:38 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:39532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFLlN-0005bj-Ln for qemu-devel@nongnu.org; Tue, 01 Oct 2019 13:16:37 -0400 Received: by mail-pg1-x544.google.com with SMTP id e1so4578367pgj.6 for ; Tue, 01 Oct 2019 10:16:37 -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=v4OWbCEYlAnhjvj+x+7Ps/UFUWQ5DVP1AWFH0GWe8MY=; b=BMyW5teIwagEVueis7ud2R9qnHWp3oYb/nHK+tFOgAYpwx0hBqUKTF0Dv6INyuJ/gF /PAMqwn+kK/DQ1uJD6ag5sq2D/LFAEAf4q2VeiFH1kZvAkmEGA4rOtSgm1/sDTuz3HS8 Mv5HWl7mOoEaPP56KAVXq/gvwAhhCOJcradFj/2wwsZRQqqZureKIBdqQAbkm6K9tb+p OXeVeTBJ5LwHoeTcglcENpqwLLWb6XCq14YHA9CkkHKd4RllFOMGkaZ+EW19KkKSxiF4 rmm9/3N1cMS6x/HlJCTRIy6kBCufcg8LmqRqX+ORFzKzlj+vSHPsArYpgr4KsOAoefVW uC4g== 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=v4OWbCEYlAnhjvj+x+7Ps/UFUWQ5DVP1AWFH0GWe8MY=; b=A4cenpFqRx0cCBocvSdcvU6rI0XBbXcrdjfSJJKgTnQ/juCjiRpo4cxjep2OHPVKjd 1v6Rk0cHkd9m0sYEt0PFLZ0nmGrmDpo17m5N7PF1nsyE3j9uqDn6Fs2NtQZ7+1tUJXlU pONtSLRis7vVT194f0LRHx3QMzaI/QPF8qnfcGBdmkviRqlKG7Mtt5al8CBmiM6gc/Nz NYXsJUih43nF57H19A+lQA8Y8BcxCB03zhUzS2Fz433pZ3Wt50XsWaB0c/XHXd4nf5Tm NdAQApYUkN+r28ZHht92W6KQj8EK85i+VpYvo8df4f0c9HWxGunetg6x7lFxw3GWhiGZ m82Q== X-Gm-Message-State: APjAAAV9WZbJky7HR59bV/Cbdu+AJFqLPnqa9shG+Lw5X752CNcOY4i5 sY/lvdHuxtlbLz74YtXgn7piKJrEaWI= X-Received: by 2002:a17:90a:c096:: with SMTP id o22mr6910982pjs.29.1569950195996; Tue, 01 Oct 2019 10:16:35 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id w7sm2863568pjn.1.2019.10.01.10.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 10:16:35 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v5 15/18] target/s390x: Remove ILEN_AUTO Date: Tue, 1 Oct 2019 10:16:11 -0700 Message-Id: <20191001171614.8405-16-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191001171614.8405-1-richard.henderson@linaro.org> References: <20191001171614.8405-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::544 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: david@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This setting is no longer used. Reviewed-by: David Hildenbrand Signed-off-by: Richard Henderson --- target/s390x/cpu.h | 2 -- target/s390x/excp_helper.c | 3 --- 2 files changed, 5 deletions(-) -- 2.17.1 diff --git a/target/s390x/cpu.h b/target/s390x/cpu.h index 18e7091763..e7a9a58e0f 100644 --- a/target/s390x/cpu.h +++ b/target/s390x/cpu.h @@ -806,8 +806,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) {