Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752152AbbHSDzg (ORCPT ); Tue, 18 Aug 2015 23:55:36 -0400 Received: from mx2.suse.de ([195.135.220.15]:42081 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751778AbbHSDzN (ORCPT ); Tue, 18 Aug 2015 23:55:13 -0400 Date: Wed, 19 Aug 2015 05:55:19 +0200 From: Borislav Petkov To: Jiri Olsa Cc: Andy Lutomirski , "linux-kernel@vger.kernel.org" , X86 ML , Peter Zijlstra , Ingo Molnar , Robert Richter , "H. Peter Anvin" , Thomas Gleixner , Arnaldo Carvalho de Melo , Namhyung Kim , Jan Stancek , Suravee Suthikulpanit , Sherry Hurwitz Subject: Re: [BUG/RFC] perf test fails on AMD CPUs Message-ID: <20150819035519.GA31385@nazgul.tnic> References: <20150816222956.GA14290@krava.brq.redhat.com> <20150817043603.GB9387@nazgul.tnic> <20150818101025.GA15340@krava.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150818101025.GA15340@krava.brq.redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1390 Lines: 46 On Tue, Aug 18, 2015 at 12:10:25PM +0200, Jiri Olsa wrote: > buuuuuut anyway, it looks like latest AMD firmware issue: > > [root@amd-pike-07 ~]# cat /sys/devices/system/cpu/cpu0/microcode/version > 0x6000822 > [root@amd-pike-07 perf]# ./perf test 18 > 18: Test breakpoint overflow signal handler : Ok > > [root@amd-pike-07 perf]# cat /sys/devices/system/cpu/cpu0/microcode/version > 0x6000832 > [root@amd-pike-07 perf]# ./perf test 18 > 18: Test breakpoint overflow signal handler : FAILED! > > > [root@amd-pike-07 ~]# cat /proc/cpuinfo > processor : 7 > vendor_id : AuthenticAMD > cpu family : 21 > model : 2 > model name : AMD Opteron(tm) Processor 3380 > stepping : 0 > microcode : 0x6000832 > > SNIP Whoops. Can you please confirm with your debugging code that with version 0x6000822 EFLAGS.RF is set and with 0x6000832 it isn't when running the aforementioned test? Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/