1. 05 5月, 2013 32 次提交
  2. 04 5月, 2013 8 次提交
    • J
      hwmon: (lm75) Add support for the Dallas/Maxim DS7505 · 3fbc81e3
      Jean Delvare 提交于
      Basically it's the same as the original DS75 but much faster.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      3fbc81e3
    • J
      hwmon: (lm75) Tune resolution and sample time per chip · 0cd2c72d
      Jean Delvare 提交于
      Most LM75-compatible chips can either sample much faster or with a
      much better resolution than the original LM75 chip. So far the lm75
      driver did not let the user take benefit of these improvements. Do it
      now.
      
      I decided to almost always configure the chip to use the best
      resolution possible, which also means the longest sample time. The
      only chips for which I didn't are the DS75, DS1775 and STDS75, because
      they are really too slow in 12-bit mode (1.2 to 1.5 second worst case)
      so I went for 11-bit mode as a more reasonable tradeoff. This choice is
      dictated by the fact that the hwmon subsystem is meant for system
      monitoring, it has never been supposed to be ultra-fast, and as a
      matter of fact we do cache the sampled values in almost all drivers.
      
      If anyone isn't pleased with these default settings, they can always
      introduce a platform data structure or DT support for the lm75. That
      being said, it seems nobody ever complained that the driver wouldn't
      refresh the value faster than every 1.5 second, and the change made
      it faster for all chips even in 12-bit mode, so I don't expect any
      complaint.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      0cd2c72d
    • J
      hwmon: (lm75) Prepare to support per-chip resolution and sample time · 87d0621a
      Jean Delvare 提交于
      Prepare the lm75 driver to support per-chip resolution and sample
      time. For now we only make the code generic enough to support it, but
      we still use the same, unchanged resolution (9-bit) and sample time
      (1.5 s) for all chips.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      87d0621a
    • J
      hwmon: (lm75) Per-chip configuration register initialization · 8a5c5cc6
      Jean Delvare 提交于
      There is no standard for the configuration register bits of LM75-like
      chips. We shouldn't blindly clear bits setting the resolution as they
      are either unused or used for something else on some of the supported
      chips.
      
      So, switch to per-chip configuration initialization. This will allow
      for better tuning later, for example using more resolution bits when
      available.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      8a5c5cc6
    • L
      Merge branch 'for-3.10' of git://linux-nfs.org/~bfields/linux · 1db77221
      Linus Torvalds 提交于
      Pull nfsd changes from J Bruce Fields:
       "Highlights include:
      
         - Some more DRC cleanup and performance work from Jeff Layton
      
         - A gss-proxy upcall from Simo Sorce: currently krb5 mounts to the
           server using credentials from Active Directory often fail due to
           limitations of the svcgssd upcall interface.  This replacement
           lifts those limitations.  The existing upcall is still supported
           for backwards compatibility.
      
         - More NFSv4.1 support: at this point, if a user with a current
           client who upgrades from 4.0 to 4.1 should see no regressions.  In
           theory we do everything a 4.1 server is required to do.  Patches
           for a couple minor exceptions are ready for 3.11, and with those
           and some more testing I'd like to turn 4.1 on by default in 3.11."
      
      Fix up semantic conflict as per Stephen Rothwell and linux-next:
      
      Commit 030d794b ("SUNRPC: Use gssproxy upcall for server RPCGSS
      authentication") adds two new users of "PDE(inode)->data", but we're
      supposed to use "PDE_DATA(inode)" instead since commit d9dda78b
      ("procfs: new helper - PDE_DATA(inode)").
      
      The old PDE() macro is no longer available since commit c30480b9
      ("proc: Make the PROC_I() and PDE() macros internal to procfs")
      
      * 'for-3.10' of git://linux-nfs.org/~bfields/linux: (60 commits)
        NFSD: SECINFO doesn't handle unsupported pseudoflavors correctly
        NFSD: Simplify GSS flavor encoding in nfsd4_do_encode_secinfo()
        nfsd: make symbol nfsd_reply_cache_shrinker static
        svcauth_gss: fix error return code in rsc_parse()
        nfsd4: don't remap EISDIR errors in rename
        svcrpc: fix gss-proxy to respect user namespaces
        SUNRPC: gssp_procedures[] can be static
        SUNRPC: define {create,destroy}_use_gss_proxy_proc_entry in !PROC case
        nfsd4: better error return to indicate SSV non-support
        nfsd: fix EXDEV checking in rename
        SUNRPC: Use gssproxy upcall for server RPCGSS authentication.
        SUNRPC: Add RPC based upcall mechanism for RPCGSS auth
        SUNRPC: conditionally return endtime from import_sec_context
        SUNRPC: allow disabling idle timeout
        SUNRPC: attempt AF_LOCAL connect on setup
        nfsd: Decode and send 64bit time values
        nfsd4: put_client_renew_locked can be static
        nfsd4: remove unused macro
        nfsd4: remove some useless code
        nfsd4: implement SEQ4_STATUS_RECALLABLE_STATE_REVOKED
        ...
      1db77221
    • L
      Merge tag 'jfs-3.10' of git://github.com/kleikamp/linux-shaggy · 86652188
      Linus Torvalds 提交于
      Pull jfs fixes from David Kleikamp:
       "A couple fixes for jfs"
      
      (What's with the unhelpful pull request "explanations" from fs people
      today?)
      
      * tag 'jfs-3.10' of git://github.com/kleikamp/linux-shaggy:
        jfs: fix a couple races
        jfs: avoid undefined behavior from left-shifting by 32 bits
      86652188
    • L
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 14a9e5c0
      Linus Torvalds 提交于
      Pull ext3/jbd fixes from Jan Kara:
       "A couple of ext3/jbd fixes"
      
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        jbd: use kmem_cache_zalloc for allocating journal head
        jbd: use kmem_cache_zalloc instead of kmem_cache_alloc/memset
        jbd: don't wait (forever) for stale tid caused by wraparound
        ext3: fix data=journal fast mount/umount hang
      14a9e5c0
    • L
      Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm · 8546dc1d
      Linus Torvalds 提交于
      Pull ARM updates from Russell King:
       "The major items included in here are:
      
         - MCPM, multi-cluster power management, part of the infrastructure
           required for ARMs big.LITTLE support.
      
         - A rework of the ARM KVM code to allow re-use by ARM64.
      
         - Error handling cleanups of the IS_ERR_OR_NULL() madness and fixes
           of that stuff for arch/arm
      
         - Preparatory patches for Cortex-M3 support from Uwe Kleine-König.
      
        There is also a set of three patches in here from Hugh/Catalin to
        address freeing of inappropriate page tables on LPAE.  You already
        have these from akpm, but they were already part of my tree at the
        time he sent them, so unfortunately they'll end up with duplicate
        commits"
      
      * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (77 commits)
        ARM: EXYNOS: remove unnecessary use of IS_ERR_VALUE()
        ARM: IMX: remove unnecessary use of IS_ERR_VALUE()
        ARM: OMAP: use consistent error checking
        ARM: cleanup: OMAP hwmod error checking
        ARM: 7709/1: mcpm: Add explicit AFLAGS to support v6/v7 multiplatform kernels
        ARM: 7700/2: Make cpu_init() notrace
        ARM: 7702/1: Set the page table freeing ceiling to TASK_SIZE
        ARM: 7701/1: mm: Allow arch code to control the user page table ceiling
        ARM: 7703/1: Disable preemption in broadcast_tlb*_a15_erratum()
        ARM: mcpm: provide an interface to set the SMP ops at run time
        ARM: mcpm: generic SMP secondary bringup and hotplug support
        ARM: mcpm_head.S: vlock-based first man election
        ARM: mcpm: Add baremetal voting mutexes
        ARM: mcpm: introduce helpers for platform coherency exit/setup
        ARM: mcpm: introduce the CPU/cluster power API
        ARM: multi-cluster PM: secondary kernel entry code
        ARM: cacheflush: add synchronization helpers for mixed cache state accesses
        ARM: cpu hotplug: remove majority of cache flushing from platforms
        ARM: smp: flush L1 cache in cpu_die()
        ARM: tegra: remove tegra specific cpu_disable()
        ...
      8546dc1d