From patchwork Fri Nov 10 16:30:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksii Kurochko X-Patchwork-Id: 13452547 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 748E7C4332F for ; Fri, 10 Nov 2023 16:31:26 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.630623.983756 (Exim 4.92) (envelope-from ) id 1r1UPY-00014b-UL; Fri, 10 Nov 2023 16:31:12 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 630623.983756; Fri, 10 Nov 2023 16:31:12 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r1UPY-00011O-FA; Fri, 10 Nov 2023 16:31:12 +0000 Received: by outflank-mailman (input) for mailman id 630623; Fri, 10 Nov 2023 16:31:09 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r1UPV-0005EV-Dj for xen-devel@lists.xenproject.org; Fri, 10 Nov 2023 16:31:09 +0000 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [2a00:1450:4864:20::62a]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 8c5d989b-7fe6-11ee-98da-6d05b1d4d9a1; Fri, 10 Nov 2023 17:31:07 +0100 (CET) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9d2e7726d5bso358955666b.0 for ; Fri, 10 Nov 2023 08:31:07 -0800 (PST) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id lv19-20020a170906bc9300b009a9fbeb15f5sm4128966ejb.46.2023.11.10.08.31.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 08:31:06 -0800 (PST) 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: 8c5d989b-7fe6-11ee-98da-6d05b1d4d9a1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699633866; x=1700238666; 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=SHzno6h9uBFGxGvjhFAjFnqQB/yf8OhaKSIoS/xZWz0=; b=nCxnm7Be9I+eYWPZ5Vnhf6sOUXo8jlWhBwSV+mkqMY8WE54bjvOw7vZ0V68mucGaXw Y77CgULLv1e0+NwgH/DlV3+Xs/QiMPpqUFNK0Lwlmya/Hlf54XwPnyvRdPhEDYlxmgGS TFSk5EIEMYYfpF/fOqseMEToM4cK9JfsKwkQJmVFs8nr7zfzCGKZhapc6K6RGV8diOlq gMJlmpQTquE3VGB2xztPBJpFSHOVarPR50BNWqa9fZzyR6WBVEzMcIQuqoqd3jBdzlBy 2lCu1nRWZwkiq9e3+pNUJSTAYufoX9zFv0rgTdkwsR73f/6kJ4DR90eX2cDicXdZE1z4 uKBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699633866; x=1700238666; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SHzno6h9uBFGxGvjhFAjFnqQB/yf8OhaKSIoS/xZWz0=; b=dUyrQbxVq25118mojwMko0SRSBwgmCJgtx3AkvhaSVY1yFA7PBKG+6bfIPVEdvkZ8X ERpsge/2VJ70A1G7Jn017yNkNeq20D476H93FwGfD5kYrMAtvlH0IyrXG1xbVlteB562 meO2sLYgg0n+2Mz8panXW9OSU6xN8xXcmAn3KiFor/3Psrfj7Stj/na9GVpxfmNoTvA3 D/fjIE60I+18W7UGnj5WvXQKS3YUJHJ8rAeQdDsmFYztfvtgMiwmfqFljVEskLI8Dagi sehezwVuIHYpPg4KKFOxuOdWFoP9To76YAa+P/udB3Sc7lG0t80QCM/YJZa8BMpwjgI1 BWUg== X-Gm-Message-State: AOJu0YwE46Co5yhBAnJQ1dx8LJRVHhGdEqlXchyI5uZjDjaFcVse/KUT z08eCXrUb664jClzy4BzDb78GrVOlyU= X-Google-Smtp-Source: AGHT+IG6L4ccTy35MbMPwMCMhtXb1QDKZ5Xsp9/zU8x68WGzI1cDUSAZZ7ndinthPI3J5QUO4b3eYg== X-Received: by 2002:a17:907:268c:b0:9bd:d7bd:1a52 with SMTP id bn12-20020a170907268c00b009bdd7bd1a52mr6805165ejc.20.1699633866276; Fri, 10 Nov 2023 08:31:06 -0800 (PST) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH v2 15/15] xen/asm-generic: introduce stub header softirq.h Date: Fri, 10 Nov 2023 18:30:41 +0200 Message-ID: <4eec527706ddeaa91ba1dbb6da723ad3e21c067c.1699633310.git.oleksii.kurochko@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 is common between Arm, PPC and RISC-V so it is moved to asm-generic. Signed-off-by: Oleksii Kurochko --- Changes in V2: - update the commit message. --- xen/include/asm-generic/softirq.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic/softirq.h diff --git a/xen/include/asm-generic/softirq.h b/xen/include/asm-generic/softirq.h new file mode 100644 index 0000000000..83be855e50 --- /dev/null +++ b/xen/include/asm-generic/softirq.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_SOFTIRQ_H__ +#define __ASM_GENERIC_SOFTIRQ_H__ + +#define NR_ARCH_SOFTIRQS 0 + +#define arch_skip_send_event_check(cpu) 0 + +#endif /* __ASM_GENERIC_SOFTIRQ_H__ */ +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */