Re: [PATCH v3] Optimize C3 entry on Centaur CPUs

2018-12-31 Thread Pavel Machek
On Thu 2018-12-27 16:41:50, David Wang wrote: > For new Centaur CPUs the ucode will take care of the preservation of cache > coherence > between CPU cores in C-states regardless of how deep the C-states are. So, it > is not > necessary to flush the caches in software befor entering C3. And this u

[PATCH v3] Optimize C3 entry on Centaur CPUs

2018-12-27 Thread David Wang
For new Centaur CPUs the ucode will take care of the preservation of cache coherence between CPU cores in C-states regardless of how deep the C-states are. So, it is not necessary to flush the caches in software befor entering C3. And this useless operation will cause performance drop for the co

Re: [PATCH v3] Optimize C3 entry on Centaur CPUs

2018-07-19 Thread Thomas Gleixner
On Tue, 29 May 2018, David Wang wrote: > For new Centaur CPUs the ucode will take care of the preservation of cache > coherence > between CPU cores in C-states regardless of how deep the C-states are. So, it > is not > necessary to flush the caches in software befor entering C3. > > Signed-off-

[PATCH v3] Optimize C3 entry on Centaur CPUs

2018-05-29 Thread David Wang
For new Centaur CPUs the ucode will take care of the preservation of cache coherence between CPU cores in C-states regardless of how deep the C-states are. So, it is not necessary to flush the caches in software befor entering C3. Signed-off-by: David Wang Changes from v2 to v3: *1, Replace "c