Linux USB
 help / color / mirror / Atom feed
* [PATCH 0/6] thunderbolt: property: Fix property parsing on big-endian
@ 2026-05-24 13:06 Thomas Weißschuh
  2026-05-24 13:06 ` [PATCH 1/6] thunderbolt: test: Make root_directory independent of host byte order Thomas Weißschuh
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Thomas Weißschuh @ 2026-05-24 13:06 UTC (permalink / raw)
  To: Andreas Noever, Mika Westerberg, Yehezkel Bernat, David S. Miller,
	Andy Shevchenko, Michael Jamet
  Cc: Mika Westerberg, linux-usb, linux-kernel, Yehezkel Bernat,
	Thomas Weißschuh

The parsing logic currently only works on little-endian.
Also make it work on big-endian.

The first four patches are necessary to make the parsing work on
big-endian machines. The remaining ones are some trivial cleanups.

Based on thunderbolt/fixes.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (6):
      thunderbolt: test: Make root_directory independent of host byte order
      thunderbolt: property: Unify format_dwdata()/parse_dwdata()
      thunderbolt: property: Make format_dwdata() work on big-endian systems
      thunderbolt: property: Convert byte order of numeric fields
      thunderbolt: property: Unify parse_dwdata()/format_dwdata()
      thunderbolt: property: Make entry key modifications more visible

 drivers/thunderbolt/property.c |  93 ++++++++++++++++++------------------
 drivers/thunderbolt/test.c     | 106 ++++++++++++++++++++---------------------
 2 files changed, 100 insertions(+), 99 deletions(-)
---
base-commit: 6ff00aaa856d16015e5bafbcf89e3998fd4a7c2b
change-id: 20260524-thunderbolt-big-endian-9f012cfc062b

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>


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

end of thread, other threads:[~2026-06-03  0:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-24 13:06 [PATCH 0/6] thunderbolt: property: Fix property parsing on big-endian Thomas Weißschuh
2026-05-24 13:06 ` [PATCH 1/6] thunderbolt: test: Make root_directory independent of host byte order Thomas Weißschuh
2026-05-24 13:06 ` [PATCH 2/6] thunderbolt: property: Unify format_dwdata()/parse_dwdata() Thomas Weißschuh
2026-06-03  0:19   ` Andy Shevchenko
2026-05-24 13:06 ` [PATCH 3/6] thunderbolt: property: Make format_dwdata() work on big-endian systems Thomas Weißschuh
2026-06-03  0:21   ` Andy Shevchenko
2026-05-24 13:06 ` [PATCH 4/6] thunderbolt: property: Convert byte order of numeric fields Thomas Weißschuh
2026-05-24 13:06 ` [PATCH 5/6] thunderbolt: property: Unify parse_dwdata()/format_dwdata() Thomas Weißschuh
2026-06-03  0:23   ` Andy Shevchenko
2026-05-24 13:06 ` [PATCH 6/6] thunderbolt: property: Make entry key modifications more visible Thomas Weißschuh
2026-06-03  0:25   ` Andy Shevchenko
2026-05-25  9:35 ` [PATCH 0/6] thunderbolt: property: Fix property parsing on big-endian Mika Westerberg
2026-05-25 10:32   ` Thomas Weißschuh

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