"Scott Duplichan" scott@notabs.org writes:
Hello Arne,
That is a good point. Here are the relevant items from my config.h: #define CONFIG_MMCONF_BUS_NUMBER 16 #define CONFIG_MMCONF_SUPPORT 1 #define CONFIG_MMCONF_BASE_ADDRESS 0xf8000000 #define CONFIG_MMCONF_SUPPORT_DEFAULT 1
My apologies, I went back and followed your email re pci_write_config32 step through properly, and of course you're right. In this context this doesn't really matter, since the pci_ops_mmconf selected by the fam10 northbridge are not invoked. So provided we're not (inadvertently) making config space accesses that do so, switching the mapping around should be fairly safe.
(That said, if these accesses are not touching that address region, what accesses are? If none actually do, switching the mapping around wouldn't really seem to accomplish much? Anyway, it seems my understanding of this particular code is less complete than I thought, so I'll butt out of this discussion for now.)