|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] xenoprof: fix xenoprof_shared_gmfn
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1197909232 25200
# Node ID d3881629d572b46d4ba7fe5f5009166948d1ca84
# Parent d9ab9eb2bfee9de14a89ada78c45f365e489b232
[IA64] xenoprof: fix xenoprof_shared_gmfn()
fix panic after xenoprof shutdown as follows.
(XEN) Xen BUG at mm.c:1265
(XEN) FIXME: implement ia64 dump_execution_state()
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Xen BUG at mm.c:1265
(XEN) ***************************************
The c/s 14624:64ab7d443549 changed the p2m table semantics so that
xenoprof_shared_gmfn() also needs catch it up.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
xen/include/asm-ia64/xenoprof.h | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff -r d9ab9eb2bfee -r d3881629d572 xen/include/asm-ia64/xenoprof.h
--- a/xen/include/asm-ia64/xenoprof.h Sat Dec 15 18:29:27 2007 +0000
+++ b/xen/include/asm-ia64/xenoprof.h Mon Dec 17 09:33:52 2007 -0700
@@ -48,8 +48,13 @@ static inline void xenoprof_backtrace(
/* To be implemented */
return;
}
-#define xenoprof_shared_gmfn(d, gmaddr, maddr) \
- assign_domain_page((d), (gmaddr), (maddr));
+#define xenoprof_shared_gmfn(d, gmaddr, maddr) \
+do { \
+ unsigned long ret; \
+ ret = create_grant_host_mapping((gmaddr), \
+ (maddr) >> PAGE_SHIFT, 0, 0); \
+ BUG_ON(ret != GNTST_okay); \
+} while (0)
static inline int
ring(const struct pt_regs* regs)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64] xenoprof: fix xenoprof_shared_gmfn(),
Xen patchbot-unstable <=
|
|
|
|
|