From: Raju Rangoju <Raju.Rangoju@amd.com>
To: <horms@kernel.org>, <andrew+netdev@lunn.ch>,
<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<Shyam-sundar.S-k@amd.com>, Raju Rangoju <Raju.Rangoju@amd.com>
Subject: [PATCH net-next v3 0/5] amd-xgbe: add support for AMD Renoir
Date: Fri, 9 May 2025 21:23:20 +0530 [thread overview]
Message-ID: <20250509155325.720499-1-Raju.Rangoju@amd.com> (raw)
Add support for a new AMD Ethernet device called "Renoir". 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 Renoir platform, use the indirect addressing via SMN
instead.
Changes since v2:
- include linux/pci.h in xgbe-dev.c to ensure pci_err() is defined
- line wrap to 80 columns wide
- address Checkpatch warning "Improper SPDX comment style"
- use the correct device name Renoir instead of Crater
- follow reverse Xmass tree ordering
Changes since v1:
- PCI config accesses can race with other drivers performing SMN accesses
so, fall back to AMD SMN API to avoid race.
- add the xgbe_ prefix to new functions
- follow reverse Xmass tree ordering
Raju Rangoju (5):
amd-xgbe: reorganize the code of XPCS access
amd-xgbe: reorganize the xgbe_pci_probe() code path
amd-xgbe: add support for new XPCS routines
amd-xgbe: Add XGBE_XPCS_ACCESS_V3 support to xgbe_pci_probe()
amd-xgbe: add support for new pci device id 0x1641
drivers/net/ethernet/amd/xgbe/xgbe-common.h | 5 +
drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 151 +++++++++++++++-----
drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 87 ++++++++---
drivers/net/ethernet/amd/xgbe/xgbe-smn.h | 30 ++++
drivers/net/ethernet/amd/xgbe/xgbe.h | 11 ++
5 files changed, 227 insertions(+), 57 deletions(-)
create mode 100644 drivers/net/ethernet/amd/xgbe/xgbe-smn.h
--
2.34.1
next reply other threads:[~2025-05-09 15:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-09 15:53 Raju Rangoju [this message]
2025-05-09 15:53 ` [PATCH net-next v3 1/5] amd-xgbe: reorganize the code of XPCS access Raju Rangoju
2025-05-12 13:55 ` Simon Horman
2025-05-09 15:53 ` [PATCH net-next v3 2/5] amd-xgbe: reorganize the xgbe_pci_probe() code path Raju Rangoju
2025-05-12 13:56 ` Simon Horman
2025-05-09 15:53 ` [PATCH net-next v3 3/5] amd-xgbe: add support for new XPCS routines Raju Rangoju
2025-05-12 13:56 ` Simon Horman
2025-05-09 15:53 ` [PATCH net-next v3 4/5] amd-xgbe: Add XGBE_XPCS_ACCESS_V3 support to xgbe_pci_probe() Raju Rangoju
2025-05-12 13:56 ` Simon Horman
2025-05-09 15:53 ` [PATCH net-next v3 5/5] amd-xgbe: add support for new pci device id 0x1641 Raju Rangoju
2025-05-12 13:56 ` Simon Horman
2025-05-13 12:00 ` [PATCH net-next v3 0/5] amd-xgbe: add support for AMD Renoir patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250509155325.720499-1-Raju.Rangoju@amd.com \
--to=raju.rangoju@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.