platform/upstream/kernel-adaptation-pc.git
18 years ago[PATCH] remove TIOCGSERIAL/TIOCSSERIAL compat_ioctl entries for 390
Christoph Hellwig [Tue, 10 Jan 2006 04:52:05 +0000 (20:52 -0800)]
[PATCH] remove TIOCGSERIAL/TIOCSSERIAL compat_ioctl entries for 390

These ioctls are definitely not compat clean, but we already have a proper
handler in common code, over-riding it in architecture code is
counter-productive.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] switch fs3270 to ->compat_ioctl
Christoph Hellwig [Tue, 10 Jan 2006 04:52:04 +0000 (20:52 -0800)]
[PATCH] switch fs3270 to ->compat_ioctl

Again easy because all ioctls are compat clean.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] __deprecated_for_modules the lookup_hash() prototype
Adrian Bunk [Tue, 10 Jan 2006 04:52:03 +0000 (20:52 -0800)]
[PATCH] __deprecated_for_modules the lookup_hash() prototype

This patch __deprecated_for_modules the lookup_hash() prototype.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] remove update_atime
Christoph Hellwig [Tue, 10 Jan 2006 04:52:03 +0000 (20:52 -0800)]
[PATCH] remove update_atime

All callers use touch_atime now which takes a vfsmount and allows us to
implement per-mount noatime.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] switch autofs4 to touch_atime()
Christoph Hellwig [Tue, 10 Jan 2006 04:52:02 +0000 (20:52 -0800)]
[PATCH] switch autofs4 to touch_atime()

After my lookup_hash patch ->d_revalidate always gets a valid struct nameidata
passed (unless you use lookup_one_len which autofs4 doesn't), so we can switch
it from update_atime to touch_atime.  This is a bit of an academic excercise
because autofs has a 1:1 vfsmount superblock relation, but I want to get rid
of update_atime so filesystems authors can't easily screw up per-mountpoint
noatime support.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] replace inode_update_time with file_update_time
Christoph Hellwig [Tue, 10 Jan 2006 04:52:01 +0000 (20:52 -0800)]
[PATCH] replace inode_update_time with file_update_time

To allow various options to work per-mount instead of per-sb we need a
struct vfsmount when updating ctime and mtime.  This preparation patch
replaces the inode_update_time routine with a file_update_atime routine so
we can easily get at the vfsmount.  (and the file makes more sense in this
context anyway).  Also get rid of the unused second argument - we always
want to update the ctime when calling this routine.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Anton Altaparmakov <aia21@cantab.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] remove xfs xattr permission checks
Christoph Hellwig [Tue, 10 Jan 2006 04:52:00 +0000 (20:52 -0800)]
[PATCH] remove xfs xattr permission checks

remove checks now in the VFS

XFS has an additional xattr interface through obscure ioctl.  it requires
raised capabilities but we need to add some read-only/immutable checks anyway

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Nathan Scott <nathans@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] remove reiserfs xattr permission checks
Christoph Hellwig [Tue, 10 Jan 2006 04:51:59 +0000 (20:51 -0800)]
[PATCH] remove reiserfs xattr permission checks

remove checks now in the VFS

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] remove ext3 xattr permission checks
akpm@osdl.org [Tue, 10 Jan 2006 04:51:58 +0000 (20:51 -0800)]
[PATCH] remove ext3 xattr permission checks

\r)

From: Christoph Hellwig <hch@lst.de>

remove checks now in the VFS

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] remove ext2 xattr permission checks
akpm@osdl.org [Tue, 10 Jan 2006 04:51:58 +0000 (20:51 -0800)]
[PATCH] remove ext2 xattr permission checks

\r)

From: Christoph Hellwig <hch@lst.de>

remove checks now in the VFS

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] remove jfs xattr permission checks
Christoph Hellwig [Tue, 10 Jan 2006 04:51:57 +0000 (20:51 -0800)]
[PATCH] remove jfs xattr permission checks

remove checks now in the VFS

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] move xattr permission checks into the VFS
akpm@osdl.org [Tue, 10 Jan 2006 04:51:56 +0000 (20:51 -0800)]
[PATCH] move xattr permission checks into the VFS

\r)

From: Christoph Hellwig <hch@lst.de>

The xattr code has rather complex permission checks because the rules are very
different for different attribute namespaces.  This patch moves as much as we
can into the generic code.  Currently all the major disk based filesystems
duplicate these checks, while many minor filesystems or network filesystems
lack some or all of them.

To do this we need defines for the extended attribute names in common code, I
moved them up from JFS which had the nicest defintions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] add vfs_* helpers for xattr operations
Christoph Hellwig [Tue, 10 Jan 2006 04:51:55 +0000 (20:51 -0800)]
[PATCH] add vfs_* helpers for xattr operations

Add vfs_getxattr, vfs_setxattr and vfs_removexattr helpers for common checks
around invocation of the xattr methods.  NFSD already was missing some of the
checks and there will be more soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: James Morris <jmorris@namei.org>
(James, I haven't touched selinux yet because it's doing various odd things
and I'm not sure how it would interact with the security attribute fallbacks
you added.  Could you investigate whether it could use vfs_getxattr or if not
add a __vfs_getxattr helper to share the bits it is fine with?)

For NFSv4: instead of just converting it add an nfsd_getxattr helper for the
code shared by NFSv2/3 and NFSv4 ACLs.  In fact that code isn't even
NFS-specific, but I'll wait for more users to pop up first before moving it to
common code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Kdump documentation update
Maneesh Soni [Tue, 10 Jan 2006 04:51:53 +0000 (20:51 -0800)]
[PATCH] Kdump documentation update

Update the kdump documentation to reflect the changes due to recent kernel
config option changes for kexec and kdump.

Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kexec: change CONFIG_PHYSICAL_START dependency
Maneesh Soni [Tue, 10 Jan 2006 04:51:52 +0000 (20:51 -0800)]
[PATCH] kexec: change CONFIG_PHYSICAL_START dependency

I have heard some complaints about people not finding CONFIG_CRASH_DUMP
option and also some objections about its dependency on CONFIG_EMBEDDED.
The following patch ends that dependency.  I thought of hiding it under
CONFIG_KEXEC, but CONFIG_PHYSICAL_START could also be used for some reasons
other than kexec/kdump and hence left it visible.  I will also update the
documentation accordingly.

o Following patch removes the config dependency of CONFIG_PHYSICAL_START
  on CONFIG_EMBEDDED. The reason being CONFIG_CRASH_DUMP option for
  kdump needs CONFIG_PHYSICAL_START which makes CONFIG_CRASH_DUMP depend
  on CONFIG_EMBEDDED. It is not always obvious for kdump users to choose
  CONFIG_EMBEDDED.

o It also shifts the palce where this option appears, to make it closer
  to kexec and kdump options.

Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kexec: increase max segment limit
akpm@osdl.org [Tue, 10 Jan 2006 04:51:51 +0000 (20:51 -0800)]
[PATCH] kexec: increase max segment limit

\r)

From: Vivek Goyal <vgoyal@in.ibm.com>

- In some cases, the number of segments, on a kexec load, exceeds the
  existing cap of 8.  This patch increases the KEXEC_SEGMENT_MAX limit from 8
  to 16.

Signed-off-by: Rachita Kothiyal <rachita@in.ibm.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: read previous kernel's memory
Vivek Goyal [Tue, 10 Jan 2006 04:51:50 +0000 (20:51 -0800)]
[PATCH] kdump: read previous kernel's memory

- Moving the crash_dump.c file to arch dependent part as kmap_atomic_pfn is
  specific to i386 and highmem may not exist in other archs.

- Use ioremap for x86_64 to map the previous kernel memory.

- In copy_oldmem_page(), we now directly copy to the user/kernel buffer and
  avoid the unneccesary copy to a kmalloc'd page.

Signed-off-by: Rachita Kothiyal <rachita@in.ibm.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: x86_64 save cpu registers upon crash
Vivek Goyal [Tue, 10 Jan 2006 04:51:49 +0000 (20:51 -0800)]
[PATCH] kdump: x86_64 save cpu registers upon crash

- Saving the cpu registers of all cpus before booting in to the crash
  kernel.

- crash_setup_regs will save the registers of the cpu on which panic has
  occured.  One of the concerns ppc64 folks raised is that after capturing the
  register states, one should not pop the current call frame and push new one.
   Hence it has been inlined.  More call frames later get pushed on to stack
  (machine_crash_shutdown() and machine_kexec()), but one will not want to
  backtrace those.

- Not very sure about the CFI annotations.  With this patch I am getting
  decent backtrace with gdb.  Assuming, compiler has generated enough
  debugging information for crash_kexec().  Coding crash_setup_regs() in pure
  assembly makes it tricky because then it can not be inlined and we don't
  want to return back after capturing register states we don't want to pop
  this call frame.

- Saving the non-panicing cpus registers will be done in the NMI handler
  while shooting down them in machine_crash_shutdown.

- Introducing CRASH_DUMP option in Kconfig for x86_64.

Signed-off-by: Murali M Chakravarthy <muralim@in.ibm.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: x86_64 kexec on panic
akpm@osdl.org [Tue, 10 Jan 2006 04:51:48 +0000 (20:51 -0800)]
[PATCH] kdump: x86_64 kexec on panic

\r)

From: Vivek Goyal <vgoyal@in.ibm.com>

- Implementing the machine_crash_shutdown for x86_64 which will be called by
  crash_kexec (called in case of a panic, sysrq etc.).  Here we do things
  similar to i386.  Disable the interrupts, shootdown the cpus and shutdown
  LAPIC and IOAPIC.

Changes in this version:

- As the Eric's APIC initialization patches are reverted back, reintroducing
  LAPIC and IOAPIC shutdown.

- Added some comments on CPU hotplug, modified code as suggested by Andi
  kleen.

Signed-off-by: Murali M Chakravarthy <muralim@in.ibm.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: x86_64: add elfcorehdr command line option
Vivek Goyal [Tue, 10 Jan 2006 04:51:47 +0000 (20:51 -0800)]
[PATCH] kdump: x86_64: add elfcorehdr command line option

