Linux starts supporting SMP C3. Currently there is a race condition in C3 when we try to disable bus master.
Created attachment 7126 [details] patch to fix the issue Fix race in disabling bm master and make bm activity calculation SMP aware. Remove MASTER_RLD, it's just an indicator.
patch is obsolete in context of current cpuidle re-write
Created attachment 10772 [details] remove bus master reload 1. the race doesn't exist with new cpuidle framework 2. this patch fixes the bus master issue. Len, I remember you want to remove the bus master reload, as it's just a hint. Please confirm before apply the patch. 3. bm activity calculation fix isn't in, as we might need new cpuidle governor to handle it.
the bm_rld code is not present as of some release 2.6.22 or earlier. closed.