From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759015AbbIDMTp (ORCPT ); Fri, 4 Sep 2015 08:19:45 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:34833 "EHLO mail-la0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758979AbbIDMTn (ORCPT ); Fri, 4 Sep 2015 08:19:43 -0400 MIME-Version: 1.0 In-Reply-To: <55E987CA.4090302@arm.com> References: <1441303911-9421-1-git-send-email-kuleshovmail@gmail.com> <55E987CA.4090302@arm.com> From: Alexander Kuleshov Date: Fri, 4 Sep 2015 18:19:22 +0600 Message-ID: Subject: Re: [PATCH 1/3] arm64/cpufeature.h: Add macros for a cpu features testing To: "Suzuki K. Poulose" Cc: Catalin Marinas , Will Deacon , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2015-09-04 18:00 GMT+06:00 Suzuki K. Poulose : > There is generic CPUID feature helper queued for 4.3, which can extract > the feature bits > > cpuid_feature_extract_field(feature, shift) > > You might want to use it instead. Btw, I have a patch series(waiting for > the merge window, before I post), which changes the way we initialise the > HWCAP bits. Hello, Thanks for feedback first of all. So, I'll wait while your changes will be in the mainline kernel and will reconsider the changes. Thank you. From mboxrd@z Thu Jan 1 00:00:00 1970 From: kuleshovmail@gmail.com (Alexander Kuleshov) Date: Fri, 4 Sep 2015 18:19:22 +0600 Subject: [PATCH 1/3] arm64/cpufeature.h: Add macros for a cpu features testing In-Reply-To: <55E987CA.4090302@arm.com> References: <1441303911-9421-1-git-send-email-kuleshovmail@gmail.com> <55E987CA.4090302@arm.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 2015-09-04 18:00 GMT+06:00 Suzuki K. Poulose : > There is generic CPUID feature helper queued for 4.3, which can extract > the feature bits > > cpuid_feature_extract_field(feature, shift) > > You might want to use it instead. Btw, I have a patch series(waiting for > the merge window, before I post), which changes the way we initialise the > HWCAP bits. Hello, Thanks for feedback first of all. So, I'll wait while your changes will be in the mainline kernel and will reconsider the changes. Thank you.