From patchwork Mon Jun 24 18:09:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Romero X-Patchwork-Id: 1951711 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Kfdehs4D; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W7GGK3wb0z20X6 for ; Tue, 25 Jun 2024 04:10:15 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLo8C-0002Zj-RP; Mon, 24 Jun 2024 14:09:32 -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 1sLo8B-0002ZV-Lv for qemu-devel@nongnu.org; Mon, 24 Jun 2024 14:09:31 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLo8A-0005VI-54 for qemu-devel@nongnu.org; Mon, 24 Jun 2024 14:09:31 -0400 Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-6c4926bf9baso3833623a12.2 for ; Mon, 24 Jun 2024 11:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719252567; x=1719857367; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=y1sUyu2NpDGG39jui+mslSabiSdHVEC5l8i2enczN+U=; b=Kfdehs4DUKViHStLURRqGjWE2mEVxxOxRVlv95Y9K+g0kxSUzm+Eeom+nVGXnQWyNl vWI6gJ1Gk5xrbr6PuZiP/nKs/xwbehLfkTKPLmbBcEwOaVscbo6QPyk0l+Mq2/rsJ02E hCWgfeKa5N8f3hwjeUigC+SfZinA44fZNBeHKIDJI720ZkQGd4SitIFTuLDPMjUEH5Z4 dAGg2FTXd0oqz5MPOGrpNIozJppx4ZEG8KiIZVRDA+yYH775165wh3t66BLWoLnXKn6x 8DgqzpG/LhkxX4KYFiuNrdtFReT8eQpw0b6vBa7SY3ktFBMmm/cfUnCchwYYpM+9EIY6 tfrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719252567; x=1719857367; 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=y1sUyu2NpDGG39jui+mslSabiSdHVEC5l8i2enczN+U=; b=lgo+UxEnqqRik+/8Hhsj3C/xmUjeeINB/zhxwX40QCPvA/xP7yZPejZ25Pp1Bgn1+7 ALFeqEXgoE82sHP1hB2u4Dhb3lmf2MOOUSHt/lvFmJs/UkxKZXu4ulhmFw8xG+Uy7QXw 4SWuQWltVxKQlJsX0kf2RkhpFFz6+4edqbMKde8pOEbtJ3kqtU5G/6lCQT/u4ToF1b3x EYrwOm0tHXY2C6Fp82WQUuXvGlee+3v8h1BvUkA6X652/YAbtgkbY98qqKh8Wc0kO2pm pGP+QXlc+B+IP+X2KEkk2giK2rS6EA7vng5nlRm+464M8E2PZrUQa8GCOeun3EIcTFm8 dtTA== X-Gm-Message-State: AOJu0YxRIK/LV8DKeUTsOT07kQRPImPCZhxPRg6wRK4bFmEh8/Q/x86M p3WfqMP5W85twh78zTDAa2GLewyZIN2PwdzOERc0RbwE62pAWRYwT0rVEExt3zDjDkmcgGpy/ER W X-Google-Smtp-Source: AGHT+IGHA3DTTprIxDPFYgRrzhHT6s+ndDFUtm77+0eMoad/OADSRVOwVD1y6N3+nkllXEESbn7GmA== X-Received: by 2002:a05:6a20:33a7:b0:1b5:ac9b:a59e with SMTP id adf61e73a8af0-1bcf44d8c1amr5867279637.32.1719252566680; Mon, 24 Jun 2024 11:09:26 -0700 (PDT) Received: from amd.. ([2804:7f0:b401:1758:3e7c:3fff:fe7a:e83b]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-706666e9708sm4974942b3a.121.2024.06.24.11.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 11:09:26 -0700 (PDT) From: Gustavo Romero To: qemu-devel@nongnu.org, peter.maydell@linaro.org, richard.henderson@linaro.org Cc: philmd@linaro.org, alex.bennee@linaro.org, gustavo.romero@linaro.org Subject: [PATCH v3 0/3] target/arm: Enable FEAT_Debugv8p8 for -cpu max Date: Mon, 24 Jun 2024 18:09:12 +0000 Message-Id: <20240624180915.4528-1-gustavo.romero@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=gustavo.romero@linaro.org; helo=mail-pg1-x536.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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Enable FEAT_Debugv8p8 on Arm max CPU. v2: - Revert to the original comment above call to aa32_max_features() v3: - Added feature entry to docs/system/arm/emulation.rst - Explicitly set t=0 before using it to set DBGDEVID reg. - Put indent fix in a separate patch Cheers, Gustavo Gustavo Romero (3): target/arm: Fix indentation target/arm: Move initialization of debug ID registers target/arm: Enable FEAT_Debugv8p8 for -cpu max docs/system/arm/emulation.rst | 1 + target/arm/cpu.h | 2 ++ target/arm/tcg/cpu32.c | 35 ++++++++++++++++++++++++++++++----- target/arm/tcg/cpu64.c | 4 ++-- 4 files changed, 35 insertions(+), 7 deletions(-)