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 X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8434AC433EF for ; Thu, 2 Sep 2021 19:22:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61B7360F21 for ; Thu, 2 Sep 2021 19:22:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347365AbhIBTXT (ORCPT ); Thu, 2 Sep 2021 15:23:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243832AbhIBTXR (ORCPT ); Thu, 2 Sep 2021 15:23:17 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17293C061575 for ; Thu, 2 Sep 2021 12:22:19 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id e21so6842535ejz.12 for ; Thu, 02 Sep 2021 12:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=atmKvuuz39eqdtx3hnaatuBxW4M1LZbdGA/OozBPq3w=; b=qnIvzRhSKDoO/CPKQ7+HpbiIn6s5+zv05tcgHieqjmqchj3pt1ihaheHIik/Sk8n/V zUzMNk/KNIFG1qzEAP+CgrEpENaFREo//umSvemDXoV5OwQ0zmPVjhQOkdTuj8G5nFLY CsuW9/CeUOA8WtlCYLhIOH62dVIxpGtll4B4UR0nbGVA46qF3JwOZpr2sH0L39fGJ6js Z8+nf1g51wT1mMrchAHsiFW6K4dKolGnn+w3A6LYufv4fvB/khmcUQELlCL2/Hy13/ok LJOoSLlTb49uxo08n3E9qYhQ5bdawmQw/IZRBwI6UuT5eXrYp19f+kowZZ7oCTG3BxGz UAdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=atmKvuuz39eqdtx3hnaatuBxW4M1LZbdGA/OozBPq3w=; b=YEFeNMbSsya7YM8ujL/xO6Tgp/Fd+lI6CXBJ+qmBxgVQuwc1q8gHRgPmGe1hgHxdVp P5p9Lpg/NtMKK47nUMahw1ssc3FTXqZRZcnStzQH/qvhiZ2a1f3sMd0BSL2E5Itm1qmT WJYWY2lx8zIxgNlRoWrsMXZF15hzdcftQR6zd+jjS6m3tl1CQZb38MUSd7efpp8MqU3g QXmnmzYXcRRG/Lqb4wq9EvurfAEUffWxqrPOyY2ud2zWWDCgnOrV3AVPY8XLlNLl7P63 KlkvSgdICkT4CZSXnNuHMDdA/ouv76BIEPjxFO5hbo89KGUsf2FnMHgkVN1sl5RfH992 8suA== X-Gm-Message-State: AOAM530cBpzFfIq1NueCWAbFilDUWGiXh7WaGDUM4M9JgGylq4EM5tzT SbmIoV/XTFNQz68KdrkQoi5h5rMXFt/4bCkBAuNeAQ== X-Google-Smtp-Source: ABdhPJwfvoiSLCL/ISgimbRjfXxgmuXHKGV4QD6nJYZW+26llSJV6QSPf75HnqYijrrgkfburoPsfPYZ5zkJnbdxfaI= X-Received: by 2002:a17:906:56cc:: with SMTP id an12mr5495379ejc.456.1630610537647; Thu, 02 Sep 2021 12:22:17 -0700 (PDT) MIME-Version: 1.0 References: <20210806134109.1182235-1-james.clark@arm.com> <20210806134109.1182235-10-james.clark@arm.com> <20210824083615.GF204566@leoy-ThinkPad-X240s> <20210902174851.GB1078000@p14s> In-Reply-To: From: Mathieu Poirier Date: Thu, 2 Sep 2021 13:22:06 -0600 Message-ID: Subject: Re: [PATCH v2 9/9] perf cs-etm: Show a warning for an unknown magic number To: Arnaldo Carvalho de Melo Cc: Leo Yan , James Clark , Coresight ML , linux-perf-users@vger.kernel.org, Mike Leach , "Suzuki K. Poulose" , John Garry , Will Deacon , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2 Sept 2021 at 12:19, Arnaldo Carvalho de Melo wrote: > > Em Thu, Sep 02, 2021 at 11:48:51AM -0600, Mathieu Poirier escreveu: > > Hi Arnaldo, > > > > On Wed, Sep 01, 2021 at 12:54:34PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Tue, Aug 24, 2021 at 04:36:15PM +0800, Leo Yan escreveu: > > > > On Fri, Aug 06, 2021 at 02:41:09PM +0100, James Clark wrote: > > > > > Currently perf reports "Cannot allocate memory" which isn't very helpful > > > > > for a potentially user facing issue. If we add a new magic number in > > > > > the future, perf will be able to report unrecognised magic numbers. > > > > > > > > > > Signed-off-by: James Clark > > > > > > > > Reviewed-by: Leo Yan > > > > > > Applies cleanly to my tree, test building it now, holler if there is > > > something that prevents it from being merged. > > > > Have you already merged this? > > > > If so than let it be. Otherwise please hold off as I'd like to take a look, > > something I intend on doing next week. > > Ok, I can remove them from my local branch, but this may make this miss > the v5.15 merge window, please advise. > Nah, leave it in your branch and proceed for this merge window. > - Arnaldo 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 X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE565C433FE for ; Thu, 2 Sep 2021 19:25:15 +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 7081C60F12 for ; Thu, 2 Sep 2021 19:25:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7081C60F12 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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=USSWtRB+NmeW0yDMLUTBOVQNXMtpN9q+DXJKKVPi6aU=; b=ebs2IA1/6xEPlB PYd22z8xv+r8JPChaxMMrTOTzcTngufGcOPxtcV2LTjKeWjZrD+oTUeiGMwW+mKFgKJ/3NAARb7mg nU3q+TTChP9HJkjP3fa60z3ZEP2uQVMMBMa76yqwTYtV6+vyD6gcZzMCrywJH/ozuMYgDK8/CnPf6 zmCCIB6V4phf5r0kBOlS/1Ur3083tLCSNvtCSFdRzZCqI2sE6ZO5HWWMByKklNPRoUN/KIK3BSFFd pl34qalTjn4Raf/tJVmEtF7WVkEGjkAIDeIlJqGe4TbTsMkTIhQ1kd889qVm0nM1WjMuuTuGWW1tY Cbl9+VK0IRVidjKgNx7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLsI3-00AM7R-Fb; Thu, 02 Sep 2021 19:22:23 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLsHz-00AM6j-H5 for linux-arm-kernel@lists.infradead.org; Thu, 02 Sep 2021 19:22:20 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a25so6878276ejv.6 for ; Thu, 02 Sep 2021 12:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=atmKvuuz39eqdtx3hnaatuBxW4M1LZbdGA/OozBPq3w=; b=qnIvzRhSKDoO/CPKQ7+HpbiIn6s5+zv05tcgHieqjmqchj3pt1ihaheHIik/Sk8n/V zUzMNk/KNIFG1qzEAP+CgrEpENaFREo//umSvemDXoV5OwQ0zmPVjhQOkdTuj8G5nFLY CsuW9/CeUOA8WtlCYLhIOH62dVIxpGtll4B4UR0nbGVA46qF3JwOZpr2sH0L39fGJ6js Z8+nf1g51wT1mMrchAHsiFW6K4dKolGnn+w3A6LYufv4fvB/khmcUQELlCL2/Hy13/ok LJOoSLlTb49uxo08n3E9qYhQ5bdawmQw/IZRBwI6UuT5eXrYp19f+kowZZ7oCTG3BxGz UAdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=atmKvuuz39eqdtx3hnaatuBxW4M1LZbdGA/OozBPq3w=; b=qbrfhUhzzKRX0yhWZ4Qgd30QhDN97TpaqUydhrXMPcSo9tFZv26HwH2WFZAHLB0f3S WNDMJ8CyBleqzGz0q9HPCPGWYY0kl/ZO3728RbvCx0Gruy7QLxroiL85vi+nyc99ZhZ5 KZqcfzeYArqRteKX02sm4sTB8jDIOmWDUUUgnZmYE6Fq4aP5LiBQW3OvF7YTmH83ikVW nhAg/3UuErc/AoDynhFUhJkeo8KUx3O5lyZ2C6oJHUxk2vUiJCjFVLLefGSbqp7pd6CW kIVeKo5QaEP2DDPRvjqBc5FXqKbrFSgMUulXyoyIR+M/bajs1VhxjA0DH3tluL0o0otn 8sNw== X-Gm-Message-State: AOAM533kT/J1nZHSnBNtySNlPfY20XMs/fw5jkSWB5q1cxjsGu7tho8l wZ3IwmYEessAEANSWz0aeGoyUrCSP6EHVxIJX/DivQ== X-Google-Smtp-Source: ABdhPJwfvoiSLCL/ISgimbRjfXxgmuXHKGV4QD6nJYZW+26llSJV6QSPf75HnqYijrrgkfburoPsfPYZ5zkJnbdxfaI= X-Received: by 2002:a17:906:56cc:: with SMTP id an12mr5495379ejc.456.1630610537647; Thu, 02 Sep 2021 12:22:17 -0700 (PDT) MIME-Version: 1.0 References: <20210806134109.1182235-1-james.clark@arm.com> <20210806134109.1182235-10-james.clark@arm.com> <20210824083615.GF204566@leoy-ThinkPad-X240s> <20210902174851.GB1078000@p14s> In-Reply-To: From: Mathieu Poirier Date: Thu, 2 Sep 2021 13:22:06 -0600 Message-ID: Subject: Re: [PATCH v2 9/9] perf cs-etm: Show a warning for an unknown magic number To: Arnaldo Carvalho de Melo Cc: Leo Yan , James Clark , Coresight ML , linux-perf-users@vger.kernel.org, Mike Leach , "Suzuki K. Poulose" , John Garry , Will Deacon , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel , Linux Kernel Mailing List X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210902_122219_671354_EE86EA1A X-CRM114-Status: GOOD ( 25.56 ) 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, 2 Sept 2021 at 12:19, Arnaldo Carvalho de Melo wrote: > > Em Thu, Sep 02, 2021 at 11:48:51AM -0600, Mathieu Poirier escreveu: > > Hi Arnaldo, > > > > On Wed, Sep 01, 2021 at 12:54:34PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Tue, Aug 24, 2021 at 04:36:15PM +0800, Leo Yan escreveu: > > > > On Fri, Aug 06, 2021 at 02:41:09PM +0100, James Clark wrote: > > > > > Currently perf reports "Cannot allocate memory" which isn't very helpful > > > > > for a potentially user facing issue. If we add a new magic number in > > > > > the future, perf will be able to report unrecognised magic numbers. > > > > > > > > > > Signed-off-by: James Clark > > > > > > > > Reviewed-by: Leo Yan > > > > > > Applies cleanly to my tree, test building it now, holler if there is > > > something that prevents it from being merged. > > > > Have you already merged this? > > > > If so than let it be. Otherwise please hold off as I'd like to take a look, > > something I intend on doing next week. > > Ok, I can remove them from my local branch, but this may make this miss > the v5.15 merge window, please advise. > Nah, leave it in your branch and proceed for this merge window. > - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel