Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757570AbdIIOUT (ORCPT ); Sat, 9 Sep 2017 10:20:19 -0400 Received: from ud10.udmedia.de ([194.117.254.50]:47596 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753731AbdIIOUR (ORCPT ); Sat, 9 Sep 2017 10:20:17 -0400 Date: Sat, 9 Sep 2017 16:20:14 +0200 From: Markus Trippelsdorf To: Borislav Petkov Cc: Andy Lutomirski , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , LKML , Ingo Molnar , Tom Lendacky Subject: Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf Message-ID: <20170909142014.GC289@x4> References: <20170908171633.GA279@x4> <20170908215656.qw66lgfsfgpoqrdm@pd.tnic> <20170909063908.GA277@x4> <20170909101810.a757cja7vslofyrj@pd.tnic> <20170909110749.GA277@x4> <20170909130727.3jjnc6p5g45dihmy@pd.tnic> <20170909133745.GA289@x4> <20170909133954.GB289@x4> <20170909140700.bp7jonmp7etlb7ov@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170909140700.bp7jonmp7etlb7ov@pd.tnic> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1598 Lines: 48 On 2017.09.09 at 16:07 +0200, Borislav Petkov wrote: > On Sat, Sep 09, 2017 at 03:39:54PM +0200, Markus Trippelsdorf wrote: > > > mce: [Hardware Error]: CPU: 0 Machine Check Exception: 4 Bank 4: fa000010000b0c0f > > > mce: [Hardware Error]: TSC b75d6ef4ad MISC c00a00001000000 > > > mce: [Hardware Error]: PROCESSOR 2:100f42 TIME 1504963036 SOCKET 0 APIC 0 microcode 1000db > > > > Decoded: > > > > CPU: 0 Machine Check Exception: 4 Bank 4: fa000010000b0c0f > > Hardware event. This is not a software error. > > CPU 0 0 data cache TSC b75d6ef4ad > > TIME 1504963036 Sat Sep 9 15:17:16 2017 > > STATUS 0 MCGSTATUS 0 > > CPUID Vendor AMD Family 16 Model 4 > > SOCKET 0 APIC 0 microcode 1000db > > Yeah, this is not really decoding it - I need to address that case of > uncorrectable MCE not being decoded too. > > In any case, it is not E383: > > MC4_STATUS[Val|Over|UC|EN|MiscV|PCC|UECC|EEC: GART cache table walk encountered an invalid PTE (0x05)|ET: TLB(tt:GEN;ll:LG)]: 0xfa0020000005001b > > And those should actually be masked out: > > "BIOS is recommended to mask GART table walk errors by setting the bit > in MSRC001_0048 corresponding to F3x40[GartTblWkEn]." > > And we disable those but for some reason, it doesn't stick :-) > > Do > > # rdmsr -a 0x00000410 3fffffff 0 0 0 > # rdmsr -a 0xc0010048 780400 780400 780400 780400 -- Markus