From patchwork Wed Nov 12 16:58:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 692 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1762966754; bh=WWaW5yVVmnt2pMqZsZGHy2Kr3fsSpY+cErGBwcOkNno=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=SMa4k1QK2uQrUo5HzvpJImbNuguMnlTC9OnG8ueyBrqKoeJasTf1OrIhrtRU8kk2J dgQb8/bh+N1yb6oJS8KObFXPll0HWLpfk7g84bIt1Xr75BSw5AUh5m125+qbedvjOp Ad2dKUmalGb59qxarDGhs2il2z3e1WnLcuCssBqh6IE3FYcjGYoZOuZB3TE7G/Oinl 8QbdXo0oqmKPrLx0E///fN5/SjhsK7+mE6CcX4MIcSpIQ9w2ouYOhqTSh0Lw3NMT2P qM4FG+1b7SskM+lEeIlRFQASy18y4klrFZkSzEjuHw6h0rf5fgf3AIOitzZp2eaobv 7ue8XeXoPF4Vg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 42F7A6856E for ; Wed, 12 Nov 2025 09:59:14 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id dD6NPYS9lpqK for ; Wed, 12 Nov 2025 09:59:14 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1762966754; bh=WWaW5yVVmnt2pMqZsZGHy2Kr3fsSpY+cErGBwcOkNno=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=SMa4k1QK2uQrUo5HzvpJImbNuguMnlTC9OnG8ueyBrqKoeJasTf1OrIhrtRU8kk2J dgQb8/bh+N1yb6oJS8KObFXPll0HWLpfk7g84bIt1Xr75BSw5AUh5m125+qbedvjOp Ad2dKUmalGb59qxarDGhs2il2z3e1WnLcuCssBqh6IE3FYcjGYoZOuZB3TE7G/Oinl 8QbdXo0oqmKPrLx0E///fN5/SjhsK7+mE6CcX4MIcSpIQ9w2ouYOhqTSh0Lw3NMT2P qM4FG+1b7SskM+lEeIlRFQASy18y4klrFZkSzEjuHw6h0rf5fgf3AIOitzZp2eaobv 7ue8XeXoPF4Vg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 290266856C for ; Wed, 12 Nov 2025 09:59:14 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1762966752; bh=XTu7IKNGoUpnxrk39RrolLKxnQeRWawl6GhXhyg9PDk=; h=From:To:Cc:Subject:Date:From; b=CbbGtl3OY+JP/kX9KgsuvPXey18p4epRwnhn6WWAoX+QfkqAS9vfr+3gtqehYpXG7 IatRE51qBbGqkBnniQ1ebdJ3F/ZhRqzJnWsGJnxKPG0oTApwm3fEAQZbLYdssB8AWl hAizKUiiKOlj7bq1dTyCGHcnjQE+bYY0IF6xPPeqrJFPKO4hGVuOa18LCPNaPFVbyS m8EHy7my39+nDtvqICpQapPTOatEDhLR+207aFqynDKXZ4YjoX90tyhDuYvwKb+uc9 Pwj6YwRw/mV0/npmlWNQYCJmWm11BpkCmSo4VxYAF1GT6/DG6+NsD49/GjM2uIHDrY Sa/Th6knfpkow== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 91D2B684BC; Wed, 12 Nov 2025 09:59:12 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id JL-GDuz6cje4; Wed, 12 Nov 2025 09:59:12 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1762966752; bh=vi4bGSy084xSGR0N4TJJCD3DmC2VXtNk1vw2nwlw2Fg=; h=From:To:Cc:Subject:Date:From; b=mtoOKnI6f5vFrZZnwMzuAliyM51ghHqrG0n0fScma0NhmwPc5/vL30J8H0JplPOu5 6CEYXATmTYtpMFAC9pBupeCm9umW8UcsZadLCwxOb1zmlb5zRVM8hpzkw2JOphsm2p UkJp994Gece98Pss/gZnu2sWyfK+gs1DsByJ2ZTyOGL6YhVuZWn33hxfZ6vBx05Cie ZsXFTuWtqIC0TLMJ69+uXPHuDZT5xfO4JuTX9Cs1BuVG6ghhVkGY8cKDVw/199JqwV ss3TvI7XdddftnelgdVuUgAbRa0AOzdlWLv4J6lhS0fpXf3XHEsWL1p4AbtM3Bsnec FJTNbB1kkNOVw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 0B5576838E; Wed, 12 Nov 2025 09:59:11 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Wed, 12 Nov 2025 09:58:59 -0700 Message-ID: <20251112095859.1.0b1b9f90177b7b2e682d57f3df20cf3cdb453517@changeid> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: 72LGTAUJ3B73RFWBHWFM3CEIJ6RA67MT X-Message-ID-Hash: 72LGTAUJ3B73RFWBHWFM3CEIJ6RA67MT X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH] expo: Ensure that cyclic tasks can run List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Since expo now runs with no delays it can trigger the watchdog on sandbox. Add a call to schedule() to avoid this. Signed-off-by: Simon Glass --- boot/expo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/expo.c b/boot/expo.c index 30f3cbeb9ef..842bacae163 100644 --- a/boot/expo.c +++ b/boot/expo.c @@ -538,6 +538,7 @@ int expo_poll(struct expo *exp, struct expo_action *act) { int key, ret = -EAGAIN; + schedule(); expo_test_mark(exp); /* update mouse position if mouse is enabled */