Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * DOMAIN(name, num, index_kind, is_physical)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * @name:	An all caps token, suitable for use in generating an enum
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  *		member and appending to an event name in sysfs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  * @num:	The number corresponding to the domain as given in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  *		documentation. We assume the catalog domain and the hcall
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  *		domain have the same numbering (so far they do), but this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  *		may need to be changed in the future.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  * @index_kind: A stringifiable token describing the meaning of the index
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  *		within the given domain. Must fit the parsing rules of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  *		perf sysfs api.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)  * @is_physical: True if the domain is physical, false otherwise (if virtual).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  * Note: The terms PHYS_CHIP, PHYS_CORE, VCPU correspond to physical chip,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)  *	 physical core and virtual processor in 24x7 Counters specifications.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) DOMAIN(PHYS_CHIP, 0x01, chip, true)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) DOMAIN(PHYS_CORE, 0x02, core, true)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) DOMAIN(VCPU_HOME_CORE, 0x03, vcpu, false)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) DOMAIN(VCPU_HOME_CHIP, 0x04, vcpu, false)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) DOMAIN(VCPU_HOME_NODE, 0x05, vcpu, false)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) DOMAIN(VCPU_REMOTE_NODE, 0x06, vcpu, false)