From nobody Mon Nov 23 22:32:09 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=1794484035; cv=none; d=zohomail.com; s=zohoarc; b=j8UWdU9C0cLNYm7tQ2AGiV702w4UZ7CWdpecY755ZZU/wRvv0v1HiL4WXCNxz6bxWBilgNb8/aj0VsyspqYBl0j/1cO5wMBWsFNVLqc2SrAYxFrGuAhmPrJTsdaMz0Nzs6MDA/U11jKElowp47ztAKEvwvNN2YGr9fmAEQmmyVk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794484035; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=b2CVmEeZvjj+848uEx9NiE0hsNO9SyGCFM+kP7F0D/k=; b=jo7fzRSeOq7JGbaNIklTfnOZ6NBWOPd2AKNQyzv1qybn3c3eGmlCsatEebLPTNkpS51S9zIrFNx94dIw4akNUp7taM4W6z/qebLiAOdVXXyKQiHn9lKq8Erte0IoxVXGMJV+W+ak4E8wr7ds1YRzF5X63IPLs0Qhbhi/CpDvtYs= 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 1794484035735202.62124590119504; Thu, 12 Nov 2026 03:47:15 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1485632.1688783 (Exim 4.92) (envelope-from ) id 1xRTGX-0003KJ-RM; Thu, 12 Nov 2026 11:46:53 +0000 Received: by outflank-mailman (output) from mailman id 1485632.1688783; Thu, 12 Nov 2026 11:46: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 1xRTGX-0003KC-Oi; Thu, 12 Nov 2026 11:46:53 +0000 Received: by outflank-mailman (input) for mailman id 1485632; Thu, 12 Nov 2026 11:46:51 +0000 Received: from mx.expurgate.net ([194.145.224.10]) by lists.xenproject.org with esmtp (Exim 4.92) id 1xRTGV-0003K6-TO for xen-devel@lists.xenproject.org; Thu, 12 Nov 2026 11:46:51 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xRTGV-000DOi-AB for xen-devel@lists.xenproject.org; Thu, 12 Nov 2026 12:46:51 +0100 Received: from [10.42.69.1] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6af5a71e-bab6-0a2a0a5309dd-0a2a45019024-14 for ; Thu, 12 Nov 2026 12:46:51 +0100 Received: from [209.85.221.44] (helo=mail-wr1-f44.google.com) by tlsNG-d62444.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6af5a72b-5984-0a2a45010019-d155dd2cd041-3 for ; Thu, 12 Nov 2026 12:46:51 +0100 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-48e20ed3b9dso3768181f8f.2 for ; Thu, 12 Nov 2026 03:46:51 -0800 (PST) Received: from fedora (user-109-243-65-71.play-internet.pl. [109.243.65.71]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-49884b99869sm15313091f8f.4.2026.11.12.03.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2026 03:46:50 -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" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=20260707 header.d=gmail.com header.i="@gmail.com" header.h="Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794484011; x=1795088811; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=b2CVmEeZvjj+848uEx9NiE0hsNO9SyGCFM+kP7F0D/k=; b=n/M4C3MPUYnk5fhdyH4iO9d6Tkxxkl6lNENz1XpAENim0i/NwRLduafOWHRvbpiQ/6 ki3ChSD5rpLvneZfOSin30mhoH7u5Td7SE/mfa62Oqqa8dVeTLMNkefgOrfOO+mUlhCH +IV4Y9HgnjUumlgV6hs53HHFD+00t9h3qt8qC/HUGjlnUYMaFFHw5qgMo+y8qLAex2vx /HoONID0wFKsK4g8z/cqYvowFGxLTqIfE5TFtx5b6TFqVu2oHn0R5vlX3eMHaPd3KMhC 59O/GNNUZ3WBB4+wy0k6PEWAMI55gVkeZqoK4UY5YoQCBo9ce9f0Ylim8GQWb4esEi2R KgbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794484011; x=1795088811; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=b2CVmEeZvjj+848uEx9NiE0hsNO9SyGCFM+kP7F0D/k=; b=h5oVdiYXki7On2M+aXzDzfpxckk3yHC4/a6+9PPGvXEqGXa/cFy7WMkfutn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ZhS0ZCkOjm X-Received: by 2002:a5d:5e83:0:b0:493:2eb8:e7d2 with SMTP id ffacd0b85a97d-499c7a2375bmr8878911f8f.41.1794484010602; Thu, 12 Nov 2026 03:46:50 -0800 (PST) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Alistair Francis , Baptiste Le Duc , Connor Davis , Andrew Cooper , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini Subject: [PATCH] xen/riscv: add cf_check to vcpu_imsic_{init,deinit}() declarations Date: Thu, 12 Nov 2026 12:46:47 +0100 Message-ID: <20261112114647.229806-1-oleksii.kurochko@gmail.com> X-Mailer: git-send-email 2.56.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-purgate-ID: tlsNG-d62444/1794484011-1D073757-45474EE7/10/73395122804 X-purgate-type: spam X-purgate-size: 1278 X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1794484037655158500 Content-Type: text/plain; charset="utf-8" vcpu_imsic_init() and vcpu_imsic_deinit() are indirect call targets, as vAPLIC's vcpu_init and vcpu_deinit callbacks, and are defined cf_check accordingly. Their declarations in asm/imsic.h lack the attribute, though, while cf_check is to be present on the declarations as well. Add cf_check to the declarations, so that they match the definitions. Fixes: 9164a97efbeb ("xen/riscv: introduce minimal virtual APLIC (vAPLIC) i= nfrastructure") Signed-off-by: Oleksii Kurochko Acked-by: Jan Beulich Reviewed-by: Baptiste Le Duc --- xen/arch/riscv/include/asm/imsic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/riscv/include/asm/imsic.h b/xen/arch/riscv/include/as= m/imsic.h index 639ee327dc67..217fc3d49b25 100644 --- a/xen/arch/riscv/include/asm/imsic.h +++ b/xen/arch/riscv/include/asm/imsic.h @@ -90,8 +90,8 @@ void imsic_irq_disable(unsigned int hwirq); =20 void imsic_ids_local_delivery(bool enable); =20 -int vcpu_imsic_init(struct vcpu *v); -void vcpu_imsic_deinit(struct vcpu *v); +int cf_check vcpu_imsic_init(struct vcpu *v); +void cf_check vcpu_imsic_deinit(struct vcpu *v); unsigned int vcpu_guest_file_id(const struct vcpu *v); =20 int vimsic_make_domu_dt_node(struct kernel_info *kinfo, unsigned int *phan= dle); --=20 2.56.0