28 Jun, 2006

40 commits

  • * git://oss.sgi.com:8090/nathans/xfs-2.6:
    [XFS] Fixup whitespace damage in log_write, remove final warning.
    [XFS] Rework code snippets slightly to remove remaining recent-gcc
    [XFS] Fix realtime subvolume expansion, a porting bug b0rked it. Coverity
    [XFS] Remove a race condition where a linked inode could BUG_ON in
    [XFS] Remove redundant directory checks from inode link operation.
    [XFS] Remove a couple of no-longer-used macros.
    [XFS] Reduce size of xfs_trans_t structure. * remove ->t_forw, ->t_back --
    [XFS] remove unused behaviour lock - shrink XFS vnode as a side effect.
    [XFS] * There is trivial "inode => vnode => inode" conversion, but only
    [XFS] link(2) on directory is banned in VFS.

    Linus Torvalds
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    [PATCH] ata_piix: add ICH6/7/8 to Kconfig
    [PATCH] sata_sil: disable hotplug interrupts on two ATI IXPs
    [PATCH] libata: cosmetic updates
    [PATCH] ata: add some NVIDIA chipset IDs
    [PATCH] libata reduce timeouts
    [PATCH] libata: implement ata_port_max_devices()
    [PATCH] libata: make two functions global
    [PATCH] libata: update ata_do_simple_cmd()
    [PATCH] libata: move ata_do_simple_cmd() below ata_exec_internal()
    [PATCH] libata: clear EH action on device detach
    [PATCH] libata: implement and use ata_deh_dev_action()
    [PATCH] libata: move ata_eh_clear_action() upward
    [PATCH] libata.h needs scatterlist.h
    [libata] sata_vsc: partially revert a PCI ID-related commit
    [libata] Bump versions

    Linus Torvalds
     
  • The previous "delete" had actually just truncated it to a zero
    size, something that can easily happen if you just apply a patch.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Commit 02dd7ae2892e5ceff111d032769c78d3377df970 ("[PATCH] i2c-i801:
    Merge setup function") has a missing return 0 in the _probe() function.
    This means the error path is always executed and pci_disable_device() is
    called even when the device just got successfully enabled.

    Having the SMBus device disabled makes some systems (eg.
    Fujitsu-Siemens Lifebook E8010) hang hard during power-off.

    Intead of reverting the whole commit this patch fixes it up:
    - don't ever call pci_disable_device(), also not in the _remove() function
    to avoid hangs
    - fix missing pci_release_region() in error path

    Signed-off-by: Daniel Ritz
    Signed-off-by: Linus Torvalds

    Daniel Ritz
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (25 commits)
    [CIFS] Fix authentication choice so we do not force NTLMv2 unless the
    [CIFS] Fix alignment of unicode strings in previous patch
    [CIFS] Fix allocation of buffers for new session setup routine to allow
    [CIFS] Remove calls to to take f_owner.lock
    [CIFS] remove some redundant null pointer checks
    [CIFS] Fix compile warning when CONFIG_CIFS_EXPERIMENTAL is off
    [CIFS] Enable sec flags on mount for cifs (part one)
    [CIFS] Fix suspend/resume problem which causes EIO on subsequent access to
    [CIFS] fix minor compile warning when config_cifs_weak_security is off
    [CIFS] NTLMv2 support part 5
    [CIFS] Add support for readdir to legacy servers
    [CIFS] NTLMv2 support part 4
    [CIFS] NTLMv2 support part 3
    [CIFS] NTLMv2 support part 2
    [CIFS] Fix mask so can set new cifs security flags properly
    CIFS] Support for older servers which require plaintext passwords - part 2
    [CIFS] Support for older servers which require plaintext passwords
    [CIFS] Fix mapping of old SMB return code Invalid Net Name so it is
    [CIFS] Missing brace
    [CIFS] Do not overwrite aops
    ...

    Linus Torvalds
     
  • Switch to using the new RAM Kconfig settings, instead of linker defined
    regions in ROM specific 68328 startup code.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Switch to using the new RAM Kconfig settings, instead of linker defined
    regions in ROM specific 68360 startup code.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Switch to using the new RAM Kconfig settings, instead of linker defined
    regions in RAM specific 68360 startup code.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Remove NO_FORMAT_VEC conditional check. It is not used or defined anywhere.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Collection of fixes for the ColdFire FEC ethernet driver:

    . reworked event setting so that it occurs after the MII setup.
    roucaries bastien
    . Do not read cbd_sc in memory for each bit we test. Once per buffer is enough.
    . Overrun errors must increase `rx_fifo_errors', not `rx_crc_errors'
    . No need for a special value to activate rx or tx. Only write access matters.
    . Simplify parameter of eth_copy_and_sum : `data' has already the right value.
    . Some spelling fixes.

    Signed-off-by: Philippe De Muyter
    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Set different irq priority levels for each IRQ requested.
    According to the Freescale ColdFire documentation each separate IRQ
    must have its own unique priority/level combination.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Willson Callan
     
  • Add support for the FEC module in the ColdFire 532x CPU family.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Matt Waddel
     
  • Avoid requesting a `Graceful Transmit Stop' when link has disappeared,
    because that request cannot complete without link.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Philippe De Muyter
     
  • Updated defconfig for m68knommu arch. Includes recent changes to the clock
    and RAM configuration options.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Add build support for the M523x ColdFire CPU family.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Matt Waddel
     
  • Add support for the Avnet/5282 board.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Daniel Alomar
     
  • Here is a small patch that made my kernel .text segment shrink by 8k IIRC
    on my 5272-based board, by removing `-Wa,-S' from CFLAGS.

    The `-Wa,-S' option prevents `gas' from using short forms of jsr.
    Without it, `gas' replaces `jsr xxx.l' (6 bytes) by `jsr xxx@pc'
    (4 bytes) when possible. On 5272, both forms are equally fast.

    The `-Wa,-m5307' option is useless, because gcc already gives it
    to `gas' from the `-m5307' option.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Philipe De Muyter
     
  • Voyager stopped booting some time in the 2.6.16-2.6.17 timeframe;
    the reason was that it doesn't have a cpu_present_map, so add
    one.

    Signed-off-by: James Bottomley
    Signed-off-by: Linus Torvalds

    James Bottomley
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (26 commits)
    V4L/DVB (4263): Fix warning when compiling on 64 bit machines
    V4L/DVB (4261): Included required header for in-kernel compilation
    V4L/DVB (4260): Stradis.c: make 2 functions static
    V4L/DVB (4259): Pass an explicit log prefix to cx2341x_log_status
    V4L/DVB (4257): Fix 64-bit compile warnings.
    V4L/DVB (4255): Tda9887 default TOP value is 0x10
    V4L/DVB (4254): Remove obsoleted tuner_debug option.
    V4L/DVB (4253): IVTV VBI format description too long.
    V4L/DVB (4252): Remove duplicate 'tda9887' in info messages.
    V4L/DVB (4245): Reduce the amount of pvrusb2-sourced noise going into the system log
    V4L/DVB (4244): Implement use of cx2341x module in pvrusb2 driver
    V4L/DVB (4243): Exploit new V4L control features in pvrusb2
    V4L/DVB (4242): Don't suspend encoder when changing its attributes (in pvrusb2)
    V4L/DVB (4241): Fix faulty encoder error recovery in pvrusb2
    V4L/DVB (4240): Various V4L control enhancements in pvrusb2
    V4L/DVB (4239): Handle boolean controls in pvrusb2
    V4L/DVB (4238): Make sure flags field is initialized when quering a control in pvrusb2
    V4L/DVB (4237): Move LOG_STATUS bracketing to a different part of the pvrusb2 driver
    V4L/DVB (4236): Rearrange things in pvrusb2 driver in preparation for using cx2341x module
    V4L/DVB (4235): Increase the maximum number of controls that pvrusb2-sysfs.c can handle.
    ...

    Linus Torvalds
     
  • SGI-PV: 904196
    SGI-Modid: xfs-linux-melb:xfs-kern:26366a

    Signed-off-by: Nathan Scott

    Nathan Scott
     
  • DLE masking was non-functional since the new tty handling.

    Found by Peter Evertz

    Signed-off-by: Karsten Keil
    Signed-off-by: Linus Torvalds

    Karsten Keil
     
  • arch/i386/kernel/irq.c: In function 'do_IRQ':
    arch/i386/kernel/irq.c:104: warning: suggest parentheses around arithmetic in operand of |

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • It's available in a header as a static inline - there's no need to export it.

    Signed-off-by: Adrian Bunk
    Cc: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Make struct proc_ipmi_root static.

    Besides this, tremove removes an unused #ifdef CONFIG_PROC_FS from
    include/linux/ipmi.h.

    Acked-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Remove redundant NULL chck before kfree + tiny CodingStyle cleanup for
    drivers/

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • Remove redundant kfree NULL checks from kernel/

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • Remove redundant NULL checks before kfree for fs/

    Signed-off-by: Jesper Juhl
    Acked-by: Mark Fasheh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • In futex_requeue(), when the 2 futexes keys hash to the same bucket, there
    is no need to move the futex_q to the end of the bucket list.

    Signed-off-by: Sebastien Dugue
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sebastien Dugue
     
  • When the priority of a task, which is blocked on a lock, changes we must
    propagate this change into the PI lock chain. Therefor the chain walk code
    is changed to get rid of the references to current to avoid false positives
    in the deadlock detector, as setscheduler might be called by a task which
    holds the lock on which the task whose priority is changed is blocked.

    Also add some comments about the get/put_task_struct usage to avoid
    confusion.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Cc: Steven Rostedt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • Make test suite setscheduler calls asynchronously. Remove the waits in the
    test cases and add a new testcase to verify the correctness of the
    setscheduler priority propagation.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • There is no need to hold tasklist_lock across the setscheduler call, when
    we pin the task structure with get_task_struct(). Interrupts are disabled
    in setscheduler anyway and the permission checks do not need interrupts
    disabled.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Cc: Steven Rostedt
    Cc: Nick Piggin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • Fix defaults and dependencies.

    Signed-off-by: Roman Zippel
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roman Zippel
     
  • This adds the actual pi-futex implementation, based on rt-mutexes.

    [dino@in.ibm.com: fix an oops-causing race]
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Dinakar Guniguntala
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Add proxy-locking rt-mutex functionality needed by pi-futexes.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • RT-mutex tester: scriptable tester for rt mutexes, which allows userspace
    scripting of mutex unit-tests (and dynamic tests as well), using the actual
    rt-mutex implementation of the kernel.

    [akpm@osdl.org: fixlet]
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • Runtime debugging functionality for rt-mutexes.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Add rt-mutex documentation.

    [rostedt@goodmis.org: Update rt-mutex-design.txt as per Randy Dunlap suggestions]
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Steven Rostedt
    Signed-off-by: Steven Rostedt
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Steven Rostedt
     
  • Core functions for the rt-mutex subsystem.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Add framework to boost/unboost the priority of RT tasks.

    This consists of:

    - caching the 'normal' priority in ->normal_prio
    - providing a functions to set/get the priority of the task
    - make sched_setscheduler() aware of boosting

    The effective_prio() cleanups also fix a priority-calculation bug pointed out
    by Andrey Gelman, in set_user_nice().

    has_rt_policy() fix: Peter Williams

    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Arjan van de Ven
    Cc: Andrey Gelman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Add the priority-sorted list (plist) implementation.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar