All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/11] Rename/remove IS_PRIV
@ 2013-04-12 21:04 Daniel De Graaf
  2013-04-12 21:04 ` [PATCH 01/11] MAINTAINERS: Add myself as XSM maintainer Daniel De Graaf
                   ` (11 more replies)
  0 siblings, 12 replies; 25+ messages in thread
From: Daniel De Graaf @ 2013-04-12 21:04 UTC (permalink / raw)
  To: xen-devel

Changes since v2:
 - Handle XEN_SYSCTL_CPUPOOL_OP_MOVEDOMAIN separately
 - Use is_control_domain for CPUID
 - Use is_{control,hardware}_domain for TSC
 - MAINTAINERS patch included in series

---

Following the conversion of most IS_PRIV hooks to XSM, the remaining
references to this function generally deal with direct hardware access
and not with the type of privilege checks that are best controlled by
XSM. To reflect this, the IS_PRIV check is renamed to is_hardware_domain
and is used only when dealing with accesses that are both required by
dom0 and where it does not make sense to grant access to a domain other
than dom0.

There are a number of existing places in the hypervisor that check
domain_id for equality to zero to make some distinction on dom0; this
series replaces these checks with is_hardware_domain to be consistent in
how the hypervisor checks a domain's access.

Independent changes related to this series:
	[PATCH 01/11] MAINTAINERS: Add myself as XSM maintainer
	[PATCH 08/11] xen/cpupool: prevent a domain from moving itself

Cleanup of IS_PRIV checks that should not be is_hardware_domain:
	[PATCH 02/11] xen/arch/x86: remove IS_PRIV access check bypasses
	[PATCH 03/11] xen/xsm: add hooks for claim
	[PATCH 04/11] hvm: convert access check for nested HVM to XSM
	[PATCH 05/11] xen/arch/x86: remove IS_PRIV_FOR references
	[PATCH 06/11] xen/arch/arm: remove rcu_lock_target_domain_by_id

Replace remaining calls to IS_PRIV:
	[PATCH 07/11] xen: rename IS_PRIV to is_hardware_domain

Use is_hardware_domain locations where (domid == 0) was used:
	[PATCH 09/11] xen: use domid check in is_hardware_domain
	[PATCH 10/11] xen/arch/x86: clarify domid == 0 checks
	[PATCH 11/11] IOMMU: use is_hardware_domain instead of domid == 0

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-05-03  7:39 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 21:04 [PATCH v3 0/11] Rename/remove IS_PRIV Daniel De Graaf
2013-04-12 21:04 ` [PATCH 01/11] MAINTAINERS: Add myself as XSM maintainer Daniel De Graaf
2013-04-12 21:04 ` [PATCH 02/11] xen/arch/x86: remove IS_PRIV access check bypasses Daniel De Graaf
2013-04-12 21:04 ` [PATCH 03/11] xen/xsm: add hooks for claim Daniel De Graaf
2013-04-12 21:04 ` [PATCH 04/11] hvm: convert access check for nested HVM to XSM Daniel De Graaf
2013-04-12 21:04 ` [PATCH 05/11] xen/arch/x86: remove IS_PRIV_FOR references Daniel De Graaf
2013-04-12 21:04 ` [PATCH 06/11] xen/arch/arm: remove rcu_lock_target_domain_by_id Daniel De Graaf
2013-04-12 21:04 ` [PATCH 07/11] xen: rename IS_PRIV to is_hardware_domain Daniel De Graaf
2013-04-12 21:04 ` [PATCH 08/11] xen/cpupool: prevent a domain from moving itself Daniel De Graaf
2013-04-19  9:43   ` Jürgen Groß
2013-04-12 21:04 ` [PATCH 09/11] xen: use domid check in is_hardware_domain Daniel De Graaf
2013-04-12 21:04 ` [PATCH 10/11] xen/arch/x86: clarify domid == 0 checks Daniel De Graaf
2013-04-15  8:51   ` Jan Beulich
2013-04-15 13:47     ` Daniel De Graaf
2013-04-18 15:09       ` Jan Beulich
2013-04-12 21:04 ` [PATCH 11/11] IOMMU: use is_hardware_domain instead of domid == 0 Daniel De Graaf
2013-04-18 15:12 ` [PATCH v3 0/11] Rename/remove IS_PRIV Jan Beulich
2013-04-18 16:10   ` Daniel De Graaf
2013-04-18 16:11     ` [PATCH] xen/arch/x86: remove IS_PRIV bypass on IRQ check Daniel De Graaf
2013-04-18 16:20       ` Jan Beulich
2013-04-22 12:13     ` [PATCH v3 0/11] Rename/remove IS_PRIV George Dunlap
2013-04-22 15:05       ` Daniel De Graaf
2013-04-22 15:09         ` George Dunlap
2013-04-23  9:59           ` Jan Beulich
2013-05-03  7:39           ` Jan Beulich

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.