From patchwork Tue Feb 25 17:39:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 3718161 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CE8399F35F for ; Tue, 25 Feb 2014 17:40:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0BF41201F4 for ; Tue, 25 Feb 2014 17:40:11 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 65417201EF for ; Tue, 25 Feb 2014 17:39:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 89E21FAF2D; Tue, 25 Feb 2014 09:39:53 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.skyhub.de (mail.skyhub.de [78.46.96.112]) by gabe.freedesktop.org (Postfix) with ESMTP id 71995FA75E; Tue, 25 Feb 2014 09:39:51 -0800 (PST) X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1393349989; bh=6i3WNX4GXbYXRGdFHTg1sH3DJpEoClVcGt71Wl+XBzs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=tGZYkVDCGvHBxwTgAQyNQd3EMByjYSyrnnxfCM 1qJKjz0T26LMUXr/Om4//FqVIO/52mHkQj7Lv8G0umgsxnRIC1+wvOEQPccMSchwhCk IwjxL7jO9ljodwHPAtOre81qV+9hoHMKd3jbu81aA6+gWvcvlCcWfKtZmcHvdvoKjc= Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kL0aVJxJnKK0; Tue, 25 Feb 2014 18:39:49 +0100 (CET) Received: from liondog.tnic (p54B7EC5B.dip0.t-ipconnect.de [84.183.236.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id B63A91D9730; Tue, 25 Feb 2014 18:39:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1393349988; bh=6i3WNX4GXbYXRGdFHTg1sH3DJpEoClVcGt71Wl+XBzs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=KFGg4IzCY5SbkqfK/x8JPa77I5TTqotY+gfrII XzH9Z/KCfgHSIIRSxS/vxqVPpXPBZHW21dRKaQNNzaYx+MGy7DWTIfyxy6Iq2g/x/Qc o472ei51uvq73Lncg5hkQZNTzHlec7/8YG8Y6AhgZz6E8GV42NM28bfvMcLWCj3orU= Received: by liondog.tnic (Postfix, from userid 1000) id 7331C10135B; Tue, 25 Feb 2014 18:39:46 +0100 (CET) Date: Tue, 25 Feb 2014 18:39:46 +0100 From: Borislav Petkov To: Stephane Eranian Subject: Re: Info: mapping multiple BARs. Your kernel is fine. Message-ID: <20140225173946.GH24636@pd.tnic> References: <20140224162400.GE16457@pd.tnic> <20140224201943.GA4397@pd.tnic> <530CBB3D.3080604@zytor.com> <20140225163010.GG24636@pd.tnic> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Peter Zijlstra , Jiri Kosina , Daniel Vetter , intel-gfx@lists.freedesktop.org, x86 , lkml , Paul Mackerras , dri-devel@lists.freedesktop.org, Arnaldo Carvalho de Melo , "H. Peter Anvin" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, KHOP_BIG_TO_CC,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Tue, Feb 25, 2014 at 05:33:13PM +0100, Stephane Eranian wrote: > No, it's a T430s. What happens if you boot vanilla tip.git? linus/master + tip/master -> fails tip/master -> fails All trees are from today, like an hour ago or so. Doing what hpa suggested: for model 58, IVB, works around the issue. Thanks. diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore.c b/arch/x86/kernel/cpu/perf_event_intel_uncore.c index b262c6124cf3..ec217d2d28dd 100644 --- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c +++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c @@ -3871,6 +3871,7 @@ static int __init uncore_pci_init(void) pci_uncores = snb_pci_uncores; uncore_pci_driver = &snb_uncore_pci_driver; break; +#if 0 case 58: /* Ivy Bridge */ ret = snb_pci2phy_map_init(PCI_DEVICE_ID_INTEL_IVB_IMC); if (ret) @@ -3878,6 +3879,7 @@ static int __init uncore_pci_init(void) pci_uncores = snb_pci_uncores; uncore_pci_driver = &ivb_uncore_pci_driver; break; +#endif case 60: /* Haswell */ case 69: /* Haswell Celeron */ ret = snb_pci2phy_map_init(PCI_DEVICE_ID_INTEL_HSW_IMC);