All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksii Kurochko <oleksii.kurochko@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: Oleksii Kurochko <oleksii.kurochko@gmail.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Julien Grall <julien@xen.org>,
	Bertrand Marquis <bertrand.marquis@arm.com>,
	Michal Orzel <michal.orzel@amd.com>,
	Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	Jan Beulich <jbeulich@suse.com>, Wei Liu <wl@xen.org>,
	Shawn Anastasio <sanastasio@raptorengineering.com>,
	Tamas K Lengyel <tamas@tklengyel.com>,
	Alexandru Isaila <aisaila@bitdefender.com>,
	Petre Pircalabu <ppircalabu@bitdefender.com>
Subject: [PATCH v2 00/15] Introduce generic headers
Date: Fri, 10 Nov 2023 18:30:26 +0200	[thread overview]
Message-ID: <cover.1699633310.git.oleksii.kurochko@gmail.com> (raw)

Some headers are common between several architectures, so the current patch series
provide them.

Another one reason to have them as generic is a simplification of adding support
necessary to make a complete Xen build as it was/is being done in the patch series [1]
and [2].

Also, instead of providing generic/stub headers, it was used
"#ifdef CONFIG_* #include <asm/*.h> #endif" instead of providing empty headers.

Some headers are still arguable if they should be in asm-generic, and it wasn't a response so
I decided to leave headers for now and made some updates for them.

Some patches related to delay.h, pci.h and xenoprof.h were sent as separate patches: [3], [4]
and [5].

[1] https://lore.kernel.org/xen-devel/cover.1694543103.git.sanastasio@raptorengineering.com/
[2] https://lore.kernel.org/xen-devel/cover.1692181079.git.oleksii.kurochko@gmail.com/
[3] https://lore.kernel.org/xen-devel/3d55bce44bd6ab9973cbe0ea2fc136cc44d35df2.1698759633.git.oleksii.kurochko@gmail.com/
[4] https://lore.kernel.org/xen-devel/314745757996935d8b2ae9919410c1abc0c86ce9.camel@gmail.com/T/#t
[5] https://gitlab.com/xen-project/xen/-/commit/ad193a79c25ae24f1de5f37900e1da74ab48e8bd

