Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742634

Re: random insta-reboots on AMD Phenom II

From Brian Gerst <brgerst@gmail.com>
Newsgroups linux.kernel
Subject Re: random insta-reboots on AMD Phenom II
Date 2017-09-30 16:30 +0200
Message-ID <uvqWd-5id-3@gated-at.bofh.it> (permalink)
References <uvfo5-69K-3@gated-at.bofh.it> <uvnYl-3oZ-7@gated-at.bofh.it> <uvo81-3sE-9@gated-at.bofh.it> <uvoB5-3DX-7@gated-at.bofh.it> <uvpnr-4bL-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Sep 30, 2017 at 8:47 AM, Markus Trippelsdorf
<markus@trippelsdorf.de> wrote:
> On 2017.09.30 at 13:53 +0200, Borislav Petkov wrote:
>> On Sat, Sep 30, 2017 at 01:29:03PM +0200, Adam Borowski wrote:
>> > On Sat, Sep 30, 2017 at 01:11:37PM +0200, Borislav Petkov wrote:
>> > > On Sat, Sep 30, 2017 at 04:05:16AM +0200, Adam Borowski wrote:
>> > > > Any hints how to debug this?
>> > >
>> > > Do
>> > > rdmsr -a 0xc0010015
>> > > as root and paste it here.
>> >
>> > 1000010
>> > 1000010
>> > 1000010
>> > 1000010
>> > 1000010
>> > 1000010
>> >
>> > on both 4.13.4 and 4.14-rc2+.
>>
>> Boot into -rc2+ and do as root:
>>
>> # wrmsr -a 0xc0010015 0x1000018
>>
>> If the issue gets fixed then Mr. Luto better revert the new lazy TLB
>> flushing fun'n'games for 4.14 before it is too late and that kernel
>> releases b0rked.
>
> The issue does get fixed by setting TlbCacheDis to 1. I have been
> running it for the last few weeks without any problems.
> Performance is not affected at all. So it might by easier to just set
> the bit for older AMD processors as a boot quirk.
> Changing the TLB code so late might not be a good idea...

Looking at the AMD K10 revision guide
(http://support.amd.com/TechDocs/41322_10h_Rev_Gd.pdf), errata #298
that this fixes should only apply to revisions DR-BA and DR-B2, which
include the original Phenom, but not Phenom II.  The Phenom II X6 is
revision PH-E0, which does not have this errata.

--
Brian Gerst

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

random insta-reboots on AMD Phenom II Adam Borowski <kilobyte@angband.pl> - 2017-09-30 04:10 +0200
  Re: random insta-reboots on AMD Phenom II Borislav Petkov <bp@alien8.de> - 2017-09-30 13:20 +0200
    Re: random insta-reboots on AMD Phenom II Adam Borowski <kilobyte@angband.pl> - 2017-09-30 13:30 +0200
      Re: random insta-reboots on AMD Phenom II Borislav Petkov <bp@alien8.de> - 2017-09-30 14:00 +0200
        Re: random insta-reboots on AMD Phenom II Markus Trippelsdorf <markus@trippelsdorf.de> - 2017-09-30 14:50 +0200
          Re: random insta-reboots on AMD Phenom II Brian Gerst <brgerst@gmail.com> - 2017-09-30 16:30 +0200
            Re: random insta-reboots on AMD Phenom II Markus Trippelsdorf <markus@trippelsdorf.de> - 2017-09-30 17:30 +0200
          Re: random insta-reboots on AMD Phenom II Borislav Petkov <bp@alien8.de> - 2017-09-30 18:00 +0200
            Re: random insta-reboots on AMD Phenom II Andy Lutomirski <luto@kernel.org> - 2017-09-30 18:10 +0200
        Re: random insta-reboots on AMD Phenom II Andy Lutomirski <luto@amacapital.net> - 2017-09-30 17:20 +0200
          Re: random insta-reboots on AMD Phenom II Borislav Petkov <bp@alien8.de> - 2017-09-30 17:50 +0200
        Re: random insta-reboots on AMD Phenom II Adam Borowski <kilobyte@angband.pl> - 2017-10-01 15:10 +0200

csiph-web