mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2 v2] perf test: Fix endianess issue in hwmon test on
@ 2025-02-05 10:18 Thomas Richter
  2025-02-05 10:18 ` [PATCH 1/2 v2] perf test: Fix perf test 11 hwmon endianess issue Thomas Richter
  2025-02-05 10:18 ` [PATCH 2/2 v2] perf test: Hwmon align structure on boundary in union Thomas Richter
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Richter @ 2025-02-05 10:18 UTC (permalink / raw)
  To: linux-kernel, linux-s390, linux-perf-users, acme, namhyung, irogers
  Cc: agordeev, gor, sumanthk, hca

Fix endianess issue on s390 with union containing a
structure with bit fields. Bit field representation differs
between big endian and little endian architectures.

Thomas Richter (2):
  perf test: Fix perf test 11 hwmon endianess issue
  perf test: Hwmon align structure on boundary in union

 tools/perf/tests/hwmon_pmu.c | 16 +++++++++++-----
 tools/perf/util/hwmon_pmu.c  | 14 --------------
 tools/perf/util/hwmon_pmu.h  | 20 ++++++++++++++++++++
 3 files changed, 31 insertions(+), 19 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-02-05 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-05 10:18 [PATCH 0/2 v2] perf test: Fix endianess issue in hwmon test on Thomas Richter
2025-02-05 10:18 ` [PATCH 1/2 v2] perf test: Fix perf test 11 hwmon endianess issue Thomas Richter
2025-02-05 10:18 ` [PATCH 2/2 v2] perf test: Hwmon align structure on boundary in union Thomas Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®