1. 14 Dec, 2014 6 commits
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 96895199
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "For 3.19, the I2C subsystem has to offer special candy this time.
        Right in time for Christmas :)
      
         - I2C slave framework: finally, a generic mechanism for Linux being
           an I2C slave (if the bus driver supports that).  Docs are still
           missing but will come later this cycle, the code is good enough to
           go.
         - I2C muxes represent their topology in sysfs much more detailed.
           This will help users to navigate around much easier.
         - irq population of i2c clients is now done at probe time, not device
           creation time, to have better support for deferred probing.
         - new drivers for Imagination SCB, Amlogic Meson
         - DMA support added for Freescale IMX, Renesas SHMobile
         - slightly bigger driver updates to OMAP, i801, AT91, and rk3x
           (mostly quirk handling, timing updates, and using better kernel
           interfaces)
         - eeprom driver can now write with byte-access (very slow, but OK to
           have)
         - and the bunch of smaller fixes, cleanups, ID updates..."
      
      * 'i2c/for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (56 commits)
        i2c: sh_mobile: remove unneeded DMA mask
        i2c: rcar: add slave support
        i2c: slave-eeprom: add eeprom simulator driver
        i2c: core changes for slave support
        MAINTAINERS: add I2C dt bindings also to I2C realm
        i2c: designware: Fix falling time bindings doc
        i2c: davinci: switch to use platform_get_irq
        Documentation: i2c: Use PM ops instead of legacy suspend/resume
        i2c: sh_mobile: optimize irq entry
        i2c: pxa: add support for SCCB devices
        omap: i2c: don't check bus state IP rev3.3 and earlier
        i2c: s3c2410: Handle i2c sys_cfg register in i2c driver
        i2c: rk3x: add Kconfig dependency on COMMON_CLK
        i2c: omap: add notes related to i2c multimaster mode
        i2c: omap: don't reset controller if Arbitration Lost detected
        i2c: omap: implement workaround for handling invalid BB-bit values
        i2c: omap: cleanup register definitions
        i2c: rk3x: handle dynamic clock rate changes correctly
        i2c: at91: enable probe deferring on dma channel request
        i2c: at91: remove legacy DMA support
        ...
      96895199
    • Linus Torvalds's avatar
      Merge tag 'md/3.19' of git://neil.brown.name/md · 8fd9589c
      Linus Torvalds authored
      Pull md updates from Neil Brown:
       "Three fixes for md.
      
         I did have a largish set of locking changes queued, but late testing
        showed they weren't quite as stable as I thought and while I fixed
        what I found, I decided it safer to delay them a release ...
        particularly as I'll be AFK for a few weeks.  So expect a larger batch
        next time :-)"
      
      * tag 'md/3.19' of git://neil.brown.name/md:
        md: Check MD_RECOVERY_RUNNING as well as ->sync_thread.
        md: fix semicolon.cocci warnings
        md/raid5: fetch_block must fetch all the blocks handle_stripe_dirtying wants.
      8fd9589c
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 536e89ee
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
       "Misc fixes (mainly Andy's TLS fixes), plus a cleanup"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/tls: Disallow unusual TLS segments
        x86/tls: Validate TLS entries to protect espfix
        MAINTAINERS: Add me as x86 VDSO submaintainer
        x86/asm: Unify segment selector defines
        x86/asm: Guard against building the 32/64-bit versions of the asm-offsets*.c file directly
        x86_64, switch_to(): Load TLS descriptors before switching DS and ES
        x86/mm: Use min() instead of min_t() in the e820 printout code
        x86/mm: Fix zone ranges boot printout
        x86/doc: Update documentation after file shuffling
      536e89ee
    • Andy Lutomirski's avatar
      x86/tls: Disallow unusual TLS segments · 0e58af4e
      Andy Lutomirski authored
      Users have no business installing custom code segments into the
      GDT, and segments that are not present but are otherwise valid
      are a historical source of interesting attacks.
      
      For completeness, block attempts to set the L bit.  (Prior to
      this patch, the L bit would have been silently dropped.)
      
      This is an ABI break.  I've checked glibc, musl, and Wine, and
      none of them look like they'll have any trouble.
      
      Note to stable maintainers: this is a hardening patch that fixes
      no known bugs.  Given the possibility of ABI issues, this
      probably shouldn't be backported quickly.
      Signed-off-by: default avatarAndy Lutomirski <luto@amacapital.net>
      Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
      Cc: stable@vger.kernel.org # optional
      Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: security@kernel.org <security@kernel.org>
      Cc: Willy Tarreau <w@1wt.eu>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      0e58af4e
    • Andy Lutomirski's avatar
      x86/tls: Validate TLS entries to protect espfix · 41bdc785
      Andy Lutomirski authored
      Installing a 16-bit RW data segment into the GDT defeats espfix.
      AFAICT this will not affect glibc, Wine, or dosemu at all.
      Signed-off-by: default avatarAndy Lutomirski <luto@amacapital.net>
      Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
      Cc: stable@vger.kernel.org
      Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: security@kernel.org <security@kernel.org>
      Cc: Willy Tarreau <w@1wt.eu>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      41bdc785
    • Andy Lutomirski's avatar
  2. 13 Dec, 2014 34 commits