mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-09-14 16:46:19 +10:00
It's often useful during test, debug, and development to issue path votes from shell. Add a debugfs client for this purpose. Example usage: cd /sys/kernel/debug/interconnect/test-client/ # Configure node endpoints for the path from CPU to DDR on # qcom/sm8550. echo chm_apps > src_node echo ebi > dst_node # Get path between src_node and dst_node. This is only # necessary after updating the node endpoints. echo 1 > get # Set desired BW to 1GBps avg and 2GBps peak. echo 1000000 > avg_bw echo 2000000 > peak_bw # Vote for avg_bw and peak_bw on the latest path from "get". # Voting for multiple paths is possible by repeating this # process for different nodes endpoints. echo 1 > commit Allowing userspace to directly enable and set bus rates can be dangerous So, following in the footsteps of the regmap [0] and clk [1] frameworks, keep these userspace controls compile-time disabled without Kconfig options to enable them. Enabling this will require code changes to define INTERCONNECT_ALLOW_WRITE_DEBUGFS. [0] commit |
||
---|---|---|
.. | ||
80211 | ||
acpi | ||
backlight | ||
cxl | ||
dmaengine | ||
driver-model | ||
early-userspace | ||
firmware | ||
fpga | ||
gpio | ||
hte | ||
i3c | ||
iio | ||
md | ||
media | ||
mei | ||
memory-devices | ||
mmc | ||
mtd | ||
nfc | ||
nvdimm | ||
pci | ||
phy | ||
pldmfw | ||
pm | ||
rapidio | ||
serial | ||
soundwire | ||
surface_aggregator | ||
thermal | ||
tty | ||
usb | ||
virtio | ||
xilinx | ||
aperture.rst | ||
auxiliary_bus.rst | ||
basics.rst | ||
clk.rst | ||
component.rst | ||
connector.rst | ||
console.rst | ||
dcdbas.rst | ||
devfreq.rst | ||
device_link.rst | ||
device-io.rst | ||
dma-buf.rst | ||
edac.rst | ||
eisa.rst | ||
firewire.rst | ||
frame-buffer.rst | ||
generic-counter.rst | ||
hsi.rst | ||
i2c.rst | ||
index.rst | ||
infiniband.rst | ||
infrastructure.rst | ||
input.rst | ||
interconnect.rst | ||
io_ordering.rst | ||
io-mapping.rst | ||
ioctl.rst | ||
ipmb.rst | ||
ipmi.rst | ||
isa.rst | ||
isapnp.rst | ||
libata.rst | ||
mailbox.rst | ||
men-chameleon-bus.rst | ||
message-based.rst | ||
misc_devices.rst | ||
miscellaneous.rst | ||
mtdnand.rst | ||
ntb.rst | ||
nvmem.rst | ||
parport-lowlevel.rst | ||
pin-control.rst | ||
pps.rst | ||
ptp.rst | ||
pwm.rst | ||
regulator.rst | ||
reset.rst | ||
rfkill.rst | ||
s390-drivers.rst | ||
scsi.rst | ||
slimbus.rst | ||
sm501.rst | ||
spi.rst | ||
switchtec.rst | ||
sync_file.rst | ||
target.rst | ||
uio-howto.rst | ||
vfio-mediated-device.rst | ||
vfio-pci-device-specific-driver-acceptance.rst | ||
vfio.rst | ||
vme.rst | ||
w1.rst | ||
wmi.rst | ||
xillybus.rst | ||
zorro.rst |