Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1895827pxb; Thu, 4 Nov 2021 10:17:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1grE6XaezRmJUjmD8RnPnUGVUpT88u4perWAxuhGYHMk5el7V7tsJ3I+wFA1+XLsEr53O X-Received: by 2002:aa7:c34d:: with SMTP id j13mr57005100edr.308.1636046227078; Thu, 04 Nov 2021 10:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636046227; cv=none; d=google.com; s=arc-20160816; b=b3F9A7Z87NEoFlp1er0SxN+B8EwHzm5t5y1eug8/9rypq0Vd6dEFfVXpqOLXz2T3hW tNIpfZjiGPuIJci4bB7pievfuvK7MfMrw8XXem7d0jBoCGTWRQf2q1W+jIH0XJwYB3Ez RWomaZEUhRV3/gKzLyprqoN9+Zg31yB424++mSnA/5xFGrfoeoSwvsnoOi84tbhIULgy /zuhSGbVElYQJprhSF4ZK65CcHjczFpb8DMxd7mA84cQhRCDDEICWKBqPkp8JoYC4P1s XsF0eG4Tss5u2X2K0QCwhDU/uVmpfzh0KPWykzBLaKuf4s905UdAwrI20LepaBoIh1Nc EhKQ== 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=9VoUCNEvC7s72t3c4Uy85VU6W4p5k7FpHEk2kB6sWKQ=; b=lDuarA2hpQsUFkSQOe/4Hak1m7U5n3ZHDzH9q7vT+R95iMibo/w7zUWTtrZYUIJWsd kbXvVOmsKt5vTPKRZrmBGqEJ36qQ+DPHazNw0myZ8cMvcEyCy/oUlr04OAbWP0keeZ/5 B3HKQj0kZfX8RDUtEmecLWonbmU4TVr85Nm93TTrTb3ZmowgqdFPR8vRGAtTPCNukHTa 4USYX1WGPwFQPRk0eUYHd1i240JSfyQfohOy8n6Q3E9Yw9dfYG2R/cZG3VBq56zhQlfe bYKZqlUbqW5rJhvWhi4OTYF3Al4D49FTjZrpXZmabeSnvpT7lt1QtGQDOtq954RE5+iD Jm6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=e8cRG5Mm; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di15si11406571ejc.585.2021.11.04.10.16.37; Thu, 04 Nov 2021 10:17:07 -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=@infradead.org header.s=casper.20170209 header.b=e8cRG5Mm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233339AbhKDRRV (ORCPT + 99 others); Thu, 4 Nov 2021 13:17:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232664AbhKDRRU (ORCPT ); Thu, 4 Nov 2021 13:17:20 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96BDBC061714 for ; Thu, 4 Nov 2021 10:14:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=9VoUCNEvC7s72t3c4Uy85VU6W4p5k7FpHEk2kB6sWKQ=; b=e8cRG5MmYmv9I0UPZN+Ic29Drr cdu2XmwI9BFxaf/ffBvCtcY8EOci8tjRH4WQZbDWs96//bBlRlyrzwELFVtJ3BfqGOBVeYAh8cEb9 LThFqmUYW2ijLd3Tbl5Ga4C4573A7TA1A3pu/odsSLRuGKsAXoqPG9fyuZ1hLMuyZZQ/zx7AUehli FtJXr+cp1cRUgtdtr/nPSeONocCFig/Ep+HgOaHqvT5VYlU2HEXNfj5SfhPEB/l1gvSmPmhf1RcZS apewqPm6C5wLbzpVxUqcctdPf0oQgbIcERvIebiHuP7K9Wiwrkx50IZ0f6cm6xa7KdEVUkf7gNeq9 18+kKrxQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1migFh-0060pl-7E; Thu, 04 Nov 2021 17:10:54 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 875CB98632E; Thu, 4 Nov 2021 18:10:12 +0100 (CET) Date: Thu, 4 Nov 2021 18:10:12 +0100 From: Peter Zijlstra 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 Subject: Re: [RFC PATCH v2 0/5] Add hardware prefetch driver for A64FX and Intel processors Message-ID: <20211104171012.GC174703@worktop.programming.kicks-ass.net> References: <20211104052122.553868-1-tarumizu.kohei@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211104052122.553868-1-tarumizu.kohei@fujitsu.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 04, 2021 at 02:21:17PM +0900, Kohei Tarumizu wrote: > This patch series add hardware prefetch driver register/unregister > function. The purpose of this driver is to provide an interface to > control the hardware prefetch mechanism depending on the application > characteristics. Here you talk about applications.. > An earlier RFC[1], we were suggested that we create a hardware > prefetch directory under /sys/devices/system/cpu/[CPUNUM]/cache. > Hardware prefetch is a cache-related feature, but it does not require > cache sysfs feature. Therefore, we decided to isolate the code. > Specifically, create a directory under cpu/[CPUNUM]. Here you talk about CPUs.. How does that work?