Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757508AbdIINhu (ORCPT ); Sat, 9 Sep 2017 09:37:50 -0400 Received: from ud10.udmedia.de ([194.117.254.50]:58244 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753519AbdIINht (ORCPT ); Sat, 9 Sep 2017 09:37:49 -0400 Date: Sat, 9 Sep 2017 15:37:45 +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: <20170909133745.GA289@x4> References: <20170908103906.GB278@x4> <20170908113039.GA285@x4> <20170908171633.GA279@x4> <20170908215656.qw66lgfsfgpoqrdm@pd.tnic> <20170909063908.GA277@x4> <20170909101810.a757cja7vslofyrj@pd.tnic> <20170909110749.GA277@x4> <20170909130727.3jjnc6p5g45dihmy@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170909130727.3jjnc6p5g45dihmy@pd.tnic> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1158 Lines: 33 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 (I had to copy the above by hand, so it may not be 100% accurate). -- Markus