From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752604AbcDVLFy (ORCPT ); Fri, 22 Apr 2016 07:05:54 -0400 Received: from foss.arm.com ([217.140.101.70]:33042 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751929AbcDVLFw (ORCPT ); Fri, 22 Apr 2016 07:05:52 -0400 Subject: Re: [PATCH v3 1/5] arm64: cpufeature: Add scope for capability check To: linux-arm-kernel@lists.infradead.org References: <1461250597-16712-1-git-send-email-suzuki.poulose@arm.com> <1461250597-16712-2-git-send-email-suzuki.poulose@arm.com> Cc: mark.rutland@arm.com, marc.zyngier@arm.com, linux-kernel@vger.kernel.org, will.deacon@arm.com, catalin.marinas@arm.com, Vadim.Lomovtsev@caviumnetworks.com, James Morse , Andre Przywara From: Suzuki K Poulose Message-ID: <571A058C.9000507@arm.com> Date: Fri, 22 Apr 2016 12:05:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1461250597-16712-2-git-send-email-suzuki.poulose@arm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/04/16 15:56, Suzuki K Poulose wrote: > Add scope parameter to the arm64_cpu_capabilities::matches(), so that > this can be reused for checking the capability on a given CPU vs the > system wide. The system uses the default scope associated with the > capability for initialising the CPU_HWCAPs and ELF_HWCAPs. > > Cc: James Morse > Cc: Marc Zyngier > Cc: Andre Przywara > Cc: Will Deacon > Cc: Catalin Marinas > Signed-off-by: Suzuki K Poulose -71,7 +71,9 @@ DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS); > > /* meta feature for alternatives */ > static bool __maybe_unused > -cpufeature_pan_not_uao(const struct arm64_cpu_capabilities *entry); > +cpufeature_pan_not_uao(const struct arm64_cpu_capabilities *entry, int __unused); > + > +static u64 __raw_read_system_reg(u32 sys_id); I missed getting rid of the above forward declaration, will respin the series. Thanks Suzuki