- elfcorehdr= specifies the location of elf core header stored by the
  crashed kernel.  This command line option will be passed by the kexec-tools
  to capture kernel.

Changes in this version :

- Added more comments in kernel-parameters.txt and in code.

Signed-off-by: Murali M Chakravarthy <muralim@in.ibm.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: x86_64: add memmmap command line option
akpm@osdl.org [Tue, 10 Jan 2006 04:51:46 +0000 (20:51 -0800)]
[PATCH] kdump: x86_64: add memmmap command line option

\r)

From: Vivek Goyal <vgoyal@in.ibm.com>

- This patch introduces the memmap option for x86_64 similar to i386.

- memmap=exactmap enables setting of an exact E820 memory map, as specified
  by the user.

Changes in this version:

- Used e820_end_of_ram() to find the max_pfn as suggested by Andi kleen.

- removed PFN_UP & PFN_DOWN macros

- Printing the user defined map also.

Signed-off-by: Murali M Chakravarthy <muralim@in.ibm.com>
Signed-off-by: Hariprasad Nellitheertha <nharipra@gmail.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Kdump: powerpc and s390 build failure fix
akpm@osdl.org [Tue, 10 Jan 2006 04:51:45 +0000 (20:51 -0800)]
[PATCH] Kdump: powerpc and s390 build failure fix

\r)

From: Vivek Goyal <vgoyal@in.ibm.com>

crash_setup_regs() is an architecture dependent function which is called in
architecture independent section.  So every architecture supporting kexec
should at least provide a dummy definition of crash_setup_regs() even if
crash dumping is not implemented yet, to avoid build failures.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Kdump: i386 compiler warning fix
Vivek Goyal [Tue, 10 Jan 2006 04:51:44 +0000 (20:51 -0800)]
[PATCH] Kdump: i386 compiler warning fix

Fixes a compilation warning message in i386

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: save registers early (inline functions)
Vivek Goyal [Tue, 10 Jan 2006 04:51:44 +0000 (20:51 -0800)]
[PATCH] kdump: save registers early (inline functions)

- If system panics then cpu register states are captured through funciton
  crash_get_current_regs().  This is not a inline function hence a stack frame
  is pushed on to the stack and then cpu register state is captured.  Later
  this frame is popped and new frames are pushed (machine_kexec).

- In theory this is not very right as we are capturing register states for a
  frame and that frame is no more valid.  This seems to have created back
  trace problems for ppc64.

- This patch fixes it up.  The very first thing it does after entering
  crash_kexec() is to capture the register states.  Anyway we don't want the
  back trace beyond crash_kexec().  crash_get_current_regs() has been made
  inline

- crash_setup_regs() is the top architecture dependent function which should
  be responsible for capturing the register states as well as to do some
  architecture dependent tricks.  For ex.  fixing up ss and esp for i386.
  crash_setup_regs() has also been made inline to ensure no new call frame is
  pushed onto stack.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: export per cpu crash notes pointer through sysfs (fix)
Vivek Goyal [Tue, 10 Jan 2006 04:51:42 +0000 (20:51 -0800)]
[PATCH] kdump: export per cpu crash notes pointer through sysfs (fix)

Removes the call to get_cpu() and put_cpu() as it is not required.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: export per cpu crash notes pointer through sysfs
Vivek Goyal [Tue, 10 Jan 2006 04:51:42 +0000 (20:51 -0800)]
[PATCH] kdump: export per cpu crash notes pointer through sysfs

- Kexec on panic functionality allocates memory for saving cpu registers in
  case of system crash event.  Address of this allocated memory needs to be
  exported to user space, which is used by kexec-tools.

- Previously, a single /sys/kernel/crash_notes entry was being exported as
  memory allocated was a single continuous array.  Now memory allocation being
  dyanmic and per cpu based, address of per cpu buffer is exported through
  "/sys/devices/system/cpu/cpuX/crash_notes"

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers
Vivek Goyal [Tue, 10 Jan 2006 04:51:41 +0000 (20:51 -0800)]
[PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers

- In case of system crash, current state of cpu registers is saved in memory
  in elf note format.  So far memory for storing elf notes was being allocated
  statically for NR_CPUS.

- This patch introduces dynamic allocation of memory for storing elf notes.
  It uses alloc_percpu() interface.  This should lead to better memory usage.

- Introduced based on Andi Kleen's and Eric W. Biederman's suggestions.

- This patch also moves memory allocation for elf notes from architecture
  dependent portion to architecture independent portion.  Now crash_notes is
  architecture independent.  The whole idea is that size of memory to be
  allocated per cpu (MAX_NOTE_BYTES) can be architecture dependent and
  allocation of this memory can be architecture independent.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] kdump: i386 save ss esp bug fix
akpm@osdl.org [Tue, 10 Jan 2006 04:51:40 +0000 (20:51 -0800)]
[PATCH] kdump: i386 save ss esp bug fix

\r)

