r8169: fix ASPM-related problem for chip version 42 and 43
Heiner Kallweit
maintainerPATCH 1/1 r8169: fix ASPM-related problem for chip version 42 and 43
Referenced commit missed that for chip versions 42 and 43 ASPM remained disabled in the respective rtl_hw_start_...() routines. This resulted in problems as described in [0]. Therefore re-instantiate the previous logic.
[0] https://bugzilla.kernel.org/show_bug.cgi?id=217635
--- drivers/net/ethernet/realtek/r8169_main.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/net/ethernet/realtek/r8169_main.c +7 -0
@@ -2747,6 +2747,13 @@ static void rtl_hw_aspm_clkreq_enable(struct rtl8169_private *tp, bool enable)return ;if (enable) { +/* On these chip versions ASPM can even harm +* bus communication of other PCI devices. +*/ +if (tp->mac_version ==RTL_GIGA_MAC_VER_42 || + tp->mac_version ==RTL_GIGA_MAC_VER_43 ) +return ; +rtl_mod_config5 (tp,0 , ASPM_en);rtl_mod_config2 (tp,0 , ClkReqEn);
Signature · 1 line
2.41.0
Quoted 1 line · Heiner Kallweit
Referenced commit missed that for chip versions 42 and 43 ASPM
Thanks again for taking care of this.
Quoted 1 line
That line should be a proper Link: or Closes: tag, as explained by Documentation/process/submitting-patches.rst
(http://docs.kernel.org/process/submitting-patches.html) and Documentation/process/5.Posting.rst
(https://docs.kernel.org/process/5.Posting.html) and thus be in the signed-off-by area, for example like this (without the space upfront):
Quoted 1 line
Fixes 5fc3f6c90cca ("r8169: consolidate disabling ASPM before EPHY access")
A "Cc: [email protected]" would be nice, too, to get this fixed in 6.4, where this surfaced (reminder: no, a Fixes: tag is not enough to ensure the backport there).
Quoted 2 lines
Signed-off-by Heiner Kallweit <[email protected]>[…]
#regzbot ^backmonitor: https://bugzilla.kernel.org/show_bug.cgi?id=217635
Ciao, Thorsten
Heiner Kallweit
maintainerQuoted 9 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 1 line · Heiner Kallweit
Referenced commit missed that for chip versions 42 and 43 ASPM
Thanks again for taking care of this.
Quoted 1 line
That line should be a proper Link: or Closes: tag, as explained by
Documentation/process/submitting-patches.rst
OK
Quoted 5 lines
(http://docs.kernel.org/process/submitting-patches.html) and
Documentation/process/5.Posting.rst
(https://docs.kernel.org/process/5.Posting.html) and thus be in the signed-off-by area, for example like this (without the space upfront):
Quoted 7 lines
Quoted 1 line
Fixes 5fc3f6c90cca ("r8169: consolidate disabling ASPM before EPHY access")Closes https://bugzilla.kernel.org/show_bug.cgi?id=217635 # [0]A "Cc: [email protected]" would be nice, too, to get this fixed in 6.4, where this surfaced (reminder: no, a Fixes: tag is not enough to ensure the backport there).
That's different in the net subsystem. The net (vs. net-next) annotation ensures the backport.
Quoted 6 lines
Quoted 2 lines
Signed-off-by Heiner Kallweit <[email protected]>[…]#regzbot ^backmonitor: https://bugzilla.kernel.org/show_bug.cgi?id=217635
Ciao, Thorsten
Quoted 10 lines · Heiner Kallweit
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 1 line · Heiner Kallweit
Fixes 5fc3f6c90cca ("r8169: consolidate disabling ASPM before EPHY access")Closes https://bugzilla.kernel.org/show_bug.cgi?id=217635 # [0]A "Cc: [email protected]" would be nice, too, to get this fixed in 6.4, where this surfaced (reminder: no, a Fixes: tag is not enough to ensure the backport there).
That's different in the net subsystem. The net (vs. net-next) annotation ensures the backport.
Huh, how does that work? I thought "net" currently means "for 6.5" while "net-next" implies 6.6?
Ciao, Thorsten
Heiner Kallweit
maintainerQuoted 9 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 8 lines · Heiner Kallweit
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 1 line · Heiner Kallweit
Fixes 5fc3f6c90cca ("r8169: consolidate disabling ASPM before EPHY access")Closes https://bugzilla.kernel.org/show_bug.cgi?id=217635 # [0]A "Cc: [email protected]" would be nice, too, to get this fixed in 6.4, where this surfaced (reminder: no, a Fixes: tag is not enough to ensure the backport there).
Quoted 6 lines
Quoted 2 lines
That's different in the net subsystem. The net (vs. net-next) annotation ensures the backport.
Huh, how does that work? I thought "net" currently means "for 6.5" while "net-next" implies 6.6?
https://www.kernel.org/doc/Documentation/networking/netdev-FAQ.txt
See question:
I see a network patch and I think it should be backported to stable. Should I request it via "[email protected]" like the references in the kernel's Documentation/process/stable-kernel-rules.rst file say?
Quoted 1 line
Ciao, Thorsten
Heiner
[ccing greg]
Quoted 16 lines · Heiner Kallweit
Quoted 9 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 8 lines · Heiner Kallweit
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 1 line · Heiner Kallweit
Fixes 5fc3f6c90cca ("r8169: consolidate disabling ASPM before EPHY access")Closes https://bugzilla.kernel.org/show_bug.cgi?id=217635 # [0]A "Cc: [email protected]" would be nice, too, to get this fixed in 6.4, where this surfaced (reminder: no, a Fixes: tag is not enough to ensure the backport there).
Quoted 5 lines
Quoted 2 lines
That's different in the net subsystem. The net (vs. net-next) annotation ensures the backport.
Huh, how does that work? I thought "net" currently means "for 6.5" while "net-next" implies 6.6?
Quoted 6 lines
https://www.kernel.org/doc/Documentation/networking/netdev-FAQ.txt
See question:
I see a network patch and I think it should be backported to stable. Should I request it via "[email protected]" like the references in the kernel'sDocumentation/process/stable-kernel-rules.rstfile say?
Ahh, thx. Hmm, the patchworks queue mentioned a bit higher (
http://patchwork.ozlabs.org/bundle/davem/stable/?state=* ) seems to be mostly unused since Oct 2020. Is there a newer one?
Also a "git log --oneline --no-merges v6.0.. --grep 'stable@vger' drivers/net/ net/ | wc -l" returns "196", but I assume all those where mistakes?
Ciao, Thorsten
[Short version: sorry for the noise, a stale file sent us sideways.]
Quoted 20 lines · Linux regression tracking (Thorsten Leemhuis)
[ccing greg]
Quoted 17 lines · Heiner Kallweit
Quoted 9 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 8 lines · Heiner Kallweit
Quoted 7 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 1 line · Heiner Kallweit
Fixes 5fc3f6c90cca ("r8169: consolidate disabling ASPM before EPHY access")Closes https://bugzilla.kernel.org/show_bug.cgi?id=217635 # [0]A "Cc: [email protected]" would be nice, too, to get this fixed in 6.4, where this surfaced (reminder: no, a Fixes: tag is not enough to ensure the backport there).
Quoted 5 lines
Quoted 2 lines
That's different in the net subsystem. The net (vs. net-next) annotation ensures the backport.
Huh, how does that work? I thought "net" currently means "for 6.5" while "net-next" implies 6.6?
https://www.kernel.org/doc/Documentation/networking/netdev-FAQ.txt
I just learned on social media that's a stale file that doesn't exist anymore in mainline (I'll talk to Konstantin, maybe he can remove it to avoid similar problems in the future). That document was converted to rst and later...
Quoted 4 lines
Quoted 4 lines
See question:
I see a network patch and I think it should be backported to stable. Should I request it via "[email protected]" like the references in the kernel'sDocumentation/process/stable-kernel-rules.rstfile say?
...this section was actually removed in dbbe7c962c3 ("docs: networking:
drop special stable handling") [v5.12-rc3]; later that document moved here:
https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
To quote:
``` 1.5.7. Stable tree While it used to be the case that netdev submissions were not supposed to carry explicit CC: [email protected] tags that is no longer the case today. Please follow the standard stable rules in Documentation/process/stable-kernel-rules.rst, and make sure you include appropriate Fixes tags! ```
That clears things up. Ciao, Thorsten