Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp61605pxk; Mon, 5 Oct 2020 17:49:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSWiFPwZKFJbnKd2/cE25Tznz4hrSCwzLVl21Mhei05jJrYurAjAsTVbC978qaC20kgmC7 X-Received: by 2002:a17:907:43c3:: with SMTP id i3mr2395666ejs.231.1601945389840; Mon, 05 Oct 2020 17:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601945389; cv=none; d=google.com; s=arc-20160816; b=R4sfmemLjTU3yuCeNtIwBriLY5Ts6an+AN19KJfzWn1eBJmnosl1S8eb+PiDaji5ap eDIZAlx0N6IitD+vhDWZZZJrKiJ/fJAb0pwXazP3GdZByPYxg5tXoegU12frAd3mvRp/ EgPZYBEaFdFD0TqL2McPow4p92vkLVKEXeKfN08Yf2EHcYV9vjLLzK93bisMcaEXEjXT 0qVwM+xO694RdCMBL1ArdAX0ipJvfds7KG5Ht2LmzET7rHSbbaeje4wHPLGKsRxglRD/ FmFa3c0h89R8rAK335wkTtgUtc0phusi59MHavEEvjkOmnFyPM3tujk27zHipSOjWt6q jxcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=l3tb9yn8d/ExSTDcK4M9kJuJF8y426j3uPiOkIyn+nU=; b=TAr5u9kciQqqI1ywyGBYpnx/9ilEx4NGdKGvkybxrqh2+hUTAleQVlz1cAVxERbQaO 3wus82HOeEzXYMasYB9QDh2ce+jyDUDgM1dPvXvdcIWAz2gcrthgYonJvy08clYSBAMT AQ7pvOsidgMoH24ZiWf1tXHRKeidt/JKtVYcOBxis9CqHCBXGOJNbus68S2gBvlZ8+0H ZzPk1qVPjb31+ioYCgUdzX1XTEU47mYNKxmgnleHE66UyIJe790tFB7Tu+5OTDZkfL+a GeiNlvwyl8+QQUMIpcrKMmN4g4VEGCmDmaH7UXDI+rxDQuzg0QZUFdvleO5usEHlFx6P +GAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ss5si797280ejb.737.2020.10.05.17.49.26; Mon, 05 Oct 2020 17:49:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726769AbgJFApj (ORCPT + 99 others); Mon, 5 Oct 2020 20:45:39 -0400 Received: from mga14.intel.com ([192.55.52.115]:37998 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726562AbgJFApj (ORCPT ); Mon, 5 Oct 2020 20:45:39 -0400 IronPort-SDR: ThpEB1RxMfaoukI/eJ+9FjOOrLJizEpi4UFgw4R8Igy4alARkoRhA0ssNB+se87u9lUqQFd9sv HS5nkTSdq74A== X-IronPort-AV: E=McAfee;i="6000,8403,9765"; a="163511992" X-IronPort-AV: E=Sophos;i="5.77,341,1596524400"; d="scan'208";a="163511992" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 05 Oct 2020 17:45:39 -0700 IronPort-SDR: sdLt+WG5kroCEue5dSYKRx7UAWYevQPfDZMW+tG8m2+KbDqeybGtqc1aZQkr/duTsX8x+nUd90 K0qTc17Ta/ag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,341,1596524400"; d="scan'208";a="417755291" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by fmsmga001.fm.intel.com with ESMTP; 05 Oct 2020 17:25:18 -0700 Date: Mon, 5 Oct 2020 17:27:17 -0700 From: Ricardo Neri To: Borislav Petkov Cc: Greg Kroah-Hartman , x86@kernel.org, Ingo Molnar , Thomas Gleixner , "Rafael J. Wysocki" , Tony Luck , Len Brown , "Ravi V. Shankar" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] drivers core: Introduce CPU type sysfs interface Message-ID: <20201006002717.GC6041@ranerica-svr.sc.intel.com> References: <20201003011745.7768-1-ricardo.neri-calderon@linux.intel.com> <20201003084934.GA14035@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201003084934.GA14035@zn.tnic> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 03, 2020 at 10:49:34AM +0200, Borislav Petkov wrote: > On Fri, Oct 02, 2020 at 06:17:41PM -0700, Ricardo Neri wrote: > > Patch 1 of the series proposes the generic interface, with hooks > > that architectures can override to suit their needs. The three patches > > patches implement such interface for x86 (as per request from Boris, > > I pulled patch 2 from a separate submission [1]). > > So I ask you to show me the whole thing, how this is supposed to be used > in a *real* use case and you're sending me a couple of patches which > report these heterogeneous or whatever they're gonna be called CPUs. > > Are you telling me that all this development effort was done so that > you can report heterogeneity in sysfs? Or you just had to come up with > *something*? > > Let me try again: please show me the *big* *picture* with all the code > how this is supposed to be used. In the patches I read a bunch of "may" > formulations of what is possible and what userspace could do and so on. > > Not that - show me the *full* and *real* use cases which you are > enabling and which justify all that churn. Instead of leaving it all to > userspace CPUID and the kernel not caring one bit. > > Does that make more sense? Yes Boris, thanks for the clarification. The proposed sysfs interface is one instance in which we use cpuinfo_x86.x86_cpu_type. I have other changes that use this new member. I will post them. > > > [1]. https://lkml.org/lkml/2020/10/2/1013 > > For supplying links, we use lore.kernel.org/r/ solely. > Please use that from now on. Sure Boris, I will use lore.kernel.org in the future. Thanks and BR, Ricardo