Skip to content

Remove dependency on __LINE__

Ross Lagerwall xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 13 repliesIn review
  2. v17 patches 16 repliesSuperseded

Changes in v2 from the cover letter

* Renamed xSplice to LivePatch.
* Dropped the patches for the page_alloc.c and the ACPI code as these only changed __init functions which are not relevant for LivePatch.
* Dropped the patch to rename sections as it is not clear that is is useful.
* Add a couple of new patches for uses of __LINE__ that have been introduced since the last version of this series.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6lib: Add a generic implementation of current_text_addr()xen/common/lib.c xen/include/asm-x86/processor.h xen/include/xen/lib.h+14 -102 replies
2/6sched: Remove dependency on __LINE__ for release buildsxen/include/xen/sched.h+15 -71 reply
3/6mm: Use statically defined locking orderxen/arch/x86/mm/mm-locks.h+19 -91 reply
4/6iommu: Remove dependency on __LINE__ for release buildsxen/drivers/passthrough/vtd/dmar.h+14 -23 replies
5/6x86_emulate: Remove dependency on __LINE__ for release buildsxen/arch/x86/x86_emulate/x86_emulate.c+17 -31 reply
6/6xen/arm: Remove dependency on __LINE__ for release buildsxen/arch/arm/traps.c+17 -30 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchDario FaggioliKevin TianGeorge Dunlap
1/6R-b
2/6
3/6R-b A-b
4/6A-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] Remove dependency on __LINE__

Sorry for the long delay since the first version of this series (previously called "Make building xSplice patches easier"). Here is a set of changes that remove the use of __LINE__ when building with NDEBUG and LivePatch enabled. Tested to boot on x86. Compile-tested on arm.

Changes in v2:
* Renamed xSplice to LivePatch.
* Dropped the patches for the page_alloc.c and the ACPI code as these only changed __init functions which are not relevant for LivePatch.
* Dropped the patch to rename sections as it is not clear that is is useful.
* Add a couple of new patches for uses of __LINE__ that have been introduced since the last version of this series.

See the patches for further changes on each patch.

Ross Lagerwall (6):
lib: Add a generic implementation of current_text_addr()
sched: Remove dependency on __LINE__ for release builds
mm: Use statically defined locking order
iommu: Remove dependency on __LINE__ for release builds
x86_emulate: Remove dependency on __LINE__ for release builds xen/arm: Remove dependency on __LINE__ for release builds

 xen/arch/arm/traps.c                   | 20 +++++++++++++++++---
 xen/arch/x86/mm/mm-locks.h             | 28 +++++++++++++++++++---------
 xen/arch/x86/x86_emulate/x86_emulate.c | 20 +++++++++++++++++---
 xen/common/lib.c                       | 12 ++++++++++++
 xen/drivers/passthrough/vtd/dmar.h     | 16 ++++++++++++++--
 xen/include/asm-x86/processor.h        | 10 ----------
 xen/include/xen/lib.h                  |  2 ++
 xen/include/xen/sched.h                | 22 +++++++++++++++-------
 8 files changed, 96 insertions(+), 34 deletions(-)
Signature · 7 lines
2.7.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel