From patchwork Thu Sep 26 16:25:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 174484 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp2288173ill; Thu, 26 Sep 2019 09:33:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwD4m30d3pnC1Y1GOB688XMpDvYIKM2or4zEqnFHzrgbmw/Bvskf2z3HtF+HDPJijKnBzJT X-Received: by 2002:ac8:548c:: with SMTP id h12mr4941336qtq.226.1569515596072; Thu, 26 Sep 2019 09:33:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569515596; cv=none; d=google.com; s=arc-20160816; b=0mZPKhVfI+QKO0hC8neeqbsqQs4VQiVl93x7X6/HlupuHzGrn++Zi0Z0Y9QOZAR+t6 xh5Pb+b7mCLVDBybAdDNhFQkAlnW83tlNNt6hsR3FF9ZbItJwQPi7grk1kCVc7lm2FHK GvuisUKWPM/wXrlGsma/S41pX5d1fTDwu9PfyS8edKn+xPxW8gIcwYGnmaVOJZZKSCF7 7AqIpu/hIlhA4WxjRZdLyRIpZn8a4Y/EyMuc968yHuhMqNGWNwgNxJcWRf0CWDiw2dvF GKjP/ifo3T/BvyAC0cAtKSktYR+0zDkAqLcbAD/wF3YhRucKB+kWyUHu/w60T34THejU bxeg== 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=gWWGSTfYrzYkzLZawcn3q2Ja4PFRns9a4fWpQZIcwHM=; b=YCRVsmeJ6pzdAlpVFQpfH6AC2yYRL2xH4UXMdrg0ARpXVW1vateuI/OI3R7xqn9b0o UyuGjGFXrnj9jUBK5oQSrk0tfq5SFZL49LrvnDHfyoiwTLeZMZb4fNtoWVP8A2lIkVws ZRv2gGxWCvd0fKZRehPOL1sTDb6f3fLaMWqP1rQSETFilWla/UMGcGyyGUi9vz5WKlkL RbHpEhJMwerocWgbAuAVCvH4UO32AwKef5Mk7igsy+Z5jXWto+R2k3xidgaVBTuIkhsV 71S6009tEDzGrWoPO72kbA8Uo+RwdWrPA89B3YoEC+RtUyCdtTwFgpf6p2gB+MnpyL15 5dDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qyhgjTF1; 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 x58si1900505qtk.93.2019.09.26.09.33.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Sep 2019 09:33:16 -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=qyhgjTF1; 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]:40740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDWhf-0007nl-5v for patch@linaro.org; Thu, 26 Sep 2019 12:33:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41004) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDWby-0002T5-HI for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDWbw-0004a8-0B for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:21 -0400 Received: from mail-pg1-f170.google.com ([209.85.215.170]:40893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDWbv-0004Zn-Rl for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:19 -0400 Received: by mail-pg1-f170.google.com with SMTP id w10so1833954pgj.7 for ; Thu, 26 Sep 2019 09:27:19 -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=gWWGSTfYrzYkzLZawcn3q2Ja4PFRns9a4fWpQZIcwHM=; b=qyhgjTF1LMsMlb4y37zkYiM7/3hiKYWsPijb6POezQWq59JYNgT8Xw9H12sTTR6+EI mLhPJWtNs9TcrUeOy59707FyfDqsFd6l/UKP+4HrUCHTRrk1e1o7BoI1mgTHojH4nFZo CpXaH8DC6ByIxUJ1Xsh49cFHLeC2T2ulvXm6zZ+4ZWkCw0X3BAKcDKMKU1bc7tk+8Ulj eP00CqnN9neET8mz4XlpQgR6jsKQWOQ1ODCGgr/N5/Npqwnp99muoD29bbgfjKAy4kP/ +0TzTCvQATHwOf+bbr7O+RFb/oOn/brrlR+5Nop38rLzsBQjzb3K//2CApjTqGG61sHO eCnA== 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=gWWGSTfYrzYkzLZawcn3q2Ja4PFRns9a4fWpQZIcwHM=; b=nTSkNU0f6UQmC7l7LR429IdCwbZC3grBe6BXdbJMfwB8YvBBEWRbSMp37zM9TO9vk4 cHILdCV+yrmFl7WFJrFrUYG2igqXB9rfKJZlvqbO7RARODdsS6wqz2b7GdH2fcMndreM WPju3rMdEiR3iUD5AvAPZbwD9jOJ/KNk43DGh84V6Ca+rW8l8f2rjNK00F2PVvxA63fz sKk3qzo+Zyw42gmRm6prsCL8l/jMZXphb3WHLK11mFkMj/MZJoDrVLa77pL0/Vaso0TP 57EQF2UeL/wb2bpEUOeR7eYN7sOSk5ZkLF88ebS4/CGGRtA9auz9zvWhnGtm5tWVSEAZ i4eA== X-Gm-Message-State: APjAAAV0tgs5DQWCpdEDwK8yUzkqSUr8BZPB+UTbCu7RzQaH7Hfi4gZi BFrCh6NLMYju9v18cT7lIBR07W5U0hg= X-Received: by 2002:a63:1a5a:: with SMTP id a26mr4314274pgm.178.1569515178114; Thu, 26 Sep 2019 09:26:18 -0700 (PDT) Received: from localhost.localdomain ([12.157.10.114]) by smtp.gmail.com with ESMTPSA id 64sm4453169pfx.31.2019.09.26.09.26.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 09:26:17 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 00/18] target/s390: Use tcg unwinding for ilen Date: Thu, 26 Sep 2019 09:25:57 -0700 Message-Id: <20190926162615.31168-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.170 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" David's cleanup of some of the mmu code reminded me of an old branch that I have laying around. His new code allowed me to finish this idea up to completely transition away from ILEN_AUTO. V1 was posted back in 2017: https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg07607.html V2 was posted back in April: https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg00063.html Based-on: <20190925125236.4043-1-david@redhat.com> \ ("s390x/mmu: DAT translation rewrite") r~ Richard Henderson (18): target/s390x: Truncate 32-bit psw_addr before creating TB 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/s390: Return exception from mmu_translate_real target/s390x: Remove exc argument to mmu_translate_asce target/s390: Return exception from mmu_translate target/s390: 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/cpu.h | 35 ++++++++++++++------- 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 | 60 +++++++++++++++-------------------- target/s390x/tcg-stub.c | 4 +-- target/s390x/translate.c | 27 ++++++++++------ 17 files changed, 214 insertions(+), 223 deletions(-) -- 2.17.1