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 /Documentation/ABI | |
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 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 | 22 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-cxl | 67 |
2 files changed, 87 insertions, 2 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 index 32f3f5f8bba2..f893337570c1 100644 --- a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 +++ b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 | |||
@@ -21,3 +21,25 @@ Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> | |||
21 | Description: | 21 | Description: |
22 | Exposes the "version" field of the 24x7 catalog. This is also | 22 | Exposes the "version" field of the 24x7 catalog. This is also |
23 | extractable from the provided binary "catalog" sysfs entry. | 23 | extractable from the provided binary "catalog" sysfs entry. |
24 | |||
25 | What: /sys/bus/event_source/devices/hv_24x7/event_descs/<event-name> | ||
26 | Date: February 2014 | ||
27 | Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> | ||
28 | Description: | ||
29 | Provides the description of a particular event as provided by | ||
30 | the firmware. If firmware does not provide a description, no | ||
31 | file will be created. | ||
32 | |||
33 | Note that the event-name lacks the domain suffix appended for | ||
34 | events in the events/ dir. | ||
35 | |||
36 | What: /sys/bus/event_source/devices/hv_24x7/event_long_descs/<event-name> | ||
37 | Date: February 2014 | ||
38 | Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> | ||
39 | Description: | ||
40 | Provides the "long" description of a particular event as | ||
41 | provided by the firmware. If firmware does not provide a | ||
42 | description, no file will be created. | ||
43 | |||
44 | Note that the event-name lacks the domain suffix appended for | ||
45 | events in the events/ dir. | ||
diff --git a/Documentation/ABI/testing/sysfs-class-cxl b/Documentation/ABI/testing/sysfs-class-cxl index 554405ec1955..3680364b4048 100644 --- a/Documentation/ABI/testing/sysfs-class-cxl +++ b/Documentation/ABI/testing/sysfs-class-cxl | |||
@@ -1,3 +1,9 @@ | |||
1 | Note: Attributes that are shared between devices are stored in the directory | ||
2 | pointed to by the symlink device/. | ||
3 | Example: The real path of the attribute /sys/class/cxl/afu0.0s/irqs_max is | ||
4 | /sys/class/cxl/afu0.0s/device/irqs_max, i.e. /sys/class/cxl/afu0.0/irqs_max. | ||
5 | |||
6 | |||
1 | Slave contexts (eg. /sys/class/cxl/afu0.0s): | 7 | Slave contexts (eg. /sys/class/cxl/afu0.0s): |
2 | 8 | ||
3 | What: /sys/class/cxl/<afu>/irqs_max | 9 | What: /sys/class/cxl/<afu>/irqs_max |
@@ -67,7 +73,7 @@ Contact: linuxppc-dev@lists.ozlabs.org | |||
67 | Description: read only | 73 | Description: read only |
68 | Decimal value of the current version of the kernel/user API. | 74 | Decimal value of the current version of the kernel/user API. |
69 | 75 | ||
70 | What: /sys/class/cxl/<afu>/api_version_com | 76 | What: /sys/class/cxl/<afu>/api_version_compatible |
71 | Date: September 2014 | 77 | Date: September 2014 |
72 | Contact: linuxppc-dev@lists.ozlabs.org | 78 | Contact: linuxppc-dev@lists.ozlabs.org |
73 | Description: read only | 79 | Description: read only |
@@ -75,6 +81,42 @@ Description: read only | |||
75 | this this kernel supports. | 81 | this this kernel supports. |
76 | 82 | ||
77 | 83 | ||
84 | AFU configuration records (eg. /sys/class/cxl/afu0.0/cr0): | ||
85 | |||
86 | An AFU may optionally export one or more PCIe like configuration records, known | ||
87 | as AFU configuration records, which will show up here (if present). | ||
88 | |||
89 | What: /sys/class/cxl/<afu>/cr<config num>/vendor | ||
90 | Date: February 2015 | ||
91 | Contact: linuxppc-dev@lists.ozlabs.org | ||
92 | Description: read only | ||
93 | Hexadecimal value of the vendor ID found in this AFU | ||
94 | configuration record. | ||
95 | |||
96 | What: /sys/class/cxl/<afu>/cr<config num>/device | ||
97 | Date: February 2015 | ||
98 | Contact: linuxppc-dev@lists.ozlabs.org | ||
99 | Description: read only | ||
100 | Hexadecimal value of the device ID found in this AFU | ||
101 | configuration record. | ||
102 | |||
103 | What: /sys/class/cxl/<afu>/cr<config num>/vendor | ||
104 | Date: February 2015 | ||
105 | Contact: linuxppc-dev@lists.ozlabs.org | ||
106 | Description: read only | ||
107 | Hexadecimal value of the class code found in this AFU | ||
108 | configuration record. | ||
109 | |||
110 | What: /sys/class/cxl/<afu>/cr<config num>/config | ||
111 | Date: February 2015 | ||
112 | Contact: linuxppc-dev@lists.ozlabs.org | ||
113 | Description: read only | ||
114 | This binary file provides raw access to the AFU configuration | ||
115 | record. The format is expected to match the either the standard | ||
116 | or extended configuration space defined by the PCIe | ||
117 | specification. | ||
118 | |||
119 | |||
78 | 120 | ||
79 | Master contexts (eg. /sys/class/cxl/afu0.0m) | 121 | Master contexts (eg. /sys/class/cxl/afu0.0m) |
80 | 122 | ||
@@ -106,7 +148,7 @@ Contact: linuxppc-dev@lists.ozlabs.org | |||
106 | Description: read only | 148 | Description: read only |
107 | Identifies the CAIA Version the card implements. | 149 | Identifies the CAIA Version the card implements. |
108 | 150 | ||
109 | What: /sys/class/cxl/<card>/psl_version | 151 | What: /sys/class/cxl/<card>/psl_revision |
110 | Date: September 2014 | 152 | Date: September 2014 |
111 | Contact: linuxppc-dev@lists.ozlabs.org | 153 | Contact: linuxppc-dev@lists.ozlabs.org |
112 | Description: read only | 154 | Description: read only |
@@ -127,3 +169,24 @@ Contact: linuxppc-dev@lists.ozlabs.org | |||
127 | Description: read only | 169 | Description: read only |
128 | Will return "user" or "factory" depending on the image loaded | 170 | Will return "user" or "factory" depending on the image loaded |
129 | onto the card. | 171 | onto the card. |
172 | |||
173 | What: /sys/class/cxl/<card>/load_image_on_perst | ||
174 | Date: December 2014 | ||
175 | Contact: linuxppc-dev@lists.ozlabs.org | ||
176 | Description: read/write | ||
177 | Valid entries are "none", "user", and "factory". | ||
178 | "none" means PERST will not cause image to be loaded to the | ||
179 | card. A power cycle is required to load the image. | ||
180 | "none" could be useful for debugging because the trace arrays | ||
181 | are preserved. | ||
182 | "user" and "factory" means PERST will cause either the user or | ||
183 | user or factory image to be loaded. | ||
184 | Default is to reload on PERST whichever image the card has | ||
185 | loaded. | ||
186 | |||
187 | What: /sys/class/cxl/<card>/reset | ||
188 | Date: October 2014 | ||
189 | Contact: linuxppc-dev@lists.ozlabs.org | ||
190 | Description: write only | ||
191 | Writing 1 will issue a PERST to card which may cause the card | ||
192 | to reload the FPGA depending on load_image_on_perst. | ||