All of lore.kernel.org
 help / color / mirror / Atom feed
* r8169: Unconditionally disabling ASPM
@ 2016-05-15 16:49 Paul Menzel
  2016-05-15 18:42 ` Francois Romieu
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Menzel @ 2016-05-15 16:49 UTC (permalink / raw)
  To: Realtek linux nic maintainers; +Cc: netdev, linux-kernel, Stanislaw Gruszka

[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]

Dear Linux folks,


Running the Firmware Test Suite (fwts) [1] on an ASRock E350M1, it
suggests that ASPM should be enabled.

The module r8169 disables ASPM since the commit below.

commit ba04c7c93bbcb48ce880cf75b6e9dffcd79d4c7b
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Tue Feb 22 02:00:11 2011 +0000

    r8169: disable ASPM
    
    For some time is known that ASPM is causing troubles on r8169, i.e. make
    device randomly stop working without any errors in dmesg.
    
    Currently Tomi Leppikangas reports that system with r8169 device hangs
    with MCE errors when ASPM is enabled:
    https://bugzilla.redhat.com/show_bug.cgi?id=642861#c4
    
    Lets disable ASPM for r8169 devices at all, to avoid problems with
    r8169 PCIe devices at least for some users.
    
    Reported-by: Tomi Leppikangas <tomi.leppikangas@gmail.com>
    Cc: stable@kernel.org
    Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

As over five years have passed now, do you think that is still needed?
I wonder why no module parameter was added back then, where users could
enable ASPM if it works on their systems? Because there is no such
situation and it always fails?


Thanks,

Paul


[1] https://wiki.ubuntu.com/FirmwareTestSuite

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: r8169: Unconditionally disabling ASPM
  2016-05-15 16:49 r8169: Unconditionally disabling ASPM Paul Menzel
@ 2016-05-15 18:42 ` Francois Romieu
  0 siblings, 0 replies; 2+ messages in thread
From: Francois Romieu @ 2016-05-15 18:42 UTC (permalink / raw)
  To: Paul Menzel
  Cc: Realtek linux nic maintainers, netdev, linux-kernel,
	Stanislaw Gruszka, David Miller, Chunhao Lin

Paul Menzel <paulepanter@users.sourceforge.net> :
[...]
> As over five years have passed now, do you think that is still needed?
> I wonder why no module parameter was added back then, where users could
> enable ASPM if it works on their systems? Because there is no such
> situation and it always fails?

It was enabled again (d64ec841517a25f6d468bde9f67e5b4cffdc67c7) then
disabled (4521e1a94279ce610d3f9b7945c17d581f804242). It's closer
to 3.5 years :o)

Module parameters are frowned upon.

Lin, is there some interest in selectively [*] enabling (or disabling)
ASPM support in the r8169 driver or will it be unreliable ?

[*] Based on DMI information for instance.

-- 
Ueimor

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-15 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-15 16:49 r8169: Unconditionally disabling ASPM Paul Menzel
2016-05-15 18:42 ` Francois Romieu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.