]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.58 v2.5.58
Linus Torvalds [Mon, 13 Jan 2003 13:51:25 +0000 (05:51 -0800)]
Linux v2.5.58

22 years agoreiserfs/hashes.c used to include <asm/page.h> in order to get the
Linus Torvalds [Mon, 13 Jan 2003 13:13:01 +0000 (05:13 -0800)]
reiserfs/hashes.c used to include <asm/page.h> in order to get the
definition of BUG().

In the new (more logical) world order, that should be <asm/bug.h>

22 years ago[PATCH] common m68knommu arch entry.S
Greg Ungerer [Mon, 13 Jan 2003 13:02:14 +0000 (05:02 -0800)]
[PATCH] common m68knommu arch entry.S

This patch is the first in a series that groups the common
m68knommu entry.S code into a common entry.S file (this is
instead of having several similar files in lower sub-architecture
directories). The whole idea is to reduce code duplication.

22 years ago[PATCH] Define smp_read_barrier_depends on v850
Miles Bader [Mon, 13 Jan 2003 13:00:23 +0000 (05:00 -0800)]
[PATCH] Define smp_read_barrier_depends on v850

22 years agoMerge http://linux-voyager.bkbits.net/dma-generic-mapping-2.5
Linus Torvalds [Mon, 13 Jan 2003 12:59:07 +0000 (04:59 -0800)]
Merge http://linux-voyager.bkbits.net/dma-generic-mapping-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoAdd GFP_ flags to parisc DMA API implementation
James Bottomley [Mon, 13 Jan 2003 15:06:56 +0000 (09:06 -0600)]
Add GFP_ flags to parisc DMA API implementation

22 years agoMerge ssh://linux-voyager@linux-voyager.bkbits.net/dma-generic-mapping-2.5
James Bottomley [Mon, 13 Jan 2003 15:03:56 +0000 (09:03 -0600)]
Merge ssh://linux-voyager@linux-voyager.bkbits.net/dma-generic-mapping-2.5
into raven.il.steeleye.com:/home/jejb/BK/dma-alloc-flags-2.5

22 years ago[PATCH] Update v850 nb85e_uart serial driver to set baud min/max
Miles Bader [Mon, 13 Jan 2003 12:58:27 +0000 (04:58 -0800)]
[PATCH] Update v850 nb85e_uart serial driver to set baud min/max

22 years ago[PATCH] Use `--unique=.gnu.linkonce.this_module' linker flag for modules on v850
Miles Bader [Mon, 13 Jan 2003 12:58:21 +0000 (04:58 -0800)]
[PATCH] Use `--unique=.gnu.linkonce.this_module' linker flag for modules on v850

This prevents the linker from merging the .gnu.linkonce.this_module section
into the .text section, which is necessary for modules to load correctly.

22 years ago[PATCH] sound/oss/opl3sa2.c compile fix
Zwane Mwaikambo [Mon, 13 Jan 2003 12:30:27 +0000 (04:30 -0800)]
[PATCH] sound/oss/opl3sa2.c compile fix

Fixes compile but card doesn't get detected, perhaps the id list?

22 years ago[PATCH] Clustered APIC setup for >8 CPU systems
Venkatesh Pallipadi [Mon, 13 Jan 2003 12:30:21 +0000 (04:30 -0800)]
[PATCH] Clustered APIC setup for >8 CPU systems

Clustered APIC setup patch.  Needed to support generic systems with more
than 8 CPUs.

Motivation:

 The current APIC destination mode ("Flat Logical") used in linux kernel
 has an upper limit of 8 CPUs.  For more than 8 CPUs, either "Clustered
 Logical" or "Physical" mode has to be used.

 The attached patch adds support such systems by organizing them into
 logical clusters, with each cluster having 4 CPUs.  This is activated by
 a new config option "Support for other sub-arch SMP systems with more
 than 8 CPUs", under Processor feature->Sub architecture.

 The patch is made very simple and isolated, thanks to Martin J.
 Bligh's patchsets, which has moved all APIC related functions into
 sub-arch macros.  Has zero impact on standard systems.

 This patch enables all 16 logical processors on a generic, non-quad
 based, system that we have here.  Also, by looking at SuSE source, I
 have also added a special switch, to specifically support Unisys
 (ES7000).  Just replacing #define SEQUENTIAL_APICID by CLUSTERED_APICID
 in the patch should make it work on ES7000(not tested).

22 years ago[PATCH] combine all m68knommu arch linker scripts into one
Greg Ungerer [Mon, 13 Jan 2003 12:23:26 +0000 (04:23 -0800)]
[PATCH] combine all m68knommu arch linker scripts into one

This pulls all of the m68knommu arch linker scripts into a single new
style linker script.  This patch specifically turns
arch/m68knommu/vmlinux.lds.S into a generic linker script that works
with all m68knommu targets.

22 years ago[PATCH] remove obsolete code from comempci.c
Greg Ungerer [Mon, 13 Jan 2003 12:23:18 +0000 (04:23 -0800)]
[PATCH] remove obsolete code from comempci.c

22 years ago[PATCH] add smp_read_barrier_depends() for m68knommu
Greg Ungerer [Mon, 13 Jan 2003 12:23:13 +0000 (04:23 -0800)]
[PATCH] add smp_read_barrier_depends() for m68knommu

