From patchwork Fri Sep 27 19:39:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 174651 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3976134ill; Fri, 27 Sep 2019 12:49:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy2XpXw5wWBYuhjftBOac62e4shmXnvcRlKvrp3h/5DuhqIdLfCBDhSj7au9uBFOD8gd29 X-Received: by 2002:a37:9bd4:: with SMTP id d203mr6525750qke.257.1569613798733; Fri, 27 Sep 2019 12:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569613798; cv=none; d=google.com; s=arc-20160816; b=eGHxLGN2jH6zM3NOuTZL7nxsd4LBiwHfpQsqLop3f1vBMdBJ7BdrdeAVE38RXVo7O2 C8Vk8uzZF00GiphxHq3HaGZw7Hc0UUS8THBRCl7Mz/l9zjru6GbAhRR0YaJ1GDza0uCf 3dgDpFFMUOcuJGcEJ8XIXa2hU7JpiuWz/B7TCYWOizUIFBSlOQuxyEeHlme79lQF+IU3 Lgk+MwAL8un55j9wJs7McAxRAsgnQKR/iJ+wQiIpjyoey8I5tL01o8iFX2h+QatvTsFz decvxQ/0ygirsmt9fI5b62G2lFDDIk1G0b/aJBJVCwafQqISmKLUadHGvmWy+yvcxdky lpog== 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=rx79XawZGOGKLwUeTUnrPs0Kyi9mUgl/u4ZwkL557D8=; b=rFQ2YV+MehtKD7AlNuOiINb+Wge8mQcKYaB8C8vToFrbbLhOZ61Raqbl9OucPSinYj FIa0RBfe53GuDtR0lvUbTzwH04CCWdN5NWqwHg4TRVr7x/5ZWNiUbHU2Cr3+yWMOph2j ZuThGntWYmKwbCKZ2F4zMOX6R1OYePq52scMDb80DVfALZyHeb6ENTFd0yxrpvsFBofj TnSdkEMld0nVoXpm7P1GJOY2hJoi8o0xPqE3K2w185J0YnvcprVi5JkuxJs/IUrUStb5 7d9vi28cziciWA6XfVzGI6nP0efrOw+w4UhKBJKRw6646HUcy6CUPoiF+gu2lyxbIVGm qrLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=X3ehUJMv; 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 l35si5523645qve.40.2019.09.27.12.49.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Sep 2019 12:49:58 -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=X3ehUJMv; 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]:56890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDwFZ-0003Yr-MC for patch@linaro.org; Fri, 27 Sep 2019 15:49:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46782) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDw5w-0003VG-Rw for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:40:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDw5u-0006bd-Fy for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:40:00 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:42840) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDw5t-0006aE-L4 for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:39:58 -0400 Received: by mail-pl1-x643.google.com with SMTP id e5so1467620pls.9 for ; Fri, 27 Sep 2019 12:39:57 -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=rx79XawZGOGKLwUeTUnrPs0Kyi9mUgl/u4ZwkL557D8=; b=X3ehUJMvQYNgN5E3I7BzldjZNcAqijjYHlRG0D8sVRaKSQKLBe7tbHOR1zVGqMEGkg iN2XZ/TyFvFQ4a7Cy0TcFEKX++s111GYVg2KYSKfs8MZkP4W4C+X1gz9gRin9cTmwo7R N2unCEUNn8nzgpiAfDsKuQaGMCqOBj07vDUGhLkCFle3APJN7r5lCFSbvODfn8JRrDz1 cmeYuYFpLPbOFOVYfwdVaVJ2HAu7IT9VT16GjV1p+nx23CzH+a6pUYS4Jx+ZfeR3tIzi f9Q28lk7XTgRkC55EGylcT9rGrXv6qoJsLkBQAUlAw+YXaTdMLsySDAyZv6Rq1eVi9yS Pb+g== 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=rx79XawZGOGKLwUeTUnrPs0Kyi9mUgl/u4ZwkL557D8=; b=aD2aXCPqaVP6RjsdhIjKi9d21gEJeaST1Jduk3HFZTTHpocN5eRLfHV3UnZDoWv5m9 4wVmdXvkzS4TaRKUBc4+so29BhH7hVg4Q/aPPnr4Y7XeSs7EK3/yIuXBow/cyoAl6yAj 0+DcxaGKITsMpQO+xzQ0+okYgvvmMT8ipkvRyCQhW2xXAVKTXdDdfaY5QLQekgG6GYXU S+a/UtDdlNAcWiWv+lBaXh+3a7Zd6hbiQl8ugcNk6g0/z5Z7pgMGYMZX4uLu4qCMOJcM WR1XT9IM2JvjZGBG+1fLSANmusaKU3hfzDDsPlJgkMp8f0GUtKeG7eVo82zvBHcyZr66 NoCQ== X-Gm-Message-State: APjAAAUXUllHjfz2BjPybyR1UnteVig5bxNyHxUKLmU9JAjtLtH3kr4a ZdtN1QDSYbOzYFBM0fnWETMurW9O3Xg= X-Received: by 2002:a17:902:8f88:: with SMTP id z8mr6695031plo.232.1569613195850; Fri, 27 Sep 2019 12:39:55 -0700 (PDT) Received: from localhost.localdomain ([12.206.46.62]) by smtp.gmail.com with ESMTPSA id 192sm3676403pfb.110.2019.09.27.12.39.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 12:39:55 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 15/18] target/s390x: Remove ILEN_AUTO Date: Fri, 27 Sep 2019 12:39:22 -0700 Message-Id: <20190927193925.23567-16-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190927193925.23567-1-richard.henderson@linaro.org> References: <20190927193925.23567-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::643 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. 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 67126acc99..686cbe41e0 100644 --- a/target/s390x/cpu.h +++ b/target/s390x/cpu.h @@ -805,8 +805,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) {