Skip to content

Commit

Permalink
[POWERPC] PS3: Add logical performance monitor driver support
Browse files Browse the repository at this point in the history
Add PS3 logical performance monitor (lpm) device driver.

The PS3's LV1 hypervisor provides a Logical Performance Monitor that
abstracts the Cell processor's performance monitor features for use
by guest operating systems.

Signed-off-by: Takashi Yamamoto <TakashiA.Yamamoto@jp.sony.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Takashi Yamamoto authored and Paul Mackerras committed Jan 25, 2008
1 parent ed75700 commit 781749a
Show file tree
Hide file tree
Showing 4 changed files with 1,324 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/powerpc/platforms/ps3/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,17 @@ config PS3_FLASH
be disabled on the kernel command line using "ps3flash=off", to
not allocate this fixed buffer.

config PS3_LPM
tristate "PS3 Logical Performance Monitor support"
depends on PPC_PS3
help
Include support for the PS3 Logical Performance Monitor.

This support is required to use the logical performance monitor
of the PS3's LV1 hypervisor.

If you intend to use the advanced performance monitoring and
profiling support of the Cell processor with programs like
oprofile and perfmon2, then say Y or M, otherwise say N.

endmenu
1 change: 1 addition & 0 deletions drivers/ps3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ ps3av_mod-objs += ps3av.o ps3av_cmd.o
obj-$(CONFIG_PPC_PS3) += sys-manager-core.o
obj-$(CONFIG_PS3_SYS_MANAGER) += ps3-sys-manager.o
obj-$(CONFIG_PS3_STORAGE) += ps3stor_lib.o
obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
Loading

0 comments on commit 781749a

Please sign in to comment.