From: Vivek Goyal <vgoyal@in.ibm.com>

This patch fixes a minor bug based on Andi Kleen's suggestion.  asm's can't be
broken in this particular case, hence merging them.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Disable rio on 64-bit platforms
Alexey Dobriyan [Tue, 10 Jan 2006 04:51:39 +0000 (20:51 -0800)]
[PATCH] Disable rio on 64-bit platforms

Do it via Kconfig rather than via #error.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Remove set_fs() in stop_machine()
akpm@osdl.org [Tue, 10 Jan 2006 04:51:38 +0000 (20:51 -0800)]
[PATCH] Remove set_fs() in stop_machine()

\r)

From: Brian Gerst <bgerst@didntduck.org>

Call sched_setscheduler() directly instead.

Signed-off-by: Brian Gerst <bgerst@didntduck.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] dump_thread() cleanup
akpm@osdl.org [Tue, 10 Jan 2006 04:51:37 +0000 (20:51 -0800)]
[PATCH] dump_thread() cleanup

\r)

From: Adrian Bunk <bunk@stusta.de>

- create one common dump_thread() prototype in kernel.h

- dump_thread() is only used in fs/binfmt_aout.c and can therefore be
  removed on all architectures where CONFIG_BINFMT_AOUT is not
  available

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] ipmi: fix compile errors with PROC_FS=n
Adrian Bunk [Tue, 10 Jan 2006 04:51:36 +0000 (20:51 -0800)]
[PATCH] ipmi: fix compile errors with PROC_FS=n

...
  CC [M]  drivers/char/ipmi/ipmi_msghandler.o
drivers/char/ipmi/ipmi_msghandler.c:3301: `proc_ipmi_root' undeclared here (not in a function)
drivers/char/ipmi/ipmi_msghandler.c:3301: initializer element is not constant
drivers/char/ipmi/ipmi_msghandler.c:3301: (near initialization for `__ksymtab_proc_ipmi_root.value')
drivers/char/ipmi/ipmi_msghandler.c:1535: warning: `ipmb_file_read_proc' defined but not used
drivers/char/ipmi/ipmi_msghandler.c:1551: warning: `version_file_read_proc' defined but not used
drivers/char/ipmi/ipmi_msghandler.c:1561: warning: `stat_file_read_proc' defined but not used
...
  CC [M]  drivers/char/ipmi/ipmi_poweroff.o
drivers/char/ipmi/ipmi_poweroff.c: In function `ipmi_poweroff_init':
drivers/char/ipmi/ipmi_poweroff.c:616: warning: implicit declaration of function `unregister_sysctl_table'
drivers/char/ipmi/ipmi_poweroff.c:616: `ipmi_table_header' undeclared (first use in this function)
drivers/char/ipmi/ipmi_poweroff.c:616: (Each undeclared identifier is reported only once
drivers/char/ipmi/ipmi_poweroff.c:616: for each function it appears in.)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] printk levels for i386 oops code.
Dave Jones [Tue, 10 Jan 2006 04:51:32 +0000 (20:51 -0800)]
[PATCH] printk levels for i386 oops code.

Especially useful when users have booted with 'quiet'.  In the regular 'oops'
path, we set the console_loglevel before we start spewing debug info, but we
can call the backtrace code from other places now too, such as the spinlock
debugging code.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] printk levels for spinlock debug
Dave Jones [Tue, 10 Jan 2006 04:51:32 +0000 (20:51 -0800)]
[PATCH] printk levels for spinlock debug

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Add list_for_each_entry_safe_reverse()
David Howells [Tue, 10 Jan 2006 04:51:31 +0000 (20:51 -0800)]
[PATCH] Add list_for_each_entry_safe_reverse()

Add list_for_each_entry_safe_reverse() to linux/list.h

This is needed by unmerged cachefs and be an as-yet-unreviewed
device_shutdown() fix.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Patrick Mochel <mochel@digitalimplant.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] i386: GPIO driver for AMD CS5535/CS5536
Ben Gardner [Tue, 10 Jan 2006 04:51:29 +0000 (20:51 -0800)]
[PATCH] i386: GPIO driver for AMD CS5535/CS5536

A simple driver for the CS5535 and CS5536 that allows a user-space program
to manipulate GPIO pins.  The CS5535/CS5536 chips are Geode processor
companion devices.

Signed-off-by: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] fix /sys/class/net/<if>/wireless without dev->get_wireless_stats
Andrey Borzenkov [Tue, 10 Jan 2006 04:51:28 +0000 (20:51 -0800)]
[PATCH] fix /sys/class/net/<if>/wireless without dev->get_wireless_stats

dev->get_wireless_stats is deprecated but removing it also removes wireless
subdirectory in sysfs. This patch puts it back.

akpm: I don't know what's happening here.  This might be appropriate as a
2.6.15.x compatibility backport.  Waiting to hear from Jeff.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] nvidiafb: Fixes for new G5
Benjamin Herrenschmidt [Tue, 10 Jan 2006 04:51:27 +0000 (20:51 -0800)]
[PATCH] nvidiafb: Fixes for new G5

Recent X "nv" driver was fixed for various issues with modern 6xxx and 7xxx
cards.  This patch ports those fixes to nvidiafb.  This makes it work fine
on the 6600 bundled with the newest G5 macs.  I've verified it still works
on the 5200FX of the iMacG5.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] "tiny-make-id16-support-optional" fixes
Adrian Bunk [Tue, 10 Jan 2006 04:51:26 +0000 (20:51 -0800)]
[PATCH] "tiny-make-id16-support-optional" fixes

It seems the "make UID16 support optional" patch was checked when it
edited the -tiny tree some time ago, but it wasn't checked whether it
still matches the current situation when it was submitted for inclusion
in -mm. This patch fixes the following bugs:
- ARCH_S390X does no longer exist, nowadays this has to be expressed
  through (S390 && 64BIT)
- in five architecture specific Kconfig files the UID16 options
  weren't removed

Additionally, it changes the fragile negative dependencies of UID16 to
positive dependencies (new architectures are more likely to not require
UID16 support).

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] remove asm/serial.h from synclink_gt.
Andrew Morton [Tue, 10 Jan 2006 04:51:25 +0000 (20:51 -0800)]
[PATCH] remove asm/serial.h from synclink_gt.

Not all architectures implement asm/serial.h, and the driver doesn't appear to
need it anyway.

Cc: Paul Fulghum <paulkf@microgate.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] spufs: fix for recent "shrink dentry_struct" patch
Andrew Morton [Tue, 10 Jan 2006 04:51:24 +0000 (20:51 -0800)]
[PATCH] spufs: fix for recent "shrink dentry_struct" patch

Cc: Eric Dumazet <dada1@cosmosbay.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6
Linus Torvalds [Tue, 10 Jan 2006 02:41:42 +0000 (18:41 -0800)]
Merge /pub/scm/linux/kernel/git/gregkh/pci-2.6

18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/mingo/mutex-2.6
Linus Torvalds [Tue, 10 Jan 2006 01:31:38 +0000 (17:31 -0800)]
Merge /pub/scm/linux/kernel/git/mingo/mutex-2.6

18 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
Linus Torvalds [Tue, 10 Jan 2006 01:06:53 +0000 (17:06 -0800)]
Merge git://git./linux/kernel/git/bunk/trivial

18 years ago[PATCH] rcu: don't set ->next_pending in rcu_start_batch()
Oleg Nesterov [Sun, 8 Jan 2006 19:19:33 +0000 (22:19 +0300)]
[PATCH] rcu: don't set ->next_pending in rcu_start_batch()

I think it is better to set ->next_pending in the caller, when
it is needed. This saves one parameter, and this coincides with
cpu_quiet() beahaviour, which sets ->completed = ->cur itself.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] mutex subsystem, semaphore to completion: drivers/block/loop.c
Ingo Molnar [Mon, 9 Jan 2006 23:59:27 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, semaphore to completion: drivers/block/loop.c

convert the block loop device from semaphores to completions.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, semaphore to completion: IDE ->gendev_rel_sem
Aleksey Makarov [Mon, 9 Jan 2006 23:59:27 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, semaphore to completion: IDE ->gendev_rel_sem

The patch changes semaphores that are initialized as
locked to complete().

Source: MontaVista Software, Inc.

Modified-by: Steven Rostedt <rostedt@goodmis.org>
The following patch is from Montavista.  I modified it slightly.
Semaphores are currently being used where it makes more sense for
completions.  This patch corrects that.

Signed-off-by: Aleksey Makarov <amakarov@ru.mvista.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, semaphore to completion: CPU3WDT
Steven Rostedt [Mon, 9 Jan 2006 23:59:26 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, semaphore to completion: CPU3WDT

change CPU3WDT semaphores to completions.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, semaphore to completion: SX8
Steven Rostedt [Mon, 9 Jan 2006 23:59:26 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, semaphore to completion: SX8

change SX8 semaphores to completions.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, semaphore to mutex: VFS, sb->s_lock
Ingo Molnar [Mon, 9 Jan 2006 23:59:25 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, semaphore to mutex: VFS, sb->s_lock

This patch converts the superblock-lock semaphore to a mutex, affecting
lock_super()/unlock_super(). Tested on ext3 and XFS.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
Jes Sorensen [Mon, 9 Jan 2006 23:59:24 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem

This patch converts the inode semaphore to a mutex. I have tested it on
XFS and compiled as much as one can consider on an ia64. Anyway your
luck with it might be different.

Modified-by: Ingo Molnar <mingo@elte.hu>
(finished the conversion)

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, semaphore to mutex: XFS
Jes Sorensen [Mon, 9 Jan 2006 23:59:21 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, semaphore to mutex: XFS

This patch switches XFS over to use the new mutex code directly as
opposed to the previous workaround patch I posted earlier that avoided
the namespace clash by forcing it back to semaphores. This falls in the
'works for me<tm>' category.

Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, more debugging code
Ingo Molnar [Mon, 9 Jan 2006 23:59:21 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, more debugging code

more mutex debugging: check for held locks during memory freeing,
task exit, enable sysrq printouts, etc.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
18 years ago[PATCH] mutex subsystem, debugging code
Ingo Molnar [Mon, 9 Jan 2006 23:59:20 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, debugging code

mutex implementation - add debugging code.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
18 years ago[PATCH] mutex subsystem, documentation
Ingo Molnar [Mon, 9 Jan 2006 23:59:20 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, documentation

Add mutex design related documentation.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
18 years ago[PATCH] mutex subsystem, core
Ingo Molnar [Mon, 9 Jan 2006 23:59:19 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, core

mutex implementation, core files: just the basic subsystem, no users of it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
18 years ago[PATCH] mutex subsystem, add default include/asm-*/mutex.h files
Arjan van de Ven [Mon, 9 Jan 2006 23:59:19 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, add default include/asm-*/mutex.h files

add the per-arch mutex.h files for the remaining architectures.

We default to asm-generic/mutex-dec.h, because that performs
quite well on most arches. Arches that do not have atomic
decrement/increment instructions should switch to mutex-xchg.h
instead. Arches can also provide their own implementation for
the mutex fastpath primitives.

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, add include/asm-arm/mutex.h
Nicolas Pitre [Mon, 9 Jan 2006 23:59:18 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, add include/asm-arm/mutex.h

add the ARM version of mutex.h, which is optimized in assembly for
ARMv6, and uses the xchg implementation on pre-ARMv6.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, add include/asm-x86_64/mutex.h
Ingo Molnar [Mon, 9 Jan 2006 23:59:18 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, add include/asm-x86_64/mutex.h

add the x86_64 version of mutex.h, optimized in assembly.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
18 years ago[PATCH] mutex subsystem, add include/asm-i386/mutex.h
Arjan van de Ven [Mon, 9 Jan 2006 23:59:18 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, add include/asm-i386/mutex.h

add the i386 version of mutex.h, optimized in assembly.

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations
Ingo Molnar [Mon, 9 Jan 2006 23:59:17 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations

Add three (generic) mutex fastpath implementations.

The mutex-xchg.h implementation is atomic_xchg() based, and should
work fine on every architecture.

The mutex-dec.h implementation is atomic_dec_return() based - this
one too should work on every architecture, but might not perform the
most optimally on architectures that have no atomic-dec/inc instructions.

The mutex-null.h implementation forces all calls into the slowpath. This
is used for mutex debugging, but it can also be used on platforms that do
not want (or need) a fastpath at all.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
18 years ago[PATCH] mutex subsystem, add typecheck_fn(type, function)
Chuck Ebbert [Mon, 9 Jan 2006 23:59:17 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, add typecheck_fn(type, function)

add typecheck_fn(type, function) to do type-checking of function
pointers.

Modified-by: Ingo Molnar <mingo@elte.hu>
(made it typeof() based, instead of typedef based.)

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago[PATCH] mutex subsystem, add atomic_xchg() to all arches
Ingo Molnar [Mon, 9 Jan 2006 23:59:17 +0000 (15:59 -0800)]
[PATCH] mutex subsystem, add atomic_xchg() to all arches

add atomic_xchg() to all the architectures. Needed by the new mutex code.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
18 years agoSmall fixups to the EHCI Kconfig help text
Jesper Juhl [Mon, 9 Jan 2006 23:35:22 +0000 (00:35 +0100)]
Small fixups to the EHCI Kconfig help text

Here's a small patch with a few tiny fixups for the EHCI Kconfig help
text. Please consider applying.

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoDocumentation/filesystems/proc.txt: indentation fix
Adrian Bunk [Mon, 9 Jan 2006 23:20:30 +0000 (00:20 +0100)]
Documentation/filesystems/proc.txt: indentation fix

Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoremove the outdated arch/i386/kernel/cpu/{,mtrr/}changelog
Adrian Bunk [Mon, 9 Jan 2006 23:15:25 +0000 (00:15 +0100)]
remove the outdated arch/i386/kernel/cpu/{,mtrr/}changelog

This patch removes two outdated changelog files.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Jones <davej@redhat.com>
18 years agoMAINTAINERS: remove BUSLOGIC entry
Adrian Bunk [Mon, 9 Jan 2006 23:13:57 +0000 (00:13 +0100)]
MAINTAINERS: remove BUSLOGIC entry

Leonard N. Zubkoff passed away in August 2002.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agospelling: s/trough/through/
Adrian Bunk [Mon, 9 Jan 2006 23:13:33 +0000 (00:13 +0100)]
spelling: s/trough/through/

Additionally, one comment was reformulated by Joe Perches <joe@perches.com>.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Mon, 9 Jan 2006 23:12:52 +0000 (15:12 -0800)]
Merge /pub/scm/linux/kernel/git/davem/net-2.6

18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Mon, 9 Jan 2006 23:10:22 +0000 (15:10 -0800)]
Merge /pub/scm/linux/kernel/git/davem/sparc-2.6

18 years agospelling: s/retreive/retrieve/
Adrian Bunk [Mon, 9 Jan 2006 23:10:13 +0000 (00:10 +0100)]
spelling: s/retreive/retrieve/

Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agos/assoicated/associated/
Adrian Bunk [Mon, 9 Jan 2006 23:09:36 +0000 (00:09 +0100)]
s/assoicated/associated/

Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Mon, 9 Jan 2006 23:09:30 +0000 (15:09 -0800)]
Merge master.kernel.org:/home/rmk/linux-2.6-arm

18 years agoMerge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds [Mon, 9 Jan 2006 23:09:03 +0000 (15:09 -0800)]
Merge master.kernel.org:/home/rmk/linux-2.6-serial

18 years agoMerge master.kernel.org:/home/rmk/linux-2.6-mmc
Linus Torvalds [Mon, 9 Jan 2006 23:08:33 +0000 (15:08 -0800)]
Merge master.kernel.org:/home/rmk/linux-2.6-mmc

18 years agospelling: s/usefull/useful/
Adrian Bunk [Mon, 9 Jan 2006 23:08:17 +0000 (00:08 +0100)]
spelling: s/usefull/useful/

Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years ago[INET_DIAG]: Introduce sk_diag_fill
Arnaldo Carvalho de Melo [Mon, 9 Jan 2006 22:56:56 +0000 (14:56 -0800)]
[INET_DIAG]: Introduce sk_diag_fill

To be called from inet_diag_get_exact, also rename inet_diag_fill to
inet_csk_diag_fill, for consistency with inet_twsk_diag_fill.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[INET_DIAG]: Introduce inet_twsk_diag_dump & inet_twsk_diag_fill
Arnaldo Carvalho de Melo [Mon, 9 Jan 2006 22:56:38 +0000 (14:56 -0800)]
[INET_DIAG]: Introduce inet_twsk_diag_dump & inet_twsk_diag_fill

To properly dump TIME_WAIT sockets and to reduce complexity a bit by
having per socket class accessor routines.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[INET_DIAG]: whitespace/simple cleanups
Arnaldo Carvalho de Melo [Mon, 9 Jan 2006 22:56:19 +0000 (14:56 -0800)]
[INET_DIAG]: whitespace/simple cleanups

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[INET_DIAG]: Use inet_twsk() with TIME_WAIT sockets
Arnaldo Carvalho de Melo [Mon, 9 Jan 2006 22:56:03 +0000 (14:56 -0800)]
[INET_DIAG]: Use inet_twsk() with TIME_WAIT sockets

The fields being accessed in inet_diag_dump are outside sock_common, the
common part of struct sock and struct inet_timewait_sock.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[MMC] Indicate that R1/R1b contains command opcode
Pierre Ossman [Mon, 9 Jan 2006 22:51:46 +0000 (22:51 +0000)]
[MMC] Indicate that R1/R1b contains command opcode

Some controllers actually check the first byte of the response (most
don't).  This byte contains the command opcode for R1/R1b and all 1:s
for other types. The difference must be indicated to the controller
so it knows which reply to expect.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
18 years ago[SPARC64]: Update defconfig.
David S. Miller [Mon, 9 Jan 2006 22:36:49 +0000 (14:36 -0800)]
[SPARC64]: Update defconfig.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC64]: Fix ptrace/strace
Richard Mortimer [Mon, 9 Jan 2006 22:35:50 +0000 (14:35 -0800)]
[SPARC64]: Fix ptrace/strace

Don't clobber register %l0 while checking TI_SYS_NOERROR value in
syscall return path.  This bug was introduced by:

db7d9a4eb700be766cc9f29241483dbb1e748832

Problem narrowed down by Luis F. Ortiz and Richard Mortimer.

I tried using %l2 as suggested by Luis and that works for me.

Looking at the code I wonder if it makes sense to simplify the code
a little bit. The following works for me but I'm not sure how to
exercise the "NOERROR" codepath.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[IPV6]: Set skb->priority in ip6_output.c
Patrick McHardy [Mon, 9 Jan 2006 06:37:26 +0000 (22:37 -0800)]
[IPV6]: Set skb->priority in ip6_output.c

Set skb->priority = sk->sk_priority as in raw.c and IPv4.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[IPV4]: ip_output.c needs xfrm.h
Patrick McHardy [Mon, 9 Jan 2006 06:36:54 +0000 (22:36 -0800)]
[IPV4]: ip_output.c needs xfrm.h

This patch fixes a warning from my IPsec patches:

   CC      net/ipv4/ip_output.o
net/ipv4/ip_output.c: In function 'ip_finish_output':
net/ipv4/ip_output.c:208: warning: implicit declaration of function
'xfrm4_output_finish'

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PKT_SCHED]: Fix qdisc return code.
Jamal Hadi Salim [Mon, 9 Jan 2006 06:35:55 +0000 (22:35 -0800)]
[PKT_SCHED]: Fix qdisc return code.

The mapping between TC_ACTION_SHOT and the qdisc return codes is better
suited to NET_XMIT_BYPASS so as not to confuse TCP

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NET]: Add IFB (Intermediate Functional Block) network device.
Jamal Hadi Salim [Mon, 9 Jan 2006 06:34:25 +0000 (22:34 -0800)]
[NET]: Add IFB (Intermediate Functional Block) network device.

A new device to do intermidiate functional block in a system shared
manner.  To use the new functionality, you need to turn on
qos/classifier actions.

The new functionality can be grouped as:

1) qdiscs/policies that are per device as opposed to system wide.  ifb
allows for a device which can be redirected to thus providing an
impression of sharing.

2) Allows for queueing incoming traffic for shaping instead of
dropping.

Packets are redirected to this device using tc/action mirred redirect
construct. If they are sent to it by plain routing instead then they
will merely be dropped and the stats would indicate that.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[AX25] mkiss: Drop spinlock before sleeping call.
Ralf Baechle [Mon, 9 Jan 2006 06:31:04 +0000 (22:31 -0800)]
[AX25] mkiss: Drop spinlock before sleeping call.

With the previous missing-unlock fix the spinlock is dropped only
after the tty->driver->write() call which might sleep.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NET]: Change some "if (x) BUG();" to "BUG_ON(x);"
Kris Katterjohn [Mon, 9 Jan 2006 06:24:28 +0000 (22:24 -0800)]
[NET]: Change some "if (x) BUG();" to "BUG_ON(x);"

This changes some simple "if (x) BUG();" statements to "BUG_ON(x);"

Signed-off-by: Kris Katterjohn <kjak@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PKT_SCHED]: Prefix tc actions with act_
Patrick McHardy [Mon, 9 Jan 2006 06:22:14 +0000 (22:22 -0800)]
[PKT_SCHED]: Prefix tc actions with act_

Clean up the net/sched directory a bit by prefix all actions with act_.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PKT_SCHED]: Fix memory leak when dumping in pedit action
Patrick McHardy [Mon, 9 Jan 2006 06:17:27 +0000 (22:17 -0800)]
[PKT_SCHED]: Fix memory leak when dumping in pedit action

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PKT_SCHED]: Remove some obsolete policer exports
Patrick McHardy [Mon, 9 Jan 2006 06:16:25 +0000 (22:16 -0800)]
[PKT_SCHED]: Remove some obsolete policer exports

Also make sure the legacy code is only built when CONFIG_NET_CLS_ACT
is not set.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PKT_SCHED]: Convert tc action functions to single skb pointers
Patrick McHardy [Mon, 9 Jan 2006 06:15:34 +0000 (22:15 -0800)]
[PKT_SCHED]: Convert tc action functions to single skb pointers

tcf_action_exec only gets a single skb pointer and doesn't own the skb,
but passes double skb pointers (to a local variable) to the action
functions. Change to use single skb pointers everywhere.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PKT_SCHED]: Use USEC_PER_SEC
Patrick McHardy [Mon, 9 Jan 2006 06:12:03 +0000 (22:12 -0800)]
[PKT_SCHED]: Use USEC_PER_SEC

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NET]: Convert net/{ipv4,ipv6,sched} to netdev_priv
Patrick McHardy [Mon, 9 Jan 2006 06:05:26 +0000 (22:05 -0800)]
[NET]: Convert net/{ipv4,ipv6,sched} to netdev_priv

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[CRYPTO] cipher: Set alignmask for multi-byte loads
Herbert Xu [Sat, 7 Jan 2006 05:38:15 +0000 (16:38 +1100)]
[CRYPTO] cipher: Set alignmask for multi-byte loads

Many cipher implementations use 4-byte/8-byte loads/stores which require
alignment on some architectures.  This patch explicitly sets the alignment
requirements for them.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[CRYPTO] api: Require block size to be less than PAGE_SIZE/8
Herbert Xu [Sat, 7 Jan 2006 05:24:15 +0000 (16:24 +1100)]
[CRYPTO] api: Require block size to be less than PAGE_SIZE/8

The cipher code path may allocate up to two blocks of data on the stack.
Therefore we need to place limits on the maximum block size.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[CRYPTO] sha1: Fixed off-by-64 bug in sha1_update
Herbert Xu [Wed, 21 Dec 2005 11:01:58 +0000 (19:01 +0800)]
[CRYPTO] sha1: Fixed off-by-64 bug in sha1_update

After a partial update, the done pointer is off to the right by 64 bytes.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[CRYPTO] aes-i586: Remove unused variable ls_tab
Daniel Marjamäki [Sat, 3 Dec 2005 06:16:42 +0000 (17:16 +1100)]
[CRYPTO] aes-i586: Remove unused variable ls_tab

It is assigned but never read.

Signed-off-by: Daniel Marjamäki <daniel.marjamaki@comhem.se>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[CRYPTO] aes-i586: Nano-optimisation on key length check
Denis Vlasenko [Tue, 29 Nov 2005 11:23:20 +0000 (22:23 +1100)]
[CRYPTO] aes-i586: Nano-optimisation on key length check

Reduce the number of comparisons by one through the use of jb/je.
This patch also corrects the comments regarding the different key
lengths.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>