lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 17 Sep 2020 12:02:20 +0300 From: Leon Romanovsky <leon@...nel.org> To: Doug Ledford <dledford@...hat.com>, Jason Gunthorpe <jgg@...dia.com> Cc: Leon Romanovsky <leonro@...dia.com>, Achiad Shochat <achiad@...lanox.com>, Adit Ranadive <aditr@...are.com>, Aharon Landau <aharonl@...lanox.com>, Ariel Elior <aelior@...vell.com>, Dennis Dalessandro <dennis.dalessandro@...el.com>, Devesh Sharma <devesh.sharma@...adcom.com>, Jakub Kicinski <kuba@...nel.org>, linux-rdma@...r.kernel.org, Michael Guralnik <michaelgur@...dia.com>, Michal Kalderon <mkalderon@...vell.com>, Mike Marciniszyn <mike.marciniszyn@...el.com>, Naresh Kumar PBS <nareshkumar.pbs@...adcom.com>, netdev@...r.kernel.org, Saeed Mahameed <saeedm@...dia.com>, Selvin Xavier <selvin.xavier@...adcom.com>, Somnath Kotur <somnath.kotur@...adcom.com>, Sriharsha Basavapatna <sriharsha.basavapatna@...adcom.com>, VMware PV-Drivers <pv-drivers@...are.com> Subject: [PATCH rdma-next v2 0/3] Fix in-kernel active_speed type From: Leon Romanovsky <leonro@...dia.com> Changelog: v2: * Changed WARN_ON casting to be saturated value instead while returning active_speed to the user. v1: https://lore.kernel.org/linux-rdma/20200902074503.743310-1-leon@kernel.org * Changed patch #1 to fix memory corruption to help with bisect. No change in series, because the added code is changed anyway in patch #3. v0: * https://lore.kernel.org/linux-rdma/20200824105826.1093613-1-leon@kernel.org ---------------------------------------------------------------------------------------- IBTA declares speed as 16 bits, but kernel stores it in u8. This series fixes in-kernel declaration while keeping external interface intact. Thanks Aharon Landau (3): net/mlx5: Refactor query port speed functions RDMA/mlx5: Delete duplicated mlx5_ptys_width enum RDMA: Fix link active_speed size .../infiniband/core/uverbs_std_types_device.c | 3 +- drivers/infiniband/core/verbs.c | 2 +- drivers/infiniband/hw/bnxt_re/bnxt_re.h | 2 +- drivers/infiniband/hw/hfi1/verbs.c | 2 +- drivers/infiniband/hw/mlx5/main.c | 41 +++++++------------ drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 2 +- drivers/infiniband/hw/qedr/verbs.c | 2 +- drivers/infiniband/hw/qib/qib.h | 6 +-- .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h | 2 +- .../mellanox/mlx5/core/ipoib/ethtool.c | 31 ++------------ .../net/ethernet/mellanox/mlx5/core/port.c | 23 ++--------- include/linux/mlx5/port.h | 15 +++++-- include/rdma/ib_verbs.h | 4 +- 13 files changed, 47 insertions(+), 88 deletions(-) -- 2.26.2
Powered by blists - more mailing lists