]> git.neil.brown.name Git - history.git/log
history.git
22 years agoFix "bus_for_each_dev()" and "bus_for_each_drv()", which did not
Linus Torvalds [Thu, 12 Feb 2004 05:00:34 +0000 (21:00 -0800)]
Fix "bus_for_each_dev()" and "bus_for_each_drv()", which did not
correctly handle the "restart from this device/driver" case, and
caused oopses with ieee1394.

This just uses "list_for_each_entry_continue()" instead.

Add helper macro to make usage of "list_for_each_entry_continue()"
a bit more readable.

22 years agoMerge bk://kernel.bkbits.net/davem/atm-2.6
Linus Torvalds [Thu, 12 Feb 2004 00:33:56 +0000 (16:33 -0800)]
Merge bk://kernel.bkbits.net/davem/atm-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/netfix-2.6
Linus Torvalds [Thu, 12 Feb 2004 00:30:36 +0000 (16:30 -0800)]
Merge bk://kernel.bkbits.net/davem/netfix-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoppc64: remove autogenerated file, and incorrect header inclusion
Linus Torvalds [Wed, 11 Feb 2004 23:25:01 +0000 (15:25 -0800)]
ppc64: remove autogenerated file, and incorrect header inclusion

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/netfix-2.6
David S. Miller [Wed, 11 Feb 2004 16:07:40 +0000 (08:07 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/netfix-2.6
into kernel.bkbits.net:/home/davem/netfix-2.6

22 years ago[NET]: Do not forget to initialize tx_queue_len in tunneling drivers.
David S. Miller [Wed, 11 Feb 2004 16:03:13 +0000 (08:03 -0800)]
[NET]: Do not forget to initialize tx_queue_len in tunneling drivers.

22 years ago[PATCH] Fix typo in ppc32 build
Benjamin Herrenschmidt [Wed, 11 Feb 2004 15:41:41 +0000 (07:41 -0800)]
[PATCH] Fix typo in ppc32 build

The patch adding the OF platform entries had a typo ;)

ppc32 needs this.

22 years ago[PATCH] New radeonfb
Benjamin Herrenschmidt [Wed, 11 Feb 2004 15:29:54 +0000 (07:29 -0800)]
[PATCH] New radeonfb

Here is the new radeonfb. It doesn't remove the old one, just in case,
though CONFIG_FB_RADEON now builds the new one.

The new driver supports recent cards, has better monitor detection,
including DDC2, fixes a couple of constants in the old driver, and a lot
more.

I had to add an empty fb_set_suspend() function to fbmem.c (the real
implementation is in James tree and will be here soon).  That means that
Power Management on Apple laptops isn't completely right yet until the
core fbdev fixes get in, but it's good enough for now.

22 years ago[ATM]: [clip] delay /proc/net/atm/arp creation
Chas Williams [Wed, 11 Feb 2004 14:02:27 +0000 (06:02 -0800)]
[ATM]: [clip] delay /proc/net/atm/arp creation

22 years ago[ATM]: [he] unconditionalize extra pci reads to flush posted writes
Chas Williams [Wed, 11 Feb 2004 14:01:37 +0000 (06:01 -0800)]
[ATM]: [he] unconditionalize extra pci reads to flush posted writes

22 years ago[ATM]: prevent userspace compilation errors with glibc-kernheaders
Chas Williams [Wed, 11 Feb 2004 14:01:20 +0000 (06:01 -0800)]
[ATM]: prevent userspace compilation errors with glibc-kernheaders

22 years ago[PATCH] fix rivafb build on ppc64
Benjamin Herrenschmidt [Wed, 11 Feb 2004 13:53:47 +0000 (05:53 -0800)]
[PATCH] fix rivafb build on ppc64

rivafb is part of the g5 defconfig, but will cause a build error
on ppc64 due to a missing #include, here is the fix.

22 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Wed, 11 Feb 2004 13:43:39 +0000 (05:43 -0800)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoppc64: Add defconfigs for pSeries and PowerMac G5
Benjamin Herrenschmidt [Fri, 13 Feb 2004 03:21:43 +0000 (14:21 +1100)]
ppc64: Add defconfigs for pSeries and PowerMac G5

22 years agoppc64: Don't build offb's code that relies on the BootX bootloader on ppc64
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:52:47 +0000 (13:52 +1100)]
ppc64: Don't build offb's code that relies on the BootX bootloader on ppc64

