]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[PATCH] ia64: correct ino_t to be 64 bits wide
Nathan Scott [Wed, 15 Oct 2003 03:17:22 +0000 (20:17 -0700)]
[PATCH] ia64: correct ino_t to be 64 bits wide

This brings the kernel in sync with glibc (and all other 64-bit platforms
other than Alpha and S390x).  This fixes ustat() and breaks nfsctl_export,
but the latter is a deprecated interface anyhow (newer versions of
nfsutils use "exportfs" instead).

22 years agoia64: Fix __delay() to do The Right Thing. In practice, this may
David Mosberger [Wed, 15 Oct 2003 03:13:31 +0000 (20:13 -0700)]
ia64: Fix __delay() to do The Right Thing.  In practice, this may
cause BogoMIPS to drop to half the clock-speed with current
versions of GCC, but this just shows that GCC doesn't generate
very good code for single-cycle loops.  Perhaps it will motivate
someone to improve GCC in this area (though it's hardly of
practical value, other than for producing large BogoMIPS values).

22 years ago[PATCH] ia64: force on appropriate generic options
Jesse Barnes [Wed, 15 Oct 2003 02:40:18 +0000 (19:40 -0700)]
[PATCH] ia64: force on appropriate generic options

Make sure that generic kernels actually build by forcing on the
necessary options.  With this patch I was able to build a generic kernel
out of the to-linus-2.5 tree.

22 years ago[PATCH] ia64: drop bogus "now < last_tick" message
Ian Wienand [Tue, 14 Oct 2003 09:54:10 +0000 (02:54 -0700)]
[PATCH] ia64: drop bogus "now < last_tick" message

itc_get_offset() has a consistency check which is no longer valid now that
xtime_lock is a seq_lock.  Drop the bogus check.

22 years ago[PATCH] ia64: SN2 module fix
Jesse Barnes [Tue, 14 Oct 2003 09:52:05 +0000 (02:52 -0700)]
[PATCH] ia64: SN2 module fix

Because we're the only platform with seperate in, out, and read
routines, we have to include the file that defines them in our machvec
header so that users of the functions will get the right defines and not
use the non-inline function variants (which are only necessary for
generic kernels).

22 years ago[PATCH] ia64: Another MCA fix
Tony Luck [Tue, 14 Oct 2003 09:45:42 +0000 (02:45 -0700)]
[PATCH] ia64: Another MCA fix

The definition of the pal_process_state_info_s structure
misses out some useful pieces (e.g. the "mi" bit which indicates
whether we should call PAL_MC_ERROR_INFO to get more details).

Worse yet, some of the bits are in the wrong places (cc/tc/bc).

See Volume 2 of "Intel Itanium Architecture Software Developer's
Manual".  (In the Rev 2.1 October 2002 edition, p. 2:268 and 2:276).

22 years ago[PATCH] ia64: cannot convert region 5 address to physical by clearing bits 63:61
Tony Luck [Mon, 13 Oct 2003 07:07:56 +0000 (00:07 -0700)]
[PATCH] ia64: cannot convert region 5 address to physical by clearing bits 63:61

Another no-brainer bug fix snipped out of the quagmire of
the MCA/TLB patch.  This one is for 2.6 only, we must use
the new LOAD_PHYSICAL() macro to get the physical address of
the code label that we want to jump to, the INST_VA_TO_PA()
macro just clears the region bits, which only works for region
7 addresses.

22 years ago[PATCH] ia64: infinite loop in ia64_mca_wakeup_ipi_wait
Tony Luck [Mon, 13 Oct 2003 07:02:43 +0000 (00:02 -0700)]
[PATCH] ia64: infinite loop in ia64_mca_wakeup_ipi_wait

This bugfix has been hiding inside the MCA TLB patches.

There is an infinite loop in ia64_mca_wakeup_ipi_wait() because
the compiler optimizes away the test at the bottom of the while
loop.  It does this because IA64_MCA_WAKEUP_VECTOR is 0xf0, so
irr_bit is known to be the constant 0x30, a.k.a. 48 in decimal.
So when the compiler looks at the expression:

It observes that 1' as unsigned
long.

22 years ago[PATCH] ia64: nable SN2 in generic builds
Jesse Barnes [Fri, 10 Oct 2003 11:35:59 +0000 (04:35 -0700)]
[PATCH] ia64: nable SN2 in generic builds

Now that it works, we can enable sn2 in generic builds.  This should not
only allow generic kernels to work on sn2, but also fix the build
problems people have been seeing with the qla1280 driver.  I tested a
generic kernel built with this patch on zx1 and it worked.

22 years ago[PATCH] ia64: fix register numbers in MCA save/restore
Tony Luck [Fri, 10 Oct 2003 09:53:34 +0000 (02:53 -0700)]
[PATCH] ia64: fix register numbers in MCA save/restore

This corrects the save/restore code in mca_asm.S
which was written long ago, before the assembler understood
mnemonic names for 'cr' and 'ar' registers (in fact it
appears to have been written pre-silicon, some of the
control register numbers don't match with what actually
got built).  There were other goofs too (like using
0, 1, 2, etc. for region register subscripts).

22 years ago[PATCH] ia64: fix NUMA boot
Jesse Barnes [Fri, 10 Oct 2003 09:19:38 +0000 (02:19 -0700)]
[PATCH] ia64: fix NUMA boot

Now that the ACPI table parsing stuff has been fixed we can move
find_memory() back where it belongs--after the SRAT table has been
parsed.

22 years agoia64: Patch by Jesse Barnes:
David Mosberger [Fri, 10 Oct 2003 09:17:14 +0000 (02:17 -0700)]
ia64: Patch by Jesse Barnes:

This patch fixes the combination of CONFIG_DISCONTIGMEM and
CONFIG_VIRTUAL_MEM_MAP so that generic kernels will work on all ia64
platforms, including sn2, and also makes sn2 specific kernels work
(which I think is a first).

I've cleaned this patch up heavily based on feedback from yourself,
Christoph and others.  I've tested sn2, zx1, and dig (thanks Xavier!)
specific configurations, as well as a generic configuration that allows
the same binary to boot on zx1, dig, and sn2.

22 years ago[PATCH] ia64: 2nd step to fix GENERIC builds: split contig and discontig paging_init...
Jesse Barnes [Fri, 10 Oct 2003 09:14:31 +0000 (02:14 -0700)]
[PATCH] ia64: 2nd step to fix GENERIC builds: split contig and discontig paging_init functions

22 years ago[PATCH] ia64: fix misnamed syscalls
Andreas Schwab [Fri, 10 Oct 2003 07:00:18 +0000 (00:00 -0700)]
[PATCH] ia64: fix misnamed syscalls

This fixes a misnomer of some syscalls in 2.6.0-test[567].  Glibc wants
them without the sys_ infix.

22 years ago[PATCH] ia64: fix SN2 interrupt allocation
Jesse Barnes [Fri, 10 Oct 2003 06:59:13 +0000 (23:59 -0700)]
[PATCH] ia64: fix SN2 interrupt allocation

Patch from Christoph.  Fixes interrupt allocation code for sn2.

22 years ago[PATCH] ia64: Fix unaligned faults in IA-32 putstat64
Arun Sharma [Fri, 10 Oct 2003 06:57:41 +0000 (23:57 -0700)]
[PATCH] ia64: Fix unaligned faults in IA-32 putstat64

This seems to be introduced by recent changes in 2.6.0-test series.

22 years ago[PATCH] ia64: fix ia32 epoll emulation warnings
Arun Sharma [Thu, 9 Oct 2003 11:13:34 +0000 (04:13 -0700)]
[PATCH] ia64: fix ia32 epoll emulation warnings

22 years ago[PATCH] ia64: drop stale check for GAS_HAS_LOCAL_TAGS
Peter Chubb [Thu, 9 Oct 2003 10:19:19 +0000 (03:19 -0700)]
[PATCH] ia64: drop stale check for GAS_HAS_LOCAL_TAGS

GAS_HAS_LOCAL_TAGS was removed a long time ago, but uaccess.h never got
updated.  Without this fix, bad syscall args may cause a SEGFAULT instead
of failing gracefully.

22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Thu, 9 Oct 2003 09:09:56 +0000 (02:09 -0700)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

22 years ago[PATCH] ia64: fix NUMA hugetlb support
Kenneth W. Chen [Thu, 9 Oct 2003 09:02:14 +0000 (02:02 -0700)]
[PATCH] ia64: fix NUMA hugetlb support

Here is a patch that adds numa support for hugetlb page on ia64.  It is
taken from x86 numa implementation.  The low level hugetlb page
pre-allocation is done in round robin fashion on each numa node and
allocation for user level code is node local aware.

22 years ago[PATCH] ia64: deal with lack of SRAT in GENERIC kernels
Jesse Barnes [Thu, 9 Oct 2003 06:59:30 +0000 (23:59 -0700)]
[PATCH] ia64: deal with lack of SRAT in GENERIC kernels

