From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84DDF3F9292 for ; Mon, 29 Jun 2026 09:00:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782723625; cv=none; b=jFpshvUmN+jmJdsCurh5OLcMYGzG+rxGDkK3rp9EUmV6j8TsiemHDS4deXf3r2tZHqN1By0VghdCvLKSE0BArmHlsqL0dijfouxFJMf78ARIMWq87uStaCniwFbu4p5jklKUVCm0jEkIcsdb44ywxU0ftDjYyRc4xRztOoohbPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782723625; c=relaxed/simple; bh=2qg0ZAIRtG0i4KIe1G7FxJQFwNrU8UtT76IR9uO4b+w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZpJ4UD7ngtJVojyttfO7nhkj2G0Ilt9AufeDfQ6UykQYAhJqqK8bXHuBGa3vYyqrSVCJ8UTy3E0SOXf3+R+0aN6M92uW3UXSyf36BryI0JpJ9gpUL+4lhPSPCbxwy0SQGXDJVrRe4Uoe6NnrVe/x63f9Cwl2LEhX8JoETNkf+Wg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=iy4NS85a; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="iy4NS85a" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7C6651758; Mon, 29 Jun 2026 02:00:19 -0700 (PDT) Received: from e129823.cambridge.arm.com (e129823.arm.com [10.2.213.3]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2BC253F836; Mon, 29 Jun 2026 02:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782723623; bh=2qg0ZAIRtG0i4KIe1G7FxJQFwNrU8UtT76IR9uO4b+w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iy4NS85aHlB0AG/+cCEymY0SXiD4ymUnjfkth5YI3qpSsDgrLL95gTJa4SjRGXvzm CKEhzYSul3pNCFweljq7Jz9NbiOZpAsiG4XKWX+taWf6bje4xpVWjpXokdksWpsCUs QNIKQ+GM2F7K0Fg7VfhLQGyMuMxMmo/wsQRgbVRQ= From: Yeoreum Yun To: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: suzuki.poulose@arm.com, mike.leach@arm.com, james.clark@linaro.org, alexander.shishkin@linux.intel.com, leo.yan@arm.com, jie.gan@oss.qualcomm.com, Yeoreum Yun Subject: [PATCH v8 06/13] coresight: etm4x: remove redundant fields in etmv4_save_state Date: Mon, 29 Jun 2026 09:59:59 +0100 Message-ID: <20260629090007.1718746-7-yeoreum.yun@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260629090007.1718746-1-yeoreum.yun@arm.com> References: <20260629090007.1718746-1-yeoreum.yun@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Some of fields are redundant in etmv4_save_state and never used: ss_status => trcsscsr seq_state => trcseqstr cntr_val => trccntvr vinst_ctrl => trcvictlr Reviewed-by: Leo Yan Signed-off-by: Yeoreum Yun --- drivers/hwtracing/coresight/coresight-etm4x.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight-etm4x.h b/drivers/hwtracing/coresight/coresight-etm4x.h index 43f878dc8748..c0f7da17a186 100644 --- a/drivers/hwtracing/coresight/coresight-etm4x.h +++ b/drivers/hwtracing/coresight/coresight-etm4x.h @@ -1046,11 +1046,6 @@ struct etmv4_save_state { u32 trcclaimset; - u32 cntr_val[ETMv4_MAX_CNTR]; - u32 seq_state; - u32 vinst_ctrl; - u32 ss_status[ETM_MAX_SS_CMP]; - u32 trcpdcr; }; -- LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}