Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp221608iob; Wed, 18 May 2022 00:15:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQZxl0GgjGp0NsU/ySfZaQ0IWTdGEByvP4zGMLkIiqoYbMK82udz3U2MywsYuXc7LL4qKj X-Received: by 2002:a17:902:ec8a:b0:161:7ca5:eced with SMTP id x10-20020a170902ec8a00b001617ca5ecedmr13642696plg.17.1652858148887; Wed, 18 May 2022 00:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652858148; cv=none; d=google.com; s=arc-20160816; b=LXlkTHLwxYUbQ33ktE6q2wEjpyg7yF0vM1nwRwuWSwUGIkC90MMUip1Fxs5V84VlpE e0IC3BEkDVX892CEzYDoZxEl3K80e7S9lb5bi3YEldpzf3nkG+KLL0OB5hWq71kbmCtQ tMlcSE4P+ezVEPs7k6EqD+GCgFOrajkxEAwRA84PWVPVdIdFOpF/ZqglSlLnlTcJWvha FesrbWeNSvN+AB8CTJHI9Ve3SqiLb/PEA8fHZ43WTcKOoYCcbDnJkknTLtQvydI2z1VE ZEwEeCuJ3UW9CWh//4tlyfB7J4RWHc/e4giPb2Z+orlKbAs/cvIXs5Iffrpj+2zEyL+q qfVA== 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=esGYMbGFaTpYPLsh1dQ24aH2lATCJjhU9SmrPJknpP4=; b=ksg69aErU4Biy5KR2nbLrI2ArkJ9M1fckSAGZr94OUe9hP30TqeKDkwOAbrRfIQY4y rZvMSRDYvmesSizvzLPapvia2M+HMYu+5rirOekFAC4f37h8oj3HLRvstEQzxJpsypBq R1iP8VElVvdd3RNAZuSGsWdfPRZvdvOMRyPty68QvRRSLUqqGfVHFqYoFE4Y+clGIsJh tcf+Rm/klcGvnf6ZPU+I5z65r6POlL+nLfScZ3diCxEtZTbqFdT2ro9Ln/vkHMfgrxeS GSZY94Nc2SMArvwFVD2+pHCrB+R+eHVjB6cgGQwTL8B1HvXLfLBl+2+xAeaGuOIcdnwM FZ4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sWw3wk+y; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d191-20020a6368c8000000b003ab92744f7fsi1689930pgc.405.2022.05.18.00.15.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 00:15:48 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sWw3wk+y; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 58F919D073; Wed, 18 May 2022 00:05:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231830AbiERHE7 (ORCPT + 99 others); Wed, 18 May 2022 03:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231805AbiERHE4 (ORCPT ); Wed, 18 May 2022 03:04:56 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 933A3985AD for ; Wed, 18 May 2022 00:04:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 513A3B81E9B for ; Wed, 18 May 2022 07:04:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85C4AC385A5; Wed, 18 May 2022 07:04:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1652857493; bh=5/SVsqjHtSz5a25oyFP2C2XiAM7dJCptaoUIfgrtXDY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sWw3wk+yMKhbEONY1F/y8qGpl/BwzUVdexM1njLQMEgLiXxY4+mUMrZ1As5X/Mnv1 +kZAV7pQ/zQ7FDrP3EuH/NazlpUs661Ge8h5LH5Tf0wDIM8vRiCN7+2WRwPMrgoAQn 44T1z4qccxjiIcLBR4T5qqKeIsuWMbDKITQP/GU4= Date: Wed, 18 May 2022 09:04:44 +0200 From: Greg KH To: Kohei Tarumizu Cc: catalin.marinas@arm.com, will@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, rafael@kernel.org, mchehab+huawei@kernel.org, eugenis@google.com, tony.luck@intel.com, pcc@google.com, peterz@infradead.org, marcos@orca.pet, conor.dooley@microchip.com, nicolas.ferre@microchip.com, marcan@marcan.st, linus.walleij@linaro.org, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 2/8] drivers: base: Add Kconfig/Makefile to build hardware prefetch control core driver Message-ID: References: <20220518063032.2377351-1-tarumizu.kohei@fujitsu.com> <20220518063032.2377351-3-tarumizu.kohei@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220518063032.2377351-3-tarumizu.kohei@fujitsu.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, May 18, 2022 at 03:30:26PM +0900, Kohei Tarumizu wrote: > Adds Kconfig/Makefile to build hardware prefetch control core driver, > and also adds a MAINTAINERS entry. > > Signed-off-by: Kohei Tarumizu > --- > MAINTAINERS | 6 ++++++ > drivers/base/Kconfig | 9 +++++++++ > drivers/base/Makefile | 1 + > 3 files changed, 16 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index d6d879cb0afd..f188403bc2e9 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -8620,6 +8620,12 @@ F: include/linux/hwmon*.h > F: include/trace/events/hwmon*.h > K: (devm_)?hwmon_device_(un)?register(|_with_groups|_with_info) > > +HARDWARE PREFETCH CONTROL DRIVERS > +M: Kohei Tarumizu > +S: Maintained > +F: drivers/base/pfctl.c > +F: include/linux/pfctl.h > + > HARDWARE RANDOM NUMBER GENERATOR CORE > M: Matt Mackall > M: Herbert Xu > diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig > index 6f04b831a5c0..8f8a69e7f645 100644 > --- a/drivers/base/Kconfig > +++ b/drivers/base/Kconfig > @@ -230,4 +230,13 @@ config GENERIC_ARCH_NUMA > Enable support for generic NUMA implementation. Currently, RISC-V > and ARM64 use it. > > +config HWPF_CONTROL Shouldn't this have "GENERIC" in the name liks the other generic implementations in this directory? > + bool "Hardware Prefetch Control driver" > + help > + This driver allows user to control CPU's Hardware Prefetch behavior. > + If the machine supports this behavior, it provides a sysfs interface. But this is not a driver, it's a core function that a driver uses. On its own, this code does nothing. thanks, greg k-h