22 years agoppc64: Add missing #include, warned on ppc32 and broke build on ppc64
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:51:57 +0000 (13:51 +1100)]
ppc64: Add missing #include, warned on ppc32 and broke build on ppc64

22 years agoppc64: Fix break handling in pmac_zilog driver, fixes for 64 bits kernel
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:50:52 +0000 (13:50 +1100)]
ppc64: Fix break handling in pmac_zilog driver, fixes for 64 bits kernel

22 years agoppc64: Fix build of via-pmu driver on 64 bits kernel.
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:49:46 +0000 (13:49 +1100)]
ppc64: Fix build of via-pmu driver on 64 bits kernel.

22 years agoppc64: Fix a refounting issue in macio_asic
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:47:20 +0000 (13:47 +1100)]
ppc64: Fix a refounting issue in macio_asic

22 years agoppc64: fix build of ADB driver
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:46:41 +0000 (13:46 +1100)]
ppc64: fix build of ADB driver

22 years agoppc64: fix build of pmac "mac-io" IDE driver on 64 bits kernel
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:45:59 +0000 (13:45 +1100)]
ppc64: fix build of pmac "mac-io" IDE driver on 64 bits kernel

22 years agoppc64: Switch off use of polled mode in i2c driver
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:45:12 +0000 (13:45 +1100)]
ppc64: Switch off use of polled mode in i2c driver

The secondary MPIC is now supported on ppc64, so the driver can
use interrupts all the time now

22 years agoppc64: Add SMP support for PowerMac G5
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:43:20 +0000 (13:43 +1100)]
ppc64: Add SMP support for PowerMac G5

22 years agoppc64: Add pciconfig_iobase syscall for 32 bits apps only
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:41:38 +0000 (13:41 +1100)]
ppc64: Add pciconfig_iobase syscall for 32 bits apps only

This syscall is used by XFree to retreive the IO base of the
bus where the video card is plugged. This is only implemented
for compatibility with existing XFree86, I don't plan to do
a 64 bits version, XFree shall be fixed to use proper PCI access
methods

22 years agoppc64: Add CPU NAP mode in idle loop on PowerMac G5
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:39:34 +0000 (13:39 +1100)]
ppc64: Add CPU NAP mode in idle loop on PowerMac G5

22 years agoppc64: Call the PowerMac G5 init routines
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:37:52 +0000 (13:37 +1100)]
ppc64: Call the PowerMac G5 init routines

22 years agoppc64: Add support for z85c30 SCCs for low level console (PowerMac G5)
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:36:26 +0000 (13:36 +1100)]
ppc64: Add support for z85c30 SCCs for low level console (PowerMac G5)

This is only used with the "sccdbg" kernel command line option, as
you need a special adapter (www.geethree.com) to get access to the
serial port on those machines.

22 years agoppc64: xmon breakpoints are support on PowerMac G5 too
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:33:50 +0000 (13:33 +1100)]
ppc64: xmon breakpoints are support on PowerMac G5 too

22 years agoppc64: Add a missing isync in __hash_page, alloc hash table on PowerMac G5
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:33:06 +0000 (13:33 +1100)]
ppc64: Add a missing isync in __hash_page, alloc hash table on PowerMac G5

22 years agoppc64: Remove duplicate (& incorrect) definition of kern_add_valid()
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:31:59 +0000 (13:31 +1100)]
ppc64: Remove duplicate (& incorrect) definition of kern_add_valid()

22 years agoppc64: Add the feature_call function pointer to machdep
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:31:14 +0000 (13:31 +1100)]
ppc64: Add the feature_call function pointer to machdep

22 years agoppc64: Add support for PowerMac G5 interrupts
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:30:27 +0000 (13:30 +1100)]
ppc64: Add support for PowerMac G5 interrupts

