sst-linux/drivers/thunderbolt
Mario Limonciello 326147e4c2 thunderbolt: Don't display nvm_version unless upgrade supported
[ Upstream commit e34f1717ef0632fcec5cb827e5e0e9f223d70c9b ]

The read will never succeed if NVM wasn't initialized due to an unknown
format.

Add a new callback for visibility to only show when supported.

Cc: stable@vger.kernel.org
Fixes: aef9c693e7 ("thunderbolt: Move vendor specific NVM handling into nvm.c")
Reported-by: Richard Hughes <hughsient@gmail.com>
Closes: https://github.com/fwupd/fwupd/issues/8200
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-09 13:29:56 +01:00
..
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c
dma_port.c
dma_port.h
dma_test.c
domain.c
eeprom.c
icm.c
Kconfig
lc.c
Makefile
nhi_ops.c
nhi_regs.h
nhi.c thunderbolt: Add support for Intel Panther Lake-M/P 2025-01-09 13:29:56 +01:00
nhi.h thunderbolt: Add support for Intel Panther Lake-M/P 2025-01-09 13:29:56 +01:00
nvm.c
path.c
property.c
quirks.c
retimer.c thunderbolt: Don't display nvm_version unless upgrade supported 2025-01-09 13:29:56 +01:00
sb_regs.h
switch.c
tb_msgs.h
tb_regs.h
tb.c
tb.h
test.c
tmu.c
tunnel.c
tunnel.h
usb4_port.c
usb4.c
xdomain.c