]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.1-rc2 v2.6.1-rc2
Linus Torvalds [Mon, 5 Jan 2004 11:41:17 +0000 (03:41 -0800)]
Linux 2.6.1-rc2

21 years agoMerge centrino speedstep duplicate patches
Linus Torvalds [Mon, 5 Jan 2004 03:03:45 +0000 (19:03 -0800)]
Merge centrino speedstep duplicate patches

21 years ago[CPUFREQ] Missing .owner entry in speedstep-smi driver.
Dave Jones [Mon, 5 Jan 2004 18:44:26 +0000 (18:44 +0000)]
[CPUFREQ] Missing .owner entry in speedstep-smi driver.

21 years ago[CPUFREQ] Typo fix in drivers/cpufreq/Kconfig
Dave Jones [Mon, 5 Jan 2004 18:43:47 +0000 (18:43 +0000)]
[CPUFREQ] Typo fix in drivers/cpufreq/Kconfig

21 years ago[CPUFREQ] do not leak memory in powernow-k8
Dave Jones [Mon, 5 Jan 2004 18:42:37 +0000 (18:42 +0000)]
[CPUFREQ] do not leak memory in powernow-k8
From Pavel Machek

21 years ago[CPUFREQ] Do something about "cpufreq: change failed"
Dave Jones [Mon, 5 Jan 2004 18:35:23 +0000 (18:35 +0000)]
[CPUFREQ] Do something about "cpufreq: change failed"

21 years ago[CPUFREQ] use latency in nanoseconds
Dave Jones [Mon, 5 Jan 2004 18:33:27 +0000 (18:33 +0000)]
[CPUFREQ] use latency in nanoseconds
sometimes nanoseconds are used, sometimes microseconds, sometimes even something else.

21 years ago[CPUFREQ] remove unneeded #ifdefs in include/linux/cpufreq.h
Dave Jones [Mon, 5 Jan 2004 18:32:08 +0000 (18:32 +0000)]
[CPUFREQ] remove unneeded #ifdefs in include/linux/cpufreq.h

21 years ago[CPUFREQ] Detect CPU speed without relying on cpu_khz
Dave Jones [Mon, 5 Jan 2004 18:31:40 +0000 (18:31 +0000)]
[CPUFREQ] Detect CPU speed without relying on cpu_khz

21 years ago[CPUFREQ] Support for 533 MHz FSB in speedstep driver.
Dave Jones [Mon, 5 Jan 2004 18:30:48 +0000 (18:30 +0000)]
[CPUFREQ] Support for 533 MHz FSB in speedstep driver.