n platforms without an SRAT (e.g. zx1), the cpu_to_node_map will get
built incorrectly without this fix, making generic kernels fail when
they try to alloc_pages_node() from a nodeid of -1.

22 years ago[PATCH] ia64: early SN setup fix
Jesse Barnes [Thu, 9 Oct 2003 06:53:55 +0000 (23:53 -0700)]
[PATCH] ia64: early SN setup fix

Small fix to build early_sn_setup even if early printk is turned off.

22 years ago[PATCH] ia64: fix is_headless_node() for systems w/<64p
Jesse Barnes [Thu, 9 Oct 2003 06:51:05 +0000 (23:51 -0700)]
[PATCH] ia64: fix is_headless_node() for systems w/<64p

I didn't realize that any_online_cpu() wouldn't work for
is_headless_node(), so this patch reverts the function back to using the
node_to_cpu_mask[] array, fixing sn2 for systems with less than 64p.

22 years ago[PATCH] ia64: fix SN2 code for GENERIC builds
Jesse Barnes [Thu, 9 Oct 2003 06:39:48 +0000 (23:39 -0700)]
[PATCH] ia64: fix SN2 code for GENERIC builds

Don't try to use the sn2 I/O code if we're not on sn2 or we may get into
trouble.  Only makes a difference for generic kernels.

22 years ago[PATCH] ia64: fix NUMA page table allocation to get memory from the right node
Jesse Barnes [Thu, 9 Oct 2003 03:39:34 +0000 (20:39 -0700)]
[PATCH] ia64: fix NUMA page table allocation to get memory from the right node

22 years ago[PATCH] ia64: sys_ia32.c fix for epoll
Janet Morgan [Wed, 8 Oct 2003 10:45:05 +0000 (03:45 -0700)]
[PATCH] ia64: sys_ia32.c fix for epoll

I ran into some bugs testing epoll in ia32-emulation mode on ia64.
The attached patch fixes the problems and is well tested.
Here is a summary of the changes:

Changes to sys32_epoll_ctl() and sys32_epoll_wait():
- changed epoll_event32.data to an array (this is subjective, but seems
to make the code more readable)

Changes to sys32_epoll_wait():
- added call to __get_free_pages if kmalloc(epoll_event array) fails.  This
  provides needed scalability and fixes the -ENOMEM failure during
epoll-pipetest.
- deleted copy-in of epoll_event array since this is not a user-inputsyscall
- changed to check numevents > 0 as indicator of success on call to
  sys_epoll_wait.
- changed to loop on numevents not maxevents when copying out to userspace.

22 years agoLinux 2.6.0-test7 v2.6.0-test7
Linus Torvalds [Wed, 8 Oct 2003 05:20:09 +0000 (22:20 -0700)]
Linux 2.6.0-test7

22 years ago[PATCH] monotonic seqlock for HPET timer
Stephen Hemminger [Wed, 8 Oct 2003 05:07:34 +0000 (22:07 -0700)]
[PATCH] monotonic seqlock for HPET timer

Replace read/write lock used for HPET timer monotonic_lock with seqlock.
Similar to locking used on xtime and monotonic_lock in timers/timer_tsc.c

22 years ago[PATCH] monotonic seqlock for cyclone timer
Stephen Hemminger [Wed, 8 Oct 2003 05:07:25 +0000 (22:07 -0700)]
[PATCH] monotonic seqlock for cyclone timer

