Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Peter Zijlstra Newsgroups: linux.kernel Subject: Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Date: Wed, 05 Jul 2017 18:00:02 +0200 Message-ID: References: X-Original-To: Suravee Suthikulpanit Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nWTe5NfQyJA8PcJXvzkVzSbsN73L4vDSsLQoxq4YcHk=; b=1AqIJYDFFrsW0/qDiKhNBhHrj mFoKmoUFnYPBKTkTUnYkaaFoH9MkpVbxtOmN/2yHs0YkgFHT+ScCodFZ2U5TKC86Drrfl4lOBFMJj dFm5uIgIvJuDj0chiDE9P0F9N4P4KoyaCDXZF30urW7E1/bl1DfLZLR6q2IN9KF8idKQkzEpqcG3b 3hI0LIat+8+AUJkEgVplKswV1WZ15iXsREXPwRos1mLGJDy3QVbipVicb0Sr2DhYcIL2xKgEMJ6oc ERpD0LR0IUmBFXWIp6VYLafa5JrNanNJV9mqFG8lvo/UazFn1DzshFsokuHkk0bijIKR3IDW0IoXK xCkqJkiuQ==; MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 22 Organization: linux.* mail to news gateway X-Original-Cc: Borislav Petkov , x86@kernel.org, linux-kernel@vger.kernel.org, leo.duran@amd.com, yazen.ghannam@amd.com X-Original-Date: Wed, 5 Jul 2017 17:50:53 +0200 X-Original-Message-ID: <20170705155053.jucdvggtxxczzkba@hirez.programming.kicks-ass.net> X-Original-References: <1498545653-6755-1-git-send-email-suravee.suthikulpanit@amd.com> <1498545653-6755-2-git-send-email-suravee.suthikulpanit@amd.com> <20170627104803.wlhsqhaylbeqod37@pd.tnic> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1681615 On Tue, Jun 27, 2017 at 08:07:10PM +0700, Suravee Suthikulpanit wrote: > As I have described in the cover letter, this patch series changes how Which you didn't send to me... thanks for that. > kernel derives cpu "package" from package-as-socket to package-as-die in > order to fix following issues on AMD family17h multi-die processor > platforms: > These issues are fixed when properly intepretes package as DIE. > > For MCM Magny-Cours (family15h), we do not have this issue because the MC > sched-domain has the same cpumask as the DIE sched-domain. This is not the > same as for Zen cores (family17h) where the MC sched-domain is the CCX (2 > CCX per die) Are you saying that your LLCs are smaller than your NUMA nodes ? You do not in fact have a cache level that spans the memory controller? Because that is indeed the assumption we have for Intel CoD/SnC and AMD Magny-Cours.