linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] coresight: Fix TRCCONFIGR.QE sysfs interface
@ 2022-01-14 17:32 James Clark
  2022-01-14 17:32 ` [PATCH 1/1] " James Clark
  0 siblings, 1 reply; 5+ messages in thread
From: James Clark @ 2022-01-14 17:32 UTC (permalink / raw)
  To: mathieu.poirier, coresight
  Cc: suzuki.poulose, James Clark, Mike Leach, Leo Yan,
	linux-arm-kernel, linux-kernel

I was working on refactoring some of the magic numbers for the register
accesses and I saw this issue with programming one of the values.

I don't have any evidence that someone encountered it not working, probably
there is no hardware where QSUPP==0b10, or it just didn't get used yet.
But the issue is that this silently writes a reserved value even if the
user provided one was correct so it might ruin someones day if it ever
comes up.

It's a small change so I didn't see the harm in fixing it.

Applies to coresight/next f9809d565135

James Clark (1):
  coresight: Fix TRCCONFIGR.QE sysfs interface

 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-21 12:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 17:32 [PATCH 0/1] coresight: Fix TRCCONFIGR.QE sysfs interface James Clark
2022-01-14 17:32 ` [PATCH 1/1] " James Clark
2022-01-19 15:22   ` Mike Leach
2022-01-20 11:37     ` James Clark
2022-01-21 12:40       ` Mike Leach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).