Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757505AbdIIOHU (ORCPT ); Sat, 9 Sep 2017 10:07:20 -0400 Received: from mail.skyhub.de ([5.9.137.197]:57916 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753519AbdIIOHT (ORCPT ); Sat, 9 Sep 2017 10:07:19 -0400 Date: Sat, 9 Sep 2017 16:07:00 +0200 From: Borislav Petkov To: Markus Trippelsdorf 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: <20170909140700.bp7jonmp7etlb7ov@pd.tnic> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170909133954.GB289@x4> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1319 Lines: 44 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 # modprobe msr # rdmsr -a 0x00000410 # rdmsr -a 0xc0010048 as root. Thanks. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.