22 years agoppc64: Add the G5 (IBM 970) CPU to the cputable
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:28:02 +0000 (13:28 +1100)]
ppc64: Add the G5 (IBM 970) CPU to the cputable

22 years agoppc64: Add the PowerMac PCI support
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:24:50 +0000 (13:24 +1100)]
ppc64: Add the PowerMac PCI support

This involves moving the final fixup to a function pointer in machdep,
turning all the PCI DMA routines into function pointers in a separate
structure and a bit of renaming work. The PowerMac currently use
"direct" PCI DMA bypassing the iommu. The driver for the IOMMU will
come later, allowing us to lift the limitation to 2Gb of RAM

22 years agoppc64: Update the nvram driver to deal with PowerMac G5
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:14:11 +0000 (13:14 +1100)]
ppc64: Update the nvram driver to deal with PowerMac G5

This involves making the actual read/write routines be indirect
through ppc_md, and adding the various nvram partition types
used on a PowerMac.

22 years agoppc32: Separate definitions for known vs unknown PowerMac G5 models
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:10:38 +0000 (13:10 +1100)]
ppc32: Separate definitions for known vs unknown PowerMac G5 models

22 years agoppc64: Add support for PowerMacs in the OF client interface code (prom.c)
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:08:25 +0000 (13:08 +1100)]
ppc64: Add support for PowerMacs in the OF client interface code (prom.c)

Also move some of the init cruft into separate function to make
things slightly more readable. We sill need to significantly
cleanup that file, but that will come later...

Properly export the OF device-tree accessors to modules

22 years agoppc64: Add the head.S changes to boot a PowerMac G5.
Benjamin Herrenschmidt [Fri, 13 Feb 2004 02:03:58 +0000 (13:03 +1100)]
ppc64: Add the head.S changes to boot a PowerMac G5.

Apple's OF boots us with translation enabled. Also move the
copy_and_flush of the CPU holding loop to prom.c as it mustn't
be called on platforms that don't boot in real mode (that space
isn't always mapped)

22 years agoppc64: Add some definitions relative to the G5 CPU and POWERMAC platform
Benjamin Herrenschmidt [Fri, 13 Feb 2004 01:57:25 +0000 (12:57 +1100)]
ppc64: Add some definitions relative to the G5 CPU and POWERMAC platform

22 years agoppc64: Add the Kconfig & Makefile changes related to the PowerMac G5 merge
Benjamin Herrenschmidt [Fri, 13 Feb 2004 01:53:14 +0000 (12:53 +1100)]
ppc64: Add the Kconfig & Makefile changes related to the PowerMac G5 merge

22 years agoppc64: Start of PowerMac G5 merge, add all arch and include files
Benjamin Herrenschmidt [Fri, 13 Feb 2004 01:50:52 +0000 (12:50 +1100)]
ppc64: Start of PowerMac G5 merge, add all arch and include files

22 years agoppc32: Add CONFIG_PPC_PMAC64 when building for G5
Benjamin Herrenschmidt [Fri, 13 Feb 2004 01:45:05 +0000 (12:45 +1100)]
ppc32: Add CONFIG_PPC_PMAC64 when building for G5

22 years ago[WATCHDOG] v2.6.2 arch-[m68k/sparc/sparc64]-Kconfig-patch
Wim Van Sebroeck [Wed, 11 Feb 2004 23:28:16 +0000 (00:28 +0100)]
[WATCHDOG] v2.6.2 arch-[m68k/sparc/sparc64]-Kconfig-patch

Source WATCHDOG config info from drivers/char/watchdog/Kconfig
for m68k, sparc and sparc64 architectures

22 years ago[WATCHDOG] v2.6.2 pcwd_pci-watchdog
Wim Van Sebroeck [Wed, 11 Feb 2004 22:29:21 +0000 (23:29 +0100)]
[WATCHDOG] v2.6.2 pcwd_pci-watchdog

Add the Berkshire Products PCI-PC Watchdog driver

