Re: Ryzen public erratas

From: Eitan Adler <lists_at_eitanadler.com>
Date: Wed, 13 Jun 2018 04:16:55 -0700
On 13 June 2018 at 03:35, Konstantin Belousov <kostikbel_at_gmail.com> wrote:
> Today I noted that AMD published the public errata document for Ryzens,
> https://developer.amd.com/wp-content/resources/55449_1.12.pdf
>
> Some of the issues listed there looks quite relevant to the potential
> hangs that some people still experience with the machines.  I wrote
> a script which should apply the recommended workarounds to the erratas
> that I find interesting.
>
> To run it, kldload cpuctl, then apply the latest firmware update to your
> CPU, then run the following shell script.  Comments indicate the errata
> number for the workarounds.
>
> Please report the results.  If the script helps, I will code the kernel
> change to apply the workarounds.
>
> #!/bin/sh
>
> # Enable workarounds for erratas listed in
> # https://developer.amd.com/wp-content/resources/55449_1.12.pdf
>
> # 1057, 1109
> sysctl machdep.idle_mwait=0
> sysctl machdep.idle=hlt


Is this needed if it was previously machdep.idle: acpi ?


-- 
Eitan Adler
Received on Wed Jun 13 2018 - 09:17:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC