Modified to provide building of the xenalyze binary for both ARM and
x86 platforms. The xenalyze binary is now built as part of the BIN
list for both platforms.
Signed-off-by: Benjamin Sanda
Acked-by: Wei Liu
---
Changed since v2:
* No changes.
---
Changed since v1:
* Changed xenalyze
. Also defined cycles_t as uint64_t to simplify
casting.
get_s_time() was also modified to now use the updated get_cycles() to
retrieve the tick count instead of directly reading it.
Signed-off-by: Benjamin Sanda
---
Changed since v2:
* Combined v2 patches 7 and 6 into one patch in v3. No code
Added call to init_trace_bufs() to initialize the trace buffers for
use by xentrace.
Signed-off-by: Benjamin Sanda
---
Changed since v2:
* No changes
---
Changed since v1:
* No changes
---
xen/arch/arm/setup.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/xen/arch/arm/setup.c b
compilation check was added in get_pg_owner() for the
is_pvh_domain(curr) check which is only valid to perform on x86
platforms.
Signed-off-by: Benjamin Sanda
---
Changed since v2:
* Combined patches 3-5 from v2 into one patch for v3. No code change.
---
xen/arch/x86/mm.c | 48
unclear in
purpose
* Corrected all commit messages to be line limited to 72 chars
* Implemented v1 review comments as indicated in each file's
commit log.
Benjamin Sanda (5):
xentrace: Common Support for get_pg_owner/put_pg_owner on ARM and x86
xentrace: Memory/Page Mapping suppor
now in the mm.h common header.
* Added check to determine page rw/ro type to correctly set the
paddr_t to p2m_ram_rw or p2m_ram_ro instead of assuming p2m_ram_rw
* Corrected block comment format to conform to Xen coding standard
Signed-off-by: Benjamin Sanda
---
xen/arch/arm/mm.c | 3
do not need translation from
PFN.
Check added to determine read/write or read only page type when
requesting DOMID_XEN. This is done by checking the u.inuse.type_info
parameter of the requested page. The page rw/ro paddr_t type is then
set accordingly.
Signed-off-by: Benjamin Sanda
Modified to provide support for xentrace on the ARM platform. Added
call to init_trace_bufs() to initialize the trace buffers for use by
xentrace.
Signed-off-by: Benjamin Sanda
---
Changed since v1:
* No changes
---
xen/arch/arm/setup.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a
in time.h and to commonize it with the
get_s_time() function.
get_s_time() was also modified to now use the updated get_cycles() to
retrieve the tick count instead of directly reading it.
Signed-off-by: Benjamin Sanda
---
xen/arch/arm/time.c | 9 -
1 file changed, 8 insertions(+), 1
Modified to provide building of the xenalyze binary for ARM platforms.
This was done in conjunction with patches to xentrace allowing its use
on ARM. The xenalyze binary is now built as part of the BIN list.
Signed-off-by: Benjamin Sanda
---
Changed since v1:
* changed xenalyze target from
. Also defined cycles_t as uint64_t to simplify
casting.
Signed-off-by: Benjamin Sanda
---
Changed since v1:
* Moved get_cycles() to time.c
* Added function prototype for get_cycles()
---
xen/include/asm-arm/time.h | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a
, XENMAPSPACE_gmfn_foreign page mapping and address translation
for DOMID_XEN is corrected in mm.c and p2m.c, and timestamping for the
trace buffers is corrected in time.c/.h.
Finally the xenaylze makefile is configured to build the tool for ARM.
Benjamin Sanda (9):
xenalyze: Support for ARM platform
Moved get_pg_owner() and put_pg_owner() from the arch specific mm.c
source files into the common page_alloc.c source. This was done as
theses functions are now needed by both architectures to support
xentrace on the ARM platform. Forward declarations were added to mm.h.
Signed-off-by: Benjamin
Modified xenmem_add_to_physmap_one() to provide support for xentrace
on the ARM platform. Checks for DOMID_XEN added via new function,
get_pg_owner, ported and commonized from x86 code base. This provides
correct calls to rcu_lock_domain() when DOMID_XEN is requested.
Signed-off-by: Benjamin
uncessesary and unclear in
purpose
* Corrected all commit messages to be line limited to 72 chars
* Implimented v1 review comments as indicated in each file's
commit log.
Benjamin Sanda (9):
xenalyze: Support for ARM platform
xentrace: Support for ARM platform
xentrace: Support fo
compilation check was added in get_pg_owner() for the
is_pvh_domain(curr) check which is only valid to perform on X86
platforms.
Signed-off-by: Benjamin Sanda
---
xen/common/page_alloc.c | 51 +
1 file changed, 51 insertions(+)
diff --git a/xen/common
Moved get_pg_owner() and put_pg_owner() from the arch specific mm.c
source files into the common page_alloc.c source. This was done as
theses functions are now needed by both architectures to support
xentrace on the ARM platform. Forward declarations were added to mm.h.
Signed-off-by: Benjamin
From: bensanda
Modified to provide building of the xenalyze binary for ARM platforms. This was
done in conjunction with patches to xentrace allowing its use on ARM. The
xenalyze binary is now built as part of the SBIN list.
Signed-off-by: Benjamin Sanda
---
tools/xentrace/Makefile | 3
adde to skip page to MFN
translation (xentrace sends a MFN dirrectly and so does not need to be
translated).
Signed-off-by: Benjamin Sanda
---
xen/arch/arm/mm.c | 56 +--
1 file changed, 54 insertions(+), 2 deletions(-)
diff --git a/xen/arch
From: bensanda
Modified to provide support for xentrace on the ARM platform. Changed
get_cycles() to return the core timestamp tick count for use by the trace
buffer timestamping routines in xentrace.
Signed-off-by: Benjamin Sanda
---
xen/include/asm-arm/time.h | 13 -
1 file
From: bensanda
Modified to provide support for xentrace on the ARM platform. Added call to
init_trace_bufs() to initialize the trace buffers for use by xentrace.
Signed-off-by: Benjamin Sanda
---
xen/arch/arm/setup.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/xen/arch/arm/setup.c
to provide correct access.
Signed-off-by: Benjamin Sanda
---
xen/arch/arm/p2m.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c
index a2a9c4b..2e7da43 100644
--- a/xen/arch/arm/p2m.c
+++ b/xen/arch/arm/p2m.c
From: bensanda
Modified to provide support for xentrace on the ARM platform. Added flask
credential to allow dom0 dom_xen mapping and write access for trace buffers.
Signed-off-by: Benjamin Sanda
---
tools/flask/policy/policy/modules/xen/xen.te | 2 ++
1 file changed, 2 insertions(+)
diff
From: bensanda
This patch sets adds support for xentrace and xenalyze to the ARM platform.
The Xen heap memory mapping, timestamping, and P2M translation needed by
xentrace is corrected for operation on the ARM platform using the x86
platform as reference. Trace buffer initialization is added to
24 matches
Mail list logo