22 years ago[WATCHDOG] v2.6.2 indydog-Kconfig+Makefile-patch
Wim Van Sebroeck [Wed, 11 Feb 2004 22:24:04 +0000 (23:24 +0100)]
[WATCHDOG] v2.6.2 indydog-Kconfig+Makefile-patch

Apparently we ported the indydog code to the 2.5/2.6 kernel series,
but we forgot to put it in the kernel configuration file + the Makefile

22 years ago[WATCHDOG] v2.6.2 watchdog-Kconfig-patch
Wim Van Sebroeck [Wed, 11 Feb 2004 22:19:08 +0000 (23:19 +0100)]
[WATCHDOG] v2.6.2 watchdog-Kconfig-patch

Cleanup/Restructuring of drivers/char/watchdog/Kconfig

22 years ago[WATCHDOG] v2.6.2 i8xx_tco-v0.06_update
Wim Van Sebroeck [Wed, 11 Feb 2004 22:14:18 +0000 (23:14 +0100)]
[WATCHDOG] v2.6.2 i8xx_tco-v0.06_update

Version 0.06 of the intel i8xx TCO driver:
* change i810_margin to heartbeat (in seconds)
* use module_param
* added notify system support
* renamed module to i8xx_tco

22 years ago[WATCHDOG] v2.6.2 indydog-v0.3_update
Wim Van Sebroeck [Wed, 11 Feb 2004 22:01:53 +0000 (23:01 +0100)]
[WATCHDOG] v2.6.2 indydog-v0.3_update

Added notifier support
Moved start and stop code to their own subroutines
Extended ioctl support
Add MODULE_* info

22 years ago[WATCHDOG] v2.6.2 acquirewdt-cleanup
Wim Van Sebroeck [Wed, 11 Feb 2004 21:54:48 +0000 (22:54 +0100)]
[WATCHDOG] v2.6.2 acquirewdt-cleanup

small cleanup

22 years ago[WATCHDOG] v2.6.2 watchdog-module_*-update
Wim Van Sebroeck [Wed, 11 Feb 2004 21:45:49 +0000 (22:45 +0100)]
[WATCHDOG] v2.6.2 watchdog-module_*-update

Update MODULE_* information

22 years ago[WATCHDOG] v2.6.2 shwdt-cleanup
Wim Van Sebroeck [Wed, 11 Feb 2004 21:35:36 +0000 (22:35 +0100)]
[WATCHDOG] v2.6.2 shwdt-cleanup

Make heartbeat a module parameter and some general clean-up.

22 years ago[WATCHDOG] v2.6.2 watchdog-architecture-cleanup
Matthew Wilcox [Wed, 11 Feb 2004 21:28:51 +0000 (22:28 +0100)]
[WATCHDOG] v2.6.2 watchdog-architecture-cleanup

In order to make the watchdog menu useful for some architectures, we need
to only be able to select the watchdogs that can compile.  This patch also
moves the SuperH watchdog from its own Kconfig file to the normal one.

22 years agoMerge bk://kernel.bkbits.net/davem/bt-2.6
Linus Torvalds [Wed, 11 Feb 2004 11:47:55 +0000 (03:47 -0800)]
Merge bk://kernel.bkbits.net/davem/bt-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Shut up about the damn modules already...
Rusty Russell [Wed, 11 Feb 2004 11:41:32 +0000 (03:41 -0800)]
[PATCH] Shut up about the damn modules already...

In almost all distributions, the kernel asks for modules which don't
exist, such as "net-pf-10" or whatever.  Changing "modprobe -q" to
"succeed" in this case is hacky and breaks some setups, and also we
want to know if it failed for the fallback code for old aliases in
fs/char_dev.c, for example.

Just remove the debugging message which fill people's logs: the
correct way of debugging module problems is something like this:

echo '#! /bin/sh' > /tmp/modprobe
echo 'echo "$@" >> /tmp/modprobe.log' >> /tmp/modprobe
echo 'exec /sbin/modprobe "$@"' >> /tmp/modprobe
chmod a+x /tmp/modprobe
echo /tmp/modprobe > /proc/sys/kernel/modprobe

