Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933630AbcKIPk1 (ORCPT ); Wed, 9 Nov 2016 10:40:27 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:58615 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932461AbcKIPk0 (ORCPT ); Wed, 9 Nov 2016 10:40:26 -0500 Date: Wed, 9 Nov 2016 16:37:50 +0100 (CET) From: Thomas Gleixner To: "Charles (Chas) Williams" cc: Sebastian Andrzej Siewior , x86@kernel.org, LKML , "M. Vefa Bicakci" , Peter Zijlstra , Borislav Petkov Subject: Re: [PATCH] x86/cpuid: Deal with broken firmware once more In-Reply-To: Message-ID: References: <20161102122557.qs4rl6mb7n7l7j7p@linutronix.de> <24e69019-60d0-29e7-e31f-c6f00f9ed98a@brocade.com> <58e229e2-91f4-a97f-1b9f-089f48ef994a@brocade.com> <86609338-2b45-ed7e-fb07-99421e43a2f1@brocade.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 383 Lines: 13 On Wed, 9 Nov 2016, Thomas Gleixner wrote: > + if (pkg != c->phys_proc_id) { > + pr_err(FW_BUG "CPU%u: Using firmware package id %u instead of %u\n", > + cpu, pkg, c->phys_proc_id); > + c->phys_proc_id = pkg; > + } > + c->logical_proc_id = topology_phys_to_logical_pkg(pkg); > +#else > + c->locical_proc_id = 0; That want's to be logical_proc_id of course ... Stupid me.