Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757541AbdIINj6 (ORCPT ); Sat, 9 Sep 2017 09:39:58 -0400 Received: from ud10.udmedia.de ([194.117.254.50]:59036 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753485AbdIINj5 (ORCPT ); Sat, 9 Sep 2017 09:39:57 -0400 Date: Sat, 9 Sep 2017 15:39:54 +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: <20170909133954.GB289@x4> References: <20170908113039.GA285@x4> <20170908171633.GA279@x4> <20170908215656.qw66lgfsfgpoqrdm@pd.tnic> <20170909063908.GA277@x4> <20170909101810.a757cja7vslofyrj@pd.tnic> <20170909110749.GA277@x4> <20170909130727.3jjnc6p5g45dihmy@pd.tnic> <20170909133745.GA289@x4> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170909133745.GA289@x4> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1485 Lines: 43 On 2017.09.09 at 15:37 +0200, Markus Trippelsdorf wrote: > On 2017.09.09 at 15:07 +0200, Borislav Petkov wrote: > > On Sat, Sep 09, 2017 at 01:07:49PM +0200, Markus Trippelsdorf wrote: > > > It doesn't work. Compiling in a text console just freezes the machine > > > before any MCE gets printed. > > > > Ok, let's turn off all syncflood bits. Hunk below. Do a > > > > $ dmesg | grep syncflood > > > > to check it worked. It says > > > > [ 1.557017] quirk_syncflood: 0x44: 0xa900044 > > [ 1.561431] quirk_syncflood: 0x44: wrote 0xa800040 > > [ 1.566361] quirk_syncflood: 0x180: 0x700022 > > [ 1.570775] quirk_syncflood: 0x180: wrote 0x20 > > > > here. > > > > Also, make sure you boot with "pci=check_enable_amd_mmconf" on the > > kernel cmdline because someone broke extended PCI cfg space again on > > those machines. At least on my test box here... But that's something > > I'll deal with later. :-\ > > Thanks. This one worked: > > 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 -- Markus