Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp830242rwb; Tue, 27 Sep 2022 05:21:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5spARSsF/JTXyw5TyGDzAGz2hWcDzBqyP4gZHkFPeMPv0hHVArUzJCOb2O1w1jklCpHW6o X-Received: by 2002:a17:907:971c:b0:783:286f:152b with SMTP id jg28-20020a170907971c00b00783286f152bmr11541380ejc.479.1664281279562; Tue, 27 Sep 2022 05:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664281279; cv=none; d=google.com; s=arc-20160816; b=h0CP56hWeeL3HTWu70cCKC8MuaqC6i5EwqyUU/VHEnaQGHdZeuzbM4xHkBk3D5dxZ2 j7TUPcFlu4THPvwNxUrAfZ8pGXiUbz1XboN9G0OQU8l1QDh7sZcF4Z5FX2Ep7gsTIzZ2 wRli/unIlCFiIoL9OGmXEbh1s593LP6++aVAYZnHL0KwWMgEO8pke9UN/lCFyIPifXyL FOr4f2nIBTnEjUuvOMfpJCfUCt5fPU4r7rS/Q1vcXFlUAPRRpmEXipG0cXqk8ZYe9Pf0 3NHko558xF6wOQKGrKicUTw03rhJ4IhfkSBKGAG2oUB99JACLpX2gJuzLMCPgsDnR6Vu XDhw== 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=4LgJr/QYXmxBnVVctWMA0X5/dO2VSHradCK/BPcROEg=; b=sshdzOv0stmQVcGMZrCppyILNhzznWiXqPOY5ev5eW1ZwYtsjU7SUR67r1grv+cCEM t9C51uFXxtzRdm2srQ+hQgNIRo7L5+7bqispzQpoDkz/qcQEFJ2OrSTLDCQzzNESHbVi ETFsbjB13uER/TjPHwDf5qKEntmdsSmLY9ULJ6t3Numv+i/zKvwXXuFCZ7jAa/nGrbhr Bd+UgBQP2xEQykhKnrGV27On6H2OycGxaPyr5vlNyD82de1k8OsGTKXELiPrn5iYKvTi GSjaYkM510fQW8SaoPdalGRHQExcMtUap/IRssu4krIRVYxUvR1h48cUPqdAlkSJ5kwk ir3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jXmTh1Vd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a056402441200b00456e1b5b8e1si1830434eda.426.2022.09.27.05.20.53; Tue, 27 Sep 2022 05:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jXmTh1Vd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232213AbiI0MBP (ORCPT + 99 others); Tue, 27 Sep 2022 08:01:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232259AbiI0MA4 (ORCPT ); Tue, 27 Sep 2022 08:00:56 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C80A14FE2F for ; Tue, 27 Sep 2022 05:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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; bh=4LgJr/QYXmxBnVVctWMA0X5/dO2VSHradCK/BPcROEg=; b=jXmTh1VdmO1TsUShnPRysUOsr3 Z8vfm0J+ijfbwRIaJ36PXyYysADC+sp6uK5jAH3r0/hT+SBKfjdvfAEgc9icLAAe/f73IETU8kcYV UGu9Ci0Gy2bWh+UlWTezIboyzF3clWJHjAn8NIwRy8xM2U/GVct9NSgJCP8Y7qPBNOfZ+tRV+WUyg OP83B56wUfNyn9m+1xlAXjU6vsjnKMb4yDaWGDzX2TzUYw3UpsmjD0Ny++GTS4V1ymqMcbjnC+YCH OpS7n9C6CZWcjlROhp3CyINyUvZPAB/Dc+C5dc609JOH9ilpKZ6Svs9OH2lgk9QIe74KTH9PJG+8b HuYGSoyA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1od9GS-00GHRs-8p; Tue, 27 Sep 2022 12:00:40 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id D94533001D6; Tue, 27 Sep 2022 14:00:39 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id C95042BDDB523; Tue, 27 Sep 2022 14:00:39 +0200 (CEST) Date: Tue, 27 Sep 2022 14:00:39 +0200 From: Peter Zijlstra To: Ricardo Neri Cc: Juri Lelli , Vincent Guittot , Ricardo Neri , "Ravi V. Shankar" , Ben Segall , Daniel Bristot de Oliveira , Dietmar Eggemann , Len Brown , Mel Gorman , "Rafael J. Wysocki" , Srinivas Pandruvada , Steven Rostedt , Tim Chen , Valentin Schneider , x86@kernel.org, linux-kernel@vger.kernel.org, "Tim C . Chen" Subject: Re: [RFC PATCH 17/23] thermal: intel: hfi: Enable the Intel Thread Director Message-ID: References: <20220909231205.14009-1-ricardo.neri-calderon@linux.intel.com> <20220909231205.14009-18-ricardo.neri-calderon@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220909231205.14009-18-ricardo.neri-calderon@linux.intel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 09, 2022 at 04:11:59PM -0700, Ricardo Neri wrote: > +config INTEL_THREAD_DIRECTOR > + bool "Intel Thread Director" > + depends on INTEL_HFI_THERMAL > + depends on SMP > + select SCHED_TASK_CLASSES > + help > + Select this option to enable the Intel Thread Director. If selected, > + hardware classifies tasks based on the type of instructions they > + execute. It also provides performance capabilities for each class of > + task. On hybrid processors, the scheduler uses this data to place > + tasks of classes of higher performance on higher-performnance CPUs. Do we really need yet another CONFIG symbol for all this!? AFAICT this Thread Director crud simply extends the HFI table and doesn't actually carry that much code with it. Best to always have it on when HFI is on, no?