Bug 5950

Summary: race condition in SMP C3
Product: ACPI Reporter: Shaohua (shaohua.li)
Component: Power-ProcessorAssignee: Len Brown (lenb)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.15 Subsystem:
Regression: --- Bisected commit-id:
Attachments: patch to fix the issue
remove bus master reload

Description Shaohua 2006-01-24 16:54:35 UTC
Linux starts supporting SMP C3. Currently there is a race condition in C3 when 
we try to disable bus master.
Comment 1 Shaohua 2006-01-24 16:55:41 UTC
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.
Comment 2 Len Brown 2007-03-08 21:22:55 UTC
patch is obsolete in context of current cpuidle re-write
Comment 3 Shaohua 2007-03-14 22:11:53 UTC
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.
Comment 4 Len Brown 2007-07-25 22:16:50 UTC
the bm_rld code is not present as of some release 2.6.22 or earlier.
closed.