From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932436AbbJPN1J (ORCPT ); Fri, 16 Oct 2015 09:27:09 -0400 Received: from mga14.intel.com ([192.55.52.115]:8293 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932339AbbJPN1H (ORCPT ); Fri, 16 Oct 2015 09:27:07 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,689,1437462000"; d="scan'208";a="828250210" From: Adrian Hunter To: Peter Zijlstra , Ingo Molnar Cc: Arnaldo Carvalho de Melo , Andy Lutomirski , Thomas Gleixner , linux-kernel@vger.kernel.org, Stephane Eranian , Andi Kleen Subject: [PATCH 0/1] perf/x86: Fix time_shift in perf_event_mmap_page Date: Fri, 16 Oct 2015 16:24:04 +0300 Message-Id: <1445001845-13688-1-git-send-email-adrian.hunter@intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi There is a problem with my patch: commit b20112edeadf ("perf/x86: Improve accuracy of perf/sched clock") which is in tip at the moment. The problem is that userspace does not expect time_shift in perf_event_mmap_page to be as much as 32. Here is a proposed fix. Adrian Hunter (1): perf/x86: Fix time_shift in perf_event_mmap_page arch/x86/kernel/tsc.c | 11 +++++++++++ include/uapi/linux/perf_event.h | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) Regards Adrian