This patch adds a definition for smp_read_barrier_depends() for the
m68knommu architecture. This is now needed to compile net/ipv4/route.c.

22 years ago[PATCH] remove obsolete code from mcfserial.h
Greg Ungerer [Mon, 13 Jan 2003 12:23:06 +0000 (04:23 -0800)]
[PATCH] remove obsolete code from mcfserial.h

This patch removes the old 2.0.x conditional code from the
mcfserial.h header.

22 years ago[PATCH] set default console baud rate in 68360serial.c
Greg Ungerer [Mon, 13 Jan 2003 12:23:00 +0000 (04:23 -0800)]
[PATCH] set default console baud rate in 68360serial.c

This patch sets a default console baud rate in the 68360 serial
driver instead of just error'ing out if it is not set.

22 years ago[PATCH] use _etext in 68VZ328 ucdimm target start code
Greg Ungerer [Mon, 13 Jan 2003 12:22:53 +0000 (04:22 -0800)]
[PATCH] use _etext in 68VZ328 ucdimm target start code

This patch switches to using the _etext linker symbol instead of
__data_rom_start for the ucdimm 68VZ328 platform. I intend to
deprecate the __data_rom_start linker symbol in the future.

22 years ago[PATCH] use _etext in 68VZ328 de2 target start code
Greg Ungerer [Mon, 13 Jan 2003 12:22:48 +0000 (04:22 -0800)]
[PATCH] use _etext in 68VZ328 de2 target start code

This patch switches to using the _etext linker symbol instead of
__data_rom_start for the ce2 68VZ328 platform. I intend to
deprecate the __data_rom_start linker symbol in the future.

22 years ago[PATCH] use _etext in 68EZ328 ucsimm target start code
Greg Ungerer [Mon, 13 Jan 2003 12:22:42 +0000 (04:22 -0800)]
[PATCH] use _etext in 68EZ328 ucsimm target start code

This patch switches to using the _etext linker symbol instead of
__data_rom_start for the ucsimm 68EZ328 platform. I intend to
deprecate the __data_rom_start linker symbol in the future.

22 years ago[PATCH] add missing do_coredump() arg to m68knommu arch signal.c
Greg Ungerer [Mon, 13 Jan 2003 12:22:36 +0000 (04:22 -0800)]
[PATCH] add missing do_coredump() arg to m68knommu arch signal.c

This patch adds the missing exit code argument to the do_coredump() call
in m68knommu arch signal.c.

22 years ago[PATCH] use C99 initializers in m68knommu setup.c
Greg Ungerer [Mon, 13 Jan 2003 12:22:30 +0000 (04:22 -0800)]
[PATCH] use C99 initializers in m68knommu setup.c

22 years ago[PATCH] namespace pollution in korg 1212 driver
Rusty Russell [Mon, 13 Jan 2003 12:15:30 +0000 (04:15 -0800)]
[PATCH] namespace pollution in korg 1212 driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The korg1212 driver has a global variable named 'rc' that pollutes
  the namespace. This makes it static.

22 years ago[PATCH] Handle kmalloc fails: drivers_isdn_i4l_isdn_ppp_ccp.c
Rusty Russell [Mon, 13 Jan 2003 12:15:25 +0000 (04:15 -0800)]
[PATCH] Handle kmalloc fails: drivers_isdn_i4l_isdn_ppp_ccp.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] remove check_region from sound_oss_awe_wave.c
Rusty Russell [Mon, 13 Jan 2003 12:15:18 +0000 (04:15 -0800)]
[PATCH] remove check_region from sound_oss_awe_wave.c

From:  william stinson <wstinson@wanadoo.fr>

  this patch for sound/oss/awe_wave.c sound driver for Linux removes
  three calls to check_region using request_region instead

  This is patch number 33 in a series of check_region patches I am doing as
  part of the kernel janitors project.

22 years ago[PATCH] Memory leak in drivers_net_rruner.c
Rusty Russell [Mon, 13 Jan 2003 12:15:13 +0000 (04:15 -0800)]
[PATCH] Memory leak in drivers_net_rruner.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] namespace pollution in irda_irias
Rusty Russell [Mon, 13 Jan 2003 12:15:07 +0000 (04:15 -0800)]
[PATCH] namespace pollution in irda_irias

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  A global variable should not be named 'objects' like in
  irias_object.c. This patch puts it into the right
  namespace.
  Also, strndup() is made static.

22 years ago[PATCH] namespace pollution in Maxi Radio driver
Rusty Russell [Mon, 13 Jan 2003 12:15:00 +0000 (04:15 -0800)]
[PATCH] namespace pollution in Maxi Radio driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The maxiradio driver defines a few variables that should be
  made static.

22 years ago[PATCH] Drain local pages to make swsusp work
Rusty Russell [Mon, 13 Jan 2003 12:14:54 +0000 (04:14 -0800)]
[PATCH] Drain local pages to make swsusp work

From:  Pavel Machek <pavel@ucw.cz>

  With local pages present, swsusp's accounting goes wrong and you get
  nice BUG(). This fixes it, please apply.

22 years ago[PATCH] Handle kmalloc fails: drivers_net_fec.c
Rusty Russell [Mon, 13 Jan 2003 12:14:47 +0000 (04:14 -0800)]
[PATCH] Handle kmalloc fails: drivers_net_fec.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] MODULE_FORCE_UNLOAD must depend on MODULE_UNLOAD (fwd)
Rusty Russell [Mon, 13 Jan 2003 12:14:40 +0000 (04:14 -0800)]
[PATCH] MODULE_FORCE_UNLOAD must depend on MODULE_UNLOAD (fwd)

