From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751166AbeABXIC (ORCPT + 1 other); Tue, 2 Jan 2018 18:08:02 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:38018 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751007AbeABXIB (ORCPT ); Tue, 2 Jan 2018 18:08:01 -0500 Date: Wed, 3 Jan 2018 00:07:53 +0100 (CET) From: Thomas Gleixner To: Borislav Petkov cc: Meelis Roos , Linux Kernel list , x86@kernel.org, linux-edac@vger.kernel.org, Tom Lendacky Subject: Re: 4.15-rc6 PTI regression: L1 TLB mismatch MCE on Athlon64 In-Reply-To: <20180102212706.5gtevvg4rr7rfy5o@pd.tnic> Message-ID: References: <20180102212706.5gtevvg4rr7rfy5o@pd.tnic> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, 2 Jan 2018, Borislav Petkov wrote: > On Tue, Jan 02, 2018 at 10:49:16PM +0200, Meelis Roos wrote: > > This is on a socket 939 Athlon64 3500+, with PTI enabled. > > LOL. > > > [ 316.384669] mce: [Hardware Error]: Machine check events logged > > [ 316.384698] [Hardware Error]: Corrected error, no action required. > > [ 316.384719] [Hardware Error]: CPU:0 (f:2f:2) MC1_STATUS[-|CE|-|-|AddrV]: 0x9400000000010011 > > [ 316.384742] [Hardware Error]: Error Addr: 0x0000ffff81e000e0 > > That's the [47:12] slice of the virtual address which it tried to execute. > > According to our map in mm.txt: > > ffff800000000000 - ffff87ffffffffff (=43 bits) guard hole, reserved for hypervisor > > vs > > ffff81e000e0... > > which makes me think: WTF now?! > > I don't see any hypervisor happening in dmesg... Meelis, can you please enable CONFIG_X86_PTDUMP. If you select M then please load the resulting module 'debug_pagetables'. Then please do the following from a shell: # cat /sys/kernel/debug/page_tables/* >t.txt and provide the output. Thanks, tglx