the cpu_topology script does not work on s390 due to a different output format in /proc/cpuinfo:
vendor_id : IBM/S390
# processors : 2
bogomips per cpu: 3033.00
features : esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te
cache0 : level=1 type=Data scope=Private size=128K line_size=256 associativity=8
cache1 : level=1 type=Instruction scope=Private size=96K line_size=256 associativity=6
cache2 : level=2 type=Data scope=Private size=2048K line_size=256 associativity=8
cache3 : level=2 type=Instruction scope=Private size=2048K line_size=256 associativity=8
cache4 : level=3 type=Unified scope=Shared size=65536K line_size=256 associativity=16
cache5 : level=4 type=Unified scope=Shared size=491520K line_size=256 associativity=30
processor 0: version = FF, identification = 198F67, machine = 2964
processor 1: version = FF, identification = 198F67, machine = 2964