- 28 Dec, 2004 13 commits
-
-
Dave Jones authored
On some CPUs, we can see transient MSR values (which are not present in _PSS) in IA32_PERF_STATUS MSR, while CPU is doing some automatic P-state transition (like TM2). Current code will return frequency as 0 in such cases. Fix it by retrying the get after a delay and use lowest possible frequency as the current frequency in worst case. Thanks to Matt Domsch for identifying and root-causing this failure. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
Venkatesh Pallipadi made me aware of a memory leak in speedstep-centrino: centrino_model is allocated for all CPUs. There were two possibilities: either make the centrino_model data per-CPU, or to share it across CPUs. I chose the former variant, as ACPI data may be broken and/or different for multiple CPUs. Additionally, I made centrino_cpu per-CPU, and removed a check whether setting allowed_cpus to policy->cpus resulted in smp_processor_id() == policy->cpu: if policy->cpus has more than one bit set, this check will fail very often. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
From: "Zou, Nanhai" <nanhai.zou@intel.com> Export cpufreq transition information for drivers using the freq-table helpers via sysfs. Two minor updates from Dominik Brodowski: s/translation/transition Kconfig re-ordering Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
From: Paul Devriendt patch for powernow-k8 problem (Mobile Sempron 2800+, Acer Aspire 1362 ) If the initial frequency/voltage pair are not valid in the frequency table, the first requested transition is to make them valid. Fix the code doing so. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
Use the unified cpufreq debug infrastructure in the cpufreq-nforce2 driver. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
Assert that the call to the cpufreq governor with CPUFREQ_GOV_STOP is really the last. Without this patch, some strange in-kernel preemption combined with the scheduler disliking the "removing" task may cause the opposite. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
From: Pavel Machek <pavel (AT) ucw.cz> These are very small cleanups / documentation additions. It avoids using different names for same fields in different structures. Updated to latest cpufreq-bk by Dominik Brodowski, and ack'ed by Mark Langsdorf, Paul Devriendt and Pavel Machek. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
Upon resuming from sleep or swsusp, the ACPI P-States driver can't determine the current CPU frequency, as the ACPI specification doesn't contain a method to determine the current P-State. Therefore, _always_ re-set the CPU to the P-State it was before suspending, and don't abort early if this is the same state as the CPU was put to before (like it does make sense when using the ondemand governor, for example). Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
(if anyone has a brown spare paper bag, feel free to send it to me:) The call to cpufreq_driver->resume() got lost in 2.6.6. Re-add it at the proper place. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
If something fails in the per-CPU initialization in powernow-k8, it should unregister itself from the ACPI performance library. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
The unregistration of the ACPI performance library should be done in the CPU exit function, and the cleanup too. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
The following patch makes ondemand governor aware of policy->cpus. policy->cpus mask lets multiple cpu use the same policy (useful where cpus share the frequency state), a recent change in cpufreq core. Now ondemand governor looks at all cpus in policy->cpus and takes its frequency increase/decrease decisions based on most lightly loaded cpu in the group. This patch will not affect systems where policy->cpus contain only one cpu. Signed-off-by: "Venkatesh Pallipadi" <venkatesh.pallipadi@intel.com> Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Dave Jones <davej@redhat.com>
-
- 26 Dec, 2004 10 commits
-
-
Alan Cox authored
Originally submitted by Mike Waychison <Michael.Waychison@sun.com> in August but apparently lost. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
SCSI ioctls can ask for a lot of memory and fail. We don't need to vomit in the log file for this case. Again taken from the Red Hat minor patches applied for FC3. Original-patch: Arjan van de Ven <arjanv@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Paul Laufer informed the list that he had changed address and his change of address had been ignored so CREDITS was still wrong although other files had been updated. Fix this. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Red Hat got some confused customers due to this message. The confused user case is when they update the BIOS and all of a sudden we have "no suitable data" yet we did before. We (Arjan van de Ven) thus changed it to "No new microcode" which is much much clearer. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Add some more funky AC97 knowledge to the intel8x0 driver. These come from Red Hat and its partners and are included in our shipping code. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://linux-dj.bkbits.net/agpgartLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://gkernel.bkbits.net/net-drivers-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Jeff Garzik authored
into pobox.com:/garz/repo/net-drivers-2.6
-
Jeff Garzik authored
into pobox.com:/garz/repo/net-drivers-2.6
-
Jeff Garzik authored
into pobox.com:/garz/repo/net-drivers-2.6
-
- 25 Dec, 2004 1 commit
-
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
- 24 Dec, 2004 6 commits
-
-
Linus Torvalds authored
Merry Christmas everyone. Ho ho ho!
-
Linus Torvalds authored
rth tells me that some versions of gcc may end up using the SSE registers for data movement when you do that. Use "-march=i686 -mtune=xxxx" instead. (We do the same thing for march=pentium2/4 too, just for consistency).
-
Dmitry Torokhov authored
evdev, joydev, mousedev, tsdev - remove class device and devfs entry when hardware driver disconnects instead of waiting for the last user to drop off. This way hardware drivers can be unloaded at any time. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Vladimir Saveliev authored
This patch adds missing lock_kernel()/unlock_kernel() pair in reiserfs_get_dentry Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
mm/rmap.c contains an open-coded reference to swap_token_default_timeout Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
CFQ v2 has some spare queue logic that was never enabled. It has an SMP deadlock because it attempts to regrab the queue lock in the exit path, so kill the spare queue stuff completely for 2.6.10. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 23 Dec, 2004 3 commits
-
-
Andrew Morton authored
switch_uid() doesn't care about tasklist_lock, so do it outside the lock and avoid a subtle (and very very unlikely to trigger) AB-BA deadlock. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
This fixes a build failure with gcc-3.4.1, where we use some functions before we define them inline. The simple way to fix those is to simply un-inline the functions in question. Since they are somewhat large that's what I did. An alternative would be to rework the ordering of the file so the functions are defined before their first use. Signed-off-by: Jesper juhl <juhl-lkml@dif.dk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://linux.bkbits.net/linux-2.5Nathan Scott authored
into oss.sgi.com:/oss4/bitkeeper/xfs-linux-2.6
-
- 22 Dec, 2004 7 commits
-
-
Dave Jones authored
agp=off disabled the agpgart driver, but not the chipset specific drivers, which still did their init routines. Chaos ensued. Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
From: Peer.Chen@uli.com.tw Signed-off-by: Dave Jones <davej@redhat.com>
-
bk://gkernel.bkbits.net/libata-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Jeff Garzik authored
Remove ATA_FLAG_SATA_RESET. See comment in code and http://bugme.osdl.org/show_bug.cgi?id=3352 for more details. This problem needs more investigation. Removing the flag appears to fix the problems in the field, so it's the best temporary solution.
-
Greg Kroah-Hartman authored
I missed this in the previous usb_kill_urb() cleanup. Thanks to Pat Mochel for reporting this. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Kroah-Hartman authored
This is the patch to fix the case when snd_padding is not zero, updated according to Duncan's comments. Also it changes the driver name to reflect its generic nature. Signed-off-by: Roman Kagan <rkagan@mail.ru> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Moxa have released several driver updates now including support up to 2.6.8 but don't themselves feel its worth the effort of doing a cleaned up merge for the base kernel. So I pulled their latest driver release (1.8) and removed all the macro gunge that makes it build on 2.2.0->2.6.8. I then fixed it to run on 2.6.9/10 and fixed a bug in the break handling. It still doesn't do PCI hotplug but I don't have any PCI moxa cards to really tackle that particular case. I've also merged Adriank Bunk's two 'could be static' changes into this diff set. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-