Bug 5950 - race condition in SMP C3
Summary: race condition in SMP C3
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Processor (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Len Brown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 16:54 UTC by Shaohua
Modified: 2007-07-25 22:17 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.15
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
patch to fix the issue (6.07 KB, patch)
2006-01-24 16:55 UTC, Shaohua
Details | Diff
remove bus master reload (2.32 KB, patch)
2007-03-14 22:11 UTC, Shaohua
Details | Diff

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.

Note You need to log in before you can comment on or make changes to this bug.