[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174653027594.249274.16868070141391682997.b4-ty@arm.com>
Date: Tue, 6 May 2025 12:18:55 +0100
From: Suzuki K Poulose <suzuki.poulose@....com>
To: Mike Leach <mike.leach@...aro.org>,
James Clark <james.clark@...aro.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Leo Yan <leo.yan@....com>,
Anshuman Khandual <anshuman.khandual@....com>,
Mao Jinlong <quic_jinlmao@...cinc.com>
Cc: Suzuki K Poulose <suzuki.poulose@....com>,
coresight@...ts.linaro.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] coresight: Disable MMIO logging for coresight stm driver
On Tue, 06 May 2025 00:57:43 -0700, Mao Jinlong wrote:
> With MMIO logging enabled, the MMIO access are traced and could be
> sent to an STM device. Thus, an STM driver MMIO access could create
> circular call chain with MMIO logging. Disable it for STM driver.
>
> [] stm_source_write[stm_core]+0xc4
> [] stm_ftrace_write[stm_ftrace]+0x40
> [] trace_event_buffer_commit+0x238
> [] trace_event_raw_event_rwmmio_rw_template+0x8c
> [] log_post_write_mmio+0xb4
> [] writel_relaxed[coresight_stm]+0x80
> [] stm_generic_packet[coresight_stm]+0x1a8
> [] stm_data_write[stm_core]+0x78
> [] stm_source_write[stm_core]+0x7c
> [] stm_ftrace_write[stm_ftrace]+0x40
> [] trace_event_buffer_commit+0x238
> [] trace_event_raw_event_rwmmio_read+0x84
> [] log_read_mmio+0xac
> [] readl_relaxed[coresight_tmc]+0x50
>
> [...]
Applied, thanks!
[1/1] coresight: Disable MMIO logging for coresight stm driver
https://git.kernel.org/coresight/c/6264f1df
Best regards,
--
Suzuki K Poulose <suzuki.poulose@....com>
Powered by blists - more mailing lists