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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7047C433F5 for ; Thu, 4 Nov 2021 16:51:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8383261183 for ; Thu, 4 Nov 2021 16:51:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8383261183 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=0WNJ4VuKwsflrU/0jVgghlKTRmLFbpym2Rk7eg2DW9g=; b=LsXdbvBu2TzLlu 1UabyTthW3XvOE0iP2WNkTxqEZeJv0DbAZUeglw0ZmxbxqonqW4aYod6iqjcWGBEHwq1BCKbLBIQl TxQieXBSC3e1jGgROUeWHqVBQ5GP1hCFjpPhkAfiE0h2LEe4nv3kJx3M4NSvqyKVpd/O0iLEgpyfd vK2QD1ysIooAheJf7LdHZzAV+3uCmVbVvVq+P57aoNfd33RBbb4xtGNxUf7w0ze0VPBtwZEykswOm ylKlp6D33Z4yTba0e8TcZxozIkEf1zjBfyoGdp4Rk5g0psdn/ZUCpkCwYDwATp+ddnbZze60XlevD 0CmHheDw59H+PdDmFzTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mifwn-009XNS-9u; Thu, 04 Nov 2021 16:50:41 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mifwj-009XMN-Bx for linux-arm-kernel@lists.infradead.org; Thu, 04 Nov 2021 16:50:38 +0000 Received: by mail-pg1-x52f.google.com with SMTP id s136so5930939pgs.4 for ; Thu, 04 Nov 2021 09:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=M0azN/cEKtvFWgkC6HeTc7byICS4Dm3BxYG0AeNA3pM=; b=kjcteU6hV/hrbM/SLYf2gUKdOASzr7J2f+CRd9keT5B71ArwF4j1jNLZ1qO9/vsPIR 77Xv/kef+n3UPxLUnANSF6VGZTnK/NvHEzovVksRcLKhkbqcbvbeyMj/FZbyS1fly/NX bha5Ablsj06NrWnX68HTswkBY578SEMThy1jlVOhPQ22KhqZxFmy0/GFAEP6fERn7MwP Z/dH9NJTq8hVdaLg5XOZfIv+C+x5RsJog1k1yhrGm1wCzjlHCh7S+V7Chod7QHFfVJkq PgPx35Uio+TiI2MzeN8fwvwrDs7k/PpyNh/OaZ4LQ0eIs09Kh2+urK66ZNUUr2ub+j4r UCDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=M0azN/cEKtvFWgkC6HeTc7byICS4Dm3BxYG0AeNA3pM=; b=BBkQQgHW0aox0CWzVL4XTx3/Cy04Ez06Z7S+QJYLRrL34bcReOsAKCeMiMHsB9uA9/ X7+ZXjIYLcdFGQ7kEu4AROu/tVHHDwT9JlHoas+cielaceqwTNfAU6hivGeSxNmdFN4s a7oKaT85YFW5ijIC9ZKsVa8oVKKcEX5af0EIzeDITrPCNXoE2U5iEu8Ulr0gXuHxsskp UVFxGP6qZwv1gzGBbziTYi/t0wzAjzNCqu/IAACeezmh8rANWKTRlLTdvTyEu05H8pYl 4W1a4+34+Z3N9P2xWA7RJC9jr6ZvPRam6wSQ8OQerGaaHGePYyRe2Bu6b6dCULyKhEfM 4AFg== X-Gm-Message-State: AOAM53049kD0n1zZYU8EK/jLRXBF1SyU8BdjqgCClUNd6j83YVpYIA8w vEOLKVs7KzP2XbaGt5M++np4+g== X-Google-Smtp-Source: ABdhPJzpRds01jTpuFR7X2mKXs7ZVtj/lek8KdktJBQD5lTyaNrfYVENb1WYa86f+Djm6fji0P9cYA== X-Received: by 2002:a63:a319:: with SMTP id s25mr40084622pge.305.1636044636197; Thu, 04 Nov 2021 09:50:36 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id j62sm4208606pgc.62.2021.11.04.09.50.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 09:50:34 -0700 (PDT) Date: Thu, 4 Nov 2021 10:50:32 -0600 From: Mathieu Poirier To: Suzuki K Poulose Cc: will@kernel.org, arnd@kernel.org, catalin.marinas@arm.com, gregkh@linuxfoundation.org, anshuman.khandual@arm.com, linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH] arm64: cpufeature: Export this_cpu_has_cap helper Message-ID: <20211104165032.GA491267@p14s> References: <20211103221256.725080-1-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211103221256.725080-1-suzuki.poulose@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211104_095037_436183_D7BFC817 X-CRM114-Status: GOOD ( 18.51 ) 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, Nov 03, 2021 at 10:12:56PM +0000, Suzuki K Poulose wrote: > From: Arnd Bergmann > > Export the this_cpu_has_cap() for use by modules. This is > used by TRBE driver. Without this patch, TRBE will fail > to build as a module : > > ERROR: modpost: "this_cpu_has_cap" [drivers/hwtracing/coresight/coresight-trbe.ko] undefined! > > Fixes: 8a1065127d95 ("coresight: trbe: Add infrastructure for Errata handling") > Cc: Will Deacon > Cc: Catalin Marinas > Cc: Mathieu Poirier > Cc: Anshuman Khandual > Signed-off-by: Arnd Bergmann > [ change to EXPORT_SYMBOL_GPL ] > Acked-by: Catalin Marinas > Signed-off-by: Suzuki K Poulose > --- > arch/arm64/kernel/cpufeature.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c > index f8a3067d10c6..82e68c69bb99 100644 > --- a/arch/arm64/kernel/cpufeature.c > +++ b/arch/arm64/kernel/cpufeature.c > @@ -2839,6 +2839,7 @@ bool this_cpu_has_cap(unsigned int n) > > return false; > } > +EXPORT_SYMBOL_GPL(this_cpu_has_cap); > I have applied this patch. Thanks Mathieu > /* > * This helper function is used in a narrow window when, > -- > 2.25.4 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel