"Scott Duplichan" scott@notabs.org writes:
For AMD family 10h processors, msr c0010058 is always programmed for 256 buses, even if fewer are configured. This patch lets msr c0010058 programming use the configured bus count, CONFIG_MMCONF_BUS_NUMBER.
How about just renaming CONFIG_MMCONF_BUS_NUMBER to ...BUS_BITS? There's only 8 discrete values it can take anyway, and this would also make it harder to pick an unsupported value for BUS_NUMBER.