From nobody Fri Dec 19 07:50:53 2025 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=1692181911; cv=none; d=zohomail.com; s=zohoarc; b=MmeNOf9cpY0lBAf9XP5m+wUmOKxPeJNzOTz9ScT3r9mm5mVwJceWcizVRx32lsB6F+iAFiKwG8WA1NJVC4KQ+8LccHCiXzg81B88GjEmJKwjFSAloCIQtSnSEUQgC57fz9MqfK7eIwl1SpRDjGLrrrzvPD87rPFHq7xWsksF5OQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692181911; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=152YIcayb5lszzDNzvGMYHXYeb3oKu8LSJxFJQLQtH0=; b=WUwyBro2DfjbVmFxAFqVc7BHJu+pWMN2ayEcKTgF/PNAJLyoSQF9BKas5Wg8ekKWX0Cf/VNHpjPXi5Jql+z+E9YemdI7L9GxKv9JDertTqL0hybqbWBw7Oyb0n76idCNRz6eFO2dAfaTYFSBYakbihSKRMAQuZ2qFl/3RypmoTg= 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 1692181911143641.9403959288621; Wed, 16 Aug 2023 03:31:51 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.584451.915214 (Exim 4.92) (envelope-from ) id 1qWDo5-0005rg-21; Wed, 16 Aug 2023 10:31:17 +0000 Received: by outflank-mailman (output) from mailman id 584451.915214; Wed, 16 Aug 2023 10:31:17 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qWDo4-0005r9-SX; Wed, 16 Aug 2023 10:31:16 +0000 Received: by outflank-mailman (input) for mailman id 584451; Wed, 16 Aug 2023 10:31:15 +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 1qWDeB-0003R9-Kf for xen-devel@lists.xenproject.org; Wed, 16 Aug 2023 10:21:03 +0000 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [2a00:1450:4864:20::429]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 96ef6b01-3c1e-11ee-8779-cb3800f73035; Wed, 16 Aug 2023 12:20:57 +0200 (CEST) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-31768ce2e81so5613119f8f.1 for ; Wed, 16 Aug 2023 03:20:57 -0700 (PDT) Received: from 192.168.1.26 ([151.25.98.127]) by smtp.gmail.com with ESMTPSA id g5-20020adfe405000000b0031773a8e5c4sm20877843wrm.37.2023.08.16.03.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 03:20:56 -0700 (PDT) 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: 96ef6b01-3c1e-11ee-8779-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692181257; x=1692786057; 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=152YIcayb5lszzDNzvGMYHXYeb3oKu8LSJxFJQLQtH0=; b=s6G41I2rCnF0GZjdKHn9tiArLA4DAeXhBK1HtgPdA4dpmOUwGKO5w7VciXGu6m6sxX NfnvEKxviC3e9vK7t3CNq1unf1+SGhoW9HK1pmNApMPODUKcB2N91O0MsdOogzB0J5GQ FdkYgh9+Iaw/xvQpiZuyks38Gtl+EnUJkEqbGhkuckbKuCKkhXc+oY1G0cEpm6URRSpK uIFeSa0+7549GdChm+ytaFM5sSb/Tp7C04l2yeeU/edrxZg1Oh9SLfCl9byReUGEmOsa RAiXINibtcQRZmChg3JwuAc0QOU/KtJCS6Tv8EfIsaJCLMdp8Pbz+9bYk+Mg8z8PBDr5 g7mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692181257; x=1692786057; 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=152YIcayb5lszzDNzvGMYHXYeb3oKu8LSJxFJQLQtH0=; b=lokZ4GMIyjhoVwZ42vqQ9d8z4z1UpUGU8+IZ1vYHXoNE5l8yIyBO+U5KMLzjokcQrw O7UxJ/jlUKMZbysCoD5S1JewjhodMuX4qegjHf8YDQ79Uu8lM3Ir31YcggJWhF295O1l 3Zf9yB0r/gJDeAX/lIR43Obk7e5ng4+w+jOh8Q4genCH8OK3kYkq/BN+0nXKbqGxQWBa GeZ2+qpZnLojuMah97+O5mLRRYzPnsgq+xLr2y41QREItA9DdGXTCQsLCnFZ3u4ew9XG CfYNkNGb1iQ2EagPZ0WBTraCZMIr8Yiw8y2YSjDpfGnx6NUo4Hktb448e6FC1qXw1USI woYw== X-Gm-Message-State: AOJu0Yw1n5zzbNz9L0ifUvcpD6T7V96TnvwGC5tdC5FTqulFRk9hkmU0 Jj75ABt9S3IHF4nDHAkiD8bS2k+zqOVa29N5 X-Google-Smtp-Source: AGHT+IE5CGGor7/2ZbSn8FlufC5wlVX/jSlP2VpVxxbMeq3rzn3wzQebM40Aazre/6Iv4jZOcmreiA== X-Received: by 2002:a5d:4d92:0:b0:31a:cc98:a39b with SMTP id b18-20020a5d4d92000000b0031acc98a39bmr250544wru.40.1692181256752; Wed, 16 Aug 2023 03:20:56 -0700 (PDT) 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 v1 51/57] xen: add RISCV support for pmu.h Date: Wed, 16 Aug 2023 13:20:04 +0300 Message-ID: <2506a46733cf4a7dc1d021b83437165d61921563.1692181079.git.oleksii.kurochko@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1692181912743100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Oleksii Kurochko --- xen/include/public/pmu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/public/pmu.h b/xen/include/public/pmu.h index eb87a81e7b..801912900b 100644 --- a/xen/include/public/pmu.h +++ b/xen/include/public/pmu.h @@ -11,6 +11,8 @@ #include "arch-x86/pmu.h" #elif defined (__arm__) || defined (__aarch64__) #include "arch-arm.h" +#elif defined(__riscv) +#include "arch-riscv.h" #else #error "Unsupported architecture" #endif --=20 2.41.0