From nobody Mon Apr 13 05:23:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1771000700; cv=none; d=zohomail.com; s=zohoarc; b=Z3Hek0DuoeAmZRzub0n4hh6aAkYX2+F47392DsKi+nQActFM4AYu76FSBQ93xSE1Qcx1mo+TD2BUosOFbG1H4RxFBNYetl3hCnnzsp0lwczKHVrotbEIdzyy1V1sURTELzWuLrpbrUhwxMW0dyhFIr4t1jxJMWhbPB0Gwxx+A74= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1771000700; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=4f8nWiqSAdQ3ihvLKp54Tg1Gj2dyPRa9lPHwnTHLKUI=; b=NkAmSCjOsE13eDuKZ1du0u8ZgXrkvHwDQlccAXPdtBMO1makKJtgpITg3doWP2hn5pMqYhUso7A2AF2msQ1c/K/M4gW0H9Pu7rWvKwPIgQjHD4MLbzqIEofryp2C9G2Cxnap1AGj08NMN1jNU5c7Dq5yF/j8UVV2H6E8HjcraMY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1771000700608349.4312111137899; Fri, 13 Feb 2026 08:38:20 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1231445.1536651 (Exim 4.92) (envelope-from ) id 1vqwAz-0006pO-Fd; Fri, 13 Feb 2026 16:37:53 +0000 Received: by outflank-mailman (output) from mailman id 1231445.1536651; Fri, 13 Feb 2026 16:37:53 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vqwAz-0006pH-CO; Fri, 13 Feb 2026 16:37:53 +0000 Received: by outflank-mailman (input) for mailman id 1231445; Fri, 13 Feb 2026 16:37:52 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vqw2s-0005Wn-B7 for xen-devel@lists.xenproject.org; Fri, 13 Feb 2026 16:29:30 +0000 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [2a00:1450:4864:20::32b]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 2a88587e-08f9-11f1-9ccf-f158ae23cfc8; Fri, 13 Feb 2026 17:29:28 +0100 (CET) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-48069a48629so10260255e9.0 for ; Fri, 13 Feb 2026 08:29:27 -0800 (PST) Received: from fedora (user-109-243-67-101.play-internet.pl. [109.243.67.101]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4834d5ebd1bsm303288185e9.6.2026.02.13.08.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Feb 2026 08:29:26 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2a88587e-08f9-11f1-9ccf-f158ae23cfc8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771000167; x=1771604967; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4f8nWiqSAdQ3ihvLKp54Tg1Gj2dyPRa9lPHwnTHLKUI=; b=hRVKykmP+1eW6FLGVDZFos+sRgUPV8M/N4S8hCTBzj9/kqLogBIRAh9etNbH/AwNzy +X9ENVSD4rWhMKrrOvmBL+vhIpb9gnobyy9RdsxQBR6cZg8020rKcmm7IbAmnJVZ6Ps6 C4HWQyjU6kabX0/y+9A2HbgjHHtAvjLStKloLQ3EGPdfMtzlSuS1JPCpOMyDUpRy38/R QkG/94kv8xWLYzL6UoRlQsTfUWybYq0noU/QHK3ki3Mz26cWV7paLrjSj/EiWtY8kh5I M1qvBYMvVc8M/k/ylzWDYq/gok4568IGRcusbbKAdpIXMvzgN+XIaSPSVm/i+jgJFCT2 lMgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771000167; x=1771604967; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=4f8nWiqSAdQ3ihvLKp54Tg1Gj2dyPRa9lPHwnTHLKUI=; b=IrxqFbPQc35waE/Y8DXoX0JE7bQ+kAjKgTu7r75wbDQJidlf8SK1IwHY9vTvQ6v7iF Vn154xgdCWlIXi2IfC3Bvo2ifc3mi8dBdAqjLBAr3txT4wXx9BMwtmXH0BTuUDzrOkXh AumqSebiWqoSTBpLYzNdZh2K5xX7v86w2as7pPNdLaqXHBm3f+YlkuxGni+VWDz/zgEw TfJEk/EjHSOphMzyg8c6Fpf5QEi7t/cW4tEE2UmQPt+jqqeQDn1rsqXH+xz7vozm7w4e H0tn6meXv0oLOrtd2VWhVqM3Bs4LdpSeJSR0gKzGU25E4wqj4UA9E5KQ5PZ5xLshWGLL REvA== X-Gm-Message-State: AOJu0Yzv5E5RvxInVkMNTl9NuaB+oZdZ7YGE7CHXZzIPN3gAe0ircawx I11ltVYzj1HWPic5sDRNdfUrD2vPhtqKHGmfUlYVwhI7HrjZW/K7vvBM6vWnh37F X-Gm-Gg: AZuq6aLUPlkqdC2fvnNF2S9YQErenCPiL4Q7dpQzjo993EE9M+seaPCHlWoE5v3FpXO 28OjXnvvwtRkdV4D7YjLSRFlqmrX7hxB9BsJf7TmLVujE+9kM/741KJoVTf3/Zu0gdgpshft+5y FSbI5iPu1qcFFOfvHVehXhGb44lyDOclRsxzhmL0I6sEq5jPnFyDt5OEuOU1z9iKNqirDogFd5i p4kT931lgXZ2qPRwq+kx4qAVJwAtM+LD4XHf9aokHC5VPnY6+NvTpSucVOI29lxm7ItSgon0EqC 5ugy/gtHLre0hPTJ7AZAE6+4Zo5IHysCV3wyZAvUHx3SU9iXNq93UqvPXtL1BolEtHA0yG7cbas zaXpe5UxgUSC4gxhcnQz3uOzpPxDUz2FSeroAiqB4Duj9kxxhccFo8+ER7MS6zDkaedqAG+05ZO ShMJu4QK3d9DqToLGyf42RG5X76i+omVRefDNJk5wILwcyxcdz419D8GrHlpXVkqqpUw== X-Received: by 2002:a05:600c:3e87:b0:480:32da:f338 with SMTP id 5b1f17b1804b1-48373a0f961mr38476305e9.14.1771000167050; Fri, 13 Feb 2026 08:29:27 -0800 (PST) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Romain Caritey , Oleksii Kurochko , Alistair Francis , Connor Davis , Andrew Cooper , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini Subject: [PATCH v4 15/16] xen/riscv: init tasklet subsystem Date: Fri, 13 Feb 2026 17:29:01 +0100 Message-ID: <3da393474a5a8e8cb8b3760ccdd134196f3f0b14.1770999383.git.oleksii.kurochko@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1771000701615154100 Content-Type: text/plain; charset="utf-8" As the tasklet subsystem is now initialized, it is necessary to implement sync_local_execstate(), since it is invoked when something calls tasklet_softirq_action(), which is registered in tasklet_subsys_init(). Signed-off-by: Oleksii Kurochko Acked-by: Jan Beulich --- Changes in v4: - Nothing changed. Only rebase. --- Changes in v3: - add Acked-by: Jan Beulich . --- Changes in v2: - Update the commit message. - Move implementation of sync_vcpu_execstate() to separate commit as it doesn't connect to tasklet subsystem. --- xen/arch/riscv/setup.c | 3 +++ xen/arch/riscv/stubs.c | 10 ---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/xen/arch/riscv/setup.c b/xen/arch/riscv/setup.c index dc469b49623f..5843609350aa 100644 --- a/xen/arch/riscv/setup.c +++ b/xen/arch/riscv/setup.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -152,6 +153,8 @@ void __init noreturn start_xen(unsigned long bootcpu_id, panic("Booting using ACPI isn't supported\n"); } =20 + tasklet_subsys_init(); + init_IRQ(); =20 riscv_fill_hwcap(); diff --git a/xen/arch/riscv/stubs.c b/xen/arch/riscv/stubs.c index cb7546558b8e..26434166acc6 100644 --- a/xen/arch/riscv/stubs.c +++ b/xen/arch/riscv/stubs.c @@ -91,16 +91,6 @@ void continue_running(struct vcpu *same) BUG_ON("unimplemented"); } =20 -void sync_local_execstate(void) -{ - BUG_ON("unimplemented"); -} - -void sync_vcpu_execstate(struct vcpu *v) -{ - BUG_ON("unimplemented"); -} - void startup_cpu_idle_loop(void) { BUG_ON("unimplemented"); --=20 2.52.0