From nobody Thu May 16 00:09:44 2024 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=1694703464; cv=none; d=zohomail.com; s=zohoarc; b=md6hv5Lzfj+YQ4o9DK/8hwbdy2ZJdW6Qa5ph4tinEdp1jCNbg/Zh3HJJfBV+BgZAgxGBal8s9ostxHLuJMlcAenRLVMqJOt4zfQVMdJ2TW6/jFAYiTJ2bpW1UcIVX2aO0/tsMYLzuey47Fm93zLkOUQiXoOYlgFoGGGVjIQ47bU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703464; 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=psRu+gzM+CN17BrbiRKWd+xnQKlPi1ihAZzBPzmaXsw=; b=WN7nvAcy83VqvgIQIJs9hTPOGwlZhSK+ozKYMmni2wSopVPKCMXyZwpQsUW4dNXIYu3ehkRnOsrJrwcE+WEsN19a7Ry79+kGLvp6c+5MNhPLm8hHDCmE2QEJ0r3Q/7Lplr0HQSagCstA6XrNzwrNHtBmvHIzUkSZ4+IYTZ0Ba1E= 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 1694703464409496.78587092348835; Thu, 14 Sep 2023 07:57:44 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602354.938885 (Exim 4.92) (envelope-from ) id 1qgnmK-0002ru-Ey; Thu, 14 Sep 2023 14:57:12 +0000 Received: by outflank-mailman (output) from mailman id 602354.938885; Thu, 14 Sep 2023 14:57: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 1qgnmK-0002qi-9w; Thu, 14 Sep 2023 14:57:12 +0000 Received: by outflank-mailman (input) for mailman id 602354; Thu, 14 Sep 2023 14:57:11 +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 1qgnmJ-0002WX-28 for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:11 +0000 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [2a00:1450:4864:20::233]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id fa702ba9-530e-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:09 +0200 (CEST) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b703a0453fso17391411fa.3 for ; Thu, 14 Sep 2023 07:57:09 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:08 -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: fa702ba9-530e-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703428; x=1695308228; 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=psRu+gzM+CN17BrbiRKWd+xnQKlPi1ihAZzBPzmaXsw=; b=kY15qIGGm18c92F/3YtljHv9jG437fHTQNq56yO3eHtVd1EHN7IuZ/kxxeQqf1WNj7 ngLwg6/8RCYVkdieh5hrKHlX+3AXTtShY4f3h0JiRUs/5ao9qDvIdqj4r60Y/5/U899t VtKh4A8cQ7im/HfGCdGzDimiiGSt2eJsiXWyDlMGET1l65bv2xTdN78ckyauXGA1Bntz rUIcH5JZXTNicnZPU1LmldTMQDh/5txVw+XuYX+XAC4rJW/llIHqwdofy/2RzEeSvMaB BJ9zuHnr+tJ35eDI+ND6cDbWy67UCkzRP/atN2+Ghjmzy7oZHf9f8vxZ96dvQ9j+EjHE wLWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703428; x=1695308228; 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=psRu+gzM+CN17BrbiRKWd+xnQKlPi1ihAZzBPzmaXsw=; b=LucmSWaXqaIdZcfkwPsfilm+YK4bBLWN3qXfdu8kVHfpGniRl2a5AWeQGtckIgMu1g fvneOOsxBBD2+tPJodBdImJBBT+bSDgkHm/kGg3jtBAU0TJBQSVPIiFshfhQgI6BB3NM RTbY0Q3U3vyq1CKCOU6L/hdCSn3c6/MW3PMby3M1t9i9YaY+OYMo60jGSfRr0Ui6z9kj iQgURTkQWqhd9ZqKcTQJrWUzGKsINVC6bp8zJAijFkZ2Pjkuw6T6YNDZXHQF6gTRLgEm YF+kvnbfDc8FaarhMPut/aFQ1SithoeAmRuhjxNohsB1Q68rz1K8ncZ3XGUTi01vnAr6 YqAw== X-Gm-Message-State: AOJu0Yx/v3FWzNBgGByU6kh32LoKrrS4i8lTx38xIdyO1Muge15oOZsF UzQaMMYalNDlpaRKQ3XYtI/6W7lM+qc= X-Google-Smtp-Source: AGHT+IEXXQASyFIVlBV9gGHhZPLP+vFIQ5ymrvIqc9EFnKLMd4VmQkRuvuPZugWpAdOK8z0kZvTHHg== X-Received: by 2002:a2e:6e10:0:b0:2bc:b815:d64d with SMTP id j16-20020a2e6e10000000b002bcb815d64dmr5377636ljc.30.1694703428258; Thu, 14 Sep 2023 07:57:08 -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 01/29] xen/asm-generic: introduce stub header spinlock.h Date: Thu, 14 Sep 2023 17:56:22 +0300 Message-ID: <30743e7391ad474724258441b7ec83affcf6b230.1694702259.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: 1694703465915100009 Content-Type: text/plain; charset="utf-8" The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/spinlock.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 xen/include/asm-generic/spinlock.h diff --git a/xen/include/asm-generic/spinlock.h b/xen/include/asm-generic/s= pinlock.h new file mode 100644 index 0000000000..22a9ec5222 --- /dev/null +++ b/xen/include/asm-generic/spinlock.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_SPINLOCK_H__ +#define __ASM_GENERIC_SPINLOCK_H__ + +#define arch_lock_acquire_barrier() smp_mb() +#define arch_lock_release_barrier() smp_mb() + +#define arch_lock_relax() cpu_relax() +#define arch_lock_signal() do { \ +} while(0) + +#define arch_lock_signal_wmb() arch_lock_signal() + +#endif /* __ASM_GENERIC_SPINLOCK_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703463; cv=none; d=zohomail.com; s=zohoarc; b=HyveMpdVS57LMdF4JiWksXiLjNHSzqcR+kZzyROqTH8Vq4I4Yh8yfkN1sHip0uy9cnSLa54KuFdNCNwZ4W5NqGclHBA3ZyYdGQ+xveB+gf/XUkk1+dWY/5dNUxMbyfxbA3yAKL4kJC8qhCD9gmDeGhGc+I0recWFiWd9CBZisLs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703463; 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=3jEpXHP+OuMRsQeHRRUMj4I6Oo5C8G1ExV4GkIjkhtI=; b=iyOa1NJ6lmn+dl5mEeuwG1FVltpiY8z7xFN/4wilegVvVG6016odnHRevP+R7r1OI7IUfTxw0Xf63eJj0PeihwRcWJznwBietXG8JsnLnbmV2lQtPwmKAzfw3QS67cWyPQrdGXvNzgey+WQ67jMfmCxCxN5lRvtIEWPKxW4cKiM= 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 1694703463519758.7290894636723; Thu, 14 Sep 2023 07:57:43 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602353.938882 (Exim 4.92) (envelope-from ) id 1qgnmK-0002pM-6U; Thu, 14 Sep 2023 14:57:12 +0000 Received: by outflank-mailman (output) from mailman id 602353.938882; Thu, 14 Sep 2023 14:57: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 1qgnmK-0002pF-1s; Thu, 14 Sep 2023 14:57:12 +0000 Received: by outflank-mailman (input) for mailman id 602353; Thu, 14 Sep 2023 14:57:10 +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 1qgnmI-0002W4-Cm for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:10 +0000 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [2a00:1450:4864:20::235]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id fabca7d9-530e-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:09 +0200 (CEST) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2bfb12b24e5so16817971fa.0 for ; Thu, 14 Sep 2023 07:57:09 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:08 -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: fabca7d9-530e-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703429; x=1695308229; 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=3jEpXHP+OuMRsQeHRRUMj4I6Oo5C8G1ExV4GkIjkhtI=; b=nvjA5LY2GSLU9geYssUPn8L3eQ7wWGSFXo8wJXazO6+Ko5xHcMCi9K9nHHYRwhorAf 4uzrWL12vC4MWEmiGzPwER4VDEEPKTLA1iudRAMm0khCXqL5orhQiAM1QgvALoNpn4Ie sRD0XpRaf+0GnsPXOE4pN68Sngm/FtzY3h4DtbDIZgbqQ4lgD4WcWvi2Pj2UmHxqWWhA gnfylb8lmymYgevFb9BKVx7BuMa8clJLEDNRzxmiNqk6S/kKDGJl9EwBPC9JJ3WDAxS8 8Fh96sH6CCcCBVUuXx6tCbqjonycJV2Chbig8oqVtToe0gJL09MIctehmGH1FRQy7xWi ydUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703429; x=1695308229; 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=3jEpXHP+OuMRsQeHRRUMj4I6Oo5C8G1ExV4GkIjkhtI=; b=aHgsQ8Qnr9qLRtSsPDTsfAyAcvnYX3fW9Pc3p0MFr9GlFG4dMtP+sSGr3DVABvaoKs HtqppxBLpNoBh/XNN3LYrFpZqLETeQ7iQ0MAoIajFXWV8Novash707n1b16VZtHJm1eC sT1nSCoBTTCU/Z5NYjqAwVd7ysV64PyW2hwJlxkI4I2znH94oX0urTXZbx17LfsZbE5U 2Zw7ieF+LloYEqxEU2v5BuUSYMnInhF6PVeGxByFXkF/Fusut8yrOk/B7n+JrLe1gDMH hFrFZfY+V9uAESLxduRXzrU1adqDJGujoezK9YpwpSyy6l5saDR5hzN89mvquFKM6Lh2 0EDA== X-Gm-Message-State: AOJu0Yzm99yL69HQhJ7TpFbo8VHW6fA+kuWgFJG6+RAOUcM29XswQh2/ C13LTDn4IrauIbKLuDlt2CV3k5F/Tag= X-Google-Smtp-Source: AGHT+IG28LRx3bM/lBmXIL99Mez49cq8lnL140PqPov3Oi+Y8Qtqvu8H8YR2MZUDNug7uHjuKZORSQ== X-Received: by 2002:a2e:9d90:0:b0:2b9:b9c8:99 with SMTP id c16-20020a2e9d90000000b002b9b9c80099mr5629230ljj.22.1694703428934; Thu, 14 Sep 2023 07:57:08 -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 02/29] xen/asm-generic: introduce stub header paging.h Date: Thu, 14 Sep 2023 17:56:23 +0300 Message-ID: <5def596788d602b9b34302630c91644952c7115d.1694702259.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: 1694703464068100003 Content-Type: text/plain; charset="utf-8" The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/paging.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic/paging.h diff --git a/xen/include/asm-generic/paging.h b/xen/include/asm-generic/pag= ing.h new file mode 100644 index 0000000000..2aab63b536 --- /dev/null +++ b/xen/include/asm-generic/paging.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_PAGING_H__ +#define __ASM_GENERIC_PAGING_H__ + +#define paging_mode_translate(d) (1) +#define paging_mode_external(d) (1) + +#endif /* __ASM_GENERIC_PAGING_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703476; cv=none; d=zohomail.com; s=zohoarc; b=fVcZi8Jdgc1SpG2w4PvNo2yg1Kea30/8LuMoSMeicuLFzBJVtX9K90Va/GWB369WK+lOhXEVerOs9FwFei96pFgFL4ueoxyF/EQTk8js4AVb0zUbDHi9GVzLkl7BN3ZGRw/5EEaDYHOSdnEr0Wv2OdMTRYcOG662rC7ctm0WhFo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703476; 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=/zDDTwDOE0/1jXRUL7qB40DNiEiInQL/Y1uSME8BtmQ=; b=HR/Ap4PgoznZ+XbUo8P3S7WpMDKOBZ7wD1KBE3/MdbSzHVfwPV13Lw1zEhoymBgMLtigvj2xYj/v7OBH4/5F0P9D1TQAuZxlVJ1gJLx4cdsagF0nOc2sAHWikepfI0c0kxHWftkNZnqDyviUgDciQuMV0nuWce2XtLeC7T5wpZE= 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 1694703476199546.9868217123064; Thu, 14 Sep 2023 07:57:56 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602355.938901 (Exim 4.92) (envelope-from ) id 1qgnmL-0003J3-QM; Thu, 14 Sep 2023 14:57:13 +0000 Received: by outflank-mailman (output) from mailman id 602355.938901; Thu, 14 Sep 2023 14:57:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmL-0003Gq-KS; Thu, 14 Sep 2023 14:57:13 +0000 Received: by outflank-mailman (input) for mailman id 602355; Thu, 14 Sep 2023 14:57:12 +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 1qgnmK-0002WX-3Q for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:12 +0000 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [2a00:1450:4864:20::230]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id fb32b320-530e-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:10 +0200 (CEST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bcb0b973a5so16352151fa.3 for ; Thu, 14 Sep 2023 07:57:10 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:09 -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: fb32b320-530e-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703430; x=1695308230; 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=/zDDTwDOE0/1jXRUL7qB40DNiEiInQL/Y1uSME8BtmQ=; b=P+41IGRrakrKripwlIiD9MYkh8YFTMk8gHXDi5GaFc5jQZd+bl0Za6+iLEU9nndQMO Id7fWatYg2q35cAeB6uCN4wi7rWSxGMmJhtulBML7cUjgTQlOYer5tHB2GD0Y0FwvOKE 0yL6UiOVHmjSCqNZpjLKTvxw9iYXYZ5rTZoqz+pGqEo3PhE9DneNwVEVgPHh3vtqMVYU 98P0NFzMqrH20/gR75DntjvB13TaBjWddHd0bYmVX2yLIKfYQo2Jq5Y4mdzvfHxLrvQ3 GBI7XoN0B1Sk6NzsOAinPRk60fgKYotsywFgqSLkQ0J6PtFM2gxCc7p1ZPEDGDO/V6kL R36A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703430; x=1695308230; 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=/zDDTwDOE0/1jXRUL7qB40DNiEiInQL/Y1uSME8BtmQ=; b=cpJYOvUXSyiuZjH2mH9MfCrO0vNAUwe5o9oXQS3/dwwMe+IGNosLF5xviKPsrxDYbq j0rG8rEuAQThcXeJOkmmfojhWWnRu7Vb5lvLutoxyEQwkrjq63Iza7OeCyD/LP62raI6 RjHpfQrn3W4kF1arBKvTysGBjpOGnv/lmKZrx/KRT2Sfk1lE2A9AuQcFVFX56xV0FDqW vnxGysGYydcDgLtS+criLlMkUVJl9iVsbwqbJ0FEC4t5/LkX6EP1/bQ5VZs8cYUemWAo JzGz9pVIKpihN3sogLZX7gqY9NvDruGzl4HdMkcRMUvqqY8PwQGch7okwDk5pv4KlRZa 8+KA== X-Gm-Message-State: AOJu0YzHmIc32xwZQPXsIDXyZE6hMkTKj7A5CFTQb33DF0Ttj1Lbdhvl duVxzaXL5Z6UYL8KY5CyLcJUCOSXCMk= X-Google-Smtp-Source: AGHT+IFoZ0A8rgK6AQvchbbrAOZodjA7xlN9nYRxm/YKnEp+YTFDJDf1bt4T9gO02KL2vKUduyFP8g== X-Received: by 2002:a2e:3c0b:0:b0:2bd:14cc:ab1b with SMTP id j11-20020a2e3c0b000000b002bd14ccab1bmr4986642lja.44.1694703429763; Thu, 14 Sep 2023 07:57:09 -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 03/29] xen/asm-generic: introduce stub header cpufeature.h Date: Thu, 14 Sep 2023 17:56:24 +0300 Message-ID: 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: 1694703478350100007 Content-Type: text/plain; charset="utf-8" The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/cpufeature.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 xen/include/asm-generic/cpufeature.h diff --git a/xen/include/asm-generic/cpufeature.h b/xen/include/asm-generic= /cpufeature.h new file mode 100644 index 0000000000..86e2a8b455 --- /dev/null +++ b/xen/include/asm-generic/cpufeature.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_CPUFEATURE_H__ +#define __ASM_GENERIC_CPUFEATURE_H__ + +#ifndef __ASSEMBLY__ + +static inline int cpu_nr_siblings(unsigned int cpu) +{ + return 1; +} + +#endif + +#endif /* __ASM_GENERIC_CPUFEATURE_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703460; cv=none; d=zohomail.com; s=zohoarc; b=ORYpHFF56dZC+JLelXDKI4dqXJupKOn6V2woD5mEBD2RHuJ1kONvcNukhGQbLlx6FvJ2U/+UnEGSV6oDR5srjQOOzZGJBHtB594LXTPx+01T9uZsFYSg9duyTok63OIW+OkrRCdoLhtlT5l6YCShgzXOItTNMYVptlQjyFrqGlQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703460; 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=u1QnQP4FV4x1+MRf6vUoDUIxoKiv+APN/HEwJJ83S9A=; b=OrruMYK2bCeKTYGGFyyAIlXRO/KLwIcpV+pKbOVN5TdBSlJIuYRUp29ICfxbJBvq5KjFRm6c4er5o7DJw3LueDE7KE2bZO12iLkRCQxm1lEo5vY9mZyHGA+Cek+uH8vZCncN/ZpkqNDYAf71xB5Br/B7yhM6eGX9uNy+U+pLiY4= 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 1694703460896508.66917198836325; Thu, 14 Sep 2023 07:57:40 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602358.938925 (Exim 4.92) (envelope-from ) id 1qgnmN-0003z4-Tl; Thu, 14 Sep 2023 14:57:15 +0000 Received: by outflank-mailman (output) from mailman id 602358.938925; Thu, 14 Sep 2023 14:57:15 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmN-0003xy-L6; Thu, 14 Sep 2023 14:57:15 +0000 Received: by outflank-mailman (input) for mailman id 602358; Thu, 14 Sep 2023 14:57:13 +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 1qgnmL-0002WX-5M for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:13 +0000 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [2a00:1450:4864:20::235]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id fbdc96cb-530e-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:11 +0200 (CEST) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2bfb0a2682fso17380141fa.2 for ; Thu, 14 Sep 2023 07:57:11 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:10 -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: fbdc96cb-530e-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703431; x=1695308231; 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=u1QnQP4FV4x1+MRf6vUoDUIxoKiv+APN/HEwJJ83S9A=; b=mzEpfgKMFcLz3DaJgPL0AIS3/hc29fhOhnKbgkjtTALtvUXtg6SajwUdtGPyc3VwoS aTfppKwcmg9JAzUZ7CzZzvqk5KIOAc3GVMY0CWzKxPsr/ISpctatzIckofMgQz9axrEC QrL2pEGkS4DeyAun1mKmZ6j6NPJvIgBOsWfeJHo4ZUeyihG2LNR7tRwWntLRG7SXs2Zs Mh15AKVgua/CQ67oIRLlR7F9YDignZQF6WVvARXJB34Hl5RSm6EjvDcpgXH+chlm8l40 iD2ByFlWdwZ7f2NaYdbpS9Qumyoc0F9tJvmqp3C/2TNf4oxo2xSMAy4crDaemPVUFnk4 zsDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703431; x=1695308231; 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=u1QnQP4FV4x1+MRf6vUoDUIxoKiv+APN/HEwJJ83S9A=; b=q48bxWiieFDfqpDbNQDNijwmX54eG9bKiwsoI6I/gkGoi5NXNztX/xYM4gLGb0HGwi MgsU16UbYsSzmIQl4dQ9gQGNAtc0EiClWvvTqn69U7Ppl7E9AjvQ/aAuN6GbnN0DU6la UWj8KG8C4rvyNQl7OYj+KXGqt3IzDamXhDRv01nEP0gkDRFMt3ecNXOicQVXBZK4Bdls DvhR6i6c0YXq8pHG8vkRg5GggySoj98okmWvBJUZBWpa7XNOYwDkRLRvYd1jafNeT4qA SvHsZVRPT1tpRTRPxOovmsOaLOfCIBPFUNKKBUnkH0r4QGn8mssVOSKcfCLmzE8UoXdb 46IA== X-Gm-Message-State: AOJu0YwOIjOYF4fbwceBzA8y8XrQZuQRcMC7+Br/2s8adX5PEZIKyJuK yqPoS9JS2v9cke3davkMWpbNndfannc= X-Google-Smtp-Source: AGHT+IGxMUoYxVZ41O0EyhntREPIb/EUffUQofUYjhCKQGYsZNVLPhQjb5tDZEoCLWYNHChqXu/jCw== X-Received: by 2002:a2e:b00e:0:b0:2bd:bc9:30aa with SMTP id y14-20020a2eb00e000000b002bd0bc930aamr5392840ljk.23.1694703430551; Thu, 14 Sep 2023 07:57:10 -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 04/29] xen/asm-generic: introduce stub header device.h Date: Thu, 14 Sep 2023 17:56:25 +0300 Message-ID: <3cc9ecc3abcd21c5ed7276b01bf5963e6a5fd5e0.1694702259.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: 1694703462011100001 Content-Type: text/plain; charset="utf-8" The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/device.h | 65 ++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 xen/include/asm-generic/device.h diff --git a/xen/include/asm-generic/device.h b/xen/include/asm-generic/dev= ice.h new file mode 100644 index 0000000000..66e69ecd78 --- /dev/null +++ b/xen/include/asm-generic/device.h @@ -0,0 +1,65 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_DEVICE_H__ +#define __ASM_GENERIC_DEVICE_H__ + +struct dt_device_node; + +enum device_type +{ + DEV_DT, + DEV_PCI, +}; + +struct device { + enum device_type type; +#ifdef CONFIG_HAS_DEVICE_TREE + struct dt_device_node *of_node; /* Used by drivers imported from Linux= */ +#endif +}; + +enum device_class +{ + DEVICE_SERIAL, + DEVICE_IOMMU, + DEVICE_GIC, + DEVICE_PCI_HOSTBRIDGE, + /* Use for error */ + DEVICE_UNKNOWN, +}; + +struct device_desc { + /* Device name */ + const char *name; + /* Device class */ + enum device_class class; + /* List of devices supported by this driver */ + const struct dt_device_match *dt_match; + /* + * Device initialization. + * + * -EAGAIN is used to indicate that device probing is deferred. + */ + int (*init)(struct dt_device_node *dev, const void *data); +}; + +typedef struct device device_t; + +#define DT_DEVICE_START(_name, _namestr, _class) \ +static const struct device_desc __dev_desc_##_name __used \ +__section(".dev.info") =3D { \ + .name =3D _namestr, \ + .class =3D _class, \ + +#define DT_DEVICE_END \ +}; + +#endif /* __ASM_GENERIC_DEVICE_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703455; cv=none; d=zohomail.com; s=zohoarc; b=bmLJgFuiqjFBh+I6Z6bvsg7ltQPfBlTGw/XOMFaFMf6TQXG/+EOO4MuxoyxlD0vjn5axoSwyRlxfNRCE5YXzOebqVBTcIAlRy1KiKJKyE338nYD01W1OTRorcB/Ep46d4M4zHbYxUGUliiNsK2xkLI9u0fLljCImuaFr4dBKbsg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703455; 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=svTWqdPYc3ftSZpDKuUWuYkTn6Vp//dh2r2RtkrDP2E=; b=OWGRDlrGZeXzuteKqpqoJG9q69Qs9MKrAqgz+ADGCddVdSntyhzEH/qd1rc14ta84pJinrMNsix3hX6MWKX2G7LnwSMI8THc4/JFzI6UMskYD+vPqHc7Z1SgOLD1q4k8XVsD0Mmo0Yt1QREHVru2c2JmNW/NjTM+E1Exh5tbcgI= 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 16947034550691003.5505627958652; Thu, 14 Sep 2023 07:57:35 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602356.938906 (Exim 4.92) (envelope-from ) id 1qgnmM-0003PE-5V; Thu, 14 Sep 2023 14:57:14 +0000 Received: by outflank-mailman (output) from mailman id 602356.938906; Thu, 14 Sep 2023 14:57:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmL-0003OC-W4; Thu, 14 Sep 2023 14:57:13 +0000 Received: by outflank-mailman (input) for mailman id 602356; Thu, 14 Sep 2023 14:57:12 +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 1qgnmK-0002W4-7t for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:12 +0000 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [2a00:1450:4864:20::234]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id fc029670-530e-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:11 +0200 (CEST) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bfc2b26437so16160121fa.0 for ; Thu, 14 Sep 2023 07:57:11 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:11 -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: fc029670-530e-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703431; x=1695308231; 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=svTWqdPYc3ftSZpDKuUWuYkTn6Vp//dh2r2RtkrDP2E=; b=XUy1GQBbwZr909HCD9mH92fQ2n9A+WQsYRO1ca2syYNuftSzrw9HWM9fscbnH7CPtl h0YvhgqnfN+UFHto8xsrCPvM3oOyzT0CjZoR1McCOXVjap2IiF8BHsiOYiXd+AmaxD4j qHUppktg3cHWIx5lGU5r/Q+N4dzUnvG7/SdPjm0EEaWtBb8ErVXakwRnK6C/EPJ+qjER vtz700BabUI8xW8Whos4yphk3lO0sZ7EpArGMNay+WJthIf+5vWrYPnEDzjF5x0qRN4P y9N/xXlUFwI5Ioz0a6i0Ox7/9bg0ou3rnclsnxeHWVamPO/c47ftvCxrhvYu0ht9oW7O ubIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703431; x=1695308231; 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=svTWqdPYc3ftSZpDKuUWuYkTn6Vp//dh2r2RtkrDP2E=; b=UY+m5NhZLMR5sq6SjqQwI+cibe2D6qjaxpsNwyPbrleMaAnmMbtFf55Rsu1/T4X4nt oo7ik+u7tsUBzMzd0eXQ6ZvW1SXRqbF1Yt7xb/d2zzd1fVlPx+aWQAtsoucx5uTsyQUH 9czGvEObQVhKRp/BCmI2dxRfczHeopU1Dv3bn4PVQ/5WHg6U3pEkhVKbnxmFPy7QwttK 5K1QIv3DCHZw4iXJuYUsTWzphHqZ2yW6wgD6hC81PDyxo46FxbuNqDlDdP0/KGGHvREw xsXUxsJe+dfgJMJuzUWK95DAnIcxPm3y/pdxK2otHiTijDq+947lbjHRbGRwSAoMq5pm 9x/Q== X-Gm-Message-State: AOJu0YxVJIZIYgJAXGThlKXRNra+EtcEtW+WNQ7vAjauYEgMB+bdYjEt iavckPQIPxbKesp64NckXRI/TqT+QkI= X-Google-Smtp-Source: AGHT+IGSzGN+thgWV5HA2e1EpC6tTCT3RVL7noSwopFanb0rR30SRaZ7g6RhKSuz6ZkzQh56VdH+sg== X-Received: by 2002:a2e:93d7:0:b0:2bb:9781:1a4c with SMTP id p23-20020a2e93d7000000b002bb97811a4cmr5066743ljh.27.1694703431205; Thu, 14 Sep 2023 07:57:11 -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 05/29] xen/asm-generic: introduce stub header event.h Date: Thu, 14 Sep 2023 17:56:26 +0300 Message-ID: <69563e3f41cb6971f93630d9df59395f159bd3c4.1694702259.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: 1694703455961100001 Content-Type: text/plain; charset="utf-8" The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/event.h | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 xen/include/asm-generic/event.h diff --git a/xen/include/asm-generic/event.h b/xen/include/asm-generic/even= t.h new file mode 100644 index 0000000000..d25ba36aad --- /dev/null +++ b/xen/include/asm-generic/event.h @@ -0,0 +1,39 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_EVENT_H__ +#define __ASM_GENERIC_EVENT_H__ + +#include + +static inline void vcpu_mark_events_pending(struct vcpu *v) +{ +} + +static inline int vcpu_event_delivery_is_enabled(struct vcpu *v) +{ + return 0; +} + +static inline int local_events_need_delivery(void) +{ + return 0; +} + +static inline void local_event_delivery_enable(void) +{ +} + +static inline bool arch_virq_is_global(unsigned int virq) +{ + return true; +} + +#endif /* __ASM_GENERIC_EVENT_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703483; cv=none; d=zohomail.com; s=zohoarc; b=GkSBCtJvGi2u2NFhVixf33NLKqaqFoOLZLKkfDdzJ+mNp2VVJTnMRQk5F+CmoO0iF3w0EwxDNGpkhbBtvh9UHKorxyeq/V+NzLGnDZP3ZJ4mL+EBM/7RB2+g6tNFojI2r5RQFjv5YM+D9Yu8zmR6jty3A8LcHD911zyOHg6+5B8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703483; 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=DnrZ/AmdCqfNq1dsaQTi3pnInRO1wYchAayEqPy5DtU=; b=bCdTejoX7gm+vop7KGq+JQqvPRk0xWwShlcUtO1uEk+nsyaZIYcwFwVpkBNiOMdIARRfGw+FdppjFjH6WG4fzo8/Uzun8rk1zCYuucMh0sVvKvRsqhHsHP5pjGOs1o1lLT2KNDL4hVBCromkzmt8yN031LiqyhjY6enPLoI70aI= 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 1694703483839127.78112838218749; Thu, 14 Sep 2023 07:58:03 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602357.938919 (Exim 4.92) (envelope-from ) id 1qgnmN-0003vt-GT; Thu, 14 Sep 2023 14:57:15 +0000 Received: by outflank-mailman (output) from mailman id 602357.938919; Thu, 14 Sep 2023 14:57:15 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmN-0003u9-8D; Thu, 14 Sep 2023 14:57:15 +0000 Received: by outflank-mailman (input) for mailman id 602357; Thu, 14 Sep 2023 14:57:13 +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 1qgnmL-0002W4-0W for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:13 +0000 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [2a00:1450:4864:20::22f]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id fc74587a-530e-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:12 +0200 (CEST) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2bcb89b476bso17524671fa.1 for ; Thu, 14 Sep 2023 07:57:12 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:11 -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: fc74587a-530e-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703432; x=1695308232; 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=DnrZ/AmdCqfNq1dsaQTi3pnInRO1wYchAayEqPy5DtU=; b=SWPezd5cwS4hEBDJFtPlbCCbghk6ER0/ae5v26Y+e8MMJfvHhMLQ2NE3D253qM8E4f kl0CcXpr1Fj+KApTLA4fJwxVOUuUPW7z4UI6ykM1Roe9kLV6NEGfSQu92qs3O77wBVY0 Yf+4c3oeg80vseQc88E43OI0aNThy1of1TdHphY21st+pvBLszcWxLU/lAj9XBFeshu5 2xc0JG3XNgtBXweN7GfkiWWuCE9yGUqFfI4JXTapwLSuNzdSVi85XM5QfdGGx5ZOzGxI cY/AFrkg2NvK0iNXh7yFaf0a77ettmFJFJJUu/59LlD61LUSv6YMTbd8IG2YGcAe/Zc9 J34g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703432; x=1695308232; 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=DnrZ/AmdCqfNq1dsaQTi3pnInRO1wYchAayEqPy5DtU=; b=hy1ilJIQLz3DNqRrJOPHxV9KBwx12VUdvi8JBLWAyHCbIArFQKUAHBkB3xph9dk0Xp wWUC9izHNJGUA/HoB3stYy2XwDeuPS0wLT6RuX4vE90pktbd0haLtNTnBFuCVeP0HJtH 9D+h1ozrXJkoOgrB7woY0NSs3fJmdMezFf9Wbo+zLXzXyp5UAEqWcoU+r3kGaJiJ38jK fvO3ALRhXD10t42XagmcKC5SG5k6HL78Z2Wpq5v9fA046QK2lNV8z8eOarhfp+Ympv1x j78JI81XDPFuMmh0VRTdIRHey0Mb0jCFSIuHqZNhIyoEtbjQvmjqNd2JSC1zBioiKcZk Y2kA== X-Gm-Message-State: AOJu0YzycRyE7fPbSftVjYogdQmD8wLcofO80vNN6S5mD7Y+RXF0TdfN PUoaZcY9DTMvZgsjMJji6JfyLQwOmfM= X-Google-Smtp-Source: AGHT+IGLaHC2tTJhb9pwr5tg/S3L9996rR8Rg4Lyo8UK7mYY3EfyvA05BRF1zgwyQZhTJBhS9HtegA== X-Received: by 2002:a2e:3514:0:b0:2bc:f439:b5a5 with SMTP id z20-20020a2e3514000000b002bcf439b5a5mr5133368ljz.14.1694703431925; Thu, 14 Sep 2023 07:57:11 -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 06/29] xen/asm-generic: introduce stub header grant_table.h Date: Thu, 14 Sep 2023 17:56:27 +0300 Message-ID: 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: 1694703484411100003 Content-Type: text/plain; charset="utf-8" The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/grant_table.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/grant_table.h diff --git a/xen/include/asm-generic/grant_table.h b/xen/include/asm-generi= c/grant_table.h new file mode 100644 index 0000000000..bd8d85f1ff --- /dev/null +++ b/xen/include/asm-generic/grant_table.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_GRANTTABLE_H__ +#define __ASM_GENERIC_GRANTTABLE_H__ + +#endif /* __ASM_GENERIC_GRANTTABLE_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703464; cv=none; d=zohomail.com; s=zohoarc; b=RvWT9T8scmwyDGVPZRC98MoLZfuypzrQm68za/jJIQWBTHgcOmLnJ/TiWInDuXXKrxtVq9aZtUg/1X9mF8N+gxJCM0GbdLIyXOKBUUR6EKa+DAxbCyrocmn8wlZ2PD2t1B8h3Os8mRSMaa1D9w+5Dnj0Iom2typpDaLlSeEJ+5o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703464; 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=T5FVW5lFgXbPxKRgrUE4uLRflweOsPkQ4ZLusD9BFg8=; b=GlJz1IYr7r6FZ6dotptMFDE9jMllTHsNkmj44iLTJ4ef9TW39mFXT9P3oD4Szx4a3YuYQJUoL/Wr0uXC0SH8yObMf+yHSpo29JmXfFwZLEPrr7es1RtsZOvAl0QmHOXNm4aA6mREXNARDLHY33yXABef5TRPgSPCzJFs+1tJG6M= 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 1694703464652549.7660346409994; Thu, 14 Sep 2023 07:57:44 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602360.938937 (Exim 4.92) (envelope-from ) id 1qgnmP-0004KR-5O; Thu, 14 Sep 2023 14:57:17 +0000 Received: by outflank-mailman (output) from mailman id 602360.938937; Thu, 14 Sep 2023 14:57: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 1qgnmO-0004Gw-TU; Thu, 14 Sep 2023 14:57:16 +0000 Received: by outflank-mailman (input) for mailman id 602360; Thu, 14 Sep 2023 14:57: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 1qgnmN-0002WX-4H for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:15 +0000 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [2a00:1450:4864:20::231]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id fd05cec2-530e-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:13 +0200 (CEST) Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2bcb89b4767so15732981fa.3 for ; Thu, 14 Sep 2023 07:57:13 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:12 -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: fd05cec2-530e-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703433; x=1695308233; 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=T5FVW5lFgXbPxKRgrUE4uLRflweOsPkQ4ZLusD9BFg8=; b=cljFYE1UwQScuPiKUuHkUD6lwaOewCU7kUW6hZXTg4NOCFDZ4iNpNS1vqOrnPSuL9v IDFGutBynE67oom0HNg9vB5ziakMO8RmgO2ErHIY+EHbBdEVxVnSKhY0+AYl4wUKZV1s S6ZR8hQ25V9j+R15Ycx39GOuNmwodORkLOUUNJT8HlP1zIL8kLC1/Nl2NWeJIiIe6kOz OEy2Z6xQJRvZLqwOHKWYq4Ssy/chVIXt54K4d4O/o/wRc8ehHIvN2YsiSBevyHOuxlvl iZjh+r9d7m5ga7CL4P7g3Hc4BRnLbEMwfvHhA08obbhM46gX2pmhkEB4xRH0Na9VSOLb HfIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703433; x=1695308233; 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=T5FVW5lFgXbPxKRgrUE4uLRflweOsPkQ4ZLusD9BFg8=; b=OdIWIaqFD18MgODfom5CchDq5Ei+TvUALodRJjiOjyWAPm0UBkDk38nhWWrP3Bi7ad 8z5Pv9/vW8yUMDVDYB/WUqMy+Mnw8SKxAp4mn2+neTtcmDZLYtUtCfsaDrj5OfJ3ZP5i mnrXeHLtHVM9HwrKlydcNPrwLCfE1CKboR1Nx4RV03m1zi465Mei62rfJkp5LTil1Eso jmUIjTfQwhBnHC0hOPjvO1f+rcOatPvDl4yFH0VNX6vyVmksFh+yuu9U5mN/p4CqAw6y msQ3rM2A0Q2hz9SHUYniy7NUJLan/lF+W0dKBgtHqsLYyM7Ki6YZi5l/5Mm10PcqKEhK 1Z5A== X-Gm-Message-State: AOJu0YwX0UqbbP0Vw9+44RxtgUzxS7J/bu6XMf3JWmZ+Fn+nekL6fxG6 Pyg1Dv1mUSPrVYlI/of+iV4vQHlap4c= X-Google-Smtp-Source: AGHT+IElB/BHMWUB5mcY+Z4K/FtyqkkGTLUirJQ2ikpAhSDN72YU33+mS9+23YZrIt2HJ21oIA0mtA== X-Received: by 2002:a05:651c:10d:b0:2bc:b29e:8ff6 with SMTP id a13-20020a05651c010d00b002bcb29e8ff6mr5141859ljb.7.1694703432878; Thu, 14 Sep 2023 07:57:12 -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 07/29] xen/asm-generic: introduce stub header guest_atomics.h Date: Thu, 14 Sep 2023 17:56:28 +0300 Message-ID: <96473b36fdfbb62eba8cd207cd8701f3827207d4.1694702259.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: 1694703465813100006 Content-Type: text/plain; charset="utf-8" The patch introduces stub header needed for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/guest_atomics.h | 47 +++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 xen/include/asm-generic/guest_atomics.h diff --git a/xen/include/asm-generic/guest_atomics.h b/xen/include/asm-gene= ric/guest_atomics.h new file mode 100644 index 0000000000..6c4e79350a --- /dev/null +++ b/xen/include/asm-generic/guest_atomics.h @@ -0,0 +1,47 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_GUEST_ATOMICS_H +#define __ASM_GENERIC_GUEST_ATOMICS_H + +#define guest_testop(name) = \ +static inline int guest_##name(struct domain *d, int nr, volatile void *p)= \ +{ = \ + (void) d; = \ + (void) nr; = \ + (void) p; = \ + = \ + return 0; = \ +} + +#define guest_bitop(name) = \ +static inline void guest_##name(struct domain *d, int nr, volatile void *p= ) \ +{ = \ + (void) d; = \ + (void) nr; = \ + (void) p; = \ +} + +guest_bitop(set_bit) +guest_bitop(clear_bit) +guest_bitop(change_bit) + +#undef guest_bitop + +guest_testop(test_and_set_bit) +guest_testop(test_and_clear_bit) +guest_testop(test_and_change_bit) + +#undef guest_testop + + +#define guest_test_bit(d, nr, p) ((void)(d), test_bit(nr, p)) + +#endif /* __ASM_GENERIC_GUEST_ATOMICS_H */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703463; cv=none; d=zohomail.com; s=zohoarc; b=ARjV5UN8fYf1SdqIVy8I72wzWjRJ1+mWju6CtjHfhEwX6vWgzeMX0itdkXE3gPFaBdCULU7i780139P6ihhsZpDrShHeUpvNt84z/P3J0TeNKne1y21Hz1MWhqS0g8Oqz6l7pLkGxmlxFIaVLloqordrEzUoFVZ9/wBw68lhZvw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703463; 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=H87nIzFyKi3Nj19NY5+iR4gC6MDMil9IpKyKy4GmQIY=; b=YWM3L76/NSPh/jtzE1DQQlrrs1WtycOwjvKrrDwml93DgS9eeGDw2AJ0soEJ5tqRBmDitfg5WsvCg7GHxvxnLKQdtBARyfNe8pLMNvOXs+qWe7pEjl/z/sdks1yoPEYZLB3EjniHxKY7VPDA3tJ2jcMoVB5syTEXdaIyux91iAU= 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 1694703463683673.6992657525949; Thu, 14 Sep 2023 07:57:43 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602359.938932 (Exim 4.92) (envelope-from ) id 1qgnmO-0004EN-P4; Thu, 14 Sep 2023 14:57:16 +0000 Received: by outflank-mailman (output) from mailman id 602359.938932; Thu, 14 Sep 2023 14:57:16 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmO-00049S-GR; Thu, 14 Sep 2023 14:57:16 +0000 Received: by outflank-mailman (input) for mailman id 602359; Thu, 14 Sep 2023 14:57:14 +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 1qgnmM-0002W4-Qu for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:14 +0000 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [2a00:1450:4864:20::230]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id fd868efb-530e-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:14 +0200 (CEST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bfbd7d49e7so16860191fa.1 for ; Thu, 14 Sep 2023 07:57:14 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:13 -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: fd868efb-530e-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703434; x=1695308234; 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=H87nIzFyKi3Nj19NY5+iR4gC6MDMil9IpKyKy4GmQIY=; b=oZxbhlDujEKNF61mXRlxA1z0tqC08DOnOAVJM8/aRB4gn5kNCHbouRkhsyqRzgYlJr Xaq33i/V6ivIU8jKPkxYLcefDLH+U0zsyfBA450N45iMx2ncZzpmAkPLB/47OiiWUlw6 wMa7QPcPNUh3y6fX9LKo5ZEGLsVxmXgtyme4rlp3leqqDUTkfRihozYs7Yiq2hQd2mJg v2Dy7vooiKRWV2Mfv4lu5PjWODc1YK1GJ5M3nSig87MQWrMQhX91HDOk9wVtmd0y/cGE pEoheYYbJzi9GIloqjPe3pJOPfmTeTn5YWF/iTh9xOaY+Zra7kb7rAqpm2zoh283LXva j74Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703434; x=1695308234; 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=H87nIzFyKi3Nj19NY5+iR4gC6MDMil9IpKyKy4GmQIY=; b=GUZ5OWRmlzo3W/vBdPDJKXXLEGq4W6wjxJGEu4jaqgAk8KZorOEw5zbwjzHFdyiLMh UDy+vb2fCZ0zx7pAXf7ZcIGnwHq89czF+ZzfyiaaaHWg+vqnZRyPGri4X639yZ6jWdJw 788fF7R9Mc/9FfCoIXbMIJhNsczA6WMYca3LxRRQTeg7m0AbuWs56rhtFzBhrvASiBBm FXpBk8Fn5+rv267cefNcWgJIoDqI1XWriqsfLe7lHcuIk7WdNBSJGDYcbaL5f08cPExk 2c0NeSoaTkT9Q/GTHSmfHFP43uz20u/Ao5IrP8z7ss/huRzUXnzQP2gkN8EcQhuZ8rhm /0Hg== X-Gm-Message-State: AOJu0YxVtHlbBbZ5nhdIAghgtekI057YYPNPGuz+u8jOqiH+kfvjsyn3 6yvORQT1NdwDYooqGJ4zmx7INMZqKRk= X-Google-Smtp-Source: AGHT+IHY8IGYkIluEefe3k9SglFjJeyCR9g5u3PGk8FTvrePpQaZayY92otUFnchuqLao1H3dUj4mQ== X-Received: by 2002:a2e:9791:0:b0:2bc:c557:848a with SMTP id y17-20020a2e9791000000b002bcc557848amr5027250lji.50.1694703433586; Thu, 14 Sep 2023 07:57:13 -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 08/29] xen/asm-generic: introduce stub hypercall.h Date: Thu, 14 Sep 2023 17:56:29 +0300 Message-ID: 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: 1694703465800100005 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/hypercall.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/hypercall.h diff --git a/xen/include/asm-generic/hypercall.h b/xen/include/asm-generic/= hypercall.h new file mode 100644 index 0000000000..d89196fb3e --- /dev/null +++ b/xen/include/asm-generic/hypercall.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_HYPERCALL_H__ +#define __ASM_GENERIC_HYPERCALL_H__ + +#endif /* __ASM_GENERIC_HYPERCALL_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703493; cv=none; d=zohomail.com; s=zohoarc; b=bNkpRPw3jmdzqtZ27DggPqM3K4s1p7+0ZNGanBjRABuCcG56Hv+Ws28PzqXguoCZx0qtb4VxsKzCnPrZuGYjuxRtN1kTpJjLS0oECxA+gpK4hx5fnImb7ZlfTGgFS0s52I50ef/J9s6+jEKvjGk76ug6MMFrfAG3B7tL/q9xXUw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703493; 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=ZcqiE7BQiD0mwY/JfAVivf/SF/vqIglLM0lEIM6lctY=; b=Rujo8v/aH8EhbAi1ciL6jShdOFH6qXrwfOBOlNPPQWVn1vfDwsFltt1qnI3WhX7Dv1WT/yySeDk2J3lbRnGRUyqUNbzpj4uqLbAfBBtwJCtv6tJZkkTYBPIx57ngSIQpuICOOA+onl1EZa/1RPxr0wtFFgMoBNwLoHAoPdXUcu0= 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 1694703493925738.9009615622374; Thu, 14 Sep 2023 07:58:13 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602361.938948 (Exim 4.92) (envelope-from ) id 1qgnmQ-0004U9-7S; Thu, 14 Sep 2023 14:57:18 +0000 Received: by outflank-mailman (output) from mailman id 602361.938948; Thu, 14 Sep 2023 14:57: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 1qgnmP-0004Qh-Ie; Thu, 14 Sep 2023 14:57:17 +0000 Received: by outflank-mailman (input) for mailman id 602361; Thu, 14 Sep 2023 14:57: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 1qgnmN-0002W4-KH for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:15 +0000 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [2a00:1450:4864:20::134]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id fdff76fd-530e-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:15 +0200 (CEST) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-501b9f27eb2so2682321e87.0 for ; Thu, 14 Sep 2023 07:57:15 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:14 -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: fdff76fd-530e-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703434; x=1695308234; 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=ZcqiE7BQiD0mwY/JfAVivf/SF/vqIglLM0lEIM6lctY=; b=OAAi8FqEBOBX5CJI/69S4+aL+iKmYYGQM8u7Y1dfKAxRkbsjwQdA14PxVNDpV2lNdX s1q3fQYg0cM//ezwvAg0JZ6e4TShz51YF1FW5BH3LJK0t28MCnNtVk6kA5FEOLQjvOgS H4aT2F1kSq4ryjej4ASG6KrJ0vD4UtQld2RysxIG7WJ0gPrat5ZBJxecWU5LqVnN12m2 jVavWmvJV6DbHCNBaYBFxRVWRqW7E0POEt12o/C0qZu1dT0qZ5L/dHdq+qBpDH8iHndH hLU0/2WnLQId+TSvDbBBnNyHt+gWLKuxFW5K1lxxjg0v+zyLjNjNXRvkrAjaXaKnW/ZK q5FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703434; x=1695308234; 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=ZcqiE7BQiD0mwY/JfAVivf/SF/vqIglLM0lEIM6lctY=; b=w8VSm7MQNj1QKQ8Otx64FGrREiCLvlwJ9Qt6g7VYrIIfxXWZxL7qioqPpR15VbApTg /Rkkm5V1bSjeE/mvSE/DhFzUMQ+eK8Z5fNNwR5NnGCgly8sZwJZ5KvRl5qW4DqVGr6uN bn56l/w/A7co1r6AUvikF40uRUfZCMs/PpnyaASpkriU7QO7/5P1OoCXPC5EU/kbG6Gk rLorKwCjxqrsE3/22HS1UWS9Hg/56jLeo5alV0W2wTPd/I98MIBbvFFmsRzHnH/Ro5CW XCyt076+nADA0gDZ6YDbjuC6jldBUnPdmlYlJrSLK10z8JkY9BnVWYq7EXXQFHWJUdV9 HbPw== X-Gm-Message-State: AOJu0YxdeMljQa8IXaRAsuk0G9D2U/umWhygdUAQzDkhZZFVrmRI9UQm IOsdgwT2TVR23aDO0JE4RlPLmA1asKc= X-Google-Smtp-Source: AGHT+IFaiW0NQmH71YpP+316A+ougjlhV+18iywnNP4KrA2JUtc8IpKB6myxYW+M7DNi7WajL0xo6w== X-Received: by 2002:a05:6512:a94:b0:500:b09f:eb3d with SMTP id m20-20020a0565120a9400b00500b09feb3dmr894717lfu.30.1694703434471; Thu, 14 Sep 2023 07:57:14 -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 09/29] xen/asm-generic: introduce stub header iocap.h Date: Thu, 14 Sep 2023 17:56:30 +0300 Message-ID: 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: 1694703494483100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/iocap.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic/iocap.h diff --git a/xen/include/asm-generic/iocap.h b/xen/include/asm-generic/ioca= p.h new file mode 100644 index 0000000000..dd7cb45488 --- /dev/null +++ b/xen/include/asm-generic/iocap.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_IOCAP_H__ +#define __ASM_GENERIC_IOCAP_H__ + +#define cache_flush_permitted(d) \ + (!rangeset_is_empty((d)->iomem_caps)) + +#endif /* __ASM_GENERIC_IOCAP_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703499; cv=none; d=zohomail.com; s=zohoarc; b=ZHGp9CfsHMPI+gnoHPEJlPpG2a+NSLOYSw9G5ZkxIt49Fd5YW1Io8/QFarJodHKXHE4awKCczu8l9oCwQLTGjpg+Yqfw6wRYbnI0w5sQAymz4D0BDESdZg64RSuxCgxvgXigNyyC+jfpsxR4Xr5cND938GTTlK6Tq7xCN/bSbgw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703499; 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=9odqJZ8fT0NBvFL0G7lSK5C7AzXQQIJNuRADsMCRL4M=; b=O93IMaDhV3/Sminxl2++EytNKSqpO0X6vYelLNfCvwVRBPZMAELrN0I3mMIRVHOq3UXzEMK8yzR7MKiuC5NLY7yHr02wza9HRnj8X7LNAu+fZ/kmKjwyqEMvlPFrasUlamSfaZlos8uk/oxldlU4RNb0l8evt1+NFJjdSX9yHNg= 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 1694703499604318.4755376442497; Thu, 14 Sep 2023 07:58:19 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602363.938963 (Exim 4.92) (envelope-from ) id 1qgnmR-0004vq-W7; Thu, 14 Sep 2023 14:57:19 +0000 Received: by outflank-mailman (output) from mailman id 602363.938963; Thu, 14 Sep 2023 14:57:19 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmR-0004sN-AT; Thu, 14 Sep 2023 14:57:19 +0000 Received: by outflank-mailman (input) for mailman id 602363; Thu, 14 Sep 2023 14:57:18 +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 1qgnmP-0002WX-RE for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:17 +0000 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [2a00:1450:4864:20::22c]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id fe9e13dc-530e-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:16 +0200 (CEST) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bb9a063f26so17205651fa.2 for ; Thu, 14 Sep 2023 07:57:16 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:14 -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: fe9e13dc-530e-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703435; x=1695308235; 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=9odqJZ8fT0NBvFL0G7lSK5C7AzXQQIJNuRADsMCRL4M=; b=Nzxtzi1qDDqkR6EUJA+G1RQMaiZYJNEUmzDSehNWorB09urBmjgpjS7ljLjKq/wnr+ RBX72ahhIZ2o3KhIdbrIVfJwur76mY6i7r8EO1dYmnLUG/2rMKKQLnnjECBCKFmAi5Rf Va3EPfnKqna7mIv6J4zRrZjAvwDgZNeJWxno73fqG2stOssHZnEzRXF6HwW5SeHe7JSo uo7ZHyF8uRA/eGMvmpgqbO05hdFALFgKp0Ltix5+p/0VUcOycwxkV9eHdJWgYPfif7mD jHGcHc9mmSHPDTo57vf9dRBPWlr9RgFtWHnLtnAt9mmzeUxYE5IXeXjHaW5foXbCv9+a bWJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703435; x=1695308235; 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=9odqJZ8fT0NBvFL0G7lSK5C7AzXQQIJNuRADsMCRL4M=; b=n+s7L9HfOrO0uDZOb3Hm7rkUbHeHKWelkbRzmGHxy/EuXcfOhOI/SI1Elm+Bag7Xvr /zDBzbo2lxzKR4qeIjrK7lnVUnvl9NQG3yhoy8VNtUJg6YtWzZYuxDMmxdjeo2KcTALE 2yIoqlYN42Sg9XpOwwJKizz3ejD9Z3kYGKtXtSdliKORQVc+tqmz9UlGBr8IwZh0VjIH LaCLmW3Z44HC6gd5LlmURg9ZkCFw3JdWSxjFG7lwdQulkvP+NbPmWgbwaez+E4jsuuuI bh1PUT3ZCu0ks4Ms/ZTTzuUabLpoflV5tX95hStFtp3KsI03T/uAVhs3HFCGG0WZJ+N0 uiaw== X-Gm-Message-State: AOJu0YxCpi/VvotwNV5AtUZiNWTmgDa9RujeTzs3ZQGmB8Agrm7Q8VRj L4UjCLkSR9j84tgtS9by6OpUGn2Dxbo= X-Google-Smtp-Source: AGHT+IHlHMoKZAtkLLRCJfcaFKFCxeJBKrvwcBlZccS0UzUPAC7tzUAkexKmpg6t9lpw2h1MkhesfA== X-Received: by 2002:a05:651c:1045:b0:2bc:e470:1405 with SMTP id x5-20020a05651c104500b002bce4701405mr5089269ljm.46.1694703435259; Thu, 14 Sep 2023 07:57:15 -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 10/29] xen/asm-generic: introduce stub header iommu.h Date: Thu, 14 Sep 2023 17:56:31 +0300 Message-ID: <8990c5c77c12333bfa7aba42b66bf7fffee5a096.1694702259.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: 1694703500635100001 Content-Type: text/plain; charset="utf-8" The patch introduces stub header necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/iommu.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 xen/include/asm-generic/iommu.h diff --git a/xen/include/asm-generic/iommu.h b/xen/include/asm-generic/iomm= u.h new file mode 100644 index 0000000000..b08550e6b3 --- /dev/null +++ b/xen/include/asm-generic/iommu.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_IOMMU_H__ +#define __ASM_GENERIC_IOMMU_H__ + +struct arch_iommu { +}; + +#endif /* __ASM_IOMMU_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703467; cv=none; d=zohomail.com; s=zohoarc; b=Dot/a4jV9mv8//XJbZpNHoUC2UoTZqXhXeuQkmDLUzn/GuA9qGbb1qYf5BtyrfY6tWq0oSckWEFuvdYz09Abq6ov35DZ1aav8sNe1Gim659YbAlqYh+7Ovj6NDYrsHXzPLdDH92bTSNq3Emr6II6MhnrBa9f+WnmSlT+DXERgY4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703467; 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=/wKxagK2nDf+XL7EhN/Uwr5WmHp5EtILaw4EZ4TwehE=; b=BS745ZldGg+0ASgb5vrB3ZVWnAO2wjIFNhDfJXWImbGD8cWvcRxecfKp2lHgxUBm5nXg9upTztd81Dvu8wejR7khp8GGUF4fRYOnMlx7U0wcdK/blbhfWEyotJk3jTqsm0CQBzlFZNPmifGr9gkupjbUK44Yo3fwa/YoO45JdKQ= 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 1694703466998736.9581842695657; Thu, 14 Sep 2023 07:57:46 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602362.938953 (Exim 4.92) (envelope-from ) id 1qgnmR-0004eY-17; Thu, 14 Sep 2023 14:57:19 +0000 Received: by outflank-mailman (output) from mailman id 602362.938953; Thu, 14 Sep 2023 14:57: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 1qgnmQ-0004bE-92; Thu, 14 Sep 2023 14:57:18 +0000 Received: by outflank-mailman (input) for mailman id 602362; Thu, 14 Sep 2023 14:57:17 +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 1qgnmP-0002W4-4W for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:17 +0000 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [2a00:1450:4864:20::22c]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id fee7afbd-530e-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:16 +0200 (CEST) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bb9a063f26so17205771fa.2 for ; Thu, 14 Sep 2023 07:57:16 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:15 -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: fee7afbd-530e-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703436; x=1695308236; 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=/wKxagK2nDf+XL7EhN/Uwr5WmHp5EtILaw4EZ4TwehE=; b=GdjR/TkmaNV4oXYhOB6Tuuzzz99+j+GkoOwwF8T6+CdvcCusHEUTNaLKic27Bx0HSD Fq0ICP1JLKVCKzX3lBO1bZOMXp3DRnzn4sRwp4vYLm/0CbTM09X87Cq7iUTjGc/2bkgD jhc42Ee8yKVcXR3xzH/9YWZPE8pJHrOdRYFAA06QVVpvPFg74WsDZ42a8Fx+Tjy8e7Af SYP2qFfZPTa3512gsOe9hMdurcXFHg1GS9W7LlLVD7pnJEaGJ10yX8CtWTWh8+X9BwxK JndZBY+f/0ijUw+2aJkTeuuwlK/CbYwXzrSkWMD7ZMsL46iyhVargCFEX50RXwer8cn3 NqzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703436; x=1695308236; 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=/wKxagK2nDf+XL7EhN/Uwr5WmHp5EtILaw4EZ4TwehE=; b=PRH5MeLYSfWh40/OduLf5Q5nRudWfm/QRlxdAaBytxBRmmEFw+ApMH0cs9runeAAOU uLUNQEvGpZh7cSbc3mPfOSWD9zgFzmlshBx32H3VJPgntrF8DR1u0Xf+ABMCONbUSwVy Q9z3NtgU7lkns6LmToyDKPT4DoUgk68+dIM4axCa/Tjb6Jjtl8O3ioO/bZLFbF4nTbSP CmyYj6ViMUJ5ppRmVpyHjp8VHOKjJPghoZUCye4p9n4l2/BJNaAXJStaRWcLDS2z/VO1 MXbdbdbiUfR/7K4uOzhRcuM4y4AkfbeS0Fho7HwBb82saMkH0jF0gEH7UJPoNaain8YY ldhw== X-Gm-Message-State: AOJu0YzRrZaQjYtSNwaeG5+SF/NiHOv2RMJG4t2tg7XKyunbdrkT/SMl WCIaITKOwuKSkGVwH58MQlCH0jpHq8o= X-Google-Smtp-Source: AGHT+IGntyE75MEQMEMcUlX34KQSRa218EY5Pqa4vPL3PcOiG88teAQUTEN1CDYGpBYzWH87qcsv7A== X-Received: by 2002:a2e:2e0e:0:b0:2bc:b821:84ad with SMTP id u14-20020a2e2e0e000000b002bcb82184admr5262753lju.16.1694703435939; Thu, 14 Sep 2023 07:57:15 -0700 (PDT) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu Subject: [PATCH v1 11/29] xen/asm-generic: introduce stub header mem_access.h Date: Thu, 14 Sep 2023 17:56:32 +0300 Message-ID: <79ed96f65e7c7f4036cf62ba6b5b44a371c758ee.1694702259.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: 1694703467998100013 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/mem_access.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/mem_access.h diff --git a/xen/include/asm-generic/mem_access.h b/xen/include/asm-generic= /mem_access.h new file mode 100644 index 0000000000..d2a0b545a4 --- /dev/null +++ b/xen/include/asm-generic/mem_access.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_MEM_ACCESS +#define __ASM_GENERIC_MEM_ACCESS + +#endif + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703507; cv=none; d=zohomail.com; s=zohoarc; b=lwUNV2LDQvSkw+vxT6RodUcsFw8sqLLievqilB4HQ5xIqE9oXlW6ECaIveKD/CIAdISH98o3aaMddeyav5sXc3oLakr+0PSWwHhYyao39OIIOpZIUOITNxl3b75E8dzGo0JAnXIoousOJrhSaQxZ9H4T7SA8UoOLR8J5AuU0RWU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703507; 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=QQXCYyquIEbi5XMgs2FhYiRFtbU5KRI1/LCQxCDh67Q=; b=MI3+hovao3lua7YXL+xg7FS/0KyFBRPOO2KuJ6JC4m73Ga1oIfgz3LU7tNR1guVaSbOb9OUIAAeEaJu5sN5s5jw83SDfA0skENNnYmCbsvQgr7n3s/B10SBntQUR5Xilxlchhe/cVdtmsQ3OVJt8inI09/FzwJBrC9Btlh2BjNU= 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 1694703507450924.8006617127817; Thu, 14 Sep 2023 07:58:27 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602365.938975 (Exim 4.92) (envelope-from ) id 1qgnmT-0005SD-Qf; Thu, 14 Sep 2023 14:57:21 +0000 Received: by outflank-mailman (output) from mailman id 602365.938975; Thu, 14 Sep 2023 14:57:21 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmT-0005ND-7t; Thu, 14 Sep 2023 14:57:21 +0000 Received: by outflank-mailman (input) for mailman id 602365; Thu, 14 Sep 2023 14:57:19 +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 1qgnmQ-0002WX-VW for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:18 +0000 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [2a00:1450:4864:20::22f]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id ff5cdae0-530e-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:17 +0200 (CEST) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2bfc5218dd8so16470321fa.2 for ; Thu, 14 Sep 2023 07:57:17 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:16 -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: ff5cdae0-530e-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703437; x=1695308237; 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=QQXCYyquIEbi5XMgs2FhYiRFtbU5KRI1/LCQxCDh67Q=; b=c6dpwrM7HcJtX2Tgx9IzVBF2EeMxhEokyUYLG8HU6iLTNdstzXuL1m+lPPD703b61b 31we2cK11jwiXmLUn5AYVP+OPaY5H1LwA3dZ4+jK1rCl/xaXhyIkHsjO7+PfgbqOAT0Z v2OYWs+XvNap3L7S5KuxeF33a3Ku5R+dzC6727SaKEGRxRJMuq4uro8N2TRUt8t3I5Ed lH67Hla4a+2Pl+sMga2VSxcXVbRHSjDpe9+ebuwJeSRJnT+c9RNhK8ueFqWa0tS0V8az I9ReuFUOQkTt5yhTknfoJM1ijODPEcPBnDQg5QsFhuOtcEnKI6u6mqDi0Km6fjPX9xpq hEdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703437; x=1695308237; 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=QQXCYyquIEbi5XMgs2FhYiRFtbU5KRI1/LCQxCDh67Q=; b=ak3lJZo92HFxbbl8jPXv2SOsl0Ffrff3kN3A1sERtXyqtqseFtrJqNwhgYuwQdEZsZ LVZl9VrLx+2GfRz0DUZCPvcAtsW539KbGa+N0H08pDrdbrKwTp+sF+/fYH29rXtL9Shd DTMl0WF0ed4S+yT8dngpe3hm3CrJKYzsm2IX8Q/qktPefuEK2NIhPVChNp7MHfORfxK1 FqMmCSq0lttTpnTDmogfxkZjW1hYq7nWB3/3QUrfTzkyIaAbkibcIQPCm9/vUjSut3Nn VPqYCnrgKKDrmMu+EuNrcGNGnNoIhBEZRFYYVgSaoJrSQXvBoz4on0J/974B4vDz9+ih IqUw== X-Gm-Message-State: AOJu0YxdtWgBV9G6lYnfICPtVvJMpIkcdl084/Z3rhFEWZEFU4031EdU iz5XofMfWL39b/16z1W3XbHN3TZPlqY= X-Google-Smtp-Source: AGHT+IFQioJ4htBJRPvdxXzGxc7Zbktlv5OamzW6uDU+X74JSGDM6VmNEadDUHdUhWWT8dBmUtsF1w== X-Received: by 2002:a2e:9141:0:b0:2bc:d38e:b500 with SMTP id q1-20020a2e9141000000b002bcd38eb500mr5761309ljg.42.1694703436782; Thu, 14 Sep 2023 07:57:16 -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 12/29] xen/asm-generic: introduce stub header pci.h Date: Thu, 14 Sep 2023 17:56:33 +0300 Message-ID: <597a482c70fef196e245a5d898ea6314a0c479ca.1694702259.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: 1694703509360100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/pci.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 xen/include/asm-generic/pci.h diff --git a/xen/include/asm-generic/pci.h b/xen/include/asm-generic/pci.h new file mode 100644 index 0000000000..b577ee105f --- /dev/null +++ b/xen/include/asm-generic/pci.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_PCI_H__ +#define __ASM_GENERIC_PCI_H__ + +struct arch_pci_dev { +}; + +#endif /* __ASM_GENERIC_PCI_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ + --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703465; cv=none; d=zohomail.com; s=zohoarc; b=Rc8M8TOpzp68758Z/dg9+tollaP6JulS162po2rDaXD7jSn35a7NYcTnDNN1Lc5x5pUx7a4r02bt5PMiVrLeySIP3S1WU/388nvG5oYCa4zFYwZwEmchbUEJNbMUU0Kxg1QuZ99bAPG980QpvUMx/hlAndrhFcoRfuRNuKKShS0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703465; 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=ge5GOD9Fr0w6na65xCHQYy07lIZpjdeUTd6rT4/vFc8=; b=kvxwHiYGIkeRXFTu69Usk3vRA7VPPinRJc3+TL3lV8w6R6tr7Gkmiwl4Nb/6KjqF23TVZg3OY2A1AAnJChciAYjUqXNxPFtBLJfOA43+6f2+9kerYg9lRLY8KzlaE7vf3R2wEOvcVLsJiceUlaKXh1/wzMH2jY+YKg00PjXSJT0= 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 1694703465286508.9372243661453; Thu, 14 Sep 2023 07:57:45 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602366.938980 (Exim 4.92) (envelope-from ) id 1qgnmU-0005fE-LE; Thu, 14 Sep 2023 14:57:22 +0000 Received: by outflank-mailman (output) from mailman id 602366.938980; Thu, 14 Sep 2023 14:57:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmU-0005bL-5c; Thu, 14 Sep 2023 14:57:22 +0000 Received: by outflank-mailman (input) for mailman id 602366; Thu, 14 Sep 2023 14:57:19 +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 1qgnmQ-0002W4-UV for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:18 +0000 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [2a00:1450:4864:20::22e]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id ffd017fb-530e-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:18 +0200 (CEST) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2bfc2b26437so16161951fa.0 for ; Thu, 14 Sep 2023 07:57:18 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:17 -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: ffd017fb-530e-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703437; x=1695308237; 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=ge5GOD9Fr0w6na65xCHQYy07lIZpjdeUTd6rT4/vFc8=; b=iG9qc431HTGoonnlR++lvmrbrY07uJBpY1WSJnrs1fAqB9En3x4G/nys1PVD3dZ1BX 1dNeBhGktadAI15G2QAnoWcKBzR75bP3sIef3kALoH+/29gXIxvGZc92eRT5P8GUgZLn csdZTvZXeLMVFm13w5SFv3A7ZrXpGbAopx4PxoIWpYNC2hm4WlQOJYTxpX471s6TqfkN OuBUGWA34V0q+vw+qZVuREsQbIDMyqGleNVfpVXtGPEQtvG2viZyqLEwQEkf+VARO5LP QpmKiL80AlSq5kk1Ad8PcXBRLvF1kwE860Ga3uw597kWtx3THrVr+n/8CdXc1h7i2OIQ wUvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703437; x=1695308237; 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=ge5GOD9Fr0w6na65xCHQYy07lIZpjdeUTd6rT4/vFc8=; b=iWq62AI8DTM5B973MHkBFoUmZkZBkso3HnTenZypI68rMtQy/P69gMy0+k30BgAEPl Nz/XoQ9htIQKUElTwlzpRuO/os2zBlBMRt/xJd+1OXqFqMspXkyR44ZkPXjKxUyPM7xd hQ3YDNEgmrAKdvCU9SwmDqPZPRIg0WV1iDugwjAlAfJ+SLhY6U971PhdoFRQ+6jEUFA7 LZs+8//S5GTc9HnJAbHw1dRP6ILCW9pBzm6+0olTpTVCcnZV22UziUXm3l0hOkWdjeX5 rfE+HAnKziOvxUL/VvpyRgWXH4Yr06WadmM0opT8DffWIvjn7uI6ube2LMcFOym6ejIQ OZnA== X-Gm-Message-State: AOJu0YwxZQFJ+0e9ggWMt6fq/GCPsNEvF3Y6ncKJwoxIS8C3pNQUW2dz r39w1NaFp5kYgZbjQedxAO1P4irkUZ0= X-Google-Smtp-Source: AGHT+IG+wg0jHGf/n/TuTWW/3xuNm0mtFdh6lO8xxNiGJeFuNuosUrKFBO0cKnaRD18ayOqpevA9Ew== X-Received: by 2002:a2e:958a:0:b0:2ba:7b3b:4b7d with SMTP id w10-20020a2e958a000000b002ba7b3b4b7dmr5024211ljh.17.1694703437524; Thu, 14 Sep 2023 07:57:17 -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 13/29] xen/asm-generic: introduce stub header random.h Date: Thu, 14 Sep 2023 17:56:34 +0300 Message-ID: <11661fae695fc50e212787829bbe8afb316f2a52.1694702259.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: 1694703465916100010 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/random.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 xen/include/asm-generic/random.h diff --git a/xen/include/asm-generic/random.h b/xen/include/asm-generic/ran= dom.h new file mode 100644 index 0000000000..cd2307e70b --- /dev/null +++ b/xen/include/asm-generic/random.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_RANDOM_H__ +#define __ASM_GENERIC_RANDOM_H__ + +static inline unsigned int arch_get_random(void) +{ + return 0; +} + +#endif /* __ASM_GENERIC_RANDOM_H__ */ + + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703516; cv=none; d=zohomail.com; s=zohoarc; b=mhpH5NvEtTDE7splJlhPJwCv83aoR6fmgxWP9d4HsQPy5lBS7V8oM1hfHdhQ1uPN59ryh0sIo5mSzcumIQmaBiWxzbJTnWTtttlSZwi6/TglJfzpR2ku4EjW/2h8p1G416cMPiUvwYli1jHalsTbObYFXci1L4kSoN7lM3hCJpU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703516; 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=KJyUmaE6XVKkbHFSmL7W+qlUab1X3iwbXqdSKsKXOYM=; b=XPj+4VHBQT0lpt+zBD4COybQkC7u42XszN6G9vrQgz71XXxWoqZqPFP45/Lvon4JezYTx/2HkWlVSEbHIFWU9XBjHdIMPS5RKcUxFdhHNGGGeSbP3jNkgp8A8mNwc7nFMMMXWdOhyXSnYRINGeLmSPiREM5ZFcTNSzQO1MqDihM= 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 1694703516712978.5063447936516; Thu, 14 Sep 2023 07:58:36 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602367.938994 (Exim 4.92) (envelope-from ) id 1qgnmW-000690-VT; Thu, 14 Sep 2023 14:57:24 +0000 Received: by outflank-mailman (output) from mailman id 602367.938994; Thu, 14 Sep 2023 14:57:24 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmW-00065I-7U; Thu, 14 Sep 2023 14:57:24 +0000 Received: by outflank-mailman (input) for mailman id 602367; Thu, 14 Sep 2023 14:57:20 +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 1qgnmS-0002WX-Jd for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:20 +0000 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [2a00:1450:4864:20::22b]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 005159c4-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:19 +0200 (CEST) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2bcde83ce9fso16702111fa.1 for ; Thu, 14 Sep 2023 07:57:19 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:17 -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: 005159c4-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703438; x=1695308238; 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=KJyUmaE6XVKkbHFSmL7W+qlUab1X3iwbXqdSKsKXOYM=; b=n2ewXsV2tfCn7d+ofIu/fI1q3330wmUQcxzGjpQ2NpAAOX3LsigmQAoJJt/daqlPU4 0kZ7RE3W/+XDzKAzJYdu4wycPnGGfEeiUtMAKwOF52KS6WOF2U6moXyAZK3lloB/ENTj dFgeZJBYVE7o9OwuOsb5UZL8yU2aWvfx73Skz2XqmWCZbKmNw3frONXfV242YJC0yUaA cqN1NtSNcfZGdKEc+ES1Vdf2IbcT0x/dHeOPkWAPBaM/GGDOBW1Aynju5zxuEuEnnHLt cYP6eYMVUoQnm4o8/dIA79/rsX2EdrtkRTapn1M1Yi2iMxXBE1rCkow7oxTDJ5VW0h9t LX4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703438; x=1695308238; 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=KJyUmaE6XVKkbHFSmL7W+qlUab1X3iwbXqdSKsKXOYM=; b=XJT1xtPeeExSUw0O4gKW3brsRxPRGmzRwSN773FyTdVMA1sPMF/OYdZZ66sw87ib6J ph8WORCpErNOtLXa15v9OeA6Lmq+Gs3Com5+rlKFOXlUla7S8VOZhVk7ZrRr4m0UoN0O SpS5BudG6f0JVM6x2Ld1S3uv+e7Dnt/vZc9DjSlzcZIBXFviYNg21AukiH1eqga+toF9 VqfKMsoIRef1h49YmvysNHC8bb2f/ApKHHCQQcvoeaa1SuIjtlS9Bjt3o5k/WUxYvW1k MM47jtrzjWY3ts0as9Dmpuj/JLtleKu8IkS2fXO1Q+0wflHwYToSUixSNEPtzCgPR0mY o4PQ== X-Gm-Message-State: AOJu0YzkvsJ2zTCq7XS//+p4N6VIvhIc3hpZsoW1KCjwSzmbmDq8uA8I UYfxIPvvJXc5VZ88R7S4XqVEoRVIeGE= X-Google-Smtp-Source: AGHT+IHIQozzFk7f0tTtIVLGiTHEWo0Cm5pRE2Suj5w7XF4rAnDFFKB8g6Zsk06/GlJT42VJWlftVQ== X-Received: by 2002:a2e:9141:0:b0:2bc:d38e:b500 with SMTP id q1-20020a2e9141000000b002bcd38eb500mr5761368ljg.42.1694703438367; Thu, 14 Sep 2023 07:57:18 -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 14/29] xen/asm-generic: introduce stub header setup.h Date: Thu, 14 Sep 2023 17:56:35 +0300 Message-ID: <0b0ec8c33722cf25a0b87cb3c24d6d96c3a90301.1694702259.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: 1694703517222100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/setup.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 xen/include/asm-generic/setup.h diff --git a/xen/include/asm-generic/setup.h b/xen/include/asm-generic/setu= p.h new file mode 100644 index 0000000000..37feac222f --- /dev/null +++ b/xen/include/asm-generic/setup.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_SETUP_H__ +#define __ASM_GENERIC_SETUP_H__ + +#define max_init_domid (0) + +#endif /* __ASM_GENERIC_SETUP_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703520; cv=none; d=zohomail.com; s=zohoarc; b=ErdlFw+KckvLnGamgq7wrAWirMto+fmQou5tYIctXtoYH3wMdzSfxQscDPv46d4XR+1D1ogTvbcgDCFHTCPIU2QBaYXmRdPGqQ1egfQi0VmhvcVsDg4uI4EqC4VWgSaKO92Fd2xO98wlVlO5DahzGc4zNcKx/D9xEfv7kaZo6cc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703520; 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=Rd3/ASfal0zkAAp1bRz+HwPmAgboUa4bs082ZF03pek=; b=EDDkhOhWaTrwFBFwSFJ5iu2zA9TuGLGbKllacyqeDTg53HpT1ZRECBGL0FimtRTTJyGFBA5tlIOhiFz8G3BM746mb0mkm8npefvO/OFzGpNQWR6nhJ0/Nx//9m3OGk98JOCGIskt1rvLFw6HbIriu9PUz/g5KHvj7pdoySVlPQo= 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 16947035207131002.9933540835596; Thu, 14 Sep 2023 07:58:40 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602369.938999 (Exim 4.92) (envelope-from ) id 1qgnmY-0006M9-3L; Thu, 14 Sep 2023 14:57:26 +0000 Received: by outflank-mailman (output) from mailman id 602369.938999; Thu, 14 Sep 2023 14:57:25 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmX-0006J3-64; Thu, 14 Sep 2023 14:57:25 +0000 Received: by outflank-mailman (input) for mailman id 602369; Thu, 14 Sep 2023 14:57:21 +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 1qgnmT-0002WX-An for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:21 +0000 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [2a00:1450:4864:20::230]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 00c98717-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:19 +0200 (CEST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bd0d135ca3so17408501fa.3 for ; Thu, 14 Sep 2023 07:57:19 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:18 -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: 00c98717-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703439; x=1695308239; 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=Rd3/ASfal0zkAAp1bRz+HwPmAgboUa4bs082ZF03pek=; b=DeNY3RIR83XMAo2VG94ifBNrMh/JSbYl0kntm/e9Dhj+Vg2VxIO5DiqSEwK2lt1n0B Fze6wotB2E/AGc9pFZ7Gsme3bar//oLT0vRHFeFrgQC5IpnLDyyF8TmvZSwHJ46omWzH 6FZf/9aw/Ju3PPlc5rzsf7qEEMwb7mWMG89VezTAW35Eah//XtwrGyrv55fEL4foUypq 3RrvGMDMeId2aFbt0uu6ZKXfQrJj+kzkLy0G9uFBHYtzsw+FsFAlJVB0Ym65qy45PsIS H0x4+rKDVrDzSWk9AhNUmCwK+N7+ZTXWx+tjF9eWLuews/ooqSzeQEYJFMUgscuWteed pxqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703439; x=1695308239; 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=Rd3/ASfal0zkAAp1bRz+HwPmAgboUa4bs082ZF03pek=; b=lsx29N0PtsugRi9Bz/saOxPPLLID3XUCA5/V1WE6FzXauPG0ILnUcdxQoPeEURpcG0 kLY11r9r8Ic0Kf6qrNeIy0HSMaiurKGiW+mtPYHKjd/xYJlxgwSgucSq9qTIYXcEAmyb TgXaxxR6p1bQPjFCO9BHlngSIfkjtRZn1YmNj8OISG/LaOFM/enVwg1jaQhATzs2JP2C eU5mMPQ1Kj09ifLpT8lKCxE6t2u9wPl22HqLm5gSwGWK97573ejf6gynxdRpAvHW+2u3 +t2/pF8axs8Fo/hIy5WSWfLjOt7LZrTYikCm/a5sQBOCSYg6+E/M+Hcwxe/b/YCNWsmz wuWw== X-Gm-Message-State: AOJu0YzJQ+rAGDmlFV0AEKKzStG23XDgSvqNPUUxhxHxz5/zZLp43j1H 1pJ9FblpLDzZAQulFGPXVHx10h9PbGg= X-Google-Smtp-Source: AGHT+IG0FhU5Dx903IWeGZXwqjMJHc2mW4zyOBCiqQMT28ZQZt72zg1isChvAMfjOF62qGlgaZz5pw== X-Received: by 2002:a2e:98c4:0:b0:2bf:b182:9b7f with SMTP id s4-20020a2e98c4000000b002bfb1829b7fmr4856579ljj.26.1694703439132; Thu, 14 Sep 2023 07:57:19 -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 15/29] xen/asm-generic: introduce stub header xenoprof.h Date: Thu, 14 Sep 2023 17:56:36 +0300 Message-ID: <0b7805d6bd5f16d06656093d964d5d90030958d7.1694702259.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: 1694703521073100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/xenoprof.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/xenoprof.h diff --git a/xen/include/asm-generic/xenoprof.h b/xen/include/asm-generic/x= enoprof.h new file mode 100644 index 0000000000..8ee3408b77 --- /dev/null +++ b/xen/include/asm-generic/xenoprof.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_XENOPROF_H__ +#define __ASM_GENERIC_XENOPROF_H__ + +#endif /* __ASM_GENERIC_XENOPROF_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694704188; cv=none; d=zohomail.com; s=zohoarc; b=EPKR0COEnhLUGGckBGArdhLuNa2IW1Y5bkTslomy4V6m5VWnpGXKIXpoOjfcB4MIDG3XIn810+l5N1yI9uKJ7HOvRYPfI3FGxKTWyWATlh3/IB0ud1JahfuU7c80C9M5xJivJTCwLv7SFkA64MlNIgoUooALNXvNJugLcqWmNBA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694704188; 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=F15dxGQnK3sehzSOwvv5F5BATla17v6rMpQqDBCmSQQ=; b=mij8QeSIxxnF1JQaUhm2tdc3+xZ8/M1wsw1v4ZbtGAQjKoVRJEUKFVsKwY0Y1b6LBj5j0ZzLPpSS9UfREwzXYL4bkC70FUmrcpP56O0sb3+V3zrLXJVX6IzCNNadAfOJeOtzC+Iovg2xUn8blU8p4ggKmMmhv1bCj4dDrXWlOZo= 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 1694704188181483.09508989421283; Thu, 14 Sep 2023 08:09:48 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602411.939072 (Exim 4.92) (envelope-from ) id 1qgny5-0007tL-3a; Thu, 14 Sep 2023 15:09:21 +0000 Received: by outflank-mailman (output) from mailman id 602411.939072; Thu, 14 Sep 2023 15:09:21 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgny5-0007tE-0t; Thu, 14 Sep 2023 15:09:21 +0000 Received: by outflank-mailman (input) for mailman id 602411; Thu, 14 Sep 2023 15:09:20 +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 1qgnmT-0002W4-AQ for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:21 +0000 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [2a00:1450:4864:20::236]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 0160b900-530f-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:20 +0200 (CEST) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2bcb0b973a5so16354911fa.3 for ; Thu, 14 Sep 2023 07:57:20 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:19 -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: 0160b900-530f-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703440; x=1695308240; 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=F15dxGQnK3sehzSOwvv5F5BATla17v6rMpQqDBCmSQQ=; b=f1day6IZI0EyS5QL0FGOS3ahfAVDmhGG+Dl6+RppPGoqRo+JIqqJjFTrs0CvOp9qyv deF9YhzlhwFTcX6Gktanfu3XDMYVMDfeDMCsUOj3oN369GvX4MxW7oZaZ315rlL6LvLJ NTXo9gqqaXw5LZb2tHejeF0nyXK0Ya4kVTw7giO8lSBViy/Wld+24C/HTc4/AuAL+MwU ElavM4lVEI5yK7PlwgCit5tFT03LOroPNe3GDa07q+Y/TMtyPUUz9nVEJpaRRVIk8kIa QmtxuT15TTPjWYMLhFfhvBhlNrIcGpRPgN6fYASQiAKqUfWYDihQNOswlPXLcjrBEqAt 7Bhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703440; x=1695308240; 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=F15dxGQnK3sehzSOwvv5F5BATla17v6rMpQqDBCmSQQ=; b=mOtS5NjDfWulM1qxPwNzgs/E8zt366+i0WqCrUHcBRuRTThDSBLCL3WS00xGcoSJHy 0czF4hCgQO8HfnWq0KUcRsvSIqGo8hRNQsasG12QqSpV8aCAMEjyfQS3Ig+uZpLMaZwa K3iPcU99q6IKBLqFfzRzaQ2rzlh/Yk3thTDgr84pPA1xpUT/o/aOBN0PJtNEVYDPnGOv xA60/HTI8RGLAqaTEhTjyZlloUW6CSK2ALCvmRCdTnFxLNvw0fSGNRLA1uVkHLQ+VmCQ TxnqfLASryKnACSuhc8YSdeM+NboCS+BBkpKQgHaZXJf9/ZpW4g4953cqlKHKQ/Qm07q VmiQ== X-Gm-Message-State: AOJu0YxfgdfUafVx34xjXgn38S8Bqbec6DE54TOSp8w3pDIth+5ijDQl SOpsmIaXvniS28AidwN6RnR2BK3M9/M= X-Google-Smtp-Source: AGHT+IH4+dQpAED5rWJZE+3xxCQwXeBCWcvjSgP1BciK56T83EKqzyhY0y2XpPJ3tVhD+xl6eNkHNQ== X-Received: by 2002:a2e:b178:0:b0:2b9:f27f:e491 with SMTP id a24-20020a2eb178000000b002b9f27fe491mr5594299ljm.42.1694703439916; Thu, 14 Sep 2023 07:57:19 -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 16/29] xen/asm-generic: introduce stub header flushtlb.h Date: Thu, 14 Sep 2023 17:56:37 +0300 Message-ID: <8f5e2ac850eced2153d68effcb36aca1ed065aee.1694702259.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: 1694704188465100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/flushtlb.h | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 xen/include/asm-generic/flushtlb.h diff --git a/xen/include/asm-generic/flushtlb.h b/xen/include/asm-generic/f= lushtlb.h new file mode 100644 index 0000000000..79e4773179 --- /dev/null +++ b/xen/include/asm-generic/flushtlb.h @@ -0,0 +1,42 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_FLUSHTLB_H__ +#define __ASM_GENERIC_FLUSHTLB_H__ + +#include + +/* + * Filter the given set of CPUs, removing those that definitely flushed th= eir + * TLB since @page_timestamp. + */ +/* XXX lazy implementation just doesn't clear anything.... */ +static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestam= p) {} + +#define tlbflush_current_time() (0) + +static inline void page_set_tlbflush_timestamp(struct page_info *page) +{ + BUG(); +} + +/* Flush specified CPUs' TLBs */ +void arch_flush_tlb_mask(const cpumask_t *mask); + +#endif /* __ASM_GENERIC_FLUSHTLB_H__ */ +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ + + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694704352; cv=none; d=zohomail.com; s=zohoarc; b=KZZgZj7nnWY/5dMzSQrhhyEZW0G9BcTyVaTemHTQ06tgFe1GWHjV0WxpRJFZsRTAaFz8hPmQMRch7HvXaWqsM4abIUjGdYuU+1/4sg2EkogQIysZXs9arLFd0iGIYiINWVu17lhEC83Mv6zYQuhmtbgKapE3zNJXUJhTQq6uQZw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694704352; 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=1gqkhvANInIWgDmOoOPJUCId3lz6JPHGNXOuOXwQD0U=; b=cTJeZuaGWykMnc2o2ltNNqBUr1/DnAyie9LbdGtJbhxg8UNRqinkPBnz900xe5YithZo/Nbed7m7u/3aTnM1z6wmBi8teIn/em5ZbLtip46NqRgs2FoYQYjERmJETXyPnXRl4YZl+zlaW/hi5H0fzA/Thx5AEq+7HjfBcLl36Qo= 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 1694704352453421.3996849146862; Thu, 14 Sep 2023 08:12:32 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602424.939092 (Exim 4.92) (envelope-from ) id 1qgo0i-0001n4-NX; Thu, 14 Sep 2023 15:12:04 +0000 Received: by outflank-mailman (output) from mailman id 602424.939092; Thu, 14 Sep 2023 15:12:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgo0i-0001mx-Ku; Thu, 14 Sep 2023 15:12:04 +0000 Received: by outflank-mailman (input) for mailman id 602424; Thu, 14 Sep 2023 15:12:03 +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 1qgnmV-0002W4-NX for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:23 +0000 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [2a00:1450:4864:20::229]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 01e14105-530f-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:21 +0200 (CEST) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so17355891fa.2 for ; Thu, 14 Sep 2023 07:57:21 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:20 -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: 01e14105-530f-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703441; x=1695308241; 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=1gqkhvANInIWgDmOoOPJUCId3lz6JPHGNXOuOXwQD0U=; b=oZAP/o6tA7U+vthV+pyrVxTuZjqHO9w506Q3wRghSyFIQYEDIAJD4Sfj1fRF+YG7jq q/my5WA1uCl3q2UgjFPK6DnUzc6LNz/UoO1Ylu8TAzcMFYjPp23io2o+4jJbIudkPir2 jH1wSVT2WH5OsBR9XsXYhNcGzHHpZfcvroTb7rzrbzkwah85tYE51B06VCkvMdPpDUcJ NBIzUTAsIkC6esgNu5Cgh70lidPgOT4ub/r4otZ/OiXqBZXj6kzJk1Cl3MmwdqA+SmS7 tTta2ESa9ZRJ2l1hqoewAQVJj/QcR2JqSGVz4hfg6HcLCM/r/3vpkBSiRj43+OXQw/lq Aaag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703441; x=1695308241; 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=1gqkhvANInIWgDmOoOPJUCId3lz6JPHGNXOuOXwQD0U=; b=jvSdGYfDj1oOZiUiSACoixvinOBYrCjM+Dm0anW6oXp88BWdt0tqFPap0eb6uL7eLm 0E2WRVorpHTMLXDWmfCtM6V0esDSvtVNYx+eG22x5zk+JVv3siq7CJmyzBwSvRRC9agR LfmlLFHBUW/BunykwKwICzNi7LwP8ryvnvoUGxBL5MD8bI/PPbxEab6niobcxfWuWRKX gieI7BbiomjzIX2FNdBkxGN6OriFpquAkCTGITjG9DBot/VMRgOEjvsjPo/Vx6ADglSW UQOpenEsu2pbzJavNn9o8zj2K6l4TX1jX8tpxO5RAK7+/vkJQ6WxMYhKc4YuCudRULpR 1xqg== X-Gm-Message-State: AOJu0YyNqqrtnxVu6angTigio0XIHGkDe4LXdfinv94NnqhzqD+PUkg5 GJ5vsi0XlRZhCzDKTzlRrkFJ6nDg4VQ= X-Google-Smtp-Source: AGHT+IHSLICORFafw9BuEY1nMokrIyXeJugx5OEqDLKMY8O6saI+9vYKCLyW18Rzq5eC+iJwY4lGNA== X-Received: by 2002:a2e:9b4d:0:b0:2bc:ba71:ddf2 with SMTP id o13-20020a2e9b4d000000b002bcba71ddf2mr5298747ljj.15.1694703440811; Thu, 14 Sep 2023 07:57:20 -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 17/29] xen/asm-generic: introduce stub header percpu.h Date: Thu, 14 Sep 2023 17:56:38 +0300 Message-ID: <521647680aa5010629ded799010c8f9e5d22cde3.1694702259.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: 1694704354664100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/percpu.h | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 xen/include/asm-generic/percpu.h diff --git a/xen/include/asm-generic/percpu.h b/xen/include/asm-generic/per= cpu.h new file mode 100644 index 0000000000..d1069adb61 --- /dev/null +++ b/xen/include/asm-generic/percpu.h @@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_PERCPU_H__ +#define __ASM_GENERIC_PERCPU_H__ + +#ifndef __ASSEMBLY__ + +#include + +extern char __per_cpu_start[], __per_cpu_data_end[]; +extern unsigned long __per_cpu_offset[NR_CPUS]; +void percpu_init_areas(void); + +#define per_cpu(var, cpu) \ + (*RELOC_HIDE(&per_cpu__##var, __per_cpu_offset[cpu])) + +#define this_cpu(var) \ + (*RELOC_HIDE(&per_cpu__##var, __per_cpu_offset[get_processor_id()])) + +#define per_cpu_ptr(var, cpu) \ + (*RELOC_HIDE(var, __per_cpu_offset[cpu])) +#define this_cpu_ptr(var) \ + (*RELOC_HIDE(var, get_processor_id())) + +#endif + +#endif /* __ASM_GENERIC_PERCPU_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703477; cv=none; d=zohomail.com; s=zohoarc; b=XR2UyF67INVU5NQ5GJT6l1cM4M3coQLP58RVDeUQ4DGzpMsoBtqgGH1EcF9q9pfrcZDto56oXcnHXs3kOJWpr3kQzFDVorGaKfjBdnrhj9pE5VXXlVv1eUyqfmbX90xFTHPv0nuRf3OZzn1QroXNZjiNUUmWsnDwYoVM4MciEdU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703477; 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=vw4hs7r1RHwv2uC+iQlr3b+8ho8pcegGsrGnk2bhCNY=; b=NSdYEiJsuaoL5RQK0Zj3BcYF6SJo0Ge6/NAKQUr9f4TAE3zD5+RtgB4N1g3yc6JQendCb3fHn59HnSz4R54nIu3yyJfV29w2dCB/FnKqdlc9le28Y+x7CXGls0aVSJZAErn7J/dYqy5pDaIDawi1QIb87EynZQLSnAo7DDL4sfc= 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 1694703477273117.84811799013482; Thu, 14 Sep 2023 07:57:57 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602370.939009 (Exim 4.92) (envelope-from ) id 1qgnmZ-0006c8-Aj; Thu, 14 Sep 2023 14:57:27 +0000 Received: by outflank-mailman (output) from mailman id 602370.939009; Thu, 14 Sep 2023 14:57:27 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmY-0006YE-G9; Thu, 14 Sep 2023 14:57:26 +0000 Received: by outflank-mailman (input) for mailman id 602370; Thu, 14 Sep 2023 14:57:24 +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 1qgnmV-0002WX-Ok for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:23 +0000 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [2a00:1450:4864:20::236]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 02331945-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:22 +0200 (CEST) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2bfb17435e4so16720911fa.0 for ; Thu, 14 Sep 2023 07:57:22 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:21 -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: 02331945-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703441; x=1695308241; 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=vw4hs7r1RHwv2uC+iQlr3b+8ho8pcegGsrGnk2bhCNY=; b=qzpF6ZRsVQCa2e18UjCer1M88+J6GGVNivNK84B+J1OASihjcCG2F7IBO3xxli66Yb qgrvqved6pbLfgnSvct5VRwUOn9Gt21lZns24W5GGIs0Kh2cLkwXNt5JUkkMEYtfOBzO cNnxAza9KL1Tmay6kqyiRHh4ZMuGkOzAJ964QtDJA2MrJb0/zbtC5dhwsVJz52EIsukt rlCvrZgAPyxxdICHDMxBnw2QZegvNj/sVKfAZTdkR5dJyVq2HEKeuf8tJyhNjWPrEX2O BWrOEAZkvl8UZbufZgZyJP7yHqTisn4EwfqiFmWPOi65KrbkYeJ03oVL/XopvjpzuH6a yXzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703441; x=1695308241; 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=vw4hs7r1RHwv2uC+iQlr3b+8ho8pcegGsrGnk2bhCNY=; b=WOHSUcxnixFDk6kWPShfJAaIkA3L9g+Nx8lDvs1goEHj9KcixubbBLo9B8bKZyI04N O/O2CNARa/9QfnoBKBjjIHNWAuIfuOc2YKlhEnOfYiFJ5n/PMecNuONp+XhYA9NRJDSu rWfSEik4ncbejEIXOWl9nTaUAXQgFzY8yiCrRiuG00qChovm+k0PLSY4yWMzwTJWig/t aDfJdsck2Hz0KtcbtslhZmHFmQmlIAZQ2I3gZT7RlwMN3tfkDruWEo6gIohkQ8hHCRbW WDSjuQ63hKDHenggd+vg7Y8eIsoCclfuDi3u2beS2h/1n9VD+uWnueAAyEknFVREhOYX SeyQ== X-Gm-Message-State: AOJu0Yy76Ta/e8GiR1tfE+3zJdrdQGiI8txMtcPLzyCSzUOeS977SUho 6ilBGAw+w31ah+gYuEBRX225bJ2pCnQ= X-Google-Smtp-Source: AGHT+IGOu5qeTStgE788nL5SLYKiQs4E/s6kFsXw64y2Cq98UHtX7SbPMURoIsOH5yR8XKkL1ZLMSQ== X-Received: by 2002:a2e:9791:0:b0:2bc:c51d:daa1 with SMTP id y17-20020a2e9791000000b002bcc51ddaa1mr5416813lji.39.1694703441419; Thu, 14 Sep 2023 07:57:21 -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 18/29] xen/asm-generic: introduce stub header smp.h Date: Thu, 14 Sep 2023 17:56:39 +0300 Message-ID: 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: 1694703478156100005 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/smp.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 xen/include/asm-generic/smp.h diff --git a/xen/include/asm-generic/smp.h b/xen/include/asm-generic/smp.h new file mode 100644 index 0000000000..5d6b7185f1 --- /dev/null +++ b/xen/include/asm-generic/smp.h @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_SMP_H +#define __ASM_GENERIC_SMP_H + +#ifndef __ASSEMBLY__ +#include +#include +#endif + +DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_mask); +DECLARE_PER_CPU(cpumask_var_t, cpu_core_mask); + +#define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) + +/* + * Do we, for platform reasons, need to actually keep CPUs online when we + * would otherwise prefer them to be off? + */ +#define park_offline_cpus false + +#endif + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694705223; cv=none; d=zohomail.com; s=zohoarc; b=Kvk8//TZBJqYrf0/b0LyHYAaWFclp2l2R+HfxF8Wf04fj+rweJvQ5diym7tGlbOUXp6VjRE3dzKXLT3Aymill9JzGjWMW3jIgDNMfxNLFJbnRfBFGQSLSxO1z/AoLq2Jl1RZIO9upuZu1VYpscYI9WhwB4qf3G1SFaS6qP78cr4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694705223; 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=coEQMPTgAm6PCB5dv/pWiS4JQtiix5jmfz04ylJhE40=; b=VfgJxNAQLrcWkyd9mahcB+Y09Qi7tz+L6fLduoePfg0vUx3netArsrUAwPy9coO+s2LtmQRcX5gBP6h+ywpMBlS9iyV2U8Tb3p2LOAO/YMhqyRwuUrzUIkN9LfI1pZ3kE7ap1ts1y5Jdb/pWvQD6mRJlCJbbQpSGSVQcERJWkgw= 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 169470522314951.707816511675105; Thu, 14 Sep 2023 08:27:03 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602522.939202 (Exim 4.92) (envelope-from ) id 1qgoEt-0003Qo-Gd; Thu, 14 Sep 2023 15:26:43 +0000 Received: by outflank-mailman (output) from mailman id 602522.939202; Thu, 14 Sep 2023 15:26:43 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgoEt-0003Qh-Dq; Thu, 14 Sep 2023 15:26:43 +0000 Received: by outflank-mailman (input) for mailman id 602522; Thu, 14 Sep 2023 15:26:41 +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 1qgnmW-0002W4-Mn for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:24 +0000 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [2a00:1450:4864:20::233]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 02aea674-530f-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:23 +0200 (CEST) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b95d5ee18dso17661681fa.1 for ; Thu, 14 Sep 2023 07:57:23 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:21 -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: 02aea674-530f-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703442; x=1695308242; 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=coEQMPTgAm6PCB5dv/pWiS4JQtiix5jmfz04ylJhE40=; b=U68eC7Sux8mDz6sKnDFTntRGIm6U9n9g+F87dvQnfSTL+Sp/u3UEhfFP1BNxKBfTDU iDstZKmlR+mdZQcwmJunQFwhc9HSkAuLvghZ4suhASIP+9ZbVmNo9W2wgp3MW5SbEe9a bZdaao7XPGU/1jCCAs4TcT/ACYYc238zvUx0dcErd93MAAHzvclg72yTEZrWQ0uReA3S 7RdhioKloLraF2vHgfDuxW9V+uJlkdO+xwYOd1/Fu1m99+shq3j3jzJ+0tmU+MQq5Uki ZYcsG0xQjBgcd89+TepKx3UIf+T0tegRSiP5voi3XXi29GN9cXolXjFJGzIQnQK6QSuF vzmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703442; x=1695308242; 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=coEQMPTgAm6PCB5dv/pWiS4JQtiix5jmfz04ylJhE40=; b=uIB2GcTywX+FLkmV9RlaX09qibCMSp8CAqljmsAu8hRdv8nzrSVWVSk07qykThq212 J68eHHpJC/5/tknziOg0XREDLwYWSQCAMkrTFnTaj743tpM5aJm3ejkVmMb3eUqYZLwJ AtVt5Dc2+xf6O8Pf1cfZZ3MbfWM3jYYS2OUBQTuvKaK7eAWzeCqJnr8iMfJVqR2vvI4y pS1/ptzOagK/YB41/7EbG6Pz/h6XiDTaGr0IARZXqm01/tDTsPw5z/9hHHiCMd3+KefK WLx/XlOp7Z66Axk/IOMN//RodrbuE2/cYqc/3mnPteeQ/363j3e170WK39prDNndpsbW 9qew== X-Gm-Message-State: AOJu0YzFzBMrn4JvWC72OsdiHwb4rgdGl/mwSopIBxqZROxzWvfJixFq mKf8C28Cstnw+7tSIQ5vg26BIsyknUk= X-Google-Smtp-Source: AGHT+IFC2dIiXATfiVYVDyfYgZUhjeLJYrsUFTZdHSupAzDtjcwvdxW+cyBAPNTcBWlsyBGzGs+9IA== X-Received: by 2002:a2e:9dc2:0:b0:2bf:ac97:df26 with SMTP id x2-20020a2e9dc2000000b002bfac97df26mr5007231ljj.25.1694703442287; Thu, 14 Sep 2023 07:57:22 -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 19/29] xen/asm-generic: introduce stub header hardirq.h Date: Thu, 14 Sep 2023 17:56:40 +0300 Message-ID: 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: 1694705223973100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/hardirq.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 xen/include/asm-generic/hardirq.h diff --git a/xen/include/asm-generic/hardirq.h b/xen/include/asm-generic/ha= rdirq.h new file mode 100644 index 0000000000..b4b71a7315 --- /dev/null +++ b/xen/include/asm-generic/hardirq.h @@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_HARDIRQ_H +#define __ASM_GENERIC_HARDIRQ_H + +#include + +typedef struct { + unsigned long __softirq_pending; + unsigned int __local_irq_count; +} __cacheline_aligned irq_cpustat_t; + +#include /* Standard mappings for irq_cpustat_t abo= ve */ + +#define in_irq() (local_irq_count(smp_processor_id()) !=3D 0) + +#define irq_enter() (local_irq_count(smp_processor_id())++) +#define irq_exit() (local_irq_count(smp_processor_id())--) + +#endif /* __ASM_GENERIC_HARDIRQ_H */ +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694704974; cv=none; d=zohomail.com; s=zohoarc; b=mbZ/SNe7grybwPFt9e56e7HOWlPK2TiOvYtjhAGpKP7YGsJEw8gDdmHVgALqdHd5PfXgplwYpQNFS9CCAlu5Drs5r4hW9IenkflNH1ACb8oGHurBsec6zPNNwpiy6ZDi9MZKzGm3sj5AAe8e6XM5FH5Tk8JdnTok3b1LtAynx8k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694704974; 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=NGJnL2nL418M5/uszjX/GlUjvflTtKGWfxAcKAqqexc=; b=Mow5si6Pg4O7facasOpO8NrN+T97TzQ6OXvHAVcQYNWpLoHmmy+MqaVv+7WsZFdEBAujLr3xHjBCv5texmlq0wolwWh3CccFhbjx3lskFFPYO2rFzqtNFsNDWih0XCY5gPhIIsXAE7cMjtY3uIdR6ZEe5q+/kM55Cpuk/l57V40= 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 1694704974409460.8474846206109; Thu, 14 Sep 2023 08:22:54 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602494.939168 (Exim 4.92) (envelope-from ) id 1qgoAn-0008Pj-HE; Thu, 14 Sep 2023 15:22:29 +0000 Received: by outflank-mailman (output) from mailman id 602494.939168; Thu, 14 Sep 2023 15:22:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgoAn-0008Og-Av; Thu, 14 Sep 2023 15:22:29 +0000 Received: by outflank-mailman (input) for mailman id 602494; Thu, 14 Sep 2023 15:22:28 +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 1qgnmX-0002W4-N5 for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:25 +0000 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [2a00:1450:4864:20::236]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 032ce7ed-530f-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:23 +0200 (CEST) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2bfc1d8f2d2so13634341fa.0 for ; Thu, 14 Sep 2023 07:57:23 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:22 -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: 032ce7ed-530f-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703443; x=1695308243; 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=NGJnL2nL418M5/uszjX/GlUjvflTtKGWfxAcKAqqexc=; b=jNUQvqOeBMSDGD+JgOdSUqCfVApGuGjZ2qLOV+1Y1GBdbZao6bYyuugJJliXdpuraL JFcQkdznxowmut/aQnMPnB4n0Rl23/1IHbD9DByKHoCt6ccH36BEo1PdoPSym2RsiP1U gr44pzwSSaKOmM3i/2cwoHUD3Fx3jEscx95OyiW/pF+4AsvsUlVEMGUtDgY9qWBkFKN8 m5UrcX6oCdNUG9SaQ9P0fjER/eoSn3RfhHWPRYml1EHt6+WBZBor35mu8x8LLOfQTTxR dD3xLsm0m7VKMpXUIJrpR4OC1lNBbsCYk1G9cN5Rcr/z6lw6XWwoSWWG3azxSAQPAExg 0i2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703443; x=1695308243; 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=NGJnL2nL418M5/uszjX/GlUjvflTtKGWfxAcKAqqexc=; b=cY0VRaIIGCElNItWEMdHtFkRvoGk2QbxyJh3DT/Bzf7wpnLjlk7YozCYdX/pULqpN3 bxRWGWMInLIjodNLfK+H90uGO6P5FfgMIu2x0gWpsgzK7w4I8k9l22Gj/ztlaBgC/t3N 0Q94uNm+9ClzcHkH18NeIMp57gqA8sOpjtE6kBVfKWjaGOWkLUCFZ8dmXDfoJoyVx5tT +MZEKCxXVeCiAJxz1HRn7ElTOuzVeii9Vj8gBRDAjVV13t6yJflPc0xeCY34BgMHe2we GzuLtUpY3yB0M2MwRxjR6FDM5qOS8qFs3ivVT90Hi8pd9giZqjyycqc7Q8nrZB76tj8K Rxog== X-Gm-Message-State: AOJu0Yw32jnysGeCMCybnl0G/YyQTXNaQiDMRW7/aA2HT9kqcD+xdeZI TRV0mKnnsAkg2QljrQjfhQ6xMd7sT7Y= X-Google-Smtp-Source: AGHT+IGpK0E7SuflPXItoYH5tWLeY7McAC9Nf7YsdmHOvtwG74oWQuABe3GYNz3ubbaUUW4mz2J0tg== X-Received: by 2002:a05:651c:1250:b0:2bc:d2a6:3083 with SMTP id h16-20020a05651c125000b002bcd2a63083mr778572ljh.18.1694703443185; Thu, 14 Sep 2023 07:57:23 -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 20/29] xen/asm-generic: introduce stub header div64.h Date: Thu, 14 Sep 2023 17:56:41 +0300 Message-ID: <0c006d03b917924c411e563dcdc8043498be48b3.1694702259.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: 1694704976394100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/div64.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 xen/include/asm-generic/div64.h diff --git a/xen/include/asm-generic/div64.h b/xen/include/asm-generic/div6= 4.h new file mode 100644 index 0000000000..9f9c20878b --- /dev/null +++ b/xen/include/asm-generic/div64.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_DIV64 +#define __ASM_GENERIC_DIV64 + +#include + +# define do_div(n,base) ({ \ + uint32_t __base =3D (base); \ + uint32_t __rem; \ + __rem =3D ((uint64_t)(n)) % __base; \ + (n) =3D ((uint64_t)(n)) / __base; \ + __rem; \ + }) + +#endif + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694703482; cv=none; d=zohomail.com; s=zohoarc; b=LNf0wGwaHonUb40rug6TV0BG2EQt6h9p01WvyjoSVUF2zFMxrdeuT2zqW06HpsTZmXHM7ECzWS4fhUjCoJ4nlD3pZEz/d/3d+l73keIJ2eRTJ1PbxwkV1bmnsLj/tMJMb9f6ih/NmHV5JEKHlW7oVzSErK4BvmR7GBSseR4GnOw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694703482; 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=8T7F67gdUCk5RxXzpIuqhSSFrgC4kIPj+C7zkKjIZjk=; b=SlcIXNhNe68T24yZaN6HUviZHslMy1oVH9oZDpcIaXaVjQvCwaryzaAZfg+rCg6jHVE01C+x40JwQDrjblIRrPG/dHLpPRTHDKVE60IHG1TUgmfOwBgn6QQu8EMiKCVRYlJZUc+gq3dtmMXVgqJhEAIpHqjpGgUeyOei65GIu9E= 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 1694703482249354.12422040597085; Thu, 14 Sep 2023 07:58:02 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602371.939028 (Exim 4.92) (envelope-from ) id 1qgnmd-0007gY-Eu; Thu, 14 Sep 2023 14:57:31 +0000 Received: by outflank-mailman (output) from mailman id 602371.939028; Thu, 14 Sep 2023 14:57:31 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnmc-0007c1-HD; Thu, 14 Sep 2023 14:57:30 +0000 Received: by outflank-mailman (input) for mailman id 602371; Thu, 14 Sep 2023 14:57:27 +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 1qgnmY-0002WX-5w for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:26 +0000 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [2a00:1450:4864:20::230]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 03a6980d-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:24 +0200 (CEST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bcd7a207f7so16659921fa.3 for ; Thu, 14 Sep 2023 07:57:24 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:23 -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: 03a6980d-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703444; x=1695308244; 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=8T7F67gdUCk5RxXzpIuqhSSFrgC4kIPj+C7zkKjIZjk=; b=MYZAZMANLfF6jA6b6WgMbOEPjhY0xSrcMFQyuCLJJnLIwR/jch+NoGkBVAtBARYoCb v4sWMHZQL0XsKmd4MexLU9ySjoxiGMdSeCrezOkFDzgLIzVM8ySrUj7d6FcSLehYikKp dt+k1d0Ss9pQx1ZKDn8XjR6aJpXbCT9jkv/7E+GWJwaNsaUUn1aqD191EdEx1TnPjFTN ohKzfcgH0jWzTsqItx4jfkDhYsH9rufUNGQCHLUKKPtqtEMsicFBUK3fMMaHNyg5ji15 AaTAwij8hAgIqcEJvdEiWly64tGmzfTkAIOUw5TLuimnn2lOdS8P2p2JyD9o/MA/Km9g Oe4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703444; x=1695308244; 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=8T7F67gdUCk5RxXzpIuqhSSFrgC4kIPj+C7zkKjIZjk=; b=ezfoYaluxT9tF1gLlDiE3y2URBcWvLibsHAlGCzaY5T6YFjk2IkkEjIGcVWqN3UZom SnvZYoyboS8ro6vEVmr1E2MmYsuZpbGjhZhNynf2Wmz723RD56Nus/EPJVeYbpBdcj/H X7j3dynoLLtLw98K4C5U0Vv+yM8nD9pjk+LX1PfI2CM6hjIFWiKzchi+hErqCoGvQcuL CwuW7EPARQ653mQjA0p1K7fheREWVm+PkkaFlTTcMVRQmZx7dype88E+p2cHdL8Hab0H KwbNaZxJ7ij17vnGqb41MD4XyTiKMijzjPm+8oA3oT1jO1xDxB88tjyK+w/pnqso08x1 d9Aw== X-Gm-Message-State: AOJu0Yy6smKTtUXxD09hQ8mDrTRmrNRj2K+c8OZYBkgkPuo6UGggX2vE IS73Ql5EMHnfVQV9hohyl/R3tvCK/e8= X-Google-Smtp-Source: AGHT+IE5hnkQJ/YBRz2XLkfxGXCOOALx/sf4bFP8n2YRPE2LtDydSYrRsL4Y2XSyuCPA2LsCZrI/5g== X-Received: by 2002:a2e:501d:0:b0:2bf:b770:ac2e with SMTP id e29-20020a2e501d000000b002bfb770ac2emr4391412ljb.33.1694703443933; Thu, 14 Sep 2023 07:57:23 -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 21/29] xen/asm-generic: introduce stub header altp2m.h Date: Thu, 14 Sep 2023 17:56:42 +0300 Message-ID: <619b24fbd568f439baf1941a972c6943f423b4ad.1694702259.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: 1694703484288100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/altp2m.h | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 xen/include/asm-generic/altp2m.h diff --git a/xen/include/asm-generic/altp2m.h b/xen/include/asm-generic/alt= p2m.h new file mode 100644 index 0000000000..e73cc8a04f --- /dev/null +++ b/xen/include/asm-generic/altp2m.h @@ -0,0 +1,34 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_ALTP2M_H +#define __ASM_GENERIC_ALTP2M_H + +#include + +struct domain; +struct vcpu; + +/* Alternate p2m on/off per domain */ +static inline bool altp2m_active(const struct domain *d) +{ + /* Not implemented on GENERIC. */ + return false; +} + +/* Alternate p2m VCPU */ +static inline uint16_t altp2m_vcpu_idx(const struct vcpu *v) +{ + /* Not implemented on GENERIC, should not be reached. */ + BUG(); + return 0; +} + +#endif /* __ASM_GENERIC_ALTP2M_H */ + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694704252; cv=none; d=zohomail.com; s=zohoarc; b=SPvbyFfjDDV+QUyQRCTUe1o7Glf3hnF6tWyEAkVFJ4axs/45rNKGTuuKs9vlTqMW0wlagRsKYZTSu1+aL0xTlA/uXp1+kEC2ygtbz2gnbL85tjOYGEFUeXgD428dpqGE6Lax3lJZ/oxYGCSjOcWtEu+2+/JaLk7xiYyVXEY9x8U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694704252; 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=xihVi8cLegPWMrOminjSxQFBOuvSV7/slHXRNJVd6Zo=; b=RJBydfyia8Acxqa7zRGQ+rPgF99blXj364xHKH986b0rvVcO77pKvR6724O0tpUzQzLhM+LlgQ4JkiLHM5QnVYzW+HVcX+wJPoSZfYQ+WDM8LvRTNCdvnuAF2qReRePy00xOKYsNH1TaGvXg02Pgwdwo59wOGw+TUZkKvumxbJ4= 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 1694704252318860.2470688227312; Thu, 14 Sep 2023 08:10:52 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602417.939081 (Exim 4.92) (envelope-from ) id 1qgnzC-00012n-DH; Thu, 14 Sep 2023 15:10:30 +0000 Received: by outflank-mailman (output) from mailman id 602417.939081; Thu, 14 Sep 2023 15:10:30 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgnzC-00012g-AQ; Thu, 14 Sep 2023 15:10:30 +0000 Received: by outflank-mailman (input) for mailman id 602417; Thu, 14 Sep 2023 15:10:28 +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 1qgnmY-0002W4-N8 for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:26 +0000 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [2a00:1450:4864:20::229]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 04179e09-530f-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:25 +0200 (CEST) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2bcb50e194dso17175671fa.3 for ; Thu, 14 Sep 2023 07:57:25 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:24 -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: 04179e09-530f-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703445; x=1695308245; 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=xihVi8cLegPWMrOminjSxQFBOuvSV7/slHXRNJVd6Zo=; b=ML3fcGQf42pnah569J9f9n0fyLAN8pEwkxvqpybrAKLcMZBXghrEBwuXyV87sQ+N7w tuO6jB+/jbqwjYQ50OjcgQ6zxGgghkCkTG5egclErDsezBlceMHoI3MkWcwVhI6hX0W7 +f8S5R3BfxUejzW9qPbPpLYR7ENVhqBEGmjk3ZcaRLZEc6STZsJ9HnDzrVd+DJQbhLgG Hc/OKCyJB75IMgjPTBeGvBp/EEDcF2wmmnrRJzFgiWhS4Mtvg73iFhfSSbx5tzToL32S LYVMk61MRXwzA75CP4SCtkzkIFWe6rebOn10eADoC6395v4ZO7LoahZETiBZPds3vmLY fHBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703445; x=1695308245; 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=xihVi8cLegPWMrOminjSxQFBOuvSV7/slHXRNJVd6Zo=; b=IyaJA1yU1susb5mPjCyUW0dEC85fy4r0XpscS8c66qnp4cd5Mdf+IDUNIXfWbyGzdq XTF5+p+Z6OWtiRcRggKot60KLmUTVJjrHrVGOic3CQeTRpdg+n/sJgb+oPl9KYkhqPfg wE6uBl9TtNzeF2LgXfS6jFmB0dSDrDAqT29N0ZtEDA9FHXOmnguGgBgCkVPGhY05+WOP DYB0zcLxynCpKors5EbtGSJ+AkSZB4mF7oQnbVgqiIIS3PtDAC1tRky+/DI6pHfhNP7B EGF5ZbouFVXMJNHVwTtTzQ1UOHPAV/xNLpCREVGHaKgsgoH38AILLdXbNBzIcay+ILe9 Pb3Q== X-Gm-Message-State: AOJu0YyVsaXOsQ/3gJwTdpTvm0UIYWLjLb+5wRsZQ6Jg0/V4OE30B75I j1hRDSCayRCuIukHWaNa7KUshHfvNcA= X-Google-Smtp-Source: AGHT+IHcNL9UzH0cQh+dGNpR4iMJisR8+ZLwwYuot1CAr0VLDWMpIoH4hZ483tzDR9SsBIXTPDo92w== X-Received: by 2002:a2e:8651:0:b0:2bd:2240:8376 with SMTP id i17-20020a2e8651000000b002bd22408376mr5647353ljj.14.1694703444722; Thu, 14 Sep 2023 07:57:24 -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 22/29] xen/asm-generic: introduce stub header delay.h Date: Thu, 14 Sep 2023 17:56:43 +0300 Message-ID: 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: 1694704254053100003 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/delay.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 xen/include/asm-generic/delay.h diff --git a/xen/include/asm-generic/delay.h b/xen/include/asm-generic/dela= y.h new file mode 100644 index 0000000000..1e68c6cacb --- /dev/null +++ b/xen/include/asm-generic/delay.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_GENERIC_DELAY_H +#define _ASM_GENERIC_DELAY_H + +#include + +static inline void udelay(unsigned long usecs) +{ + BUG(); +} + +#endif /* _ASM_GENERIC_DELAY_H */ + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694705200; cv=none; d=zohomail.com; s=zohoarc; b=Cc1enOiWs2k3aMSHyEcUiW37eu1o8PwHNFzHI7ajlXPLnIu/vwMeAbWOULpVZ+NShHu4idVTrycYRX0ZluheGoEY2jE2jwWnFD52CR4oQZxbrwajK9QVlYRiMUHhxCxVOFo1KdTuGsAxnhKKt5M/mp7+GNSBXATqOH4uqK3gSV4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694705200; 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=rIPWd/mQM1gGtdYNlRah5nW+TfnslfR5ETeR77/EyyI=; b=BPLiaRrZBtQ9UMz+hL4yAHHr2F9+J4HqqtzZr8fFy9WLMHK2vHusNVarGqEU0aS2alW9nqRst3hGoij0FHyy7308u2POU+Sh4WgMbEl3/o+0ZE5j24Tm8pFykDncLTgRTfoXqoOluCkgbsmHoYY3+90SAgaRe9hTYvCrpHwQLJo= 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 1694705200110325.4703290794969; Thu, 14 Sep 2023 08:26:40 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602518.939192 (Exim 4.92) (envelope-from ) id 1qgoEY-0002jr-8y; Thu, 14 Sep 2023 15:26:22 +0000 Received: by outflank-mailman (output) from mailman id 602518.939192; Thu, 14 Sep 2023 15:26:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgoEY-0002jk-5u; Thu, 14 Sep 2023 15:26:22 +0000 Received: by outflank-mailman (input) for mailman id 602518; Thu, 14 Sep 2023 15:26:20 +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 1qgnma-0002WX-60 for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:28 +0000 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [2a00:1450:4864:20::22c]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 048d46ba-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:26 +0200 (CEST) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bfb0a2682fso17384781fa.2 for ; Thu, 14 Sep 2023 07:57:26 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:25 -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: 048d46ba-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703445; x=1695308245; 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=rIPWd/mQM1gGtdYNlRah5nW+TfnslfR5ETeR77/EyyI=; b=G+fbZQl+z8NzfrxacDW77EfcYrgD0u20XzhM0/O6Y/v86rz3GGbp7FT6+Fn/xzdXK4 tdd6Nm1y0qkC9hpj7b0ZFupsOd6ZcrhbEktk2VSjfhzHjzO4QqqWFW9Q6vGfDBayJaU9 9jT5QkQWw/tJNTLIev3xKzQ1OnoEE/mqbdt0da3ZTN3esS5+UmWqf0DLMDyaeCoXET82 /kX4cdKgnMX9xSQML3uhQT8zmAF0odutxY+hSUzmcSFGewQTPD5vGOk+x1TUfT96MyX0 SgaYsuiGwl4wncT2tAU86h2y3UF6j7uJT415uzCkCyu7V3AsYpyCnTWdIcVvaiq8DmxF uS+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703445; x=1695308245; 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=rIPWd/mQM1gGtdYNlRah5nW+TfnslfR5ETeR77/EyyI=; b=laIy0j+NvfDFl479PoCpAW+zemgywnQkJRT92RAUOMrF/PbVE4lGIr1uM2SnkbeP1N ekRFYqm/EnJB55DgDW0cJVV7ejRWlqVGtNs7ndOUFhU9Jvorzrqfjz+STCIRWVPn2yko jeDXZZDoMNWUpeRxb8Q0JNlqF7WHQMu7Mor+42L88YVJkxaW1KjZL+dr8Tt9dPnkMHj4 Ewwuo03cOmdVi0ayqqTcaT87B+o7VQCUgW6Jkq+aL0p0S4LyCSa8YuWuJuchGoRjAmNF hAuIgq7/F8WjyH6M8JbEXLRFNuKKrPzKuTcykx/PpNuji+dLTpDhtRSi9wdVC72eaWpc oDxw== X-Gm-Message-State: AOJu0YxxVYpAKa+afXU8/Za8lHrhqFC+qoetVKsLnp4t1T1koh+uh/Oz 186GY9H+Krj9LXRFsQlwDnaauT0a9bs= X-Google-Smtp-Source: AGHT+IHZJLrYAX+ZwlZsM8IMNqzqVlG24nint87g5vBGG8RvnDK75EuJ6Iokrhga+g1C4PO9R/8oGA== X-Received: by 2002:a2e:a1d0:0:b0:2bc:db5a:9546 with SMTP id c16-20020a2ea1d0000000b002bcdb5a9546mr4611238ljm.7.1694703445495; Thu, 14 Sep 2023 07:57:25 -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 23/29] xen/asm-generic: introduce stub header domain.h Date: Thu, 14 Sep 2023 17:56:44 +0300 Message-ID: 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: 1694705201494100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/domain.h | 53 ++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 xen/include/asm-generic/domain.h diff --git a/xen/include/asm-generic/domain.h b/xen/include/asm-generic/dom= ain.h new file mode 100644 index 0000000000..b2d244d121 --- /dev/null +++ b/xen/include/asm-generic/domain.h @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_DOMAIN_H__ +#define __ASM_GENERIC_DOMAIN_H__ + +#include +#include + +struct hvm_domain +{ + uint64_t params[HVM_NR_PARAMS]; +}; + +#define is_domain_direct_mapped(d) ((void)(d), 0) + +struct arch_vcpu_io { +}; + +struct arch_vcpu { +}; + +struct arch_domain { + struct hvm_domain hvm; +}; + +#include + +static inline struct vcpu_guest_context *alloc_vcpu_guest_context(void) +{ + return xmalloc(struct vcpu_guest_context); +} + +static inline void free_vcpu_guest_context(struct vcpu_guest_context *vgc) +{ + xfree(vgc); +} + +struct guest_memory_policy {}; +static inline void update_guest_memory_policy(struct vcpu *v, + struct guest_memory_policy *= gmp) +{} + +static inline void arch_vcpu_block(struct vcpu *v) {} + +#endif /* __ASM_GENERIC_DOMAIN_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694704617; cv=none; d=zohomail.com; s=zohoarc; b=fjHGyU+qbejO+45zZY8K0SsPoiRikQkEAqBhXJAYh1ZvrZ+wmGXDZkrATCer4c/4nk4e3ESja8QH446Vmxw6b8L1OrhRPVP5b0+oWzHQAikHlUja9ksgBSOxUasyWgBXV/qhwCGAjI0q/0TCnpmFrpVgi3vXwvvQJemxO1SXurY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694704617; 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=Ok1TJYwJQJI7C0pX6S7p2xUmNjrsXD97NUag9YwJGF0=; b=LNWTIa2tpDJ/+g/skNIwdpQ9tkOCAG67ZexXMFoc49545NYDd7+D8tjwmjRc6V8T8ogtLO5x5APk/AIGuiBemWtCBf4Wrx/5D0ODPGpsIo4s1gziK3uI8qS1IZsDGJfAezqhHroJ6y9xK8EoasDf3Sbxot8tvxq2rLvU6TQ/PHQ= 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 1694704617155945.5307821127976; Thu, 14 Sep 2023 08:16:57 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602458.939122 (Exim 4.92) (envelope-from ) id 1qgo51-00049t-OY; Thu, 14 Sep 2023 15:16:31 +0000 Received: by outflank-mailman (output) from mailman id 602458.939122; Thu, 14 Sep 2023 15:16:31 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgo51-00049m-Li; Thu, 14 Sep 2023 15:16:31 +0000 Received: by outflank-mailman (input) for mailman id 602458; Thu, 14 Sep 2023 15:16:30 +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 1qgnmb-0002WX-60 for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:29 +0000 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [2a00:1450:4864:20::229]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 05023a52-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:26 +0200 (CEST) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2bcbfb3705dso16495241fa.1 for ; Thu, 14 Sep 2023 07:57:26 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:25 -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: 05023a52-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703446; x=1695308246; 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=Ok1TJYwJQJI7C0pX6S7p2xUmNjrsXD97NUag9YwJGF0=; b=GhJ5MwRsCwNw3qAl3AAeYkG7HGO9uHcZwYFjpDiOhKFvayyx6oGvxoyCWJIeJei5qg pfzaI/vMEZVWUrVsjuA6KVRPyAqj9KPsIQIEnNMaRg/K4htYFYHDHV8016fSWhp1Xm0P QTPnj+XnkT9CEEg9iO2rsgxj48kcvhvLu1kLFo2XMijiVjc2jjkVIzC8n4IW9weOfWUo XO8GokO5lo1dsOJURdQ2oLP0yUF2NdHSjIW0IUJGUWn3zn/35gxqzeQxLf1T97JcEXbg E71KQu9UpzUFbNC93qbGFQ6MPBcfe4A3dz/2rjLmetst0yDAdeQGF88DFZmLZ7uUz5zF 5xNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703446; x=1695308246; 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=Ok1TJYwJQJI7C0pX6S7p2xUmNjrsXD97NUag9YwJGF0=; b=DpgD0SDcu+DVXbIe7dbgpiFRE1VgL7YDoFaw02lHqAUmNZcFIx0eKMwccje+69LqTm +OfZTH962bUooOMBdE3vQF/QTLHZGYE0tzZD6We5Y5pSPwjmXq0A5LdjN/u/jZSpD522 JHwOslNJkcNXIUlktG+OOqRJHZhTUckfhpeF9ak4SCQId9goma1TWxM5qCfD3CfbiUhI nW359IDoSbQzHLLPmGlKbWJWGgnx0WOmYT+EwmoBGFBYTBvokpW4fCkEAOMJqYPbcVFu O9sG6cFjOzN3fI0iyjIqOpYbpHyB7rv4seISiUbBeSr1P0KT75wWVTpWZV21H6pV+sh8 AwmA== X-Gm-Message-State: AOJu0YwuSF2HRxb8t1C9JEU8nmzzgb6smidF7x3CxsajA7caRH7lXPVU b8EgjtdMFcA1D6IBKZXhs95QD1JOsMU= X-Google-Smtp-Source: AGHT+IGbJcWrraL1eWxsT86XyCys0UVC8IK8YvDLuazDOc0+RZw4dzxYICFJILoCRVA8v8ix9rJL/w== X-Received: by 2002:a2e:960e:0:b0:2bf:789e:b5dd with SMTP id v14-20020a2e960e000000b002bf789eb5ddmr4778805ljh.53.1694703446235; Thu, 14 Sep 2023 07:57:26 -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 24/29] xen/asm-generic: introduce stub header guest_access.h Date: Thu, 14 Sep 2023 17:56:45 +0300 Message-ID: <56793f5bb85535f4e5be90fe83d0dc9850330b0e.1694702259.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: 1694704617533100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/guest_access.h | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 xen/include/asm-generic/guest_access.h diff --git a/xen/include/asm-generic/guest_access.h b/xen/include/asm-gener= ic/guest_access.h new file mode 100644 index 0000000000..b865d37f4e --- /dev/null +++ b/xen/include/asm-generic/guest_access.h @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_GUEST_ACCESS_H__ +#define __ASM_GENERIC_GUEST_ACCESS_H__ + +#include + +unsigned long raw_copy_to_guest(void *to, const void *from, unsigned len); +unsigned long raw_copy_from_guest(void *to, const void *from, unsigned len= ); + +#define __raw_copy_to_guest raw_copy_to_guest +#define __raw_copy_from_guest raw_copy_from_guest + +#define guest_handle_okay(hnd, nr) (1) +#define guest_handle_subrange_okay(hnd, first, last) (1) + +struct domain; +unsigned long copy_to_guest_phys(struct domain *d, + paddr_t gpa, + void *buf, + unsigned int len); + +#endif /* __ASM_GENERIC_GUEST_ACCESS_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694705113; cv=none; d=zohomail.com; s=zohoarc; b=HpgdnxjRYFDS6dUSQTc5KghISFmVFjZVQBw9tzpaOacQl+k2iWlx//2+TGTQUnf6/tRAmR6TuTJmQQv0/momW5EnOm02SJ9JpybXNoLb/5Wz4WFpDer+3mVwoTKzUEcL/SKRiRp0AT6sm7djMa22Y+1MvjWQQyziPSWuqa+g8EY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694705113; 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=u2OuKjDTzJ8+b8gwJlzazcZfiUCC0H+tkCh4KnTlNNA=; b=KRJSvwZquImm5Ge2pBO82jw3z7+njev7aOt9nY2pWv9woml7pbLRRbzM30fG5VZmig2QCVm8SsYN5fPOKIHoY852v8kskX4XaqKYHLz6pB0PrPFjGVya0N19Au8Yc+ZWUfLYr4UQLNnHXQddw2QgO5brfTBPbLZQTSdFqVlhoII= 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 1694705113518910.8594809341419; Thu, 14 Sep 2023 08:25:13 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602507.939181 (Exim 4.92) (envelope-from ) id 1qgoD8-0001WB-Pz; Thu, 14 Sep 2023 15:24:54 +0000 Received: by outflank-mailman (output) from mailman id 602507.939181; Thu, 14 Sep 2023 15:24:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgoD8-0001W4-NG; Thu, 14 Sep 2023 15:24:54 +0000 Received: by outflank-mailman (input) for mailman id 602507; Thu, 14 Sep 2023 15:24:54 +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 1qgnme-0002WX-6N for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:32 +0000 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [2a00:1450:4864:20::22a]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 06b79c7a-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:29 +0200 (CEST) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2bcb89b476bso17530101fa.1 for ; Thu, 14 Sep 2023 07:57:29 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:26 -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: 06b79c7a-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703449; x=1695308249; 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=u2OuKjDTzJ8+b8gwJlzazcZfiUCC0H+tkCh4KnTlNNA=; b=UXC2ifmarNKAVsr+HhivmKJQjNZM7Dlyss19BeZuRF4wBqpbjnfDvk8AyaChmd4Bv8 zYCFImuXF4ElJpR0tEwyHjLlKNDACKUTZ69wujFC6RV1X/azHQhi8mWOpYIlWi7pyog7 RR3fhyusmrIyx3RHIZEDWG3zmIyqsjEzh3g3VVlEUPAiiEqTjsmFWnXxnf1cJpwtPsQM nPygrpmNI7gLahXb2btxGUUeW/fFsaHCMzVwMLOMfe/Pf4SApk48dHtNeziBLKdCsq9H aVVw5Pgx0OgE8rw/DGJMtrRxCX05RGd547vXh2FJO84dvn/CKSq73FceTQQXi8TpOWXx jtuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703449; x=1695308249; 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=u2OuKjDTzJ8+b8gwJlzazcZfiUCC0H+tkCh4KnTlNNA=; b=rDhadcmG02qGTv7SfDn83m/q7Zq8KjoKXUzBHjva0IFToXSqdM8QahrpX1I7ldt1UW lOJs/6ksQne4cU1NUe9UMqCasDl5OIm8h/JBZPWzid3kRKMonuWxy30ftzXCHsK8uCUZ oNsSLDfbyGO0WKhOrj4YUSQr9YzXa6wDWsWDo4Td5XixyPNTwYD83LI6FmUUGbflTtBe Zb7lVhDRCxwZo6kt1uG0vRavAXx01Cd3aXmYKq8FN+G6cfxb132Xccbno0rkcHUPuB9t kv+nP5YQdqvSX+q8NzHyyWA5YoTPwhf+l2xIvSX9V2MzfCWWxpWNZnNhNZTkd1OHKB9O G9Xg== X-Gm-Message-State: AOJu0Yw8+cQJkvzml9F832pD+3EdU83yaD8Nz9LrFnyCPm//0wzk12BZ 1W/kyC5q052Pr39swPrrcR64j/cYoXA= X-Google-Smtp-Source: AGHT+IES/YCnHzoBVQcCOIIasE5ptSSuGBzMiYKuVGdk/KMS5bFPAER8EEaM8C1vbMEoic+0UL2oFg== X-Received: by 2002:a2e:3305:0:b0:2bc:e954:4203 with SMTP id d5-20020a2e3305000000b002bce9544203mr4798655ljc.26.1694703447012; Thu, 14 Sep 2023 07:57:27 -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 25/29] xen/asm-generic: introduce stub header irq.h Date: Thu, 14 Sep 2023 17:56:46 +0300 Message-ID: <63ee09cef41d0d2ec5e26eb6dbe20df2e377a0fa.1694702259.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: 1694705115126100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/irq.h | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 xen/include/asm-generic/irq.h diff --git a/xen/include/asm-generic/irq.h b/xen/include/asm-generic/irq.h new file mode 100644 index 0000000000..5f68cbd10d --- /dev/null +++ b/xen/include/asm-generic/irq.h @@ -0,0 +1,44 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_IRQ_H__ +#define __ASM_GENERIC_IRQ_H__ + +#include +#include +#include + +/* TODO */ +#define nr_irqs 0U +#define nr_static_irqs 0 +#define arch_hwdom_irqs(domid) 0U + +#define domain_pirq_to_irq(d, pirq) (pirq) + +#define arch_evtchn_bind_pirq(d, pirq) ((void)((d) + (pirq))) + +struct arch_pirq { +}; + +struct arch_irq_desc { + unsigned int type; +}; + +static inline void arch_move_irqs(struct vcpu *v) +{ + BUG(); +} + +static inline int platform_get_irq(const struct dt_device_node *device, in= t index) +{ + BUG(); +} + +#endif /* __ASM_GENERIC_IRQ_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694704966; cv=none; d=zohomail.com; s=zohoarc; b=lWxet+RWThIsI/wAwparvXp4bjGvxVxz4jUOUl0hm6YgK15cXukRNk2g6n18vEBJvDpmsWtuKPu0J7CYdYZIZlfDzpMNGuBnqxgogyvfIReSq0HzaDv8LhY2RwbXz70L0PsFRT7v0fJ+ipGpLfpB2FoB1ydNWWQKnPm7nBoe1dY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694704966; 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=aI25daj2NtPhBXJcnFkuOhkb6xig5qy+VaAN6xNV3YY=; b=JZM9K7wi/0MyZH8RG82VwROa4roM06R+WoohjuizJzFcUEErVHbyI3b0HoGCGvt/Ws/BpuBKFfkuFCK2yGwYHbWDshctAWH+sTFGKUoeFUlSxwMae05/934NFm5Sza26dbdvZ+vqAl4v4EYdmTxuXMdQUdbo7A7ryRLNEP4HfXU= 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 1694704966330574.6894356729553; Thu, 14 Sep 2023 08:22:46 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602493.939162 (Exim 4.92) (envelope-from ) id 1qgoAn-0008MZ-6G; Thu, 14 Sep 2023 15:22:29 +0000 Received: by outflank-mailman (output) from mailman id 602493.939162; Thu, 14 Sep 2023 15:22:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgoAn-0008MS-35; Thu, 14 Sep 2023 15:22:29 +0000 Received: by outflank-mailman (input) for mailman id 602493; Thu, 14 Sep 2023 15:22:28 +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 1qgnmf-0002WX-6I for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:33 +0000 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [2a00:1450:4864:20::235]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 06f4e01f-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:30 +0200 (CEST) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2bb9a063f26so17209521fa.2 for ; Thu, 14 Sep 2023 07:57:30 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:29 -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: 06f4e01f-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703449; x=1695308249; 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=aI25daj2NtPhBXJcnFkuOhkb6xig5qy+VaAN6xNV3YY=; b=sLoueh5xm6NI2/JswBlXd2H8rSxg9mTHexilQxNd8qlPZrR6poE8xdP7iVs3J9JD+G U6ehwlvmhOPWeooeEla/kZwSQsnWNb8ir7ZwWwit9pK7E0llc6Wf7Xt18P3ctaVfaxvx s0wXbNhyPsuDauIEqUFDsavwVYLxOq/wiql4JgOP7jH+viZHmzW9Aa6BaAWGquehHdF6 xnB5/HnstM3hzNQHERJS4B2D9pbmrGFxgiAYGdA5z2H8iQga+TKPIi6xiYND6ZVvlzkF nuv4xPBih2z7Q5rT4UmFEKJesezwv65nKbZZbE0RdIMLgp5MPKs66+jgDLnlyD7eqVbx jxqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703449; x=1695308249; 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=aI25daj2NtPhBXJcnFkuOhkb6xig5qy+VaAN6xNV3YY=; b=DZSfk75Mx2lY7ReMqgHZbaDxj2e+OzRnMzWfMiuDhifPgk0pNN7WF8AQxbwyx/1cQQ G1ZZP2WzbOZ8Vko3nFLUGs47zUTnx5iPwy9zI1k0HwILgivpZGdzYYr6ODgy8/FidNSS ZS/dZGjwxSAm78k4OcfNfnsZIxeNRzAOi8rLiecFjYvXfNlQ8bemsmw05NF+Ub2Gc13d W9/zn2pgHTVKO5mvajiSUuXL3I64eq1W25yNgQvYETv3T52v9+DAVMdqt9WOOXypI3Uv PAc9morluTnOywrBTEhHhuV1px+YsZyE72EJ7k9NDrW8by0y2zTAJeqYmtwOffo8s0EI kr/w== X-Gm-Message-State: AOJu0Yx1Knq9KMj0TUi6qsNHRqZzsXDoQ25IWIXqmQR5YwmScOL7QW0c XkEMU5JHPSSCpbkcQo9SB/9/rHcwrjA= X-Google-Smtp-Source: AGHT+IGnKszfioWrlfMrI9gyb0uSnnGj8/VweY7O6m6x/47xY0ZnbZJaTiNbDfFi+s88Q4iTIIytIw== X-Received: by 2002:a2e:9b0a:0:b0:2bc:c326:54a2 with SMTP id u10-20020a2e9b0a000000b002bcc32654a2mr4624540lji.50.1694703449525; Thu, 14 Sep 2023 07:57:29 -0700 (PDT) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu Subject: [PATCH v1 26/29] xen/asm-generic: introduce stub header monitor.h Date: Thu, 14 Sep 2023 17:56:47 +0300 Message-ID: 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: 1694704967561100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/monitor.h | 64 +++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 xen/include/asm-generic/monitor.h diff --git a/xen/include/asm-generic/monitor.h b/xen/include/asm-generic/mo= nitor.h new file mode 100644 index 0000000000..c61fe738a8 --- /dev/null +++ b/xen/include/asm-generic/monitor.h @@ -0,0 +1,64 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * include/asm-GENERIC/monitor.h + * + * Arch-specific monitor_op domctl handler. + * + * Copyright (c) 2015 Tamas K Lengyel (tamas@tklengyel.com) + * Copyright (c) 2016, Bitdefender S.R.L. + * + */ + +#ifndef __ASM_GENERIC_MONITOR_H__ +#define __ASM_GENERIC_MONITOR_H__ + +#include +#include + +static inline +void arch_monitor_allow_userspace(struct domain *d, bool allow_userspace) +{ +} + +static inline +int arch_monitor_domctl_op(struct domain *d, struct xen_domctl_monitor_op = *mop) +{ + /* No arch-specific monitor ops on GENERIC. */ + return -EOPNOTSUPP; +} + +int arch_monitor_domctl_event(struct domain *d, + struct xen_domctl_monitor_op *mop); + +static inline +int arch_monitor_init_domain(struct domain *d) +{ + /* No arch-specific domain initialization on GENERIC. */ + return 0; +} + +static inline +void arch_monitor_cleanup_domain(struct domain *d) +{ + /* No arch-specific domain cleanup on GENERIC. */ +} + +static inline uint32_t arch_monitor_get_capabilities(struct domain *d) +{ + uint32_t capabilities =3D 0; + + return capabilities; +} + +#endif /* __ASM_GENERIC_MONITOR_H__ */ + + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694705331; cv=none; d=zohomail.com; s=zohoarc; b=a30kacbh7SnxZNdKRfwyBYkENXqBlqPdUkPhXOwuvS7vtCfEt5cFf9FBlXeHLPg1K7uvLrgN+9nBwDH68eYeKnSzP3tFIGFFs0YJOsft7RGBhFYN1HK1XD34t/YAZputgijzMiQErxPkw8IwZTt2Y7wo3kbna+NpLXR0ov+WBWY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694705331; 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=uS9dqGCpAOUnguzSJqX9s3B1Z/m07EXLgTDZdpLLavM=; b=K6rT14xfoOw+6kwqkVCxDBL2iGLA4cX1687WAa93S73oCPaAarayw1eA7Jy0cETRYQsux2SWUI1pZ9z9lYiZ6nj+II6HFFRBUAUR3jjE15bzYwDZ5nbXy9VdTGTfw5CYaFhZPYzQ9XQwsReWQuc2+DHDyz9+xGIKLPRGKp1EsQc= 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 1694705331636725.9984711501115; Thu, 14 Sep 2023 08:28:51 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602543.939221 (Exim 4.92) (envelope-from ) id 1qgoGj-00061J-1G; Thu, 14 Sep 2023 15:28:37 +0000 Received: by outflank-mailman (output) from mailman id 602543.939221; Thu, 14 Sep 2023 15:28:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgoGi-00061C-V2; Thu, 14 Sep 2023 15:28:36 +0000 Received: by outflank-mailman (input) for mailman id 602543; Thu, 14 Sep 2023 15:28:36 +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 1qgnmg-0002WX-6e for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:34 +0000 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [2a00:1450:4864:20::230]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 076c65fe-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:31 +0200 (CEST) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bcb50e194dso17177231fa.3 for ; Thu, 14 Sep 2023 07:57:31 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:29 -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: 076c65fe-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703450; x=1695308250; 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=uS9dqGCpAOUnguzSJqX9s3B1Z/m07EXLgTDZdpLLavM=; b=kcygb0E5rrQV+k6okYFc80Wlj/DSvnITtwhArOfXYbNaczAZuFsdLD+/j+9czhB3rs GggP/IObhLE4sSs8ZCa+TFxG2xZaS6MNtgk6kNUfYgm/CvZSsB65HHHwRfl/8D2VZIh1 B7oMLSWXzrLKwAQ8vczV0dGSddMFHAPFrXrVRhf+qtDfjFJzAROsb5q/vpifXFJ/GOYK AYZ6rLkmc4WefJGzDNnUHfFZxpXTYmIsgYPsEP4kaUO5xfPuuEHlGItMw8qjH2PG6lwz IeikPHsfy4PEHUkgUbKJQPJ2nqVaaOJAqTGGUq11q3oBy3U2pk7duL/pjBHkOZoOkcCg DFnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703450; x=1695308250; 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=uS9dqGCpAOUnguzSJqX9s3B1Z/m07EXLgTDZdpLLavM=; b=GYmJ3lyIpbwELMFkBnMy9bjbfc7nhObTXyqauCUNy863n41CcuwNny3dleAxDfG5b9 H+y5tqVpEIItUiyO52asu6ksgh770OIoKCMbQvQYHvEtTMRAXm5k0ibHjIRdbccsP+Cd ZtnOuZACdhctd8haBFjqnuhic5Iey1VYnK+hY59GH1VH66obtEi6y2NOmDP005JwgQ1r uD2ybSOCiTgNjbRkcTjZG/VLeuFwP/XujhaoP2TqQ/HwJ4cRQ/7LTc+mbmNxaMusnvAZ SOy1daViE/pNBGu0R9dSmmrAZL0tWG390ZS+3WgUFPJMWFA4oNQZcF6lJF12tlIo280V pQOg== X-Gm-Message-State: AOJu0YxKNe/Zb7pE4R0h4Xdw2IJzlstJdOY8HalKO0bw4TUhna74VBrj MQ6ssW/5PAFHkSuTMZY0ERbUgMH3510= X-Google-Smtp-Source: AGHT+IFFtE1e9BEGsKLK5Ds6M+bdJk/xzKD9OoQM4tv5YIdVTMrAE5TuJ2vKVadFF70V2n7rhOV09Q== X-Received: by 2002:a2e:b04d:0:b0:2bc:c2cb:cd3f with SMTP id d13-20020a2eb04d000000b002bcc2cbcd3fmr5475467ljl.32.1694703450276; Thu, 14 Sep 2023 07:57:30 -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 27/29] xen/asm-generic: introduce stub header numa.h Date: Thu, 14 Sep 2023 17:56:48 +0300 Message-ID: <102c2a155cc7b14f0a8ea8049672f1d5ecbcd0e5.1694702259.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: 1694705332186100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/numa.h | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 xen/include/asm-generic/numa.h diff --git a/xen/include/asm-generic/numa.h b/xen/include/asm-generic/numa.h new file mode 100644 index 0000000000..028f7b3638 --- /dev/null +++ b/xen/include/asm-generic/numa.h @@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ARCH_GENERIC_NUMA_H +#define __ARCH_GENERIC_NUMA_H + +#include + +typedef u8 nodeid_t; + +/* Fake one node for now. See also node_online_map. */ +#define cpu_to_node(cpu) 0 +#define node_to_cpumask(node) (cpu_online_map) + +extern mfn_t first_valid_mfn; + +#define node_spanned_pages(nid) (max_page - mfn_x(first_valid_mfn)) +#define node_start_pfn(nid) (mfn_x(first_valid_mfn)) +#define __node_distance(a, b) (20) + +static inline unsigned int arch_get_dma_bitsize(void) +{ + return 32; +} + +#define arch_want_default_dmazone() (false) + +#endif /* __ARCH_GENERIC_NUMA_H */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694704642; cv=none; d=zohomail.com; s=zohoarc; b=nE2+C3JU2qI7YdQ3AX/1I3D4R2W9d3sNBBKL7UPF7LlNKCEDtsep30OCD+77ivQWp95yj8oQbaYGtvULn2LwYYUTXWyvqqNkXcLYKOoa2RqfwrmjaXANakhMu3Ob/787CaWDYoDXjKn8D+gjxcgrIIGSyJXcvkI9UHulVZP/O+c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694704642; 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=RuqIAdHXsDV1gv+OkVBVoXy1cs3PJPdYw0WDDR79HMM=; b=OZxQek6BH1Q29yV19fBuU8gq5zDJqRyD7FU5COETjJbIDLqiNE3NS3cJRNRl1S1PRd9Ibgo00hp9B/wWIIE5R9rcMTZcmRPOilHa3uOds81ZEfI7BfYU8e3ZMe9Mozu69i9eT/G5Obr830G65eRfdBRWa9mUS0sf2jfSYqoq+ew= 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 1694704642675713.1461022976223; Thu, 14 Sep 2023 08:17:22 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602464.939132 (Exim 4.92) (envelope-from ) id 1qgo5S-0004jp-01; Thu, 14 Sep 2023 15:16:58 +0000 Received: by outflank-mailman (output) from mailman id 602464.939132; Thu, 14 Sep 2023 15:16:57 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgo5R-0004ji-T9; Thu, 14 Sep 2023 15:16:57 +0000 Received: by outflank-mailman (input) for mailman id 602464; Thu, 14 Sep 2023 15:16:57 +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 1qgnmi-0002WX-6y for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:36 +0000 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [2a00:1450:4864:20::234]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 07e06a6f-530f-11ee-9b0d-b553b5be7939; Thu, 14 Sep 2023 16:57:31 +0200 (CEST) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bfc5218dd8so16475161fa.2 for ; Thu, 14 Sep 2023 07:57:31 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:30 -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: 07e06a6f-530f-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703451; x=1695308251; 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=RuqIAdHXsDV1gv+OkVBVoXy1cs3PJPdYw0WDDR79HMM=; b=GOXmlu/ik9fYJHZrAbV7RryN/CiVdykY+Pob0MBpTg1sJMRD3lFwq9N1Oidq6P2MNk G4XhA+X+pY0M4PAsb4lJAF3Y2yoBKkb+Goe012NG9OE1XugaAmrqKAAicpM3yRPINtDQ 4fQVQtO8/qKWY1XoLUqGCsiCgpa2OGtIYlcPMzHB675t2/gEk5BQYEu++BW5w8zqu3SX GKOYKgwvTz2UdUzWeCOpQVRxyWmbQ2lI2MFL9qcW9SQS/pnvlpTB40BASVyJpEafnjbY rztDQUv/9FBeuRqkGLLvkbDglNhbnZuquFxgnmCVYoqcjzyXbPCiXJA+u9fINsMo/Xjz bjWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703451; x=1695308251; 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=RuqIAdHXsDV1gv+OkVBVoXy1cs3PJPdYw0WDDR79HMM=; b=X3DqIYS3HFwZyvrAzomQlsJTGXOjULHTEDI0QxsKJc6FXvYfZLvl3NYs9Bc/VdPczO TxagfosyNkDeKeeyUsJ29h971sjL10D5tkz6eEEWt/3/dF7QSGQKOiEu3Qod1ct81eIy N6ESHFZ4DsCJScbxG4vyRDLMULLbtkHMOSJC5J33FvAHCanFCBh531Z0ZEkYzg82Sn38 FIwlgCRNSOdt/iRmCfcJH0plxgWu8/LSqQ6yuyB924HYyjT2uZXvXSnPPlKymFINuq9P hCx4+1FAqmQPHhpDnZjlbFLqDewDqpHTzq4x7ogl8mWvZTrzLeBWRheZqJkKI5QPT/Xj kURg== X-Gm-Message-State: AOJu0YyCWggvMwNYrsEbB4ASAeRZ1Gk7/5/evi9Y7TtMksgaaCO5/4Cx gIOiDdLzPZHDdUikJgZmFB8lqT7RjqM= X-Google-Smtp-Source: AGHT+IE63MvqY04Bfh3l9boON9/lvcHwlW19O2BdKdsC8dDQCa0ilk469q04ilR7cR4p8M5UL2Q/ag== X-Received: by 2002:a2e:8092:0:b0:2bc:f5a0:cc25 with SMTP id i18-20020a2e8092000000b002bcf5a0cc25mr5204702ljg.2.1694703451058; Thu, 14 Sep 2023 07:57:31 -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 28/29] xen/asm-generic: introduce stub header p2m.h Date: Thu, 14 Sep 2023 17:56:49 +0300 Message-ID: <161b123e70e1bad65c3c64c2ffab09a3669f9e42.1694702259.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: 1694704643254100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- xen/include/asm-generic/p2m.h | 115 ++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 xen/include/asm-generic/p2m.h diff --git a/xen/include/asm-generic/p2m.h b/xen/include/asm-generic/p2m.h new file mode 100644 index 0000000000..554fd46608 --- /dev/null +++ b/xen/include/asm-generic/p2m.h @@ -0,0 +1,115 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_P2M_H__ +#define __ASM_GENERIC_P2M_H__ + +#include + +#define paddr_bits PADDR_BITS + +/* + * List of possible type for each page in the p2m entry. + * The number of available bit per page in the pte for this purpose is 4 b= its. + * So it's possible to only have 16 fields. If we run out of value in the + * future, it's possible to use higher value for pseudo-type and don't sto= re + * them in the p2m entry. + */ +typedef enum { + p2m_invalid =3D 0, /* Nothing mapped here */ + p2m_ram_rw, /* Normal read/write guest RAM */ + p2m_ram_ro, /* Read-only; writes are silently dropped */ + p2m_mmio_direct_dev,/* Read/write mapping of genuine Device MMIO area = */ + p2m_mmio_direct_nc, /* Read/write mapping of genuine MMIO area non-cac= heable */ + p2m_mmio_direct_c, /* Read/write mapping of genuine MMIO area cacheab= le */ + p2m_map_foreign_rw, /* Read/write RAM pages from foreign domain */ + p2m_map_foreign_ro, /* Read-only RAM pages from foreign domain */ + p2m_grant_map_rw, /* Read/write grant mapping */ + p2m_grant_map_ro, /* Read-only grant mapping */ + /* The types below are only used to decide the page attribute in the P= 2M */ + p2m_iommu_map_rw, /* Read/write iommu mapping */ + p2m_iommu_map_ro, /* Read-only iommu mapping */ + p2m_max_real_type, /* Types after this won't be store in the p2m */ +} p2m_type_t; + +#include + +static inline int get_page_and_type(struct page_info *page, + struct domain *domain, + unsigned long type) +{ + BUG(); + return 1; +} + +/* Look up a GFN and take a reference count on the backing page. */ +typedef unsigned int p2m_query_t; +#define P2M_ALLOC (1u<<0) /* Populate PoD and paged-out entries */ +#define P2M_UNSHARE (1u<<1) /* Break CoW sharing */ + +static inline struct page_info *get_page_from_gfn( + struct domain *d, unsigned long gfn, p2m_type_t *t, p2m_query_t q) +{ + BUG(); + return NULL; +} + +static inline void memory_type_changed(struct domain *d) +{ + BUG(); +} + + +static inline int guest_physmap_mark_populate_on_demand(struct domain *d, = unsigned long gfn, + unsigned int order) +{ + BUG(); + return 1; +} + +static inline int guest_physmap_add_entry(struct domain *d, + gfn_t gfn, + mfn_t mfn, + unsigned long page_order, + p2m_type_t t) +{ + BUG(); + return 1; +} + +/* Untyped version for RAM only, for compatibility */ +static inline int __must_check +guest_physmap_add_page(struct domain *d, gfn_t gfn, mfn_t mfn, + unsigned int page_order) +{ + return guest_physmap_add_entry(d, gfn, mfn, page_order, p2m_ram_rw); +} + +static inline mfn_t gfn_to_mfn(struct domain *d, gfn_t gfn) +{ + BUG(); + return _mfn(0); +} + +static inline bool arch_acquire_resource_check(struct domain *d) +{ + /* + * The reference counting of foreign entries in set_foreign_p2m_entry() + * is supported on GENERIC. + */ + return true; +} + +static inline void p2m_altp2m_check(struct vcpu *v, uint16_t idx) +{ + /* Not supported on GENERIC. */ +} + +#endif /* __ASM_GENERIC_P2M_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: BSD + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.41.0 From nobody Thu May 16 00:09:44 2024 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=1694705315; cv=none; d=zohomail.com; s=zohoarc; b=NRaYtjR/fb2hkA5uNn1NXXcwojL0LU8Pjj7f0drWvG9hJu1Tf7LxxkxhphfjeW6s5CnWFQC63fDWU4OdVyX9lG0s50eYuUMeU68sRCkrlA+xq1PUmttf2xmISHLtFlR8d72fyzCcGPOPtmGVGkR/BTxnSKMRMrze9y+A0mY+Nvk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694705315; 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=5L30JDM9VKR3vohfWC6t+/aEUvp4uCHLEHY7aFFRjYQ=; b=L9l2fqxaqtMoYhDFRtZvtfoUqQyYm7c/MSOZldi87cVigEifWFegroanYJT9Xhrc/dK0YnRYPgP5rsUeF4C8chEun7Ld9H+eIM52uOawTzK1hyQsYLkaHI133eTHNicF+qqhyvkvL1L8jPdP3cCLoSzdF2JQfgXFP+x17Y0fgyI= 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 1694705315847474.65718115226673; Thu, 14 Sep 2023 08:28:35 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.602538.939212 (Exim 4.92) (envelope-from ) id 1qgoGL-0005HK-Q4; Thu, 14 Sep 2023 15:28:13 +0000 Received: by outflank-mailman (output) from mailman id 602538.939212; Thu, 14 Sep 2023 15:28:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qgoGL-0005HD-NS; Thu, 14 Sep 2023 15:28:13 +0000 Received: by outflank-mailman (input) for mailman id 602538; Thu, 14 Sep 2023 15:28:12 +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 1qgnmf-0002W4-Om for xen-devel@lists.xenproject.org; Thu, 14 Sep 2023 14:57:33 +0000 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [2a00:1450:4864:20::22a]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 086614ae-530f-11ee-8787-cb3800f73035; Thu, 14 Sep 2023 16:57:32 +0200 (CEST) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so17360401fa.2 for ; Thu, 14 Sep 2023 07:57:32 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a14-20020a2e860e000000b002b6ffa50896sm309828lji.128.2023.09.14.07.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:57:31 -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: 086614ae-530f-11ee-8787-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694703452; x=1695308252; 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=5L30JDM9VKR3vohfWC6t+/aEUvp4uCHLEHY7aFFRjYQ=; b=j3kvlqarny28KCk7ru9bS3QPEeRCC1DUbUwx9E7xAqJHGbGqTK4Z4+3vtbn3p5dyxa imCgIJQg5pqyKxD111m/CXNqUNeE40qV31H5HXAOKW8z+UtoPkZtUB/iRG9hQTFv2W2g rFy//veHzA4xYDujyFispnWKc/mRnYPV5NWXLvLulyoylxTNoJV3vJLZM2iXX1LIrP+o Pq3iPR6UHYEEIUhpf1IGf2P4uSEiRS7Tc9+SoKD9rPXhK1f0i7DDhVOn/XAVHglomJWz XprMaSQSZwKw7UccyNnQKwmPDz3wuL4sIKAqhNgd9cNUhh9KDwFViBNkeCnU+BgEJM9K Pw4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694703452; x=1695308252; 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=5L30JDM9VKR3vohfWC6t+/aEUvp4uCHLEHY7aFFRjYQ=; b=DVCgE+Qqu/OJhYRZypX2SPkSBJCcJVofAovfRArUVB6Eu8DWLKR9cLmMgnQhNAaYDA 7TtkwpDDtDenZUTbw4dAIRG+9Sy8FbgkjGn3t0yx/DnOr/9A36tdJrlklbITCxZfLrAO UD+eEjTNqEkRIkvE1H5Llp/JsnkN98HvRich+fvmJ7lcP1HO4irjdfDTJW99hUiydqBO SCqXM7dzvgq+KZYntfGWKZINU+/lhugGh8dtQBucOZOxCuovLaGKTPMcgeERYBtfPrHA crD+JyEFG6r0/IONHluROgH1Lg9lvb4WSFkTPSGX+YorhmP8OekdmYWJrXkAfeVTzzc4 BN5w== X-Gm-Message-State: AOJu0YwFKDIfvWQdKf+Y9sz564ds+sEqFMu97EGgo7yi+Y5D9jBFjust PdWVgL+B+jOH2T72Kl2hGfke5k/sOIE= X-Google-Smtp-Source: AGHT+IHF+uiXxX/1isf9yvbWKHkRbvy4tzJKtVv5EQCEfF/HahoPmmlK8cU/BL6kXEgFB3nUwCtIvA== X-Received: by 2002:a2e:3613:0:b0:2bc:fd50:573a with SMTP id d19-20020a2e3613000000b002bcfd50573amr5094637lja.6.1694703451812; Thu, 14 Sep 2023 07:57:31 -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 29/29] xen/asm-generic: introduce stub header softirq.h Date: Thu, 14 Sep 2023 17:56:50 +0300 Message-ID: <1a957cbe1ed8954c6b83cfc97e376b65d03e12ee.1694702259.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: 1694705317816100001 Content-Type: text/plain; charset="utf-8" The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko --- 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/so= ftirq.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: + */ --=20 2.41.0