22 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
David S. Miller [Wed, 11 Feb 2004 11:35:51 +0000 (03:35 -0800)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into nuts.davemloft.net:/disk1/BK/bt-2.6

22 years ago[Bluetooth] Fix non-blocking socket race conditions
Marcel Holtmann [Wed, 11 Feb 2004 22:37:02 +0000 (23:37 +0100)]
[Bluetooth] Fix non-blocking socket race conditions

A poll on a non-blocking listen socket signals readable too early. The
first time the socket should be readable is if a child is in connected
state. And don't signal writeable if the socket is in config state.

Noticed by Jean Tourrilhes <jt@hpl.hp.com>

22 years ago[Bluetooth] Fix several copy_to_user() and reference counting glitches
Marcel Holtmann [Wed, 11 Feb 2004 22:35:42 +0000 (23:35 +0100)]
[Bluetooth] Fix several copy_to_user() and reference counting glitches

This patch corrects the error handling of copy_to_user() and adds more
error checks. It also fixes two reference counting bugs.

Noticed by Andi Kleen <ak@suse.de>

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Wed, 11 Feb 2004 01:48:36 +0000 (17:48 -0800)]
Merge bk://linux-dj.bkbits.net/cpufreq
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[CPUFREQ] Remove bogus scaling from longhaul driver freqency tables.
Dave Jones [Wed, 11 Feb 2004 15:09:40 +0000 (15:09 +0000)]
[CPUFREQ] Remove bogus scaling from longhaul driver freqency tables.
This is nonsense. We only use the lower 8 bits, so putting the useful
info in the upper 8 makes no sense at all.

22 years ago[CPUFREQ] Fix off-by-1000 error in longhaul.
Dave Jones [Wed, 11 Feb 2004 12:01:13 +0000 (12:01 +0000)]
[CPUFREQ] Fix off-by-1000 error in longhaul.
Cpufreq core expects units in khz not mhz. Oops.

22 years agoThis reverts the mmap address hint usage for now.
Linus Torvalds [Tue, 10 Feb 2004 23:58:16 +0000 (15:58 -0800)]
This reverts the mmap address hint usage for now.

It broke some existing setups, so let's drop it until we have
a better notion of how to do this.

22 years ago[PATCH] open writecount scalability cleanup
Ingo Molnar [Tue, 10 Feb 2004 23:54:06 +0000 (15:54 -0800)]
[PATCH] open writecount scalability cleanup

This is an obvious scalability improvement for write()s.  We used a
global lock to protect the inode writecount (updated on every open for
writing) - this just makes it use the existing inode->i_lock instead.

Compiles & boots fine on x86 SMP.

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Tue, 10 Feb 2004 23:31:15 +0000 (15:31 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[CPUFREQ] Fix deadlock in userspace governor.
Dave Jones [Tue, 10 Feb 2004 18:03:26 +0000 (18:03 +0000)]
[CPUFREQ] Fix deadlock in userspace governor.
Another fix from Dominik.

22 years ago[CPUFREQ] Pentium-4-M detection fix for speedstep-lib
Dave Jones [Tue, 10 Feb 2004 17:57:45 +0000 (17:57 +0000)]
[CPUFREQ] Pentium-4-M detection fix for speedstep-lib
From Dominik..
The different P-4-M steppings have different "ebx" values. Analyze it
correctly to sort out Pentium-4-based Celerons.

22 years ago[CPUFREQ] powernow-k8 printk cleanups from Pavel.
Dave Jones [Tue, 10 Feb 2004 17:54:34 +0000 (17:54 +0000)]
[CPUFREQ] powernow-k8 printk cleanups from Pavel.

22 years ago[CPUFREQ] convert powernow-k8 to use frequency tables [5/5]
Dave Jones [Tue, 10 Feb 2004 17:45:49 +0000 (17:45 +0000)]
[CPUFREQ] convert powernow-k8 to use frequency tables [5/5]
Move the table verification to an extra function.

22 years ago[CPUFREQ] convert powernow-k8 to use frequency tables [4/5]
Dave Jones [Tue, 10 Feb 2004 17:44:31 +0000 (17:44 +0000)]
[CPUFREQ] convert powernow-k8 to use frequency tables [4/5]
Remove the *ppst table, and remove an unneccessary forward-declaration

22 years ago[CPUFREQ] convert powernow-k8 to use frequency tables [3/5]
Dave Jones [Tue, 10 Feb 2004 17:43:28 +0000 (17:43 +0000)]
[CPUFREQ] convert powernow-k8 to use frequency tables [3/5]
Keep *ppst local to the only function which needs it any longer.

22 years ago[CPUFREQ] convert powernow-k8 to use frequency tables [2/5]
Dave Jones [Tue, 10 Feb 2004 17:42:30 +0000 (17:42 +0000)]
[CPUFREQ] convert powernow-k8 to use frequency tables [2/5]

Use the frequency_table for calculating the correct ->target state

22 years ago[CPUFREQ] convert powernow-k8 to use frequency tables [1/5]
Dave Jones [Tue, 10 Feb 2004 17:41:20 +0000 (17:41 +0000)]
[CPUFREQ] convert powernow-k8 to use frequency tables [1/5]
Add a struct cpufreq_frequency_table, fill it with content, and use it for
->verify.

22 years ago[CPUFREQ] Fix an oops unloading p4-clockmod.
Dave Jones [Tue, 10 Feb 2004 17:17:19 +0000 (17:17 +0000)]
[CPUFREQ] Fix an oops unloading p4-clockmod.
Reverting frequency changes on unloading is uncommon for cpufreq drivers
so let's remove this speciality.

22 years agoMerge delerium.codemonkey.org.uk:/mnt/nfs/sepia/bar/src/kernel/2.6/trees/bk-linus
Dave Jones [Tue, 10 Feb 2004 17:06:57 +0000 (17:06 +0000)]
Merge delerium.codemonkey.org.uk:/mnt/nfs/sepia/bar/src/kernel/2.6/trees/bk-linus
into delerium.codemonkey.org.uk:/mnt/nfs/sepia/bar/src/kernel/2.6/trees/cpufreq

22 years ago[CPUFREQ] Geode register fixes.
Dave Jones [Tue, 10 Feb 2004 16:54:06 +0000 (16:54 +0000)]
[CPUFREQ] Geode register fixes.

From: Hiroshi Miura <miura at da-cha.org>

I mistook a Geode chipset's register meanings. (-.-;
ON is not 'CPU is ON' but 'cpu modulation is ON' that is stops cpu.

this causes a bad freq setting.

This patch fixes this and minor bug that is,

        if (new_khz == stock_freq) {  /* if new khz == 100% of CPU speed, it is special case */
                local_irq_save(flags);
                cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);

cpufreq_notify_transition() called after local_irq_save();
this makes not update cpu_khz.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Tue, 10 Feb 2004 14:02:23 +0000 (06:02 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[SPARC64]: Fix exception remaining length calcs in VIS copy routines.
David S. Miller [Tue, 10 Feb 2004 13:38:40 +0000 (05:38 -0800)]
[SPARC64]: Fix exception remaining length calcs in VIS copy routines.

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Tue, 10 Feb 2004 13:24:18 +0000 (05:24 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Tue, 10 Feb 2004 13:20:20 +0000 (05:20 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge nathans@xfs.org:/export/hose/bkroot/xfs-linux-2.6
Nathan Scott [Wed, 11 Feb 2004 23:31:42 +0000 (10:31 +1100)]
Merge nathans@xfs.org:/export/hose/bkroot/xfs-linux-2.6
into sgi.com:/source2/xfs-linux-2.6

22 years ago[XFS] make sure i_size_write is called under i_sem
Christoph Hellwig [Wed, 11 Feb 2004 23:17:29 +0000 (10:17 +1100)]
[XFS] make sure i_size_write is called under i_sem

SGI Modid: xfs-linux:xfs-kern:166504a

22 years agoia64: Correct init_task.rbs_bot value (not that it matters).
David Mosberger [Tue, 10 Feb 2004 13:13:54 +0000 (05:13 -0800)]
ia64: Correct init_task.rbs_bot value (not that it matters).

22 years agoia64: Update defconfig
David Mosberger [Tue, 10 Feb 2004 13:08:10 +0000 (05:08 -0800)]
ia64: Update defconfig

22 years agoia64: Fix some more warnings caused by casts used as l-values.
David Mosberger [Tue, 10 Feb 2004 10:59:35 +0000 (02:59 -0800)]
ia64: Fix some more warnings caused by casts used as l-values.

22 years agoia64: Based on patch by Stephane Eranian: Make fpswa version info available
David Mosberger [Tue, 10 Feb 2004 10:51:34 +0000 (02:51 -0800)]
ia64: Based on patch by Stephane Eranian: Make fpswa version info available
via /proc/efi/fpswa, rather than printing it at boot time.

22 years agoJFS: Threads should exit with complete_and_exit
Dave Kleikamp [Tue, 10 Feb 2004 09:32:27 +0000 (03:32 -0600)]
JFS: Threads should exit with complete_and_exit

22 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Tue, 10 Feb 2004 09:18:02 +0000 (03:18 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into kleikamp.dyn.webahead.ibm.com:/shaggy/bk/jfs-2.5

22 years ago[PATCH] ia64: Periodically forward MCA or INIT records to user-level
Keith Owens [Tue, 10 Feb 2004 07:37:14 +0000 (23:37 -0800)]
[PATCH] ia64: Periodically forward MCA or INIT records to user-level

Periodically check for outstanding MCA or INIT records and pass them to
user space salinfo.

22 years ago[PATCH] ia64: mca.c - Fix the "did we recover from MCA test" and move it up
Keith Owens [Tue, 10 Feb 2004 07:32:28 +0000 (23:32 -0800)]
[PATCH] ia64: mca.c - Fix the "did we recover from MCA test" and move it up

Correct the "did we recover from MCA test" and move it up a level to
simplify interaction with debuggers.

22 years ago[PATCH] ia64: remove unused cpucount variable
Kenneth W. Chen [Tue, 10 Feb 2004 07:20:28 +0000 (23:20 -0800)]
[PATCH] ia64: remove unused cpucount variable

22 years ago[PATCH] Remove the assumption that the number of the sibling is 2
Jun Nakajima [Tue, 10 Feb 2004 07:17:40 +0000 (23:17 -0800)]
[PATCH] Remove the assumption that the number of the sibling is 2

Thanks to Nick's domain patch, the kernel worked fine with
smp_num_siblings = 4 (in simulation).

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Tue, 10 Feb 2004 07:09:05 +0000 (23:09 -0800)]
Merge bk://linux-dj.bkbits.net/cpufreq
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] ia64: mca.c - pass irq_safe around
Keith Owens [Tue, 10 Feb 2004 06:54:01 +0000 (22:54 -0800)]
[PATCH] ia64: mca.c - pass irq_safe around

Patches from Ben Woodward to calculate irq_safe once and pass it around.

22 years ago[PATCH] ia64: mca.c cleanup - Bjorn's printk cleanup
Keith Owens [Tue, 10 Feb 2004 06:14:47 +0000 (22:14 -0800)]
[PATCH] ia64: mca.c cleanup - Bjorn's printk cleanup

22 years ago[PATCH] ia64: mca.c cleanup - Reorder to remove the need for forward declarations...
Keith Owens [Tue, 10 Feb 2004 06:14:04 +0000 (22:14 -0800)]
[PATCH] ia64: mca.c cleanup - Reorder to remove the need for forward declarations and to consolidate related code

22 years ago[PATCH] ia64: mca.c cleanup - Delete dead variables and functions
Keith Owens [Tue, 10 Feb 2004 06:13:21 +0000 (22:13 -0800)]
[PATCH] ia64: mca.c cleanup - Delete dead variables and functions

22 years ago[PATCH] ia64: mca.c cleanup - Mark variables and functions static where possible
Keith Owens [Tue, 10 Feb 2004 06:12:30 +0000 (22:12 -0800)]
[PATCH] ia64: mca.c cleanup - Mark variables and functions static where possible

22 years ago[PATCH] ia64: mca.c cleanup - Delete all record printing code, moved to salinfo_decod...
Keith Owens [Tue, 10 Feb 2004 06:11:58 +0000 (22:11 -0800)]
[PATCH] ia64: mca.c cleanup - Delete all record printing code, moved to salinfo_decode in user space

22 years ago[PATCH] ia64: Avoid deadlock when using printk() for MCA and INIT records
Keith Owens [Tue, 10 Feb 2004 06:11:17 +0000 (22:11 -0800)]
[PATCH] ia64: Avoid deadlock when using printk() for MCA and INIT records

Port the ia64 mca.c clean up patches from 2.4.25-pre8 to 2.6.2-rc2.

The following 6 patches do :-

1 Avoid deadlock when using printk() for MCA and INIT records.
2 Delete all record printing code, moved to salinfo_decode in user space.
3 Mark variables and functions static where possible.
4 Delete dead variables and functions.
5 Reorder to remove the need for forward declarations and to consolidate
  related code.
6 Bjorn's printk cleanup.

Altogether they shrink mca.c from 2432 to 1339 lines and make it much
more readable.

The only functional change is the removal of any attempt to print the
CMC/CPE/MCA/INIT record contents in the kernel plus the addition of an
info printk to ia64_mca_check_errors(), to match 2.4.  Now we just get
one line to say that a record has been detected, except for MCA which
prints nothing at all.

22 years ago[PATCH] ia64: sba_iommu perf tunning and new functionality
Alex Williamson [Tue, 10 Feb 2004 05:45:36 +0000 (21:45 -0800)]
[PATCH] ia64: sba_iommu perf tunning and new functionality

   I've been doing some performance tuning and adding some functionality
to sba_iommu for zx1/sx1000 chipsets.  This adds:

      * Long overdue consistent_dma_mask support
      * Long overdue ability to do large mappings in the iommu
      * Tightened spinlock usage for better performance/scalability
      * Added branch prediction hints for some of the performance paths
      * Added explicit data prefetching to some performance paths -
        perfmon shows roughly a 20% decrease in L3 misses in the bitmap
        search code
      * Increased delayed resource freeing depth and added a separate
        lock per ioc to avoid contention
      * Added code to free up queued pdir entries should we be unable to
        find space for new ones (not that I've ever seen the pdir
        anywhere close to full)
      * Finished cleaning out the hint support code, Grant is
        maintaining this separately for now
      * Added option to control bypass of sg mappings separately from
        single/coherent mappings

Much like the swiotlb, sba_iommu allows devices capable of 64bit
addressing to bypass the iommu and DMA directly to/from memory.  Using a
worst case scenario test (64bit bypass disabled, all DMA mapped through
the iommu), I saw a 60% increase in sequential block input throughput
using bonnie++ on a large RAID0 MD array.  In fact, this patch provides
the best bonnie++ performance with bypass disabled.  This is likely due
to benefits seen from coalescing the scatterlist, allowing better disk
streaming.  I assume that network performance will likely be limited by
mapping latency, so I added the last bullet item to allow sg mappings to
get the benefit of coalescing while keeping a low latency path for
single and coherent mappings.  If anyone is setup for network
benchmarks, I'd be interested in a before and after with this patch.

22 years ago[PATCH] ia64: fix ld.a emulation
Kenneth W. Chen [Tue, 10 Feb 2004 04:55:53 +0000 (20:55 -0800)]
[PATCH] ia64: fix ld.a emulation

This patch fixes a corner-case of ld.a emulation.  ld.a should be
emulated such that it always loads a misaligned value and clears the
corresponding ALAT entry.  The old emulation was correct for the case
where ld.a was followed by ld.c/chk.a (since ALAT entry was cleared),
but wrong for the case where it _wasn't_ followed by ld.c/chk.a.  In
that case, the misaligned value wasn't read from memory, as it should
have been.