From patchwork Thu Sep 5 13:00:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 825645 Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp287120wrb; Thu, 5 Sep 2024 06:04:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXGM6E/NNcPNju9VTNgS1F3YM1USpXUA4uJ+EfDxPn8RU5Z1vDSxCElWBQdN923hR8BT1NnHQ==@linaro.org X-Google-Smtp-Source: AGHT+IEIhhuaQl3ulEJ09X+ZpgFG6qQ4/E30HtppyEo16OjnncB79XKerhUUxNTEa1eYpyXtn+Kh X-Received: by 2002:a05:600c:480a:b0:42c:9e32:d26f with SMTP id 5b1f17b1804b1-42c9e32d33cmr1522085e9.19.1725541446195; Thu, 05 Sep 2024 06:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725541446; cv=none; d=google.com; s=arc-20160816; b=JMYKkWF8m069Pi+jP9k5f8a7EXP1axYrMsu3n23hIbawJepem3CJQVErxf2Yxu7G6M +/2CvTyaD/W6AEe7aKEIEsH5uihoyya1lxE5DiDx8T65TOs3P2Hlwej/7onqRRcxW8NI N5PcMrVQFiUSU/WeK3yWHGj1YcAJnHGvv8zm4mYCbkDTXDdBTRCSz9MwKunMEXE9NRc5 QuD2PvV5zO8AKs/9XuGMW11FniFlZq3qw3VQCyKouWMFit7QNq+NV6JknHD6Oz2/msXv Rs8TI93f9z4N5/+0Q98gg4GXD1XI9cI1VB+kwEcNcB8mhyurdo9UOpvZBbbvtyuD+Unj cqOA== 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=pTJYExxOYFHS9qVhAz/vysSNcJs4aSX7vL8lE2uSNrc=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=TMvxkFyXveViM7vT6FEvOz6Roxi5EKFNMJ/ZCIOlDOmQyLBaQioj8YxhQjIwAtEWtD gwHIcV44R+oy4sMC51wDQwoSqxrNTZSgIMCRVL/nqazVcQUNZ6qW8ee4b8l4I2eSMMww sQ++l9yYffZauCvuXr/Y/gypqlfxK3pLKDBW8pXOHbwK74VPOAzS/cr6sDjMsjHMfWKe kYQyGvq6X2Z5fuDe931yJLPl3FR7cWArEPLZ2zjsPWEjCQ2DhrIsqsnMBMaOJ/MucqIy S3aARq8+smeA//lXr5pmYzj0TIJm5gMjf6Kc3IZOZxihod8cBZJIg14iomtLuB5Gytx+ Q8FQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mNLPg7Gt; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-374c3269263si5219489f8f.106.2024.09.05.06.04.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Sep 2024 06:04:06 -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=mNLPg7Gt; 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 ) id 1smC79-0001oi-Ku; Thu, 05 Sep 2024 09:01:31 -0400 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 1smC71-0001Ic-AV for qemu-devel@nongnu.org; Thu, 05 Sep 2024 09:01:23 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smC6x-0001mt-Jf for qemu-devel@nongnu.org; Thu, 05 Sep 2024 09:01:23 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-42c79deb7c4so5916365e9.3 for ; Thu, 05 Sep 2024 06:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725541278; x=1726146078; 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=pTJYExxOYFHS9qVhAz/vysSNcJs4aSX7vL8lE2uSNrc=; b=mNLPg7GtXbHl0thyX+yt8BZaHrYSv77ueENoqemwcDCThqbNDXiPt9YP9M3EgCNNLC JJLAEiH0PVsERJBBKQCUcfex7UCKoZ2OQB+aRbgksfZqSlgVjUygSE13KLxEEvotbmP2 hnqbnRWoxQaY0h5yDCTeo9VBdbFqNPThxAJoVZFtfkWYnQrb2vvirviPfNVUIsSuI90H 3u0RO2yZD2It8XJIcIWAgaJXGbNTwz6T2Y3LcMcfaFs76IIbVhTf+luPvNsnYlGT7RhY EkxZwuU3+WP3B90MGKFZG5ipVEFJBctqVwscBl/Ry3pXd9SY44KPguYTlZ30+1CoFNjF U0XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725541278; x=1726146078; 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=pTJYExxOYFHS9qVhAz/vysSNcJs4aSX7vL8lE2uSNrc=; b=vTYY8YB5p8Vead8lzRRZl2+U74mZLZ0kKE1A7FR2XJHCVm9l8votHj0kXHYQDinEOW HlSDw/DsDfaKFgWMO/EsJTKUC8vHzVRCeL89gZVnB+MrCWR77FNRDOhrr2YDazKUv2ru QootsYaCGB2kygwg9Fpk/w9/iGlvw0sqM7SzOHiWw1MKN1CjpN1f9PsC0o0XMYW5f6O8 yPsgG+p0jzKi4LP5TyWqh/YkLjtB3omC7XJD6e+0EiaYA3dLgNNMPW0IWqGLyFF9MSFs AQcXOkVjZMp5so12GhBWNd8+EufGpFPygvc9dQCy6kf3hhQqi/D3F1YZEeWVmF/hFDcr VSVA== X-Gm-Message-State: AOJu0YzKGrdo1nM9pyW2t6NQ/50D2LnW+RTO1nWTF8LHhqxq6ysxNV3T 3syJl1NumiglYUwwcmAbWExVUXkinCG2QpFkv27p3MNAQCFs0y5sRj1VBNScZUqC3H0nRv037Gx + X-Received: by 2002:a05:600c:1e85:b0:426:51ce:bb14 with SMTP id 5b1f17b1804b1-42c7b5d8f29mr110960935e9.30.1725541277408; Thu, 05 Sep 2024 06:01:17 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e355dfsm232251365e9.46.2024.09.05.06.01.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 06:01:17 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 22/25] hw/arm/xilinx_zynq: Enable Security Extensions Date: Thu, 5 Sep 2024 14:00:57 +0100 Message-Id: <20240905130100.298768-23-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240905130100.298768-1-peter.maydell@linaro.org> References: <20240905130100.298768-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x336.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, T_SCC_BODY_TEXT_LINE=-0.01 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 From: Sebastian Huber The system supports the Security Extensions (core and GIC). This change is necessary to run tests which pass on the real hardware. Signed-off-by: Sebastian Huber Reviewed-by: Edgar E. Iglesias Tested-by: Edgar E. Iglesias Message-id: 20240828005019.57705-1-sebastian.huber@embedded-brains.de Signed-off-by: Peter Maydell --- hw/arm/xilinx_zynq.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index 3c56b9abe1c..37c234f5aba 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -219,14 +219,6 @@ static void zynq_init(MachineState *machine) for (n = 0; n < smp_cpus; n++) { Object *cpuobj = object_new(machine->cpu_type); - /* - * By default A9 CPUs have EL3 enabled. This board does not currently - * support EL3 so the CPU EL3 property is disabled before realization. - */ - if (object_property_find(cpuobj, "has_el3")) { - object_property_set_bool(cpuobj, "has_el3", false, &error_fatal); - } - object_property_set_int(cpuobj, "midr", ZYNQ_BOARD_MIDR, &error_fatal); object_property_set_int(cpuobj, "reset-cbar", MPCORE_PERIPHBASE,