[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <de9ca78f-0d4c-4793-a21e-5d5f8dc6eacc@lunn.ch>
Date: Fri, 19 Jan 2024 14:43:08 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Bjorn Andersson <quic_bjorande@...cinc.com>
Cc: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
Stephen Hemminger <stephen@...workplumber.org>
Subject: Re: [PATCH v3] soc: qcom: aoss: Add debugfs interface for sending
messages
> +static void qmp_debugfs_create(struct qmp *qmp)
> +{
> + const struct qmp_debugfs_entry *entry;
> + int i;
> +
> + qmp->debugfs_root = debugfs_create_dir("qcom_aoss", NULL);
> +
> + for (i = 0; i < ARRAY_SIZE(qmp->debugfs_files); i++) {
> + entry = &qmp_debugfs_entries[i];
> +
> + qmp->debugfs_files[i] = debugfs_create_file(entry->name, 0220,
group write? Generally you only want root able to do writes.
However, thanks for reworking this to just support some well defined
commands, rather than binary blobs from user space.
Andrew
Powered by blists - more mailing lists