1. 07 Dec, 2018 7 commits
  2. 05 Dec, 2018 1 commit
  3. 29 Nov, 2018 1 commit
    • Linus Walleij's avatar
      gpio: OF: Parse MMC-specific CD and WP properties · 81c85ec1
      Linus Walleij authored
      When retrieveing CD (card detect) and WP (write protect)
      GPIO handles from the device tree, make sure to assign
      them active low by default unless the "cd-inverted" or
      "wp-inverted" properties are set. These properties mean
      that respective signal is active HIGH since the SDHCI
      specification stipulates that this kind of signals
      should be treated as active LOW.
      
      If the twocell GPIO flag is also specified as active
      low, well that's nice and we will silently ignore the
      tautological specification.
      
      If however the GPIO line is specified as active low
      in the GPIO flasg cell and "cd-inverted" or "wp-inverted"
      is also specified, the latter takes precedence and we
      print a warning.
      
      The current effect on the MMC slot-gpio core are as
      follows:
      
      For CD GPIOs: no effect. The current code in
      mmc/core/host.c calls mmc_gpiod_request_cd() with
      the "override_active_level" argument set to true,
      which means that whatever the GPIO descriptor
      thinks about active low/high will be ignored, the
      core will use the MMC_CAP2_CD_ACTIVE_HIGH to keep
      track of this and reads the raw value from the
      GPIO descriptor, totally bypassing gpiolibs inversion
      semantics. I plan to clean this up at a later point
      passing the handling of inversion semantics over
      to gpiolib, so this patch prepares the ground for
      that.
      
      Fow WP GPIOs: this is probably fixing a bug, because
      the code in mmc/core/host.c calls mmc_gpiod_request_ro()
      with the "override_active_level" argument set to false,
      which means it will respect the inversion semantics of
      the gpiolib and ignore the MMC_CAP2_RO_ACTIVE_HIGH
      flag for everyone using this through device tree.
      However the code in host.c confusingly goes to great
      lengths setting up the MMC_CAP2_RO_ACTIVE_HIGH flag
      from the GPIO descriptor and by reading the "wp-inverted"
      property of the node. As far as I can tell this is all
      in vain and the inversion is broken: device trees that
      use "wp-inverted" do not work as intended, instead the
      only way to actually get inversion on a line is by
      setting the second cell flag to GPIO_ACTIVE_HIGH (which
      will be the default) or GPIO_ACTIVE_LOW if they want
      the proper MMC semantics. Presumably all device trees do
      this right but we need to parse and handle this properly.
      
      Cc: linux-mmc@vger.kernel.org
      Cc: linux-gpio@vger.kernel.org
      Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      81c85ec1
  4. 26 Nov, 2018 1 commit
  5. 25 Nov, 2018 1 commit
  6. 19 Nov, 2018 1 commit
  7. 16 Nov, 2018 3 commits
  8. 15 Nov, 2018 2 commits
  9. 05 Nov, 2018 18 commits
  10. 04 Nov, 2018 5 commits
    • Linus Torvalds's avatar
      Linux 4.20-rc1 · 65102238
      Linus Torvalds authored
      65102238
    • Linus Torvalds's avatar
      Merge tag 'tags/upstream-4.20-rc1' of git://git.infradead.org/linux-ubifs · 42bd06e9
      Linus Torvalds authored
      Pull UBIFS updates from Richard Weinberger:
      
       - Full filesystem authentication feature, UBIFS is now able to have the
         whole filesystem structure authenticated plus user data encrypted and
         authenticated.
      
       - Minor cleanups
      
      * tag 'tags/upstream-4.20-rc1' of git://git.infradead.org/linux-ubifs: (26 commits)
        ubifs: Remove unneeded semicolon
        Documentation: ubifs: Add authentication whitepaper
        ubifs: Enable authentication support
        ubifs: Do not update inode size in-place in authenticated mode
        ubifs: Add hashes and HMACs to default filesystem
        ubifs: authentication: Authenticate super block node
        ubifs: Create hash for default LPT
        ubfis: authentication: Authenticate master node
        ubifs: authentication: Authenticate LPT
        ubifs: Authenticate replayed journal
        ubifs: Add auth nodes to garbage collector journal head
        ubifs: Add authentication nodes to journal
        ubifs: authentication: Add hashes to index nodes
        ubifs: Add hashes to the tree node cache
        ubifs: Create functions to embed a HMAC in a node
        ubifs: Add helper functions for authentication support
        ubifs: Add separate functions to init/crc a node
        ubifs: Format changes for authentication support
        ubifs: Store read superblock node
        ubifs: Drop write_node
        ...
      42bd06e9
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-4.20-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 4710e789
      Linus Torvalds authored
      Pull NFS client bugfixes from Trond Myklebust:
       "Highlights include:
      
        Bugfix:
         - Fix build issues on architectures that don't provide 64-bit cmpxchg
      
        Cleanups:
         - Fix a spelling mistake"
      
      * tag 'nfs-for-4.20-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS: fix spelling mistake, EACCESS -> EACCES
        SUNRPC: Use atomic(64)_t for seq_send(64)
      4710e789
    • Linus Torvalds's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 35e74524
      Linus Torvalds authored
      Pull more timer updates from Thomas Gleixner:
       "A set of commits for the new C-SKY architecture timers"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        dt-bindings: timer: gx6605s SOC timer
        clocksource/drivers/c-sky: Add gx6605s SOC system timer
        dt-bindings: timer: C-SKY Multi-processor timer
        clocksource/drivers/c-sky: Add C-SKY SMP timer
      35e74524
    • Linus Torvalds's avatar
      Merge tag 'ntb-4.20' of git://github.com/jonmason/ntb · 04578e84
      Linus Torvalds authored
      Pull NTB updates from Jon Mason:
       "Fairly minor changes and bug fixes:
      
        NTB IDT thermal changes and hook into hwmon, ntb_netdev clean-up of
        private struct, and a few bug fixes"
      
      * tag 'ntb-4.20' of git://github.com/jonmason/ntb:
        ntb: idt: Alter the driver info comments
        ntb: idt: Discard temperature sensor IRQ handler
        ntb: idt: Add basic hwmon sysfs interface
        ntb: idt: Alter temperature read method
        ntb_netdev: Simplify remove with client device drvdata
        NTB: transport: Try harder to alloc an aligned MW buffer
        ntb: ntb_transport: Mark expected switch fall-throughs
        ntb: idt: Set PCIe bus address to BARLIMITx
        NTB: ntb_hw_idt: replace IS_ERR_OR_NULL with regular NULL checks
        ntb: intel: fix return value for ndev_vec_mask()
        ntb_netdev: fix sleep time mismatch
      04578e84