linux/drivers
Jiawen Wu c263f644ad net: txgbe: fix firmware version check
For the device SP, the firmware version is a 32-bit value where the
lower 20 bits represent the base version number. And the customized
firmware version populates the upper 12 bits with a specific
identification number.

For other devices AML 25G and 40G, the upper 12 bits of the firmware
version is always non-zero, and they have other naming conventions.

Only SP devices need to check this to tell if XPCS will work properly.
So the judgement of MAC type is added here.

And the original logic compared the entire 32-bit value against 0x20010,
which caused the outdated base firmwares bypass the version check
without a warning. Apply a mask 0xfffff to isolate the lower 20 bits for
an accurate base version comparison.

Fixes: ab928c24e6 ("net: txgbe: add FW version warning")
Cc: stable@vger.kernel.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/C787AA5C07598B13+20260422071837.372731-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-04-23 12:02:59 -07:00
..
accel
accessibility
acpi arm64 updates for 7.1: 2026-04-14 16:48:56 -07:00
amba
android
ata
atm
auxdisplay
base Networking changes for 7.1. 2026-04-14 18:36:10 -07:00
bcma
block
bluetooth
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle powerpc updates for 7.1 2026-04-14 17:10:15 -07:00
crypto
cxl
dax
dca
devfreq
dibs
dio
dma
dma-buf
dpll
edac - Add new AMD MCA bank names and types to the MCA code, preceded by a clean 2026-04-14 15:32:39 -07:00
eisa
extcon
firewire
firmware
fpga
fsi
fwctl
gnss
gpib
gpio
gpu
greybus
hid
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband Networking changes for 7.1. 2026-04-14 18:36:10 -07:00
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md
media
memory
memstick
message
mfd
misc
mmc
most
mtd
mux
net net: txgbe: fix firmware version check 2026-04-23 12:02:59 -07:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf arm64 updates for 7.1: 2026-04-14 16:48:56 -07:00
phy
pinctrl
platform
pmdomain
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
resctrl arm64 updates for 7.1: 2026-04-14 16:48:56 -07:00
reset
rpmsg
rtc
s390
sbus
scsi Networking changes for 7.1. 2026-04-14 18:36:10 -07:00
sh
siox
slimbus
soc
soundwire
spi
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty
ufs
uio
usb
vdpa
vfio powerpc updates for 7.1 2026-04-14 17:10:15 -07:00
vhost vhost_net: fix sleeping with preempt-disabled in vhost_net_busy_poll() 2026-04-23 11:53:31 -07:00
video
virt
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile