summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/amd/mtrr/amd_earlymtrr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cpu/amd/mtrr/amd_earlymtrr.c b/src/cpu/amd/mtrr/amd_earlymtrr.c
index ca19a57faa..b55f56d604 100644
--- a/src/cpu/amd/mtrr/amd_earlymtrr.c
+++ b/src/cpu/amd/mtrr/amd_earlymtrr.c
@@ -27,7 +27,12 @@ static void amd_early_mtrr_init(void)
};
msr_t msr;
- disable_cache();
+ /* wbinvd which is called in disable_cache() causes hangs on Opterons
+ * if there is no data in the cache.
+ * At this point we should not have the cache enabled so don't bother
+ * disabling it.
+ */
+ /* disable_cache(); */
do_early_mtrr_init(mtrr_msrs);
/* Enable memory access for 0 - 1MB using top_mem */