mbox series

[v3,net-next,0/3] amd-xgbe: add support for AMD Crater

Message ID 20231212053723.443772-1-Raju.Rangoju@amd.com (mailing list archive)
Headers show
Series amd-xgbe: add support for AMD Crater | expand

Message

Raju Rangoju Dec. 12, 2023, 5:37 a.m. UTC
Add support for a new AMD Ethernet device called "Crater". It has a new
PCI ID, add this to the current list of supported devices in the
amd-xgbe devices.Also, the BAR1 addresses cannot be used to access the
PCS registers on Crater platform, use the indirect addressing via SMN
instead.

Changes since v2:
 - Club patches 2 and 3 to avoid build warnings.
 - Fix the smatch warnings.
 - Fix the build errors on arm64


Raju Rangoju (3):
  amd-xgbe: reorganize the code of XPCS access
  amd-xgbe: add support for Crater ethernet device
  amd-xgbe: use smn functions to avoid race

 drivers/net/ethernet/amd/xgbe/xgbe-common.h |   5 +
 drivers/net/ethernet/amd/xgbe/xgbe-dev.c    | 119 ++++++++++++++++----
 drivers/net/ethernet/amd/xgbe/xgbe-pci.c    |  51 ++++++++-
 drivers/net/ethernet/amd/xgbe/xgbe-smn.h    |  27 +++++
 drivers/net/ethernet/amd/xgbe/xgbe.h        |   6 +
 5 files changed, 180 insertions(+), 28 deletions(-)
 create mode 100644 drivers/net/ethernet/amd/xgbe/xgbe-smn.h