From patchwork Thu Sep 7 09:32:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksii Kurochko X-Patchwork-Id: 13376319 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E27FFEE14D3 for ; Thu, 7 Sep 2023 09:35:09 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.597191.931390 (Exim 4.92) (envelope-from ) id 1qeBPN-0007LI-LJ; Thu, 07 Sep 2023 09:34:41 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 597191.931390; Thu, 07 Sep 2023 09:34:41 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qeBPN-0007KG-Fc; Thu, 07 Sep 2023 09:34:41 +0000 Received: by outflank-mailman (input) for mailman id 597191; Thu, 07 Sep 2023 09:34:40 +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 1qeBPL-0007He-UH for xen-devel@lists.xenproject.org; Thu, 07 Sep 2023 09:34:39 +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 c33d7eb3-4d61-11ee-9b0d-b553b5be7939; Thu, 07 Sep 2023 11:34:37 +0200 (CEST) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2bcc331f942so8693141fa.0 for ; Thu, 07 Sep 2023 02:34:37 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id u19-20020a2e9b13000000b002ba586d27a2sm3797539lji.26.2023.09.07.02.34.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 02:34:36 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c33d7eb3-4d61-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694079277; x=1694684077; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EbyA2D/GZCbk8wBzL+USNEjWy5BB6J46sDBfjFKHfug=; b=n8+oyIXILv0/eE++AJR39Xlw2z4cJBONDqnqq46qeMAswkRbFNbK1p9bcE59YCAyAq txMdziQcCwkSTb5ZQtRnSf1ojbEHICrYYIlNb8Gfqa2MNEo5mu/UbMhMI+OdGHH5kxs+ 5IsgM4bc6RbDn5V3Tbdmy55Mswht80kDTHDMKfVXRJAKv+mn9u8arddJpPYHiImAKAR2 c8MPYJvmbq9VlhVk6NGZVk0FGhMFaIpdeivHxvfblEtZe4DyMepzB6ngzN2FPGbZGiIl DqPPeHAveHIReQUlWEWxQqfFXvioGdLkFBihsupqr9MJndP9q6J4Pf81fulLhdmcLIZM nWYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694079277; x=1694684077; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EbyA2D/GZCbk8wBzL+USNEjWy5BB6J46sDBfjFKHfug=; b=dbPWeg0zXQunOFbX94s9djf0m7PJpvc2wYCRCi+E/ACfexYnNdipNrtB8TCJOdQkDz MeYMBhfixwfxlrfBa6mNY0YmiWkXsc2D4sEEDzJ3sJexQqNcOVyles5mwlorwH0cHKHd tzO+5DCmgJDNknt/e8ZwsC7o93r7wc4RubT548YqFj7I1PAvy3GVG683YjAPphhCWej8 DKtXPZuq3dE5g4l0bgeXRNMtLM4l5kP4X5K2E1/PPaS1g6sasf95piBD030uQ1qFD7aJ L2hx0TM7EuoXzvaEY8DDp1TdEnDZ57hy44r8ah9VAITxyZW4tGn9unnCvc4OGBear9ub RJLw== X-Gm-Message-State: AOJu0Yw75cyroRi2nmxs/uvhC7KLxtDizrhHcMXEtmQjvc2OAqrBSNS0 OvgUcHA2eZpbq+egr0n/sZDhB2m5LAs= X-Google-Smtp-Source: AGHT+IHE2Gecn2NdhcJmgK0hOXTUJWBpm69OlukNpq28YdZka7ID1P4AeZlM2+6dCpMY0dhseUN6Iw== X-Received: by 2002:a2e:b98d:0:b0:2bc:d3b1:d6c1 with SMTP id p13-20020a2eb98d000000b002bcd3b1d6c1mr743039ljp.9.1694079276788; Thu, 07 Sep 2023 02:34:36 -0700 (PDT) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Anthony PERARD , Oleksii Kurochko , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu , Bertrand Marquis , Volodymyr Babchuk Subject: [PATCH v6 0/2] introduce stub directory to storing empty/stub headers Date: Thu, 7 Sep 2023 12:32:55 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 A lot of empty/stub headers should be introduced during the early steps of adding support of new architecture. An example can be found here: 1. https://lore.kernel.org/xen-devel/cover.1692181079.git.oleksii.kurochko@gmail.com/ 2. https://lore.kernel.org/xen-devel/a92f99e8f697da99d77bfde562a549dbef3760ce.1692816595.git.sanastasio@raptorengineering.com/ As part of the patch series, asm/vm_event.h was moved to the stubs directory because It is the same for ARM, PPC, and RISC-V. --- Changes in V6: - introduce $(asm-generic) macro in Kbuild.include. - move "asm-generic" after the rule "__distclean". - update the commit message. --- Changes in V5: - Update SPDX license. - Remove code related to UML in Makefile.asm-generic. - Include $(src)/Makefile instead of $(kbuild-file). - Update comment message in Makefile.asm-generic. - Update .gitignore. - Update path to generated headers in CFLAGS. - Use the latest version of Linux's Makefile.asm-generic. - Introduce asm-generic's vm_event.h. - Switch ARM to use asm-generic/vm_event.h. --- Changes in V4: - add asm-generic support - update path of vm_event.h from include/asm-generic/asm to include/asm-generic --- Changes in V3: - add Acked-by: Stefano Stabellini for "xen: move arm/include/asm/vm_event.h to asm-generic" - update SPDX tag. - move asm/vm_event.h to asm-generic. - rename stubs dir to asm-generic. --- Changes in V2: - change public/domctl.h to public/vm_event.h. - update commit message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h to stubs Oleksii Kurochko (2): xen: asm-generic support xen: move arm/include/asm/vm_event.h to asm-generic .gitignore | 1 + xen/Makefile | 9 +++- xen/arch/arm/include/asm/Makefile | 2 + xen/arch/arm/include/asm/vm_event.h | 66 ----------------------------- xen/include/asm-generic/vm_event.h | 55 ++++++++++++++++++++++++ xen/scripts/Kbuild.include | 6 +++ xen/scripts/Makefile.asm-generic | 53 +++++++++++++++++++++++ 7 files changed, 125 insertions(+), 67 deletions(-) create mode 100644 xen/arch/arm/include/asm/Makefile delete mode 100644 xen/arch/arm/include/asm/vm_event.h create mode 100644 xen/include/asm-generic/vm_event.h create mode 100644 xen/scripts/Makefile.asm-generic