With the evolving use-cases for TEE bus, now it's required to support multi-stage enumeration process. But using a simple index doesn't suffice this requirement and instead leads to duplicate sysfs entries. So instead switch to use more informative device UUID for sysfs entry like: /sys/bus/tee/devices/optee-ta-<uuid> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
		
			
				
	
	
		
			9 lines
		
	
	
		
			389 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			389 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| What:		/sys/bus/tee/devices/optee-ta-<uuid>/
 | |
| Date:           May 2020
 | |
| KernelVersion   5.8
 | |
| Contact:        op-tee@lists.trustedfirmware.org
 | |
| Description:
 | |
| 		OP-TEE bus provides reference to registered drivers under this directory. The <uuid>
 | |
| 		matches Trusted Application (TA) driver and corresponding TA in secure OS. Drivers
 | |
| 		are free to create needed API under optee-ta-<uuid> directory.
 |