From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 899321474B8 for ; Tue, 6 May 2025 08:54:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746521662; cv=none; b=Gtt2T8nbuzPYl00xk0h/Faw4b0xbZuQho7kxq8wB1t2qG/YcGLq5+9waxaoQOTqLdML56z/HsidIPg7xgs21YNTT4Td6e4zVT22wOSmV8HSAo5lMX11EFF0ShE9tFy5XUjqtQjRGlhI7+VnBG3rLkkHRJQ5+t132Kz5AtZathwM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746521662; c=relaxed/simple; bh=1lRH1NSjHvJ5/Arh6xkrBojtFoJulv5H8KpwT/S/KBQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-type; b=kR4DeexEvTpv4E5sJKSjnmHRIpPUBv0FU/lD3+44IW/uvsvQqsnHtKHJY2zvHdiNT5VjFZSRRQ6EsctRU15RSV2M8Ue+AN1cbGjPhfCQoiSdu4dVyK4FFsyccbDJnXKs2UufsXoDDuGN3LtBa+po7JFekPInr9lYQyGau92sjag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=WAeXqE4m; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WAeXqE4m" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1746521659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=plSAewDgQSL23UnTCL/HSs7WUtFViES+dDu1i/h4tt4=; b=WAeXqE4mA+kJnW/5TQ8T2wPiLNMfe56OTo+LUROzJiJG3p2ew2Ytk1Vp8qMAUAHyk9dCz0 jcE0WOe0ofj/n11c0LvjClKF7gyCmE1wJKcU+0TVksrVVw8b4XdtoYgMAVzClueB+0IxTD nAPBDSQ5aX6iygFbe99J2btdopu18GQ= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-645-pGYlM3pmPiCIkW03ZD1blA-1; Tue, 06 May 2025 04:54:16 -0400 X-MC-Unique: pGYlM3pmPiCIkW03ZD1blA-1 X-Mimecast-MFC-AGG-ID: pGYlM3pmPiCIkW03ZD1blA_1746521654 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BC0C81955D62; Tue, 6 May 2025 08:54:14 +0000 (UTC) Received: from gondolin.str.redhat.com (dhcp-192-216.str.redhat.com [10.33.192.216]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id E72D219560AB; Tue, 6 May 2025 08:54:08 +0000 (UTC) From: Cornelia Huck To: eric.auger.pro@gmail.com, eric.auger@redhat.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, kvmarm@lists.linux.dev, peter.maydell@linaro.org, richard.henderson@linaro.org, alex.bennee@linaro.org, maz@kernel.org, oliver.upton@linux.dev, sebott@redhat.com, shameerali.kolothum.thodi@huawei.com, armbru@redhat.com, berrange@redhat.com, abologna@redhat.com, jdenemar@redhat.com, agraf@csgraf.de Cc: shahuang@redhat.com, mark.rutland@arm.com, philmd@linaro.org, pbonzini@redhat.com, Cornelia Huck Subject: [PATCH v6 13/14] arm/cpu: switch to a generated cpu-sysregs.h.inc Date: Tue, 6 May 2025 10:52:33 +0200 Message-ID: <20250506085234.855779-14-cohuck@redhat.com> In-Reply-To: <20250506085234.855779-1-cohuck@redhat.com> References: <20250506085234.855779-1-cohuck@redhat.com> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 Generated against Linux 6.14-rc1. Reviewed-by: Sebastian Ott Reviewed-by: Eric Auger Signed-off-by: Cornelia Huck --- target/arm/cpu-sysregs.h.inc | 43 +++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/target/arm/cpu-sysregs.h.inc b/target/arm/cpu-sysregs.h.inc index 6c9f9981cc5d..02aae133eb67 100644 --- a/target/arm/cpu-sysregs.h.inc +++ b/target/arm/cpu-sysregs.h.inc @@ -1,18 +1,8 @@ -DEF(ID_AA64PFR0_EL1, 3, 0, 0, 4, 0) -DEF(ID_AA64PFR1_EL1, 3, 0, 0, 4, 1) -DEF(ID_AA64SMFR0_EL1, 3, 0, 0, 4, 5) -DEF(ID_AA64DFR0_EL1, 3, 0, 0, 5, 0) -DEF(ID_AA64DFR1_EL1, 3, 0, 0,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