1. 20 5月, 2010 24 次提交
    • M
      ARM: mach-shmobile: sh7372 clock framework support V2 · 495b3cea
      Magnus Damm 提交于
      This patch is V2 of clock framework tables/code for sh7372.
      MSTP are included for KEYSC, SCIF, IIC, USB, SDHI and UIO.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      495b3cea
    • M
      ARM: mach-shmobile: Use shared clock framework · e47bb515
      Magnus Damm 提交于
      Teach SH-Mobile ARM how to make use of the shared SH clock
      framework. This commit is one atomic switch that dumps the
      local hackery and instead links in the shared clock framework
      code in drivers/sh. A few local functions are kept in clock.c.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e47bb515
    • M
      ARM: mach-shmobile: Enable TMU driver build · 645e522e
      Magnus Damm 提交于
      Allow users to build the TMU driver on SH-Mobile ARM.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      645e522e
    • M
      ARM: mach-shmobile: sh7372 INTCS support · f4dd6185
      Magnus Damm 提交于
      Add support for the sh7372 INTCS interrupt controller.
      
      INTCS is the interrupt controller for the sh7372 SuperH
      processor core. It is tied into the INTCA interrupt
      controller which interfaces to the ARM processor.
      
      INTCS support is implemented using a new INTC table
      together with a chained interrupt handler that ties
      into the already supported INTCA controller.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f4dd6185
    • M
      ARM: mach-shmobile: Use 0x2200 as INTCS_VECT_BASE · 9b7c23ad
      Magnus Damm 提交于
      Change INTCS_VECT_BASE from 0x3400 to 0x2200.
      
      The old value 0x3400 gave the INTCA and INTCS interrupt
      conrollers separated spaces, but required ARM support
      for more than 512 NR_IRQS which is not in place at this
      point.
      
      The value 0x2200 will make some of the INTCA interrupts
      make use of empty INTCS areas. This is a bit more error
      prone but works fine as a workaround for G3, G3 and AP4.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      9b7c23ad
    • P
    • L
      Merge branch 'for-2.6.35' of git://linux-nfs.org/~bfields/linux · f72caf7e
      Linus Torvalds 提交于
      * 'for-2.6.35' of git://linux-nfs.org/~bfields/linux: (45 commits)
        Revert "nfsd4: distinguish expired from stale stateids"
        nfsd: safer initialization order in find_file()
        nfs4: minor callback code simplification, comment
        NFSD: don't report compiled-out versions as present
        nfsd4: implement reclaim_complete
        nfsd4: nfsd4_destroy_session must set callback client under the state lock
        nfsd4: keep a reference count on client while in use
        nfsd4: mark_client_expired
        nfsd4: introduce nfs4_client.cl_refcount
        nfsd4: refactor expire_client
        nfsd4: extend the client_lock to cover cl_lru
        nfsd4: use list_move in move_to_confirmed
        nfsd4: fold release_session into expire_client
        nfsd4: rename sessionid_lock to client_lock
        nfsd4: fix bare destroy_session null dereference
        nfsd4: use local variable in nfs4svc_encode_compoundres
        nfsd: further comment typos
        sunrpc: centralise most calls to svc_xprt_received
        nfsd4: fix unlikely race in session replay case
        nfsd4: fix filehandle comment
        ...
      f72caf7e
    • L
      Merge branch 'nfs-for-2.6.35' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 · 6a6be470
      Linus Torvalds 提交于
      * 'nfs-for-2.6.35' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6: (78 commits)
        SUNRPC: Don't spam gssd with upcall requests when the kerberos key expired
        SUNRPC: Reorder the struct rpc_task fields
        SUNRPC: Remove the 'tk_magic' debugging field
        SUNRPC: Move the task->tk_bytes_sent and tk_rtt to struct rpc_rqst
        NFS: Don't call iput() in nfs_access_cache_shrinker
        NFS: Clean up nfs_access_zap_cache()
        NFS: Don't run nfs_access_cache_shrinker() when the mask is GFP_NOFS
        SUNRPC: Ensure rpcauth_prune_expired() respects the nr_to_scan parameter
        SUNRPC: Ensure memory shrinker doesn't waste time in rpcauth_prune_expired()
        SUNRPC: Dont run rpcauth_cache_shrinker() when gfp_mask is GFP_NOFS
        NFS: Read requests can use GFP_KERNEL.
        NFS: Clean up nfs_create_request()
        NFS: Don't use GFP_KERNEL in rpcsec_gss downcalls
        NFSv4: Don't use GFP_KERNEL allocations in state recovery
        SUNRPC: Fix xs_setup_bc_tcp()
        SUNRPC: Replace jiffies-based metrics with ktime-based metrics
        ktime: introduce ktime_to_ms()
        SUNRPC: RPC metrics and RTT estimator should use same RTT value
        NFS: Calldata for nfs4_renew_done()
        NFS: Squelch compiler warning in nfs_add_server_stats()
        ...
      6a6be470
    • L
      Merge branch 'bkl/procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing · 98c89cdd
      Linus Torvalds 提交于
      * 'bkl/procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing:
        sunrpc: Include missing smp_lock.h
        procfs: Kill the bkl in ioctl
        procfs: Push down the bkl from ioctl
        procfs: Use generic_file_llseek in /proc/vmcore
        procfs: Use generic_file_llseek in /proc/kmsg
        procfs: Use generic_file_llseek in /proc/kcore
        procfs: Kill BKL in llseek on proc base
      98c89cdd
    • L
      Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip · 164d44fd
      Linus Torvalds 提交于
      * 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        clocksource: Add clocksource_register_hz/khz interface
        posix-cpu-timers: Optimize run_posix_cpu_timers()
        time: Remove xtime_cache
        mqueue: Convert message queue timeout to use hrtimers
        hrtimers: Provide schedule_hrtimeout for CLOCK_REALTIME
        timers: Introduce the concept of timer slack for legacy timers
        ntp: Remove tickadj
        ntp: Make time_adjust static
        time: Add xtime, wall_to_monotonic to feature-removal-schedule
        timer: Try to survive timer callback preempt_count leak
        timer: Split out timer function call
        timer: Print function name for timer callbacks modifying preemption count
        time: Clean up warp_clock()
        cpu-timers: Avoid iterating over all threads in fastpath_timer_check()
        cpu-timers: Change SIGEV_NONE timer implementation
        cpu-timers: Return correct previous timer reload value
        cpu-timers: Cleanup arm_timer()
        cpu-timers: Simplify RLIMIT_CPU handling
      164d44fd
    • L
      Merge branch 'timers-fixes-for-linus' of... · 5bfec46b
      Linus Torvalds 提交于
      Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        cs5535-clockevt: Free timer in IRQ setup error path
      5bfec46b
    • L
      Merge branch 'timers-for-linus-hpet' of... · 6fa0fddd
      Linus Torvalds 提交于
      Merge branch 'timers-for-linus-hpet' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'timers-for-linus-hpet' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86, hpet: Add reference to chipset erratum documentation for disable-hpet-msi-quirk
        x86, hpet: Restrict read back to affected ATI chipsets
      6fa0fddd
    • L
      Merge branch 'timers-for-linus-cleanups' of... · 7d02093e
      Linus Torvalds 提交于
      Merge branch 'timers-for-linus-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'timers-for-linus-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        avr32: Fix typo in read_persistent_clock()
        sparc: Convert sparc to use read/update_persistent_clock
        cris: Convert cris to use read/update_persistent_clock
        m68k: Convert m68k to use read/update_persistent_clock
        m32r: Convert m32r to use read/update_peristent_clock
        blackfin: Convert blackfin to use read/update_persistent_clock
        ia64: Convert ia64 to use read/update_persistent_clock
        avr32: Convert avr32 to use read/update_persistent_clock
        h8300: Convert h8300 to use read/update_persistent_clock
        frv: Convert frv to use read/update_persistent_clock
        mn10300: Convert mn10300 to use read/update_persistent_clock
        alpha: Convert alpha to use read/update_persistent_clock
        xtensa: Fix unnecessary setting of xtime
        time: Clean up direct xtime usage in xen
      7d02093e
    • L
      Merge branch 'irq-core-for-linus' of... · 6e0b7b2c
      Linus Torvalds 提交于
      Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        genirq: Clear CPU mask in affinity_hint when none is provided
        genirq: Add CPU mask affinity hint
        genirq: Remove IRQF_DISABLED from core code
        genirq: Run irq handlers with interrupts disabled
        genirq: Introduce request_any_context_irq()
        genirq: Expose irq_desc->node in proc/irq
      
      Fixed up trivial conflicts in Documentation/feature-removal-schedule.txt
      6e0b7b2c
    • L
      Merge branch 'msm-core' of git://codeaurora.org/quic/kernel/dwalker/linux-msm · e4e47eb1
      Linus Torvalds 提交于
      * 'msm-core' of git://codeaurora.org/quic/kernel/dwalker/linux-msm: (72 commits)
        msm: 7x30 Kconfig and makefile changes
        msm: clock support for the MSM7x30 CPU.
        msm: physical offset for MSM7X30
        msm: io: add io support for 7x30
        msm: Add extern for 7x30 clock list.
        msm: dma: add 7x30 security domain abstraction
        msm: update basic board layout for MSM7x30
        msm: add devices-msm7x30.c
        msm: add msm_iomap-7x30.h for MSM7x30 support
        msm: irqs: add irqs-7x30.h for MSM7x30 support
        msm: 8x50 Kconfig changes
        msm: physical offset for QSD8x50
        msm: io: add io support for 8x50
        msm: add extern for 8x50 clock list.
        msm: add devices-qsd8x50.c
        msm: update basic board layout for QSD8x50
        msm: add msm_iomap-8x50.h for QSD8x50 support
        msm: irqs: add irqs-8x50.h for QSD8x50 support
        msm: timer: allow MSM_DGT_BASE to be overriden
        msm: add Qualcomm 7x30 interrupt controller driver.
        ...
      e4e47eb1
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 711f77f5
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
        sparc: Define ARCH_SLAB_MINALIGN
        drivers/sbus/char/flash.c: flash_read should update ppos instead of file->f_pos
        sparc64: Fix stack dumping and tracing when function graph is enabled.
        sparc64: Show stack backtrace from show_regs() just like other platforms.
      711f77f5
    • L
      Merge branch 'davinci-for-linus' of... · 024a6b95
      Linus Torvalds 提交于
      Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci
      
      * 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci: (48 commits)
        Revert "rtc: omap: let device wakeup capability be configured from chip init logic"
        DM365: Added more PINMUX configurations for AEMIF
        DM365: Make CLKOUTx available
        DM365: Added PINMUX definitions for GPIO30..32
        Davinci: iotable based ioremap() interception
        Davinci: pinmux - use ioremap()
        Davinci: aintc/cpintc - use ioremap()
        Davinci: psc - use ioremap()
        Davinci: timer - use ioremap()
        Davinci: jtag_id - use ioremap()
        Davinci: da8xx: rtc - use ioremap
        Davinci: gpio - use ioremap()
        davinci: edma: fix coding style issue related to breaking lines
        davinci: edma: use BIT() wherever possible
        davinci: edma: fix coding style issue related to usage of braces
        davinci: edma: use a more intuitive name for edma_info
        Davinci: serial - conditional reset via pwremu
        Davinci: serial - use ioremap()
        Davinci: serial - remove unnecessary define
        Davinci: watchdog reset separation across socs
        ...
      
      Fix up trivial conflict in arch/arm/Kconfig due to removal of "select
      GENERIC_TIME"
      024a6b95
    • L
      Merge branch 'for-linus/samsung4' of git://git.fluff.org/bjdooks/linux · 349e1fba
      Linus Torvalds 提交于
      * 'for-linus/samsung4' of git://git.fluff.org/bjdooks/linux: (98 commits)
        Input: s3c24xx_ts - depend on SAMSUNG_DEV_TS and update menu entry
        Input: s3c24xx_ts - Add FEAT for Samsung touchscreen support
        Input: s3c24xx_ts - Implement generic GPIO configuration callback
        ARM: SAMSUNG: Move s3c64xx dev-ts.c to plat-samsung and rename configuration
        ARM: SAMSUNG: Implements cfg_gpio function for Samsung touchscreen
        ARM: S3C64XX: Add touchscreen platform device definition
        ARM: SAMSUNG: Move mach/ts.h to plat/ts.h
        ARM: S5PC100: Move i2c helpers from plat-s5pc1xx to mach-s5pc100
        ARM: S5PC100: Move frame buffer helpers from plat-s5pc1xx to mach-s5pc100
        ARM: S5PC100: gpio.h cleanup
        ARM: S5PC100: Move gpio support from plat-s5pc1xx to mach-s5pc100
        ARM: S5PC100: Use common functions for gpiolib implementation
        drivers: serial: S5PC100 serial driver cleanup
        ARM: S5PC100: Pre-requisite clock patch for plat-s5pc1xx to plat-s5p move
        ARM: SAMSUNG: Copy common I2C0 device helpers to machine directories
        ARM: SAMSUNG: move driver strength gpio configuration helper to common dir
        ARM: S5PV210: Add GPIOlib support
        ARM: SAMSUNGy: fix broken timer irq base
        ARM: SMDK6440: Add audio devices on board
        ARM: S5P6440: Add audio platform devices
        ...
      349e1fba
    • K
      cpumask: fix compat getaffinity · fa9dc265
      KOSAKI Motohiro 提交于
      Commit a45185d2 "cpumask: convert kernel/compat.c" broke libnuma, which
      abuses sched_getaffinity to find out NR_CPUS in order to parse
      /sys/devices/system/node/node*/cpumap.
      
      On NUMA systems with less than 32 possibly CPUs, the current
      compat_sys_sched_getaffinity now returns '4' instead of the actual
      NR_CPUS/8, which makes libnuma bail out when parsing the cpumap.
      
      The libnuma call sched_getaffinity(0, bitmap, 4096) at first.  It mean
      the libnuma expect the return value of sched_getaffinity() is either len
      argument or NR_CPUS.  But it doesn't expect to return nr_cpu_ids.
      
      Strictly speaking, userland requirement are
      
      1) Glibc assume the return value mean the lengh of initialized
         of mask argument. E.g. if sched_getaffinity(1024) return 128,
         glibc make zero fill rest 896 byte.
      2) Libnuma assume the return value can be used to guess NR_CPUS
         in kernel. It assume len-arg<NR_CPUS makes -EINVAL. But
         it try len=4096 at first and 4096 is always bigger than
         NR_CPUS. Then, if we remove strange min_length normalization,
         we never hit -EINVAL case.
      
      sched_getaffinity() already solved this issue.  This patch adapts
      compat_sys_sched_getaffinity() to match the non-compat case.
      Signed-off-by: NKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
      Acked-by: NRusty Russell <rusty@rustcorp.com.au>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Reported-by: NKen Werner <ken.werner@web.de>
      Cc: stable@kernel.org
      Cc: Andi Kleen <andi@firstfloor.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fa9dc265
    • L
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · cf77e988
      Linus Torvalds 提交于
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] Drop duplicated "config IOMMU_HELPER"
        [IA64] invoke oom-killer from page fault
        [IA64] use __ratelimit
        [IA64] Use set_cpus_allowed_ptr
        [IA64] Use set_cpus_allowed_ptr
        [IA64] arch/ia64/hp/common/sba_iommu.c: Rename dev_info to adi
        [IA64] removing redundant ifdef
      cf77e988
    • L
      Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm · 1d3c6ff4
      Linus Torvalds 提交于
      * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (224 commits)
        ARM: remove 'select GENERIC_TIME'
        ARM: 6136/1: ARCH_REQUIRE_GPIOLIB selects GENERIC_GPIO
        ARM: 6074/1: oprofile: convert from sysdev to platform device
        ARM: 6073/1: oprofile: remove old files and update KConfig
        ARM: 6072/1: oprofile: use perf-events framework as backend
        ARM: 6071/1: perf-events: allow modules to query the number of hardware counters
        ARM: 6070/1: perf-events: add support for xscale PMUs
        ARM: 6069/1: perf-events: use numeric ID to identify PMU
        ARM: 6064/1: pmu: register IRQs at runtime
        ARM: Optionally allow ARMv6 to use 'normal, bufferable' memory for DMA
        ARM: 6134/1: Handle instruction cache maintenance fault properly
        ARM: nwfpe: allow debugging output to be configured at runtime
        ARM: rename mach_cpu_disable() to platform_cpu_disable()
        ARM: 6132/1: PL330: Add common core driver
        ARM: 6094/1: Extend cache-l2x0 to support the 16-way PL310
        ARM: Move memory mapping into mmu.c
        ARM: Ensure meminfo is sorted prior to sanity_check_meminfo
        ARM: Remove useless linux/bootmem.h includes
        ARM: convert /proc/cpu/aligment to seq_file
        arm: use asm-generic/scatterlist.h
        ...
      1d3c6ff4
    • K
      Revert "rtc: omap: let device wakeup capability be configured from chip init logic" · 5e682ef8
      Kevin Hilman 提交于
      This reverts commit 9c0a342c because
      it was included without proper signoffs from RTC maintainers.
      5e682ef8
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 · 7c7cbaf5
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (127 commits)
        sh: update defconfigs.
        sh: Fix up the NUMA build for recent LMB changes.
        sh64: provide a stub per_cpu_trap_init() definition.
        sh: fix up CONFIG_KEXEC=n build.
        sh: fixup the docbook paths for clock framework shuffling.
        driver core: Early dev_name() depends on slab_is_available().
        sh: simplify WARN usage in SH clock driver
        sh: Check return value of clk_get on ms7724
        sh: Check return value of clk_get on ecovec24
        sh: move sh clock-cpg.c contents to drivers/sh/clk-cpg.c
        sh: move sh clock.c contents to drivers/sh/clk.
        sh: move sh asm/clock.h contents to linux/sh_clk.h V2
        sh: remove unused clock lookup
        sh: switch boards to clkdev
        sh: switch sh4-202 to clkdev
        sh: switch shx3 to clkdev
        sh: switch sh7757 to clkdev
        sh: switch sh7763 to clkdev
        sh: switch sh7780 to clkdev
        sh: switch sh7786 to clkdev
        ...
      7c7cbaf5
    • L
      Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 · ba0234ec
      Linus Torvalds 提交于
      * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: (24 commits)
        [S390] drivers/s390/char: Use kmemdup
        [S390] drivers/s390/char: Use kstrdup
        [S390] debug: enable exception-trace debug facility
        [S390] s390_hypfs: Add new attributes
        [S390] qdio: remove API wrappers
        [S390] qdio: set correct bit in dsci
        [S390] qdio: dont convert timestamps to microseconds
        [S390] qdio: remove memset hack
        [S390] qdio: prevent starvation on PCI devices
        [S390] qdio: count number of qdio interrupts
        [S390] user space fault: report fault before calling do_exit
        [S390] topology: expose core identifier
        [S390] dasd: remove uid from devmap
        [S390] dasd: add dynamic pav toleration
        [S390] vdso: add missing vdso_install target
        [S390] vdso: remove redundant check for CONFIG_64BIT
        [S390] avoid default_llseek in s390 drivers
        [S390] vmcp: disallow modular build
        [S390] add breaking event address for user space
        [S390] virtualization aware cpu measurement
        ...
      ba0234ec
  2. 19 5月, 2010 16 次提交