1. 11 10月, 2008 19 次提交
    • A
      MIPS: TXx9: Runtime configuration of timeout-error · c7b95bcb
      Atsushi Nemoto 提交于
      Add kernel options to control bus timeout error.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      c7b95bcb
    • A
      MIPS: TXx9: Cache fixup · d10e025f
      Atsushi Nemoto 提交于
      TX39/TX49 can enable/disable I/D cache at runtime.  Add kernel options
      to control them.  This is useful to debug some cache-related issues,
      such as aliasing or I/D coherency.  Also enable CWF bit for TX49 SoCs.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      d10e025f
    • A
      MIPS: TXx9: Early command-line preprocessing · 860e546c
      Atsushi Nemoto 提交于
      * Select board by command-line option or firmware environment variable.
      * Handle "masterclk=" option.
      * Add boards.h to centerize board_vec declaration.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      
       create mode 100644 include/asm-mips/txx9/boards.h
      860e546c
    • A
      MIPS: TXx9: Add prom_getenv · 265b89db
      Atsushi Nemoto 提交于
      Add prom_getenv() which can be used for YAMON.  This assumes other
      firmware should pass NULL for fw_arg2.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      265b89db
    • A
      MIPS: TXx9: Improve handling of built-in and command-line args · e0dfb20c
      Atsushi Nemoto 提交于
      * Make prom_init_cmdline() static and be called from prom_init.
      * Append built-in args if the first character was '+'.
      * Drop command-line args if the first character of built-in was '-'.
      * Enclose args include spaces by quotes.
      * TX4938_NAND_BOOT is no longer needed.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      e0dfb20c
    • A
      MIPS: RBTX4927: More explicit initialization · f96a3383
      Atsushi Nemoto 提交于
      * Make sure all interrupts cleared on startup
      * Initialize some GPIOs
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f96a3383
    • P
      MIPS: PMC MSP71XX gpio drivers · 9fa32c6b
      Patrick Glass 提交于
      This new gpio driver for PMC-Sierra's MSP71xx SoC allows
      standard api calls for access to the general and extended
      gpio's.
      Signed-off-by: NPatrick Glass <patrickglass@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      
       create mode 100755 arch/mips/pmc-sierra/msp71xx/gpio.c
       create mode 100755 arch/mips/pmc-sierra/msp71xx/gpio_extended.c
       create mode 100755 include/asm-mips/pmc-sierra/msp71xx/gpio.h
      9fa32c6b
    • T
      MIPS: Use compat_sys_ptrace · 5d9a76cd
      Thomas Bogendoerfer 提交于
      This replaces mips's sys_ptrace32 with a compat_arch_ptrace and
      enables the new generic definition of compat_sys_ptrace instead.
      Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5d9a76cd
    • L
      Merge branch 'rcu-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip · b922df73
      Linus Torvalds 提交于
      * 'rcu-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (21 commits)
        rcu: RCU-based detection of stalled CPUs for Classic RCU, fix
        rcu: RCU-based detection of stalled CPUs for Classic RCU
        rcu: add rcu_read_lock_sched() / rcu_read_unlock_sched()
        rcu: fix sparse shadowed variable warning
        doc/RCU: fix pseudocode in rcuref.txt
        rcuclassic: fix compiler warning
        rcu: use irq-safe locks
        rcuclassic: fix compilation NG
        rcu: fix locking cleanup fallout
        rcu: remove redundant ACCESS_ONCE definition from rcupreempt.c
        rcu: fix classic RCU locking cleanup lockdep problem
        rcu: trace fix possible mem-leak
        rcu: just rename call_rcu_bh instead of making it a macro
        rcu: remove list_for_each_rcu()
        rcu: fixes to include/linux/rcupreempt.h
        rcu: classic RCU locking and memory-barrier cleanups
        rcu: prevent console flood when one CPU sees another AWOL via RCU
        rcu, debug: detect stalled grace periods, cleanups
        rcu, debug: detect stalled grace periods
        rcu classic: new algorithm for callbacks-processing(v2)
        ...
      b922df73
    • L
      Merge branch 'for-linus' of... · c54dcd8e
      Linus Torvalds 提交于
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
        selinux: Fix an uninitialized variable BUG/panic in selinux_secattr_to_sid()
        selinux: use default proc sid on symlinks
        file capabilities: uninline cap_safe_nice
        Update selinux info in MAINTAINERS and Kconfig help text
        SELinux: add gitignore file for mdp script
        SELinux: add boundary support and thread context assignment
        securityfs: do not depend on CONFIG_SECURITY
        selinux: add support for installing a dummy policy (v2)
        security: add/fix security kernel-doc
        selinux: Unify for- and while-loop style
        selinux: conditional expression type validation was off-by-one
        smack: limit privilege by label
        SELinux: Fix a potentially uninitialised variable in SELinux hooks
        SELinux: trivial, remove unneeded local variable
        SELinux: Trivial minor fixes that change C null character style
        make selinux_write_opts() static
      c54dcd8e
    • L
      Merge branch 'sched-v28-for-linus' of... · b11ce8a2
      Linus Torvalds 提交于
      Merge branch 'sched-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'sched-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (38 commits)
        sched debug: add name to sched_domain sysctl entries
        sched: sync wakeups vs avg_overlap
        sched: remove redundant code in cpu_cgroup_create()
        sched_rt.c: resch needed in rt_rq_enqueue() for the root rt_rq
        cpusets: scan_for_empty_cpusets(), cpuset doesn't seem to be so const
        sched: minor optimizations in wake_affine and select_task_rq_fair
        sched: maintain only task entities in cfs_rq->tasks list
        sched: fixup buddy selection
        sched: more sanity checks on the bandwidth settings
        sched: add some comments to the bandwidth code
        sched: fixlet for group load balance
        sched: rework wakeup preemption
        CFS scheduler: documentation about scheduling policies
        sched: clarify ifdef tangle
        sched: fix list traversal to use _rcu variant
        sched: turn off WAKEUP_OVERLAP
        sched: wakeup preempt when small overlap
        kernel/cpu.c: create a CPU_STARTING cpu_chain notifier
        kernel/cpu.c: Move the CPU_DYING notifiers
        sched: fix __load_balance_iterator() for cfq with only one task
        ...
      b11ce8a2
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · f6bccf69
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: skcipher - Use RNG interface instead of get_random_bytes
        crypto: rng - RNG interface and implementation
        crypto: api - Add fips_enable flag
        crypto: skcipher - Move IV generators into their own modules
        crypto: cryptomgr - Test ciphers using ECB
        crypto: api - Use test infrastructure
        crypto: cryptomgr - Add test infrastructure
        crypto: tcrypt - Add alg_test interface
        crypto: tcrypt - Abort and only log if there is an error
        crypto: crc32c - Use Intel CRC32 instruction
        crypto: tcrypt - Avoid using contiguous pages
        crypto: api - Display larval objects properly
        crypto: api - Export crypto_alg_lookup instead of __crypto_alg_lookup
        crypto: Kconfig - Replace leading spaces with tabs
      f6bccf69
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · 3af73d39
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (29 commits)
        RDMA/nes: Fix slab corruption
        IB/mlx4: Set RLKEY bit for kernel QPs
        RDMA/nes: Correct error_module bit mask
        RDMA/nes: Fix routed RDMA connections
        RDMA/nes: Enhanced PFT management scheme
        RDMA/nes: Handle AE bounds violation
        RDMA/nes: Limit critical error interrupts
        RDMA/nes: Stop spurious MAC interrupts
        RDMA/nes: Correct tso_wqe_length
        RDMA/nes: Fill in firmware version for ethtool
        RDMA/nes: Use ethtool timer value
        RDMA/nes: Correct MAX TSO frags value
        RDMA/nes: Enable MC/UC after changing MTU
        RDMA/nes: Free NIC TX buffers when destroying NIC QP
        RDMA/nes: Fix MDC setting
        RDMA/nes: Add wqm_quanta module option
        RDMA/nes: Module parameter permissions
        RDMA/cxgb3: Set active_mtu in ib_port_attr
        RDMA/nes: Add support for 4-port 1G HP blade card
        RDMA/nes: Make mini_cm_connect() static
        ...
      3af73d39
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm · 13dd7f87
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm:
        dlm: choose better identifiers
        dlm: remove bkl
        dlm: fix address compare
        dlm: fix locking of lockspace list in dlm_scand
        dlm: detect available userspace daemon
        dlm: allow multiple lockspace creates
      13dd7f87
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm · b0af205a
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm:
        dm: detect lost queue
        dm: publish dm_vcalloc
        dm: publish dm_table_unplug_all
        dm: publish dm_get_mapinfo
        dm: export struct dm_dev
        dm crypt: avoid unnecessary wait when splitting bio
        dm crypt: tidy ctx pending
        dm crypt: fix async inc_pending
        dm crypt: move dec_pending on error into write_io_submit
        dm crypt: remove inc_pending from write_io_submit
        dm crypt: tidy write loop pending
        dm crypt: tidy crypt alloc
        dm crypt: tidy inc pending
        dm exception store: use chunk_t for_areas
        dm exception store: introduce area_location function
        dm raid1: kcopyd should stop on error if errors handled
        dm mpath: remove is_active from struct dm_path
        dm mpath: use more error codes
      
      Fixed up trivial conflict in drivers/md/dm-mpath.c manually.
      b0af205a
    • C
      Fix barrier fail detection in XFS · 73f6aa4d
      Christoph Hellwig 提交于
      Currently we disable barriers as soon as we get a buffer in xlog_iodone
      that has the XBF_ORDERED flag cleared.  But this can be the case not only
      for buffers where the barrier failed, but also the first buffer of a
      split log write in case of a log wraparound.  Due to the disabled
      barriers we can easily get directory corruption on unclean shutdowns.
      So instead of using this check add a new buffer flag for failed barrier
      writes.
      
      This is a regression vs 2.6.26 caused by patch to use the right macro
      to check for the ORDERED flag, as we previously got true returned for
      every buffer.
      
      Thanks to Toei Rei for reporting the bug.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NEric Sandeen <sandeen@sandeen.net>
      Reviewed-by: NDavid Chinner <david@fromorbit.com>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      73f6aa4d
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw · 445e1ced
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw:
        GFS2: Support for I/O barriers
        GFS2: Add UUID to GFS2 sb
        GFS2: high time to take some time over atime
        GFS2: The war on bloat
        GFS2: GFS2 will panic if you misspell any mount options
        GFS2: Direct IO write at end of file error
        GFS2: Use an IS_ERR test rather than a NULL test
        GFS2: Fix race relating to glock min-hold time
        GFS2: Fix & clean up GFS2 rename
        GFS2: rm on multiple nodes causes panic
        GFS2: Fix metafs mounts
        GFS2: Fix debugfs glock file iterator
      445e1ced
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 · ef5bef35
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (37 commits)
        [SCSI] zfcp: fix double dbf id usage
        [SCSI] zfcp: wait on SCSI work to be finished before proceeding with init dev
        [SCSI] zfcp: fix erp list usage without using locks
        [SCSI] zfcp: prevent fc_remote_port_delete calls for unregistered rport
        [SCSI] zfcp: fix deadlock caused by shared work queue tasks
        [SCSI] zfcp: put threshold data in hba trace
        [SCSI] zfcp: Simplify zfcp data structures
        [SCSI] zfcp: Simplify get_adapter_by_busid
        [SCSI] zfcp: remove all typedefs and replace them with standards
        [SCSI] zfcp: attach and release SAN nameserver port on demand
        [SCSI] zfcp: remove unused references, declarations and flags
        [SCSI] zfcp: Update message with input from review
        [SCSI] zfcp: add queue_full sysfs attribute
        [SCSI] scsi_dh: suppress comparison warning
        [SCSI] scsi_dh: add Dell product information into rdac device handler
        [SCSI] qla2xxx: remove the unused SCSI_QLOGIC_FC_FIRMWARE option
        [SCSI] qla2xxx: fix printk format warnings
        [SCSI] qla2xxx: Update version number to 8.02.01-k8.
        [SCSI] qla2xxx: Ignore payload reserved-bits during RSCN processing.
        [SCSI] qla2xxx: Additional residual-count corrections during UNDERRUN handling.
        ...
      ef5bef35
    • L
      Merge branch 'for-2.6.28' of git://git.kernel.dk/linux-2.6-block · e26feff6
      Linus Torvalds 提交于
      * 'for-2.6.28' of git://git.kernel.dk/linux-2.6-block: (132 commits)
        doc/cdrom: Trvial documentation error, file not present
        block_dev: fix kernel-doc in new functions
        block: add some comments around the bio read-write flags
        block: mark bio_split_pool static
        block: Find bio sector offset given idx and offset
        block: gendisk integrity wrapper
        block: Switch blk_integrity_compare from bdev to gendisk
        block: Fix double put in blk_integrity_unregister
        block: Introduce integrity data ownership flag
        block: revert part of d7533ad0e132f92e75c1b2eb7c26387b25a583c1
        bio.h: Remove unused conditional code
        block: remove end_{queued|dequeued}_request()
        block: change elevator to use __blk_end_request()
        gdrom: change to use __blk_end_request()
        memstick: change to use __blk_end_request()
        virtio_blk: change to use __blk_end_request()
        blktrace: use BLKTRACE_BDEV_SIZE as the name size for setup structure
        block: add lld busy state exporting interface
        block: Fix blk_start_queueing() to not kick a stopped queue
        include blktrace_api.h in headers_install
        ...
      e26feff6
  2. 10 10月, 2008 21 次提交