Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2539378pxb; Fri, 29 Oct 2021 03:34:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6RvCr70COUQNogTZ30lNgeyzy0tljI7J14HG4DatxmQRMEzYAaQmu9xrPJQwCFpu9WmtP X-Received: by 2002:a17:907:774d:: with SMTP id kx13mr12872347ejc.239.1635503674184; Fri, 29 Oct 2021 03:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635503674; cv=none; d=google.com; s=arc-20160816; b=pGpICLepJYiu1CvKVKel4HMvr4iJ8RtybGDerrvDlku2cxxdYS+jdEPT3mnFY8tNEu fKfaA4+0IyS8ZihqQLGcxs73QmMPnQ6y5+6/VrJklahSlYaLA9J+ChiV+3YhnZvCjvlF aUqXLBiiw0GWNSBuLHR05XSLYD0qnERfdT5UaAX8W4So+5fwNP5Yhxu4rCYFZGY/MfL9 RDDhEvjlDI5CrsfxNecY9/OHo5v0qtqpAja5uh3NNvERmHjBToTHmhCvP/IYmDY3O//9 If6iHcfxZqBJO0YmdwlP7KF3AH4/RALN3+145hXbdraIndB6aLLwTJfdOcG3mVEuj+FH 4Lbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=FG0NdEa746NDmQZVe+Ya99J3N7QbP9Kv12nQOnIaY0k=; b=XVWIi4SGdk9WsN917JcN/Ekes99mcLqgac36l4/8dKQzvUpaWfJDGO4x8/r3KQd+6t sINTJF8vPWhkfJvIbOaHXFKVRaODckIFi/eix+VQE9d95ADCW96l842AlJHuhV3fpTDn uFHkQcPbG8HfsNwkWYUGaTtkOHwbwJTuGYqbrzCAr1TsJDTYU2Z236yQ1HweaU8qP0Us iCd0YAtqWZ6LoNHtFSh82Ktp65paKRkQr9S09EnyJf2GiXTZGG3anvPHvN+/tD+WIHB+ DGeytjvPbayLfCWhaHyUTPHIllAjc9bAdWAsncCp4zEfxvoUGbVhTsxvWXegT1qlNPkX 3U4g== ARC-Authentication-Results: i=1; mx.google.com; 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 go30si8561924ejc.627.2021.10.29.03.34.09; Fri, 29 Oct 2021 03:34:34 -0700 (PDT) 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; 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 S231740AbhJ2Keo (ORCPT + 99 others); Fri, 29 Oct 2021 06:34:44 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:38891 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231724AbhJ2Kel (ORCPT ); Fri, 29 Oct 2021 06:34:41 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MAxLT-1mV9hA0AKf-00BMA5 for ; Fri, 29 Oct 2021 12:32:09 +0200 Received: by mail-wm1-f44.google.com with SMTP id z11-20020a1c7e0b000000b0030db7b70b6bso12151583wmc.1 for ; Fri, 29 Oct 2021 03:32:08 -0700 (PDT) X-Gm-Message-State: AOAM5322OZxLqeIkIsydkTSHodRxJoNAu3ZFHpysBzYfkJ3mO6KBer0c TMX1JpCCIyAy9F3fx/fPH6B45lrS/VbZuza38OI= X-Received: by 2002:a05:600c:1548:: with SMTP id f8mr10549583wmg.35.1635503528589; Fri, 29 Oct 2021 03:32:08 -0700 (PDT) MIME-Version: 1.0 References: <20211014223125.2605031-1-suzuki.poulose@arm.com> <20211014223125.2605031-10-suzuki.poulose@arm.com> In-Reply-To: <20211014223125.2605031-10-suzuki.poulose@arm.com> From: Arnd Bergmann Date: Fri, 29 Oct 2021 12:31:52 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 09/15] coresight: trbe: Add infrastructure for Errata handling To: Suzuki K Poulose Cc: Will Deacon , Mathieu Poirier , Catalin Marinas , Anshuman Khandual , Mike Leach , Leo Yan , Marc Zyngier , coresight@lists.linaro.org, Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:6i88G4sbACJ770UBiQK1XQAJ4KXiS0woymk+JFF+FcHzLNnNE/0 vTFrWI0Ex26ISXEQI9WJfvHwg4njzKETN+ybeQLMxM/fqrqZ8kLqctsMss/RDVFct9ZZr15 HCKk/8gtpUgjxppFMmaFVFQoxBU8MUq8BxjhZb1W/GRRs81Dh2lWdB66x9p8qIIht3yTOuP hcG/OCSL9kEmAOh2HE/Ag== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:2eB31LQVoZc=:LGp8iSPAGuM8IzgdcAQspn RZi3wfOKxHQ6D2RuyCLWxfNc4d6kXRJV+HaED6E4ukAl4hjGGIqLwDviW0lbsOsDaQNyHXJQr ZAlZ0AFpOfOH5zbqvFxmVunjGaxtb4YQ9m/nmSKD+GwS3fPq4VSM42XMoANzfeLVHGPrVzCHK NkYLm20Eji0b4Fe9O+BaR6h83RF0p+CiXQ0q9q3E74dUlUZLk2fwZlDU7sDHk7xY2yL5X8RJA Qwr3wEoK8Ekq1HsEEmfDE9NL7nkxeNK2hHEPoHN1cuNd+ZR407qkVJbvmOJxvYKvJTP6VBMUv EklVh4ZwG2lKDHybiPZbOv6v5gwrD3KgBpiQ0IqBD5Wst/E5pXRY8lkC02XC4061lbnWT2pLV lSQq2S8wNgKO1gCC5hkX8rY3THNGVM/xXs3JsNbkM3o+g3JxCJnZ+HasBk+fe8Awgdzhrmd7B ElccbDU3BdjeqIbV0uixJQ+7Rg/tCXjhqJWp1ojY+tSiuBguLJ2c6J1QJSnxNwt2r9BaO9+dk 0dnw13GT3BrS7zEvZr4EL1rcgFrVk9FaWIhDprSHu3rf+eyS2h3sLlIPk9Bn81AMp01O00aOL YNhI1IRhKuHXLTEnDPhL9tpplg3CkIZIDWxazfFRKgumYrV3Fbd7efKhV1dXriC2MTbC6z5rq okw2jiDKHLcWbz0KOJ5fmMJsixpH5OuDO6H7cFGQS7tLEcEHIs0SFm8sDtJlZ6hTT5Ivwmcdx oXTubB9dKzRzdQ2fAY0neR7aSuvwndzYNkN7aupRwdCh8A2svzRjLUFw5z/UEufBfXRCOMyjX An1lexhQH1TdLs0ZKBnxt0DMX5EQVKSf+T/tKHHnJByeQSwYvM= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 15, 2021 at 12:31 AM Suzuki K Poulose wrote: > > +static void trbe_check_errata(struct trbe_cpudata *cpudata) > +{ > + int i; > + > + for (i = 0; i < TRBE_ERRATA_MAX; i++) { > + int cap = trbe_errata_cpucaps[i]; > + > + if (WARN_ON_ONCE(cap < 0)) > + return; > + if (this_cpu_has_cap(cap)) > + set_bit(i, cpudata->errata); > + } > +} this_cpu_has_cap() is private to arch/arm64 and not exported, so this causes a build failure when used from a loadable module: ERROR: modpost: "this_cpu_has_cap" [drivers/hwtracing/coresight/coresight-trbe.ko] undefined! Should this symbol be exported or do we need a different workaround? Arnd