From patchwork Fri May 17 13:54:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksii Kurochko X-Patchwork-Id: 13667030 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 7C1F6C25B7B for ; Fri, 17 May 2024 13:55:25 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.724184.1129412 (Exim 4.92) (envelope-from ) id 1s7y3K-0003HV-6F; Fri, 17 May 2024 13:55:18 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 724184.1129412; Fri, 17 May 2024 13:55:18 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1s7y3K-0003HD-1n; Fri, 17 May 2024 13:55:18 +0000 Received: by outflank-mailman (input) for mailman id 724184; Fri, 17 May 2024 13:55:15 +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 1s7y3H-0001sq-PW for xen-devel@lists.xenproject.org; Fri, 17 May 2024 13:55:15 +0000 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [2a00:1450:4864:20::630]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 15c412a7-1455-11ef-b4bb-af5377834399; Fri, 17 May 2024 15:55:14 +0200 (CEST) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a59b097b202so368001466b.0 for ; Fri, 17 May 2024 06:55:14 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a179c81b4sm1117456466b.113.2024.05.17.06.55.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 06:55:13 -0700 (PDT) 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: 15c412a7-1455-11ef-b4bb-af5377834399 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715954113; x=1716558913; 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=VaYdqVd0N5jds1aXT3FGFFYweAq5RLcPelehJE7+BNc=; b=PjT6iFQ0b9MePFbncqWjscHjBuDgXAWOgW9F0QzRzI8eQkhyti+29Io7o9wS+xvjfk Ns690r0Su2dvxNlJjqxxNt5bK8iS3B4oDyTpFk9+bJ5iGyMW8IOtaf9KsT09wulhza47 77ez+alQGdmHP4NmKz0yb/LbdlaMIVEUItn8eT07pUmbA8LMUtGmURxcU8NrJbUsl6sV K0Q0DrFG5UJHeavj/ZuRaDSzkaAX7bDqJcSyN0mtRFQFngmf+k35qP3XvS7ChY3eJYHy G6PUYqreyQMr5fqpI7kedqsLGAIXE8LPeTE5Fyzvi3ld8SzFwSNgxzB2oggP5115re/0 HfKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715954113; x=1716558913; 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=VaYdqVd0N5jds1aXT3FGFFYweAq5RLcPelehJE7+BNc=; b=HxzpZXwSMGWyUEKV3AFUf7IkQHQ+bHUrcKWbnsphPpxwclp/cXxHNVsvLDstMMNGL6 ozqv5+g1BJH8AoWYOwYGTazC3ODfNfx6sqKF05iMOFAZjDC9+Y1N7UPQm9y1a3EpVaBg jD6vbyh/VlSbVr2LN3ikzURR9a+zFSMzFeffJiSV1ga6aw3SHbKLv1YKmWcJMCsKCiYw BLF/IfMi02mHbPpAngw2Ifb7Fv0C4a6zFHVz3nscLGKHGLbIzjmB/Tp7dsLkcWGGH6Hv 2dYNtxKtKF5jcdrH1zk5EkmjNtOK952z7obSsMAm6yezjcYXOpkoKANw6FXk9D4SY4xx vOMg== X-Gm-Message-State: AOJu0Yz3lfbmuVI/j0FR9Gp3VjXwN1OeXfq+hF6povOmeCHHuq9blg1Y 538xl/FVOzQPrmHaI/eFiW4vilNRN4c43+TgZ1u9jzoPsBtFynpSlJn17nqr X-Google-Smtp-Source: AGHT+IGy29899FZzaOg6+XBBOUVhaI5Uf1BV0Etf4zSaNRlkTevfqHswC0eilVvkraM/HFGmuZ4Euw== X-Received: by 2002:a17:907:7b8a:b0:a59:9b8e:aa61 with SMTP id a640c23a62f3a-a5a2d5c9303mr1980189966b.35.1715954113608; Fri, 17 May 2024 06:55:13 -0700 (PDT) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu , Alistair Francis , Bob Eshleman , Connor Davis Subject: [PATCH v10 07/14] xen/riscv: introduce monitor.h Date: Fri, 17 May 2024 15:54:56 +0200 Message-ID: X-Mailer: git-send-email 2.45.0 In-Reply-To: References: MIME-Version: 1.0 Signed-off-by: Oleksii Kurochko Acked-by: Tamas K Lengyel --- Changes in V4-V10: - Nothing changed. Only rebase. --- Changes in V3: - new patch. --- xen/arch/riscv/include/asm/monitor.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 xen/arch/riscv/include/asm/monitor.h diff --git a/xen/arch/riscv/include/asm/monitor.h b/xen/arch/riscv/include/asm/monitor.h new file mode 100644 index 0000000000..f4fe2c0690 --- /dev/null +++ b/xen/arch/riscv/include/asm/monitor.h @@ -0,0 +1,26 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_RISCV_MONITOR_H__ +#define __ASM_RISCV_MONITOR_H__ + +#include + +#include + +struct domain; + +static inline uint32_t arch_monitor_get_capabilities(struct domain *d) +{ + BUG_ON("unimplemented"); + return 0; +} + +#endif /* __ASM_RISCV_MONITOR_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */