From patchwork Wed Aug 18 01:00:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 498869 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp154051jab; Tue, 17 Aug 2021 18:02:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/rBcEdSrzd6KavJOYWD+loNmj8+fqxYeFCA6LHAI3SHaNYF2UVTSJSu6NX2y5CglXXKza X-Received: by 2002:a05:6000:18c8:: with SMTP id w8mr7255679wrq.90.1629248558259; Tue, 17 Aug 2021 18:02:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629248558; cv=none; d=google.com; s=arc-20160816; b=rR7zYm5UTXQ9ZWFXkadiQSKoUXnh9qaQbeAjF7gOn6AScIMu9D6QWdV+bzAljz+/7N dW7/UIZ7fKKU22ze09fg1uT7dA5Aa935MP8drF2kS/JDruKRHDF/iIjetEOXHrCrNwJ3 MyIOINsKk6D1Hgr7T5Fq9uJerI4fm4BiQ3qPqswsChhArNHFDNXx+vjWhrJBiMyMLqjR OuwJwTGxTwEnVYNFbExyC45Oh2+/4sat81M5fYf2tetpMkj7+eGA/cRiGf7yVNx11p/s eYUOIbi1OyoeVIbrOjQFiFLdTMPZW/lfY2YaJMreY8QVLnZoUhOaev4/nz5d31R8Q1E0 SIfQ== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=oK94JCVp49MDHMvJof12YEKJDZETbAsJG4e9KZDNxVw=; b=aCfh5uPBmftoXN2bOuACNKHAsgQXUBWMga0em5S2huyV+mDoh6QJ5bO27fATOtst50 WrKqwu9DFnSzaC92Z6x6gB+GZh0XK7R5jnRZMgUeNukzOL5whRoVZHDYOEYw47Ga8fhC LZI5d/c6ZPVqmc/IoWSw5p+EbvvnVDbwOjDYzOxfCQ/fKtUs+yPcyOnGyO/vI0GPNJVY BO56BhRWU3YLzGx8J6RFZsLlkqaHlgrQBFmZSVWtoyRNcAPqdt/IOGEfNi6M1EHVu11u 8CYDrO5suhb0YzL/XC0vs8O5NfUhfUrX5MjVJ1bYfWsrWS1RmghJR/UIPBcuPd+W7eIW auGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ih06Cs5h; 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 r12si4181904wrl.218.2021.08.17.18.02.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Aug 2021 18:02:38 -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=ih06Cs5h; 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]:45654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mG9yW-00049M-TW for patch@linaro.org; Tue, 17 Aug 2021 21:02:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG9wp-00047j-7N for qemu-devel@nongnu.org; Tue, 17 Aug 2021 21:00:52 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:33433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mG9wk-0001KV-RJ for qemu-devel@nongnu.org; Tue, 17 Aug 2021 21:00:50 -0400 Received: by mail-pj1-x1033.google.com with SMTP id 28-20020a17090a031cb0290178dcd8a4d1so4253475pje.0 for ; Tue, 17 Aug 2021 18:00:45 -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:mime-version :content-transfer-encoding; bh=oK94JCVp49MDHMvJof12YEKJDZETbAsJG4e9KZDNxVw=; b=ih06Cs5hdvhFxCs4E3aTxS40EF/HFSqyyDNh/qj79ApK/9jDlvuqY7gBw7ktYesf17 Phsg3lOpBnGO405yQgO66Q1DqXcsEerNAWEo6hq9qRYLHd161btYYuWOtsRCSuvuZS7f Z7kRQGP1r7jf5AgtBrDZi/zMeD5GvDjM9th6wYz9y0xJhoYlowMYfBIpJL6aXkMSwP8T pDj3vK7V4xCLqPYomLgalnJ3K/NBflv/Z+xL91X70HzivzWBwBT04zbeAqinbiFomYYM +SdC0gp4t4fvD4NIePo7pOE6ip8h5fOdT51553R8EMAyTVhMmE8TZqhWt30QqUVzr0pa hh7w== 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:mime-version :content-transfer-encoding; bh=oK94JCVp49MDHMvJof12YEKJDZETbAsJG4e9KZDNxVw=; b=YhBQRoxb76Wvbviy+9h0H2+MENyDKN4B0xKCZT6orXVZho7XU7rfGtbQRUOC8uxGmj yI2HBUA6CiSPhEYqtvKgWaseFjSWHORpkhThBMgrdj/eeHzo1IZi10Zouy4wUqX1H/hk TLwV7joHnLuEi7rypJ3gpTquvBn51hofgCczBF2ViKpsBZvt+srwQiGhmu7MQagrjSWd reTE/j+WCgjMGYOiyAN/N9T6r/5UCj0rqTFCtnoJ82GcfxcsXS/CplYc6SNKBYjw64LD gBikKpKkS8nqrgRCsn/t6Um/cx/mxQOHGztlLeiR7Al8wBtUCtCKQVnj4YWEQTYtNvah 1Ymg== X-Gm-Message-State: AOAM530Y4UZ9DP/uRB9gLj0qztkpFlmQsGTagzz3I/fDuPcdFvBBhnft HqBRN7KeGn9OHcvR6Cfdoe/VdpxdadX63A== X-Received: by 2002:a17:902:748c:b029:12d:3f9a:d3a with SMTP id h12-20020a170902748cb029012d3f9a0d3amr4937652pll.74.1629248444599; Tue, 17 Aug 2021 18:00:44 -0700 (PDT) Received: from localhost.localdomain ([173.197.107.15]) by smtp.gmail.com with ESMTPSA id r13sm4567422pgl.90.2021.08.17.18.00.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Aug 2021 18:00:44 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 0/4] target/arm: Fix insn exception priorities Date: Tue, 17 Aug 2021 15:00:37 -1000 Message-Id: <20210818010041.337010-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1033.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As discussed earlier today at https://lists.gnu.org/archive/html/qemu-devel/2021-08/msg02686.html Raise pc alignment faults. Fix single-step and pc-align priority over breakpoints. Not yet fixing insn abort priority over breakpoints. r~ Peter Maydell (1): target/arm: Take an exception if PSTATE.IL is set Richard Henderson (3): target/arm: Merge disas_a64_insn into aarch64_tr_translate_insn target/arm: Take an exception if PC is misaligned target/arm: Suppress bp for exceptions with more priority target/arm/cpu.h | 1 + target/arm/syndrome.h | 10 ++ target/arm/translate.h | 2 + target/arm/debug_helper.c | 23 ++++ target/arm/helper-a64.c | 1 + target/arm/helper.c | 8 ++ target/arm/translate-a64.c | 267 ++++++++++++++++++++----------------- target/arm/translate.c | 71 ++++++++-- 8 files changed, 244 insertions(+), 139 deletions(-) -- 2.25.1