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) What:		/sys/class/rapidio_port
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 		On-chip RapidIO controllers and PCIe-to-RapidIO bridges
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 		(referenced as "Master Port" or "mport") are presented in sysfs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 		as the special class of devices: "rapidio_port".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 		The /sys/class/rapidio_port subdirectory contains individual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 		subdirectories named as "rapidioN" where N = mport ID registered
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 		with RapidIO subsystem.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 		NOTE: An mport ID is not a RapidIO destination ID assigned to a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 		given local mport device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) What:		/sys/class/rapidio_port/rapidioN/sys_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Date:		Apr, 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) KernelVersion:	v3.15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Contact:	Matt Porter <mporter@kernel.crashing.org>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 		Alexandre Bounine <alexandre.bounine@idt.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		(RO) reports RapidIO common transport system size:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		0 = small (8-bit destination ID, max. 256 devices),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		1 = large (16-bit destination ID, max. 65536 devices).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) What:		/sys/class/rapidio_port/rapidioN/port_destid
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Date:		Apr, 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) KernelVersion:	v3.15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Contact:	Matt Porter <mporter@kernel.crashing.org>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		Alexandre Bounine <alexandre.bounine@idt.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) (RO) reports RapidIO destination ID assigned to the given
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) RapidIO mport device. If value 0xFFFFFFFF is returned this means
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) that no valid destination ID have been assigned to the mport
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) (yet). Normally, before enumeration/discovery have been executed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) only fabric enumerating mports have a valid destination ID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) assigned to them using "hdid=..." rapidio module parameter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) After enumeration or discovery was performed for a given mport device,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) the corresponding subdirectory will also contain subdirectories for each
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) child RapidIO device connected to the mport.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) The example below shows mport device subdirectory with several child RapidIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) devices attached to it::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)     [rio@rapidio ~]$ ls /sys/class/rapidio_port/rapidio0/ -l
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)     total 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:e:0001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:e:0004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:e:0007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:s:0002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:s:0003
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)     drwxr-xr-x 3 root root    0 Feb 11 15:10 00:s:0005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)     lrwxrwxrwx 1 root root    0 Feb 11 15:11 device -> ../../../0000:01:00.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)     -r--r--r-- 1 root root 4096 Feb 11 15:11 port_destid
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)     drwxr-xr-x 2 root root    0 Feb 11 15:11 power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)     lrwxrwxrwx 1 root root    0 Feb 11 15:04 subsystem -> ../../../../../../class/rapidio_port
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)     -r--r--r-- 1 root root 4096 Feb 11 15:11 sys_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)     -rw-r--r-- 1 root root 4096 Feb 11 15:04 uevent