1. 06 10月, 2012 23 次提交
  2. 05 10月, 2012 5 次提交
    • L
      Merge tag 'kvm-3.7-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm · ecefbd94
      Linus Torvalds 提交于
      Pull KVM updates from Avi Kivity:
       "Highlights of the changes for this release include support for vfio
        level triggered interrupts, improved big real mode support on older
        Intels, a streamlines guest page table walker, guest APIC speedups,
        PIO optimizations, better overcommit handling, and read-only memory."
      
      * tag 'kvm-3.7-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (138 commits)
        KVM: s390: Fix vcpu_load handling in interrupt code
        KVM: x86: Fix guest debug across vcpu INIT reset
        KVM: Add resampling irqfds for level triggered interrupts
        KVM: optimize apic interrupt delivery
        KVM: MMU: Eliminate pointless temporary 'ac'
        KVM: MMU: Avoid access/dirty update loop if all is well
        KVM: MMU: Eliminate eperm temporary
        KVM: MMU: Optimize is_last_gpte()
        KVM: MMU: Simplify walk_addr_generic() loop
        KVM: MMU: Optimize pte permission checks
        KVM: MMU: Update accessed and dirty bits after guest pagetable walk
        KVM: MMU: Move gpte_access() out of paging_tmpl.h
        KVM: MMU: Optimize gpte_access() slightly
        KVM: MMU: Push clean gpte write protection out of gpte_access()
        KVM: clarify kvmclock documentation
        KVM: make processes waiting on vcpu mutex killable
        KVM: SVM: Make use of asm.h
        KVM: VMX: Make use of asm.h
        KVM: VMX: Make lto-friendly
        KVM: x86: lapic: Clean up find_highest_vector() and count_vectors()
        ...
      
      Conflicts:
      	arch/s390/include/asm/processor.h
      	arch/x86/kvm/i8259.c
      ecefbd94
    • L
      firmware: use 'kernel_read()' to read firmware into kernel buffer · ce57e981
      Linus Torvalds 提交于
      Fengguang correctly points out that the firmware reading should not use
      vfs_read(), since the buffer is in kernel space.
      
      The vfs_read() just happened to work for kernel threads, but sparse
      warns about the incorrect address spaces, and it's definitely incorrect
      and could fail for other users of the firmware loading.
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ce57e981
    • L
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · e1cc4852
      Linus Torvalds 提交于
      Pull ext3 & udf fixes from Jan Kara:
       "Shortlog pretty much says it all.
      
        The interesting bits are UDF support for direct IO and ext3 fix for a
        long standing oops in data=journal mode."
      
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        jbd: Fix assertion failure in commit code due to lacking transaction credits
        UDF: Add support for O_DIRECT
        ext3: Replace 0 with NULL for pointer in super.c file
        udf: add writepages support for udf
        ext3: don't clear orphan list on ro mount with errors
        reiserfs: Make reiserfs_xattr_handlers static
      e1cc4852
    • L
      Merge tag 'remoteproc-for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc · 4d6d3672
      Linus Torvalds 提交于
      Pull remoteproc update from Ohad Ben-Cohen:
      
       - Remoteproc Recovery - by Fernando Guzman Lugo
      
         When a remote processor crash is detected, this mechanism will remove
         all virtio children devices, wait until their drivers let go, hard
         reset the remote processor and reload the firmware (resulting in the
         relevant virtio children devices re-added).  Essentially the entire
         software stack is reset, together with the relevant hardware, so
         users don't have to reset the entire phone.
      
       - STE Modem driver is added - by Sjur Brændeland
      
       - OMAP DSP boot address support is added - by Juan Gutierrez
      
       - A handful of fixes/cleanups - Sjur Brændeland, Dan Carpenter, Emil
         Goode
      
      * tag 'remoteproc-for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc:
        remoteproc: Fix use of format specifyer
        remoteproc: fix a potential NULL-dereference on cleanup
        remoteproc: select VIRTIO to avoid build breakage
        remoteproc: return -EFAULT on copy_from_user failure
        remoteproc: snprintf() can return more than was printed
        remoteproc: Add STE modem driver
        remtoteproc: maintain max notifyid
        remoteproc: create a 'recovery' debugfs entry
        remoteproc: add actual recovery implementation
        remoteproc: add rproc_report_crash function to notify rproc crashes
        remoteproc: Add dependency to HAS_DMA
        remoteproc/omap: set bootaddr support
      4d6d3672
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · d66e6737
      Linus Torvalds 提交于
      Pull crypto update from Herbert Xu:
       - Optimised AES/SHA1 for ARM.
       - IPsec ESN support in talitos and caam.
       - x86_64/avx implementation of cast5/cast6.
       - Add/use multi-algorithm registration helpers where possible.
       - Added IBM Power7+ in-Nest support.
       - Misc fixes.
      
      Fix up trivial conflicts in crypto/Kconfig due to the sparc64 crypto
      config options being added next to the new ARM ones.
      
      [ Side note: cut-and-paste duplicate help texts make those conflicts
        harder to read than necessary, thanks to git being smart about
        minimizing conflicts and maximizing the common parts... ]
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (71 commits)
        crypto: x86/glue_helper - fix storing of new IV in CBC encryption
        crypto: cast5/avx - fix storing of new IV in CBC encryption
        crypto: tcrypt - add missing tests for camellia and ghash
        crypto: testmgr - make test_aead also test 'dst != src' code paths
        crypto: testmgr - make test_skcipher also test 'dst != src' code paths
        crypto: testmgr - add test vectors for CTR mode IV increasement
        crypto: testmgr - add test vectors for partial ctr(cast5) and ctr(cast6)
        crypto: testmgr - allow non-multi page and multi page skcipher tests from same test template
        crypto: caam - increase TRNG clocks per sample
        crypto, tcrypt: remove local_bh_disable/enable() around local_irq_disable/enable()
        crypto: tegra-aes - fix error return code
        crypto: crypto4xx - fix error return code
        crypto: hifn_795x - fix error return code
        crypto: ux500 - fix error return code
        crypto: caam - fix error IDs for SEC v5.x RNG4
        hwrng: mxc-rnga - Access data via structure
        hwrng: mxc-rnga - Adapt clocks to new i.mx clock framework
        crypto: caam - add IPsec ESN support
        crypto: 842 - remove .cra_list initialization
        Revert "[CRYPTO] cast6: inline bloat--"
        ...
      d66e6737
  3. 04 10月, 2012 8 次提交
    • J
      crypto: x86/glue_helper - fix storing of new IV in CBC encryption · c9f97a27
      Jussi Kivilinna 提交于
      Glue_helper incorrectly XORs new IV over old IV at end of CBC encryption
      function when it should store. This causes CBC encryption to give
      incorrect output on multi-page encryption requests.
      Signed-off-by: NJussi Kivilinna <jussi.kivilinna@mbnet.fi>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      c9f97a27
    • L
      Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux · 612a9aab
      Linus Torvalds 提交于
      Pull drm merge (part 1) from Dave Airlie:
       "So first of all my tree and uapi stuff has a conflict mess, its my
        fault as the nouveau stuff didn't hit -next as were trying to rebase
        regressions out of it before we merged.
      
        Highlights:
         - SH mobile modesetting driver and associated helpers
         - some DRM core documentation
         - i915 modesetting rework, haswell hdmi, haswell and vlv fixes, write
           combined pte writing, ilk rc6 support,
         - nouveau: major driver rework into a hw core driver, makes features
           like SLI a lot saner to implement,
         - psb: add eDP/DP support for Cedarview
         - radeon: 2 layer page tables, async VM pte updates, better PLL
           selection for > 2 screens, better ACPI interactions
      
        The rest is general grab bag of fixes.
      
        So why part 1? well I have the exynos pull req which came in a bit
        late but was waiting for me to do something they shouldn't have and it
        looks fairly safe, and David Howells has some more header cleanups
        he'd like me to pull, that seem like a good idea, but I'd like to get
        this merge out of the way so -next dosen't get blocked."
      
      Tons of conflicts mostly due to silly include line changes, but mostly
      mindless.  A few other small semantic conflicts too, noted from Dave's
      pre-merged branch.
      
      * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (447 commits)
        drm/nv98/crypt: fix fuc build with latest envyas
        drm/nouveau/devinit: fixup various issues with subdev ctor/init ordering
        drm/nv41/vm: fix and enable use of "real" pciegart
        drm/nv44/vm: fix and enable use of "real" pciegart
        drm/nv04/dmaobj: fixup vm target handling in preparation for nv4x pcie
        drm/nouveau: store supported dma mask in vmmgr
        drm/nvc0/ibus: initial implementation of subdev
        drm/nouveau/therm: add support for fan-control modes
        drm/nouveau/hwmon: rename pwm0* to pmw1* to follow hwmon's rules
        drm/nouveau/therm: calculate the pwm divisor on nv50+
        drm/nouveau/fan: rewrite the fan tachometer driver to get more precision, faster
        drm/nouveau/therm: move thermal-related functions to the therm subdev
        drm/nouveau/bios: parse the pwm divisor from the perf table
        drm/nouveau/therm: use the EXTDEV table to detect i2c monitoring devices
        drm/nouveau/therm: rework thermal table parsing
        drm/nouveau/gpio: expose the PWM/TOGGLE parameter found in the gpio vbios table
        drm/nouveau: fix pm initialization order
        drm/nouveau/bios: check that fixed tvdac gpio data is valid before using it
        drm/nouveau: log channel debug/error messages from client object rather than drm client
        drm/nouveau: have drm debugging macros build on top of core macros
        ...
      612a9aab
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace · 3a494318
      Linus Torvalds 提交于
      Pull user namespace compile fix from Eric W Biederman:
       "This tree contains a trivial build fix for one of the staging drivers
        when user namespace support is enabled"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
        userns: Fix build of drivers/staging/dgrp
      3a494318
    • L
      firmware: teach the kernel to load firmware files directly from the filesystem · abb139e7
      Linus Torvalds 提交于
      This is a first step in allowing people to by-pass udev for loading
      device firmware.  Current versions of udev will deadlock (causing us to
      block for the 30 second timeout) under some circumstances if the
      firmware is loaded as part of the module initialization path, and this
      is causing problems for media drivers in particular.
      
      The current patch hardcodes the firmware path that udev uses by default,
      and will fall back to the legacy udev mode if the firmware cannot be
      found there.  We'd like to add support for both configuring the paths
      and the fallback behaviour, but in the meantime this hopefully fixes the
      immediate problem, while also giving us a way forward.
      
      [ v2: Some VFS layer interface cleanups suggested by Al Viro ]
      [ v3: use the default udev paths suggested by Kay Sievers ]
      Suggested-by: NIvan Kalvachev <ikalvachev@gmail.com>
      Acked-by: NGreg KH <gregkh@linuxfoundation.org>
      Acked-by: NAl Viro <viro@zeniv.linux.org.uk>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Kay Sievers <kay@redhat.com>
      Cc: Ming Lei <ming.lei@canonical.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      abb139e7
    • L
      Merge tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394 · df5a2a1f
      Linus Torvalds 提交于
      Pull firewire updates from Stefan Richter:
        - feed GUIDs of FireWire nodes to the random pool
        - more complete quirk handling of a TI S400B phy
        - avoid holding a core lock while calling into highlevel drivers
      
      * tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        firewire: addendum to address handler RCU conversion
        firewire: remove global lock around address handlers, convert to RCU
        firewire: ohci: get IR bit from TSB41BA3D phy
        firewire: core: feed /dev/random with devices' GUIDs
      df5a2a1f
    • L
      Merge tag 'uapi-prep-20121002' of git://git.infradead.org/users/dhowells/linux-headers · 9b2e077c
      Linus Torvalds 提交于
      Pull preparatory patches for user API disintegration from David Howells:
       "The patches herein prepare for the extraction of the Userspace API
        bits from the various header files named in the Kbuild files.
      
        New subdirectories are created under either include/uapi/ or
        arch/x/include/uapi/ that correspond to the subdirectory containing
        that file under include/ or arch/x/include/.
      
        The new subdirs under the uapi/ directory are populated with Kbuild
        files that mostly do nothing at this time.  Further patches will
        disintegrate the headers in each original directory and fill in the
        Kbuild files as they do it.
      
        These patches also:
      
         (1) fix up #inclusions of "foo.h" rather than <foo.h>.
      
         (2) Remove some redundant #includes from the DRM code.
      
         (3) Make the kernel build infrastructure handle Kbuild files both in
             the old places and the new UAPI place that both specify headers
             to be exported.
      
         (4) Fix some kernel tools that #include kernel headers during their
             build.
      
        I have compile tested this with allyesconfig against x86_64,
        allmodconfig against i386 and a scattering of additional defconfigs of
        other arches.  Prepared for main script
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Acked-by: NMichael Kerrisk <mtk.manpages@gmail.com>
      Acked-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: NDave Jones <davej@redhat.com>
        Acked-by: H. Peter Anvin <hpa@zytor.com>"
      
      * tag 'uapi-prep-20121002' of git://git.infradead.org/users/dhowells/linux-headers:
        UAPI: Plumb the UAPI Kbuilds into the user header installation and checking
        UAPI: x86: Differentiate the generated UAPI and internal headers
        UAPI: Remove the objhdr-y export list
        UAPI: Move linux/version.h
        UAPI: Set up uapi/asm/Kbuild.asm
        UAPI: x86: Fix insn_sanity build failure after UAPI split
        UAPI: x86: Fix the test_get_len tool
        UAPI: (Scripted) Set up UAPI Kbuild files
        UAPI: Partition the header include path sets and add uapi/ header directories
        UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers
        UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/
        UAPI: (Scripted) Remove redundant DRM UAPI header #inclusions from drivers/gpu/.
        UAPI: Refer to the DRM UAPI headers with <...> and from certain headers only
      9b2e077c
    • E
      userns: Fix build of drivers/staging/dgrp · 702e4902
      Eric W. Biederman 提交于
      Explicitly test for GLOBAL_ROOT_UID and GLOBAL_ROOT_GID
      instead of using 0, allowing dgrp to compile and work
      properly when user namespace support is enabled.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: N"Eric W. Biederman" <ebiederm@xmission.com>
      702e4902
    • L
      Merge tag 'dt-for-3.7' of git://sources.calxeda.com/kernel/linux · a54dfb1a
      Linus Torvalds 提交于
      Pull devicetree updates from Rob Herring:
       - Import of latest upstream device tree compiler (dtc)
       - New function of_get_child_by_name
       - Support for #size-cells of 0 and #addr-cells of >2
       - Couple of DT binding documentation updates
      
      Fix up trivial conflicts due to of_get_child_by_name() having been added
      next to the new of_get_next_available_child().
      
      * tag 'dt-for-3.7' of git://sources.calxeda.com/kernel/linux:
        MAINTAINERS: add scripts/dtc under Devicetree maintainers
        dtc: import latest upstream dtc
        dt: Document general interrupt controller bindings
        dt/s3c64xx/spi: Use of_get_child_by_name to get a named child
        dt: introduce of_get_child_by_name to get child node by name
        of: i2c: add support for wakeup-source property
        of/address: Handle #address-cells > 2 specially
        DT: export of_irq_to_resource_table()
        devicetree: serial: Add documentation for imx serial
        devicetree: pwm: mxs-pwm.txt: Fix reg field annotation
        of: Allow busses with #size-cells=0
      a54dfb1a
  4. 03 10月, 2012 4 次提交