Conversation
derived radix sort from https://www.cubic.org/docs/radix.htm (because it is good fit for the purpose)
1
0
1
... or actually totally unneeded given low amount of groups but it can be ;-)
1
0
0
i reworked PCI address representation which will allow to use radix sort for both cases:

https://github.com/puavo-org/lsiommu/commit/572ea9d86285f48afd0249dc32cea704e2d5512b

i guess it makes overall sense
1
1
1

@jarkko Hey, so is `--help` supposed to do anything yet? Or `argtable2` in general?

1
0
0
@kidney actually i somehow manage forgot to implement that. i'll add it back with sysfs support :-) thanks for notifying
1
0
1

Jarkko Sakkinen

Edited 18 hours ago
@kidney with I added it together with sysfs discovery:

❯ build/lsiommu -h
Usage: build/lsiommu [-h]
Lists IOMMU groups and their associated PCI devices.
This version was compiled for sysfs discovery.

-h, --help Print help and exit
0
0
0