summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-08-17 13:28:43 -0700
committerJakub Kicinski <kuba@kernel.org>2026-08-17 13:28:43 -0700
commitc69bd5b16bf54f68b2e963670e38d013850303d5 (patch)
treec766e09c8bde2a91f2476ed7a7c2759319b68153 /tools/perf/scripts/python
parent1056e79fffd0841f43c6a1b25664b196b3caf1c6 (diff)
parent03fa69146f2fe18742c0e12cfbf1d10c23d5b567 (diff)
Merge branch 'net-sfp-quirk-support-for-xgs-pon-ont-sticks-with-unclean-eeproms'
Martino Dell says: ==================== net: sfp: quirk support for XGS-PON ONT sticks with unclean EEPROMs Some clone XGS-PON ONT sticks return EEPROM reads where the vendor PN field contains non-printable garbage past the legitimate string instead of the SFF-8472 mandated space padding. sfp_strlen() then can't trim the field, the exact-length check in sfp_match() rejects the quirk entry before the string comparison runs, and the quirk silently never applies - so the kernel honors the module's spurious TX_FAULT and eventually disables it. Patch 1 adds an opt-in part-prefix-matching flag to the quirk table so such modules can still be matched; the vendor name is always matched exactly and existing entries behave as before. Patch 2 adds two ONT stick entries wired to the existing potron fixup: the "OEM" XGSPONST2001, which needs the prefix matching (it returns trailing garbage in the PN field on cold power-up reads), and the Fiberstore XGS-SFP-ONT-MACI, whose PN field is fully occupied by the truncated product name and matches exactly. Both quirks are in production use on a Bananapi BPI-R4 (MT7988A) router on an XGS-PON uplink, backported onto 6.12. ==================== Link: https://patch.msgid.link/20260812154708.2201266-1-tillo@tillo.ch Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions