Hi Koichiro,
If I understood the problem correctly, would something like the patch below address it? My expectation is that the subrange mapping test would then fail consistently on platforms that do not have enough free IB iATU regions.
Thank you for your patch. Yes, now the bar subrange tests fail consistently, so that is enough to say this is not a regression.
However, I think there was a clear BAR missing somewhere before running the tests in the EPF driver, as the BARs could be reallocated during the other tests. This is not due to the subrange tests, but the EPF test driver supposes a 1:1 BAR/ATU mapping. Now this assumption is broken. I'm wondering if this could be improved to make the subrange tests pass on all platforms
Cheers Christian

