1. 30 Nov, 2018 5 commits
    • Saeed Mahameed's avatar
      IB/mlx5: Use the new mlx5 core notifier API · df097a27
      Saeed Mahameed authored
      Remove the deprecated mlx5_interface->event mlx5_ib callback and use new
      mlx5 notifier API to subscribe for mlx5 events.
      
      For native mlx5_ib devices profiles pf_profile/nic_rep_profile register
      the notifier callback mlx5_ib_handle_event which treats the notifier
      context as mlx5_ib_dev.
      
      For vport repesentors, don't register any notifier, same as before, they
      didn't receive any mlx5 events.
      
      For slave port (mlx5_ib_multiport_info) register a different notifier
      callback mlx5_ib_event_slave_port, which knows that the event is coming
      for mlx5_ib_multiport_info and prepares the event job accordingly.
      Before this on the event handler work we had to ask mlx5_core if this is
      a slave port mlx5_core_is_mp_slave(work->dev), now it is not needed
      anymore.
      mlx5_ib_multiport_info notifier registration is done on
      mlx5_ib_bind_slave_port and de-registration is done on
      mlx5_ib_unbind_slave_port.
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      df097a27
    • Saeed Mahameed's avatar
      net/mlx5: Forward all mlx5 events to mlx5 notifiers chain · 58d180b3
      Saeed Mahameed authored
      This to allow seamless migration to the new notifier chain API, and to
      eventually deprecate interfaces dev->event callback.
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      58d180b3
    • Saeed Mahameed's avatar
      net/mlx5e: Use the new mlx5 core notifier API · 7cffaddd
      Saeed Mahameed authored
      Remove the deprecated mlx5_interface->event mlx5e callback and use new
      mlx5 notifier API to subscribe for mlx5 events, handle port change event
      as received from FW rather than handling the mlx5 core processed port
      change software version event.
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      7cffaddd
    • Saeed Mahameed's avatar
      net/mlx5: Allow port change event to be forwarded to driver notifiers chain · 7a179555
      Saeed Mahameed authored
      The idea is to allow mlx5 core interfaces (mlx5e/mlx5_ib) to be able to
      receive some allowed FW events as is via the new notifier API.
      
      In this patch we allow forwarding port change event to mlx5 core interfaces
      (mlx5e/mlx5_ib) as it was received from FW.
      Once mlx5e and mlx5_ib start using this event we can safely remove the
      redundant software version of it and its translation logic.
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      7a179555
    • Saeed Mahameed's avatar
      net/mlx5: Driver events notifier API · 20902be4
      Saeed Mahameed authored
      Use atomic notifier chain to fire events to mlx5 core driver
      consumers (mlx5e/mlx5_ib) and provide mlx5 register/unregister notifier
      API.
      
      This API will replace the current mlx5_interface->event callback and all
      the logic around it, especially the delayed events logic introduced by
      commit 97834eba ("net/mlx5: Delay events till ib registration ends")
      
      Which is not needed anymore with this new API where the mlx5 interface
      can dynamically register/unregister its notifier.
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      20902be4
  2. 26 Nov, 2018 11 commits
  3. 20 Nov, 2018 12 commits
  4. 12 Nov, 2018 7 commits
  5. 09 Nov, 2018 1 commit
  6. 07 Nov, 2018 1 commit
  7. 04 Nov, 2018 3 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