Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751033AbdGYIIe (ORCPT ); Tue, 25 Jul 2017 04:08:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:48941 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750778AbdGYIId (ORCPT ); Tue, 25 Jul 2017 04:08:33 -0400 Date: Tue, 25 Jul 2017 10:07:53 +0200 From: Borislav Petkov To: Suravee Suthikulpanit Cc: linux-kernel@vger.kernel.org, x86@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, peterz@infradead.org, Yazen.Ghannam@amd.com, Andreas Herrmann Subject: Re: [PATCH v4 2/2] x86/amd: Fixup cpu_core_id for family17h downcore configuration Message-ID: <20170725080753.GC21822@nazgul.tnic> References: <1500888165-2345-1-git-send-email-suravee.suthikulpanit@amd.com> <1500888165-2345-3-git-send-email-suravee.suthikulpanit@amd.com> <20170724111408.GC28024@nazgul.tnic> <20170724144445.GA31300@nazgul.tnic> <8e0f6094-f527-3ce7-3652-12df0a8f1ac3@amd.com> <20170725055647.GB21822@nazgul.tnic> <484db94c-65b3-47d0-fe87-f6075213307e@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <484db94c-65b3-47d0-fe87-f6075213307e@amd.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 495 Lines: 13 On Tue, Jul 25, 2017 at 01:02:49PM +0700, Suravee Suthikulpanit wrote: > Actually, this commit change how we derive the cpu_core_id fro family17h to > use CPUID_Fn8000001E_EBX instead of from APIC ID for family17h and later. Is the CPUID info correct also for downcored, MCM configurations? If so, I guess you could exit early from amd_get_topology() on F17h... -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --