1. 24 Mar, 2018 7 commits
  2. 17 Mar, 2018 7 commits
  3. 06 Mar, 2018 2 commits
  4. 05 Mar, 2018 1 commit
    • Javier Martinez Canillas's avatar
      i2c: core: report OF style module alias for devices registered via OF · af503716
      Javier Martinez Canillas authored
      The buses should honor the firmware interface used to register the device,
      but the I2C core reports a MODALIAS of the form i2c:<device> even for I2C
      devices registered via OF.
      
      This means that user-space will never get an OF stype uevent MODALIAS even
      when the drivers modules contain aliases exported from both the I2C and OF
      device ID tables. For example, an Atmel maXTouch Touchscreen registered by
      a DT node with compatible "atmel,maxtouch" has the following module alias:
      
      $ cat /sys/class/i2c-adapter/i2c-8/8-004b/modalias
      i2c:maxtouch
      
      So udev won't be able to auto-load a module for an OF-only device driver.
      Many OF-only drivers duplicate the OF device ID table entries in an I2C ID
      table only has a workaround for how the I2C core reports the module alias.
      
      This patch changes the I2C core to report an OF related MODALIAS uevent if
      the device was registered via OF. So for the previous example, after this
      patch, the reported MODALIAS for the Atmel maXTouch will be the following:
      
      $ cat /sys/class/i2c-adapter/i2c-8/8-004b/modalias
      of:NtrackpadT<NULL>Catmel,maxtouch
      
      NOTE: This patch may break out-of-tree drivers that were relying on this
            behavior, and only had an I2C device ID table even when the device
            was registered via OF. There are no remaining drivers in mainline
            that do this, but out-of-tree drivers have to be fixed and define
            a proper OF device ID table to have module auto-loading working.
      Signed-off-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
      Tested-by: default avatarDmitry Mastykin <mastichi@gmail.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      af503716
  5. 02 Mar, 2018 3 commits
  6. 27 Feb, 2018 4 commits
  7. 26 Feb, 2018 14 commits
  8. 25 Feb, 2018 2 commits
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-4.16-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · c89be524
      Linus Torvalds authored
      Pull NFS client bugfixes from Trond Myklebust:
      
       - fix a broken cast in nfs4_callback_recallany()
      
       - fix an Oops during NFSv4 migration events
      
       - make struct nlmclnt_fl_close_lock_ops static
      
      * tag 'nfs-for-4.16-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS: make struct nlmclnt_fl_close_lock_ops static
        nfs: system crashes after NFS4ERR_MOVED recovery
        NFSv4: Fix broken cast in nfs4_callback_recallany()
      c89be524
    • Linus Torvalds's avatar
      Merge tag 'powerpc-4.16-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 3664ce2d
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Add handling for a missing instruction in our 32-bit BPF JIT so that
         it can be used for seccomp filtering.
      
       - Add a missing NULL pointer check before a function call in new EEH
         code.
      
       - Fix an error path in the new ocxl driver to correctly return EFAULT.
      
       - The support for the new ibm,drc-info device tree property turns out
         to need several fixes, so for now we just stop advertising to
         firmware that we support it until the bugs can be ironed out.
      
       - One fix for the new drmem code which was incorrectly modifying the
         device tree in place.
      
       - Finally two fixes for the RFI flush support, so that firmware can
         advertise to us that it should be disabled entirely so as not to
         affect performance.
      
      Thanks to: Bharata B Rao, Frederic Barrat, Juan J. Alvarez, Mark Lord,
      Michael Bringmann.
      
      * tag 'powerpc-4.16-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/powernv: Support firmware disable of RFI flush
        powerpc/pseries: Support firmware disable of RFI flush
        powerpc/mm/drmem: Fix unexpected flag value in ibm,dynamic-memory-v2
        powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access
        powerpc/pseries: Revert support for ibm,drc-info devtree property
        powerpc/pseries: Fix duplicate firmware feature for DRC_INFO
        ocxl: Fix potential bad errno on irq allocation
        powerpc/eeh: Fix crashes in eeh_report_resume()
      3664ce2d