1*7bd1d409SAlexander ShishkinWhat: /config/stp-policy 2*7bd1d409SAlexander ShishkinDate: June 2015 3*7bd1d409SAlexander ShishkinKernelVersion: 4.3 4*7bd1d409SAlexander ShishkinDescription: 5*7bd1d409SAlexander Shishkin This group contains policies mandating Master/Channel allocation 6*7bd1d409SAlexander Shishkin for software sources wishing to send trace data over an STM 7*7bd1d409SAlexander Shishkin device. 8*7bd1d409SAlexander Shishkin 9*7bd1d409SAlexander ShishkinWhat: /config/stp-policy/<device>.<policy> 10*7bd1d409SAlexander ShishkinDate: June 2015 11*7bd1d409SAlexander ShishkinKernelVersion: 4.3 12*7bd1d409SAlexander ShishkinDescription: 13*7bd1d409SAlexander Shishkin This group is the root of a policy; its name is a concatenation 14*7bd1d409SAlexander Shishkin of an stm device name to which this policy applies and an 15*7bd1d409SAlexander Shishkin arbitrary string. If <device> part doesn't match an existing 16*7bd1d409SAlexander Shishkin stm device, mkdir will fail with ENODEV; if that device already 17*7bd1d409SAlexander Shishkin has a policy assigned to it, mkdir will fail with EBUSY. 18*7bd1d409SAlexander Shishkin 19*7bd1d409SAlexander ShishkinWhat: /config/stp-policy/<device>.<policy>/device 20*7bd1d409SAlexander ShishkinDate: June 2015 21*7bd1d409SAlexander ShishkinKernelVersion: 4.3 22*7bd1d409SAlexander ShishkinDescription: 23*7bd1d409SAlexander Shishkin STM device to which this policy applies, read only. Same as the 24*7bd1d409SAlexander Shishkin <device> component of its parent directory. 25*7bd1d409SAlexander Shishkin 26*7bd1d409SAlexander ShishkinWhat: /config/stp-policy/<device>.<policy>/<node> 27*7bd1d409SAlexander ShishkinDate: June 2015 28*7bd1d409SAlexander ShishkinKernelVersion: 4.3 29*7bd1d409SAlexander ShishkinDescription: 30*7bd1d409SAlexander Shishkin Policy node is a string identifier that software clients will 31*7bd1d409SAlexander Shishkin use to request a master/channel to be allocated and assigned to 32*7bd1d409SAlexander Shishkin them. 33*7bd1d409SAlexander Shishkin 34*7bd1d409SAlexander ShishkinWhat: /config/stp-policy/<device>.<policy>/<node>/masters 35*7bd1d409SAlexander ShishkinDate: June 2015 36*7bd1d409SAlexander ShishkinKernelVersion: 4.3 37*7bd1d409SAlexander ShishkinDescription: 38*7bd1d409SAlexander Shishkin Range of masters from which to allocate for users of this node. 39*7bd1d409SAlexander Shishkin Write two numbers: the first master and the last master number. 40*7bd1d409SAlexander Shishkin 41*7bd1d409SAlexander ShishkinWhat: /config/stp-policy/<device>.<policy>/<node>/channels 42*7bd1d409SAlexander ShishkinDate: June 2015 43*7bd1d409SAlexander ShishkinKernelVersion: 4.3 44*7bd1d409SAlexander ShishkinDescription: 45*7bd1d409SAlexander Shishkin Range of channels from which to allocate for users of this node. 46*7bd1d409SAlexander Shishkin Write two numbers: the first channel and the last channel 47*7bd1d409SAlexander Shishkin number. 48*7bd1d409SAlexander Shishkin 49