Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2206478pxk; Mon, 14 Sep 2020 07:23:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm4KhEh9l/89h2VaA/g0QG3SCsCaqwTXKWkTff64bqZSbj+OpgW/JTtw008wswPmpPST+y X-Received: by 2002:a50:dec9:: with SMTP id d9mr17614909edl.145.1600093427705; Mon, 14 Sep 2020 07:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600093427; cv=none; d=google.com; s=arc-20160816; b=bI+I/oGj9CTv1rNTrhfbfHJCzOfMtSapOjQ+3IYRQRHE7xBOc1kuorF6eaHNUvKlH8 hu+WT30cmqF8jB0VsuQ7aegLzJo+vwCpGeL1NAOQTZYk9ygIniEInOsMVrhGtidRypiZ 7g15KqRgEMhrH1XJMYvbQcXYk6+kvRj0SF8dblN8NGdAgsUzDG/u22yzRQbgTNoJkC+U m2Bt/fyY7yKcJZRY+qwEJkh2wBmstc9kN6zGt7Z/cf07ReWUj+juFIKpFr5JolwdqtKW xwqpZkRk+4EYqMPEcH+8l5nRUN5SqsOjXiP2cA5ahZNmVT2SlO7zIr4OzBInm5a3CbkO 84Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6fNGZLWifL+7yX1L6y95dc2Px2Ug+grzk6hU9WXnptk=; b=gO2G0uma8F9GXcb+AauuxIsNnv2Lq/SD+5rr+R72m73tuz14ZQp3v1AesjPKFcrvpa InoHNvtkXZr5RVK23xM8+/ODEjlUnHuAMg6oXbCMTwZsH2LKvh9yqfNBRydY2knm6U7y tuX0kZdHIJU4hCcbcs+BFy3jz6blNVOwcLsF3IqAVKVnumolMBUJ02tpznBpWp2YwFFZ 8fmtHFFZwl72wHBCsT6I4j/X/AiJkqqNb5FFf/8V91AV2xYNhNxGExv0kY41vFQp1qol fJXc4T32Veft14dxdn+QhvsA3i4fHavWtNw+ZAC89UPb29ijc+rf1j7jgNu4+AQbTx/8 R0mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Kua/74Z4"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si7233404ejc.635.2020.09.14.07.23.26; Mon, 14 Sep 2020 07:23:47 -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; dkim=pass header.i=@kernel.org header.s=default header.b="Kua/74Z4"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726744AbgINOWi (ORCPT + 99 others); Mon, 14 Sep 2020 10:22:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:41404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726837AbgINOVW (ORCPT ); Mon, 14 Sep 2020 10:21:22 -0400 Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 442362193E for ; Mon, 14 Sep 2020 14:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600093282; bh=8fsFkxwq8ohGgDnSkTJRE8LxrldUSn3FHaVg9MHbuOg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Kua/74Z4bw7iHP3Y1dF2lBS/HOEFeyN6JIuVp3wYVeThQhYWv2+/2UL/hi5ANVjyq jTh0E5MRclUBNJ8U9/kwHLXZttTj3UWGg5wEY3dmci48H68ATE7oA/lxTXWglot0Ht H7P3PvF4O0/lS94ZLdiBj2LW+19pMeE9qFg7xgiQ= Received: by mail-oi1-f175.google.com with SMTP id i17so12591oig.10 for ; Mon, 14 Sep 2020 07:21:22 -0700 (PDT) X-Gm-Message-State: AOAM533G7r+KeQS4MJbuNoV87zuPU8vEYcCDyzZNGjMgZHcKc66+boMy m7VGmC4JXa7rHucSCQ/DjWRQoQEDcTt2aMF6gg== X-Received: by 2002:aca:1711:: with SMTP id j17mr9162610oii.152.1600093281588; Mon, 14 Sep 2020 07:21:21 -0700 (PDT) MIME-Version: 1.0 References: <20200911215118.2887710-1-robh@kernel.org> <20200912205317.GG1714160@krava> In-Reply-To: <20200912205317.GG1714160@krava> From: Rob Herring Date: Mon, 14 Sep 2020 08:21:10 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 0/10] libperf and arm64 userspace counter access support To: Jiri Olsa Cc: Will Deacon , Catalin Marinas , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , "linux-kernel@vger.kernel.org" , linux-arm-kernel , Alexander Shishkin , Namhyung Kim , Raphael Gault , Mark Rutland , Jonathan Cameron , Ian Rogers , Honnappa Nagarahalli Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 12, 2020 at 2:53 PM Jiri Olsa wrote: > > On Fri, Sep 11, 2020 at 03:51:08PM -0600, Rob Herring wrote: > > This is resurrecting Raphael's series[1] to enable userspace counter > > access on arm64. My previous versions are here[2][3]. > > > > Changes in v3: > > - Dropped removing x86 rdpmc test until libperf tests can run via 'perf test' > > - Added verbose prints for tests > > - Split adding perf_evsel__mmap() to separate patch > > hi, > which commit/branch did you base on? I can't apply arm bits: > > Applying: arm64: pmu: Add hook to handle pmu-related undefined instructions > Applying: arm64: perf: Enable pmu counter direct access for perf event on armv8 > error: patch failed: arch/arm64/kernel/perf_event.c:836 > error: arch/arm64/kernel/perf_event.c: patch does not apply > Patch failed at 0002 arm64: perf: Enable pmu counter direct access for perf event on armv8 It's on v5.9-rc2. Rob