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: 807057 Delivered-To: patch@linaro.org Received: by 2002:a5d:508d:0:b0:362:4979:7f74 with SMTP id a13csp2009829wrt; Mon, 24 Jun 2024 11:10:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWXZmxgxHCi80n8dlYwCephnQ2NPVD84msdhR1FpEWZATkxfqf///LnKFZC4bZZQVPddvJO2f3Jfpwri9Tn6to8 X-Google-Smtp-Source: AGHT+IHGkVoGMbmC8JmmsWVf1Pzd2VOmV+4Du/NC7oYbStuKz5lbcFxEDduf5llkcdcZLxGkj9Id X-Received: by 2002:a05:6214:5d2:b0:6b5:eea:dc00 with SMTP id 6a1803df08f44-6b53baaac92mr56905996d6.21.1719252613433; Mon, 24 Jun 2024 11:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719252613; cv=none; d=google.com; s=arc-20160816; b=C1BRyyIKCpzftXmgQaFLmxOsUs0fWkwTmQMVwLLqewm1yqQL4aOTOPcdCCWMD3/9KH XLme/SxxarJU8nXL/Wb8/7uXgSPpAxbcnQHoFV+96g33uOw6u2ur9h3FIqqgEc0B0Z9g eXEoB4dof8GQ65N8uAM7atVX7kn0c7CuylRlD58+oeeXbSkh9IkhHoLCz800Ac3b9MA1 vQGGiqb6LU1fz7ipXDqQtTKOJHTuBXpMtUK5f8rO/bSoUHdSQKPqpH3qHlkGrRKxu6sM Y9G8KTMUat1GxKJBd5ASEyH4jWSQGjAevedB7Fj55SFqASAMOSyCPgaXY5uClX0QKtKO r76w== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=y1sUyu2NpDGG39jui+mslSabiSdHVEC5l8i2enczN+U=; fh=bWuEZ9DvmHlpX6FQv8pWPzI4DtMc4DOWnvhwKjCxOCU=; b=t6W9H8zmpg+SrNZUKGtXW/iOlog+Ry9EfkQoexLpPNQlyjKAejtTK2rbMknqyFuDKY i6H25xmO1R+cN3zCh8zUiZf1H7d29L2xYk03TnHRIQdVoBfOdCYH47AozOyOvNUDjC0P 9AJoVLFAGx5dboYOxERPcwxrncDxnm1XXE4TwOADFDge4UwMXKn6YmQ4M1UJivq5bI9t AhivsFougWaf7I1H6ZIKmuOmEws9F8WwW9lFuQzSC4B1izaSy3tiwao23lz9MgoeaVzT 9igAl2NuKXLACaCIjtwYy70dcZC0LtFgOqEqExe4yf52Mrx+oj/TqBxuVD7pvFtLnMah m2FQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kfdehs4D; 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 6a1803df08f44-6b51ef16f78si89213846d6.443.2024.06.24.11.10.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Jun 2024 11:10:13 -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=Kfdehs4D; 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 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-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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.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(-)