** Description changed: [Impact] sysfs continues to expose a valid phy linkrate even after the phy has been disabled. [Test Case] Using hisi_sas, a libsas-based driver: (initramfs) cd /sys/class/sas_phy/phy-0\:0\:20 (initramfs) cat negotiated_linkrate 12.0 Gbit (initramfs) echo 0 > enable [ 59.172411] hisi_sas_v3_hw 0000:74:02.0: phydown: phy0 phy_state=0xfe [ 59.178851] hisi_sas_v3_hw 0000:74:02.0: erroneous completion iptt=4028 task=00000000bb3ab63f dev id=1 CQ hdr: 0x1103 0x10fbc 0x0 0x20000 Error info: 0x0 0x4000000 0x0 0x0 [ 59.194139] sas: smp_execute_task_sg: task to dev 500e004aaaaaaa1f response: 0x0 status 0x2 (initramfs) cat negotiated_linkrate 12.0 Gbit + (Note to self: d06-1 has the setup to reproduce this) + [Fix] d8649fc1c5e40 scsi: libsas: Do discovery on empty PHY to update PHY info 085f104a83d56 scsi: libsas: Inject revalidate event for root port event [Regression Risk] Impact is limited to drivers built on top of libsas.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1830435 Title: libsas: old linkrate advertised after phy disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830435/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs