From patchwork Tue Nov 21 10:24:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 745694 Delivered-To: patch@linaro.org Received: by 2002:a5d:5052:0:b0:32d:baff:b0ca with SMTP id h18csp1793367wrt; Tue, 21 Nov 2023 02:26:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHxjTqVOPVAlyJv24ShiaP5IFq+IUbG5mhI44vecti7PKblQWfDk9du4mvyGVIVpOIoMxU X-Received: by 2002:a67:c087:0:b0:45d:ab58:b69 with SMTP id x7-20020a67c087000000b0045dab580b69mr5386563vsi.33.1700562408321; Tue, 21 Nov 2023 02:26:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700562408; cv=none; d=google.com; s=arc-20160816; b=yGMEYjprihnii4D4ZjDzp/KZD/qnOAZ4iZlNeEUEMxYz+T4CPRZZ3QLZ+16twdzGV4 sGm44X2Meal9OlP/DHuPmAsJZOre/1xvAvZWo9hMO9Leju/0GulA78xN/NHGo3T68Fc5 0FWcPu1Km6ip+kwIXgR+XwL0ZJdDb5vJ0yUWgm5K7iLKo4xlF/ag7vOWRX4Z8CkOg4ip M5W9kKbFqi2RnJnhMqWiGC8t2CEFCrrqhWtQeE008cdvxWd18w/LYvrL7U/gP1JgiRXa AM3lgrtn/5SdGn/V+dyVAMAT6KPWGeiTq/Ru59IdbnmSRFOUm4PnrJ2fgLw76eZoRaTo XrNg== 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=48i16lN/X0IufQ0d/3ATpQbGOSnta9cBh6bFvGherhw=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=rKMiZDuVreRGk/fOkVda3Sdhl9GJqEzxCURQWnfZPfeisdQypni3MbNLzDCZVTPwIb j0BUTP91MfvDBRml1Tvld++tfnf96iCi8p8orPOfI798Yd7wIYDpzJdwb1BTW9fpTKxM NMlTyKgq9F2mP5yfBR4cyhP1deUDE5eSb5Y+oDd7qq604RznY3i+Ex+ImpQqDSLO+tyb YEdo00HLKrtn77YvPsoMjRrtaKv3yTxMOhwKuTC4epiuexCftpwG/Dd4er/ZNjyCO45a l/mXi8kwXzztbxBwWfcjz3XgjpwxdXqBxIH+/OXqB50QJXX9Z3uQ6ZgvDRnvwFDqACc8 O4qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bsq+uaoA; 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 u21-20020a05620a455500b007756968bc9csi9173725qkp.75.2023.11.21.02.26.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Nov 2023 02:26:48 -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=bsq+uaoA; 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 1r5Nw2-0004Ik-4Q; Tue, 21 Nov 2023 05:24:50 -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 1r5Nw0-0004G5-J7 for qemu-devel@nongnu.org; Tue, 21 Nov 2023 05:24:48 -0500 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r5Nvx-0007EP-L2 for qemu-devel@nongnu.org; Tue, 21 Nov 2023 05:24:48 -0500 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-507a29c7eefso7630748e87.1 for ; Tue, 21 Nov 2023 02:24:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700562284; x=1701167084; 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=48i16lN/X0IufQ0d/3ATpQbGOSnta9cBh6bFvGherhw=; b=bsq+uaoAQ/OtEMEEvn+G2zO+g+3ZPjiMvYEakYfju3TYHWcupjVwJPyDuVWPI1PRMd k7QWCDQdtB2gpoMxxV9LLj3TecDBg5tNorCfr0AnZX9ABLaGoPRxEUQtYPRocWEXmLCu Jmn2WtyLzUlrQmL0SoHPVv27mQ900aTGN3ujWVQgJxtK7vbJWHhsBNAGZdUWwRBP80NJ gyC/jSagZHsSJ62EqFRFiYiGM2IxCjzkd2ixnJWmDNcEiUPlVqKStfAKEvhjUaJGSK9k Ztw2h0ge/EVmVbO/VID6Z7I1pHhKUVxkAPxD3E4Zzc7DRloJN5BGz4jwTvoLcrmXSMGl MEOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700562284; x=1701167084; 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=48i16lN/X0IufQ0d/3ATpQbGOSnta9cBh6bFvGherhw=; b=BGIfFj6F2jFsopBToTCgaEFiKmPfe7jYTF1lDoxOakF8XQvGCPhNCrxlthAdHaAqol g6wANyUxN90lfpNvREbwneTHhYwyJxU9+hLXlccq3VJhihXP5HvrOB25SgrgPKYty0ic p7dohVj0BUrhfG33FZ70IJdEdV+0f9bTfUuUIx9+Af+a+EoAXU8DOG8c1ETyyg5y8893 Rt081Nj0kR8NhJYYXSJz2TCnuC1tEnJQPd4XccwUBf3UjZ2g1ds3S1iI7KdDGlPHUHgE jQ4h8hpgp7UibjBThEb/Hhsr88NORluIckQvefo6Uv+TP79QlnVPRfIHh/gWlpBnoNXU BUvQ== X-Gm-Message-State: AOJu0YzVR3BhnbknwWDNjKDuQljftH569cnD8KrfYUy/7kzZ+IjfWZsn V6eND4x9D7IVBcLzXKxqJfYqG2GpoGYK1Ql717A= X-Received: by 2002:ac2:5df3:0:b0:502:fdca:2eaa with SMTP id z19-20020ac25df3000000b00502fdca2eaamr6882544lfq.52.1700562283905; Tue, 21 Nov 2023 02:24:43 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id n25-20020a05600c181900b00405442edc69sm20450835wmp.14.2023.11.21.02.24.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 02:24:43 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 1/8] target/arm: enable FEAT_RNG on Neoverse-N2 Date: Tue, 21 Nov 2023 10:24:34 +0000 Message-Id: <20231121102441.3872902-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231121102441.3872902-1-peter.maydell@linaro.org> References: <20231121102441.3872902-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=peter.maydell@linaro.org; helo=mail-lf1-x134.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: Marcin Juszkiewicz I noticed that Neoverse-V1 has FEAT_RNG enabled so let enable it also on Neoverse-N2. Signed-off-by: Marcin Juszkiewicz Reviewed-by: Richard Henderson Message-id: 20231114103443.1652308-1-marcin.juszkiewicz@linaro.org Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- target/arm/tcg/cpu64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/tcg/cpu64.c b/target/arm/tcg/cpu64.c index 08db1dbcc74..fcda99e1583 100644 --- a/target/arm/tcg/cpu64.c +++ b/target/arm/tcg/cpu64.c @@ -1018,7 +1018,7 @@ static void aarch64_neoverse_n2_initfn(Object *obj) cpu->isar.id_aa64dfr1 = 0; cpu->id_aa64afr0 = 0; cpu->id_aa64afr1 = 0; - cpu->isar.id_aa64isar0 = 0x0221111110212120ull; /* with Crypto */ + cpu->isar.id_aa64isar0 = 0x1221111110212120ull; /* with Crypto and FEAT_RNG */ cpu->isar.id_aa64isar1 = 0x0011111101211052ull; cpu->isar.id_aa64mmfr0 = 0x0000022200101125ull; cpu->isar.id_aa64mmfr1 = 0x0000000010212122ull;