Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1908349pxk; Sat, 3 Oct 2020 01:53:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9hac3IwTrtcjazBpXBbKOSoMm0WzEVRX9sXEoIBwiDWocNRHMcXLIqReV9QuXB9zLkSYP X-Received: by 2002:a05:6402:718:: with SMTP id w24mr7264966edx.294.1601715203473; Sat, 03 Oct 2020 01:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601715203; cv=none; d=google.com; s=arc-20160816; b=EvfrcLNP04GTh4Y3G7QSAr/XJMNPxxQF3e2eQMi0SwgIj4Ni3eZBaGogVSM/3v2AJf ScxopZD37//mpPcDC5Z/K6QUFDfJLQTgfxGxPZmzBqetOR8TWoyEX10WgCE9lrHx4QFQ Owb//dZ9CDmWVrWEY+lPxHAM8ivMZnxkXf8/u4E8ROo35QwOwF3G5nuONS3DT3mjm71g 5Mp+lsyivnZWLgUykiRB7yjrQ2id+JonfwiMC1vjZw24O1Y5mdBNM76krG1R/dmlCRXO nUGglsHX87BgsXQASOQjfl5g4pDeLW40kFGFgjhQxRIQFx22COVbF21q6oQ8+DXZPBlN 8SLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8aK0fTH6/q1KJZHJYswOgg0ec7iKPfMyHMyRu4CPSP0=; b=u+ieH+CSzl6Xq1lavWGjvZLXrACFW1zBHgyrgIQ6mh7h5vGUdsCjsa9Y5VQYsur1ru /R+fNk0B+OhxrsqoIHNwKWEBhSCm7ujoExc4sodOAFQgSoigo9a2Rd1p1JHwRNg3HXQK f/Fcm3IwX/xWaY1H5Ehz7xz7+UtIu3EuV/8AFJIKRi8dI9Isa5vHhl7Rns1mmE94ZpD7 /+CtQF8k7s8E3jV/izAKR6N0QoweuUtQmoSOecL6RaP/5gGHwVEQi4yttRbJR6v2AtAI Dd4QGR1Xx3g+Rfy+SJmjiyA4GbJQp27Acdw4wqcFKLg23qbrMUcqUjBAj1whZS/w/kPw VLyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=JfEMjALM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z8si3052955edp.90.2020.10.03.01.53.00; Sat, 03 Oct 2020 01:53:23 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=JfEMjALM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725781AbgJCIto (ORCPT + 99 others); Sat, 3 Oct 2020 04:49:44 -0400 Received: from mail.skyhub.de ([5.9.137.197]:57056 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725648AbgJCIto (ORCPT ); Sat, 3 Oct 2020 04:49:44 -0400 Received: from zn.tnic (p200300ec2f1db40057382cf78206bf6d.dip0.t-ipconnect.de [IPv6:2003:ec:2f1d:b400:5738:2cf7:8206:bf6d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 0C2631EC046C; Sat, 3 Oct 2020 10:49:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1601714983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=8aK0fTH6/q1KJZHJYswOgg0ec7iKPfMyHMyRu4CPSP0=; b=JfEMjALMNN03rvQd6UQUkkAQe/eMe6fCN3kgA//lixqMg6xlYdUH3Ga129XnjdCEukrQgd FzI7FnUaW4N9rcdg3BXMWecDV73bOCwIYthKbFxeRuPrMBTfVcyXZxNxttEJeTUUPsxVxW RPXQig2/6LHLDit+sMjy4PkWA1SRlIk= Date: Sat, 3 Oct 2020 10:49:34 +0200 From: Borislav Petkov To: Ricardo Neri 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: <20201003084934.GA14035@zn.tnic> References: <20201003011745.7768-1-ricardo.neri-calderon@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201003011745.7768-1-ricardo.neri-calderon@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > [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. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette