From nobody Mon Dec 1 23:02:18 2025 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 621EFEED8 for ; Wed, 26 Nov 2025 10:57:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764154666; cv=none; b=Mm+gvv/l8+5HvdQOCwF/FkSjtCncfeCAbC2VHm6tyn60dwMc/Oo6i5Hf2J6gMX51zfl6Hkhrd9AM9xOx2BFK8hXeYukYS1JwkKvo4WDEVftNNBFzsvhRLnDMEn9XpoUQ/loXDRUflyLhJmdoqH4gR+IygFQIiG96jx3oyXrTduA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764154666; c=relaxed/simple; bh=N8m12iWNCLQKM0X40bESlfOrttHeXy53V/IFqVWUcrY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z7idJWeuIOPbsXUclw6JfOx16HZPjdpN+T9rt5KH4tOsX/BKXp/aW/W74YMpaxty924lPlQwiHCp7Gse9p5vBI+qncDb0UY8DqjcVadL+dPO8UdVotdtpMShnvBUp7Z9hfIOL8zRcDRK0fUbYmi3VHSz7TgXJFitHD8nTbOht3c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=g4RtKm9t; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="g4RtKm9t" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4775ae5684fso31552765e9.1 for ; Wed, 26 Nov 2025 02:57:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1764154663; x=1764759463; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tUoArGeF29Uq9ud9txzEkP+4OSzrCHQVStRpO2mMVQU=; b=g4RtKm9tgoXEcGAroskSTTu38MWZWs/65trKNn+/l/HHE++kv39n2IgfzbKutwz86i gk+z24vRSL+ez7QEIPk4+mUzOAe5tm+B9EZUhApK9LRWu3QOFRGO7fOObxkOZX9Hx6gQ xdsdZwoo/SdSbY+YlxQNw28r6a1kdlEkdI7aqVsbRNJHxKctQ2tnuSV1lVXD1u8YqiB/ u1HSDtxlY5J4uriCqcXmR7mZ4ikZigKPEM4xSp4K6F/dgmZG81ibqs1sfHYm7uuHyjHK cKuuEGIB0bt5xeMKhg+xs8o0ZPxcBfbHtH6q+/JyO/YFNcQCctPb447O6D5pwXt05zOU H7yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764154663; x=1764759463; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=tUoArGeF29Uq9ud9txzEkP+4OSzrCHQVStRpO2mMVQU=; b=OLSa9pzjxl3SKSKJc2PEyoXj9NJ3HwtsOk4smsnld/uKLMiUDBrdzDnU0Q2esa/Zja TY8mTfntg5tRVcNkrpg8xMFqIECXpT0dMdkzfD4PR0HWaZvcI75tSfdrCS/MShgx132M CCrxNbRCHskiRRSLnQHVThnY5HqYvf2s86TQOgorezJjH/+vhLvVltZk+vBz5yR3JocZ xu6DdiRpf0fZHP/pfAwqCXqDuYHxmq5nxHOw0RtGO42IHwvVCmwthlrUGeNmIO8jL1ha c4TJ4AUxTDrIdaDgDYmCp6r1zQWVuD+1vFLKmeG1fvgI5/FclmuxaSaxcKlYkAs5WY62 wjtQ== X-Forwarded-Encrypted: i=1; AJvYcCUVuZ3neECVoc2KEp465hAcvWgEkdgSaFIm2GWvWoRAZ4/Ary/DuWEPebPhcxi/4WsV12YzlK8Ffe9FtUE=@vger.kernel.org X-Gm-Message-State: AOJu0YzyjpuObarQSi3YhvYy8KTVzkR/pesVom2MAwuhqn5E2wV8q5yT t0A2NcYDWWsLTX8Ujlz7mZJqgeNDu1yXofWVHZQ1b/WY+xNpxRXJ7vOztZmoJ8JNUB0= X-Gm-Gg: ASbGncvjYpaQssacoDvnUQiGmqfzYfrwzKn5eZ5/7Xgq8Sh+KYnzQcaozGWaUbTeKAU jb2/cJp4HTGU9TsNLo8eiOgZpB9y7pKyfbBrFCJPB85nOHSHl57EWAaZkM9mCAXAaRp2XtgZKLY 7AfcSx3uhMVtIRPH6BMpwyODp/LnyUv/dA5hD51HjF87ih1u90fM1M2LP9WZgpoziu/FT/pUFik S7E2gfrQxRXUnHTrHXNSukD8yJBx5jX5pV7xxD0cvpz04h0LJt+XMNhdg+4nm6PPo1up9QlH0Zr RC9GqyRZ/S/kUvLmVflLcAKa5hUSeRnoWvmR4cRHWOEIHSkmPyXRy22r/OW8KIruBM3HbQyctz/ jPmDUGKJJllAUUGNiIWthYDHpb43ulmmuNRa+J7QD+st7F5r4r3YpqCGnr62rsQaitF3BRW/xtb 6gXs0Ry1RtCHhACEkG25jm X-Google-Smtp-Source: AGHT+IEq2h53SMoGIyD2yFtjfs7hfB7ruA13p+JgzFnAxaZ65GfS0NxroszsNqkmBHF8jKJbq34fpQ== X-Received: by 2002:a05:600c:4ece:b0:477:7af8:c8ad with SMTP id 5b1f17b1804b1-477c115db0cmr208004055e9.31.1764154662715; Wed, 26 Nov 2025 02:57:42 -0800 (PST) Received: from ho-tower-lan.lan ([185.48.77.170]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4790ade13ddsm36991765e9.8.2025.11.26.02.57.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Nov 2025 02:57:42 -0800 (PST) From: James Clark Date: Wed, 26 Nov 2025 10:54:30 +0000 Subject: [PATCH v7 01/13] coresight: Change syncfreq to be a u8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251126-james-cs-syncfreq-v7-1-7fae5e0e5e16@linaro.org> References: <20251126-james-cs-syncfreq-v7-0-7fae5e0e5e16@linaro.org> In-Reply-To: <20251126-james-cs-syncfreq-v7-0-7fae5e0e5e16@linaro.org> To: Suzuki K Poulose , Mike Leach , Alexander Shishkin , Jonathan Corbet , Leo Yan , Randy Dunlap Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, James Clark X-Mailer: b4 0.14.0 TRCSYNCPR.PERIOD is the only functional part of TRCSYNCPR and it only has 5 valid bits so it can be stored in a u8. Reviewed-by: Mike Leach Reviewed-by: Leo Yan Signed-off-by: James Clark --- drivers/hwtracing/coresight/coresight-etm4x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing/coresight/coresight-etm4x.h b/drivers/hwtrac= ing/coresight/coresight-etm4x.h index 012c52fd1933..0287d19ce12e 100644 --- a/drivers/hwtracing/coresight/coresight-etm4x.h +++ b/drivers/hwtracing/coresight/coresight-etm4x.h @@ -825,7 +825,6 @@ struct etmv4_config { u32 eventctrl1; u32 stall_ctrl; u32 ts_ctrl; - u32 syncfreq; u32 ccctlr; u32 bb_ctrl; u32 vinst_ctrl; @@ -833,6 +832,7 @@ struct etmv4_config { u32 vissctlr; u32 vipcssctlr; u8 seq_idx; + u8 syncfreq; u32 seq_ctrl[ETM_MAX_SEQ_STATES]; u32 seq_rst; u32 seq_state; --=20 2.34.1