I discovered the excellent tool pahole, which shows structure holes resulting from suboptimal structure field order.
In this patch set, Sparc device structure fields are arranged so that holes are avoided on amd64 host. I checked that on i386 build, no new holes appeared. Blue Swirl (11): slavio_timer: avoid structure holes spotted by pahole slavio_misc: avoid structure holes spotted by pahole slavio_intctl: avoid structure holes spotted by pahole sun4m_iommu: avoid structure holes spotted by pahole tcx: avoid structure holes spotted by pahole sun4m: avoid structure holes spotted by pahole esp: avoid structure holes spotted by pahole pcnet: avoid structure holes spotted by pahole fdc: avoid structure holes spotted by pahole escc: avoid structure holes spotted by pahole m48t59: avoid structure holes spotted by pahole hw/escc.c | 9 +++++---- hw/esp.c | 11 ++++++----- hw/fdc.c | 18 +++++++++--------- hw/m48t59.c | 9 +++++---- hw/pcnet.h | 6 +++--- hw/slavio_intctl.c | 8 ++++---- hw/slavio_misc.c | 2 +- hw/slavio_timer.c | 6 +++--- hw/sun4m.c | 20 ++++++++++---------- hw/sun4m_iommu.c | 2 +- hw/tcx.c | 4 ++-- 11 files changed, 49 insertions(+), 46 deletions(-)