2.6.33-rc5: Reported regressions from 2.6.32
Subsystems (6)
This message contains a list of some regressions from 2.6.32, for which there are no fixes in the mainline I know of. If any of them have been fixed already, please let me know.
If you know of any other unresolved regressions from 2.6.32, please let me know either and I'll add them to the list. Also, please let me know if any of the entries below are invalid.
Each entry from the list will be sent additionally in an automatic reply to this message with CCs to the people involved in reporting and handling the issue.
Listed regressions statistics:
Date Total Pending Unresolved
----------------------------------------
2010-01-24 75 29 23 2010-01-10 55 33 21 2009-12-29 36 34 27
Unresolved regressions
----------------------
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15139
Subject : e1000: transmit queue 0 timed out
Submitter : Alexander Beregalov <[email protected]>
Date : 2010-01-23 15:37 (2 days old)
References : http://marc.info/?l=linux-netdev&m=126426149306083&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15138
Subject : evdev regression on macbook
Submitter : Guillaume Chazarain <[email protected]>
Date : 2010-01-23 18:53 (2 days old)
References : http://marc.info/?l=linux-kernel&m=126427286219235&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15133
Subject : Wake on LAN doesn't work in sky2
Submitter : Tino Keitel <[email protected]>
Date : 2010-01-15 9:10 (10 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=166a0fd4c788ec7f10ca8194ec6d526afa12db75
References : http://marc.info/?l=linux-kernel&m=126354704815848&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15132
Subject : OOPS's with large initramfs
Submitter : Nigel Kukard <[email protected]>
Date : 2010-01-16 11:12 (9 days old)
References : http://marc.info/?l=linux-kernel&m=126364100321603&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15129
Subject : [drm:i915_gem_execbuffer] *ERROR* i915_gem_do_execbuffer returns -512
Submitter : Miles Lane <[email protected]>
Date : 2010-01-14 23:18 (11 days old)
References : http://lkml.org/lkml/2010/1/14/570
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15126
Subject : REGRESSION for RT2561/RT61 in 2.6.33
Submitter : Alan Stern <[email protected]>
Date : 2010-01-11 14:54 (14 days old)
References : http://marc.info/?l=linux-kernel&m=126322167427159&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15125
Subject : hung task - jbd2/dm-1-8 (during raid rebuild)
Submitter : Michael Breuer <[email protected]>
Date : 2010-01-10 21:47 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126316012025978&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15124
Subject : PCI host bridge windows ignored (works with pci=use_crs)
Submitter : Jeff Garrett <[email protected]>
Date : 2010-01-13 5:37 (12 days old)
References : http://marc.info/?l=linux-kernel&m=126336296600307&w=4
Bjorn Helgaas <[email protected]>
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15076
Subject : System panic under load with clockevents_program_event
Submitter : okias <[email protected]>
Date : 2010-01-17 13:03 (8 days old)
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15043
Subject : Display goes off with i915.powersave=1
Submitter : Soeren Sonnenburg <[email protected]>
Date : 2010-01-10 20:09 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126315457519505&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15038
Subject : drm/ksm: fbdev blanking regression
Submitter : Johan Hovold <[email protected]>
Date : 2010-01-06 17:00 (19 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=731b5a15a3b1474a41c2ca29b4c32b0f21bc852e
References : http://marc.info/?l=linux-kernel&m=126279726418748&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15036
Subject : soft lockup in dmesg after suspend/resume
Submitter : ykzhao <[email protected]>
Date : 2010-01-04 5:36 (21 days old)
References : http://marc.info/?l=linux-kernel&m=126258356202722&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15032
Subject : Oops in uart_resume_port() on resume
Submitter : Zdenek Kabelac <[email protected]>
Date : 2010-01-04 15:47 (21 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ba15ab0e8de0d4439a91342ad52d55ca9e313f3d
References : http://marc.info/?l=linux-kernel&m=126262008815689&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15025
Subject : Oops in ext4 driver
Submitter : Steinar H. Gunderson <[email protected]>
Date : 2010-01-10 13:09 (15 days old)
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15017
Subject : kexec regression, radeon/kms irq related (bisected)
Submitter : Markus Trippelsdorf <[email protected]>
Date : 2010-01-09 18:49 (16 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d8f60cfc93452d0554f6a701aa8e3236cbee4636
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15000
Subject : Thinkpad dock button no longer works
Submitter : Paul Martin <[email protected]>
Date : 2010-01-07 02:11 (18 days old)
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14999
Subject : possible circular locking dependency detected in rfkill at suspend
Submitter : Christian Casteyde <[email protected]>
Date : 2010-01-06 21:52 (19 days old)
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14950
Subject : tbench regression with 2.6.33-rc1
Submitter : Lin Ming <[email protected]>
Date : 2009-12-25 11:11 (31 days old)
References : http://marc.info/?l=linux-kernel&m=126174044213172&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14946
Subject : All kernels after 2.6.32-git10 show only 1 CPU
Submitter : Sid Boyce <[email protected]>
Date : 2009-12-23 16:55 (33 days old)
References : http://marc.info/?l=linux-kernel&m=126158734326801&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14937
Subject : WARNING: at kernel/lockdep.c:2830
Submitter : Grant Wilson <[email protected]>
Date : 2009-12-27 13:35 (29 days old)
References : http://marc.info/?l=linux-kernel&m=126192220404829&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14924
Subject : Weird hard hangs when rendering 'some' web-sites in Firefox
Submitter : David <[email protected]>
Date : 2009-12-21 21:53 (35 days old)
References : http://marc.info/?l=linux-kernel&m=126143375823340&w=4
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14859
Subject : System timer firing too much without cause
Submitter : Shawn Starr <[email protected]>
Date : 2009-12-21 19:16 (35 days old)
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14792
Subject : Misdetection of the TV output
Submitter : Santi <[email protected]>
Date : 2009-12-12 13:28 (44 days old)
Regressions with patches
------------------------
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15137
Subject : NULL pointer dereference in vlan_skb_recv
Submitter : Bruno Prémont <[email protected]>
Date : 2010-01-23 15:56 (2 days old)
References : http://marc.info/?l=linux-kernel&m=126426286507497&w=4
Patch : http://patchwork.kernel.org/patch/74999/
http://patchwork.kernel.org/patch/75002/
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15131
Subject : [OOPS] radeon kms
Submitter : John Kacur <[email protected]>
Date : 2010-01-15 15:45 (10 days old)
References : http://lkml.org/lkml/2010/1/15/129
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15128
Subject : Boot regression on AMD
Submitter : Gene Heskett <[email protected]>
Date : 2010-01-13 20:21 (12 days old)
References : http://marc.info/?l=linux-kernel&m=126341413213017&w=4
Patch : http://patchwork.kernel.org/patch/74883/
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15039
Subject : leds_alix2: can't allocate I/O for GPIO
Submitter : Arnd Hannemann <[email protected]>
Date : 2010-01-07 10:26 (18 days old)
References : http://marc.info/?l=linux-kernel&m=126286001106257&w=4
Patch : http://patchwork.kernel.org/patch/72006/
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14949
Subject : drm_vm.c:drm_mmap: possible circular locking dependency detected
Submitter : Borislav Petkov <[email protected]>
Date : 2009-12-26 9:45 (30 days old)
References : http://marc.info/?l=linux-kernel&m=126182073616279&w=4
Patch : http://patchwork.kernel.org/patch/70461/
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14791
Subject : Something has been broken in the network stack this week
Submitter : Delete This Account <[email protected]>
Date : 2009-12-12 13:06 (44 days old)
Patch : http://patchwork.kernel.org/patch/72073/
For details, please visit the bug entries and follow the links given in references.
As you can see, there is a Bugzilla entry for each of the listed regressions. There also is a Bugzilla entry used for tracking the regressions from 2.6.32, unresolved as well as resolved, at:
http://bugzilla.kernel.org/show_bug.cgi?id=14885
Please let me know if there are any Bugzilla entries that should be added to the list in there.
Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Bug #14791] Something has been broken in the network stack this week
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14791
Subject : Something has been broken in the network stack this week
Submitter : Delete This Account <[email protected]>
Date : 2009-12-12 13:06 (44 days old)
Re: [Bug #14791] Something has been broken in the network stack this week
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 6 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14791
Subject : Something has been broken in the network stack this week
Submitter : Delete This Account <[email protected]>
Date : 2009-12-12 13:06 (44 days old)Handled-By Ben Hutchings <[email protected]>
This should still be listed; I am still waiting for someone to test the proposed patch.
Ben.
Signature · 2 lines
Ben Hutchings Any smoothly functioning technology is indistinguishable from a rigged demo.
Re: [Bug #14791] Something has been broken in the network stack this week
Quoted 16 lines · Ben Hutchings
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 6 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14791
Subject : Something has been broken in the network stack this week
Submitter : Delete This Account <[email protected]>
Date : 2009-12-12 13:06 (44 days old)Handled-By Ben Hutchings <ben-/[email protected]>
Quoted 2 lines
This should still be listed; I am still waiting for someone to test the proposed patch.
Well, I'm going to drop it. The bug is there, but the reporter is non-existent and no one else seems to care.
I'll leave the bug entry open, but I'm not going to list this one any more.
Rafael
[Bug #14792] Misdetection of the TV output
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14792
Subject : Misdetection of the TV output
Submitter : Santi <[email protected]>
Date : 2009-12-12 13:28 (44 days old)
[Bug #14946] All kernels after 2.6.32-git10 show only 1 CPU
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14946
Subject : All kernels after 2.6.32-git10 show only 1 CPU
Submitter : Sid Boyce <[email protected]>
Date : 2009-12-23 16:55 (33 days old)
References : http://marc.info/?l=linux-kernel&m=126158734326801&w=4
Re: [Bug #14946] All kernels after 2.6.32-git10 show only 1 CPU
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 8 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14946
Subject : All kernels after 2.6.32-git10 show only 1 CPU
Submitter : Sid Boyce <[email protected]>
Date : 2009-12-23 16:55 (33 days old)
References : http://marc.info/?l=linux-kernel&m=126158734326801&w=4
Definitely fixed in 2.6.33-rc4, thanks.
Regards
Sid.
Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks
Re: [Bug #14946] All kernels after 2.6.32-git10 show only 1 CPU
Quoted 18 lines · Sid Boyce
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 8 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14946
Subject : All kernels after 2.6.32-git10 show only 1 CPU
Submitter : Sid Boyce <[email protected]>
Date : 2009-12-23 16:55 (33 days old)
References : http://marc.info/?l=linux-kernel&m=126158734326801&w=4
Quoted 1 line
Definitely fixed in 2.6.33-rc4, thanks.
Thanks, closed.
Rafael
[Bug #14949] drm_vm.c:drm_mmap: possible circular locking dependency detected
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14949
Subject : drm_vm.c:drm_mmap: possible circular locking dependency detected
Submitter : Borislav Petkov <[email protected]>
Date : 2009-12-26 9:45 (30 days old)
References : http://marc.info/?l=linux-kernel&m=126182073616279&w=4
Patch : http://patchwork.kernel.org/patch/70461/
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
Re: [Bug #14949] drm_vm.c:drm_mmap: possible circular locking dependency detected
Quoted 6 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Yep, this one is fixed by the patch below. Thanks.
Quoted 8 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14949
Subject : drm_vm.c:drm_mmap: possible circular locking dependency detected
Submitter : Borislav Petkov <petkovbb-gM/[email protected]>
Date : 2009-12-26 9:45 (30 days old)
References : http://marc.info/?l=linux-kernel&m=126182073616279&w=4Handled-By Eric W. Biederman <[email protected]>
Signature · 2 lines
Regards/Gruss,
Boris.[Bug #14937] WARNING: at kernel/lockdep.c:2830
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14937
Subject : WARNING: at kernel/lockdep.c:2830
Submitter : Grant Wilson <grant.wilson-1HOZaDBbGgxaa/[email protected]>
Date : 2009-12-27 13:35 (29 days old)
References : http://marc.info/?l=linux-kernel&m=126192220404829&w=4
[Bug #14924] Weird hard hangs when rendering 'some' web-sites in Firefox
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14924
Subject : Weird hard hangs when rendering 'some' web-sites in Firefox
Submitter : David <[email protected]>
Date : 2009-12-21 21:53 (35 days old)
References : http://marc.info/?l=linux-kernel&m=126143375823340&w=4
Re: [Bug #14924] Weird hard hangs when rendering 'some' web-sites in Firefox
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 5 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14924
Subject : Weird hard hangs when rendering 'some' web-sites in Firefox
Submitter : David <[email protected]>
Date : 2009-12-21 21:53 (35 days old)
References : http://marc.info/?l=linux-kernel&m=126143375823340&w=4
Hmm, you have CONFIG_DETECT_SOFTLOCKUP=y, I have no idea what happened, doing a bisect would be appreciated.
Thanks.
Signature · 1 line
Live like a child, think like the god.
Re: [Bug #14924] Weird hard hangs when rendering 'some' web-sites in Firefox
Quoted 19 lines · Américo Wang
Quoted 7 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.32. Please verify if it still should be listed and let me know
Quoted 9 lines
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14924
Subject : Weird hard hangs when rendering 'some' web-sites in Firefox
Submitter : David <[email protected]>
Date : 2009-12-21 21:53 (35 days old)
References : http://marc.info/?l=linux-kernel&m=126143375823340&w=4
Quoted 6 lines
Hmm, you have
CONFIG_DETECT_SOFTLOCKUP=y, I have no idea what happened, doing a bisect would be appreciated.Thanks.
I no longer have the offending hardware, but I think that the issue was probably corrected by:
cafe6609d6dc0a6a278f9fdbb59ce4d761a35ddd -
drm/radeon/kms: Schedule host path read cache flush through the ring V2
as the offending ATI graphics was indeed R300.
Cheers
David
Re: [Bug #14924] Weird hard hangs when rendering 'some' web-sites in Firefox
Quoted 27 lines · David
Quoted 19 lines · Américo Wang
Quoted 7 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.32. Please verify if it still should be listed and let me know
Quoted 9 lines
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14924
Subject : Weird hard hangs when rendering 'some' web-sites in Firefox
Submitter : David <[email protected]>
Date : 2009-12-21 21:53 (35 days old)
References : http://marc.info/?l=linux-kernel&m=126143375823340&w=4Quoted 6 lines
Hmm, you have
CONFIG_DETECT_SOFTLOCKUP=y, I have no idea what happened, doing a bisect would be appreciated.Thanks.
Quoted 7 lines
I no longer have the offending hardware, but I think that the issue was probably corrected by:
cafe6609d6dc0a6a278f9fdbb59ce4d761a35ddd -drm/radeon/kms: Schedule host path read cache flush through the ring V2
as the offending ATI graphics was indeed R300.
Well, let's assume that's really the case. Closed.
Rafael
Re: [Bug #14924] Weird hard hangs when rendering 'some' web-sites in Firefox
In reply to DavidQuoted 27 lines · David
Quoted 19 lines · Américo Wang
Quoted 7 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.32. Please verify if it still should be listed and let me know
Quoted 9 lines
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14924
Subject : Weird hard hangs when rendering 'some' web-sites in Firefox Submitter : David <[email protected]>
Date : 2009-12-21 21:53 (35 days old)
References : http://marc.info/?l=linux-kernel&m=126143375823340&w=4Quoted 6 lines
Hmm, you have
CONFIG_DETECT_SOFTLOCKUP=y, I have no idea what happened, doing a bisect would be appreciated.Thanks.
Quoted 8 lines
I no longer have the offending hardware, but I think that the issue was probably corrected by:
cafe6609d6dc0a6a278f9fdbb59ce4d761a35ddd - drm/radeon/kms: Schedule host path read cache flush through the ring V2
as the offending ATI graphics was indeed R300.
Ok, thanks!
[Bug #14859] System timer firing too much without cause
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14859
Subject : System timer firing too much without cause
Submitter : Shawn Starr <[email protected]>
Date : 2009-12-21 19:16 (35 days old)
Re: [Bug #14859] System timer firing too much without cause
Quoted 8 lines · On Sunday 24 January 2010 17:04:33 Rafael J. Wysocki wrote:
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 4 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14859
Subject : System timer firing too much without cause
Submitter : Shawn Starr <[email protected]>
Date : 2009-12-21 19:16 (35 days old)
Continues with -rc5, I really cannot use Dynamic ticks at all, it has to be disabled.
I should probably mention this CPU info:
processor : 0vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz
stepping : 10
cpu MHz : 800.000
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida tpr_shadow vnmi flexpriority
bogomips : 5053.40
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Re: [Bug #14859] System timer firing too much without cause
Quoted 39 lines · Shawn Starr
Quoted 8 lines · On Sunday 24 January 2010 17:04:33 Rafael J. Wysocki wrote:
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 4 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14859
Subject : System timer firing too much without cause
Submitter : Shawn Starr <[email protected]>
Date : 2009-12-21 19:16 (35 days old)Continues with -rc5, I really cannot use Dynamic ticks at all, it has to be disabled.
I should probably mention this CPU info:
processor : 0
vendor_id: GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz
stepping : 10
cpu MHz : 800.000
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yesfpu_exception: yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
Quoted 8 lines
constant_tscarch_perfmonpebs btsrep_goodaperfmperf pni dtes64 monitords_cplvmx smx est tm2 ssse3 cx16 xtpr pdcmsse4_1xsavelahf_lmidatpr_shadowvnmi flexpriority
bogomips : 5053.40
clflush size : 64cache_alignment: 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Thanks for the update.
Rafael
Re: [Bug #14859] System timer firing too much without cause
In reply to Shawn StarrQuoted 7 lines · Shawn Starr
Quoted 6 lines · On Sunday 24 January 2010 17:04:33 Rafael J. Wysocki wrote:
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Why is this on the regression list at all ? The report says that this is happening with 33-rcX, but there is no comparison to the behaviour of 32 or earlier kernels on that machine. Instead we have a comparison of apples and oranges:
Quoted 7 lines
As a comparsion my quad core box has no such issue: (Running 2.6.32-rc7)
x86_64
0: 42 4 1 1 IO-APIC-edge timermy Lenovo ThinkPad W500 (latest BIOS 3.11) laptop shows the system timer flooding the bus (Running 2.6.33-rc1)
x86_64
0: 66775 70429 IO-APIC-edge timer <-- keeps rising, rapidly
So we look at a quad core desktop machine which probably has no deeper power states and therefor does not use the broadcast timer and compare it to a laptop which has deeper power states and needs to use the broadcast timer, which of course increases the number of IRQ0 events. What a surprise.
Can we please remove this from the regression list unless Shawn confirms that 32 or earlier kernels do not show that behaviour on the laptop?
Quoted 7 lines
Quoted 4 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14859
Subject : System timer firing too much without cause
Submitter : Shawn Starr <[email protected]>
Date : 2009-12-21 19:16 (35 days old)Continues with -rc5, I really cannot use Dynamic ticks at all, it has to be disabled.
Shawn, why can't you use dynamic ticks ? In the bugzilla I just see that you worry about the IRQ0 interrupts (which are correct and necessary when the system is in nohz mode) and the extra rescheduling interrupts. How is the system misbehaving ?
Thanks,
tglx
Re: [Bug #14859] System timer firing too much without cause
Quoted 42 lines · On Monday 25 January 2010 05:35:50 Thomas Gleixner wrote:
Quoted 7 lines · Shawn Starr
Quoted 6 lines · On Sunday 24 January 2010 17:04:33 Rafael J. Wysocki wrote:
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Why is this on the regression list at all ? The report says that this is happening with 33-rcX, but there is no comparison to the behaviour of 32 or earlier kernels on that machine. Instead we have a comparison
of apples and oranges:
Quoted 11 lines
As a comparsion my quad core box has no such issue: (Running 2.6.32-rc7)
x86_640: 42 4 1 1 IO-APIC-edge
timermy Lenovo ThinkPad W500 (latest BIOS 3.11) laptop shows the system timer flooding the bus (Running 2.6.33-rc1)
x86_640: 66775 70429 IO-APIC-edge timer <-- keeps rising,
rapidlySo we look at a quad core desktop machine which probably has no deeper power states and therefor does not use the broadcast timer and compare it to a laptop which has deeper power states and needs to use the broadcast timer, which of course increases the number of IRQ0 events. What a surprise.
Can we please remove this from the regression list unless Shawn confirms that 32 or earlier kernels do not show that behaviour on the laptop?
Quoted 5 lines
Quoted 4 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14859
Subject : System timer firing too much without cause
Submitter : Shawn Starr <[email protected]>
Date : 2009-12-21 19:16 (35 days old)
Quoted 8 lines
Quoted 2 lines
Continues with -rc5, I really cannot use Dynamic ticks at all, it has to be disabled.
Shawn, why can't you use dynamic ticks ? In the bugzilla I just see that you worry about the IRQ0 interrupts (which are correct and necessary when the system is in nohz mode) and the extra rescheduling interrupts. How is the system misbehaving ?
Well, this all stems from trying to use Radeon KMS with IRQs on. Doing so I see system stalls and this is quite noticeable however, I am able to show this same stall on the quad core with the same GPU.
Right now, it is unclear to me if there is a underlying irq issue or a bug in the radeon driver code that is showing these stalls. Since the radeon folks - at the moment - do not think it is a coding problem in their driver
My impression was using dynamic ticks meant ticks were on demand and not continuous. On the quad core box, with dynamic ticks on, the broadcasts are not increasing IRQ 0 events this only happens on the laptop.
Thanks,
Shawn.
Quoted 3 lines
Thanks,
tglx
Re: [Bug #14859] System timer firing too much without cause
Quoted 10 lines · Shawn Starr
Quoted 5 lines · On Monday 25 January 2010 05:35:50 Thomas Gleixner wrote:
Shawn, why can't you use dynamic ticks ? In the bugzilla I just see that you worry about the IRQ0 interrupts (which are correct and necessary when the system is in nohz mode) and the extra rescheduling interrupts. How is the system misbehaving ?
Well, this all stems from trying to use Radeon KMS with IRQs on. Doing so I see system stalls and this is quite noticeable however, I am able to show this same stall on the quad core with the
x> same GPU. Right now, it is unclear to me if there is a underlying
Quoted 3 lines
irq issue or a bug in the radeon driver code that is showing these stalls. Since the radeon folks - at the moment - do not think it is a coding problem in their driver
Does the stall go away, when you disable dynticks ?
Quoted 1 line
My impression was using dynamic ticks meant ticks were on demand and
Dynamic ticks are providing a continuous tick long as the machine is busy. When a core becomes idle, we programm the timer to go off at the next scheduled timer event, if the event is longer away than the next tick. When the core goes out of idle (due to the timer or some other event) we restart the tick.
So you see less timer interrupts (IRQ0 + Local timer interrupts)
Quoted 3 lines
not continuous. On the quad core box, with dynamic ticks on, the broadcasts are not increasing IRQ 0 events this only happens on the laptop.
Right, that is expected as I explained already. Your desktop does not use deeper power states. Check /proc/acpi/processor/CPU0/power on both machines to see the difference. You _cannot_ compare a desktop and a laptop machine and deduce a regression.
The broadcast mechanism is necessary because the local APIC timer stops in deeper power states. That's a hardware problem. So if the core goes into a deeper power state then we arm the broadcast timer which fires on IRQ0 to wake us up. It is a single timer which is used by all cores in a system to work around this hardware stupidity. It's named broadcast because it broadcasts the event to the other cores when necessary. Your desktop does not use deeper power states, therefor it does not use the broadcast timer either.
So the timer IRQ0 increasing is neither a Linux BUG nor a regression.
Thanks,
tglx
Re: [Bug #14859] System timer firing too much without cause
Quoted 11 lines · On Monday 25 January 2010 12:20:38 Thomas Gleixner wrote:
Quoted 9 lines · Shawn Starr
Quoted 4 lines · On Monday 25 January 2010 05:35:50 Thomas Gleixner wrote:
Shawn, why can't you use dynamic ticks ? In the bugzilla I just see that you worry about the IRQ0 interrupts (which are correct and necessary when the system is in nohz mode) and the extra rescheduling interrupts. How is the system misbehaving ?
Well, this all stems from trying to use Radeon KMS with IRQs on. Doing so I see system stalls and this is quite noticeable however, I am able to show this same stall on the quad core with the
Quoted 8 lines
x> same GPU. Right now, it is unclear to me if there is a underlying
Quoted 3 lines
irq issue or a bug in the radeon driver code that is showing these stalls. Since the radeon folks - at the moment - do not think it is a coding problem in their driver
Does the stall go away, when you disable dynticks ?
It does not, no.
Quoted 9 lines
Quoted 1 line
My impression was using dynamic ticks meant ticks were on demand and
Dynamic ticks are providing a continuous tick long as the machine is busy. When a core becomes idle, we programm the timer to go off at the next scheduled timer event, if the event is longer away than the next tick. When the core goes out of idle (due to the timer or some other event) we restart the tick.
So you see less timer interrupts (IRQ0 + Local timer interrupts)
With dynamic ticks on or off, LOC increments rapidly, but I assume that is normal behavour.
So if none of this really is a kernel issue, I defer it to the radeon folks to comment further.
Please remove from regression list, I'll close the original bug.
Quoted 24 lines
Quoted 4 lines
not continuous. On the quad core box, with dynamic ticks on, the broadcasts are not increasing IRQ 0 events this only happens on the laptop.
Right, that is expected as I explained already. Your desktop does not use deeper power states. Check
/proc/acpi/processor/CPU0/poweron both machines to see the difference. You _cannot_ compare a desktop and a laptop machine and deduce a regression.The broadcast mechanism is necessary because the local APIC timer stops in deeper power states. That's a hardware problem. So if the core goes into a deeper power state then we arm the broadcast timer which fires on IRQ0 to wake us up. It is a single timer which is used by all cores in a system to work around this hardware stupidity. It's named broadcast because it broadcasts the event to the other cores when necessary. Your desktop does not use deeper power states, therefor it does not use the broadcast timer either.
So the timer IRQ0 increasing is neither a Linux BUG nor a regression.
Thanks,
tglx
Re: [Bug #14859] System timer firing too much without cause
Quoted 33 lines · Shawn Starr
Quoted 11 lines · On Monday 25 January 2010 12:20:38 Thomas Gleixner wrote:
Quoted 9 lines · Shawn Starr
Quoted 4 lines · On Monday 25 January 2010 05:35:50 Thomas Gleixner wrote:
Shawn, why can't you use dynamic ticks ? In the bugzilla I just see that you worry about the IRQ0 interrupts (which are correct and necessary when the system is in nohz mode) and the extra rescheduling interrupts. How is the system misbehaving ?
Well, this all stems from trying to use Radeon KMS with IRQs on. Doing so I see system stalls and this is quite noticeable however, I am able to show this same stall on the quad core with the
Quoted 8 lines
x> same GPU. Right now, it is unclear to me if there is a underlying
Quoted 3 lines
irq issue or a bug in the radeon driver code that is showing these stalls. Since the radeon folks - at the moment - do not think it is a coding problem in their driver
Does the stall go away, when you disable dynticks ?
It does not, no.
Quoted 9 lines
Quoted 1 line
My impression was using dynamic ticks meant ticks were on demand and
Dynamic ticks are providing a continuous tick long as the machine is busy. When a core becomes idle, we programm the timer to go off at the next scheduled timer event, if the event is longer away than the next tick. When the core goes out of idle (due to the timer or some other event) we restart the tick.
So you see less timer interrupts (IRQ0 + Local timer interrupts)
Quoted 7 lines
With dynamic ticks on or off, LOC increments rapidly, but I assume that is normal behavour.
So if none of this really is a kernel issue, I defer it to the radeon folks to comment further.
Please remove from regression list, I'll close the original bug.
OK, closing it right now.
Rafael
[Bug #14999] possible circular locking dependency detected in rfkill at suspend
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14999
Subject : possible circular locking dependency detected in rfkill at suspend
Submitter : Christian Casteyde <[email protected]>
Date : 2010-01-06 21:52 (19 days old)
[Bug #15000] Thinkpad dock button no longer works
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15000
Subject : Thinkpad dock button no longer works
Submitter : Paul Martin <[email protected]>
Date : 2010-01-07 02:11 (18 days old)
[Bug #14950] tbench regression with 2.6.33-rc1
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=14950
Subject : tbench regression with 2.6.33-rc1
Submitter : Lin Ming <[email protected]>
Date : 2009-12-25 11:11 (31 days old)
References : http://marc.info/?l=linux-kernel&m=126174044213172&w=4
[Bug #15025] Oops in ext4 driver
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15025
Subject : Oops in ext4 driver
Submitter : Steinar H. Gunderson <sgunderson-jG/[email protected]>
Date : 2010-01-10 13:09 (15 days old)
Re: [Bug #15025] Oops in ext4 driver
Quoted 3 lines · Rafael J. Wysocki
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
I'm not using 2.6.33 anymore since this bug is a showstopper to me (it's on a production system), so I'm unable to check if it's fixed or not.
/* Steinar */
Signature · 1 line
Homepage: http://www.sesse.net/
Re: [Bug #15025] Oops in ext4 driver
Quoted 7 lines · Steinar H. Gunderson
Quoted 3 lines · Rafael J. Wysocki
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
I'm not using 2.6.33 anymore since this bug is a showstopper to me (it's on a production system), so I'm unable to check if it's fixed or not.
Well, in that case I'll have to close it as 'unreproducible', because no one else seems to be able to reproduce it.
Rafael
[Bug #15032] Oops in uart_resume_port() on resume
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15032
Subject : Oops in uart_resume_port() on resume
Submitter : Zdenek Kabelac <[email protected]>
Date : 2010-01-04 15:47 (21 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ba15ab0e8de0d4439a91342ad52d55ca9e313f3d
References : http://marc.info/?l=linux-kernel&m=126262008815689&w=4
[Bug #15017] kexec regression, radeon/kms irq related (bisected)
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15017
Subject : kexec regression, radeon/kms irq related (bisected)
Submitter : Markus Trippelsdorf <[email protected]>
Date : 2010-01-09 18:49 (16 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d8f60cfc93452d0554f6a701aa8e3236cbee4636
Re: [Bug #15017] kexec regression, radeon/kms irq related (bisected)
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 8 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15017
Subject : kexec regression, radeon/kms irq related (bisected)
Submitter : Markus Trippelsdorf <[email protected]>
Date : 2010-01-09 18:49 (16 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d8f60cfc93452d0554f6a701aa8e3236cbee4636
That bug has patches which fix the issue attached and queued for 2.6.33.
Alex
Re: [Bug #15017] kexec regression, radeon/kms irq related (bisected)
Quoted 18 lines · Alex Deucher
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 8 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15017
Subject : kexec regression, radeon/kms irq related (bisected)
Submitter : Markus Trippelsdorf <[email protected]>
Date : 2010-01-09 18:49 (16 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d8f60cfc93452d0554f6a701aa8e3236cbee4636
Quoted 1 line
That bug has patches which fix the issue attached and queued for 2.6.33.
Just sent to Linus.
Dave.
[Bug #15038] drm/ksm: fbdev blanking regression
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15038
Subject : drm/ksm: fbdev blanking regression
Submitter : Johan Hovold <[email protected]>
Date : 2010-01-06 17:00 (19 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=731b5a15a3b1474a41c2ca29b4c32b0f21bc852e
References : http://marc.info/?l=linux-kernel&m=126279726418748&w=4
Re: [Bug #15038] drm/ksm: fbdev blanking regression
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 7 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15038
Subject : drm/ksm: fbdev blanking regression
Submitter : Johan Hovold <[email protected]>
Date : 2010-01-06 17:00 (19 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=731b5a15a3b1474a41c2ca29b4c32b0f21bc852e
References : http://marc.info/?l=linux-kernel&m=126279726418748&w=4Handled-By James Simmons <[email protected]>
Issue remains in rc5.
/Johan
Re: [Bug #15038] drm/ksm: fbdev blanking regression
Quoted 17 lines · Johan Hovold
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 7 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15038
Subject : drm/ksm: fbdev blanking regression
Submitter : Johan Hovold <[email protected]>
Date : 2010-01-06 17:00 (19 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=731b5a15a3b1474a41c2ca29b4c32b0f21bc852e
References : http://marc.info/?l=linux-kernel&m=126279726418748&w=4Handled-By James Simmons <[email protected]>
Quoted 1 line
Issue remains in rc5.
Thanks for the update.
OK, we know what commit broke things, we don't seem to know how to fix it, so perhaps it's time to revert that commit?
Rafael
Re: [Bug #15038] drm/ksm: fbdev blanking regression
Quoted 18 lines · Rafael J. Wysocki
Quoted 17 lines · Johan Hovold
Quoted 15 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15038
Subject : drm/ksm: fbdev blanking regression
Submitter : Johan Hovold <[email protected]>
Date : 2010-01-06 17:00 (19 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=731b5a15a3b1474a41c2ca29b4c32b0f21bc852e
References : http://marc.info/?l=linux-kernel&m=126279726418748&w=4Handled-By James Simmons <[email protected]>
Quoted 6 lines
Quoted 1 line
Issue remains in rc5.
Thanks for the update.
OK, we know what commit broke things, we don't seem to know how to fix it, so perhaps it's time to revert that commit?
Just sent revert of the broken bit to Linus.
Dave.
Re: [Bug #15038] drm/ksm: fbdev blanking regression
Quoted 19 lines · Dave Airlie
Quoted 18 lines · Rafael J. Wysocki
Quoted 17 lines · Johan Hovold
Quoted 15 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15038
Subject : drm/ksm: fbdev blanking regression
Submitter : Johan Hovold <[email protected]>
Date : 2010-01-06 17:00 (19 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=731b5a15a3b1474a41c2ca29b4c32b0f21bc852e
References : http://marc.info/?l=linux-kernel&m=126279726418748&w=4Handled-By James Simmons <[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Issue remains in rc5.
Thanks for the update.
OK, we know what commit broke things, we don't seem to know how to fix it, so perhaps it's time to revert that commit?
Just sent revert of the broken bit to Linus.
Thanks!
Rafael
[Bug #15039] leds_alix2: can't allocate I/O for GPIO
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15039
Subject : leds_alix2: can't allocate I/O for GPIO
Submitter : Arnd Hannemann <[email protected]>
Date : 2010-01-07 10:26 (18 days old)
References : http://marc.info/?l=linux-kernel&m=126286001106257&w=4
[Bug #15036] soft lockup in dmesg after suspend/resume
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15036
Subject : soft lockup in dmesg after suspend/resume
Submitter : ykzhao <[email protected]>
Date : 2010-01-04 5:36 (21 days old)
References : http://marc.info/?l=linux-kernel&m=126258356202722&w=4
[Bug #15043] Display goes off with i915.powersave=1
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15043
Subject : Display goes off with i915.powersave=1
Submitter : Soeren Sonnenburg <[email protected]>
Date : 2010-01-10 20:09 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126315457519505&w=4
Re: [Bug #15043] Display goes off with i915.powersave=1
Quoted 8 lines · On Sun, 24 Jan 2010 23:04:37 +0100 (CET) "Rafael J. Wysocki" <[email protected]>…
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 5 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15043
Subject : Display goes off with i915.powersave=1
Submitter : Soeren Sonnenburg <[email protected]>
Date : 2010-01-10 20:09 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126315457519505&w=4
If this isn't fixed yet, I hope David's patch fixes it. See "[Bug #14897] i915: Commit 0e442c60 causes flickering".
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15043] Display goes off with i915.powersave=1
Quoted 11 lines · Jesse Barnes
Quoted 8 lines · On Sun, 24 Jan 2010 23:04:37 +0100 (CET) "Rafael J. Wysocki"…
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 8 lines
Quoted 5 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15043
Subject : Display goes off with i915.powersave=1
Submitter : Soeren Sonnenburg <[email protected]>
Date : 2010-01-10 20:09 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126315457519505&w=4If this isn't fixed yet, I hope David's patch fixes it. See "[Bug #14897] i915: Commit
0e442c60causes flickering".
that sounds indeed like it, because sometimes I observe a flickering before darkness :) I will give the new kernel a try though I don't have time to do it in the next few days :/
Soeren
Signature · 2 lines
For the one fact about the future of which we can be certain is that it will be utterly fantastic. -- Arthur C. Clarke, 1962
Re: [Bug #15043] Display goes off with i915.powersave=1
In reply to Jesse BarnesQuoted 11 lines · Jesse Barnes
Quoted 8 lines · On Sun, 24 Jan 2010 23:04:37 +0100 (CET) "Rafael J. Wysocki"…
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 8 lines
Quoted 5 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15043
Subject : Display goes off with i915.powersave=1
Submitter : Soeren Sonnenburg <[email protected]>
Date : 2010-01-10 20:09 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126315457519505&w=4If this isn't fixed yet, I hope David's patch fixes it. See "[Bug #14897] i915: Commit
0e442c60causes flickering".
ok, so it is not fixed yet - I will try to unapply 0e442c60
Soeren
Signature · 2 lines
For the one fact about the future of which we can be certain is that it will be utterly fantastic. -- Arthur C. Clarke, 1962
[Bug #15076] System panic under load with clockevents_program_event
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15076
Subject : System panic under load with clockevents_program_event
Submitter : okias <[email protected]>
Date : 2010-01-17 13:03 (8 days old)
[Bug #15125] hung task - jbd2/dm-1-8 (during raid rebuild)
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15125
Subject : hung task - jbd2/dm-1-8 (during raid rebuild)
Submitter : Michael Breuer <[email protected]>
Date : 2010-01-10 21:47 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126316012025978&w=4
Re: [Bug #15125] hung task - jbd2/dm-1-8 (during raid rebuild)
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 7 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15125
Subject : hung task - jbd2/dm-1-8 (during raid rebuild)
Submitter : Michael Breuer<[email protected]>
Date : 2010-01-10 21:47 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126316012025978&w=4
Not an easy one to recreate. Should probably remain listed for now.
Re: [Bug #15125] hung task - jbd2/dm-1-8 (during raid rebuild)
Quoted 9 lines · Michael Breuer
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 8 lines
Quoted 7 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15125
Subject : hung task - jbd2/dm-1-8 (during raid rebuild)
Submitter : Michael Breuer<[email protected]>
Date : 2010-01-10 21:47 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126316012025978&w=4Not an easy one to recreate. Should probably remain listed for now.
Thanks for the update.
Rafael
Re: [Bug #15125] hung task - jbd2/dm-1-8 (during raid rebuild)
Quoted 20 lines · Rafael J. Wysocki
Quoted 18 lines · Michael Breuer
Quoted 16 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15125
Subject : hung task - jbd2/dm-1-8 (during raid rebuild)
Submitter : Michael Breuer<[email protected]>
Date : 2010-01-10 21:47 (15 days old)
References : http://marc.info/?l=linux-kernel&m=126316012025978&w=4
Quoted 6 lines
Quoted 2 lines
Not an easy one to recreate. Should probably remain listed for now.
Thanks for the update.
Rafael
Still happening on 2.6.33 rc5.
[Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15124
Subject : PCI host bridge windows ignored (works with pci=use_crs)
Submitter : Jeff Garrett <[email protected]>
Date : 2010-01-13 5:37 (12 days old)
References : http://marc.info/?l=linux-kernel&m=126336296600307&w=4
Bjorn Helgaas <[email protected]>
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 7 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15124
Subject : PCI host bridge windows ignored (works with pci=use_crs)
Submitter : Jeff Garrett <[email protected]>
Date : 2010-01-13 5:37 (12 days old)
References : http://marc.info/?l=linux-kernel&m=126336296600307&w=4Handled-By Yinghai Lu <[email protected]>Bjorn Helgaas <[email protected]>
This regression should still be listed. No patch to test yet.
-Jeff Garrett
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 17 lines · Jeff Garrett
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 7 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15124
Subject : PCI host bridge windows ignored (works with pci=use_crs)
Submitter : Jeff Garrett <[email protected]>
Date : 2010-01-13 5:37 (12 days old)
References : http://marc.info/?l=linux-kernel&m=126336296600307&w=4Handled-By Yinghai Lu <[email protected]>Bjorn Helgaas <[email protected]>
Quoted 1 line
This regression should still be listed. No patch to test yet.
Thanks for the update.
IIRC, we already know how to fix this ...
Rafael
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 14 lines · Rafael J. Wysocki
Quoted 13 lines · Jeff Garrett
Quoted 11 lines · Rafael J. Wysocki
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15124
Subject : PCI host bridge windows ignored (works with pci=use_crs)
Submitter : Jeff Garrett <[email protected]>
Date : 2010-01-13 5:37 (12 days old)
References : http://marc.info/?l=linux-kernel&m=126336296600307&w=4Handled-By Yinghai Lu <[email protected]>Bjorn Helgaas <[email protected]>
Quoted 3 lines
Quoted 1 line
This regression should still be listed. No patch to test yet.
...
IIRC, we already know how to fix this ...
As far as I know, we do NOT know how to fix this.
This regression occurred when we added intel_bus.c because it's not yet smart enough to determine the correct host bridge apertures. Here's what it thinks the bridge aperture is and the Radeon BAR:
IOH bus: 00 index 1 mmio: [e0000000, fdffffff]
pci 0000:04:00.0: reg 10: [mem 0xd0000000-0xdfffffff 64bit pref]
The IOH aperture is obviously not big enough to cover the Radeon BAR. But the host bridge _CRS tells us this:
pci_root PNP0A08:00: host bridge window [mem 0xc0000000-0xdfffffff] pci_root PNP0A08:00: host bridge window [mem 0xf0000000-0xfed8ffff]
which IS big enough, and we know the bridge is in fact forwarding the [mem 0xd0000000-0xdfffffff 64bit pref] region, because the Radeon works when Jeff boots with "pci=use_crs".
I'm quite concerned about this for .33 because I don't think Jeff's configuration (Dell desktop with Intel x58 and large graphics device) is unusual.
The benefit of intel_bus.c is on machines with multiple IOHs, where we need to figure out which address ranges go to which IOHs so we can program downstream devices correctly. But even there, _CRS should give us the information we need, so "pci=use_crs" should make these machines work.
I think we should remove intel_bus.c before .33. It's breaking boxes and we don't know how to fix it. Even if we do find out how to fix it, I think we should move toward using _CRS instead, because that's what Windows uses and it's an easy way for the firmware to tell us about platform quirks.
Bjorn
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 48 lines · Bjorn Helgaas
Quoted 14 lines · Rafael J. Wysocki
Quoted 13 lines · Jeff Garrett
Quoted 11 lines · Rafael J. Wysocki
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15124
Subject : PCI host bridge windows ignored (works with pci=use_crs)
Submitter : Jeff Garrett <[email protected]>
Date : 2010-01-13 5:37 (12 days old)
References : http://marc.info/?l=linux-kernel&m=126336296600307&w=4Handled-By Yinghai Lu <[email protected]>Bjorn Helgaas <[email protected]>
Quoted 3 lines
Quoted 1 line
This regression should still be listed. No patch to test yet.
...
IIRC, we already know how to fix this ...As far as I know, we do NOT know how to fix this.
This regression occurred when we added
intel_bus.cbecause it's not yet smart enough to determine the correct host bridge apertures. Here's what it thinks the bridge aperture is and the Radeon BAR:IOH bus: 00 index 1 mmio: [
e0000000, fdffffff]
pci 0000:04:00.0: reg 10: [mem 0xd0000000-0xdfffffff 64bit pref]The IOH aperture is obviously not big enough to cover the Radeon BAR. But the host bridge
_CRStells us this:
pci_rootPNP0A08:00: host bridge window [mem 0xc0000000-0xdfffffff]pci_rootPNP0A08:00: host bridge window [mem 0xf0000000-0xfed8ffff]which IS big enough, and we know the bridge is in fact forwarding the [mem 0xd0000000-0xdfffffff 64bit pref] region, because the Radeon works when Jeff boots with "pci=use_crs".
I'm quite concerned about this for .33 because I don't think Jeff's configuration (Dell desktop with Intel x58 and large graphics device) is unusual.
The benefit of
intel_bus.cis on machines with multiple IOHs, where we need to figure out which address ranges go to which IOHs so we can program downstream devices correctly. But even there,_CRSshould give us the information we need, so "pci=use_crs" should make these machines work.
Quoted 5 lines
I think we should remove
intel_bus.cbefore .33. It's breaking boxes and we don't know how to fix it. Even if we do find out how to fix it, I think we should move toward using_CRSinstead, because that's what Windows uses and it's an easy way for the firmware to tell us about platform quirks.
Perhaps it would be sufficient to make pci=use_crs the default and leave the option to use intel_bus.c for whoever needs that?
Rafael
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 10 lines · On Tue, 26 Jan 2010 19:02:13 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 10 lines
I'm quite concerned about this for .33 because I don't think Jeff's configuration (Dell desktop with Intel x58 and large graphics device) is unusual.
The benefit of
intel_bus.cis on machines with multiple IOHs, where we need to figure out which address ranges go to which IOHs so we can program downstream devices correctly. But even there,_CRSshould give us the information we need, so "pci=use_crs" should make these machines work.
Quoted 8 lines
Quoted 5 lines
I think we should remove
intel_bus.cbefore .33. It's breaking boxes and we don't know how to fix it. Even if we do find out how to fix it, I think we should move toward using_CRSinstead, because that's what Windows uses and it's an easy way for the firmware to tell us about platform quirks.Perhaps it would be sufficient to make pci=use_crs the default and leave the option to use
intel_bus.cfor whoever needs that?
We can't make use_crs the default w/o some more _CRS handling fixes (some firmwares have large lists we need to handle).
We can disable intel_bus.c though. Yinghai, I'm inclined against the intel_bus.c approach at this point. It seems unlikely we'll ever keep it up to date with new bridges, since its approach differs so much from how things are done in the Windows world, where the firmware provides a list of resources. We'll always be playing catch up, and will probably be behind the firmware most of the time since the docs with the necessary info likely won't be public most of the time.
For 2.6.33 I'd like a minimal fix though, can you disable it for all but the multi-IOH case perhaps?
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 32 lines · Jesse Barnes
Quoted 10 lines · On Tue, 26 Jan 2010 19:02:13 +0100 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 10 lines
I'm quite concerned about this for .33 because I don't think Jeff's configuration (Dell desktop with Intel x58 and large graphics device) is unusual.
The benefit of
intel_bus.cis on machines with multiple IOHs, where we need to figure out which address ranges go to which IOHs so we can program downstream devices correctly. But even there,_CRSshould give us the information we need, so "pci=use_crs" should make these machines work.Quoted 8 lines
Quoted 5 lines
I think we should remove
intel_bus.cbefore .33. It's breaking boxes and we don't know how to fix it. Even if we do find out how to fix it, I think we should move toward using_CRSinstead, because that's what Windows uses and it's an easy way for the firmware to tell us about platform quirks.Perhaps it would be sufficient to make pci=use_crs the default and leave the option to use
intel_bus.cfor whoever needs that?We can't make
use_crsthe default w/o some more_CRShandling fixes (some firmwares have large lists we need to handle).We can disable
intel_bus.cthough. Yinghai, I'm inclined against theintel_bus.capproach at this point. It seems unlikely we'll ever keep it up to date with new bridges, since its approach differs so much from how things are done in the Windows world, where the firmware provides a list of resources. We'll always be playing catch up, and will probably be behind the firmware most of the time since the docs with the necessary info likely won't be public most of the time.
Quoted 2 lines
For 2.6.33 I'd like a minimal fix though, can you disable it for all but the multi-IOH case perhaps?
ok, we have one patch to enable that only with multi-IOH case.
YH
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Jesse BarnesQuoted 4 lines · Jesse Barnes
For 2.6.33 I'd like a minimal fix though, can you disable it for all but the multi-IOH case perhaps?
please check,
[PATCH] x86/pci: don't use ioh resource if only have one ioh
some system could use reosurce out of IOH resources when only one ioh is there.
could be BIOS have wrong IOH resources and not enable them.
--- arch/x86/pci/intel_bus.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+)
arch/x86/pci/intel_bus.c +86 -0
@@ -7,9 +7,11 @@#include <linux/pci.h> #include <linux/init.h> #include <asm/pci_x86.h> +#include <asm/pci-direct.h> #include "bus_numa.h" +static int nr_ioh;static inline void print_ioh_resources (struct pci_root_info *info) {int res_num;
@@ -49,6 +51,9 @@ static void __devinit pci_root_bus_res(su64 mmioh_base, mmioh_end;int bus_base, bus_end; +if (nr_ioh <2 ) +return ; +/* some sys doesn't get mmconf enabled */ if (dev->cfg_size <0x120 )return ;
@@ -92,3 +97,84 @@ static void __devinit pci_root_bus_res(s/* intel IOH */ DECLARE_PCI_FIXUP_EARLY (PCI_VENDOR_ID_INTEL ,0x342e , pci_root_bus_res); + +static void __init count_ioh (int num,int slot,int func) +{ + nr_ioh++; +} + +struct pci_check_probe { +u32 vendor; +u32 device; +void (*f)(int num,int slot,int func); +}; + +static struct pci_check_probe early_qrk[]__initdata = { + {PCI_VENDOR_ID_INTEL ,0x342e , count_ioh }, + {} +}; + +static void __init early_check_pci_dev (int num,int slot,int func) +{ +u16 vendor; +u16 device; +int i; + + vendor =read_pci_config_16 (num, slot, func,PCI_VENDOR_ID ); + device =read_pci_config_16 (num, slot, func,PCI_DEVICE_ID ); + +for (i =0 ; early_qrk[i].f !=NULL ; i++) { +if (((early_qrk[i].vendor ==PCI_ANY_ID ) || + (early_qrk[i].vendor == vendor)) && + ((early_qrk[i].device ==PCI_ANY_ID ) || + (early_qrk[i].device == device))) + early_qrk[i].f (num, slot, func); + } +} + +static void __init early_check_pci_devs (void ) +{ +unsigned bus, slot, func; + +if (!early_pci_allowed ()) +return ; + +for (bus =0 ; bus <256 ; bus++) { +for (slot =0 ; slot <32 ; slot++) { +for (func =0 ; func <8 ; func++) { +u32 class; +u8 type; + + class =read_pci_config (bus, slot, func, +PCI_CLASS_REVISION ); +if (class ==0xffffffff ) +continue ; + +early_check_pci_dev (bus, slot, func); + +if (func ==0 ) { + type =read_pci_config_byte (bus, slot, + func, +PCI_HEADER_TYPE ); +if (!(type &0x80 )) +break ; + } + } + } + } +} + +static int __init intel_postcore_init (void ) +{ +if (boot_cpu_data.x86_vendor !=X86_VENDOR_INTEL ) +return 0 ; + +early_check_pci_devs (); + +if (nr_ioh) +printk (KERN_DEBUG "pci: found %d IOH\n" , nr_ioh); + +return 0 ; +} +postcore_initcall (intel_postcore_init); +
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 5 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
some system could use reosurce out of IOH resources when only one ioh is there.
could be BIOS have wrong IOH resources and not enable them.
The subtractive decode theory makes sense and would explain what's happening, but I don't like this patch.
If we assume that this really is a subtractive decode issue, this patch approaches it the wrong way. We need to know whether a particular host bridge is configured for subtractive decode. This patch tests whether we have more than one host bridge, which is quite a different question.
Imagine these system configurations:
1) a single host bridge with subtractive decode
2) a single host bridge with only positive decode
3) multiple host bridges with subtractive decode enabled on one
4) multiple host bridges with only positive decode
This patch will break if we encounter configs 2 or 3. In config 2, this patch assumes the bridge performs subtractive decode, so we think the bridge forwards more address space than it actually does. If we try to use that address space, the device will never see the accesses. In config 3, this patch assumes there's no subtractive decode, so we would see Jeff's problem all over again.
For configs 3 and 4, there might be a single host bridge in domain 0, with the others in different domains. This patch would find only one host bridge (the one in domain 0), so we would wrongly assume that ALL the host bridges use subtractive decode, which is obviously a disaster.
Bjorn
Quoted 116 lines
--- arch/x86/pci/intel_bus.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+)Index:
linux-2.6/arch/x86/pci/intel_bus.c
===================================================================arch/x86/pci/intel_bus.c +86
-0@@ -7,9 +7,11 @@#include <linux/pci.h> #include <linux/init.h> #include <asm/pci_x86.h> +#include <asm/pci-direct.h> #include "bus_numa.h" +static int nr_ioh;static inline void print_ioh_resources (struct pci_root_info *info) {int res_num;@@ -49,6 +51,9 @@ static void __devinit pci_root_bus_res(su64 mmioh_base, mmioh_end;int bus_base, bus_end; +if (nr_ioh <2 ) +return ; +/* some sys doesn't get mmconf enabled */ if (dev->cfg_size <0x120 )return ;@@ -92,3 +97,84 @@ static void __devinit pci_root_bus_res(s/* intel IOH */ DECLARE_PCI_FIXUP_EARLY (PCI_VENDOR_ID_INTEL ,0x342e , pci_root_bus_res); + +static void __init count_ioh (int num,int slot,int func) +{ + nr_ioh++; +} + +struct pci_check_probe { +u32 vendor; +u32 device; +void (*f)(int num,int slot,int func); +}; + +static struct pci_check_probe early_qrk[]__initdata = { + {PCI_VENDOR_ID_INTEL ,0x342e , count_ioh }, + {} +}; + +static void __init early_check_pci_dev (int num,int slot,int func) +{ +u16 vendor; +u16 device; +int i; + + vendor =read_pci_config_16 (num, slot, func,PCI_VENDOR_ID ); + device =read_pci_config_16 (num, slot, func,PCI_DEVICE_ID ); + +for (i =0 ; early_qrk[i].f !=NULL ; i++) { +if (((early_qrk[i].vendor ==PCI_ANY_ID ) || + (early_qrk[i].vendor == vendor)) && + ((early_qrk[i].device ==PCI_ANY_ID ) || + (early_qrk[i].device == device))) + early_qrk[i].f (num, slot, func); + } +} + +static void __init early_check_pci_devs (void ) +{ +unsigned bus, slot, func; + +if (!early_pci_allowed ()) +return ; + +for (bus =0 ; bus <256 ; bus++) { +for (slot =0 ; slot <32 ; slot++) { +for (func =0 ; func <8 ; func++) { +u32 class; +u8 type; + + class =read_pci_config (bus, slot, func, +PCI_CLASS_REVISION ); +if (class ==0xffffffff ) +continue ; + +early_check_pci_dev (bus, slot, func); + +if (func ==0 ) { + type =read_pci_config_byte (bus, slot, + func, +PCI_HEADER_TYPE ); +if (!(type &0x80 )) +break ; + } + } + } + } +} + +static int __init intel_postcore_init (void ) +{ +if (boot_cpu_data.x86_vendor !=X86_VENDOR_INTEL ) +return 0 ; + +early_check_pci_devs (); + +if (nr_ioh) +printk (KERN_DEBUG "pci: found %d IOH\n" , nr_ioh); + +return 0 ; +} +postcore_initcall (intel_postcore_init); +
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 23 lines · On Wed, 27 Jan 2010 09:45:15 -0700 Bjorn Helgaas <[email protected]> wrote:
Quoted 5 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
some system could use reosurce out of IOH resources when only one ioh is there.
could be BIOS have wrong IOH resources and not enable them.
The subtractive decode theory makes sense and would explain what's happening, but I don't like this patch.
If we assume that this really is a subtractive decode issue, this patch approaches it the wrong way. We need to know whether a particular host bridge is configured for subtractive decode. This patch tests whether we have more than one host bridge, which is quite a different question.
Imagine these system configurations:
1) a single host bridge with subtractive decode
2) a single host bridge with only positive decode
3) multiple host bridges with subtractive decode enabled on one
4) multiple host bridges with only positive decode
Quoted 6 lines
This patch will break if we encounter configs 2 or 3. In config 2, this patch assumes the bridge performs subtractive decode, so we think the bridge forwards more address space than it actually does. If we try to use that address space, the device will never see the accesses. In config 3, this patch assumes there's no subtractive decode, so we would see Jeff's problem all over again.
Right, but OTOH:
- multiple IOH has already been tested with the intel_bus.c code
- we want to move to using _CRS data in these cases instead
So do you have any objection to applying this patch for 2.6.33 and then moving away from intel_bus.c in .34 (assuming we can get _CRS working well on the same machines where intel_bus.c was needed)?
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 33 lines · Jesse Barnes
Quoted 23 lines · On Wed, 27 Jan 2010 09:45:15 -0700 Bjorn Helgaas…
Quoted 5 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
some system could use reosurce out of IOH resources when only one ioh is there.
could be BIOS have wrong IOH resources and not enable them.
The subtractive decode theory makes sense and would explain what's happening, but I don't like this patch.
If we assume that this really is a subtractive decode issue, this patch approaches it the wrong way. We need to know whether a particular host bridge is configured for subtractive decode. This patch tests whether we have more than one host bridge, which is quite a different question.
Imagine these system configurations:
1) a single host bridge with subtractive decode
2) a single host bridge with only positive decode
3) multiple host bridges with subtractive decode enabled on one
4) multiple host bridges with only positive decodeQuoted 6 lines
This patch will break if we encounter configs 2 or 3. In config 2, this patch assumes the bridge performs subtractive decode, so we think the bridge forwards more address space than it actually does. If we try to use that address space, the device will never see the accesses. In config 3, this patch assumes there's no subtractive decode, so we would see Jeff's problem all over again.
Quoted 7 lines
Right, but OTOH:
- multiple IOH has already been tested with theintel_bus.ccode
- we want to move to using_CRSdata in these cases insteadSo do you have any objection to applying this patch for 2.6.33 and then moving away from
intel_bus.cin .34 (assuming we can get_CRSworking well on the same machines whereintel_bus.cwas needed)?
Without intel_bus.c, we essentially assume config 1 all the time. If we keep intel_bus.c and this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.
The bad part is that for config 4, intel_bus.c covers up any defects in the _CRS or the Linux code that interprets it. The reason Yinghai added intel_bus.c in the first place was to work around a defect in this area[1]. Keeping it will make it harder to fix the underlying issue that keeps us from turning on _CRS for that box.
Bjorn
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.
Quite frankly, is there any major downside to just disabling/removing intel_bus.c for 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.
The machines that it helps are also the machines where you can fix things up with 'use_csr', no? And they are pretty rare, and they didn't use to work without that use_csr in 2.6.32 either, so it's not even a regression.
Am I missing something?
Linus
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 14 lines · On Wed, 27 Jan 2010 12:50:12 -0800 (PST) Linus Torvalds…
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.Quite frankly, is there any major downside to just disabling/removing
intel_bus.cfor 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.
Quoted 5 lines
The machines that it helps are also the machines where you can fix things up with '
use_csr', no? And they are pretty rare, and they didn't use to work without thatuse_csrin 2.6.32 either, so it's not even a regression.Am I missing something?
No that's the plan. intel_bus.c was a good effort, but it's just too different from what Windows does, and it'll always be behind. We'll disable it for 2.6.33 and try again to move to _CRS in 2.6.34 (but fixing the problem with large numbers of _CRS resources this time).
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 21 lines · On Wed, 27 Jan 2010 12:59:05 -0800 Jesse Barnes <[email protected]>…
Quoted 18 lines · On Wed, 27 Jan 2010 12:50:12 -0800 (PST) Linus Torvalds…
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.Quite frankly, is there any major downside to just disabling/removing
intel_bus.cfor 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.The machines that it helps are also the machines where you can fix things up with '
use_csr', no? And they are pretty rare, and they didn't use to work without thatuse_csrin 2.6.32 either, so it's not even a regression.
Quoted 6 lines
Quoted 1 line
Am I missing something?
No that's the plan.
intel_bus.cwas a good effort, but it's just too different from what Windows does, and it'll always be behind. We'll disable it for 2.6.33 and try again to move to_CRSin 2.6.34 (but fixing the problem with large numbers of_CRSresources this time).
Should say "disable it for 2.6.33 for all but multi-IOH configs", which seem to be fairly rare anyway, and were what intel_bus.c was designed to accommodate. On the one machine that motivated it, use_crs was broken (though it likely isn't now), so it seems the safest route.
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 31 lines · Jesse Barnes
Quoted 21 lines · On Wed, 27 Jan 2010 12:59:05 -0800 Jesse Barnes <[email protected]>…
Quoted 18 lines · On Wed, 27 Jan 2010 12:50:12 -0800 (PST) Linus Torvalds…
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.Quite frankly, is there any major downside to just disabling/removing
intel_bus.cfor 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.The machines that it helps are also the machines where you can fix things up with '
use_csr', no? And they are pretty rare, and they didn't use to work without thatuse_csrin 2.6.32 either, so it's not even a regression.Quoted 6 lines
Quoted 1 line
Am I missing something?
No that's the plan.
intel_bus.cwas a good effort, but it's just too different from what Windows does, and it'll always be behind. We'll disable it for 2.6.33 and try again to move to_CRSin 2.6.34 (but fixing the problem with large numbers of_CRSresources this time).
Quoted 4 lines
Should say "disable it for 2.6.33 for all but multi-IOH configs", which seem to be fairly rare anyway, and were what
intel_bus.cwas designed to accommodate. On the one machine that motivated it,use_crswas broken (though it likely isn't now), so it seems the safest route.
will try to produce one patch to handle subtract decoding for legacy IOH aka the one with ESI.
the structure could be something like amd_bus.c, need to do it early, but it need after pci_arch_init to get mmconf.
YH
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Linus TorvaldsQuoted 13 lines · Linus Torvalds
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.Quite frankly, is there any major downside to just disabling/removing
intel_bus.cfor 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.
Quoted 5 lines
The machines that it helps are also the machines where you can fix things up with '
use_csr', no? And they are pretty rare, and they didn't use to work without thatuse_csrin 2.6.32 either, so it's not even a regression.Am I missing something?
Only that when we added intel_bus.c, Yinghai reported that the reason was because a machine had a broken _CRS, so "pci=use_crs" wouldn't help.
At the time, Windows hadn't been brought up on that box. My speculation is that by now, they've done that bringup and probably fixed the _CRS issue, so it might work now.
If that's the case, we could drop intel_bus.c from .33 and just use "pci=use_crs" on those boxes until we can figure out how to turn it on automatically.
Bjorn
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 23 lines · Bjorn Helgaas
Quoted 13 lines · Linus Torvalds
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.Quite frankly, is there any major downside to just disabling/removing
intel_bus.cfor 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.Quoted 5 lines
The machines that it helps are also the machines where you can fix things up with '
use_csr', no? And they are pretty rare, and they didn't use to work without thatuse_csrin 2.6.32 either, so it's not even a regression.Am I missing something?
Only that when we added
intel_bus.c, Yinghai reported that the reason was because a machine had a broken_CRS, so "pci=use_crs" wouldn't help.
Quoted 7 lines
At the time, Windows hadn't been brought up on that box. My speculation is that by now, they've done that bringup and probably fixed the
_CRSissue, so it might work now.If that's the case, we could drop
intel_bus.cfrom .33 and just use "pci=use_crs" on those boxes until we can figure out how to turn it on automatically.
BIOS fixed that problem already. but
1. how to turn that pci=use_crs for that box automatically ? how about our other kind of boxes?
2. how about when apci is disabled?
let's apply that patch at first, and wait for intel give us info about which bit is used to enable routing set up.
YH
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 28 lines · Yinghai Lu
Quoted 27 lines · Bjorn Helgaas
Quoted 13 lines · Linus Torvalds
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.Quite frankly, is there any major downside to just disabling/removing
intel_bus.cfor 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.Quoted 5 lines
The machines that it helps are also the machines where you can fix things up with '
use_csr', no? And they are pretty rare, and they didn't use to work without thatuse_csrin 2.6.32 either, so it's not even a regression.Am I missing something?
Only that when we added
intel_bus.c, Yinghai reported that the reason was because a machine had a broken_CRS, so "pci=use_crs" wouldn't help.At the time, Windows hadn't been brought up on that box. My speculation is that by now, they've done that bringup and probably fixed the
_CRSissue, so it might work now.
Quoted 7 lines
Quoted 3 lines
If that's the case, we could drop
intel_bus.cfrom .33 and just use "pci=use_crs" on those boxes until we can figure out how to turn it on automatically.BIOS fixed that problem already. but
1. how to turn that pci=use_crs for that box automatically ? how about our other kind of boxes?
Yes, we need a way to turn on "pci=use_crs" automatically. My first thought is to turn it on for all BIOSes with dates of 2010 or later, and in addition, have a whitelist of the pre-2010 machines that require it.
Quoted 1 line
2. how about when apci is disabled?
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
Bjorn
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 41 lines · Bjorn Helgaas
Quoted 28 lines · Yinghai Lu
Quoted 27 lines · Bjorn Helgaas
Quoted 13 lines · Linus Torvalds
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.Quite frankly, is there any major downside to just disabling/removing
intel_bus.cfor 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.Quoted 5 lines
The machines that it helps are also the machines where you can fix things up with '
use_csr', no? And they are pretty rare, and they didn't use to work without thatuse_csrin 2.6.32 either, so it's not even a regression.Am I missing something?
Only that when we added
intel_bus.c, Yinghai reported that the reason was because a machine had a broken_CRS, so "pci=use_crs" wouldn't help.At the time, Windows hadn't been brought up on that box. My speculation is that by now, they've done that bringup and probably fixed the
_CRSissue, so it might work now.Quoted 7 lines
Quoted 3 lines
If that's the case, we could drop
intel_bus.cfrom .33 and just use "pci=use_crs" on those boxes until we can figure out how to turn it on automatically.BIOS fixed that problem already. but
1. how to turn that pci=use_crs for that box automatically ? how about our other kind of boxes?Yes, we need a way to turn on "pci=use_crs" automatically. My first thought is to turn it on for all BIOSes with dates of 2010 or later, and in addition, have a whitelist of the pre-2010 machines that require it.
Quoted 7 lines
Quoted 1 line
2. how about when apci is disabled?
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
some systems when acpi is enabled could have interrupt storm. and have to disable acpi.
YH
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs )
Quoted 44 lines · Yinghai Lu
Quoted 43 lines · Bjorn Helgaas
Quoted 28 lines · Yinghai Lu
Quoted 27 lines · Bjorn Helgaas
Quoted 13 lines · Linus Torvalds
Quoted 4 lines · Bjorn Helgaas
Without
intel_bus.c, we essentially assume config 1 all the time. If we keepintel_bus.cand this patch for .33, things should work for configs 1 and 4. Adding support for config 4 is good.Quite frankly, is there any major downside to just disabling/removing
intel_bus.cfor 2.6.33? If we're not planning on having it in the long run anyway - or even if we are, but we can't be really happy about the state of it as it would be in 2.6.33, not using it at all seems to be the smaller headache.Quoted 5 lines
The machines that it helps are also the machines where you can fix things up with '
use_csr', no? And they are pretty rare, and they didn't use to work without thatuse_csrin 2.6.32 either, so it's not even a regression.Am I missing something?
Only that when we added
intel_bus.c, Yinghai reported that the reason was because a machine had a broken_CRS, so "pci=use_crs" wouldn't help.At the time, Windows hadn't been brought up on that box. My speculation is that by now, they've done that bringup and probably fixed the
_CRSissue, so it might work now.Quoted 7 lines
Quoted 3 lines
If that's the case, we could drop
intel_bus.cfrom .33 and just use "pci=use_crs" on those boxes until we can figure out how to turn it on automatically.BIOS fixed that problem already. but
1. how to turn that pci=use_crs for that box automatically ? how about our other kind of boxes?Yes, we need a way to turn on "pci=use_crs" automatically. My first thought is to turn it on for all BIOSes with dates of 2010 or later, and in addition, have a whitelist of the pre-2010 machines that require it.
Quoted 1 line
2. how about when apci is disabled?
Quoted 8 lines
Quoted 5 lines
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
some systems when acpi is enabled could have interrupt storm. and have to disable acpi.
Blacklist them?
Rafael
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs )
In reply to Yinghai LuQuoted 5 lines · Yinghai Lu
Quoted 4 lines · Bjorn Helgaas
Quoted 1 line · Yinghai Lu
2. how about when apci is disabled?
Quoted 8 lines
Quoted 5 lines
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
some systems when acpi is enabled could have interrupt storm. and have to disable acpi.
We should fix that problem rather than just covering it up by disabling ACPI. Can you provide any details?
I think it's crazy to add code to work around Problem B that only occurs because we disabled ACPI to work around Problem A. We should just fix Problem A instead.
Bjorn
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 12 lines · Bjorn Helgaas
Quoted 11 lines · Yinghai Lu
Quoted 9 lines · Bjorn Helgaas
Quoted 1 line · Yinghai Lu
2. how about when apci is disabled?
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
Quoted 5 lines
Quoted 2 lines
some systems when acpi is enabled could have interrupt storm. and have to disable acpi.
We should fix that problem rather than just covering it up by disabling ACPI. Can you provide any details?
that is not covering problem. acpi just cause too many problems.
systems using acpi hotplug support, and use acpi aml code to monitor the hotplug status instead of HW and after one or two days will have interrupt storm with sci/acpi interrupt aka 9.
Quoted 4 lines
I think it's crazy to add code to work around Problem B that only occurs because we disabled ACPI to work around Problem A. We should just fix Problem A instead.
that is not point. fix BIOS or HW or OS?
check many systems have broken acpi?
some system acpi code even clear pci bar when just enable acpi at the first point.
YH
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 16 lines · On Thu, 28 Jan 2010 10:20:04 -0800 Yinghai Lu <[email protected]> wrote:
Quoted 15 lines · Bjorn Helgaas
Quoted 13 lines · Yinghai Lu
Quoted 9 lines · Bjorn Helgaas
Quoted 1 line · Yinghai Lu
2. how about when apci is disabled?
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
some systems when acpi is enabled could have interrupt storm. and have to disable acpi.
Quoted 7 lines
Quoted 2 lines
We should fix that problem rather than just covering it up by disabling ACPI. Can you provide any details?
that is not covering problem. acpi just cause too many problems.
systems using acpi hotplug support, and use acpi aml code to monitor the hotplug status instead of HW and after one or two days will have interrupt storm with sci/acpi interrupt aka 9.
But disabling it gets us into trouble too. When platforms are designed for Linux, they may be designed to have ACPI disabled (though this is probably rare for general purpose PCs and servers). However when they're designed for Windows, they're generally designed to use ACPI, so if we disable it we run the risk of hitting all sorts of bugs since we're running in an untested configuration.
So fixing the issues with ACPI enabled seems like a better idea; after all, presumably Windows works on this platform with ACPI enabled, why shouldn't we?
But I'm speaking in general here; we'd have to dig into the details of the particular problem you mention to figure out the best course of action (but I'm still pretty sure it's not "disable ACPI").
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 23 lines · Jesse Barnes
Quoted 20 lines · On Thu, 28 Jan 2010 10:20:04 -0800 Yinghai Lu <[email protected]> wrote:
Quoted 12 lines · Bjorn Helgaas
Quoted 11 lines · Yinghai Lu
Quoted 9 lines · Bjorn Helgaas
Quoted 1 line · Yinghai Lu
2. how about when apci is disabled?
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
Quoted 5 lines
Quoted 2 lines
some systems when acpi is enabled could have interrupt storm. and have to disable acpi.
We should fix that problem rather than just covering it up by disabling ACPI. Can you provide any details?
that is not covering problem. acpi just cause too many problems.
Quoted 8 lines
Quoted 3 lines
systems using acpi hotplug support, and use acpi aml code to monitor the hotplug status instead of HW and after one or two days will have interrupt storm with sci/acpi interrupt aka 9.
But disabling it gets us into trouble too. When platforms are designed for Linux, they may be designed to have ACPI disabled (though this is probably rare for general purpose PCs and servers).
Well, not quite. On recent SMP systems it's next to impossible to get all of the necessary system configuration information without ACPI, since it only is provided by the ACPI tables (the configuration of APICs, interrupt routing, CPU C states, other stuff).
[BTW, I think it's better to CC linux-acpi and Len at this point.]
Quoted 3 lines
However when they're designed for Windows, they're generally designed to use ACPI, so if we disable it we run the risk of hitting all sorts of bugs since we're running in an untested configuration.
I guess without ACPI we're guaranteed to run into troubles on many modern hardware configurations.
Quoted 7 lines
So fixing the issues with ACPI enabled seems like a better idea; after all, presumably Windows works on this platform with ACPI enabled, why shouldn't we?
But I'm speaking in general here; we'd have to dig into the details of the particular problem you mention to figure out the best course of action (but I'm still pretty sure it's not "disable ACPI").
Agreed.
Rafael
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 10 lines · On Thu, 28 Jan 2010 21:28:33 +0100 "Rafael J. Wysocki"…
Quoted 3 lines
But disabling it gets us into trouble too. When platforms are designed for Linux, they may be designed to have ACPI disabled (though this is probably rare for general purpose PCs and servers).
Well, not quite. On recent SMP systems it's next to impossible to get all of the necessary system configuration information without ACPI, since it only is provided by the ACPI tables (the configuration of APICs, interrupt routing, CPU C states, other stuff).
[BTW, I think it's better to CC linux-acpi and Len at this point.]
I was thinking more of custom designed low power servers or something, possibly running LinuxBIOS or some other custom BIOS. For a general purpose machine though I'm 100% agreed. ACPI is required these days for PCs.
I was trying to make a point that we shouldn't disable ACPI on platforms that support it. Rather, we should fix any bugs we discover in handling ACPI correctly, rather than working around it by turning it off.
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Rafael J. WysockiQuoted 33 lines · Rafael J. Wysocki
Quoted 23 lines · Jesse Barnes
Quoted 20 lines · On Thu, 28 Jan 2010 10:20:04 -0800 Yinghai Lu <[email protected]> wrote:
Quoted 12 lines · Bjorn Helgaas
Quoted 11 lines · Yinghai Lu
Quoted 9 lines · Bjorn Helgaas
Quoted 1 line · Yinghai Lu
2. how about when apci is disabled?
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
Quoted 5 lines
Quoted 2 lines
some systems when acpi is enabled could have interrupt storm. and have to disable acpi.
We should fix that problem rather than just covering it up by disabling ACPI. Can you provide any details?
that is not covering problem. acpi just cause too many problems.
Quoted 8 lines
Quoted 3 lines
systems using acpi hotplug support, and use acpi aml code to monitor the hotplug status instead of HW and after one or two days will have interrupt storm with sci/acpi interrupt aka 9.
But disabling it gets us into trouble too. When platforms are designed for Linux, they may be designed to have ACPI disabled (though this is probably rare for general purpose PCs and servers).
Quoted 7 lines
Well, not quite. On recent SMP systems it's next to impossible to get all of the necessary system configuration information without ACPI, since it only is provided by the ACPI tables (the configuration of APICs, interrupt routing, CPU C states, other stuff).
[BTW, I think it's better to CC linux-acpi and Len at this point.]
IMO, Disabling ACPI is wrong.
"acpi=off" should just be used for debug purpose. For example, it is a good excuse to dedicate an uncleared bug to ACPI if the problem doesn't exist with acpi=off, although they may be not ACPI related sometime.
So if there are some platforms that
1. work in Windows.
2. don't work in Linux when ACPI is on.
3. work in Linux when ACPI is off.
please file a bug at
http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
thanks,
rui
Quoted 22 lines
Quoted 3 lines
However when they're designed for Windows, they're generally designed to use ACPI, so if we disable it we run the risk of hitting all sorts of bugs since we're running in an untested configuration.
I guess without ACPI we're guaranteed to run into troubles on many modern hardware configurations.
Quoted 7 lines
So fixing the issues with ACPI enabled seems like a better idea; after all, presumably Windows works on this platform with ACPI enabled, why shouldn't we?
But I'm speaking in general here; we'd have to dig into the details of the particular problem you mention to figure out the best course of action (but I'm still pretty sure it's not "disable ACPI").
Agreed.
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Yinghai LuQuoted 16 lines · Yinghai Lu
Quoted 15 lines · Bjorn Helgaas
Quoted 13 lines · Yinghai Lu
Quoted 9 lines · Bjorn Helgaas
Quoted 1 line · Yinghai Lu
2. how about when apci is disabled?
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
some systems when acpi is enabled could have interrupt storm. and have to disable acpi.
Quoted 6 lines
Quoted 2 lines
We should fix that problem rather than just covering it up by disabling ACPI. Can you provide any details?
that is not covering problem. acpi just cause too many problems.
systems using acpi hotplug support, and use acpi aml code to monitor the hotplug status instead of HW and after one or two days will have interrupt storm with sci/acpi interrupt aka 9.
If you just want to whine about problems without helping us figure them out and fix them, I think there's another mailing list for that.
I really don't have time to deal with unsubstantiated rumor-mongering like this.
Bjorn
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Yinghai LuQuoted 11 lines · Yinghai Lu
Quoted 3 lines · Bjorn Helgaas
On Wednesday 27 January 2010 10:53:51 pm Yinghai Lu wrote:
We should fix that problem rather than just covering it up by disabling ACPI. Can you provide any details?that is not covering problem. acpi just cause too many problems.
systems using acpi hotplug support, and use acpi aml code to monitor the hotplug status instead of HW and after one or two days will have interrupt storm with sci/acpi interrupt aka 9.
...
check many systems have broken acpi?
some system acpi code even clear pci bar when just enable acpi at the first point.
Sorry, let me try to be more constructive. You mention some things above that might be issues with Linux. I am eager to help fix them.
However, to make progress, I need information, not just rumors. Can you point me to bug reports? Bugzillas? Ways to reproduce the problems?
Bjorn
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 7 lines · Bjorn Helgaas
Quoted 6 lines · Yinghai Lu
Quoted 3 lines · Bjorn Helgaas
On Wednesday 27 January 2010 10:53:51 pm Yinghai Lu wrote:
We should fix that problem rather than just covering it up by disabling ACPI. Can you provide any details?that is not covering problem. acpi just cause too many problems.
Quoted 8 lines
Quoted 5 lines
systems using acpi hotplug support, and use acpi aml code to monitor the hotplug status instead of HW and after one or two days will have interrupt storm with sci/acpi interrupt aka 9.
...
check many systems have broken acpi?
some system acpi code even clear pci bar when just enable acpi at the first point.Sorry, let me try to be more constructive. You mention some things above that might be issues with Linux. I am eager to help fix them.
should be have problem on several parties.
good hw design should let fgpa to monitor that change, instead of have bunch ACPI AML code on host cpu to do that.
Quoted 4 lines
However, to make progress, I need information, not just rumors. Can you point me to bug reports? Bugzillas? Ways to reproduce the problems?
I asked our HW engineer to update fpga to handle the problem already.
YH
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Bjorn HelgaasQuoted 5 lines · Bjorn Helgaas
When ACPI is disabled, I think we just have to accept that we lose some functionality. I don't see the need for alternate ways to accomplish everything that ACPI does. It's becoming less and less useful to disable ACPI; I think it's only interesting as a debugging tool, and even then it's a sledgehammer.
I'd agree with this. The days where it was plausibly practical to boot non-ACPI operating systems on hardware are clearly gone, and people who are actually disabling ACPI in the field seem to be doing so in order to avoid other bugs - and we're failing to fix those bugs as a result.
Signature · 1 line
Matthew Garrett | [email protected]
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Yinghai LuQuoted 8 lines · On Tue, 26 Jan 2010 14:57:31 -0800 Yinghai Lu…
Quoted 4 lines · Jesse Barnes
For 2.6.33 I'd like a minimal fix though, can you disable it for all but the multi-IOH case perhaps?
please check,
Quoted 7 lines
[PATCH] x86/pci: don't use ioh resource if only have one ioh
some system could use reosurce out of IOH resources when only one ioh is there.
could be BIOS have wrong IOH resources and not enable them.
Signed-off-by Yinghai Lu <[email protected]>
I applied this one to my for-linus branch. Jeff can you confirm it works for you? I'd like to push it to Linus tomorrow.
Thanks,
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 15 lines · Jesse Barnes
Quoted 12 lines · On Tue, 26 Jan 2010 14:57:31 -0800 Yinghai Lu…
Quoted 4 lines · Jesse Barnes
For 2.6.33 I'd like a minimal fix though, can you disable it for all but the multi-IOH case perhaps?
please check,
[PATCH] x86/pci: don't use ioh resource if only have one ioh
some system could use reosurce out of IOH resources when only one ioh is there.
Quoted 8 lines
Quoted 3 lines
could be BIOS have wrong IOH resources and not enable them.
Signed-off-by Yinghai Lu <[email protected]>I applied this one to my for-linus branch. Jeff can you confirm it works for you? I'd like to push it to Linus tomorrow.
Thanks,
FWIW, works...
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Yinghai LuQuoted 2 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
Please, no.
This patch is too ugly to live.
And it's totally unacceptable to probe every single possible PCI device for something like this.
If we don't know enough about the hardware workings of those Intel bridges to know when they are active and how they decode things, then please let's just disable intel_bus.c entirely.
There's no excuse for hacky tests like this.
Linus
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 10 lines · On Wed, 27 Jan 2010 17:50:17 -0800 (PST) Linus Torvalds…
Quoted 2 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
Please, no.
This patch is too ugly to live.
Quoted 8 lines
And it's totally unacceptable to probe every single possible PCI device for something like this.
If we don't know enough about the hardware workings of those Intel bridges to know when they are active and how they decode things, then please let's just disable
intel_bus.centirely.There's no excuse for hacky tests like this.
Ok, we'll just kill it entirely then. I'll send a patch tomorrow unless Yinghai beats me to it.
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 13 lines · Jesse Barnes
Quoted 11 lines · On Wed, 27 Jan 2010 17:50:17 -0800 (PST) Linus Torvalds…
Quoted 2 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
Please, no.
This patch is too ugly to live.
And it's totally unacceptable to probe every single possible PCI device for something like this.
Quoted 8 lines
Quoted 5 lines
If we don't know enough about the hardware workings of those Intel bridges to know when they are active and how they decode things, then please let's just disable
intel_bus.centirely.There's no excuse for hacky tests like this.
Ok, we'll just kill it entirely then. I'll send a patch tomorrow unless Yinghai beats me to it.
What about something like this (works for me, without pci=use_crs)?
---
Remove intel_bus.c Intel-specific PCI/IOH logic
--- arch/x86/pci/Makefile | 2 +- arch/x86/pci/intel_bus.c | 94 ---------------------------------------------- 2 files changed, 1 insertions(+), 95 deletions(-)
arch/x86/pci/Makefile +1 -1
@@ -15,7 +15,7 @@ obj-$(CONFIG_X86_NUMAQ) += numaq_32.o obj-y += common.o early.o obj-y += amd_bus.o -obj-$(CONFIG_X86_64) += bus_numa.o intel_bus.o +obj-$(CONFIG_X86_64) += bus_numa.o ifeq ($(CONFIG_PCI_DEBUG),y) EXTRA_CFLAGS += -DDEBUG
arch/x86/pci/intel_bus.c deleted +0 -94
94 lines not on this page · raw message
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 23 lines · On Wed, 27 Jan 2010 22:02:26 -0600 [email protected]…
Quoted 13 lines · Jesse Barnes
Quoted 11 lines · On Wed, 27 Jan 2010 17:50:17 -0800 (PST) Linus Torvalds…
Quoted 2 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
Please, no.
This patch is too ugly to live.
And it's totally unacceptable to probe every single possible PCI device for something like this.
Quoted 8 lines
Quoted 5 lines
If we don't know enough about the hardware workings of those Intel bridges to know when they are active and how they decode things, then please let's just disable
intel_bus.centirely.There's no excuse for hacky tests like this.
Ok, we'll just kill it entirely then. I'll send a patch tomorrow unless Yinghai beats me to it.
Quoted 6 lines
What about something like this (works for me, without pci=use_crs)?
---
Removeintel_bus.cIntel-specific PCI/IOH logicSigned-off-by Jeff Garrett <[email protected]>
Yeah, looks good. I'll push to Linus today.
Thanks,
Jesse
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 26 lines · Jesse Barnes
Quoted 23 lines · On Wed, 27 Jan 2010 22:02:26 -0600 [email protected] (Jeff Garrett) wrote:
Quoted 21 lines · Jesse Barnes
Quoted 8 lines · On Wed, 27 Jan 2010 17:50:17 -0800 (PST) Linus Torvalds…
Quoted 2 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
Please, no.
This patch is too ugly to live.
Quoted 8 lines
And it's totally unacceptable to probe every single possible PCI device for something like this.
If we don't know enough about the hardware workings of those Intel bridges to know when they are active and how they decode things, then please let's just disable
intel_bus.centirely.There's no excuse for hacky tests like this.
Ok, we'll just kill it entirely then. I'll send a patch tomorrow unless Yinghai beats me to it.
Quoted 9 lines
Quoted 6 lines
What about something like this (works for me, without pci=use_crs)?
---
Removeintel_bus.cIntel-specific PCI/IOH logicSigned-off-by Jeff Garrett <[email protected]>Yeah, looks good. I'll push to Linus today.
please don't. will send you another patch, to keep the print out so we can cross check the _CRS.
YH
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 32 lines · On Thu, 28 Jan 2010 10:13:26 -0800 Yinghai Lu…
Quoted 31 lines · Jesse Barnes
Quoted 28 lines · On Wed, 27 Jan 2010 22:02:26 -0600 [email protected]…
Quoted 13 lines · Jesse Barnes
Quoted 11 lines · On Wed, 27 Jan 2010 17:50:17 -0800 (PST) Linus Torvalds…
Quoted 2 lines · Yinghai Lu
[PATCH] x86/pci: don't use ioh resource if only have one ioh
Please, no.
This patch is too ugly to live.
And it's totally unacceptable to probe every single possible PCI device for something like this.
Quoted 8 lines
Quoted 5 lines
If we don't know enough about the hardware workings of those Intel bridges to know when they are active and how they decode things, then please let's just disable
intel_bus.centirely.There's no excuse for hacky tests like this.
Ok, we'll just kill it entirely then. I'll send a patch tomorrow unless Yinghai beats me to it.
What about something like this (works for me, without pci=use_crs)?
---
Removeintel_bus.cIntel-specific PCI/IOH logic
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Jeff Garrett <[email protected]>Yeah, looks good. I'll push to Linus today.
please don't. will send you another patch, to keep the print out so we can cross check the
_CRS.
I don't think there's much point due to the points we discussed earlier, I'd rather just get rid of it.
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
PATCH 1/1 x86/pci: print ioh resources only
In reply to Jesse Barnesdon't use them for peer pci root bus resource yet. so could cross check _CRS results
--- arch/x86/pci/intel_bus.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-)
arch/x86/pci/intel_bus.c +8 -16
@@ -43,7 +43,7 @@ static void __devinit pci_root_bus_res(s {u16 word;u32 dword; -struct pci_root_info *info; +struct pci_root_info info;u16 io_base, io_end;u32 mmiol_base, mmiol_end;u64 mmioh_base, mmioh_end;
@@ -53,30 +53,22 @@ static void __devinit pci_root_bus_res(sif (dev->cfg_size <0x120 )return ; -if (pci_root_num >=PCI_ROOT_NR ) { -printk (KERN_DEBUG "intel_bus.c: PCI_ROOT_NR is too small\n" ); -return ; - } - - info = &pci_root_info[pci_root_num]; - pci_root_num++; -pci_read_config_word (dev,IOH_LCFGBUS , &word); bus_base = (word &0xff ); bus_end = (word &0xff00 ) >>8 ; -sprintf (info->name,"PCI Bus #%02x" , bus_base); - info->bus_min = bus_base; - info->bus_max = bus_end; +sprintf (info.name,"PCI Bus #%02x" , bus_base); + info.bus_min = bus_base; + info.bus_max = bus_end;pci_read_config_word (dev,IOH_LIO , &word); io_base = (word &0xf0 ) << (12 -4 ); io_end = (word &0xf000 ) |0xfff ; -update_res (info, io_base, io_end,IORESOURCE_IO ,0 ); +update_res (&info, io_base, io_end,IORESOURCE_IO ,0 );pci_read_config_dword (dev,IOH_LMMIOL , &dword); mmiol_base = (dword &0xff00 ) << (24 -8 ); mmiol_end = (dword &0xff000000 ) |0xffffff ; -update_res (info, mmiol_base, mmiol_end,IORESOURCE_MEM ,0 ); +update_res (&info, mmiol_base, mmiol_end,IORESOURCE_MEM ,0 );pci_read_config_dword (dev,IOH_LMMIOH , &dword); mmioh_base = ((u64)(dword &0xfc00 )) << (26 -10 );
@@ -85,9 +77,9 @@ static void __devinit pci_root_bus_res(s mmioh_base |= ((u64)(dword &0x7ffff )) <<32 ;pci_read_config_dword (dev,IOH_LMMIOH_LIMITU , &dword); mmioh_end |= ((u64)(dword &0x7ffff )) <<32 ; -update_res (info, mmioh_base, mmioh_end,IORESOURCE_MEM ,0 ); +update_res (&info, mmioh_base, mmioh_end,IORESOURCE_MEM ,0 ); -print_ioh_resources (info); +print_ioh_resources (&info); }/* intel IOH */
Re: [PATCH] x86/pci: print ioh resources only
arch/x86/pci/intel_bus.c static void __devinit pci_root_bus_res(s · line 46
Quoted 6 lines · Yinghai Lu
arch/x86/pci/intel_bus.c +1
-1@@ -43,7 +43,7 @@ static void __devinit pci_root_bus_res(s {u16 word;u32 dword; -struct pci_root_info *info; +struct pci_root_info info;
That structure is something like a kilobyte in size, please don't put those things on the stack (sixteen "struct resource" entries).
Linus
PATCH 1/1 x86/pci: print ioh resources only
don't use them for peer pci root bus resource yet. so could cross check _CRS results
-v2: dont put info struct in stack according to Linus.
because that is kbytes big
--- arch/x86/pci/intel_bus.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
arch/x86/pci/intel_bus.c +2 -6
@@ -53,13 +53,9 @@ static void __devinit pci_root_bus_res(sif (dev->cfg_size <0x120 )return ; -if (pci_root_num >=PCI_ROOT_NR ) { -printk (KERN_DEBUG "intel_bus.c: PCI_ROOT_NR is too small\n" ); + info =kmalloc (sizeof (struct pci_root_info ),GFP_KERNEL ); +if (!info)return ; - } - - info = &pci_root_info[pci_root_num]; - pci_root_num++;pci_read_config_word (dev,IOH_LCFGBUS , &word); bus_base = (word &0xff );
Re: [PATCH -v2] x86/pci: print ioh resources only
Quoted 6 lines · Yinghai Lu
don't use them for peer pci root bus resource yet. so could cross check
_CRSresults-v2: dont put info struct in stack according to Linus.
because that is kbytes big
No kfree?
OG.
Re: [PATCH -v2] x86/pci: print ioh resources only
Quoted 9 lines · Olivier Galibert
Quoted 6 lines · Yinghai Lu
don't use them for peer pci root bus resource yet. so could cross check
_CRSresults-v2: dont put info struct in stack according to Linus.
because that is kbytes bigNo kfree?
thanks.
anyway Jesse don't need print out.
YH
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Rafael J. WysockiQuoted 3 lines · Rafael J. Wysocki
Perhaps it would be sufficient to make pci=use_crs the default and leave the option to use
intel_bus.cfor whoever needs that?
Well, 'use_crs' broke other machines. See:
http://lkml.org/lkml/2009/6/23/715
but maybe that is all fixed..
Linus
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
In reply to Bjorn HelgaasQuoted 4 lines · Bjorn Helgaas
which IS big enough, and we know the bridge is in fact forwarding the [mem 0xd0000000-0xdfffffff 64bit pref] region, because the Radeon works when Jeff boots with "pci=use_crs".
I bet it's a subtractive decode thing. Sure, it could be just another undocumented range register (does anybody have the datasheet for that thing?) but Intel tends to often have subtractive decode.
That system in question has three PCI express root ports, but two of them have IO and memory disabled according to the lspci info. So maybe it's as simple as that "I/O Hub PCI Express Root Port 7" just catching anything that nobody else does, and the single IOH host chip doing the same?
Quoted 5 lines
I think we should remove
intel_bus.cbefore .33. It's breaking boxes and we don't know how to fix it. Even if we do find out how to fix it, I think we should move toward using_CRSinstead, because that's what Windows uses and it's an easy way for the firmware to tell us about platform quirks.
I suspect that for 33 it is indeed best to just revert. But somebody is bound to have information on how the actual hardware works. Yinghai?
Linus
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 17 lines · Linus Torvalds
Quoted 4 lines · Bjorn Helgaas
which IS big enough, and we know the bridge is in fact forwarding the [mem 0xd0000000-0xdfffffff 64bit pref] region, because the Radeon works when Jeff boots with "pci=use_crs".
I bet it's a subtractive decode thing. Sure, it could be just another undocumented range register (does anybody have the datasheet for that thing?) but Intel tends to often have subtractive decode.
That system in question has three PCI express root ports, but two of them have IO and memory disabled according to the lspci info. So maybe it's as simple as that "I/O Hub PCI Express Root Port 7" just catching anything that nobody else does, and the single IOH host chip doing the same?
Quoted 8 lines
Quoted 5 lines
I think we should remove
intel_bus.cbefore .33. It's breaking boxes and we don't know how to fix it. Even if we do find out how to fix it, I think we should move toward using_CRSinstead, because that's what Windows uses and it's an easy way for the firmware to tell us about platform quirks.I suspect that for 33 it is indeed best to just revert. But somebody is bound to have information on how the actual hardware works. Yinghai?
I have asked intel if there is any bit that could be enabled the routing. there is no info about for their documentations.
Yinghai
Re: [Bug #15124] PCI host bridge windows ignored (works with pci=use_crs)
Quoted 24 lines · On Tue, 26 Jan 2010 10:21:29 -0800 Yinghai Lu…
Quoted 23 lines · Linus Torvalds
Quoted 4 lines · Bjorn Helgaas
which IS big enough, and we know the bridge is in fact forwarding the [mem 0xd0000000-0xdfffffff 64bit pref] region, because the Radeon works when Jeff boots with "pci=use_crs".
I bet it's a subtractive decode thing. Sure, it could be just another undocumented range register (does anybody have the datasheet for that thing?) but Intel tends to often have subtractive decode.
That system in question has three PCI express root ports, but two of them have IO and memory disabled according to the lspci info. So maybe it's as simple as that "I/O Hub PCI Express Root Port 7" just catching anything that nobody else does, and the single IOH host chip doing the same?
Quoted 5 lines
I think we should remove
intel_bus.cbefore .33. It's breaking boxes and we don't know how to fix it. Even if we do find out how to fix it, I think we should move toward using_CRSinstead, because that's what Windows uses and it's an easy way for the firmware to tell us about platform quirks.
Quoted 5 lines
Quoted 2 lines
I suspect that for 33 it is indeed best to just revert. But somebody is bound to have information on how the actual hardware works. Yinghai?
I have asked intel if there is any bit that could be enabled the routing. there is no info about for their documentations.
I could probably dig something up in our confidential database, but this is the main problem with intel_bus.c. It'll always be behind with _CRS provides. Sure _CRS may be wrong sometimes, but it'll always work well enough to bring Windows up, so we ought not to ignore it.
The underlying problems with our _CRS support still aren't fixed though, so switching that on for 2.6.33 isn't an option.
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
[Bug #15126] REGRESSION for RT2561/RT61 in 2.6.33
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15126
Subject : REGRESSION for RT2561/RT61 in 2.6.33
Submitter : Alan Stern <stern-nwvwT67g6+6dFdvTe/[email protected]>
Date : 2010-01-11 14:54 (14 days old)
References : http://marc.info/?l=linux-kernel&m=126322167427159&w=4
Re: [Bug #15126] REGRESSION for RT2561/RT61 in 2.6.33
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 6 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15126
Subject : REGRESSION for RT2561/RT61 in 2.6.33
Submitter : Alan Stern <stern-nwvwT67g6+6dFdvTe/[email protected]>
Date : 2010-01-11 14:54 (14 days old)
References : http://marc.info/?l=linux-kernel&m=126322167427159&w=4Handled-By Johannes Berg <[email protected]>
This bug entry can be removed from the list. It turned out not to be a bug at all, just a kernel config error I made when updating to 2.6.33-rc1.
Alan Stern
Re: [Bug #15126] REGRESSION for RT2561/RT61 in 2.6.33
Quoted 17 lines · Alan Stern
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 6 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15126
Subject : REGRESSION for RT2561/RT61 in 2.6.33
Submitter : Alan Stern <[email protected]>
Date : 2010-01-11 14:54 (14 days old)
References : http://marc.info/?l=linux-kernel&m=126322167427159&w=4Handled-By Johannes Berg <[email protected]>
Quoted 3 lines
This bug entry can be removed from the list. It turned out not to be a bug at all, just a kernel config error I made when updating to 2.6.33-rc1.
Thanks, closed as "invalid".
Rafael
[Bug #15128] Boot regression on AMD
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15128
Subject : Boot regression on AMD
Submitter : Gene Heskett <[email protected]>
Date : 2010-01-13 20:21 (12 days old)
References : http://marc.info/?l=linux-kernel&m=126341413213017&w=4
[Bug #15129] [drm:i915_gem_execbuffer] *ERROR* i915_gem_do_execbuffer returns -512
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15129
Subject : [drm:i915_gem_execbuffer] *ERROR* i915_gem_do_execbuffer returns -512
Submitter : Miles Lane <[email protected]>
Date : 2010-01-14 23:18 (11 days old)
References : http://lkml.org/lkml/2010/1/14/570
Re: [Bug #15129] [drm:i915_gem_execbuffer] *ERROR* i915_gem_do_execbuffer returns -512
Quoted 8 lines · On Sun, 24 Jan 2010 23:04:39 +0100 (CET) "Rafael J. Wysocki"…
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 7 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15129
Subject : [drm:i915_gem_execbuffer] *ERROR*i915_gem_do_execbufferreturns -512
Submitter : Miles Lane <[email protected]>
Date : 2010-01-14 23:18 (11 days old)
References : http://lkml.org/lkml/2010/1/14/570Handled-By Chris Wilson <[email protected]>
I think this message has been rightly killed. Getting -ERESTARTSYS from this function is perfectly normal, so we shouldn't bother printing a message about it.
Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
Re: [Bug #15129] [drm:i915_gem_execbuffer] *ERROR* i915_gem_do_execbuffer returns -512
Quoted 19 lines · Jesse Barnes
Quoted 8 lines · On Sun, 24 Jan 2010 23:04:39 +0100 (CET) "Rafael J. Wysocki" <[email protected]>…
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 7 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15129
Subject : [drm:i915_gem_execbuffer] *ERROR*i915_gem_do_execbufferreturns -512
Submitter : Miles Lane <[email protected]>
Date : 2010-01-14 23:18 (11 days old)
References : http://lkml.org/lkml/2010/1/14/570Handled-By Chris Wilson <[email protected]>
Quoted 3 lines
I think this message has been rightly killed. Getting
-ERESTARTSYSfrom this function is perfectly normal, so we shouldn't bother printing a message about it.
OK, closing this one.
Rafael
[Bug #15131] [OOPS] radeon kms
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15131
Subject : [OOPS] radeon kms
Submitter : John Kacur <[email protected]>
Date : 2010-01-15 15:45 (10 days old)
References : http://lkml.org/lkml/2010/1/15/129
[Bug #15132] OOPS's with large initramfs
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15132
Subject : OOPS's with large initramfs
Submitter : Nigel Kukard <nkukard-pYARk8SH/[email protected]>
Date : 2010-01-16 11:12 (9 days old)
References : http://marc.info/?l=linux-kernel&m=126364100321603&w=4
Re: [Bug #15132] OOPS's with large initramfs
Verified. I have tested this as far back as 2.6.30 with the same problem with "very" large initramfs's.
Quoted 16 lines
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15132
Subject : OOPS's with large initramfs
Submitter : Nigel Kukard <nkukard-pYARk8SH/[email protected]>
Date : 2010-01-16 11:12 (9 days old)
References : http://marc.info/?l=linux-kernel&m=126364100321603&w=4
Signature · 14 lines
Regards Nigel Kukard, PhD CompSc Linux Based Systems Design (Pty) Ltd Support: 086 747 7600 (premium 24/7/365) Fax: 086 601 7884 Quote: The best language to use is the language that was designed for what you want to use it for. *** The attachment to my email signature.asc is a digital PGP signature, if your mail client supports digital signatures it will allow you to verify I am the sender of this email and that it has not been tampered with along the way ***
Re: [Bug #15132] OOPS's with large initramfs
Quoted 2 lines · Nigel Kukard
Verified. I have tested this as far back as 2.6.30 with the same problem with "very" large initramfs's.
So this is not a recent regression, but a bug that has been there for a long time. Dropping from the list.
Thanks,
Rafael
[Bug #15133] Wake on LAN doesn't work in sky2
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15133
Subject : Wake on LAN doesn't work in sky2
Submitter : Tino Keitel <[email protected]>
Date : 2010-01-15 9:10 (10 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=166a0fd4c788ec7f10ca8194ec6d526afa12db75
References : http://marc.info/?l=linux-kernel&m=126354704815848&w=4
[Bug #15137] NULL pointer dereference in vlan_skb_recv
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15137
Subject : NULL pointer dereference in vlan_skb_recv
Submitter : Bruno Prémont <[email protected]>
Date : 2010-01-23 15:56 (2 days old)
References : http://marc.info/?l=linux-kernel&m=126426286507497&w=4
Patch : http://patchwork.kernel.org/patch/74999/
http://patchwork.kernel.org/patch/75002/
Re: [Bug #15137] NULL pointer dereference in vlan_skb_recv
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 9 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15137
Subject : NULL pointer dereference invlan_skb_recv
Submitter : Bruno Prémont <[email protected]>
Date : 2010-01-23 15:56 (2 days old)
References : http://marc.info/?l=linux-kernel&m=126426286507497&w=4Handled-By Eric Dumazet <[email protected]>Patch : http://patchwork.kernel.org/patch/74999/
http://patchwork.kernel.org/patch/75002/
This one can be closed, patch from Eric is already applied by David Miller.
Signature · 1 line
Live like a child, think like the god.
Re: [Bug #15137] NULL pointer dereference in vlan_skb_recv
Quoted 19 lines · Américo Wang
Quoted 8 lines · Rafael J. Wysocki
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Quoted 9 lines
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15137
Subject : NULL pointer dereference invlan_skb_recv
Submitter : Bruno Prémont <[email protected]>
Date : 2010-01-23 15:56 (2 days old)
References : http://marc.info/?l=linux-kernel&m=126426286507497&w=4Handled-By Eric Dumazet <[email protected]>Patch : http://patchwork.kernel.org/patch/74999/
http://patchwork.kernel.org/patch/75002/
Quoted 1 line
This one can be closed, patch from Eric is already applied by David Miller.
Is it in the Linus' tree already?
Rafael
David Miller
maintainerRe: [Bug #15137] NULL pointer dereference in vlan_skb_recv
From: "Rafael J. Wysocki" <[email protected]>
Date: Mon, 25 Jan 2010 22:07:52 +0100
Quoted 20 lines · Américo Wang
Quoted 19 lines · Rafael J. Wysocki
Quoted 17 lines
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15137
Subject : NULL pointer dereference invlan_skb_recv
Submitter : Bruno Prémont <[email protected]>
Date : 2010-01-23 15:56 (2 days old)
References : http://marc.info/?l=linux-kernel&m=126426286507497&w=4Handled-By Eric Dumazet <[email protected]>Patch : http://patchwork.kernel.org/patch/74999/
http://patchwork.kernel.org/patch/75002/
Quoted 3 lines
Quoted 1 line
This one can be closed, patch from Eric is already applied by David Miller.
Is it in the Linus' tree already?
No, but it will be there soon, I'll push it to him today. :-)
Re: [Bug #15137] NULL pointer dereference in vlan_skb_recv
Quoted 23 lines · David Miller
From: "Rafael J. Wysocki" <[email protected]>
Date: Mon, 25 Jan 2010 22:07:52 +0100Quoted 20 lines · Américo Wang
Quoted 19 lines · Rafael J. Wysocki
Quoted 17 lines
This message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15137
Subject : NULL pointer dereference invlan_skb_recv
Submitter : Bruno Prémont <[email protected]>
Date : 2010-01-23 15:56 (2 days old)
References : http://marc.info/?l=linux-kernel&m=126426286507497&w=4Handled-By Eric Dumazet <[email protected]>Patch : http://patchwork.kernel.org/patch/74999/
http://patchwork.kernel.org/patch/75002/
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
This one can be closed, patch from Eric is already applied by David Miller.
Is it in the Linus' tree already?
No, but it will be there soon, I'll push it to him today. :-)
Thanks!
[Bug #15138] evdev regression on macbook
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15138
Subject : evdev regression on macbook
Submitter : Guillaume Chazarain <[email protected]>
Date : 2010-01-23 18:53 (2 days old)
References : http://marc.info/?l=linux-kernel&m=126427286219235&w=4
[Bug #15139] e1000: transmit queue 0 timed out
In reply to Rafael J. WysockiThis message has been generated automatically as a part of a report of recent regressions.
The following bug entry is on the current list of known regressions from 2.6.32. Please verify if it still should be listed and let me know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15139
Subject : e1000: transmit queue 0 timed out
Submitter : Alexander Beregalov <[email protected]>
Date : 2010-01-23 15:37 (2 days old)
References : http://marc.info/?l=linux-netdev&m=126426149306083&w=4