Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp196613pxb; Mon, 31 Jan 2022 19:26:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwS5KY5gWT74KrZVYWmM633E4hQPQS6WYeZrIEgEAzz8GFRP9HPNXmNlGYKzv08mNDL8+Bu X-Received: by 2002:a63:982:: with SMTP id 124mr19452254pgj.438.1643685978938; Mon, 31 Jan 2022 19:26:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643685978; cv=none; d=google.com; s=arc-20160816; b=i8pPGsrW+VmZTqQ5Xdrf+OufGQ2uWsxgfd7QMk8tfM6EllsPfu/2n67jrQWF/xPnZc 1mEC03J80Ag0LXDTJiuoDGr6cmZTejOpw2/9C4AraHNktT/6udohoY9CvYG4GiWHZ7MG aI96P9aKZvKhG7YUSD5pkiONu7o08yP6IykJytzI7AoQgFC1eWQpUrpfiOsOcA34OwyF hcNh7zblA7I+uSDZUnYwprds3cjM5LxC07caRl2OgTxyaS8Bz4Vnf6wepJbid/kPei7h HkDwdCQxAdCtrzNMpScAIX0DT71P40nwzQncL2e0bkADX1BYRSUTtZ/1AqvMGXY/Kco8 Vz9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=vq4Avmy7ppv5DneVq71c6GVpA7SJmG9GPgd/NUf1nv4=; b=AzwCwF3naQFb0o9RigIzq3QtbKrOT7TXTArSF5Qd77Hu9/C2G8VNCtx8jjjKGZInjs biX9QCxZuNLocCaEfHFUQY+isgToHArzxkoEpCpyKoSlHzkd2conuB4RhRiP+/F0DDMX eAIDO/wlHx+gdt/MWvlXWP06zpZrxSh/2GG0LoJiDEGxu1C8+mlekyxiIKwuZuIDZ6RI 9MBaebXi9jnyRU4yyL4JmBT33SNG5J6cRkiDwfZzyUg055nbNS/GgX41+1PH45+0U4OK iKmS1ojT4Xj1vmhcwp83cTqb3p2IQyWRl7nTTX6xoFs3v8vwNXjxGzVcfT/eEkLBCV4d psDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="DU4Hzal/"; 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 t9si14911940pfl.216.2022.01.31.19.26.07; Mon, 31 Jan 2022 19:26:18 -0800 (PST) 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=desiato.20200630 header.b="DU4Hzal/"; 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 S1351498AbiA2RD6 (ORCPT + 99 others); Sat, 29 Jan 2022 12:03:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235519AbiA2RDy (ORCPT ); Sat, 29 Jan 2022 12:03:54 -0500 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 7AAF0C061714 for ; Sat, 29 Jan 2022 09:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description; bh=vq4Avmy7ppv5DneVq71c6GVpA7SJmG9GPgd/NUf1nv4=; b=DU4Hzal/kaaGKDb+MKnAgrEERN B/LOfBx+Fdtj7EfYyPPGQCk0MU0DLdhgB9OZSeext1Vuvr5vF3TuuIUgDP/t3VQR8DLSobUXqmPc3 xndJ1JWuNYkNdPZc4v7dcuI9VICG57bZRRmvRTGNhyq8CjMTmGbqAMikaZVn9f+26tDvqyXYDm09Y GApPOQEjZTNwzOG4RwnAeofDYn0Iw0I3arYKFLI6pE1VWayJs+tvDfARSIToFciXDmLlWk5IQkgkm A4ZL/O2EfXRsWIFNeX+AK12iChqJQXRq9KsC3R44tiP+vf9OA8L9HX9/q7zud/tqH8jA+ThHRqO4B xvMtSDeg==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDr8M-004uD7-3Y; Sat, 29 Jan 2022 17:03:30 +0000 Message-ID: <964539a8-334d-37d4-99e7-d2dd76887fa1@infradead.org> Date: Sat, 29 Jan 2022 09:03:23 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 4/8] arm64: Add Kconfig/Makefile to build hardware prefetch control driver Content-Language: en-US To: Kohei Tarumizu , 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 References: <20220125071414.811344-1-tarumizu.kohei@fujitsu.com> <20220125071414.811344-5-tarumizu.kohei@fujitsu.com> From: Randy Dunlap In-Reply-To: <20220125071414.811344-5-tarumizu.kohei@fujitsu.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi-- On 1/24/22 23:14, Kohei Tarumizu wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 6978140edfa4..c2256dbb0243 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > def_bool y > depends on STACKPROTECTOR && CC_HAVE_STACKPROTECTOR_SYSREG > > +config ARM64_HWPF_CONTROL > + tristate "ARM64 Hardware Prefetch Control support" > + depends on HWPF_CONTROL > + default m Don't enable random drivers unless they are required for booting etc. So can you justify having this driver enabled by default? I see that the X86 driver is not enabled by default. > + help > + This adds Hardware Prefetch Control driver support for ARM64. thanks. -- ~Randy