From: Georgi Djakov Date: Tue, 22 Aug 2023 18:05:09 +0000 (+0300) Subject: Merge branch 'icc-debugfs' into icc-next X-Git-Tag: v6.6.7~2016^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ac3f01201fa1c453fc8a8ce5a7208da9cca254d;p=platform%2Fkernel%2Flinux-starfive.git Merge branch 'icc-debugfs' into icc-next This series introduces interconnect debugfs files that support voting for any interconnect path the framework supports. It is useful for debug, test and verification. * icc-debugfs debugfs: Add write support to debugfs_create_str() interconnect: Reintroduce icc_get() interconnect: Add debugfs test client Link: https://lore.kernel.org/r/20230807142914.12480-1-quic_mdtipton@quicinc.com Signed-off-by: Georgi Djakov --- 6ac3f01201fa1c453fc8a8ce5a7208da9cca254d diff --cc drivers/interconnect/internal.h index b30856d,3b2cfd3..3b9d505 --- a/drivers/interconnect/internal.h +++ b/drivers/interconnect/internal.h @@@ -38,7 -38,10 +38,10 @@@ struct icc_req struct icc_path { const char *name; size_t num_nodes; - struct icc_req reqs[]; + struct icc_req reqs[] __counted_by(num_nodes); }; + struct icc_path *icc_get(struct device *dev, const char *src, const char *dst); + int icc_debugfs_client_init(struct dentry *icc_dir); + #endif