From patchwork Wed Dec 18 18:15:07 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: 851746 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp1075393wrq; Wed, 18 Dec 2024 10:17:00 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCX70BWEElvfT9Ldlu0rgLCdG/N25fcdr1qakFNaJFY3k7ZH05srKAZGzD550juxTOLsOGuA3w==@linaro.org X-Google-Smtp-Source: AGHT+IFTiE7aWvaHJOaRA1YmoT936Ug5psChM4BoVHSjXLI+YuDKenZhV2vY7S9UeKIHNJIEjjtq X-Received: by 2002:a05:622a:1a17:b0:467:4f9a:6511 with SMTP id d75a77b69052e-46908e03f61mr58982011cf.30.1734545820501; Wed, 18 Dec 2024 10:17:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734545820; cv=none; d=google.com; s=arc-20240605; b=EzqNzMtE2c1dUFKz9ncyC0dpY1GFlp/3dhImZq8ISo77JM6W44OrAx1b6JgN2mji67 oI4jlMOs1JR5PtyZ+GKYb+xVGdxHE6vqbDU7yx/sdGJ17KhxeX/+N0t8s+/LOoClRbPi KZrnoLiQ+iB9Z1k2s56cZ2JeQdYrBhLXbwMPKw9laGVP9sXMpCLELEnjyiSQvD0Hedxv XYfNvk4LOqPoUF2azBWOmUhBezyLPlAi5aaOkyH6VTCB7sHJBbzSZWhHb/kowEDHNJJV VjBfDHgzVv2ViHbuezCDTOLYEI2B6szAutYMgGLw7VvR/SJGVYCxPaydV1heKsmsLybZ tkjg== 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=/YHnueKZJegjzPbCxN1afH6WivB/pbe8W0/PepPUkRc=; fh=n+7/i9AUPusiia8VmzoiBlwSlyFeXwpWgjR6Od+Rvhk=; b=L0pRkA6OASWYnWt3iCNL4r+JZ85sNFoeR2R7ZKbaChPrCK+uhQnbqoArgzhbYzqk1M lOAeQd143cz+87xiE0Rk5Q/dCJpDFpi+UqtwusYwkwl8B9EJqepRcUD9D1xuWivjGTMv zcuJEjZFRJ667uskZoSR1ESc/vi6RoxajJlu1Ikad84SodaPrmMyrVgoVAsGTEkHi0x8 RQDjNkJ9/EdM8Hhh6aNptaM6V+//9j+nB7pY/7aGCCwroahxP6fkwaUF5o7AUemsj2Zu tkDFtNuTRW/4grXbxa74LI33g2r7RgW1QL9jIZo+cADY0QJUFZo9f/nG8ebrsSxlmX4S RIWg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rr2BFHW4; 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 d75a77b69052e-467b2e8601fsi141187401cf.246.2024.12.18.10.17.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Dec 2024 10:17:00 -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=rr2BFHW4; 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 1tNyb5-0001Wm-69; Wed, 18 Dec 2024 13:16:35 -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 1tNya2-0001B8-BB for qemu-devel@nongnu.org; Wed, 18 Dec 2024 13:15:30 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNyZx-0007VW-ON for qemu-devel@nongnu.org; Wed, 18 Dec 2024 13:15:27 -0500 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5d647d5df90so8558689a12.2 for ; Wed, 18 Dec 2024 10:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734545715; x=1735150515; 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=/YHnueKZJegjzPbCxN1afH6WivB/pbe8W0/PepPUkRc=; b=rr2BFHW4/2pHdpsU8btR4ZmSVGABZ5BGF4ObCs7+9nvCsVZ36yg9oHZncUb8Nl8579 qM7W9P5yyS1mOnW0j///Ew6L1fR4ub5zORvTPmHUfIdbCGUsd1TGNIeKqeMlNJ/9S/QG 9iDa00Ai859gRLmVhguWcR3h56vLu7CDC9X4Sfw+WbQgsZAmm9aiMY/gRQncndFneK2C 7+MROGzCfsr9iZr5bbOnh54MaZbgdmdRtYsKeE9918/VzER3aWTeVP0cYlIBVP5geYCL NbIkPPvVpVH3jP5ylUiq9MCeYuoL5OSTOpltUbrS03bn9GF1UaXUCbn8uQ3oNmwAMq+L DwDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734545715; x=1735150515; 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=/YHnueKZJegjzPbCxN1afH6WivB/pbe8W0/PepPUkRc=; b=OJdwWrXidrpoFOZs7NO3VJBU2urQ0Rus8oMrCeGiMzO4xS5/PoSOIlV75SOgXwp/eR Y/cz0uRNHkF3/QgJwQBpxHUa0CLcaWcUW0R/Yv47MGI/FRirCB3J6GACZPNDTkyTsBXL oc1sh6jAXyXcsE+PMLT1fAaPG8yHJeBBmImU5nUX5xDjnUQs9fNwiQPKHOr12V1mkqd5 cTGcXRA41XMDCQvbeRNn7hJJrKQw3DfVKAs/qVWXPpHf06XqVAP/JGz8K9KlTbVe7AxE EsdBkbsjtypatfjIiZm/b04TtiokH8GZGPVZ8knboHI2psuXFPO3EuG7ffKfrrlLrr0v nlGQ== X-Gm-Message-State: AOJu0Yyiabry7qFSAXnxielRBVQZbAD/tmR/ErKsosrmoL1H/FfvTBXX HDoanFq56F0xje8hOA6Bv/WVc5jsB5VlM3sOq7RCLg49a7OZQMvvT4GJEUsllnc= X-Gm-Gg: ASbGncvCSR/TKPwCWpOIwXRPzPjYQyeYEeIeJf0iwLjMkKxvSRiDgIz3lpJmYQZrBht TWkATa6Thbwjz+lf0vP/5w/JX1wTZzj2UIdsL/LzR8nJS9vIp4oUm3chOJ88A9u1nTasuns/m85 keVoGT36xkUCHS4hgFGDDUvGZrnddVkYxj4iEU5pLoDpv4/xBOrDXzJCHiuC9h9UWwx1S894SYn Kr0Rje3hydgoH5K+JI+9FzP4wpsG4MW6MihYYun3Zk71W30OPof6Zo= X-Received: by 2002:a05:6402:2790:b0:5d3:ba42:ea03 with SMTP id 4fb4d7f45d1cf-5d7ee3c857emr3887517a12.8.1734545714813; Wed, 18 Dec 2024 10:15:14 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d652ae137bsm5608894a12.51.2024.12.18.10.15.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 10:15:12 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 8B4B55F86B; Wed, 18 Dec 2024 18:15:11 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Leif Lindholm , Leif Lindholm , Marcin Juszkiewicz , Peter Maydell , Radoslaw Biernacki , qemu-arm@nongnu.org, =?utf-8?q?Alex_?= =?utf-8?q?Benn=C3=A9e?= , qemu-stable@nongnu.org Subject: [PATCH v2 1/5] target/arm: document the architectural names of our GTIMERs Date: Wed, 18 Dec 2024 18:15:07 +0000 Message-Id: <20241218181511.3575613-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241218181511.3575613-1-alex.bennee@linaro.org> References: <20241218181511.3575613-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x531.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=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+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 Reviewed-by: Peter Maydell 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 };