From nobody Wed Nov 27 12:58:14 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1699296790; cv=none; d=zohomail.com; s=zohoarc; b=gk+RTRbmpLXpWVtCZ7kFC3NwVJBgWWjitIXXL0mygVXAWoLfQY6utOCXMVvktpz52JDbDja6WBR6ub111aSeMRVo36DdBPkigodNZm5GCyFVvprG2wZme54ZkRcNQ5LwHSCUIJ4u2Y86haLILHjfZ8PX1gArxu3YdzMj9yn6oNk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699296790; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=pitDltH9Qlw0pV6jb2flwtg/jHXkAlmdYF0xczgfric=; b=lkxzG1xEsQ8rbD6jmFrnQmK/M2/ryDFbbB+l4iIb2lxiKNi3lyX5ddS4J7tyqv/e3T1NU98la/Ti280xWTE5k0rDS1ObnNH1su57vL5wbXlECvLSTQyA4gut3UFa9i77rOCXFAzA/7f9SHdKdPi9ePnYuT/V0N/lnQL+sjKb3fY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1699296790688515.3280666134244; Mon, 6 Nov 2023 10:53:10 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r04h7-00066g-A3; Mon, 06 Nov 2023 13:51:29 -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 1r04h1-0005v0-56 for qemu-devel@nongnu.org; Mon, 06 Nov 2023 13:51:23 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r04gy-0000xz-7a for qemu-devel@nongnu.org; Mon, 06 Nov 2023 13:51:22 -0500 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-507c5249d55so6299778e87.3 for ; Mon, 06 Nov 2023 10:51:18 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a10-20020a5d53ca000000b00326dd5486dcsm291434wrw.107.2023.11.06.10.51.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 10:51:15 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id E5E1C6574F; Mon, 6 Nov 2023 18:51:12 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699296677; x=1699901477; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pitDltH9Qlw0pV6jb2flwtg/jHXkAlmdYF0xczgfric=; b=sKU07PzNCzY/IFAPsfClFZo+uXJp1G+G6HctQu/ZzXVeY5FysbmlQFw8r84Lh2Pd1+ DSU3f5pJNxyJ7ncfYy10tNCLT2NHmdWgQzBhlqasYuN7XBa3PvGpwvFLylz7JXKofLVO ZQqUnw7ciN3orCLKctdUXpyh3BfPjP8nSB84A3EdUzZDF/O5RFEjKk5N1lOEJWF7+qdi s9tyCB4GJSVLqCIN+J/8pkBUvit740YMxIaPG/Bv+GIEaVkfPZA4ZSoCB2r01lKCBzVq QZH5FHxF2FF7thViRY1XDjnomQsRliSUCoSuAn330pcv2xWiFnKbV7HyYlHaNKlDgigP 5gFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699296677; x=1699901477; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pitDltH9Qlw0pV6jb2flwtg/jHXkAlmdYF0xczgfric=; b=CH53rgqyaxj6RzSLQIsSShH/nj0gahUz92WTpg31YrLb9lSOzrR+9G8BpIMk1Gaixh zso7YDhyphzBBeYk2rMZe8hM83fOYQpJj7WyS7mOAjNx1pGjJxBBDIhbUfVRgwLd2gYC 1sBYzhHdREwUt4Z3rGQJv4ltMbNqgoMhfadlACEluknHKrPTFupw4Y97R9m9AMnoOcog 9aN4cl/ALoo8e/XhO0cBUexggxYH86Vlvekx/ww02indzVJn1E9iJ8aUukUONQjUEFXi v3SVqW2CI9C3U9g3W/O+PR+vIJMk7GfWrj3szJKa9en+qsXSKJv9KRid/R86G/6J9vkb dBQg== X-Gm-Message-State: AOJu0YzBGMMZ8kP+1HPJbS4bBMaagaaCsnAMhJNmDBLe4mKS/V3VoByh f6hZOBChFBZbirKlMYOhMCHtvw== X-Google-Smtp-Source: AGHT+IH0I3bj91VULb1n1+Ir7Zqqpfpl27F/ELlsXQ/UvfBrn/gmBNRk72FD0lcKgGVJ8rXTLNStKA== X-Received: by 2002:a19:e043:0:b0:508:136d:ab0c with SMTP id g3-20020a19e043000000b00508136dab0cmr18493505lfj.30.1699296677441; Mon, 06 Nov 2023 10:51:17 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Laurent Vivier , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Mahmoud Mandour , Cleber Rosa , Wainer dos Santos Moschetta , Paolo Bonzini , Thomas Huth , Beraldo Leal , Alexandre Iooss , John Snow , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Chris Wulff , Marek Vasut , Richard Henderson Subject: [PATCH 05/22] target/arm: hide aliased MIDR from gdbstub Date: Mon, 6 Nov 2023 18:50:55 +0000 Message-Id: <20231106185112.2755262-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231106185112.2755262-1-alex.bennee@linaro.org> References: <20231106185112.2755262-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=alex.bennee@linaro.org; helo=mail-lf1-x12e.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1699296792679100003 This is just a constant alias register with the same value as the "other" MIDR so it serves no purpose being presented to gdbstub. Signed-off-by: Alex Benn=C3=A9e Message-Id: <20231103195956.1998255-6-alex.bennee@linaro.org> Reviewed-by: Peter Maydell --- target/arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/helper.c b/target/arm/helper.c index 104f9378b4..a681bcba62 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -8993,7 +8993,7 @@ void register_cp_regs_for_features(ARMCPU *cpu) .type =3D ARM_CP_CONST, .resetvalue =3D cpu->revidr }, }; ARMCPRegInfo id_v8_midr_alias_cp_reginfo =3D { - .name =3D "MIDR", .type =3D ARM_CP_ALIAS | ARM_CP_CONST, + .name =3D "MIDR", .type =3D ARM_CP_ALIAS | ARM_CP_CONST | ARM_= CP_NO_GDB, .cp =3D 15, .crn =3D 0, .crm =3D 0, .opc1 =3D 0, .opc2 =3D 4, .access =3D PL1_R, .resetvalue =3D cpu->midr }; --=20 2.39.2