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 1F645C433EF for ; Thu, 11 Nov 2021 15:34:18 +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 CD8F461179 for ; Thu, 11 Nov 2021 15:34:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CD8F461179 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com 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=qdqc3XOWOH71dRMo8Ltk3zOUBUOayCN4B1/N2JI+FL8=; b=JKlz8dpTFMVjY4 JyZQhzDh0rnf1vAahRMpd1VymZYLtJu7C3YCpUCJqAWKI+eMFB0x1OngXUjeF1bPdhRnz88lyCcwP 8YiCnZ+dnIaoxjvsywwBAEeBFxk0LiQV3Zv7kmKCgPRr41ISU6XrHToOQeHXPnbX6b/MqxvZ8BYeB VcCRlFPY7aLj0z9b+d6m/cLv3nxTJ1jFcwHD8HUEBm8iUP8sYapSTLNGShIkj6asQYOCTS7z6k3n2 dfgLc4zhOrrMfk87Qsd/3iRdtli9lFuQ2TnjadGPwMXFRZfCa8GwtVrtaS7+oKX1KMEGLFd6d8e9s n1Q8S8NNqUzqSyJwYrxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlC4J-008GTj-MX; Thu, 11 Nov 2021 15:32:51 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlC4E-008GT0-MI for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 15:32:49 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id B0A876112F; Thu, 11 Nov 2021 15:32:44 +0000 (UTC) Date: Thu, 11 Nov 2021 15:32:41 +0000 From: Catalin Marinas To: Jackie Liu Cc: will@kernel.org, mark.rutland@arm.com, suzuki.poulose@arm.com, linux-arm-kernel@lists.infradead.org, mathieu.poirier@linaro.org Subject: Re: [PATCH] arm64: export this_cpu_has_cap Message-ID: References: <20211111032138.2359201-1-liu.yun@linux.dev> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211111032138.2359201-1-liu.yun@linux.dev> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211111_073246_762316_A4E787C3 X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. 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 Thu, Nov 11, 2021 at 11:21:38AM +0800, Jackie Liu wrote: > From: Jackie Liu > > After commit 8a1065127d95 ("coresight: trbe: Add infrastructure for Errata handling"), > driver coresight use this_cpu_has_cap for check feature, but if we compile it > as a module, it will cause a compilation error. > > [...] > ERROR: modpost: "this_cpu_has_cap" [drivers/hwtracing/coresight/coresight-trbe.ko] undefined! > make[1]: *** [scripts/Makefile.modpost:134: modules-only.symvers] Error 1 > make[1]: *** Deleting file 'modules-only.symvers' > make: *** [Makefile:1765: modules] Error 2 > make: *** Waiting for unfinished jobs.... > [...] > > Fixes: 8a1065127d95 ("coresight: trbe: Add infrastructure for Errata handling") > Reported-by: kernelbot > Signed-off-by: Jackie Liu There is a patch already, not sure whether it has made it into mainline: https://lore.kernel.org/r/20211103221256.725080-1-suzuki.poulose@arm.com -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel