I do not see this problem on a kernel built from the latest Linaro TI
3.2 sources using the default config file.  The error sounds like a
configuration error, or possibly a problem in the underlying hardware
event support which has been patched over time.

If you are intent on continuing with a 3.2 kernel I recommend rebuilding
it from sources checked out from the origin/tilt-3.2 tracking branch in
the git://git.linaro.org/landing-teams/working/ti/kernel.git repo.
Either use the omap4_defconfig under there or at least make sure
CONFIG_HW_PERF_EVENTS=y is present.

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to linaro-landing-team-ti.
https://bugs.launchpad.net/bugs/1048056

Title:
  perf_event_open syscall fails for HW counters on Pandaboard

Status in Linaro Texas Instruments Landing Team:
  New
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  On Pandaboard perf_event_open syscall fails with errno = 19 (ENODEV)
  when trying to open perf counter with type PERF_TYPE_HARDWARE.

  The code to reproduce the error is attached. I checked that it runs
  successfully on Beagleboard, Sandy Bridge, Bulldozer systems, and even
  on Pandaboard if I request software events (e.g. type =
  PERF_TYPE_SOFTWARE, config = PERF_COUNT_SW_CPU_CLOCK).

  Linux Kernel (uname -a): Linux pandaboard 3.2.0-1418-omap4 #25-Ubuntu SMP 
PREEMPT Fri Aug 31 18:41:31 UTC 2012 armv7l armv7l armv7l GNU/Linux
  Distribution: Ubuntu Server 12.04
  Loaded kernel modules (lsmod): cpufreq_powersave, cpufreq_conservative, 
cpufreq_userspace, cpufreq_ondemand, dm_crypt, wl12xx_sdio, wl12xx, mac80211, 
twl6040_vibra, ff_memless, cfg80211, leds_gpio
  Kernel log (dmesg): contains message "hw perfevents: enabled with ARMv7 
Cortex-A9 PMU driver, 7 counters available"
  /proc/cpuinfo content:
  Processor     : ARMv7 Processor rev 10 (v7l)
  processor     : 0
  BogoMIPS      : 696.39

  processor     : 1
  BogoMIPS      : 681.68

  Features      : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
  CPU implementer       : 0x41
  CPU architecture: 7
  CPU variant   : 0x2
  CPU part      : 0xc09
  CPU revision  : 10

  Hardware      : OMAP4 Panda board
  Revision      : 0020
  Serial                : 0000000000000000

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-landing-team-ti/+bug/1048056/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~tiomap-dev
Post to     : tiomap-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~tiomap-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to