---
Changes in V2:
 - Update the commit message of the cover letter.
 - Drop the following patches because they are arch-specific or was sent as a separate patch:
   - xen/asm-generic: introduce stub header event.h
	 - xen/asm-generic: introduce stub header spinlock.h
	 - [PATCH v1 03/29] xen/asm-generic: introduce stub header cpufeature.h
	 - [PATCH v1 07/29] xen/asm-generic: introduce stub header guest_atomics.h
	 - [PATCH v1 10/29] xen/asm-generic: introduce stub header iommu.h
	 - [PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h because separate patch was sent [5]
	 - [PATCH v1 14/29] xen/asm-generic: introduce stub header setup.h
	 - [PATCH v1 15/29] xen/asm-generic: introduce stub header xenoprof.h because of [3].
	 - [PATCH v1 16/29] xen/asm-generic: introduce stub header flushtlb.h
	 - [PATCH v1 22/29] xen/asm-generic: introduce stub header delay.h because of [3]
	 - [PATCH v1 23/29] xen/asm-generic: introduce stub header domain.h
	 - [PATCH v1 24/29] xen/asm-generic: introduce stub header guest_access.h
	 - [PATCH v1 25/29] xen/asm-generic: introduce stub header irq.h ( probably not so generic as I expected, I'll back to it if it will be necessary in the future )
	 - [PATCH v1 28/29] xen/asm-generic: introduce stub header p2m.h ( probably not so generic as I expected, I'll back to it if it will be necessary in the future )
 - For the rest of the patches please look at changes for each patch separately.

Oleksii Kurochko (15):
  xen/asm-generic: introduce stub header paging.h
  xen/asm-generic: introduce generic device.h
  xen: ifdef inclusion of <asm/grant_table.h> in <xen/grant_table.h>
  xen/asm-generic: introduce generic hypercall.h
  xen/asm-generic: introduce generic header iocap.h
  xen/asm-generic: ifdef inclusion of <asm/mem_access.h>
  xen/asm-generic: introduce stub header <asm/random.h>
  xen/asm-generic: introduce generic header percpu.h
  xen/asm-generic: introduce generic header smp.h
  xen/asm-generic: introduce generalized hardirq.h
  xen/asm-generic: introduce generic div64.h header
  xen/asm-generic: introduce generic header altp2m.h
  xen/asm-generic: introduce stub header monitor.h
  xen/asm-generic: introduce stub header numa.h
  xen/asm-generic: introduce stub header softirq.h

 xen/arch/arm/include/asm/Makefile   |   1 +
 xen/arch/arm/include/asm/paging.h   |  16 ----
 xen/arch/ppc/include/asm/Makefile   |   1 +
 xen/arch/ppc/include/asm/paging.h   |   7 --
 xen/include/asm-generic/altp2m.h    |  34 +++++++
 xen/include/asm-generic/device.h    | 140 ++++++++++++++++++++++++++++
 xen/include/asm-generic/div64.h     |  27 ++++++
 xen/include/asm-generic/hardirq.h   |  29 ++++++
 xen/include/asm-generic/hypercall.h |  18 ++++
 xen/include/asm-generic/iocap.h     |  17 ++++
 xen/include/asm-generic/monitor.h   |  62 ++++++++++++
 xen/include/asm-generic/numa.h      |  40 ++++++++
 xen/include/asm-generic/paging.h    |  19 ++++
 xen/include/asm-generic/percpu.h    |  35 +++++++
 xen/include/asm-generic/random.h    |  20 ++++
 xen/include/asm-generic/smp.h       |  28 ++++++
 xen/include/asm-generic/softirq.h   |  17 ++++
 xen/include/xen/grant_table.h       |   3 +
 xen/include/xen/mem_access.h        |   2 +
 19 files changed, 493 insertions(+), 23 deletions(-)
 delete mode 100644 xen/arch/arm/include/asm/paging.h
 delete mode 100644 xen/arch/ppc/include/asm/paging.h
 create mode 100644 xen/include/asm-generic/altp2m.h
 create mode 100644 xen/include/asm-generic/device.h
 create mode 100644 xen/include/asm-generic/div64.h
 create mode 100644 xen/include/asm-generic/hardirq.h
 create mode 100644 xen/include/asm-generic/hypercall.h
 create mode 100644 xen/include/asm-generic/iocap.h
 create mode 100644 xen/include/asm-generic/monitor.h
 create mode 100644 xen/include/asm-generic/numa.h
 create mode 100644 xen/include/asm-generic/paging.h
 create mode 100644 xen/include/asm-generic/percpu.h
 create mode 100644 xen/include/asm-generic/random.h
 create mode 100644 xen/include/asm-generic/smp.h
 create mode 100644 xen/include/asm-generic/softirq.h

-- 
2.41.0



             reply	other threads:[~2023-11-10 16:31 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10 16:30 Oleksii Kurochko [this message]
2023-11-10 16:30 ` [PATCH v2 01/15] xen/asm-generic: introduce stub header paging.h Oleksii Kurochko
2023-11-13 16:40   ` Jan Beulich
2023-11-10 16:30 ` [PATCH v2 02/15] xen/asm-generic: introduce generic device.h Oleksii Kurochko
2023-11-13 16:43   ` Jan Beulich
2023-11-14 15:23     ` Oleksii
2023-11-10 16:30 ` [PATCH v2 03/15] xen: ifdef inclusion of <asm/grant_table.h> in <xen/grant_table.h> Oleksii Kurochko
2023-11-11 10:25   ` Oleksii
2023-11-13 13:13     ` Oleksii
2023-11-13 13:29       ` Jan Beulich
2023-11-13 15:13         ` Oleksii
2023-11-10 16:30 ` [PATCH v2 04/15] xen/asm-generic: introduce generic hypercall.h Oleksii Kurochko
2023-11-13 16:45   ` Jan Beulich
2023-11-13 16:50     ` Jan Beulich
2023-11-14 10:13       ` Oleksii
2023-11-10 16:30 ` [PATCH v2 05/15] xen/asm-generic: introduce generic header iocap.h Oleksii Kurochko
2023-11-13 16:48   ` Jan Beulich
2023-11-14 10:14     ` Oleksii
2023-11-10 16:30 ` [PATCH v2 06/15] xen/asm-generic: ifdef inclusion of <asm/mem_access.h> Oleksii Kurochko
2023-11-11 10:24   ` Oleksii
2023-11-13 17:01     ` Jan Beulich
2023-11-13 18:44       ` Oleksii
2023-11-10 16:30 ` [PATCH v2 07/15] xen/asm-generic: introduce stub header <asm/random.h> Oleksii Kurochko
2023-11-15  9:56   ` Jan Beulich
2023-11-15 12:39     ` Oleksii
2023-11-16  7:23       ` Jan Beulich
2023-11-10 16:30 ` [PATCH v2 08/15] xen/asm-generic: introduce generic header percpu.h Oleksii Kurochko
2023-11-15 15:27   ` Oleksii
2023-11-16  7:36   ` Jan Beulich
2023-11-16 12:04     ` Oleksii
2023-11-16 12:28       ` Jan Beulich
2023-11-17  9:01         ` Oleksii
2023-11-10 16:30 ` [PATCH v2 09/15] xen/asm-generic: introduce generic header smp.h Oleksii Kurochko
2023-11-17  9:58   ` Oleksii
2023-11-10 16:30 ` [PATCH v2 10/15] xen/asm-generic: introduce generalized hardirq.h Oleksii Kurochko
2023-11-10 16:30 ` [PATCH v2 11/15] xen/asm-generic: introduce generic div64.h header Oleksii Kurochko
2023-11-10 16:30 ` [PATCH v2 12/15] xen/asm-generic: introduce generic header altp2m.h Oleksii Kurochko
2023-11-10 16:30 ` [PATCH v2 13/15] xen/asm-generic: introduce stub header monitor.h Oleksii Kurochko
2023-11-15 10:00   ` Jan Beulich
2023-11-15 12:54     ` Oleksii
2023-11-15 14:28       ` Oleksii
2023-11-16  7:25       ` Jan Beulich
2023-11-10 16:30 ` [PATCH v2 14/15] xen/asm-generic: introduce stub header numa.h Oleksii Kurochko
2023-11-15 10:07   ` Jan Beulich
2023-11-15 14:11     ` Oleksii
2023-11-16  7:31       ` Jan Beulich
2023-11-10 16:30 ` [PATCH v2 15/15] xen/asm-generic: introduce stub header softirq.h Oleksii Kurochko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1699633310.git.oleksii.kurochko@gmail.com \
    --to=oleksii.kurochko@gmail.com \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=aisaila@bitdefender.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=bertrand.marquis@arm.com \
    --cc=george.dunlap@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=ppircalabu@bitdefender.com \
    --cc=sanastasio@raptorengineering.com \
    --cc=sstabellini@kernel.org \
    --cc=tamas@tklengyel.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.