diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 21:15:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 21:15:38 -0500 |
commit | d3f180ea1a44aecba1b0dab2a253428e77f906bf (patch) | |
tree | 0be6eaf1eb3fd32c934bd070a3d758696f417c93 /arch/powerpc/perf/hv-24x7-catalog.h | |
parent | 6b00f7efb5303418c231994c91fb8239f5ada260 (diff) | |
parent | a6130ed253a931d2169c26ab0958d81b0dce4d6e (diff) |
Merge tag 'powerpc-3.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux
Pull powerpc updates from Michael Ellerman:
- Update of all defconfigs
- Addition of a bunch of config options to modernise our defconfigs
- Some PS3 updates from Geoff
- Optimised memcmp for 64 bit from Anton
- Fix for kprobes that allows 'perf probe' to work from Naveen
- Several cxl updates from Ian & Ryan
- Expanded support for the '24x7' PMU from Cody & Sukadev
- Freescale updates from Scott:
"Highlights include 8xx optimizations, some more work on datapath
device tree content, e300 machine check support, t1040 corenet
error reporting, and various cleanups and fixes"
* tag 'powerpc-3.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux: (102 commits)
cxl: Add missing return statement after handling AFU errror
cxl: Fail AFU initialisation if an invalid configuration record is found
cxl: Export optional AFU configuration record in sysfs
powerpc/mm: Warn on flushing tlb page in kernel context
powerpc/powernv: Add OPAL soft-poweroff routine
powerpc/perf/hv-24x7: Document sysfs event description entries
powerpc/perf/hv-gpci: add the remaining gpci requests
powerpc/perf/{hv-gpci, hv-common}: generate requests with counters annotated
powerpc/perf/hv-24x7: parse catalog and populate sysfs with events
perf: define EVENT_DEFINE_RANGE_FORMAT_LITE helper
perf: add PMU_EVENT_ATTR_STRING() helper
perf: provide sysfs_show for struct perf_pmu_events_attr
powerpc/kernel: Avoid initializing device-tree pointer twice
powerpc: Remove old compile time disabled syscall tracing code
powerpc/kernel: Make syscall_exit a local label
cxl: Fix device_node reference counting
powerpc/mm: bail out early when flushing TLB page
powerpc: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
perf/powerpc: reset event hw state when adding it to the PMU
powerpc/qe: Use strlcpy()
...
Diffstat (limited to 'arch/powerpc/perf/hv-24x7-catalog.h')
-rw-r--r-- | arch/powerpc/perf/hv-24x7-catalog.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/powerpc/perf/hv-24x7-catalog.h b/arch/powerpc/perf/hv-24x7-catalog.h index 21b19dd86d9c..69e2e1faf902 100644 --- a/arch/powerpc/perf/hv-24x7-catalog.h +++ b/arch/powerpc/perf/hv-24x7-catalog.h | |||
@@ -30,4 +30,29 @@ struct hv_24x7_catalog_page_0 { | |||
30 | __u8 reserved6[2]; | 30 | __u8 reserved6[2]; |
31 | } __packed; | 31 | } __packed; |
32 | 32 | ||
33 | struct hv_24x7_event_data { | ||
34 | __be16 length; /* in bytes, must be a multiple of 16 */ | ||
35 | __u8 reserved1[2]; | ||
36 | __u8 domain; /* Chip = 1, Core = 2 */ | ||
37 | __u8 reserved2[1]; | ||
38 | __be16 event_group_record_offs; /* in bytes, must be 8 byte aligned */ | ||
39 | __be16 event_group_record_len; /* in bytes */ | ||
40 | |||
41 | /* in bytes, offset from event_group_record */ | ||
42 | __be16 event_counter_offs; | ||
43 | |||
44 | /* verified_state, unverified_state, caveat_state, broken_state, ... */ | ||
45 | __be32 flags; | ||
46 | |||
47 | __be16 primary_group_ix; | ||
48 | __be16 group_count; | ||
49 | __be16 event_name_len; | ||
50 | __u8 remainder[]; | ||
51 | /* __u8 event_name[event_name_len - 2]; */ | ||
52 | /* __be16 event_description_len; */ | ||
53 | /* __u8 event_desc[event_description_len - 2]; */ | ||
54 | /* __be16 detailed_desc_len; */ | ||
55 | /* __u8 detailed_desc[detailed_desc_len - 2]; */ | ||
56 | } __packed; | ||
57 | |||
33 | #endif | 58 | #endif |