Replace read/write lock used for cyclone timer monotonic_lock with seqlock.
Similar to locking used on xtime and monotonic_lock in timers/timer_tsc.c

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Wed, 8 Oct 2003 03:55:08 +0000 (20:55 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[UDP]: Fix typo in SO_BINDTODEVICE changes.
David S. Miller [Wed, 8 Oct 2003 03:17:14 +0000 (20:17 -0700)]
[UDP]: Fix typo in SO_BINDTODEVICE changes.

22 years ago[NET]: Fix 64-bit bugs in dscc4.c
Andi Kleen [Wed, 8 Oct 2003 03:02:04 +0000 (20:02 -0700)]
[NET]: Fix 64-bit bugs in dscc4.c

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Wed, 8 Oct 2003 02:53:19 +0000 (19:53 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ATM]: Convert VCC list to hash.
Chas Williams [Wed, 8 Oct 2003 02:14:03 +0000 (19:14 -0700)]
[ATM]: Convert VCC list to hash.

22 years ago[ATM]: Eliminate atm_find_ci().
Chas Williams [Wed, 8 Oct 2003 02:11:48 +0000 (19:11 -0700)]
[ATM]: Eliminate atm_find_ci().

22 years ago[VLAN]: Do not modify the data of shared SKBs.
Tommy Christensen [Wed, 8 Oct 2003 02:01:26 +0000 (19:01 -0700)]
[VLAN]: Do not modify the data of shared SKBs.

22 years agoRevert the move of ptrinfo - it may make NOMMU compile, but it
Linus Torvalds [Wed, 8 Oct 2003 01:59:34 +0000 (18:59 -0700)]
Revert the move of ptrinfo - it may make NOMMU compile, but it
breaks everybody else.

Instead, fix the NOMMU case by avoiding the part that walks page
tables.

22 years ago[IPVS]: Avoid returning NF_DROP from the packet schedulers.
Julian Anastasov [Wed, 8 Oct 2003 01:51:08 +0000 (18:51 -0700)]
[IPVS]: Avoid returning NF_DROP from the packet schedulers.

22 years ago[PATCH] firmware blob for new DVB-T frontend driver
Michael Hunold [Wed, 8 Oct 2003 01:48:20 +0000 (18:48 -0700)]
[PATCH] firmware blob for new DVB-T frontend driver

22 years ago[PATCH] fix v4l1 backward compatibility in saa7146 driver
Michael Hunold [Wed, 8 Oct 2003 01:48:11 +0000 (18:48 -0700)]
[PATCH] fix v4l1 backward compatibility in saa7146 driver

 - fix VIDIOC_S_FBUF for v4l1 backward compatility with xfree86 / v4l_drv

22 years ago[PATCH] some more av7110 dvb-driver updates
Michael Hunold [Wed, 8 Oct 2003 01:48:03 +0000 (18:48 -0700)]
[PATCH] some more av7110 dvb-driver updates

 - some progress on DVB-C analog module: experimentally fix frequency
   offset, initialize msp3400 for analog TV sound
 - Reduce the number of dropped TS packets when an error is detected
   (Jon Burgess)
 - If somebody calls G_TUNER for a DVB-C card w/ analog module, then
   check for the selected tuner, not if the currently selected channel
   has a tuner.
 - play_iframe may be used to play stillpicture frames, that can either
   by complete i-frames or partial p-frames.  In any case, the av7110
   needs about 400kB of video data, before the internal video decoder
   starts displaying anything.  for stillframes, this is bad, so we
   *always* loop writing the frame until the magic amount is reached.
   stupid, but works...
 - applied 64bit fixes by Pedro Miguel Teixeira <pmsjt@warner.homeip.net

22 years ago[PATCH] Kconfig and Makefile updates, inspired by Adrian Bunk and Roman Zippel
Michael Hunold [Wed, 8 Oct 2003 01:47:54 +0000 (18:47 -0700)]
[PATCH] Kconfig and Makefile updates, inspired by Adrian Bunk and Roman Zippel

 - split up saa7146 compilation in core part (saa7146.o) and video+vbi
   part (saa7146_vv).  some drivers need both (av7110.c), some drivers
   only need the core stuff (budget*.c)
 - add entry for sp887x DVB-T modulator to corresponding Kconfig
 - use new SELECT facility of Kconfig, first mentioned by Adrian Bunk
   and Roman Zippel in DVB subsystem
 - use SELECT in media/video/Kconfig, too.

22 years ago[PATCH] update dvb frontend drivers
Michael Hunold [Wed, 8 Oct 2003 01:47:45 +0000 (18:47 -0700)]
[PATCH] update dvb frontend drivers

 - add budget driver as possible client of the ves1820 frontend driver
 - fix wrong include in sp887x.c frontend driver
 - fix wrong chip description in tda1004xh frontend driver
 - fixed detection of stv0299 if chip is in standby mode
 - change some #ifdef to #if, for easier debug enable/disable
 - ves1820: patch by Peter Bieringer: nicer log output
 - ves1820: allow PWM (tuner calibaration) value from EEPROM to be
   overridden on command line (based on patch by Peter Bieringer).  New
   module paramters: "pwm" (max 4 ints, range -1..0xff) and "verbose"
   (to print AFC value aftger tuning).

22 years ago[PATCH] various av7110 dvb-driver updates
Michael Hunold [Wed, 8 Oct 2003 01:47:36 +0000 (18:47 -0700)]
[PATCH] various av7110 dvb-driver updates

 - various av7110 updates

22 years ago[PATCH] various patches for non-av7110 dvb-drivers
Michael Hunold [Wed, 8 Oct 2003 01:47:27 +0000 (18:47 -0700)]
[PATCH] various patches for non-av7110 dvb-drivers

 - patch by Jon Burgess to fix DMA issues
 - reduce the number of dropped TS packets when an error is detected
   (Jon Burgess)
 - use budget-ci driver for new TT DVB-T cards with onboard MSP430.

22 years ago[PATCH] usual c99 initializer fixes
Michael Hunold [Wed, 8 Oct 2003 01:47:20 +0000 (18:47 -0700)]
[PATCH] usual c99 initializer fixes

 - the usual c99 initialization fixes all over the DVB place

22 years ago[PATCH] update copyright and licensing
Michael Hunold [Wed, 8 Oct 2003 01:47:11 +0000 (18:47 -0700)]
[PATCH] update copyright and licensing

 - fix copyright stuff in various files:
   - remove e-mail addresses that don't exist anymore, but of course keep
     the names
   - change license from GPL to LGPL in dvb_i2c.h (Convergence code)
   - change license from GPL to LGPL in dvb_ringbuffer.h (ack by original
     author Oliver Endriss)
   - add LGPL license to dvb_functions

22 years ago[PATCH] multiple device *read* opens support
Michael Hunold [Wed, 8 Oct 2003 01:47:02 +0000 (18:47 -0700)]
[PATCH] multiple device *read* opens support

 - allow multiple read device opens

22 years ago[PATCH] video capture updates for saa7146 core
Michael Hunold [Wed, 8 Oct 2003 01:46:54 +0000 (18:46 -0700)]
[PATCH] video capture updates for saa7146 core

 - some Kconfig simplifications
 - FIELD_ALTERNATE capture was broken, add a "wait for vbi" command
   before actually waiting for the field change
 - improvements regarding streaming capture to gfx card memory.
 - captured frames could only be page aligned.  fixed.
 - fix pgtable_build_single, it should work for all kinds of buffers now
   (system memory (kernel/user) and gfx-memory)
 - Fix bytesperline-calculation for V4L2_FIELD_ALTERNATE vs.
   V4L2_FIELD_INTERLACED capture

22 years ago[PATCH] add new DVB-T frontend driver
Michael Hunold [Wed, 8 Oct 2003 01:46:46 +0000 (18:46 -0700)]
[PATCH] add new DVB-T frontend driver

 - add new DVB-T frontend driver sp887x.c

22 years ago[PATCH] firmware update for av7110 dvb driver
Michael Hunold [Wed, 8 Oct 2003 01:46:36 +0000 (18:46 -0700)]
[PATCH] firmware update for av7110 dvb driver

 - av7110 DVB driver firmware update.  don't worry: we're planning to
   switch to firmware_class soon...

22 years ago[NET]: Convert dvb-net to use alloc_netdev().
Stephen Hemminger [Wed, 8 Oct 2003 01:46:27 +0000 (18:46 -0700)]
[NET]: Convert dvb-net to use alloc_netdev().

22 years ago[NET]: Fix obvious 64bit bug/warning in farsync.c
Andi Kleen [Wed, 8 Oct 2003 01:43:06 +0000 (18:43 -0700)]
[NET]: Fix obvious 64bit bug/warning in farsync.c

22 years ago[BRIDGE]: Let {ip,arp}tables see bridged VLAN packets.
Bart De Schuymer [Wed, 8 Oct 2003 01:39:56 +0000 (18:39 -0700)]
[BRIDGE]: Let {ip,arp}tables see bridged VLAN packets.

22 years ago[PATCH] unify drivers/Kconfig
Matthew Wilcox [Wed, 8 Oct 2003 01:33:21 +0000 (18:33 -0700)]
[PATCH] unify drivers/Kconfig

It's a pain for architecture maintainers to keep the toplevel Kconfig
files in sync.  This addresses part of the problem by moving all the
standard driver includes to drivers/Kconfig.  As a bonus, it moves all
the device drivers together in a menu which tames menuconfig somewhat.

This patch only touches i386.  Other architectures can join the party
as soon as they feel ready to inflict all the choices on their userbase.

22 years ago[UDP/TCP]: Fix binding conflict tests wrt. SO_BINDTODEVICE.
David S. Miller [Wed, 8 Oct 2003 01:33:00 +0000 (18:33 -0700)]
[UDP/TCP]: Fix binding conflict tests wrt. SO_BINDTODEVICE.

22 years ago[PATCH] Changes to v850 platform linker-script fragments
Miles Bader [Wed, 8 Oct 2003 01:32:54 +0000 (18:32 -0700)]
[PATCH] Changes to v850 platform linker-script fragments

This does two things:

 (1) Move the v850 platform-specific linker-script fragments into
     arch/v850/kernel, from arch/v850.  This move was prompted by a
     recent (all-architecture) move for vmlinux.lds.S, to keep the
     script together, but I think it also makes sense -- this way, all
     platform-specific non-header files are in the same directory with
     similar names.

 (2) Remove some hardwired constants in the linker script fragments,
     using already defined cpp macros anyway.  This eliminates one
     annoying source of duplicate definitions (which had to be kept in
     sync).

22 years ago[PATCH] Move `ptrinfo' function from mm/slab.c to mm/memory.c
Miles Bader [Wed, 8 Oct 2003 01:28:30 +0000 (18:28 -0700)]
[PATCH] Move `ptrinfo' function from mm/slab.c to mm/memory.c

This function doesn't compile on non-MMU systems, so put it in a place
where it won't cause problems (mm/memory.c is only compiled if
CONFIG_MMU is defined).

