I tested this patch. The resource can be allocated. But the kernel can not go. After the "Jumping to entry point...", nothing comes out. I don't know the cause. Do you know?
I guess fam10 code allocates a separate register for prefetchable memory. K8 doesn't. Since I didn't add IORESOURCE_BRIDGE to the prefetchable resource, anything prefetchable didn't get allocated (look for ERROR: ... not assigned messages)
Here's an updated patch. Thanks for testing.
Signed-off-by: Myles Watson firstname.lastname@example.org
The last piece of the patch isn't necessary, but it would be nice to unify the K8 and fam10 code more than they are.