summaryrefslogtreecommitdiff
path: root/zephyr/app/ec/Kconfig
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-04-19 11:24:44 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-19 17:51:34 +0000
commit6dfa474ac91276cd9eb7730daf59b2c8ff41c373 (patch)
tree98350360b094db55e7265b501b763b89a9b3be0c /zephyr/app/ec/Kconfig
parenta18ee0fbf05e2e26ca3340aff1a47ac8669c1933 (diff)
downloadchrome-ec-6dfa474ac91276cd9eb7730daf59b2c8ff41c373.tar.gz
zephyr: set sysworkq priority explicitly from the task list
Now that we have an explicit task priority list, add an entry for the sysworkq and use it to set the priority. This makes that task priority setting somewhat more explicit relatively to the other EC tasks, ensure that it's set correctly and make the build assert work properly. Also drop one of the two build assert, which was redundant. Threads looks like this on Brya after this: 22-04-19 11:38:51.576 0x200c5588 CHG_RAMP 22-04-19 11:38:51.576 options: 0x0, priority: 22 timeout: 1 ... 22-04-19 11:38:51.589 0x200c7b20 sysworkq 22-04-19 11:38:51.589 options: 0x0, priority: 23 timeout: 311 ... 22-04-19 11:38:51.603 0x200c7950 idle 22-04-19 11:38:51.603 options: 0x1, priority: 24 timeout: 0 BRANCH=none BUG=none TEST=kernel threads ec command on brya Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I667cddbba9906e96bd9ab1ba8edab5103cc6c4b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3593036 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'zephyr/app/ec/Kconfig')
-rw-r--r--zephyr/app/ec/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/app/ec/Kconfig b/zephyr/app/ec/Kconfig
index ae126d4049..52e9b43308 100644
--- a/zephyr/app/ec/Kconfig
+++ b/zephyr/app/ec/Kconfig
@@ -24,7 +24,7 @@ orsource "chip/$(ARCH)/*/Kconfig.*"
# Override the maximum number of preemptive priority levels.
#
config NUM_PREEMPT_PRIORITIES
- default 24
+ default 25
config LTO
bool "Link Time Optimization (LTO)"