1. 28 Aug, 2017 2 commits
    • Javier Martinez Canillas's avatar
      dt-bindings: i2c: eeprom: Document vendor to be used and deprecated ones · 2f13f8c5
      Javier Martinez Canillas authored
      The at24 driver allows to register I2C EEPROM chips using different vendor
      and devices, but the I2C subsystem does not take the vendor into account
      when matching using the I2C table since it only has device entries.
      
      But when matching using an OF table, both the vendor and device has to be
      taken into account so the driver defines only a set of compatible strings
      using the "atmel" vendor as a generic fallback for compatible I2C devices.
      
      Document in the Device Tree binding document that this manufacturer should
      be used as the generic fallback. Also document the deprecated vendors.
      Suggested-by: default avatarWolfram Sang <wsa@the-dreams.de>
      Suggested-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarJavier Martinez Canillas <javier@dowhile0.org>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      2f13f8c5
    • Qiuxu Zhuo's avatar
      i2c: i801: Restore the presence state of P2SB PCI device after reading BAR · bfd4473b
      Qiuxu Zhuo authored
      Sun, Yunying reported the following failure on Denverton micro-server:
      
       EDAC DEBUG: pnd2_init:
       EDAC DEBUG: pnd2_probe:
       EDAC DEBUG: dnv_rd_reg: Read b_cr_tolud_pci=00000000_80000000
       EDAC DEBUG: dnv_rd_reg: Read b_cr_touud_lo_pci=00000000_80000000
       EDAC DEBUG: dnv_rd_reg: Read b_cr_touud_hi_pci=00000000_00000004
       EDAC DEBUG: dnv_rd_reg: Read b_cr_asym_mem_region0_mchbar=00000000_00000000
       EDAC DEBUG: dnv_rd_reg: Read b_cr_asym_mem_region1_mchbar=00000000_00000000
       EDAC DEBUG: dnv_rd_reg: Read b_cr_mot_out_base_mchbar=00000000_00000000
       EDAC DEBUG: dnv_rd_reg: Read b_cr_mot_out_mask_mchbar=00000000_00000000
       EDAC pnd2: Failed to register device with error -19.
      
      On Denverton micro-server, the presence of the P2SB bridge PCI device is
      enabled or disabled by the item 'RelaxSecConf' in BIOS setup menu. When
      'RelaxSecConf' is enabled, the P2SB PCI device is present and the pnd2_edac
      EDAC driver also uses it to get BAR. Hiding the P2SB PCI device caused the
      pnd2_edac EDAC driver failed to get BAR then reported the above failure.
      
      Therefor, store the presence state of P2SB PCI device before unhiding it
      for reading BAR and restore the presence state after reading BAR.
      Signed-off-by: default avatarQiuxu Zhuo <qiuxu.zhuo@intel.com>
      Reported-by: default avatarYunying Sun <yunying.sun@intel.com>
      Tested-by: default avatarYunying Sun <yunying.sun@intel.com>
      Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      bfd4473b
  2. 27 Aug, 2017 7 commits
  3. 22 Aug, 2017 2 commits
  4. 17 Aug, 2017 7 commits
  5. 14 Aug, 2017 10 commits
  6. 13 Aug, 2017 2 commits
  7. 12 Aug, 2017 7 commits
  8. 07 Aug, 2017 1 commit
  9. 06 Aug, 2017 2 commits
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v4.13-4' of git://git.infradead.org/linux-platform-drivers-x86 · acdae9ee
      Linus Torvalds authored
      Pull x86 platform driver fix from Darren Hart:
       "Fix loop preventing some platforms from waking up via the power button
        in s2idle:
      
         - intel-vbtn: match power button on press rather than release"
      
      * tag 'platform-drivers-x86-v4.13-4' of git://git.infradead.org/linux-platform-drivers-x86:
        platform/x86: intel-vbtn: match power button on press rather than release
      acdae9ee
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · ed66da11
      Linus Torvalds authored
      Pull ext4 fixes from Ted Ts'o:
       "A large number of ext4 bug fixes and cleanups for v4.13"
      
      * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: fix copy paste error in ext4_swap_extents()
        ext4: fix overflow caused by missing cast in ext4_resize_fs()
        ext4, project: expand inode extra size if possible
        ext4: cleanup ext4_expand_extra_isize_ea()
        ext4: restructure ext4_expand_extra_isize
        ext4: fix forgetten xattr lock protection in ext4_expand_extra_isize
        ext4: make xattr inode reads faster
        ext4: inplace xattr block update fails to deduplicate blocks
        ext4: remove unused mode parameter
        ext4: fix warning about stack corruption
        ext4: fix dir_nlink behaviour
        ext4: silence array overflow warning
        ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize
        ext4: release discard bio after sending discard commands
        ext4: convert swap_inode_data() over to use swap() on most of the fields
        ext4: error should be cleared if ea_inode isn't added to the cache
        ext4: Don't clear SGID when inheriting ACLs
        ext4: preserve i_mode if __ext4_set_acl() fails
        ext4: remove unused metadata accounting variables
        ext4: correct comment references to ext4_ext_direct_IO()
      ed66da11