From patchwork Fri Sep 27 19:39:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 174641 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3966186ill; Fri, 27 Sep 2019 12:40:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJZ84nxOoYqOwYcsiYXA8fhpxXQTzp3db946vCasaSD56VcYeovfB0okWr4pZnFln5RyUq X-Received: by 2002:a0c:a9d3:: with SMTP id c19mr9484266qvb.172.1569613215349; Fri, 27 Sep 2019 12:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569613215; cv=none; d=google.com; s=arc-20160816; b=vETKrccPdG0fmDsmi7cDrJrbj1n94YGZZKtsK85MC0HUPXsJo5+dFhd3gfFK0CEbNd 8IVA1ZQ0Azo2TuzoVY5upo58Gr4pTROhgj3jOBDEcHyT6m2lNB4WoP06IMhJxHe7WdhZ n8DbU8TaZ8LHiQ04BkgLtfh+NaafpbAAi5pwsP/pYZ1lCaJzX5dPww5Fj92MMQOwsMTx CFnRCRvjYPMT/V+QhAkzrrZ9taIRjG6FsGB0bIizqutt7jGIMn/dHpet66lEj44xG8FE xHzf/6/s1XNhKor9czYGIIl/YesxFRwfUcnx1AOdRChKYuuif7e8Hc6SvXjzhJOXjRrg ay7Q== 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:message-id:date:subject:to:from :dkim-signature; bh=uVOnbhioaYsnQN3Ll1pqy0ykodubYSgngJSQbbBP1Xo=; b=z/+ZyaAm9xBhcuS/5Hke5s1i9Sk5AmKT7MhKUx5VgOr844nxTH9A67R7LuZmrFzqiO TqaG3BTVZfBU0Ihp1J69OBbdJifRbCZk9EoXTFagGzjaMsxcfYUtDML7NfUk+v5r8KEi Z42kmWpxXu5IQvJH/w4gRVHm72Lks8UdEomaIj9F845Tm8dYXdJFuizWtSTLQnJKMZ7s AtY43yyX4N+VN1ftww97vhqQJs9a80uL5Nr+tRgYx4QMrivJ1SX+YwyBK39eyorGWffL O2fIqN5KIYdxkMsrU4HFE+x3D1ZptY4Wxv4oIXFAgX1gXO84VrlOTSBmV2Lv+cINcULZ 2vwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F2IWkm1U; 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 l205si3171186qke.229.2019.09.27.12.40.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Sep 2019 12:40:15 -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=F2IWkm1U; 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]:56514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDw6A-00039K-5P for patch@linaro.org; Fri, 27 Sep 2019 15:40:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46351) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDw5U-00038l-V9 for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:39:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDw5T-0006AD-Lp for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:39:32 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:35286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDw5T-00069Q-Gj for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:39:31 -0400 Received: by mail-pf1-x42b.google.com with SMTP id 205so2144673pfw.2 for ; Fri, 27 Sep 2019 12:39:31 -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; bh=uVOnbhioaYsnQN3Ll1pqy0ykodubYSgngJSQbbBP1Xo=; b=F2IWkm1UeQrlBIq7ovW4cNuadsk8Zz/5n3E3Z8VzW9DRp8ieHY414xdg2rRXGnY7GT e1mqQOKgYa0RYpwcncXvYx6xv4tyXvdI1F5p+EiCl8W5olV9yOLYX4BPisNWPU0Mx5ov b0KNipRhKV9EQqwUzk/ppC3h8r1ln0UauEUvgPwywOC/Ut6O/6Y7Bu1ZTtbmNKJ5/3T8 +hURps7lX9La6WUogyqtbohHSOf01DgW9ThlQ4bqHTQagNelnkXpYKS2gOoLIS+XFWET vfwAZutUqIA29ZQuNBvzH2vmgN1q6eolAJqmm64wmUqj6dNaokIwmlnnDhvIs5gLhXco eFgg== 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; bh=uVOnbhioaYsnQN3Ll1pqy0ykodubYSgngJSQbbBP1Xo=; b=hWg5otUGgaIm7/JqP8NqYhXYR+loyMJ/sjvUba9Mu64ScQJNYDcmx1RVzKkONfhQqf E8kKvrOD+rpjJCFyILmuhboviZotTKq9gZiFIN7HrMSSLw6wQHK0YyhrZEaJ/ON07yy3 j3/TitAf2nxP8jdXCq1gS1Q/oM8ZWUSh5y2/MbfuGpD10CcxhkB7tsTqQTCcycLbQ+/K RMZLM5Q/itcKhNhbV2nfpgRZ8Qgrlt/nCEmzjZMzWeE5aREjpe3HhH1YdqA67eum/fv6 ZEGELdy1wNrKjab8tV448U2VpVAVMyFvyajjrboDmxtLK/YkU8rd2GDXsLmUlz1naoZ1 Pkpw== X-Gm-Message-State: APjAAAXPvP9b5IQZDiKGgB8Rto+7Zvwa/SBFdylmm4qaezLyQnvN0ioj WF/c62pOMz5i5Lo7QJV++uvEs4O2dGw= X-Received: by 2002:a62:3444:: with SMTP id b65mr6328165pfa.247.1569613169937; Fri, 27 Sep 2019 12:39:29 -0700 (PDT) Received: from localhost.localdomain ([12.206.46.62]) by smtp.gmail.com with ESMTPSA id 192sm3676403pfb.110.2019.09.27.12.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 12:39:28 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 00/18] target/s390: Use tcg unwinding for ilen Date: Fri, 27 Sep 2019 12:39:07 -0700 Message-Id: <20190927193925.23567-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42b 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" Based-on: <20190925125236.4043-1-david@redhat.com> \ ("s390x/mmu: DAT translation rewrite") Based-on: <20190926101627.23376-1-david@redhat.com> \ ("s390x/mmu: Implement more facilities") \ With the suggested follow-up for patch 2 re ilen. Which should mean that this applies on top of David's current s390x tree. ;-) Changes since v3: * Dropped the unrelated psw.addr wrapping patch. * Set ilen to 2 for breakpoints, which means that we can make the assignment within restore_state_to_opc unconditional. * Remove ILEN_UNWIND. After the penultimate patch, we nowhere play odd games with ILEN. Yay! Patches without review or ack: 0001-target-s390x-Add-ilen-to-unwind-data 0009-target-s390x-Return-exception-from-mmu_translate 0018-target-s390x-Remove-ILEN_UNWIND (new) r~ Richard Henderson (18): target/s390x: Add ilen to unwind data target/s390x: Remove ilen parameter from tcg_s390_program_interrupt target/s390x: Remove ilen parameter from s390_program_interrupt target/s390x: Use tcg_s390_program_interrupt in TCG helpers target/s390x: Push trigger_pgm_exception lower in s390_cpu_tlb_fill target/s390x: Handle tec in s390_cpu_tlb_fill target/s390x: Return exception from mmu_translate_real target/s390x: Remove exc argument to mmu_translate_asce target/s390x: Return exception from mmu_translate target/s390x: Return exception from translate_pages target/s390x: Remove fail variable from s390_cpu_tlb_fill target/s390x: Simplify helper_lra target/s390x: Rely on unwinding in s390_cpu_tlb_fill target/s390x: Rely on unwinding in s390_cpu_virt_mem_rw target/s390x: Remove ILEN_AUTO target/s390x: Remove ilen argument from trigger_access_exception target/s390x: Remove ilen argument from trigger_pgm_exception target/s390x: Remove ILEN_UNWIND target/s390x/cpu.h | 7 +--- target/s390x/internal.h | 6 +-- target/s390x/tcg_s390x.h | 4 +- hw/s390x/s390-pci-inst.c | 58 +++++++++++++------------- target/s390x/cc_helper.c | 4 +- target/s390x/crypto_helper.c | 7 ++-- target/s390x/diag.c | 14 +++---- target/s390x/excp_helper.c | 60 ++++++++++++--------------- target/s390x/fpu_helper.c | 6 +-- target/s390x/int_helper.c | 15 +++---- target/s390x/interrupt.c | 9 ++-- target/s390x/ioinst.c | 40 +++++++++--------- target/s390x/mem_helper.c | 61 +++++++++++++-------------- target/s390x/misc_helper.c | 27 ++++-------- target/s390x/mmu_helper.c | 80 +++++++++++++++--------------------- target/s390x/tcg-stub.c | 4 +- target/s390x/translate.c | 20 +++++++-- 17 files changed, 199 insertions(+), 223 deletions(-) -- 2.17.1