Skip to contentSkip to conversation

New: AMD APU reset infinite

Bug 72361 [email protected] 1 participant 15 messages Mar 18, 2014 – Aug 18, 2014

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=72361

            Bug ID: 72361
           Summary: AMD APU reset infinite
           Product: Power Management
           Version: 2.5
    Kernel Version: 3.13.6
          Hardware: i386
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: cpufreq
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 129901
--> https://bugzilla.kernel.org/attachment.cgi?id=129901&action=edit
lshw and demsg

on kernel 3.13.6, i can't start system with acpi_cpufreq, just Infinite reboot, even if i try disable the AMD turbo core or AMD cool quiet.
but fine when i blacklist acpi_cpufreq, and at linux-lts 3.10.33 work fine with acpi_cpufreq.

i can't login system, so i can't try cpufreq-utils, and try boot to lts kernel with last time dmesg got nothing wrong, just reboot like i pust reset button...

here my hardware:
Main Board: MSI A88XM-E45 (AMD A88X)
CPU: AMD APU 6600K
Memory: 2133MHz 4Gx2

$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh)
I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Richland [Radeon HD 8570D]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio
Controller
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Root Port
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Root Port
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI
Controller (rev 09)
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI
Controller (rev 09)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller
[AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI
Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI
Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI
Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI
Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 16)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller
(rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI
Controller (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models
10h-1fh) Processor Function 5
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411
PCI Express Gigabit Ethernet Controller (rev 0c)
02:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host
Controller (rev 02)
$ uname -a
Linux anix-nb 3.13.6-1-ARCH #1 SMP PREEMPT Fri Mar 7 22:47:48 CET 2014 x86_64
GNU/Linux
$ cat /etc/issue 
Arch Linux \r (\l)

and attach dmesg and lshw without acpi_cpufreq.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

Mika Hyttinen <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Mika Hyttinen <[email protected]> ---
I have this same issue on MSI FM2-A75IA-E53. This issue seems to be only on MSI motherboards (see https://github.com/OpenELEC/OpenELEC.tv/issues/3093).

Disabling acpi_cpufreq is working, but one OpenELEC user found other solution which also works by adding radeon.dpm=0 to boot parameters.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

--- Comment #4 from Mika Hyttinen <[email protected]> --- Forgot to add kernel version:

Linux HTPC 3.15.0-031500rc5-generic #201405091635 SMP Fri May 9 20:36:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I have tested from 3.13 -> 3.15rc5 and the issue is in all of them.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#7 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

Zhang Rui <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |NEEDINFO
                 CC|                            |[email protected]

--- Comment #6 from Zhang Rui <[email protected]> --- can you please git bisect which commit introduces this problem?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

--- Comment #7 from ArLi Weng <[email protected]> --- (In reply to Zhang Rui from comment #6)

Quoted 1 line

can you please git bisect which commit introduces this problem?

i don't known, maybe
http://kernelnewbies.org/Linux_3.13#head-f95c198f6fdc7defe36f470dc8369cf0e16898df

for now, radeon.dpm=0 work but gpu clock is wrong(3d game too bad), that are 800MHz but

#cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 200000 kHz
current engine clock: 200000 kHz

on radeon.dpm=-1 without acpi_cpufreq:

#cat /sys/kernel/debug/dri/0/radeon_pm_info
uvd vclk: 0 dclk: 0
power level 0 sclk: 30400 vddc: 949

is this case i don't knwon what's freq now but 3d game work fine, and reset infinite same time, i must boot to lts-kernel(3.10.42) before(boot to 3.10 then shutdown to next 3.14) kernel(3.14.5)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#9 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

--- Comment #8 from ArLi Weng <[email protected]> --- (In reply to ArLi Weng from comment #7)

Quoted 14 lines

(In reply to Zhang Rui from comment #6)

Quoted 1 line

can you please git bisect which commit introduces this problem?

i don't known, maybe
http://kernelnewbies.org/Linux_3.13#head-
f95c198f6fdc7defe36f470dc8369cf0e16898df

for now, radeon.dpm=0 work but gpu clock is wrong(3d game too bad), that are 800MHz but

#cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 200000 kHz
current engine clock: 200000 kHz

Quoted 6 lines

on radeon.dpm=-1 without acpi_cpufreq:

#cat /sys/kernel/debug/dri/0/radeon_pm_info
uvd vclk: 0 dclk: 0
power level 0 sclk: 30400 vddc: 949

is this case i don't knwon which freq but 3d game work fine, and reset infinite same time, i must boot to lts-kernel(3.10.42) before(boot to 3.10 then shutdown to 3.14) kernel(3.14.5)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#10 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

ArLi Weng <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|cpufreq                     |Video(DRI - non Intel)
            Product|Power Management            |Drivers

--- Comment #9 from ArLi Weng <[email protected]> --- this's i test result:

Quoted 1 line

radeon.dpm=0, on 3d game 7 fps(v-sync on).

# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 200000 kHz
current engine clock: 200000 kHz
default memory clock: 1066000 kHz
Quoted 1 line

radeon.dpm=-1, on 3d game 60 fps(v-sync on).

#cat /sys/kernel/debug/dri/0/radeon_pm_info
uvd vclk: 0 dclk: 0
power level 0 sclk: 30400 vddc: 949

but with dpm reset infinite, even i boot lts-kernel before 3.14 most time got fail. i try

with 'radeon.dynclks=0'
with 'radeon.aspm=0'
with 'echo performance > /sys/class/drm/card0/device/power_dpm_state'

all failed. for now, i must work on dpm=0, but that clock is wrong, i don't known how adjust that.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#11 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

[email protected] <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |nothingmuchheretosay@gmail.
                   |                            |com

--- Comment #10 from [email protected] <[email protected]> --- Hi, is this the same bug from freedesktop.org? I've been working with the second patch that fixes the problem with MSI motherboards that only have APUs.

https://bugs.freedesktop.org/show_bug.cgi?id=72921

Let us know if it works for you guys too! Also, how does this get pushed upstream?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#13 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

ArLi Weng <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |VERIFIED
         Resolution|---                         |PATCH_ALREADY_AVAILABLE

--- Comment #12 from ArLi Weng <[email protected]> --- (In reply to Collin from comment #10)

Quoted 8 lines

Hi, is this the same bug from freedesktop.org? I've been working with the second patch that fixes the problem with MSI motherboards that only have APUs.

https://bugs.freedesktop.org/show_bug.cgi?id=72921

Let us know if it works for you guys too! Also, how does this get pushed upstream?

confirm, work fine @ kernel 3.15.5.

hope i can see next release so i don't need manual compile.. or as module parameters

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#14 lore raw

[Bug 72361] AMD APU reset infinite

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=72361

ArLi Weng <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|VERIFIED                    |CLOSED
         Resolution|PATCH_ALREADY_AVAILABLE     |CODE_FIX

--- Comment #13 from ArLi Weng <[email protected]> --- fixed in the kernel 3.16

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.