22 years ago[PATCH] Update v850 Kconfig debugging menu
Miles Bader [Wed, 8 Oct 2003 01:17:05 +0000 (18:17 -0700)]
[PATCH] Update v850 Kconfig debugging menu

22 years ago[PATCH] Remove some old debugging stuff on the v850
Miles Bader [Wed, 8 Oct 2003 01:16:49 +0000 (18:16 -0700)]
[PATCH] Remove some old debugging stuff on the v850

22 years ago[PATCH] Add sched_clock on v850
Miles Bader [Wed, 8 Oct 2003 01:16:36 +0000 (18:16 -0700)]
[PATCH] Add sched_clock on v850

This is a horrid implementation, but whatever.

22 years ago[PATCH] Triple the memory size used on the v850 gdb simulator
Miles Bader [Wed, 8 Oct 2003 01:16:27 +0000 (18:16 -0700)]
[PATCH] Triple the memory size used on the v850 gdb simulator

22 years ago[USB]: Fix encapsulation of int inside of pointer in code/file.c
David S. Miller [Wed, 8 Oct 2003 01:06:49 +0000 (18:06 -0700)]
[USB]: Fix encapsulation of int inside of pointer in code/file.c

22 years ago[NFS]: Fix printf format warnings in fs/nfs/nfs4xdr.c.
David S. Miller [Wed, 8 Oct 2003 01:03:10 +0000 (18:03 -0700)]
[NFS]: Fix printf format warnings in fs/nfs/nfs4xdr.c.

22 years ago[SUNRPC]: Printf pointers correctly.
David S. Miller [Wed, 8 Oct 2003 00:58:51 +0000 (17:58 -0700)]
[SUNRPC]: Printf pointers correctly.

22 years ago[SPARC64]: Export csum_partial().
David S. Miller [Tue, 7 Oct 2003 23:52:44 +0000 (16:52 -0700)]
[SPARC64]: Export csum_partial().

22 years agoMerge bk://kernel.bkbits.net/acme/ksyms-2.6
Linus Torvalds [Tue, 7 Oct 2003 13:59:04 +0000 (06:59 -0700)]
Merge bk://kernel.bkbits.net/acme/ksyms-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoo kernel/ksyms.c: move remaining EXPORT_SYMBOLs, remove this file from the tree
Arnaldo Carvalho de Melo [Tue, 7 Oct 2003 20:54:04 +0000 (17:54 -0300)]
o kernel/ksyms.c: move remaining EXPORT_SYMBOLs, remove this file from the tree

22 years agoo kernel/ksyms.c: move remaining fs/*.c EXPORT_SYMBOLs
Arnaldo Carvalho de Melo [Tue, 7 Oct 2003 19:56:44 +0000 (16:56 -0300)]
o kernel/ksyms.c: move remaining fs/*.c EXPORT_SYMBOLs

22 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Trond Myklebust [Tue, 7 Oct 2003 16:58:21 +0000 (12:58 -0400)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5

22 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Trond Myklebust [Tue, 7 Oct 2003 16:53:46 +0000 (12:53 -0400)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5

22 years agoClean up the nfs4_stateid and nfs4_verifier typedefs.
Trond Myklebust [Tue, 7 Oct 2003 16:52:45 +0000 (12:52 -0400)]
Clean up the nfs4_stateid and nfs4_verifier typedefs.
Convert them into structures

22 years agoNFSv4 state model update
Trond Myklebust [Tue, 7 Oct 2003 16:51:33 +0000 (12:51 -0400)]
NFSv4 state model update

  - Hierarchy of state attached to nfs4_client in order to
    simplify state recovery.
    state_owners hang off nfs4_client, whereas state hangs
    off both open_owners and the nfs_inode.

  - Model tries to minimize the number of open_owners on
    the server by recycling unused open_owners into a pool.

  - NFSv4 state attached to file->private_data. Previously
    this was used by credentials (and still is for NFSv2/v3)
    Abstract out setup/release of struct file and nfs_page
    structure initialization in order to cope with these
    conflicting uses of private_data.

22 years agoSimplify NFS synchronous write call interface. Pass
Trond Myklebust [Tue, 7 Oct 2003 12:02:09 +0000 (08:02 -0400)]
Simplify NFS synchronous write call interface. Pass
a pointer to a filled nfs_write_data struct like we
do for asynchronous function calls

22 years agoSimplify the synchronous NFS read call interface by
Trond Myklebust [Tue, 7 Oct 2003 11:59:42 +0000 (07:59 -0400)]
Simplify the synchronous NFS read call interface by
passing a pointer to a filled nfs_read_data structure
(the same struct used by the asynchronous function calls)

22 years agoThe NFSv4 state model assumes that the client machine identifies
Trond Myklebust [Tue, 7 Oct 2003 11:50:48 +0000 (07:50 -0400)]
The NFSv4 state model assumes that the client machine identifies
itself to the server once and once only.
This patch ensures that we do this by sharing the local identifier
struct nfs4_client among all mountpoints that talk to the same
server/ip address.

22 years agoRename the struct "nfs4_shareowner". The name was confusing
Trond Myklebust [Tue, 7 Oct 2003 11:46:31 +0000 (07:46 -0400)]
Rename the struct "nfs4_shareowner". The name was confusing
and didn't really relate to any of the RFCs.

Replace with the more descriptive "nfs4_state_owner".

22 years agoClean up the nfs_fhget() function. Have the called pass the
Trond Myklebust [Tue, 7 Oct 2003 11:43:43 +0000 (07:43 -0400)]
Clean up the nfs_fhget() function. Have the called pass the
superblock as a parameter instead of passing it in the form
of a dentry.

22 years agoFix an Oops in the NFSv4 asynchronous unlink code. The v4
Trond Myklebust [Tue, 7 Oct 2003 11:40:54 +0000 (07:40 -0400)]
Fix an Oops in the NFSv4 asynchronous unlink code. The v4
getattr "bitmap" was allocated on the stack.

Make it use the bitmaps already allocated for that purpose
in the nfs_fattr struct.

22 years agoIncrease the NFS readahead so that we at least fill the RPC
Trond Myklebust [Tue, 7 Oct 2003 11:37:34 +0000 (07:37 -0400)]
Increase the NFS readahead so that we at least fill the RPC
slot table.

22 years agoFix up hangs with the upcall mechanism for RPCSEC_GSS and the
Trond Myklebust [Tue, 7 Oct 2003 11:35:49 +0000 (07:35 -0400)]
Fix up hangs with the upcall mechanism for RPCSEC_GSS and the
NFSv4 idmapper.

 - Correct bugs in idmapper wait code.
 - Correct layering bugs in RPCSEC_GSS and idmapper
 - Ensure we advance the file pointer in case of partial
   reads/writes of a message on the pipes

22 years agoMake the client act correctly if the RPC server's asserts
Trond Myklebust [Tue, 7 Oct 2003 11:31:56 +0000 (07:31 -0400)]
Make the client act correctly if the RPC server's asserts
that it does not support a given program, version or
procedure call.

22 years agoUDP round trip timer fix. Modify Karn's algorithm so that
Trond Myklebust [Tue, 7 Oct 2003 11:30:00 +0000 (07:30 -0400)]
UDP round trip timer fix. Modify Karn's algorithm so that
we inherit timeouts from previous requests.
This means that we lengthen the window of time during which
we accept updates to the RTO estimate if we see an update.

Scheme proposed by Brian Mancuso, but it is standard for TCP
congestion control implementations.

22 years agoFix up recent net/ipv4/ipconfig.c typo breakage.
Linus Torvalds [Tue, 7 Oct 2003 10:37:50 +0000 (03:37 -0700)]
Fix up recent net/ipv4/ipconfig.c typo breakage.

22 years ago[PATCH] asus_acpi: don't include modversions.h
Arnaldo Carvalho de Melo [Tue, 7 Oct 2003 10:15:30 +0000 (03:15 -0700)]
[PATCH] asus_acpi: don't include modversions.h

This fixes asus_acpi.c when doing a modular build

22 years agoAvoid warnings in uid/gid usage by making the assignment
Linus Torvalds [Tue, 7 Oct 2003 07:58:01 +0000 (00:58 -0700)]
Avoid warnings in uid/gid usage by making the assignment
unconditional. Simplify the macros.

22 years ago[PATCH] fix warning in mm/memory for SWAP=n
Randy Dunlap [Tue, 7 Oct 2003 07:47:20 +0000 (00:47 -0700)]
[PATCH] fix warning in mm/memory for SWAP=n

Avoid "statement with no effect" warning by making the macro
that doesn't do anything an inline function instead.

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Tue, 7 Oct 2003 03:26:10 +0000 (20:26 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[CPUFREQ] Add VIA Nehemiah scaling ratios.
Dave Jones [Tue, 7 Oct 2003 18:52:44 +0000 (19:52 +0100)]
[CPUFREQ] Add VIA Nehemiah scaling ratios.

22 years ago[CPUFREQ] Fix misnaming of VIA Samuel2 CPUs.
Dave Jones [Tue, 7 Oct 2003 18:48:06 +0000 (19:48 +0100)]
[CPUFREQ] Fix misnaming of VIA Samuel2 CPUs.
670 -> 677 = Samuel 2
678 -> 67f = Ezra

22 years ago[CPUFREQ] cleanup longhaul header file.
Dave Jones [Tue, 7 Oct 2003 18:40:01 +0000 (19:40 +0100)]
[CPUFREQ] cleanup longhaul header file.
Group processor tables together correctly.

22 years ago[CPUFREQ] Ratio table renames longhaul3/c3m -> ezrat
Dave Jones [Tue, 7 Oct 2003 18:35:02 +0000 (19:35 +0100)]
[CPUFREQ] Ratio table renames longhaul3/c3m -> ezrat

22 years ago[CPUFREQ] More ratio table renames. longhaul2 -> ezra
Dave Jones [Tue, 7 Oct 2003 18:32:43 +0000 (19:32 +0100)]
[CPUFREQ] More ratio table renames. longhaul2 -> ezra

22 years ago[CPUFREQ] Document early samuel2 ratios.
Dave Jones [Tue, 7 Oct 2003 18:31:15 +0000 (19:31 +0100)]
[CPUFREQ] Document early samuel2 ratios.
Preemptively stop some good intentioned janitor coming along and "fixing a typo".

22 years ago[CPUFREQ] Rename longhaul frequency tables. longhaul1 -> samuel1
Dave Jones [Tue, 7 Oct 2003 18:29:05 +0000 (19:29 +0100)]
[CPUFREQ] Rename longhaul frequency tables. longhaul1 -> samuel1

22 years ago[CPUFREQ] Enable support for VIA Ezra-T processors in longhaul driver.
Dave Jones [Tue, 7 Oct 2003 18:23:34 +0000 (19:23 +0100)]
[CPUFREQ] Enable support for VIA Ezra-T processors in longhaul driver.
The current tables we had have been confirmed as safe by VIA.

22 years ago[CPUFREQ] Fix documentation pathname typos.
Dave Jones [Tue, 7 Oct 2003 18:19:10 +0000 (19:19 +0100)]
[CPUFREQ] Fix documentation pathname typos.
Spotted by Pavel Machek.

22 years ago[CPUFREQ] Fix my breakage of Dominik's powernow-k8 ->govenor fix.
Dave Jones [Tue, 7 Oct 2003 18:15:48 +0000 (19:15 +0100)]
[CPUFREQ] Fix my breakage of Dominik's powernow-k8 ->govenor fix.

Hand-applying simple diffs considered harmful.

22 years ago[CPUFREQ] powernow-k8 Namespace cleanups.
Dave Jones [Tue, 7 Oct 2003 18:11:49 +0000 (19:11 +0100)]
[CPUFREQ] powernow-k8 Namespace cleanups.
More bits from Pavel. drv_* in oopses is pretty uninformative.

22 years ago[CPUFREQ] find_closest_fid() can be static.
Dave Jones [Tue, 7 Oct 2003 18:05:02 +0000 (19:05 +0100)]
[CPUFREQ] find_closest_fid() can be static.
Spotted by Pavel Machek.