2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-01 09:53:44 +08:00
linux-next/Documentation/ABI/stable
Keith Busch e1cf33aafb node: Add heterogenous memory access attributes
Heterogeneous memory systems provide memory nodes with different latency
and bandwidth performance attributes. Provide a new kernel interface
for subsystems to register the attributes under the memory target
node's initiator access class. If the system provides this information,
applications may query these attributes when deciding which node to
request memory.

The following example shows the new sysfs hierarchy for a node exporting
performance attributes:

  # tree -P "read*|write*"/sys/devices/system/node/nodeY/accessZ/initiators/
  /sys/devices/system/node/nodeY/accessZ/initiators/
  |-- read_bandwidth
  |-- read_latency
  |-- write_bandwidth
  `-- write_latency

The bandwidth is exported as MB/s and latency is reported in
nanoseconds. The values are taken from the platform as reported by the
manufacturer.

Memory accesses from an initiator node that is not one of the memory's
access "Z" initiator nodes linked in the same directory may observe
different performance than reported here. When a subsystem makes use
of this interface, initiators of a different access number may not have
the same performance relative to initiators in other access numbers, or
omitted from the any access class' initiators.

Descriptions for memory access initiator performance access attributes
are added to sysfs stable documentation.

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-04 18:41:21 +02:00
..
firewire-cdev firewire: ABI documentation: libhinawa uses firewire-cdev 2016-03-12 10:55:46 +01:00
o2cb
syscalls
sysfs-acpi-pmprofile ACPI: Export FADT pm_profile integer value to userspace 2011-11-06 20:48:42 -05:00
sysfs-bus-firewire firewire: core: document is_local sysfs attribute 2012-06-30 10:49:06 +02:00
sysfs-bus-nvmem Documentation/ABI: document the nvmem sysfs files 2017-08-28 17:57:52 +02:00
sysfs-bus-usb docs-rst: fix usb cross-references 2017-04-11 14:41:29 -06:00
sysfs-bus-vmbus Drivers: hv: vmbus: Expose counters for interrupts and full conditions 2019-02-14 20:56:10 -05:00
sysfs-bus-w1 w1: introduce an ability to specify microseconds bus scanning intervals 2015-05-24 12:08:59 -07:00
sysfs-bus-xen-backend xen: export device state to sysfs 2018-08-28 17:37:40 -04:00
sysfs-class-backlight backlight: add backlight type 2011-03-22 17:43:59 -07:00
sysfs-class-infiniband Documentation/ABI: update infiniband sysfs interfaces 2018-02-23 08:18:33 -07:00
sysfs-class-rfkill rfkill: Correctly document rkill subfolder range as >= 0 in sysfs-class-rfkill 2018-06-15 13:35:49 +02:00
sysfs-class-tpm Doc: ABI/stable: Fix typo in ABI/stable 2015-11-02 18:10:33 -07:00
sysfs-class-ubi UBI: Add ro-mode sysfs attribute 2016-05-24 15:15:26 +02:00
sysfs-class-udc Documentation: ABI: sysfs-class-udc: remove duplicated entry 2017-06-13 13:21:04 +03:00
sysfs-devices Documentation: fix admin-guide doc refs 2017-10-12 11:13:28 -06:00
sysfs-devices-node node: Add heterogenous memory access attributes 2019-04-04 18:41:21 +02:00
sysfs-devices-system-cpu powerpc: Document sysfs DSCR interface 2014-05-28 13:35:40 +10:00
sysfs-devices-system-xen_memory xen/balloon: add runtime control for scrubbing ballooned out pages 2018-09-14 08:51:10 -04:00
sysfs-driver-aspeed-vuart drivers/serial: Add driver for Aspeed virtual UART 2017-05-18 16:19:16 +02:00
sysfs-driver-dma-ioatdma dmaengine: ioatdma: Add ABI document 2017-08-21 21:40:40 +05:30
sysfs-driver-ib_srp IB/srp: Add multichannel support 2014-11-12 12:05:24 +01:00
sysfs-driver-mlxreg-io Documentation/ABI: Correct mlxreg-io KernelVersion for 5.0 2019-01-26 11:30:26 -08:00
sysfs-driver-qla2xxx [SCSI] qla2xxx: Add firmware-dump kobject uevent notification. 2009-12-04 12:00:10 -06:00
sysfs-driver-usb-usbtmc usb: usbtmc: Remove sysfs group TermChar and auto_abort 2018-09-20 13:04:03 +02:00
sysfs-driver-w1_ds28e04 w1: Add 1-wire slave device driver for DS28E04-100 2012-06-13 16:47:10 -07:00
sysfs-driver-w1_ds28ea00 w1: Add support for DS28EA00 sequence to w1-therm 2015-05-24 12:08:59 -07:00
sysfs-firmware-efi-vars efivars: Add Documentation 2011-03-14 08:40:51 -07:00
sysfs-firmware-opal-dump powerpc/powernv Platform dump interface 2014-03-07 16:19:10 +11:00
sysfs-firmware-opal-elog Doc: ABI/stable: Fix typo in ABI/stable 2015-11-02 18:10:33 -07:00
sysfs-fs-orangefs Orangefs: kernel client part 6 2015-10-03 11:39:59 -04:00
sysfs-hypervisor-xen doc,xen: document hypervisor sysfs nodes for xen 2017-06-15 08:50:15 +02:00
sysfs-module ABI: Clarify when /sys/module/MODULENAME is created 2013-07-02 15:38:20 +09:30
sysfs-transport-srp scsi_transport_srp: Add periodic reconnect support 2013-11-08 14:43:16 -08:00
thermal-notification thermal: Add event notification to thermal framework 2011-01-12 00:08:35 -05:00
vdso doc: ABI: vdso: update parse_vdso.c reference 2017-03-13 17:13:22 -06:00