[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YmD3UX6aTvUXlYF5@kroah.com>
Date: Thu, 21 Apr 2022 08:18:57 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Kohei Tarumizu <tarumizu.kohei@...itsu.com>
Cc: catalin.marinas@....com, will@...nel.org, tglx@...utronix.de,
mingo@...hat.com, bp@...en8.de, dave.hansen@...ux.intel.com,
x86@...nel.org, hpa@...or.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
fenghua.yu@...el.com, reinette.chatre@...el.com
Subject: Re: [PATCH v3 1/9] drivers: base: Add hardware prefetch control core
driver
On Wed, Apr 20, 2022 at 12:02:15PM +0900, Kohei Tarumizu wrote:
> This driver adds the register/unregister function to create the
> "prefetch_control" directory and some attribute files. Attributes are
> only present if the particular cache implements the relevant
> prefetcher controls
>
> If the architecture has control of the CPU's hardware prefetcher
> behavior, use this function to create sysfs. When registering, it is
> necessary to provide what type of hardware prefetcher is supported
> and how to read/write to the register.
>
> Following patches add support for A64FX and x86.
>
> Signed-off-by: Kohei Tarumizu <tarumizu.kohei@...itsu.com>
> ---
> drivers/base/pfctl.c | 458 ++++++++++++++++++++++++++++++++++++++++++
> include/linux/pfctl.h | 49 +++++
> 2 files changed, 507 insertions(+)
> create mode 100644 drivers/base/pfctl.c
> create mode 100644 include/linux/pfctl.h
Thanks to Thomas for pointing this change out to me.
Why did you not use get_maintainer.pl on your patch? You are adding
files here that you want _me_ to maintain for the next 25+ years, yet
not asking for my review? That's not nice, and for that reason alone I
would not accept this change.
Also, this is very hardware-specific, which is not a good thing for code
in drivers/base/ See the mess we have in the topology driver core code
for examples of that mess :(
greg k-h
Powered by blists - more mailing lists