From: Paolo Abeni Date: Tue, 26 May 2026 10:11:51 +0000 (+0200) Subject: Merge branch 'mv88e6xxx-cache-scratch-config3-of-6352' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4d050026f47a18cd2e43ff516216905b4746123;p=thirdparty%2Flinux.git Merge branch 'mv88e6xxx-cache-scratch-config3-of-6352' Fidan Aliyeva says: ==================== mv88e6xxx: Cache scratch config3 of 6352 In mv88e6352 scratch register in Global Control 2 set of registers returns which port is attached to SERDES. This value is a pin strapping value and is set after the switch is released from reset. Thus, it can be cached during chip setup instead of reading the register everytime when SERDES check is needed. The series consist of 4 parts: 1. Add new mv88e6352_reset function as ops->reset 2. Cache the register value in this reset function 3. Refactor mv88e6352_g2_scratch_port_has_serdes to use the cached value. 4. Remove the locks surrounding mv88e6352_g2_scratch_port_has_serdes. v1: https://lore.kernel.org/netdev/20260515223707.1026325-1-fidan.aliyeva.ext@ericsson.com/ RFC: https://lore.kernel.org/netdev/20260510213429.2044612-1-fidan.aliyeva.ext@ericsson.com/ ==================== Link: https://patch.msgid.link/20260521202924.727929-1-fidan.aliyeva.ext@ericsson.com Signed-off-by: Paolo Abeni --- e4d050026f47a18cd2e43ff516216905b4746123