Message ID | 20250307150708.3222813-7-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | bdd641541fbef0a27bf9f60e7eba6f8a31d4706c |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:64c8:0:b0:38f:210b:807b with SMTP id f8csp811176wri; Fri, 7 Mar 2025 07:12:51 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXbEAI9Le6ifPqYQGsyGaC1OV0HD0fu7j+g5qzNqIFTfpaxnj/vQxBDdCX/5cRdLKyOL/2kRQ==@linaro.org X-Google-Smtp-Source: AGHT+IFNIyMRy5gJ5pg+zzKKAZtr8lNim27usWdAK4NVV8hiEX1aQ6TBl7mGOspR/y7a8f+tZDVv X-Received: by 2002:a05:6122:1d45:b0:520:5a87:66eb with SMTP id 71dfb90a1353d-523e413acc8mr2845314e0c.3.1741360370900; Fri, 07 Mar 2025 07:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741360370; cv=none; d=google.com; s=arc-20240605; b=IZ26XZ/Yx8PFPm6qUai9HgrZRspPhTbkRQy6uaWIgyrArlgDMJtNHDO3soM69HhoiC pRTQZqJcQPPVdPjSjQAfQT+jusui1MbOKTPM3GMJ0NQx92nBOkyah2xaCGvbEdevIzoX Ubt09ZMooC9rOkDFhI+Z82Zfx3FQXpkz58tirmXJeoYZr98PbcIgptELo0J24zV40d5W xpwrAJOGOa6zzPxDz0fLOctwkha8gBBVBE6rpCqX3sbHtZvT42I8xKY+2ZFxlYtOKQ0G ClA8I7G657Ip9jSVFzGXbJXScmXW72eKHAPYiyB8Q2OmRco96o9UXWS3CPFNUbpqpbKc niQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=VbVylxx7Oy35uID6Gb8pD3yEbXq+7FDTy6cITNgisqM=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=J0RcYxphftCy9TGdkspotx+t1uyo6JzaFaU2ct2H2MnS9LcIvmMsLx6PNPs4ZIQXId Sz+isNj02peblcuWTJb/2DHPpDyb1qdscJN/hVQL+Alu1F97tszd/NVH9Pz0UkLlVXU8 1hP1XLcz1h7Yqb4mfrXm4e77SSoE6MBPR3XrvA21Mf8MC3yvKh+OHHB96+e4MqojzO61 1aeaKSflQtGIRRuz5npImNR5y4oyI75JAPu/rGlT3qm/hqNaPH6qIag+REgc5Z17564y dwaDZmh4Me5hIY8w3OrrTGImNTohG5dg988lQvkuVTZd8zMPcR75NBXplQIAVNfTMHIu /1bw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dx8rS4Hi; 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; dara=neutral header.i=@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 71dfb90a1353d-523d8ace758si749422e0c.107.2025.03.07.07.12.50 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Mar 2025 07:12:50 -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=dx8rS4Hi; 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; dara=neutral header.i=@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 1tqZIJ-0000vx-MO; Fri, 07 Mar 2025 10:07:23 -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 1tqZII-0000vk-CI for qemu-devel@nongnu.org; Fri, 07 Mar 2025 10:07:22 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) 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 1tqZIG-0008E7-Ow for qemu-devel@nongnu.org; Fri, 07 Mar 2025 10:07:22 -0500 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-391342fc0b5so1104530f8f.3 for <qemu-devel@nongnu.org>; Fri, 07 Mar 2025 07:07:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741360039; x=1741964839; darn=nongnu.org; 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=VbVylxx7Oy35uID6Gb8pD3yEbXq+7FDTy6cITNgisqM=; b=dx8rS4Hie8Ieaf7bk68NreSj6UMSJPvsnftjQRweLEqIAX/OhJHzL6ll9uy7fE93SM i15PNENIFT/BrYdC0ke9XtE9WF8Wr0wgoUF7P4rhwK8cGlYiQ1/pyJIvI86rxHZgzkCV MQdWH0cU4jlqOYwpFidnX3y5b/Y/fSoRe9OcaO/Kq0r/nv66S4u2m8AGKrg95ThxStBP bR8AG46CV2kEfvl7nM3ANrwpjCBnDa2gFiGwzjwtUdQ4hjNYRRmBr26TV2DpaHcy7q8h m6JO6Lzun7h2+28WrNxDMIvYT5XViPOPZIxY0uT9L1Lkmd4YDgNS23bBTWdBBm07J3Ih +m3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741360039; x=1741964839; 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=VbVylxx7Oy35uID6Gb8pD3yEbXq+7FDTy6cITNgisqM=; b=qHMEIBuxjMepsGJ+cegNQsgJV4UBsQmyBjbiWC4vfHQm4NW7DU5GaVhiE7Y2ZPT5Fz MZNfwjrkyQ/R6VRMywODpZOx4k/pZUjiKKXmxbcqSvpEnhQOQQ3iMwyryxaKBOSqLQuX 2v8UTEL5MMPlHPSZyjoT8dIlRx428Zi9aPxWwInCgB8Q2QGE+g+OFDBudnYrb1n69YEo gkxGKVh7ZwIZeONjYpg5sXFYF7mOq49XR8v+IwhRYL+Q9fVf5sYJt4+OOZjI6TWe34HW YZKLAe1qMrUBnxRAWVqvI6KleBv7HaYvrTEo0c3ZBEAFPmZ5b472A5FXr6Y5KjZq7JfE o0CA== X-Gm-Message-State: AOJu0YySm1R77czk0qbj7s/sTvlXcg0g+YHwwV71lQUmRWYZqNT2M5+M psL/DKeCkkCdRJkUXCT8XoaQYYdHaJd8GrJqKICnezq2OuNjsL0XdehRdoWvDeNCMZiNyeW8EC9 U X-Gm-Gg: ASbGncutfU0T2NeFzo8gk9Tb+GAJoXZEvYiRST4jdbiStYuEEYCHw+SALaupsp17A+/ vELILVZlacfzmld+pCVoHlaRDwfnR95o7tWg/LuyLaahdwX/FrGn9mTKzTZDU89y+mMc9WSTft8 ZXF33Ryfxp9dBSO9K8bnly7yoimOS69TSSPJ0Mocz1CdThuf/LRpmUJ06e4E0Kxr29JYjd0ixZR HS681b12X9KGepIaaOfpoxZ2UD9Fe2g0MSKcQsxYXq8CxgDmbx6RK9Y/FHop0XGeCk0Zw+Yo7eJ nJtSk4GP5Tz98+1DvY59VPalqCS3W1NEx4OgTgTLr9PI0vN4bVo= X-Received: by 2002:a05:6000:2ac:b0:390:eb6f:46bf with SMTP id ffacd0b85a97d-39132d08dc1mr3154867f8f.5.1741360039128; Fri, 07 Mar 2025 07:07:19 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3912c1031fdsm5443627f8f.89.2025.03.07.07.07.17 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Mar 2025 07:07:18 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 06/21] target/arm: Make CNTPS_* UNDEF from Secure EL1 when Secure EL2 is enabled Date: Fri, 7 Mar 2025 15:06:53 +0000 Message-ID: <20250307150708.3222813-7-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250307150708.3222813-1-peter.maydell@linaro.org> References: <20250307150708.3222813-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42c.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 |
[PULL,01/21] hw/arm/smmu-common: Remove the repeated ttb field
|
expand
|
diff --git a/target/arm/helper.c b/target/arm/helper.c index 5729b313f84..5b6de446ace 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -2387,6 +2387,9 @@ static CPAccessResult gt_stimer_access(CPUARMState *env, if (!arm_is_secure(env)) { return CP_ACCESS_UNDEFINED; } + if (arm_is_el2_enabled(env)) { + return CP_ACCESS_UNDEFINED; + } if (!(env->cp15.scr_el3 & SCR_ST)) { return CP_ACCESS_TRAP_EL3; }