From:  Adrian Bunk <bunk@fs.tum.de>

22 years ago[PATCH] namespace pollution in procfs
Rusty Russell [Mon, 13 Jan 2003 12:14:34 +0000 (04:14 -0800)]
[PATCH] namespace pollution in procfs

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  de_get and de_put are used only in the file they are
  defined in, so make them static

22 years ago[PATCH] namespace pollution in opti92x driver
Rusty Russell [Mon, 13 Jan 2003 12:14:28 +0000 (04:14 -0800)]
[PATCH] namespace pollution in opti92x driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The opti92x driver has global variables named 'rates' and 'bits'
  that pollute the namespace. This makes them static.

22 years ago[PATCH] namespace pollution in tr.c
Rusty Russell [Mon, 13 Jan 2003 12:14:23 +0000 (04:14 -0800)]
[PATCH] namespace pollution in tr.c

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The variable rif_table should be neither global nor initialized to 0.

22 years ago[PATCH] namespace pollution in irda qos
Rusty Russell [Mon, 13 Jan 2003 12:14:17 +0000 (04:14 -0800)]
[PATCH] namespace pollution in irda qos

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  net/irda/qos.c exports some variables that are not used
  in any other file. This makes them static to avoid
  namespace conflicts

22 years ago[PATCH] Remove compile warning from drivers_ide_pci_generic.h
Rusty Russell [Mon, 13 Jan 2003 12:14:11 +0000 (04:14 -0800)]
[PATCH] Remove compile warning from drivers_ide_pci_generic.h

From:  Bob Miller <rem@osdl.org>

  Added and #if/#endif pair to "remove" the un-used unknown_chipset declaration.

  Comments in generic.c indicate that unknow_chipset this will be used again
  in the future.

22 years ago[PATCH] namespace pollution in netfilter_ebt_log
Rusty Russell [Mon, 13 Jan 2003 12:14:04 +0000 (04:14 -0800)]
[PATCH] namespace pollution in netfilter_ebt_log

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  A global variable should not be called 'log', this makes it static

22 years ago[PATCH] namespace pollution in ide-probe.c
Rusty Russell [Mon, 13 Jan 2003 12:13:58 +0000 (04:13 -0800)]
[PATCH] namespace pollution in ide-probe.c

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The function init_irq is only used in ide-probe.c, so it should
  better be static.

22 years ago[PATCH] namespace pollution in reiserfs
Rusty Russell [Mon, 13 Jan 2003 12:13:53 +0000 (04:13 -0800)]
[PATCH] namespace pollution in reiserfs

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  balloc[] and tails[] are used only in the file they are defined
  in, so they should be made static

22 years ago[PATCH] namespace pollution in sunrpc
Rusty Russell [Mon, 13 Jan 2003 12:13:48 +0000 (04:13 -0800)]
[PATCH] namespace pollution in sunrpc

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The strdup function in sunrpc should not be global

22 years ago[PATCH] namespace pollution in cosa driver
Rusty Russell [Mon, 13 Jan 2003 12:13:42 +0000 (04:13 -0800)]
[PATCH] namespace pollution in cosa driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  Variables named 'io' and 'dma' should not be global

22 years ago[PATCH] namespace pollution in 'backpack' paride
Rusty Russell [Mon, 13 Jan 2003 12:13:36 +0000 (04:13 -0800)]
[PATCH] namespace pollution in 'backpack' paride

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  A global variable should not be called 'verbose'. It can
  be made static since it is only used in one file.

22 years ago[PATCH] Remove compile warning from drivers_ide_pci_sc1200.c
Rusty Russell [Mon, 13 Jan 2003 12:13:30 +0000 (04:13 -0800)]
[PATCH] Remove compile warning from drivers_ide_pci_sc1200.c

From:  Bob Miller <rem@osdl.org>

  Deleted an unused stack variable from sc1200_suspend.

22 years ago[PATCH] Correct kmalloc check: drivers_scsi_dpt_i2o.c
Rusty Russell [Mon, 13 Jan 2003 12:13:23 +0000 (04:13 -0800)]
[PATCH] Correct kmalloc check: drivers_scsi_dpt_i2o.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] Janitoring drivers_acorn_scsi_fas216.c
Rusty Russell [Mon, 13 Jan 2003 12:13:18 +0000 (04:13 -0800)]
[PATCH] Janitoring drivers_acorn_scsi_fas216.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] remove check_region from drivers_scsi_cpqfcTSinit.c
Rusty Russell [Mon, 13 Jan 2003 12:13:13 +0000 (04:13 -0800)]
[PATCH] remove check_region from drivers_scsi_cpqfcTSinit.c

From:  william stinson <wstinson@wanadoo.fr>

  this proposed patch for drivers/scsi/cpqfcTSinit.c scsi driver for
  Linux removes two calls to check_region using request_region instead

  This is patch number 28 in a series of check_region patches I am doing as
  part of the kernel janitors project.

22 years ago[PATCH] driver_char_Kconfig bug (fwd)
Rusty Russell [Mon, 13 Jan 2003 12:13:08 +0000 (04:13 -0800)]
[PATCH] driver_char_Kconfig bug (fwd)

From: Rusty Lynch <rusty@stinkycat.com>

  VT support requires drivers/char/keyboard.c which makes function
  calls implemented in drivers/input/, so that attempting to set
  CONFIG_INPUT=m or just not setting CONFIG_INPUT will result in a
  compile error if CONFIG_VT is on.

22 years ago[PATCH] remove check_region from drivers_ide_legacy_umc8672.c
Rusty Russell [Mon, 13 Jan 2003 12:13:02 +0000 (04:13 -0800)]
[PATCH] remove check_region from drivers_ide_legacy_umc8672.c

From:  william stinson <wstinson@wanadoo.fr>

  this patch for drivers/ide/legacy/umc8672.c ide driver for Linux
  removes one call to check_region using request_region instead

  I don't have this hardware so patch is not tested.  This patch removes
  all references to check_region in this driver.

  This is patch number 31 in a series of check_region patches I am doing as
   part of the kernel janitors project.

22 years ago[PATCH] namespace pollution in OSS_pas2 driver
Rusty Russell [Mon, 13 Jan 2003 12:12:57 +0000 (04:12 -0800)]
[PATCH] namespace pollution in OSS_pas2 driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The pas2 driver has a global variable named 'lock', which
  pollutes the global namespace. This patch adds a pas_
  prefix. The same is done for 'translate_code'.

22 years ago[PATCH] namespace pollution in Dell SMM driver
Rusty Russell [Mon, 13 Jan 2003 12:12:50 +0000 (04:12 -0800)]
[PATCH] namespace pollution in Dell SMM driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The i8k driver has global variables named 'force' and 'power_status'
  that pollute the name space. This makes them static.

22 years ago[PATCH] duplicate extern char _stext
Rusty Russell [Mon, 13 Jan 2003 12:12:44 +0000 (04:12 -0800)]
[PATCH] duplicate extern char _stext

From:  Geert Uytterhoeven <geert@linux-m68k.org>

  Kill duplicate extern char _stext (already declared globally 14 lines before)

22 years ago[PATCH] cli_sti in drivers_net_hamradio_bpqether.c
Rusty Russell [Mon, 13 Jan 2003 12:12:38 +0000 (04:12 -0800)]
[PATCH] cli_sti in drivers_net_hamradio_bpqether.c

From:  Chris Wilson <chris@qwirx.com>

  As part of the Linux Kernel Janitors project, I would like to submit my
  patch for bpqether.c.

  The document Documentation/cli-sti-removal.txt says that cli() should no
  longer be used to disable interrupts. This patch removes all references to
  cli() and {save,restore}_flags.

  - added a static spinlock to protect bpq_devices
  - changed cli/sti and {save,restore}_flags to taking the spinlock and
    disabling interrupts with spin_lock_irqsave
  - included my previous patch for proc_net_create, but as a separate hunk,
    so if you've already applied then just ignore the rejected hunk.

  I have verified that the patched driver compiles without warnings, but
  since I don't have the hardware I can't test it. Please treat with
  caution.

22 years ago[PATCH] remove check_region from drivers_atm_ambassador.c
Rusty Russell [Mon, 13 Jan 2003 12:12:32 +0000 (04:12 -0800)]
[PATCH] remove check_region from drivers_atm_ambassador.c

From:  william stinson <wstinson@wanadoo.fr>

  this proposed patch for drivers/atm/ambassador.c atm driver for Linux
  removes one call to check_region using request_region instead

  I don't have this hardware so patch is not tested.  This patch removes
  all references to check_region in this driver.

  This is patch number 30 in a series of check_region patches I am doing as
   part of the kernel janitors project.

22 years ago[PATCH] Remove compile warning from drivers_ide_pci_cs5520.c
Rusty Russell [Mon, 13 Jan 2003 12:12:25 +0000 (04:12 -0800)]
[PATCH] Remove compile warning from drivers_ide_pci_cs5520.c

From:  Bob Miller <rem@osdl.org>

  The function, cs5520_tune_chipset() is declared to return an int.
  Added a return statement instead of just falling of off the bottom.

22 years ago[PATCH] namespace pollution in HDLC driver
Rusty Russell [Mon, 13 Jan 2003 12:12:19 +0000 (04:12 -0800)]
[PATCH] namespace pollution in HDLC driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  A global variable should not be called 'debuglevel'. It can
  be made static since it is only used in one file.

22 years ago[PATCH] namespace pollution in eth bridge driver
Rusty Russell [Mon, 13 Jan 2003 12:12:13 +0000 (04:12 -0800)]
[PATCH] namespace pollution in eth bridge driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  A global variable should not be called 'ioctl_mutex',
  this makes it static.

22 years ago[PATCH] Module state and address in /proc/modules.
Rusty Russell [Mon, 13 Jan 2003 12:12:08 +0000 (04:12 -0800)]
[PATCH] Module state and address in /proc/modules.

The address allows oprofile and ksymoops to work again.  The state is
simply informative.

22 years ago[PATCH] move snd_legacy_find_free_ioport to opti92x-ad1848.c
Rusty Russell [Mon, 13 Jan 2003 12:12:02 +0000 (04:12 -0800)]
[PATCH] move snd_legacy_find_free_ioport to opti92x-ad1848.c

From:  Marcus Alanen <maalanen@ra.abo.fi>

  Moves the snd_legacy_find_free_ioport definition to opti92x-ad1848.c,
  since it is the only user.

22 years ago[PATCH] namespace pollution in skfddi driver
Rusty Russell [Mon, 13 Jan 2003 12:11:56 +0000 (04:11 -0800)]
[PATCH] namespace pollution in skfddi driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The skfp driver has a global function named 'set_int'. This makes
  it static to avoid namespace pollution.

22 years agogeneric/dma-mapping.h: remove BUG_ON flags not GFP_ATOMIC
James Bottomley [Mon, 13 Jan 2003 10:38:03 +0000 (04:38 -0600)]
generic/dma-mapping.h: remove BUG_ON flags not GFP_ATOMIC

drivers should always check for a NULL return anyway, so the fact
that the pci_ API is GFP_ATOMIC shouldn't matter.

22 years agoMerge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
Linus Torvalds [Mon, 13 Jan 2003 08:46:42 +0000 (00:46 -0800)]
Merge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
James Bottomley [Mon, 13 Jan 2003 12:00:44 +0000 (06:00 -0600)]
Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5

22 years ago[PATCH] sd.c
Andries E. Brouwer [Mon, 13 Jan 2003 08:50:36 +0000 (02:50 -0600)]
[PATCH] sd.c

The below does two things:
(i) do not try to spin up a CF reader without media
(ii) be careful when asking for the cache parameters mode page

[do not ask for this page when no media are present:
it is meaningless, and some devices react badly if we do;
check the reply so that we do not read past the end of the reply;
first give a small transport length - some USB devices are unhappy
if we ask for more than they provide]

Andries

22 years ago[PATCH] linux-2.5.57_delay-cleanup_A1.patch
John Stultz [Mon, 13 Jan 2003 07:45:08 +0000 (23:45 -0800)]
[PATCH] linux-2.5.57_delay-cleanup_A1.patch

This cleans up the delay code by moving the timer-specific
implementations into the timer_ops struct.  Thus, rather then doing:

if(x86_delay_tsc)
__rdtsc_delay(loops);
else if(x86_delay_cyclone)
__cyclone_delay(loops);
else if(whatever....

we just simply do:

timer->delay(loops);

Making it much easier to accommodate alternate time sources.

22 years ago[PATCH] linux-2.5.57_timer-none_A0.patch
John Stultz [Mon, 13 Jan 2003 07:44:53 +0000 (23:44 -0800)]
[PATCH] linux-2.5.57_timer-none_A0.patch

This creates an empty timer_opt structure (timer_none) which is then
used as a default initializer to the timer pointer.  This lets us avoid
having to check before dereferencing the timer in future code.

22 years ago[PATCH] use <asm/bug.h> for BUG() defines
Russell King [Mon, 13 Jan 2003 07:24:04 +0000 (23:24 -0800)]
[PATCH] use <asm/bug.h> for BUG() defines

This patch moves BUG() and PAGE_BUG() from asm/page.h into asm/bug.h.

We also fix up linux/dcache.h, which included asm/page.h for the sole
purpose of getting the BUG() definition.

Since linux/kernel.h and linux/smp.h make use of BUG(), asm/bug.h is
included there as well.

In addition, linux/jbd.h did not contain a clear path with which to
obtain the archtecture BUG() definition, but did contain its own
definition.

22 years ago[PATCH] Don't ask about "Enhanced Real Time Clock Support" on some archs
Tom Rini [Mon, 13 Jan 2003 07:23:46 +0000 (23:23 -0800)]
[PATCH] Don't ask about "Enhanced Real Time Clock Support" on some archs

The following patch adds an explicit no list of arches who do not want
to have the "Enhanced Real Time Clock Support" RTC driver asked.  This
adds PPC32 (who for a long time had their own 'generic' RTC driver, and
then have adopted the genrtc driver) and PARISC (who have always used
the genrtc driver).  Per request of Peter Chubb, IA64 is on this list as
well.

The problem is that on some archs there is no hope of this driver
working, and having it compiled into the kernel can cause many different
problems.  On the other hand, there are some arches for whom that driver
does work, on some platforms.  So having an explicit yes list would
result in some rather ugly statements.

22 years ago[PATCH] Fix AMD device ID table bug
Ruslan U. Zakirov [Mon, 13 Jan 2003 07:19:25 +0000 (23:19 -0800)]
[PATCH] Fix AMD device ID table bug

This fixes the wrong order of array(amd_ide_chips) that causes a BUG()
in 436 line with any conditions, because we use the wrong amd_config.

22 years ago[PATCH] fix cpufreq compilation
Patrick Mochel [Mon, 13 Jan 2003 07:07:17 +0000 (23:07 -0800)]
[PATCH] fix cpufreq compilation

This is needed to compile kernel/cpufreq.c if the legacy procfs interface
is not enabled in the latest BK tree.

22 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Mon, 13 Jan 2003 07:01:01 +0000 (23:01 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[PATCH] More parisc updates
Matthew Wilcox [Mon, 13 Jan 2003 06:20:21 +0000 (22:20 -0800)]
[PATCH] More parisc updates

Updates for drivers/parisc.  Mostly conversion to generic device model.
New hppb driver from Ryan Bradetich.

22 years ago[PATCH] cpufreq: per-CPU initialization
Dominik Brodowski [Mon, 13 Jan 2003 06:03:50 +0000 (22:03 -0800)]
[PATCH] cpufreq: per-CPU initialization

Allow for per-CPU initialization of CPUfreq. Therefore, it's not
necessary any longer to kmalloc the per-CPU policy struct. To use
this, cpufreq_driver->policy has to be set to NULL. Of course,
cpufreq_driver->init is needed then, which is the appropriate function
for CPU initialization. cpufreq_driver->exit is available for cleanup.

All existing drivers continue to work without any changes, just for
clarity ->init and ->exit are set to NULL, and the names accordingly.

22 years ago[PATCH] sysfs: Fixup deadline iosched sysfs files.
Patrick Mochel [Mon, 13 Jan 2003 06:03:08 +0000 (22:03 -0800)]
[PATCH] sysfs: Fixup deadline iosched sysfs files.

This reinstates the count parameter to store() methods.

22 years ago[PATCH] cpufreq: sysfs interface update
Patrick Mochel [Mon, 13 Jan 2003 06:02:57 +0000 (22:02 -0800)]
[PATCH] cpufreq: sysfs interface update

This updates new cpufreq sysfs code to new rules.

22 years ago[PATCH] ohci/ehci debug updates for 2.5.56
Kevin Brosius [Mon, 13 Jan 2003 05:53:41 +0000 (21:53 -0800)]
[PATCH] ohci/ehci debug updates for 2.5.56

  These two files needed to be touched after the recent changes to
DRIVER_ATTR/driver_attribute structure members in 2.5.56.  Personally,
it doesn't look to me like the size parameter should be removed, as now
users will need to hardcode PAGE_SIZE into their functions, rather than
it being passed from the place of allocation.  But I'm not familiar with
the driverfs changes, so can't really say.

These changes, or something similar, are needed to make ohci-dbg and
ehci-dbg work at all in 2.5.56.  ehci is untested, but compiles here.
I've tested the ohci changes and they appear to work.

22 years ago[PATCH] minimal Kerberos V5 client support [6/6]
Trond Myklebust [Mon, 13 Jan 2003 05:41:57 +0000 (21:41 -0800)]
[PATCH] minimal Kerberos V5 client support [6/6]

The following patch provides minimal client support for the
(mandatory) Kerberos V5 authentication mechanism under RPCSEC_GSS.
See RFC2623 and RFC3010 for protocol details.

Only authentication is supported for the moment. Data integrity and/or
data privacy (encryption) will be implemented at a later stage.

22 years ago[PATCH] RPCSEC_GSS client upcall user [5/6]
Trond Myklebust [Mon, 13 Jan 2003 05:41:44 +0000 (21:41 -0800)]
[PATCH] RPCSEC_GSS client upcall user [5/6]

This patches the RPCSEC_GSS client to make use of the upcall mechanism
that was provided by patch [3/6].

If an RPC task presents a non-uptodate credential to call_refresh(),
a user daemon is contacted by means of a dedicated rpc_pipefs pipe.
The daemon is then fed the uid for which it must establish a new RPCSEC
security context.

While the daemon goes about its business, the RPC task is put to sleep
on a wait queue in order to allow the 'rpciod' process to service other
requests. If another task wants to use the same credential, it too will
be put to sleep once it reaches call_refresh(). A timeout mechanism
ensures that requests are retried (or that 'soft' mounts fail) if the
daemon crashes / is killed.

Once the daemon has established the RPCSEC context, it writes the result
back to the pipe, causing the credential to be updated. Those RPC tasks
that were sleeping on the context are automatically woken up, and
their execution can proceed.

22 years ago[PATCH] RPCSEC_GSS authentication framework [4/6]
Trond Myklebust [Mon, 13 Jan 2003 05:41:33 +0000 (21:41 -0800)]
[PATCH] RPCSEC_GSS authentication framework [4/6]

This patch provides the basic framework for RPCSEC_GSS authentication
in the RPC client. The protocol is fully described in RFC-2203.
Sun has supported it in their commercial NFSv3 and v2 implementations
for quite some time, and it has been specified in RFC3010 as being
mandatory for NFSv4.

  - Update the mount_data struct for NFSv2 and v3 in order to allow them
    to pass an RPCSEC_GSS security flavour. Compatibility with existing
    versions of the 'mount' program is ensured by requiring that RPCSEC
    support be enabled using the new flag NFS_MOUNT_SECFLAVOUR.
  - Provide secure authentication, and later data encryption on
    a per-user basis. A later patch will an provide an implementation
    of the Kerberos 5 security mechanism. SPKM and LIPKEY are still
    being planned.
  - Security context negotiation and initialization are all assumed
    to be done in userland. A later patch will provide the actual upcall
    mechanisms to allow for this.

22 years ago[PATCH] RPCSEC upcall mechanism [3/6]
Trond Myklebust [Mon, 13 Jan 2003 05:41:19 +0000 (21:41 -0800)]
[PATCH] RPCSEC upcall mechanism [3/6]

This patch provides the upcall mechanism that will be used for communicating
with the RPCSEC client user daemons.

It sets up a 'ramfs' style filesystem (rpc_pipefs) that is populated with
named pipes. Each time the kernel initializes a new NFS, lockd, statd or
portmapper client, a directory automatically gets set up in this fs.
The directory is initially only populated with a single file "info"
that provides information such as the server IP address, the port number
and the RPC service for the benefit of the user daemon.

When an RPCSEC_GSS mechanism needs to communicate with the daemon, it
is provided with a toolkit for setting up a named pipe in the same
directory. It can then perform upcalls/downcalls in order to talk to the
daemon in much the same way as is done by CODA.

The NFSv4 client will also need to use this same filesystem to communicate
with its user daemon in order to do name-to-uid/name-from-uid and
name-to-gid/name-from-gid translation.

22 years ago[PATCH] XDR 'encode' phase move [2/6]
Trond Myklebust [Mon, 13 Jan 2003 05:41:07 +0000 (21:41 -0800)]
[PATCH] XDR 'encode' phase move [2/6]

The RPCSEC_GSS user context defines a 'sequence number' in the AUTH header
fields in order to provide protection against replay attacks. This
number needs to lie within a given 'window', and is required to be updated
even when retransmitting dropped requests.

In order to allow this update to occur, move the XDR 'encode' phase
so that it is done immediately before writing the data to the socket.

22 years ago[PATCH] Clean up RPC client credcache lookups [1/6]
Trond Myklebust [Mon, 13 Jan 2003 05:40:55 +0000 (21:40 -0800)]
[PATCH] Clean up RPC client credcache lookups [1/6]

Clean up RPC client credcache lookups.

    - Remove the limitation whereby the RPC client may only look up
      credentials for the current task.

The ability to lookup arbitrary credentials is needed in order to allow
a user daemon to set the RPCSEC_GSS private information once it
has finished negotiating the RPCSEC user context with the server.

22 years ago[PATCH] rbtree core for io scheduler
Jens Axboe [Mon, 13 Jan 2003 05:32:38 +0000 (21:32 -0800)]
[PATCH] rbtree core for io scheduler

This patch has a bunch of io scheduler goodies that are, by now, well
tested in -mm and by self and Nick Piggin. In order of interest:

- Use rbtree data structure for sorting of requests. Even with the
  default queue lengths that are fairly short, this cuts a lot of run
  time for io scheduler intensive work loads. If we go to longer queue
  lengths, it very quickly becomes a necessity.

- Add sysfs interface for the tunables. At the same time, finally kill
  the BLKELVGET/BLKELVSET completely. I made these return -ENOTTY in
  2.5.1, but there are left-overs around the kernel. This old interface
  was never any good, it was centered around just one io scheduler.

The io scheduler core itself has received count less hours of tuning by
myself and Nick, should be in pretty good shape. Please apply.

Andrew, I made some sysfs changes to the version from 2.5.56-mm1. It
didn't even compile without warnings (or work, for that matter), as the
sysfs store/show procedures needed updating. Hmm?

22 years ago[PATCH] parisc updates for 2.5.56
Matthew Wilcox [Mon, 13 Jan 2003 05:24:33 +0000 (21:24 -0800)]
[PATCH] parisc updates for 2.5.56

Updates for 2.5.56:
 - Integrate Stephen Rothwell's compat code
 - OProfile support for Randolph Chung
 - Makefile updates from Sam Ravnborg
 - Regenerated defconfig as requested by Rusty
 - Generic device model updates (James Bottomley)
 - And lots of general updating bugfixing, etc.

22 years ago[PATCH] cpufreq: add driver for NatSemi Geode / Cyrix MediaGX
Dominik Brodowski [Mon, 13 Jan 2003 05:23:20 +0000 (21:23 -0800)]
[PATCH] cpufreq: add driver for NatSemi Geode / Cyrix MediaGX

This patch by Hiroshi Miura adds a cpufreq driver for Cyrix MediaGX and
National Semiconductor Geode processors using "Suspend Modulation". It's
partly based on Zwane Mwaikambo's work.

22 years ago[PATCH] cpufreq: add sysfs interface
Dominik Brodowski [Mon, 13 Jan 2003 05:23:07 +0000 (21:23 -0800)]
[PATCH] cpufreq: add sysfs interface

This patch adds a sysfs interface to the cpufreq core, and marks the
previous /proc/cpufreq interface as deprecated.

As in drivers/base/cpu.c a "CPU driver" is registered, cpufreq acts as
"interface" to this, offering the following files for each CPU
(in /system/devices/sys/cpu.../) where CPUfreq support is present

cpuinfo_min_freq (ro) - minimum frequency (in kHz) the CPU supports
cpuinfo_max_freq (ro) - maximum frequency (in kHz) the CPU supports
scaling_min_freq (rw) - minimum frequency (in kHz) cpufreq may scale
     the CPU core to
scaling_max_freq (rw) - maximum frequency (in kHz) cpufreq may scale
     the CPU core to
scaling_governor (rw) - governor == "A feedback device on a machine
      or engine that is used to provide
      automatic control, as of speed,
      pressure, or temperature" [1, as noted
      by David Kimdon]. Decides what frequency
      is used. Currently, only "performance"
      and "powersave" are supported, more may
      be added later.

(In future, a file scaling_driver (ro) which shows what CPUfreq driver
is used (arm-sa1100,  gx-suspmod, speedstep, longrun, powernow-k6,
...) might be added, and this driver will be allowed to add files
scaling_driver_* for driver-specific settings like "prefer fast FSB".
And scaling_governor_* files might offer settings for the governor.)

To implement this sysfs interface, the driver model "interface" code
is used. Unfortunately, it has a non-trivial locking bug in
drivers/base/intf.c: there's a down_write call for
cls->subsys.rwsem in add_intf(), which then calls add(), which may call
intf->add_device(), which may call interface_add_data(), which calls
kobject_register(), which calls kobject_add(), which then tries to
down_write cls->subsys.rwsem. Remember, that was already locked writable
in add_intf().

Because of that, interface_add_data() is commented out; this means
that no link in /system/class/cpu/cpufreq is added, and that the
dev-removal code isn't called. This shouldn't be a problem yet,
though; as no cpufreq driver I know of is capable of CPU hotplugging.

    Dominik

[1] http://dictionary.reference.com/search?q=governor

22 years ago[PATCH] IPMI (Intelligent Platform Management Interface) driver
Corey Minyard [Mon, 13 Jan 2003 05:20:22 +0000 (21:20 -0800)]
[PATCH] IPMI (Intelligent Platform Management Interface) driver

22 years ago[PATCH] NFSv2 READDIR encoding fix
Jochen Friedrich [Mon, 13 Jan 2003 04:41:49 +0000 (20:41 -0800)]
[PATCH] NFSv2 READDIR encoding fix

When mounting a Linux partition with NFSv2, READDIR fills in the last
cookie without properly byte-swapping it.  The following READDIR will
fail, so the NFS client sees a truncated directory.

Fix it thus.

22 years agoupdate drivers using dma_alloc_[non]coherent for GFP_ flags
James Bottomley [Mon, 13 Jan 2003 04:33:21 +0000 (22:33 -0600)]
update drivers using dma_alloc_[non]coherent for GFP_ flags

22 years agoUpdate arm implementation of DMA API to include GFP_ flags
James Bottomley [Mon, 13 Jan 2003 04:30:18 +0000 (22:30 -0600)]
Update arm implementation of DMA API to include GFP_ flags

22 years agoUpdate x86 DMA API implementation to take GFP_ flags
James Bottomley [Mon, 13 Jan 2003 04:29:03 +0000 (22:29 -0600)]
Update x86 DMA API implementation to take GFP_ flags

22 years agoUpdate the generic DMA API to take GFP_ flags on allocation
James Bottomley [Mon, 13 Jan 2003 04:26:50 +0000 (22:26 -0600)]
Update the generic DMA API to take GFP_ flags on allocation

dma_alloc_[non]coherent now takes the GFP_ flags as the last argument.
The flags passed in may not interfere with the memory zone.

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-core
Linus Torvalds [Mon, 13 Jan 2003 04:01:16 +0000 (20:01 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Mon, 13 Jan 2003 06:01:59 +0000 (00:01 -0600)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core

22 years agosysfs: Fixup NUMA sysfs file.
Patrick Mochel [Mon, 13 Jan 2003 05:55:37 +0000 (23:55 -0600)]
sysfs: Fixup NUMA sysfs file.

- Remove count and off parameters from per-node meminfo show() method.

22 years agosysfs: Fixup MCA sysfs files.
Patrick Mochel [Mon, 13 Jan 2003 05:52:11 +0000 (23:52 -0600)]
sysfs: Fixup MCA sysfs files.

- Remove count and off parameters from show() methods.
- Remove manual handling of reading from an offset, since the sysfs core
  handles that now.
- Remove temp. buffer.

22 years agosysfs: Fixup s390 sysfs files.
Patrick Mochel [Mon, 13 Jan 2003 05:44:42 +0000 (23:44 -0600)]
sysfs: Fixup s390 sysfs files.

- Remove count and off parameters from show() methods.
- Remove off parameter from store() methods.

Note 1: These have not been tested, but should be obviously correct.

Note 2: snprintf() was replaced with sprintf() where the filled buffer
would obviously be < PAGE_SIZE. (like when printing single integer values).
In places where strings were printed, PAGE_SIZE is used as the max string
size.

22 years agosysfs: fixup SCSI sysfs files
Patrick Mochel [Mon, 13 Jan 2003 05:38:44 +0000 (23:38 -0600)]
sysfs: fixup SCSI sysfs files

- Reinstate count parameter for store() methods.
- Remove off parameter from st.c and osst.c sysfs methods.
- Remove count parameter from st.c and osst.c show() methods.

22 years agosysfs: reinstate count parameter for PNP store() methods.
Patrick Mochel [Mon, 13 Jan 2003 05:34:28 +0000 (23:34 -0600)]
sysfs: reinstate count parameter for PNP store() methods.

22 years agosysfs: reinstate count parameter to sysfs_ops.store() methods.
Patrick Mochel [Mon, 13 Jan 2003 04:48:02 +0000 (22:48 -0600)]
sysfs: reinstate count parameter to sysfs_ops.store() methods.

- Fixup struct device_attribute.
- Fix the default device attributes.

22 years agosysfs: reinstate count parameter for sysfs_ops.store() methods.
Patrick Mochel [Mon, 13 Jan 2003 04:34:13 +0000 (22:34 -0600)]
sysfs: reinstate count parameter for sysfs_ops.store() methods.

- Fixup bus, driver, and class methods.

22 years agosysfs: restore count parameter to struct sysfs_ops::store().
Patrick Mochel [Mon, 13 Jan 2003 03:58:45 +0000 (21:58 -0600)]
sysfs: restore count parameter to struct sysfs_ops::store().

- Fixup subsys_sysfs_ops along the way.