From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753209AbdF0RFF (ORCPT ); Tue, 27 Jun 2017 13:05:05 -0400 Received: from mail-bl2nam02on0063.outbound.protection.outlook.com ([104.47.38.63]:18144 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751893AbdF0RE6 (ORCPT ); Tue, 27 Jun 2017 13:04:58 -0400 From: "Duran, Leo" To: "'Borislav Petkov'" CC: "'Thomas Gleixner'" , "Suthikulpanit, Suravee" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "Ghannam, Yazen" , Peter Zijlstra Subject: RE: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Thread-Topic: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Thread-Index: AQHS7xBkV4oBSeGdVkqrXOQu4LK/EKI4h5KAgAAm3wCAABSjAIAAEzOggAALyQCAAACGEIAABQwAgAAAtuCAAAM4AIAAANug Date: Tue, 27 Jun 2017 17:04:55 +0000 Message-ID: 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> <20170627161156.yim2pxtyg7efrbef@pd.tnic> <20170627163152.xcefylri56etqpbn@pd.tnic> <20170627164556.d6rejypzvdlroofj@pd.tnic> In-Reply-To: <20170627164556.d6rejypzvdlroofj@pd.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: alien8.de; dkim=none (message not signed) header.d=none;alien8.de; dmarc=none action=none header.from=amd.com; x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR12MB1737;20:Yy5KHomhVGQzBge7CYtnLpntkKtx2LyCUdTFLJKH8/oD2EKEpa3ug8WvoSQS+6Za7swU1dnCo3F4t0AUIZmLsRbVKlSTnvvSnLg0ii5ngGt+9n5c4VZki8lNgDtPbSfS2nrBFmbFbze7V9/8WR1DjHrnIeGlxwQORMPJzcu24CIdzNTJFXBSpQMXkZ+fCWWV9ws+38DW1sImHtFe2hZgenXIn6suAT4NnT08lPFxmiJ4klhqIsxYnCu5MgSjYGgt x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10009020)(6009001)(39400400002)(39850400002)(39410400002)(39450400003)(39840400002)(39860400002)(377454003)(24454002)(13464003)(54906002)(55016002)(8936002)(305945005)(2950100002)(110136004)(6506006)(6916009)(77096006)(74316002)(9686003)(3846002)(102836003)(2900100001)(229853002)(4326008)(6246003)(33656002)(38730400002)(93886004)(7696004)(53936002)(50986999)(8676002)(5660300001)(66066001)(2906002)(6436002)(25786009)(54356999)(189998001)(86362001)(3280700002)(14454004)(81166006)(99286003)(76176999)(3660700001)(478600001)(7736002)(53546010)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1737;H:DM5PR12MB1243.namprd12.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; x-ms-office365-filtering-correlation-id: 8797f0eb-fbb2-4296-0aae-08d4bd7ea293 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254075)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506067)(300135500095);SRVR:DM5PR12MB1737; x-ms-traffictypediagnostic: DM5PR12MB1737: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278178393323532)(236129657087228)(9452136761055)(767451399110); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR12MB1737;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR12MB1737; x-forefront-prvs: 0351D213B3 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2017 17:04:55.5282 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1737 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v5RH5F4i023161 > -----Original Message----- > From: Borislav Petkov [mailto:bp@alien8.de] > Sent: Tuesday, June 27, 2017 11:46 AM > To: Duran, Leo > Cc: 'Thomas Gleixner' ; Suthikulpanit, Suravee > ; x86@kernel.org; linux- > kernel@vger.kernel.org; Ghannam, Yazen ; > Peter Zijlstra > Subject: Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of > socket > > On Tue, Jun 27, 2017 at 04:42:32PM +0000, Duran, Leo wrote: > > First of all, please do not top-post. > > > Are you saying that "amd.c' should be scheduler-aware?.. Really? > > Please read again what I said. > > > If so, are you saying that information returned by kernel-defined > > terms like 'Package', 'Core', > > "information returned by kernel-defined terms"... hmmm, I don't know what > that means. [Duran, Leo] I'm referring to: Documentation\x86\ topology.txt Started by Thomas Gleixner and Borislav Petkov . > > > etc, should done in the context of understanding the scheduler, rather > > than in the context what is being documented for those terms to > > actually mean or represent. > > -ENOPARSE. > > > I'd hope that "amd.c" should be doing the latter... and that perhaps > > we're simply not returning information as specified by the intended > > definition of those terms (in which case we need to fix our code) > > -ENOPARSE. > > I can't really understand what you're trying to tell me here. > [Duran, Leo] OK, let me try again: I'd hope that "amd.c" returns 'Package', 'Core', et al, in compliance with the document I referred to above. Allowing code that consumes the returned information to make (hopefully optimal) decisions in a vendor-agnostic way. > -- > Regards/Gruss, > Boris. > > Good mailing practices for 400: avoid top-posting and trim the reply.