Skip to content
Snippets Groups Projects
  1. Nov 02, 2022
  2. Oct 20, 2022
  3. Oct 08, 2022
    • Zhu Lingshan's avatar
      vDPA: allow userspace to query features of a vDPA device · 22856510
      Zhu Lingshan authored and Michael S. Tsirkin's avatar Michael S. Tsirkin committed
      
      This commit adds a new vDPA netlink attribution
      VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES. Userspace can query
      features of vDPA devices through this new attr.
      
      This commit invokes vdpa_config_ops.get_config()
      rather than vdpa_get_config_unlocked() to read
      the device config spcae, so no races in
      vdpa_set_features_unlocked()
      
      Userspace tool iproute2 example:
      $ vdpa dev config show vdpa0
      vdpa0: mac 00:e8:ca:11:be:05 link up link_announce false max_vq_pairs 4 mtu 1500
        negotiated_features MRG_RXBUF CTRL_VQ MQ VERSION_1 ACCESS_PLATFORM
        dev_features MTU MAC MRG_RXBUF CTRL_VQ MQ ANY_LAYOUT VERSION_1 ACCESS_PLATFORM
      
      Signed-off-by: default avatarZhu Lingshan <lingshan.zhu@intel.com>
      Message-Id: <20220929014555.112323-2-lingshan.zhu@intel.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      22856510
  4. Oct 07, 2022
  5. Oct 06, 2022
  6. Oct 04, 2022
    • Simon Ser's avatar
      drm: document uAPI page-flip flags · f633a206
      Simon Ser authored
      
      Document flags accepted by the page-flip and atomic IOCTLs.
      
      v2 (Pekka):
      - Mention DRM_EVENT_FLIP_COMPLETE in DRM_MODE_PAGE_FLIP_EVENT docs.
      - Expand DRM_MODE_ATOMIC_NONBLOCK and DRM_MODE_ATOMIC_ALLOW_MODESET
        description.
      v3:
      - Fix struct field ref syntax (Daniel)
      - Clarify when artifacts are no longer displayed (Daniel)
      - Add note about sinks deciding to show artifacts on their own (Pekka, Daniel)
      v4:
      - Fix typo (Pekka)
      
      Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
      Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/505107/
      f633a206
    • Oleksij Rempel's avatar
      ethtool: add interface to interact with Ethernet Power Equipment · 18ff0bcd
      Oleksij Rempel authored
      
      Add interface to support Power Sourcing Equipment. At current step it
      provides generic way to address all variants of PSE devices as defined
      in IEEE 802.3-2018 but support only objects specified for IEEE 802.3-2018 104.4
      PoDL Power Sourcing Equipment (PSE).
      
      Currently supported and mandatory objects are:
      IEEE 802.3-2018 30.15.1.1.3 aPoDLPSEPowerDetectionStatus
      IEEE 802.3-2018 30.15.1.1.2 aPoDLPSEAdminState
      IEEE 802.3-2018 30.15.1.2.1 acPoDLPSEAdminControl
      
      This is minimal interface needed to control PSE on each separate
      ethernet port but it provides not all mandatory objects specified in
      IEEE 802.3-2018.
      
      Since "PoDL PSE" and "PSE" have similar names, but some different values
      I decide to not merge them and keep separate naming schema. This should
      allow as to be as close to IEEE 802.3 spec as possible and avoid name
      conflicts in the future.
      
      This implementation is connected to PHYs instead of MACs because PSE
      auto classification can potentially interfere with PHY auto negotiation.
      So, may be some extra PHY related initialization will be needed.
      
      With WIP version of ethtools interaction with PSE capable link looks
      as following:
      
      $ ip l
      ...
      5: t1l1@eth0: <BROADCAST,MULTICAST> ..
      ...
      
      $ ethtool --show-pse t1l1
      PSE attributs for t1l1:
      PoDL PSE Admin State: disabled
      PoDL PSE Power Detection Status: disabled
      
      $ ethtool --set-pse t1l1 podl-pse-admin-control enable
      $ ethtool --show-pse t1l1
      PSE attributs for t1l1:
      PoDL PSE Admin State: enabled
      PoDL PSE Power Detection Status: delivering power
      
      Signed-off-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
      Reviewed-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      18ff0bcd
  7. Oct 03, 2022
  8. Sep 30, 2022
  9. Sep 29, 2022
  10. Sep 28, 2022
  11. Sep 27, 2022
  12. Sep 26, 2022
  13. Sep 25, 2022
  14. Sep 24, 2022
Loading