Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1168693pxk; Sat, 12 Sep 2020 13:54:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhRYlx/vDw4IpCJpaJAIVKLFFI9G4xXF2djVmKPOfJ1PZGIMEXYsO/g4cPhP4/vcTCqZaG X-Received: by 2002:a17:907:20e5:: with SMTP id rh5mr7418033ejb.267.1599944068103; Sat, 12 Sep 2020 13:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599944068; cv=none; d=google.com; s=arc-20160816; b=zmlEDB/1LHx6GdH62gGjDd+QBJfNKuhUu7pf6Ba0q8zrHbqNM+f8tXhtgASFQptWqs cFOMg5PEYM+U1HOCb6kFzo6Xzmx45i52TKkmJsVLG4V22HHfmFm2vMCl3WLHeIQXe9fM 5jFjz2UhPhGiRvoGVsVb+yEXzjjKKY3NWkt9KmHD8BROtsAU6nFvjiiw1b7UtVjaqvS4 hsNMErScTWo3uHqEVtchM1yx6EolDzUlikOtZh5qhG2QOGzeKQCkOD7XnIZgux6BSkkQ 5hnmfey5McN5k1pOlhwhUZi3h5lh512yozfMLpTiqCAHsE7QxnJHdKDblHf+WrAl50oc 4NcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/TrCMjdFVnXYdHb0xZILR27Mwuk7N3tgJTgpwVnOmJ8=; b=InYvssJgjCP+CjrwyuJz890kTdg+UvsgdC94zSaaj49b3BZbfm4g6MFJuKbS8h0QMw VJNkcyLEwbT+Qx796vPdyLEQiDV7/niousAPps+hqjlQEXgKyMtA5xNwpNzVz060IEBg xmTxKuuk+Ypm17OHpgZCAhjGeg6w6gRVwJLpty7qBeT3Gccp4RaAD3iE1OCCNbw88M7O uFJP9DodOvowydSZOMZo7O+AHll0dOCibe/e3skrMRqOd7wCjhgRqv0KR15ROFVgU+x/ ApOE4HU8ASw6sXnpUgL93/Z0bcqi+06PhVscT87PHFYEXc9EioJZFYVbuUXkA1cyjBO1 JXxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AVo0aElT; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b21si4135427edx.329.2020.09.12.13.54.05; Sat, 12 Sep 2020 13:54:28 -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=@redhat.com header.s=mimecast20190719 header.b=AVo0aElT; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725916AbgILUxa (ORCPT + 99 others); Sat, 12 Sep 2020 16:53:30 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:30019 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725892AbgILUx1 (ORCPT ); Sat, 12 Sep 2020 16:53:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599944006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/TrCMjdFVnXYdHb0xZILR27Mwuk7N3tgJTgpwVnOmJ8=; b=AVo0aElTSwU6t8XygIuaPVArD79FwzpHPMcJGmQq+d1Hh92gPu/SmwImQhxt9eI00Eiuml lPk6+L/4C7olFTc3aDtqXmnoSzIfzR5vatgOzidQsb33lzRK82HVRn2eLH8ZoIqWonysjY QQx6G6eM7HcgjaCZzkaW9Px1YHq4WHs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-595-FXufgUheNe6qFgiiyb11BA-1; Sat, 12 Sep 2020 16:53:23 -0400 X-MC-Unique: FXufgUheNe6qFgiiyb11BA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4BFE31DDE2; Sat, 12 Sep 2020 20:53:21 +0000 (UTC) Received: from krava (unknown [10.40.192.28]) by smtp.corp.redhat.com (Postfix) with SMTP id 22CFD7E731; Sat, 12 Sep 2020 20:53:17 +0000 (UTC) Date: Sat, 12 Sep 2020 22:53:17 +0200 From: Jiri Olsa To: Rob Herring Cc: Will Deacon , Catalin Marinas , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexander Shishkin , Namhyung Kim , Raphael Gault , Mark Rutland , Jonathan Cameron , Ian Rogers , honnappa.nagarahalli@arm.com Subject: Re: [PATCH v3 0/10] libperf and arm64 userspace counter access support Message-ID: <20200912205317.GG1714160@krava> References: <20200911215118.2887710-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200911215118.2887710-1-robh@kernel.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 thanks, jirka