From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2F42AC433EF for ; Thu, 21 Apr 2022 06:20:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L4x3IyL95CZG/UVX8f0xgA6S/AhMlNyIeV+pSLmqrmE=; b=teakOc9YqqWM2e IiVnwnw27rvwDg2C5t0sGSJ3vwPhLDNyWOiSpMYQ4k6lAcrihzWj/V+dsCPIkrcLaigDuRw2o0NuJ ldD8helJyl9sP9AWAZhcGoW/nfninqVMLN+TGrPCJv6lnoY8ZG461DKXU5MZqC8C2E2YVHnAIZejb YEn2I/JCg6goYw9OaBzZiOCOPdzA6T5DMbJ4BbI+VWe/HunxPvOkRrIGdzwbArY0OmrV3bbOGIJBV sghbfhCT2rX5KduKA2ixXeC4av5ZQ67NOOTZg0g5diAoMZ976s5o5ZE4V0KkCIyzTeIOAK5BHkOc5 JQaFapbVCrOJiBgHnWlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhQ9g-00BfvT-Pn; Thu, 21 Apr 2022 06:19:04 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhQ9d-00Bfti-Ft for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 06:19:02 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 1178F61745; Thu, 21 Apr 2022 06:19:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E5D8C385A8; Thu, 21 Apr 2022 06:19:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650521940; bh=A35b6aKRsL1WwiGliC0xhlYgiek83WbVQ2sMW6EUJFE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kwQSKgz9wmmf3NTHwQ7BL7vY4Kq7wavgmKcqaRF5TrXK7jaUHnRNToOOspvdy6hlo 6to0dKDvh2nbK8PmOE6osbSae/us5OnLriUJdcuZTLw2J5ErH//2rN7Zmkg2gQw1p2 4wM1kL4ld6nl+N3yFcLFSsrrpekQ+2h/M3FwRU2I= Date: Thu, 21 Apr 2022 08:18:57 +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, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fenghua.yu@intel.com, reinette.chatre@intel.com Subject: Re: [PATCH v3 1/9] drivers: base: Add hardware prefetch control core driver Message-ID: References: <20220420030223.689259-1-tarumizu.kohei@fujitsu.com> <20220420030223.689259-2-tarumizu.kohei@fujitsu.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220420030223.689259-2-tarumizu.kohei@fujitsu.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_231901_607513_928DB690 X-CRM114-Status: GOOD ( 20.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 > --- > 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel