The MFW might be reset and re-update its shared memory.
Upon the detection of such a reset the driver rereads this memory, but it
has to wait till the data is valid.
This patch adds the missing wait for a data ready indication.
Signed-off-by: Tomer Tayar
Signed-off-by: Ariel Elior
---
drivers
other
PFs, the patch also adds the option to skip the blocking upon a failure.
Signed-off-by: Tomer Tayar
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 52 +-
drivers/net/ethernet/qlogic/qed/qed_mcp.h | 6 ++-
drivers/net/ethernet
busy-waiting, and uses it
for the (un)load requests (which are not sent from an interrupt context) to
prevent the possible deadlock.
Signed-off-by: Tomer Tayar
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 43 ++-
drivers/net/ethernet/qlogi
This patch series fixes several issues in the driver's interface with the
management FW (MFW).
v1->v2:
- Fix loop counter decrement to be pre instead of post.
Tomer Tayar (4):
qed: Wait for ready indication before rereading the shmem
qed: Wait for MCP halt and resume commands to ta
ff-by: Tomer Tayar
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 46 +-
drivers/net/ethernet/qlogic/qed/qed_reg_addr.h | 1 +
2 files changed, 39 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.c
b/driver
ff-by: Tomer Tayar
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 46 +-
drivers/net/ethernet/qlogic/qed/qed_reg_addr.h | 1 +
2 files changed, 39 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.c
b/driver
The MFW might be reset and re-update its shared memory.
Upon the detection of such a reset the driver rereads this memory, but it
has to wait till the data is valid.
This patch adds the missing wait for a data ready indication.
Signed-off-by: Tomer Tayar
Signed-off-by: Ariel Elior
---
drivers
This patch series fixes several issues in the driver's interface with the
management FW (MFW).
Tomer Tayar (4):
qed: Wait for ready indication before rereading the shmem
qed: Wait for MCP halt and resume commands to take place
qed: Prevent a possible deadlock during driver load and u
busy-waiting, and uses it
for the (un)load requests (which are not sent from an interrupt context) to
prevent the possible deadlock.
Signed-off-by: Tomer Tayar
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 43 ++-
drivers/net/ethernet/qlogi
other
PFs, the patch also adds the option to skip the blocking upon a failure.
Signed-off-by: Tomer Tayar
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 52 +-
drivers/net/ethernet/qlogic/qed/qed_mcp.h | 6 ++-
drivers/net/ethernet
Signed-off-by: Ariel Elior
Signed-off-by: Chad Dupuis
Signed-off-by: Manish Rangankar
Signed-off-by: Tomer Tayar
---
drivers/net/ethernet/qlogic/qed/qed.h | 8
drivers/net/ethernet/qlogic/qede/qede.h | 6 +++---
drivers/scsi/qedf/qedf_version.h| 8
drivers/scsi
rsion.
v3->v4:
Fix a compilation issue which was reported by krobot (dependency on CRC8).
v2->v3:
Resend the series with a fixed title in the cover letter.
v1->v2:
- Break the previous single patch into several patches.
- Fix compilation issues which were reported by krobot.
Tomer Ta
Signed-off-by: Ariel Elior
Signed-off-by: Chad Dupuis
Signed-off-by: Manish Rangankar
Signed-off-by: Tomer Tayar
---
drivers/net/ethernet/qlogic/qed/qed.h | 8
drivers/net/ethernet/qlogic/qede/qede.h | 6 +++---
drivers/scsi/qedf/qedf_version.h| 8
drivers/scsi
rsion.
v2->v3:
Resend the series with a fixed title in the cover letter.
v1->v2:
- Break the previous single patch into several patches.
- Fix compilation issues which were reported by krobot.
Tomer Tayar (4):
qed*: Refactoring and rearranging FW API with no functional impact
qed*: H
Signed-off-by: Ariel Elior
Signed-off-by: Chad Dupuis
Signed-off-by: Manish Rangankar
Signed-off-by: Tomer Tayar
---
drivers/net/ethernet/qlogic/qed/qed.h | 8
drivers/net/ethernet/qlogic/qede/qede.h | 6 +++---
drivers/scsi/qedf/qedf_version.h| 8
drivers/scsi
rsion.
Changes from v1:
- Break the previous single patch into several patches.
- Fix compilation issues which were reported by krobot.
Tomer Tayar (4):
qed*: Refactoring and rearranging FW API with no functional impact
qed*: HSI renaming for different types of HW
qed*: Utilize FW 8.33.1.0
Currently when dumping a context data only word number '1' is read for the
entire context.
Fixes: c965db444629 ("qed: Add support for debug data collection")
Signed-off-by: Tomer Tayar
---
drivers/net/ethernet/qlogic/qed/qed_debug.c | 2 +-
1 file changed, 1 insertion(+),
Signed-off-by: Tomer Tayar
Signed-off-by: Yuval Mintz
---
drivers/net/ethernet/qlogic/qed/qed_main.c | 2 ++
drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 24
include/linux/qed/qed_if.h | 4
3 files changed, 30 insertions(+)
diff
next-next.
- Remove the first patch as it seems that its V1 version was already applied
(commit '4102426f9b7b3627c8c23a54d70363e81c93f9b7').
Tomer Tayar (2):
qed: Add support for debug data collection
qed*: Add support for the ethtool get_regs operation
drivers/net/ethernet/qlogic/qed/Ma
This patch series adds the support of debug data collection in the qed driver,
and the means to extract it in the qede driver via the get_regs operation.
Hi Dave,
Please consider applying this to 'net-next'.
Thanks,
Tomer
Tomer Tayar (3):
qed: Add infrastructure for debug data
Adds support for several infrastructure operations that are done as part of
debug data collection.
Signed-off-by: Tomer Tayar
Signed-off-by: Yuval Mintz
---
drivers/net/ethernet/qlogic/qed/qed_hsi.h | 3 +
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 76
Signed-off-by: Tomer Tayar
Signed-off-by: Yuval Mintz
---
drivers/net/ethernet/qlogic/qed/qed_main.c | 2 ++
drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 24
include/linux/qed/qed_if.h | 4
3 files changed, 30 insertions(+)
diff
22 matches
Mail list logo