From patchwork Fri Dec 6 16:02:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 847833 Delivered-To: patch@linaro.org Received: by 2002:a5d:50c2:0:b0:385:e875:8a9e with SMTP id f2csp856969wrt; Fri, 6 Dec 2024 08:03:55 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUsz+UXjRNHWqQnQDH2wX57n3ZA52VI+WxaSsdnm1wFEYY39Hk1PTs1aLMCkbgGSQsrqHG0zA==@linaro.org X-Google-Smtp-Source: AGHT+IEyKwQKKlHigiBzehhwXgLPxn1s5zw3kCTLB149ap2gZ8l5Cx4KDUV4seDtlQRYeFoglm+5 X-Received: by 2002:a05:6102:5127:b0:4af:c31d:b4e8 with SMTP id ada2fe7eead31-4afcaa8a77dmr4208254137.14.1733501035323; Fri, 06 Dec 2024 08:03:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733501035; cv=none; d=google.com; s=arc-20240605; b=e9pk+A4CDAaJp7n4+cIESmAfGaobUO4R0kyz8fnyYNrRGapt6mdnXBSUwYfDEW1SZO SjoLTCHiMtoLL6Hfj9AdRXgyCQ64cHBa18E07MQQNWcQWDB8GlGUPbuednzKqvn/Szub 9H8B23qgV7Xw1e7DFT+NMrQVRTjRxgTsvflyAV+ZBH+oQgv79y9hplc3ivUARFgnClJ0 H35Hr1gUDTeFgclCzRmJr5MSxwAvaStpHZj/yny834eABvkUiu2OZdQXiUWlrhUMs00P HSuqzVIq387RH0igbMWt/Z6yL31dDINhrtj3Ln+fNdgNkA4u+Bv7lp9s/D/J1V5HW8XM jTlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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:cc:to :from:dkim-signature; bh=nQKmXaN26XakuY5wULDcEXM0cF+Wz7SAC/9+7yYIy8o=; fh=P54XFR90eQD18n4tjJKAnsq1e9aOj0o7m5YYD9Kfr3Q=; b=RMqT8xdhwphlCJ0Lc+6Qq3qXBPBi3FmdWENvzFoEJh2/ImCcrs4tQUM0CTCmdOay3/ aDt3P0cwoVotVNyzeCwHgcNyKxckcyKZYncAIczoIv25/h8LC/nIkaxnKN3vf1SS/vsU kv9WQPOjcWyX3pYAUb1f0R3sGdzKJb3FLD0MXALrqK2tEYW14TwdQo0kpyUDW2HkntOu 8ROazVcILObSWpmHh/vEeOX+bw1GAaOse3FTMk9HbNekQO17KjG57fiDqrQo2dWBptAz 9diKKRtBi8SGmiN9Tt2Z0t9y4Wagqq2kAqIC2wW+nWIyXzZt7n8Dx/ufucWbD5GyCTP3 bi3Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vpuj1E4l; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4afd512eae5si284584137.165.2024.12.06.08.03.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Dec 2024 08:03:55 -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=vpuj1E4l; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJan9-0007kO-OU; Fri, 06 Dec 2024 11:02:56 -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 1tJan4-0007gU-DB for qemu-devel@nongnu.org; Fri, 06 Dec 2024 11:02:51 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJan2-0006WS-U2 for qemu-devel@nongnu.org; Fri, 06 Dec 2024 11:02:50 -0500 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3862ca8e0bbso660043f8f.0 for ; Fri, 06 Dec 2024 08:02:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733500967; x=1734105767; 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=nQKmXaN26XakuY5wULDcEXM0cF+Wz7SAC/9+7yYIy8o=; b=vpuj1E4lLRPpCcRLCBTkfy/9rRaNVJu922Q8vCgHOiokpRNcNLLlhmI6d/CzVT7VJb NOtYPbhYdCqO/DbJgz5rYfDxxW6slD8nVPmLRQum91bv1NlmbUU3bbgW59eYOOXMlebJ X/uBi30eavZHatED+eYVIoSnVjvjJAD4j4yYn76pvHDA+WyVOZV7ZR4FMdBePHHhG1EJ rnect46CAyHOerocw3JR6NJcGw8HHqkgitxqvZUUCdloIyxQMx38dU13zdTjxEEwFc0I jHJdoPjKJZJsCPR3EF8fxS01PjUtyelP5mDq30BaqdUualBxXjTY7OAKMX1xA9y5egyt yjCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733500967; x=1734105767; 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=nQKmXaN26XakuY5wULDcEXM0cF+Wz7SAC/9+7yYIy8o=; b=DU8cgM11y1MuXquuUvRposWIP+MCFmcT7VN2iVz4u5wAonktOVPaE+pngUqmd8oW+C PDTvoYAauvEpxPn6paQiOL7uvwyScuDqISYDN5ULrWGO07kKN9oOD9iaFcrD4FioYR+E LTwfafihJ9PDXlKOgiItJWC8JyP4v3BExaIL8DuTPQc0PEw0wJuM9hMYOnpNw5aYNsQH afZQFlj5jldYSAPB4UCcFky2wvvcyfI7BQ/f/OAYVeAYf58Phh+GSqBoVrk+/OMUqd9j fFJyVG4fTNpD3YfMNj9jI8jHDjTPd3sNPUN+o5SxOAQGMgDS4u/GfKxvnSD2ml2Wc8iV d00A== X-Gm-Message-State: AOJu0YzMt6509Q2HScRl4q9Vw7fYPJ31W95D03kh3j4mT2FaV5OgyRoY dvzIUYTvgbfqzC7F9X0WvReg4ViYaxtUfjPCtFssTuYHJ0Ir+SFjh+fqtEnA+aM= X-Gm-Gg: ASbGncuJl21Zl39rsWyp7tWr4JUY7R+893Bs+1O2dmDL4t/E46AQj1tT5AzLZzsbrYi QsG/h9lnpNDRWx5P5dFqAwIPSUDVCXhfyfHOGhCvsIA2Jk9uVOG3TwoQ2ZnzE7d7flNT+KEyj4M XJ+Vuew4/KvX3BIiIK/R7w1y42gkFqo3Y5tn5YenmPSCKpIKjVI/bFUbt+Nf/R9F5C+fRwPDuxZ M0vHInPZ/ko4F/VUjaqKcnfUS537eWhO1WnWqVu1N6CvTml X-Received: by 2002:a05:6000:3c3:b0:385:fb34:d5a0 with SMTP id ffacd0b85a97d-3862b36d067mr3175114f8f.29.1733500961848; Fri, 06 Dec 2024 08:02:41 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3861fd46cc8sm4791799f8f.59.2024.12.06.08.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2024 08:02:41 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 75DB25F9EA; Fri, 6 Dec 2024 16:02:39 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Marcin Juszkiewicz , Leif Lindholm , Peter Maydell , Radoslaw Biernacki , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-stable@nongnu.org Subject: [PATCH 1/3] target/arm: document the architectural names of our GTIMERs Date: Fri, 6 Dec 2024 16:02:37 +0000 Message-Id: <20241206160239.3229094-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241206160239.3229094-1-alex.bennee@linaro.org> References: <20241206160239.3229094-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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 As we are about to add more physical and virtual timers lets make it clear what each timer does. Signed-off-by: Alex Bennée Cc: qemu-stable@nongnu.org --- target/arm/gtimer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/arm/gtimer.h b/target/arm/gtimer.h index b992941bef..de016e6da3 100644 --- a/target/arm/gtimer.h +++ b/target/arm/gtimer.h @@ -10,11 +10,11 @@ #define TARGET_ARM_GTIMER_H enum { - GTIMER_PHYS = 0, - GTIMER_VIRT = 1, - GTIMER_HYP = 2, - GTIMER_SEC = 3, - GTIMER_HYPVIRT = 4, + GTIMER_PHYS = 0, /* EL1 physical timer */ + GTIMER_VIRT = 1, /* EL1 virtual timer */ + GTIMER_HYP = 2, /* EL2 physical timer */ + GTIMER_SEC = 3, /* EL3 physical timer */ + GTIMER_HYPVIRT = 4, /* EL2 virtual timer */ #define NUM_GTIMERS 5 };