Message ID | 20230130182459.3309057-3-peter.maydell@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:d8c:b0:4be:c3dc:14d8 with SMTP id d12csp1307068pva; Mon, 30 Jan 2023 10:26:45 -0800 (PST) X-Google-Smtp-Source: AK7set/iTQM5k/GjRrIVlFu8Z3XulhxGnt98Bty6b3naEhkI21iXxOGISs5v+uW8u9jjcOB53/Iw X-Received: by 2002:ad4:46d3:0:b0:537:791f:73d9 with SMTP id pm19-20020ad446d3000000b00537791f73d9mr25794330qvb.21.1675103205410; Mon, 30 Jan 2023 10:26:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675103205; cv=none; d=google.com; s=arc-20160816; b=wBe++DEl04cIGpTs8T4tYSJnlY9z8v7wWLjZxQPZGUaC1brlNQysmNCVQxzrvLO+m8 nlzI40qhek06Imu9/15fy3baONmgFKHPIEE0Pji85/DyUOmdLUuKHGEEDFj17uiPJPUm gmnrafqFbHTqzd1eYHN4gw1AaHIdSRyWUwThXEG0swcgtLAbZesdoWdiPLBqGrVMYmh4 GUrfRmkqTwJ6cfGEcHp8Su0P3MXYZfg6fs2qVqw/PC72eMsm1MxPRyXxFs6lqYOC7UL+ IoKN9ms4IHiwddRkUp6f/mKxPWNiX3XR81U+EwWyRcLYhuobk4Imz0CA+pxTRtkm7bjl 8HEA== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=rq0lR9ne6I1nZstcxCOL1EodaQTBuWKIlIMnYQtQVEQ=; b=hnxYgBSDlrQTE03dfOtzd6LE734So7Pm6hxTX/9BCiLjUGuqm6CW6OS4DdJ6fXEpOt bXmfEP3eTqtooXoK5P4qmVVDJTgqTcfhrOVYOd7QTgwl93KZ64Q+ItrlTWITQV4hiqVb 2Zc5Dhzt8T1qkKBJ97l5ZnUc7kMncHWXmceVlIX7M/6wE5hrNVUg4ujihjAaVJScuTon LhHxxk5wdmSS5+Sux3xHEMD+Ns026QiT2mlQCuFCFIfPVkFMDIsc+5S/pXXxnyaVNHS4 9RMETifK4mJPLENXpNuNKKeH6SU/S8ry9YxZesL5G7o5TgkTZKhZZmYDItWOGesGIi2L gFPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CWBNV5kp; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id q11-20020a056214194b00b0053777675214si7293675qvk.512.2023.01.30.10.26.45 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Jan 2023 10:26:45 -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=CWBNV5kp; 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 <qemu-devel-bounces@nongnu.org>) id 1pMYqE-00011y-Bg; Mon, 30 Jan 2023 13:25:18 -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 <peter.maydell@linaro.org>) id 1pMYq7-0000yh-Ec for qemu-devel@nongnu.org; Mon, 30 Jan 2023 13:25:11 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1pMYq3-0008IP-Bx for qemu-devel@nongnu.org; Mon, 30 Jan 2023 13:25:10 -0500 Received: by mail-wr1-x434.google.com with SMTP id q10so11991963wrm.4 for <qemu-devel@nongnu.org>; Mon, 30 Jan 2023 10:25:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=rq0lR9ne6I1nZstcxCOL1EodaQTBuWKIlIMnYQtQVEQ=; b=CWBNV5kpX6yRYgoF+3K/zfNPHilLx7rVI7ZPhV9eX5W/Q66I20JRXkNF1ugMm6S4BM Dd9DNjnzaWbrncSHM8BzU89sjBwqxmD2fWyhcqS1uxyGmEHHvRGpC3eBDNom5AJJsyns zNfrnw9nDKSs2bjpiQnUcbg84hK59iTVYEBwPeqzp6/nMibgUcaclpSAxnUyUn1Sm4dF ZNleYuioKtbCjP6F5IHAimgP4cx++3MtoQaqFKeIGrYtTMgK1NWXUxQCzQ5NiIFw/ANN 5V7VGrSFu1PsGJNHcsxCeOlzJGqLewxYY3qbRaOvzWbr/JOypH5vYzzCtUTt7DpWaebU jiqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rq0lR9ne6I1nZstcxCOL1EodaQTBuWKIlIMnYQtQVEQ=; b=qgfHToq25vibMVCTCWTB2Hqfxv1GbA+TkSyGlwP3TaQiYNJP4UFBZ9gu/RVIp8i2eT lllVbS8vfRSxle6tK+VqcNoeM+rDjyTD3pWVMBT63vropEveAy0pV8cXKHdmJh+xJZou +3a6mgPzF/NoYsFqmiayAq1KTfo2RV2QhB8tbEx5bSG7GRu93dx3g4LAfAPq3dchIDHS fQQfQMXgaiEcPA30mcYfyDYAEXnhY3GYCgEZT0qpjuwBoUysY+6wLKy5hla8i759v7W0 FaZC0Ssr+yGWyTeX1aMylDTUOat402ODs/qljpbeml//Tq6b/guDyTxiDnXujJ7qXUID KlNQ== X-Gm-Message-State: AO0yUKV2qrjQJAMnXESYLmPvTG4ONtznwm2+AcH6dG8s9SxwakdCsvz7 UfMDjQBPLekBAUP34RunduePhA== X-Received: by 2002:a5d:5b0c:0:b0:2bf:eb2c:369 with SMTP id bx12-20020a5d5b0c000000b002bfeb2c0369mr320600wrb.66.1675103103713; Mon, 30 Jan 2023 10:25:03 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id l16-20020adffe90000000b002b8fe58d6desm12245202wrr.62.2023.01.30.10.25.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 10:25:02 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH v2 02/23] target/arm: Correct syndrome for ATS12NSO* at Secure EL1 Date: Mon, 30 Jan 2023 18:24:38 +0000 Message-Id: <20230130182459.3309057-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230130182459.3309057-1-peter.maydell@linaro.org> References: <20230130182459.3309057-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x434.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
target/arm: Implement FEAT_FGT fine-grained traps
|
expand
|
diff --git a/target/arm/helper.c b/target/arm/helper.c index ccb7d1e1712..6f6772d8e04 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -3284,9 +3284,9 @@ static CPAccessResult ats_access(CPUARMState *env, const ARMCPRegInfo *ri, if (arm_current_el(env) == 1) { if (arm_is_secure_below_el3(env)) { if (env->cp15.scr_el3 & SCR_EEL2) { - return CP_ACCESS_TRAP_UNCATEGORIZED_EL2; + return CP_ACCESS_TRAP_EL2; } - return CP_ACCESS_TRAP_UNCATEGORIZED_EL3; + return CP_ACCESS_TRAP_EL3; } return CP_ACCESS_TRAP_UNCATEGORIZED; }