From patchwork Mon Feb 27 22:58:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 657137 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2614987wrb; Mon, 27 Feb 2023 15:00:17 -0800 (PST) X-Google-Smtp-Source: AK7set++eE21/JM7wl6kmMeXwkLcVAzS0mENjg1pY1sHhaxJpzH6Xc/vP8K3uCxlQ2HA2dKHbAoB X-Received: by 2002:ac8:59cf:0:b0:3bf:c3f2:82ff with SMTP id f15-20020ac859cf000000b003bfc3f282ffmr1943935qtf.7.1677538817765; Mon, 27 Feb 2023 15:00:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677538817; cv=none; d=google.com; s=arc-20160816; b=IN8YZrztZAB5h26P28BDFX2ne35g5PqXNm+HppvQ1dxQfgbzz2AwiY5V45ZXpt2BRT p9tRpAjJ/hDFbFxMbNCvkvQdZ1A82GUjfin7Xy4lu9Ewg9OeVHUNi0go1icbmYCkLavU Sl9uRdp24N+iaww2xkn61YLl45nO7mdEoFCb+eA64ByiMPpKITF+WOZbhkVdO3o6/eO0 /p4RizAhsP0bsU/8CyaZ8u3+NWbFtOk8i/1NtmZmix5jvjdBKBtzblhl3Bieta82U/d8 RaKLzSn7JrB8DidMIHuTh5zElmI30ZstjnfWYxkh7lXZbQepjZ5CuCgrcsWazwiO+AS6 HTdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=834qqMtvRF8BSTkmUrHBH0Z/kODgg9wpZOC9UfLA/64=; b=KfKEcziSZSg+FW5laoFdTtu8p29QHfHPSN05nmZvEonqCwXhEe8Nk2SLnC+fhpSBAX 6AU6diEn98ixBHLKyqMBv5RNRfU4bj9wcvDuXa0pNPN9+u6K4ZlO3+LPH1OS1FyH4Ofm sisryQTYzVNKudetpodq4SlHDhrwyH+7Vg1wg4AfgrwET5k7VJlIk12dKUCl7oIny9yE NefHJWca93gXISu7midAa6nI/oQ6qhUwrtDKepsQ4wEdLY5/CEuf0S+gYtMaOieQ+Are iPPgfwpe+z+41MmavX2O/Zvv8V1Mh33FKl7SE7LfJ/WzNXTdBPTDu/zLQO6d0mzLTkvT s7/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nf1PvNAJ; 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 p22-20020a05622a00d600b003bce12b291csi7728073qtw.320.2023.02.27.15.00.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Feb 2023 15:00:17 -0800 (PST) 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=Nf1PvNAJ; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWmS8-0001NQ-Bb; Mon, 27 Feb 2023 17:58:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWmS7-0001Lv-3h for qemu-devel@nongnu.org; Mon, 27 Feb 2023 17:58:39 -0500 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWmS5-0008UU-C8 for qemu-devel@nongnu.org; Mon, 27 Feb 2023 17:58:38 -0500 Received: by mail-pl1-x629.google.com with SMTP id p20so7269935plw.13 for ; Mon, 27 Feb 2023 14:58:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=834qqMtvRF8BSTkmUrHBH0Z/kODgg9wpZOC9UfLA/64=; b=Nf1PvNAJ+2M80scXmWG9hS0qDO7xOxhzljzBE0VGU/zMcZl8DPgLNxWxNkq+lt4fmI fQ5Smn5RYPaUnQCCTsEfw+rmNTAHaoTYwUzBMYqyDJrDcFMFcij/uJUJFhl/jmDE5q5L dxFLDgCZrba/TuYt/6Jm5KAJ/FysGS/uh6ruAQXqWY11wVaSrxFWQcQVccCe5FRhmu+A iy/2cygCl4aIk+Sicx5OViJKb29rMYNhnrXi1503A+IE1Ud6yh318INvVQKTJcdoLOoc 7wtIS9hFaUTHBIPzjOt6sCEsIGIej5m86H5H8+wLB+c/EtsQ40fhFcychOz5few8/MKY fLvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=834qqMtvRF8BSTkmUrHBH0Z/kODgg9wpZOC9UfLA/64=; b=j1j7NcFg2f834HWsZyqIl328/mcxX+1E71FMYVd4kVHNpNcHQsAwKYcdQFZL4NlDtQ m+cGihYH8x56n3zjiDcx0PXiIUceZFq4GgNz4C6UL/7OTKgOUxlihvMbCrhDq13ArJ9x Tzem1Pw9VRuD1Qifty6bJynJyh3vmpmyP1+gozFcQnralWsr/bv/c2zQu3gHgjWlEArb ToddYKDMyLYsic2BXppPd2HhLKhsWGKieVMfaSbhfKyIQy5HYpRP33gPw/eujK2arCKF j1IEL5UPg5Qrq84+3UjUvygazg6RdKt55R6QWiqCh/WCMyFt4oScN6bkzQzRYu+KX+s+ 2r3Q== X-Gm-Message-State: AO0yUKUKBTMb1PYLXESl4o+6GQ/uzQ6yX426JFxJlvw5TWEf4N1Qd8A3 vlx2X3EO6Lf8cdE1ziN1+xmwBwy2AAFLBBBX+PY= X-Received: by 2002:a05:6a20:6998:b0:bc:c86a:f60f with SMTP id t24-20020a056a20699800b000bcc86af60fmr1089212pzk.54.1677538715664; Mon, 27 Feb 2023 14:58:35 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id c2-20020a6566c2000000b00503000f0492sm4441050pgw.14.2023.02.27.14.58.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 14:58:35 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH for-8.0 v4 0/4] target/arm: pre-FEAT_RME fixes Date: Mon, 27 Feb 2023 12:58:28 -1000 Message-Id: <20230227225832.816605-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x629.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org These were part of the v3 RME patch set, but are bug fixes that should not be deferred until all of RME is ready. r~ Richard Henderson (4): target/arm: Handle m-profile in arm_is_secure target/arm: Stub arm_hcr_el2_eff for m-profile target/arm: Diagnose incorrect usage of arm_is_secure subroutines target/arm: Rewrite check_s2_mmu_setup target/arm/cpu.h | 8 +- target/arm/helper.c | 3 + target/arm/ptw.c | 173 +++++++++++++++++++++++++------------------- 3 files changed, 107 insertions(+), 77 deletions(-)