21 years ago[CPUFREQ] Disable smi_detect_freqs() call on systems which do not support it [BUG...
Dave Jones [Mon, 5 Jan 2004 18:19:13 +0000 (18:19 +0000)]
[CPUFREQ] Disable smi_detect_freqs() call on systems which do not support it [BUG #1422]
Dominik Brodowski.

21 years ago[CPUFREQ] speedstep hcakers cnat spel.
Dave Jones [Mon, 5 Jan 2004 18:18:10 +0000 (18:18 +0000)]
[CPUFREQ] speedstep hcakers cnat spel.

21 years ago[CPUFREQ] Disable debug output in speedstep-smi driver
Dave Jones [Mon, 5 Jan 2004 18:17:20 +0000 (18:17 +0000)]
[CPUFREQ] Disable debug output in speedstep-smi driver

21 years ago[CPUFREQ] on P4s no TSC adjustment is necessary
Dave Jones [Mon, 5 Jan 2004 18:16:28 +0000 (18:16 +0000)]
[CPUFREQ] on P4s no TSC adjustment is necessary
From Dominik Brodowski

21 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Mon, 5 Jan 2004 02:18:21 +0000 (18:18 -0800)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoDon't allow mremap of zero-sized areas.
Linus Torvalds [Mon, 5 Jan 2004 01:41:13 +0000 (17:41 -0800)]
Don't allow mremap of zero-sized areas.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 4 Jan 2004 10:37:38 +0000 (02:37 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[ARM] Report more detail when unable to resolve module relocations.
Russell King [Sun, 4 Jan 2004 20:51:41 +0000 (20:51 +0000)]
[ARM] Report more detail when unable to resolve module relocations.

21 years ago[ARM] Kill dma-isa.c warning.
Russell King [Sun, 4 Jan 2004 20:06:39 +0000 (20:06 +0000)]
[ARM] Kill dma-isa.c warning.

21 years ago[ARM] Fix cachepolicy=<foo>
Russell King [Sun, 4 Jan 2004 17:29:23 +0000 (17:29 +0000)]
[ARM] Fix cachepolicy=<foo>

On ARM, it is possible to configure the desired cache policy in
the page tables.  Unfortunately, we haven't been updating the
protection_map nor PAGE_KERNEL, so this option doesn't change
the behaviour of the majority of mappings.  This cset corrects
this oversight.

21 years ago[ARM] Fix more gcc3 build errors.
Russell King [Sun, 4 Jan 2004 16:49:04 +0000 (16:49 +0000)]
[ARM] Fix more gcc3 build errors.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Sun, 4 Jan 2004 10:34:20 +0000 (02:34 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[SERIAL] EISA ID for PnP modem
Amit Gurdasani [Sun, 4 Jan 2004 16:28:39 +0000 (16:28 +0000)]
[SERIAL] EISA ID for PnP modem

Patch from: Amit Gurdasani

I have a PROLiNK 1456VH internal Rockwell-based ISA PnP K56flex fax modem
whose EISA ID seems not to be known to 8250_pnp.c. The ID is AEI0250 as
reported in /sys/devices/pnp1/01:01/01:01.00/id and adding this into the
pnp_dev_table[] allows the device to be found and enabled properly by the
8250 serial driver.

21 years agoFix IDE "PIO WRITE wait for ready" test under extreme interrupt load.
Linus Torvalds [Sat, 3 Jan 2004 10:25:13 +0000 (02:25 -0800)]
Fix IDE "PIO WRITE wait for ready" test under extreme interrupt load.

From Daniel Tram Lux: under extreme irq load on an underpowered CPU,
the timeout loop may not make any progress, and decide that a timeout
occurred before it has actually tested the status register.

The minimal fix for now is to just have a final test _after_ the timeout
to remove the problem. The real fix would likely be to not have irqs
enabled between reading the status and the timeout.

21 years ago[SERIAL] Remove old RSA resource handlign.
Russell King [Fri, 2 Jan 2004 19:36:52 +0000 (19:36 +0000)]
[SERIAL] Remove old RSA resource handlign.

The resource handling left in autoconfig() is plainly wrong, since
we've already claimed the necessary resources prior to calling
autoconfig().  Therefore, we remove the superfluous code from
autoconfig().

21 years ago[SERIAL] add PnP ID to 8250_pnp.c
Rene Herman [Fri, 2 Jan 2004 19:25:32 +0000 (19:25 +0000)]
[SERIAL] add PnP ID to 8250_pnp.c

Patch from: Rene Herman

This patch adds the PnP ID for the E-Tech CyberBULLET PC56RVP.

21 years ago[PATCH] Fix memset on x86-64
Andi Kleen [Fri, 2 Jan 2004 12:57:06 +0000 (04:57 -0800)]
[PATCH] Fix memset on x86-64

The memset for C stepping K8 was broken. This broke mainly CONFIG_SLAB_DEBUG
because memset(...., 0, ...) still worked correctly.

Thanks to Manfred Spraul for giving me the right cue.

21 years ago[PATCH] X86-64 merge
Andi Kleen [Thu, 1 Jan 2004 03:41:03 +0000 (19:41 -0800)]
[PATCH] X86-64 merge

At least one of them is critical. It fixes an path in the IOMMU that
I broke with the ealier "fullflush" workaround.

 - Check for ~/bin/installkernel like i386 (M. Bligh)
 - Implement 32bit RTC_IRQ_SET correctly (Lutz Vieweg)
 - Disable some useless printks in 32bit emulation
 - Warning fixes for mixed C99 style declarations/statements.
 - Sync lAPIC power management with i386
 - Use topology sysfs like i386
 - Fix some serious bugs in the MCE handler. ECC should
   be decoded correctly now.
 - Add oops=panic option to panic on Oopses.
 - Fix hackish code in head.S
 - Add missing options in IOMMU
 - Fix _syscall6 (Olaf Hering)
 - Remove broken ACPI locking code. Port IA64 C version.
 - Make safe_smp_processor_id() more reliable
 - Read HPET in vsyscall code
 - Add workaround for BIOS that corrupt 64bit registers in HLT
 - Fix unaligned access in bitops.h
 - Remove broken ntp drift correction code for now
 - i386 merge in SCI setup
 - Fix wrong offset in callin.h (Jim Houston)
 - Minor comment fixes

21 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 1 Jan 2004 03:32:18 +0000 (19:32 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] DVB: Fix memory usage of ttpci driver
Michael Hunold [Thu, 1 Jan 2004 03:25:32 +0000 (19:25 -0800)]
[PATCH] DVB: Fix memory usage of ttpci driver

 - do not allocate firmware buffer if firmware is compiled into the
   driver.  Saves 220KB vmem (Andreas Oberritter)

21 years ago[PATCH] DVB: Revamp of the TTUSB-DEC driver
Michael Hunold [Thu, 1 Jan 2004 03:25:24 +0000 (19:25 -0800)]
[PATCH] DVB: Revamp of the TTUSB-DEC driver

 - Alter hotplug firmware naming to fit in with dvb standard.
 - Use the hotplug firmware loader for 2.6 kernels instead of compiling
   the firmware into the module.
 - Integrate frontend into ttusb_dec module and remove pseudo-i2c bits,
   move ttusb_dec header into source file.
 - Rudimentary section filter support (enough for scan).

21 years ago[PATCH] DVB: Add static firmware compilation again
Michael Hunold [Thu, 1 Jan 2004 03:25:13 +0000 (19:25 -0800)]
[PATCH] DVB: Add static firmware compilation again

 - add Kconfig magic to select a firmware that can be compiled into the
   driver
 - add some hooks to av7110 to compile a firmware into the driver again

21 years ago[PATCH] DVB: Fixes for frontend drivers
Michael Hunold [Thu, 1 Jan 2004 03:25:04 +0000 (19:25 -0800)]
[PATCH] DVB: Fixes for frontend drivers

 - ves1820: increase mdelay from 30 to 50 to be more reliable with bad
   reception quality (Andreas Oberritter)
 - dst: remove AUTO_INVERSION for capabilities, allow params
   dst_type_flags and dst_type to have multiple values for multiple
   cards in one machine (Jamie Honan)

21 years ago[PATCH] DVB: Fix feed list handling bugs in demux
Michael Hunold [Thu, 1 Jan 2004 03:24:56 +0000 (19:24 -0800)]
[PATCH] DVB: Fix feed list handling bugs in demux

 - corrected handling of feed lists (Andres Oberritter)

21 years ago[PATCH] DVB: Update documentation and credits
Michael Hunold [Thu, 1 Jan 2004 03:24:46 +0000 (19:24 -0800)]
[PATCH] DVB: Update documentation and credits

 - add new documentation for getting bt8xx based DVB cards runnig
 - extend contributors list
 - change various email addresses in header files

21 years agoRemove dead files
Linus Torvalds [Thu, 1 Jan 2004 03:07:05 +0000 (19:07 -0800)]
Remove dead files

Noted by Keith Owens.

21 years agoia64: Update defconfig.
David Mosberger [Wed, 31 Dec 2003 15:34:35 +0000 (07:34 -0800)]
ia64: Update defconfig.

21 years agoia64: Rename efi_get_time() in the simulator's firmware-emulator to avoid
David Mosberger [Wed, 31 Dec 2003 15:33:55 +0000 (07:33 -0800)]
ia64: Rename efi_get_time() in the simulator's firmware-emulator to avoid
name-clash with declaration of routine of the same name in
<linux/efi.h>.

21 years agoia64: Merge patch by Arun Sharma: hook up lots of ia32 syscalls.
David Mosberger [Wed, 31 Dec 2003 15:29:50 +0000 (07:29 -0800)]
ia64: Merge patch by Arun Sharma: hook up lots of ia32 syscalls.

21 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Wed, 31 Dec 2003 15:27:20 +0000 (07:27 -0800)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

21 years agoia64: fix perfmon bug causing lost samples
David Mosberger [Wed, 31 Dec 2003 15:23:38 +0000 (07:23 -0800)]
ia64: fix perfmon bug causing lost samples

Patch from Stephane: Fix a bug in perfmon_default_smpl.c by
which we would systematically lose one sample at every buffer
overflow.

21 years agoia64: Remove the old ia64_ni_syscall()/sys32_ni_syscall() routines which
David Mosberger [Wed, 31 Dec 2003 15:21:34 +0000 (07:21 -0800)]
ia64: Remove the old ia64_ni_syscall()/sys32_ni_syscall() routines which
are overly verbose and replace them with calls to sys_ni_syscall().

21 years agoia64: Allow system-call number to be changed during system-call tracing
David Mosberger [Wed, 31 Dec 2003 15:18:59 +0000 (07:18 -0800)]
ia64: Allow system-call number to be changed during system-call tracing
(both for native and x86 system call tracing).  This is needed
by recent versions of strace and UML likes to do that, too.

21 years agoia64: Rearrange ia64_do_signal() such that it is possible for a debugger to
David Mosberger [Wed, 31 Dec 2003 15:15:39 +0000 (07:15 -0800)]
ia64: Rearrange ia64_do_signal() such that it is possible for a debugger to
cancel system-call restart.

21 years ago[PATCH] Fix "echo -n 3 > /sys/.../power/state"
Russell King [Wed, 31 Dec 2003 08:41:45 +0000 (00:41 -0800)]
[PATCH] Fix "echo -n 3 > /sys/.../power/state"

Fix what seems to be a typo preventing .../power/state from working.

21 years ago[PATCH] MSI broke voyager build
James Bottomley [Wed, 31 Dec 2003 07:26:09 +0000 (23:26 -0800)]
[PATCH] MSI broke voyager build

The x86 build depends on NR_VECTORS being defined.

This symbol, however, was put only into mach-default/irq_vectors.h

The attached patch adds it to voyager too.

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 31 Dec 2003 03:24:42 +0000 (19:24 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/tg3-2.6
David S. Miller [Wed, 31 Dec 2003 02:45:23 +0000 (18:45 -0800)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/tg3-2.6
into kernel.bkbits.net:/home/davem/tg3-2.6

21 years ago[AX25]: Missing spin_unlock() and recvmsg reported dst instead of src.
Jeroen Vreeken [Wed, 31 Dec 2003 02:37:20 +0000 (18:37 -0800)]
[AX25]: Missing spin_unlock() and recvmsg reported dst instead of src.

21 years ago[NET]: Fix comment type in skbuff.h
Hideaki Yoshifuji [Wed, 31 Dec 2003 02:36:04 +0000 (18:36 -0800)]
[NET]: Fix comment type in skbuff.h

21 years ago[BRIDGE]: Fix build with vlan disabled, spurious ifdef.
Bart De Schuymer [Wed, 31 Dec 2003 02:35:44 +0000 (18:35 -0800)]
[BRIDGE]: Fix build with vlan disabled, spurious ifdef.

21 years agoMerge nuts.ninka.net:/disk1/davem/BK/netleak-2.5
David S. Miller [Wed, 31 Dec 2003 02:19:13 +0000 (18:19 -0800)]
Merge nuts.ninka.net:/disk1/davem/BK/netleak-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.6

21 years agoia64: Fix a ptrace-bug that caused "strace -f" to crash the inferior
David Mosberger [Tue, 30 Dec 2003 17:10:09 +0000 (09:10 -0800)]
ia64: Fix a ptrace-bug that caused "strace -f" to crash the inferior
      process.  The root-cause of the problem was that ptrace() tried
      to copy the portion of the register backing store that landed on
      the kernel stack back to users-space, but the resulting state
      was inconsistent if the inferior process was in the middle of a
      system-call (as would always be the case for strace).

      The solution is to avoid all needless copying and to instead
      ensure that when accessing a memory location that may belong to
      a thread's register-backing store, we attach to that particular
      thread, rather than the thread identified by the PID argument.
      If the thread happens to be unattachable, we fall back to using
      the thread identified by the PID argument.  This should have the
      desired effect if the thread has terminated already and if the
      thread is running while ptrace() is trying to access its state,
      all bets are off anyhow and there are no coherency guarantees.
      In other words, this should be doing the right thing under all
      circumstances.

      The patch also fixes the case where PT_AR_BSP and/or PT_CFM are
      written while the inferior process is in the middle of a system
      call.  This makes arguments passed to GDB inferior calls come
      out right.

      The patch was tested with strace -f and the GDB testsuite, which
      showed no regressions compared to the previous version of the
      kernel.

21 years agoRemove generated files from revision control
Linus Torvalds [Tue, 30 Dec 2003 14:24:31 +0000 (06:24 -0800)]
Remove generated files from revision control

21 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.6
David S. Miller [Tue, 30 Dec 2003 13:31:15 +0000 (05:31 -0800)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

21 years ago[SPARC64]: Update defconfig.
David S. Miller [Tue, 30 Dec 2003 13:27:50 +0000 (05:27 -0800)]
[SPARC64]: Update defconfig.

21 years ago[MEDIA]: ttusb_dec.c needs linux/init.h
David S. Miller [Tue, 30 Dec 2003 13:26:44 +0000 (05:26 -0800)]
[MEDIA]: ttusb_dec.c needs linux/init.h

21 years agoLinux 2.6.1-rc1 v2.6.1-rc1
Linus Torvalds [Tue, 30 Dec 2003 12:44:13 +0000 (04:44 -0800)]
Linux 2.6.1-rc1

21 years agoMake IDE DRQ and READY timeouts longer
Linus Torvalds [Tue, 30 Dec 2003 12:43:45 +0000 (04:43 -0800)]
Make IDE DRQ and READY timeouts longer

The old 50ms / 30ms timeouts apparently weren't sufficient
with some disks.

21 years agoMerge nuts.ninka.net:/disk1/davem/BK/sparcwork-2.6
David S. Miller [Tue, 30 Dec 2003 09:33:46 +0000 (01:33 -0800)]
Merge nuts.ninka.net:/disk1/davem/BK/sparcwork-2.6
into nuts.ninka.net:/disk1/davem/BK/sparc-2.6

21 years ago[PATCH] call_usermodehelper retval fix
Andrew Morton [Tue, 30 Dec 2003 09:00:38 +0000 (01:00 -0800)]
[PATCH] call_usermodehelper retval fix

The reworked firmware loader in the DVB patches needs the fix to the
call_usermodehelper() return value.

From: Rusty Russell <rusty@rustcorp.com.au>

MODULE_ALIAS_BLOCK() and MODULE_ALIAS_CHAR() define aliases of form
"XXX-<major>-<minor>", so we should probe for modules using this form.
Unfortunately in 2.4, block aliases were "XXX-<major>" and char aliases
were of both forms.

Ideally, all modules would now be using MODULE_ALIAS() macros to define
their aliases, and the old configuration files wouldn't matter as much.
Unfortunately, this hasn't happened, so we make request_module() return the
exit status of modprobe, and then do fallback when probing for char and
block devices.

(Kudos to Chris Wright, I stole his kernel_thread flags).

21 years ago[PATCH] strip out PCI cruft from i82365 driver
Andrew Morton [Tue, 30 Dec 2003 09:00:28 +0000 (01:00 -0800)]
[PATCH] strip out PCI cruft from i82365 driver

From: David Hinds <dhinds@sonic.net>

This removes dead PCI-related code from the i82365 driver.

21 years ago[PATCH] reduce kernel stack usage in PCMCIA CIS parsing
Andrew Morton [Tue, 30 Dec 2003 09:00:18 +0000 (01:00 -0800)]
[PATCH] reduce kernel stack usage in PCMCIA CIS parsing

From: David Hinds <dhinds@sonic.net>

This changes the PCMCIA CIS parsing code to use kmalloc() rather than
allocating some data structures on the kernel stack.

21 years ago[PATCH] fix for 16-bit PCMCIA interrupt selection
Andrew Morton [Tue, 30 Dec 2003 09:00:07 +0000 (01:00 -0800)]
[PATCH] fix for 16-bit PCMCIA interrupt selection

From: David Hinds <dhinds@sonic.net>

This fixes interrupt allocation for 16-bit PCMCIA cards, so that on systems
supporting ISA bus interrupts, if all ISA interrupts are unavailable, we'll
fall back on sharing the bridge PCI interrupt.

21 years ago[PATCH] pcnet_cs driver bug fix / update
Andrew Morton [Tue, 30 Dec 2003 08:59:58 +0000 (00:59 -0800)]
[PATCH] pcnet_cs driver bug fix / update

From: David Hinds <dhinds@sonic.net>

This fixes half/full duplex selection for certain NE2000 compatible PCMCIA
cards.

21 years ago[PATCH] fix yenta printk logging levels
Andrew Morton [Tue, 30 Dec 2003 08:59:47 +0000 (00:59 -0800)]
[PATCH] fix yenta printk logging levels

From: David Hinds <dhinds@sonic.net>

This just sets missing logging levels for printk's in yenta_socket.

21 years ago[PATCH] dhinds is not 2.6 PCMCIA maintainer
Andrew Morton [Tue, 30 Dec 2003 08:59:37 +0000 (00:59 -0800)]
[PATCH] dhinds is not 2.6 PCMCIA maintainer

From: David Hinds <dhinds@sonic.net>

I have not been actively maintaining PCMCIA for 2.6; I tried asking the
more active developers to see if someone would step into the job but they
were not willing to do so at this time.  I'll still submit patches from
time to time.

(David has a ./CREDITS entry, of course).

We should really put in Russell King here, but I'll let him do that
himself.

21 years ago[PATCH] PPC32: Fix the mkprep util to work correctly on Solaris 8
Andrew Morton [Tue, 30 Dec 2003 08:59:27 +0000 (00:59 -0800)]
[PATCH] PPC32: Fix the mkprep util to work correctly on Solaris 8

From: Tom Rini <trini@kernel.crashing.org>
      Peter Wahl <PeterWahl@web.de>

PPC32: Fix the mkprep util to work correctly on Solaris 8.

- There is a very odd problem with the alignment of dword_t values
  which causes this program to not work correctly when compiled on
  Solaris 8.  The workaround is not use a pointer and to memcpy the
  values instead.

21 years ago[PATCH] PPC32: Fix compilation of ppc_ksyms.c on !CONFIG_PPC_STD_MMU
Andrew Morton [Tue, 30 Dec 2003 08:59:17 +0000 (00:59 -0800)]
[PATCH] PPC32: Fix compilation of ppc_ksyms.c on !CONFIG_PPC_STD_MMU

From: Tom Rini <trini@kernel.crashing.org>

Fix compilation of arch/ppc/kernel/ppc_ksyms.c on !CONFIG_PPC_STD_MMU

'mol_trampoline' is only defined on CONFIG_PPC_STD_MMU.  Therefore this file
will not compile on !CONFIG_PPC_STD_MMU without this change.

21 years ago[PATCH] ppc: netboot build fixes
Andrew Morton [Tue, 30 Dec 2003 08:59:07 +0000 (00:59 -0800)]
[PATCH] ppc: netboot build fixes

From: Tom Rini <trini@kernel.crashing.org>

The following patch fixes the 'znetboot' and 'znetbootrd' targets so that
they work again.

- Update the comments to reflect how things work with the correct
  usages now.

- Fix the znetboot / znetbootrd targets.  We now always set end-y,
  and use this to figure out what image will be tftpboot'ed.

21 years ago[PATCH] Fix booting on a number of Motorola PPC32 machines
Andrew Morton [Tue, 30 Dec 2003 08:58:57 +0000 (00:58 -0800)]
[PATCH] Fix booting on a number of Motorola PPC32 machines

From: Tom Rini <trini@kernel.crashing.org>

Currently a number of Motorola PPC32 machine will not boot, as the final
zImage isn't built correctly for them.

21 years agoMerge bk://firebox.phunnypharm.org:4040
Linus Torvalds [Tue, 30 Dec 2003 08:08:22 +0000 (00:08 -0800)]
Merge bk://firebox.phunnypharm.org:4040
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 30 Dec 2003 08:06:58 +0000 (00:06 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge http://linux.bkbits.net/linux-2.5
Ben Collins [Tue, 30 Dec 2003 07:56:48 +0000 (02:56 -0500)]
Merge http://linux.bkbits.net/linux-2.5
into debian.org:/usr/src/kernel/linux-2.6

21 years agoMerge home.osdl.org:/home/torvalds/v2.5/linux
Linus Torvalds [Tue, 30 Dec 2003 07:51:30 +0000 (23:51 -0800)]
Merge home.osdl.org:/home/torvalds/v2.5/linux
into home.osdl.org:/home/torvalds/v2.5/akpm

21 years ago[PATCH] parisc /proc/interrupts uninitialised var
Andrew Morton [Tue, 30 Dec 2003 07:49:53 +0000 (23:49 -0800)]
[PATCH] parisc /proc/interrupts uninitialised var

From: James Bottomley <James.Bottomley@SteelEye.com>

The compiler justly complains in this:

        unsigned int regnr = *(loff_t *) v, i;

        if (regnr == 0) {
                seq_puts(p, "     ");
#ifdef CONFIG_SMP
                for (i = 0; i < NR_CPUS; i++)
#endif
                        seq_printf(p, "      CPU%02d ", i);

That i is uninitialised if CONFIG_SMP is not set.

21 years ago[PATCH] readahead: multiple performance fixes
Andrew Morton [Tue, 30 Dec 2003 07:49:45 +0000 (23:49 -0800)]
[PATCH] readahead: multiple performance fixes

From: Ram Pai <linuxram@us.ibm.com>

I have enclosed a patch that fixes a bunch of performance bugs in the
readahead code.

Below is a brief summary of the problems noticed and the proposed fixes
with some results:

 Problem 1:  Readahead code closes the readahead window and goes into
 slowread path, if a file is accessed the first time at an offset
 notequal to zero.  In the case of databases(especially in db2), a file
 may not be accessed at offset 0 the first time though the i/o's are
 sequential.

 Fix to Problem 1:
          min = get_min_readahead(ra);
         orig_next_size = ra-next_size;

 -       if (ra-next_size == 0 && offset == 0) {
 +       if (ra-next_size == 0) {

------------------------------------------------------------------------

 ------------------------------------------------------------------------
 Problem 2: After fixing Problem, the readahead window still does not
 open up the first time, if all the pages requested are already in the
 page cache. This time the window closes because of pagecache hits
 instead of misses. To fix this we put in these changes.

 -               check_ra_success(ra, ra-size, actual, orig_next_size);
 +               if(!first_access) {
 +                       check_ra_success(ra, ra-size, actual, orig_next_size);
 +               }

 ------------------------------------------------------------------------

 ------------------------------------------------------------------------
 Problem 3: In the case of large random reads, the readahead window is
 read in, the moment there is a hit in the active window. And it turns
 out that in most of the cases the readahead window gets scrapped,
 because the next large random read does not even touch any of the pages
 in that readahead window. We fixed this by introducing lazy readahead.
 Basically we wait till the last page in the active window gets a hit.
 And once the last page is hit, the readahead window is then read in.
 This fix gave a tremendous boost in the performance.
 To fix this the changes we put in were:

                 /*
                  * This read request is within the current window.  It is time
                  * to submit I/O for the ahead window while the application is
                  * crunching through the current window.
                  */
 -               if (ra-ahead_start == 0) {
 +               if (ra-ahead_start == 0 && offset == (ra-start + ra-size -1)) {

 ------------------------------------------------------------------------

 ------------------------------------------------------------------------
 Problem 4:
       If the request page does not fall in the active window and is not
the  first page of the read ahead window, we scrap both the active
window and the readahaed window and read in the active window. But it
turns out that we read in a lot of pages in the active window based on
the size of the 'projected readahead window size' (the next_size
variable). And we end up using part of the active window and waste the
remaining. We put  in a fix where we read in just as many pages in the
active window based on the number of pages used in the recent past.
 Again this gave us another big boost in performance and ended up
beating the performance of aio patch on a DSS workload.

 The fix to this is:
                  * ahead window and get some I/O underway for the new
                  * current window.
                  */
 +               if (!first_access && preoffset = ra-start &&
 +                               preoffset < (ra-start + ra-size)) {
 +                       ra-size = preoffset - ra-start + 2;
 +               } else {
 +                       ra-size = ra-next_size;

 ------------------------------------------------------------------------

 ------------------------------------------------------------------------
 Problem 5:
 With all the above fixes there is very low chance that the readahead
 window shall close.  But however if it does, we found that the slow
 read  path is really slow.  Any loss of sequentiality in the slow read
 path is penalized heavily by closing the window back to zero. So we
 fixed this  by decreasing the window size by one anytime we loose
 sequentiality and  increasing in by 1 if we didn't.

                 if (offset != ra-prev_page + 1) {
 -                       ra-size = 0;            /* Not sequential */
 +                       ra-size = ra-size?ra-size-1:0; /*Notsequential */

 ------------------------------------------------------------------------

With the above set of fixes we got about 28% improvement in DSS workload
which is about 5% more than what we got with the suparna's aio patch.

This patch compared equivalent to suparna's aio patch with aio-stress
run.

It fared better than aio patch for large random io.

We are yet to run a bunch of other benchmarks to evaluate this patch.
We would like to get your inputs on this patch and any suggestions you
may have to improve it. I have enclosed a patch with all these changes
along with some changes to the comments that reflect the new behaviour.
NOTE: the above patch reverts suparna's aio patch.

21 years ago[PATCH] Fix 2.6.0's broken documentation references
Andrew Morton [Tue, 30 Dec 2003 07:49:36 +0000 (23:49 -0800)]
[PATCH] Fix 2.6.0's broken documentation references

From: Hans Ulrich Niedermann <linux-kernel@n-dimensional.de>

I've noted that 2.6.0 contains broken references to documentation.

I got sufficiently annoyed chasing doc files in the wrong place
that I wrote a script to check the references to documentation
files.

Some documentation files have moved (e.g.  Documentation/modules.txt to
Documentation/kbuild/modules.txt).  I adapted the references with a script.

21 years ago[PATCH] reiserfs_rename ctime update
Andrew Morton [Tue, 30 Dec 2003 07:49:26 +0000 (23:49 -0800)]
[PATCH] reiserfs_rename ctime update

From: Nikita Danilov <Nikita@Namesys.COM>

This patches reiserfs_rename.  It adds ctime update of renamed object.  It
also fixes calculation of maximal possible transaction size during rename.

Thanks to Alex Adriaanse <alex_a@caltech.edu> for finding this.

21 years ago[PATCH] reiserfs commit_max_age mount option
Andrew Morton [Tue, 30 Dec 2003 07:49:18 +0000 (23:49 -0800)]
[PATCH] reiserfs commit_max_age mount option

From: Nikita Danilov <Nikita@Namesys.COM>

Add "commit" reiserfs mount option to override maximal transaction age.
Usage:

mount -treiserfs -ocommit=<time-in-seconds> /device /mountpoint

Submitted by Hugang <hugang@soulinfo.com>.

21 years ago[PATCH] Fix reiserfs handling of `silent' option.
Andrew Morton [Tue, 30 Dec 2003 07:49:09 +0000 (23:49 -0800)]
[PATCH] Fix reiserfs handling of `silent' option.

From: Nikita Danilov <Nikita@Namesys.COM>

Patch to teach fs/reiserfs/super.c:reiserfs_fill_super() to respect @silent
parameter and to not issue any output if @silent is set.

Also remove some trailing white spaces, while we are here.

21 years ago[PATCH] CONFIG_GAMEPORT documentation
Andrew Morton [Tue, 30 Dec 2003 07:49:00 +0000 (23:49 -0800)]
[PATCH] CONFIG_GAMEPORT documentation

From: Muli Ben-Yehuda <mulix@mulix.org>

It's messy, and needs describing.

21 years ago[PATCH] Typo: 2.6.0 docs about kbuild.
Andrew Morton [Tue, 30 Dec 2003 07:48:52 +0000 (23:48 -0800)]
[PATCH] Typo: 2.6.0 docs about kbuild.

From: BlaisorBlade <blaisorblade_spam@yahoo.it>

This fixes a "typo" for Kconfig-language docs.

21 years ago[PATCH] shrink_slab acounts for seeks incorrectly
Andrew Morton [Tue, 30 Dec 2003 07:48:44 +0000 (23:48 -0800)]
[PATCH] shrink_slab acounts for seeks incorrectly

wli points out that shrink_slab inverts the sense of shrinker->seeks: those
caches which require more seeks to reestablish an object are shrunk harder.
That's wrong - they should be shrunk less.

So fix that up, but scaling the result so that the patch is actually a no-op
at this time, because all caches use DEFAULT_SEEKS (2).

21 years ago[PATCH] log_buf_len_setup() irq fix
Andrew Morton [Tue, 30 Dec 2003 07:48:35 +0000 (23:48 -0800)]
[PATCH] log_buf_len_setup() irq fix

log_buf_len_setup() is called on the start_kernel->parse_args() path.  It
must not enable interrupts.

21 years ago[PATCH] fix pci_update_resource() / IORESOURCE_UNSET on PPC
Andrew Morton [Tue, 30 Dec 2003 07:48:27 +0000 (23:48 -0800)]
[PATCH] fix pci_update_resource() / IORESOURCE_UNSET on PPC

From: Harald Welte <laforge@gnumonks.org>

[disclaimer:  This was posted on the linuxppc list before, BenH asked me=20
 to re-post it to lkml]

The prism54 (http://prism54.org) driver for my cardbus adapter works
with 2.4.x, but not 2.6.x on a Titanium G4 Powerbook IV.

On 2.6.x the error message was
PCI:0001:02:00.0 Resource 0 [00000000-00001fff] is unassigned

After investigating differences in the PCI code of 2.4.x and 2.6.x, i
noticed that 2.4.x/arc/ppc/kernel/pci.c:pcibios_update_resource()
contained a couple of lines that unset the IORESOURCE_UNSET bitflag.

In 2.6.x, this is handled by the generic PCI core in
drivers/pci/setup-res.c:pci_update_resource() code.  However, the code
is missing the 'res->flags &=3D ~IORESOURCE_UNSET' part.

The below fix re-adds that section from 2.4.x.=20

I'm not sure wether this belongs into the arch-independent PCI api.
Anyway, on PPC it seems to be needed for certain cardbus devices.

Any comments welcome.

21 years ago[PATCH] (workaround): avoid raid1 crash during resync with qlogic controllers
Andrew Morton [Tue, 30 Dec 2003 07:48:19 +0000 (23:48 -0800)]
[PATCH] (workaround): avoid raid1 crash during resync with qlogic controllers

qlogic's 16k maximum I/O size bites again.  Neil says:

 The problems we fixed were all to do with normal IO.  This one is resync
 IO.

 The problem here is that raid1 always does resync in RESYNC_BLOCK_SIZE
 (=64k) IOs and if the device doesn't cope - tough.

 The simple fix is to #define RESYNC_BLOCK_SIZE to PAGE_SIZE in md/raid1.c

 The better fix is to rewrite the raid1 resync code to use bio_add_page.

 This means we have to build the read request and the write requests at the
 same time, and then when a bio_add_page fails, we back-out the last page
 from the bios that have one too many, and then do the read followed by the
 writes.

 I have some code the nearly does this, but I haven't got it actually
 working yet and I am on leave until mid January.

 I would recommend doing

 fs/drivers/md/raid1.c:
 -#define RESYNC_BLOCK_SIZE (64*1024)
 +#define RESYNC_BLOCK_SIZE PAGE_SIZE

 for now.

21 years ago[PATCH] Remove iso9660 check for sbsector < 660Mb
Andrew Morton [Tue, 30 Dec 2003 07:48:11 +0000 (23:48 -0800)]
[PATCH] Remove iso9660 check for sbsector < 660Mb

From: Jon Burgess <mplayer@jburgess.uklinux.net>

The iso9660 filesystem code checks that the "sbsector" option is
positioned within the first 660Mb of the disk.

Today the iso9660 filesystem is used on DVD's which are much bigger than
660Mb and this check prevents the sbsector option being used to specify
the location of the superblock of multisession DVD's.

With this check removed I can mount the second session on a DVD-R by
specifying the sbsector, even though the  firmware on that drive returns
bogus data for the TOC.

If an invalid large sector number is entered then a "request beyond end
of device" error is reported elsewhere in the block code, but appears to
do no damage.

21 years ago[PATCH] ALI ircc vendor update (add support for newer chipset) to FIR driver
Andrew Morton [Tue, 30 Dec 2003 07:48:02 +0000 (23:48 -0800)]
[PATCH] ALI ircc vendor update (add support for newer chipset) to FIR driver

From: Alan Cox <alan@redhat.com>

Change by Clear Zhang of ALI

21 years ago[PATCH] Fix static build of drivers/mtd/chips/jedec_probe.c
Andrew Morton [Tue, 30 Dec 2003 07:47:53 +0000 (23:47 -0800)]
[PATCH] Fix static build of drivers/mtd/chips/jedec_probe.c

From: Bernardo Innocenti <bernie@develer.com>

It needs init.h

21 years ago[PATCH] SubmittingDrivers update
Andrew Morton [Tue, 30 Dec 2003 07:47:45 +0000 (23:47 -0800)]
[PATCH] SubmittingDrivers update

From: Steven Cole <elenstev@mesatop.com>

21 years ago[PATCH] hugepage pagetable freeing fix
Andrew Morton [Tue, 30 Dec 2003 07:47:37 +0000 (23:47 -0800)]
[PATCH] hugepage pagetable freeing fix

From: "Seth, Rohit" <rohit.seth@intel.com>

We recently covered a bug in mm/mmap.c on IA-64.  While unmapping a address
space, unmap_region calls free_pgtables to possibly free the pages that are
used for page tables.  Currently no distinction is made between freeing a
region that is mapped by normal pages vs the pages that are mapped by
hugepages.  Architecture specific code needs to handle cases where PTEs
corresponding to a region that is mapped by hugepages is properly getting
unmapped.  Attached please find a patch that makes the required changes in
generic part of kernel.  We will need to send a separate IA-64 patch to use
this new semantics.  Currently, so not to disturb the PPC (as that is the
only arch that had ARCH_HAS_HUGEPAGE_ONLY_RANGE defined) we are mapping back
the definition of new function hugetlb_free_pgtables to free_pgtables.

21 years ago[PATCH] Check for preemption in kunmap_atomic()
Andrew Morton [Tue, 30 Dec 2003 07:47:28 +0000 (23:47 -0800)]
[PATCH] Check for preemption in kunmap_atomic()

From: Joe Korty <joe.korty@ccur.com>

We need to check whether preemption is needed after reenabling preemption
in kunmap_atomic().

21 years ago[PATCH] Fix another dm and bio problem
Andrew Morton [Tue, 30 Dec 2003 07:47:20 +0000 (23:47 -0800)]
[PATCH] Fix another dm and bio problem

From: Mark Haverkamp <markh@osdl.org>

This fixes a problem similar to the patch I submitted on 11/20

http://marc.theaimsgroup.com/?l=linux-kernel&m=106936439707962&w=2

In this case, though, the result is an:

"Incorrect number of segments after building list" message.

The macro __BVEC_START assumes a bi_idx of zero when the dm code can
submit a bio with a non-zero bi_idx.
The code has been tested on an 8 way / 8gb OSDL STP machine with a 197G
lvm volume running dbt2 test.

21 years ago[PATCH] Small copy-paste typo in floppy.c
Andrew Morton [Tue, 30 Dec 2003 07:47:12 +0000 (23:47 -0800)]
[PATCH] Small copy-paste typo in floppy.c

From: Juergen Quade <quade@hsnr.de>

I just hit a copy-paste typo in floppy.c.

21 years ago[PATCH] ppdev MODULES_ALIAS
Andrew Morton [Tue, 30 Dec 2003 07:47:04 +0000 (23:47 -0800)]
[PATCH] ppdev MODULES_ALIAS

From: Jim Radford <radford@indigita.com>

I finally took the time to figure our why my parallel port wasn't
working...  here's the patch.

21 years ago[PATCH] change two annoying messages from framebuffer drivers
Andrew Morton [Tue, 30 Dec 2003 07:46:56 +0000 (23:46 -0800)]
[PATCH] change two annoying messages from framebuffer drivers

From: Michael Hunold <hunold@convergence.de>

the Linux-on-a-CD system Knoppix has nearly all framebuffer drivers for
2.4.23 compiled in. Additionally, it surpresses most kernel messages by
lowering the kernel log level.

Two framebuffer drivers (clgenfb.c and hgafb.c), however, use KERN_ERR
to say that their particular card has *not* been found which is very
annoying.

Especially the clgenfb.c driver simply says on bootup:
  >  Couldn't find PCI device
which can really confuse newbie users.

I've already send a patch that fixes this for 2.4 -- Marcelo and Geert
Uytterhoeven have already ack'ed it.

The same change should be done for 2.6, too IMHO.

The appended patch replaces two KERN_ERR with KERN_INFO and additionally
makes the cirrusfb.c message more descriptive.

21 years ago[PATCH] add SpeedStep zero-page usage documentation
Andrew Morton [Tue, 30 Dec 2003 07:46:47 +0000 (23:46 -0800)]
[PATCH] add SpeedStep zero-page usage documentation

From: "Randy.Dunlap" <rddunlap@osdl.org>

Add Intel SpeedStep zero-page memory usage doc.

21 years ago[PATCH] H8/300 bitops.h update
Andrew Morton [Tue, 30 Dec 2003 07:46:39 +0000 (23:46 -0800)]
[PATCH] H8/300 bitops.h update

From: Yoshinori Sato <ysato@users.sourceforge.jp>

* using generic_ffs
* optimized code

21 years ago[PATCH] Fix memleak on execve failure
Andrew Morton [Tue, 30 Dec 2003 07:46:31 +0000 (23:46 -0800)]
[PATCH] Fix memleak on execve failure

From: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>

I found linux-2.6.0-test11 leaks memory when execve fails.  I've also
checked the bitkeeper tree and the problem seems to be unchanged.

The attached patch is a partial backout of bitkeeper rev.  1.87 of
fs/exec.c.  I guess the original change was a simple mistake.
(free_arg_pages() is a NOP when CONFIG_MMU is defined).