Displaying 20 results from an estimated 30 matches for "gnttab_map".
2008 Jul 07
2
confusion about the meaning of CONFIG_XEN
hi all,
I noticed "CONFIG_XEN" appears many times in Xen source code. I''m confused about the meaning of "CONFIG_XEN".
For example,
in "gnttab.c", the definations of gnttab_map() and gnttab_resume() vary with "ifdef CONFIG_XEN" or not.
And I also noticed ifndef CONFIG_XEN , the file <platform-pci.h> is included.
So my questions are
1)What''s the meanning of CONFIG_XEN? and on which kind of conditions, CONFIG_XEN should not be defined?
2...
2017 May 21
2
Crash in CentOS 7 kernel-3.10.0-514.16.1.el7.x86_64 in Xen PV mode
...race:
[ 32.304858] <IRQ>
[ 32.304861] [<ffffffff81061857>] paravirt_enter_lazy_mmu+0x27/0x30
[ 32.304879] [<ffffffff811b1fe2>] apply_to_page_range+0x282/0x460
[ 32.304888] [<ffffffff810206b0>] ? map_pte_fn+0x60/0x60
[ 32.304894] [<ffffffff810207fb>] arch_gnttab_map_status+0x3b/0x70
[ 32.304904] [<ffffffff813d5176>] gnttab_map_frames_v2+0xd6/0x150
[ 32.304910] [<ffffffff813d5291>] gnttab_map+0xa1/0x140
[ 32.304917] [<ffffffff813d5430>] get_free_entries+0x100/0x2e0
[ 32.304923] [<ffffffff813d56d5>] gnttab_alloc_grant_referenc...
2017 Oct 23
0
Crash in CentOS 7 kernel-3.10.0-514.16.1.el7.x86_64 in Xen PV mode
...<IRQ>
> [ 32.304861] [<ffffffff81061857>] paravirt_enter_lazy_mmu+0x27/0x30
> [ 32.304879] [<ffffffff811b1fe2>] apply_to_page_range+0x282/0x460
> [ 32.304888] [<ffffffff810206b0>] ? map_pte_fn+0x60/0x60
> [ 32.304894] [<ffffffff810207fb>] arch_gnttab_map_status+0x3b/0x70
> [ 32.304904] [<ffffffff813d5176>] gnttab_map_frames_v2+0xd6/0x150
> [ 32.304910] [<ffffffff813d5291>] gnttab_map+0xa1/0x140
> [ 32.304917] [<ffffffff813d5430>] get_free_entries+0x100/0x2e0
> [ 32.304923] [<ffffffff813d56d5>] gnttab_...
2018 Jan 06
2
Centos 7 Kernel 3.10.0-693.11.6.el7.x86_64 does not boot PV
On 01/06/2018 03:16 AM, Dmitry Melekhov wrote:
> The same problem with latest centos 6 kernel,i.e. with meltdown fix.
>
> I can't see console output, because I have it on "cloud" provider
> hosting :-)
>
>
>
> 06.01.2018 05:13, Shaun Reitan ?????:
>> Broken!
>>
>>
For those of you looking for a PV enabled client Kernel for CentOS Linux
2008 Apr 01
0
[PATCH 010/113] xen: replace callers of alloc_vm_area()/free_vm_area() with xen_ prefixed one.
...+
4 files changed, 12 insertions(+), 4 deletions(-)
create mode 100644 include/asm-x86/xen/grant_table.h
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index 95016fd..9fcde20 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -478,7 +478,7 @@ static int gnttab_map(unsigned int start_idx, unsigned int end_idx)
if (shared == NULL) {
struct vm_struct *area;
- area = alloc_vm_area(PAGE_SIZE * max_nr_grant_frames());
+ area = xen_alloc_vm_area(PAGE_SIZE * max_nr_grant_frames());
BUG_ON(area == NULL);
shared = area->addr;
}
diff --git a/drivers...
2008 Apr 01
0
[PATCH 010/113] xen: replace callers of alloc_vm_area()/free_vm_area() with xen_ prefixed one.
...+
4 files changed, 12 insertions(+), 4 deletions(-)
create mode 100644 include/asm-x86/xen/grant_table.h
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index 95016fd..9fcde20 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -478,7 +478,7 @@ static int gnttab_map(unsigned int start_idx, unsigned int end_idx)
if (shared == NULL) {
struct vm_struct *area;
- area = alloc_vm_area(PAGE_SIZE * max_nr_grant_frames());
+ area = xen_alloc_vm_area(PAGE_SIZE * max_nr_grant_frames());
BUG_ON(area == NULL);
shared = area->addr;
}
diff --git a/drivers...
2018 Jan 09
1
Centos 7 Kernel 3.10.0-693.11.6.el7.x86_64 does not boot PV
...t; ffffc90000608fff
> [? 587.145018] Call Trace:
> [? 587.145018]? <IRQ>
> [? 587.145018]? [<ffffffff81046bc7>] paravirt_enter_lazy_mmu+0x27/0x30
> [? 587.145018]? [<ffffffff8116d8d6>] apply_to_page_range+0x266/0x440
> [? 587.145018]? [<ffffffff8100a7fb>] arch_gnttab_map_status+0x3b/0x70
> [? 587.145018]? [<ffffffff81362486>] gnttab_map_frames_v2+0xd6/0x150
> [? 587.145018]? [<ffffffff813625a1>] gnttab_map+0xa1/0x140
> [? 587.145018]? [<ffffffff81362740>] get_free_entries+0x100/0x2e0
> [? 587.145018]? [<ffffffff813629e5>] gnttab_...
2014 Apr 16
0
Bug#744930: Failed migration from 4.3 to 4.1 crashes VM on sender
...0000000 ffffffff811f10f8 ffff88001f005d90
[69204.815336] <0> 0000000000000000 ffffffff810e831c 0000000000000000 ffff88001fd58620
[69204.815336] <0> ffff88001fca2000 00000000000067f9 ffffffff8100e63d ffffffff8100ecf2
[69204.815336] Call Trace:
[69204.815336] [<ffffffff811f10f8>] ? gnttab_map+0x105/0x112
[69204.815336] [<ffffffff810e831c>] ? kfree+0xc6/0xcb
[69204.815336] [<ffffffff8100e63d>] ? xen_force_evtchn_callback+0x9/0xa
[69204.815336] [<ffffffff8100ecf2>] ? check_events+0x12/0x20
[69204.815336] [<ffffffff811f3980>] ? xen_suspend+0xaf/0xc4
[69204.81533...
2018 Jan 08
0
Centos 7 Kernel 3.10.0-693.11.6.el7.x86_64 does not boot PV
...0fa04d000 0000000000000004
ffffc90000608fff
[ 587.145018] Call Trace:
[ 587.145018] <IRQ>
[ 587.145018] [<ffffffff81046bc7>] paravirt_enter_lazy_mmu+0x27/0x30
[ 587.145018] [<ffffffff8116d8d6>] apply_to_page_range+0x266/0x440
[ 587.145018] [<ffffffff8100a7fb>] arch_gnttab_map_status+0x3b/0x70
[ 587.145018] [<ffffffff81362486>] gnttab_map_frames_v2+0xd6/0x150
[ 587.145018] [<ffffffff813625a1>] gnttab_map+0xa1/0x140
[ 587.145018] [<ffffffff81362740>] get_free_entries+0x100/0x2e0
[ 587.145018] [<ffffffff813629e5>]
gnttab_alloc_grant_referen...
2008 Mar 28
12
[PATCH 00/12] Xen arch portability patches (take 4)
Hi Jeremy.
According to your suggestion, I recreated patches for Ingo's x86.git tree.
And this patch series includes Eddie's modification.
Please review and forward them. (or push back to respin.)
Recently the xen-ia64 community started to make efforts to merge
xen/ia64 Linux to upstream. The first step is to merge up domU portion.
This patchset is preliminary for xen/ia64 domU linux
2008 Mar 28
12
[PATCH 00/12] Xen arch portability patches (take 4)
Hi Jeremy.
According to your suggestion, I recreated patches for Ingo's x86.git tree.
And this patch series includes Eddie's modification.
Please review and forward them. (or push back to respin.)
Recently the xen-ia64 community started to make efforts to merge
xen/ia64 Linux to upstream. The first step is to merge up domU portion.
This patchset is preliminary for xen/ia64 domU linux
2011 Dec 01
11
[PATCH 0 of 2] Paging support updates for XCP dom0
This is a cherry pick of two patches that add support for guest paged out
frames in the XCP 2.6.32 dom0 patch queue.
First patch propagates the ENOENT returned by the hypervisor in the case
of a paged out page, all the way up the call chain to the MMAPBATCH_V2
ioctl. The ioctl is mainly used to harvest those return values and retry.
The second patch adds retry loops to all backend grant
2008 May 19
21
[PATCH 0/5] VT-d support for PV guests
Hi,
I''ve added some preliminary support for VT-d for paravirtualized
guests. This must be enabled using an ''iommu_pv'' boot parameter
(disabled by default).
I''ve added some python bindigs to allow xend to assign PCI devices to
IOMMU for PV guests. For HVM guests this is handled in ioemu. Not
sure if it makes sense to handle both cases in one place.
The
2007 Nov 02
0
[PATCH] PVWin: Fix warnings
...0;
shared_info_area->vcpu_info[0].evtchn_pending_sel = 0;
+
+ return STATUS_SUCCESS;
}
static ev_action_t ev_actions[NR_EVENTS];
diff -r b26bdba50c41 xenpci/gnttbl.c
--- a/xenpci/gnttbl.c Thu Nov 01 16:21:24 2007 -0700
+++ b/xenpci/gnttbl.c Fri Nov 02 09:52:30 2007 -0700
@@ -63,7 +63,7 @@ GntTab_Map(unsigned int start_idx, unsig
xatp.domid = DOMID_SELF;
xatp.idx = i;
xatp.space = XENMAPSPACE_grant_table;
- xatp.gpfn = (gnttab_table_physical.QuadPart >> PAGE_SHIFT) + i;
+ xatp.gpfn = (xen_pfn_t)(gnttab_table_physical.QuadPart >>
PAGE_SHIFT) + i;
if (HYPERVI...
2013 Jun 18
16
[PATCH] ARM: cache coherence problem in guestcopy.c
...xen are corrupted.
After some debugging (with the help of HW debugger), I found that
cache polution happens, and here is the detailed sequence.
1) DomU kernel allocates a local variable struct xen_add_to_physmap xatp
and the GVA of xatp is 0xc785fe38 (note that not cache-line aligned)
(see gnttab_map function in linux/drivers/xen/grant-table.c)
2) GVA of xatp is mapped in xen page table at raw_copy_from_guest function,
and the VA of xen is 0xae48ee38 and its contents are cached.
3) DomU kernel reuses xatp to invoke the second hypercall with different
parameters.
4) GVA of xatp is...
2010 Sep 15
15
xenpaging fixes for kernel and hypervisor
Patrick,
there following patches fix xenpaging for me.
Granttable handling is incomplete. If a page is gone, a GNTST_eagain
should be returned to the caller to inidcate the hypercall has to be
retried after a while, until the page is available again.
Please review.
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2008 Mar 05
51
[PATCH 00/50] ia64/xen take 3: ia64/xen domU paravirtualization
Hi. This patchset implements xen/ia64 domU support.
Qing He and Eddie Dong also has been woring on pv_ops so that
I want to discuss before going further and avoid duplicated work.
I suppose that Eddie will also post his own patch. So reviewing both
patches, we can reach to better pv_ops interface.
- I didn't changed the ia64 intrinsic paravirtulization abi from
the last post. Presumably it
2008 Mar 05
51
[PATCH 00/50] ia64/xen take 3: ia64/xen domU paravirtualization
Hi. This patchset implements xen/ia64 domU support.
Qing He and Eddie Dong also has been woring on pv_ops so that
I want to discuss before going further and avoid duplicated work.
I suppose that Eddie will also post his own patch. So reviewing both
patches, we can reach to better pv_ops interface.
- I didn't changed the ia64 intrinsic paravirtulization abi from
the last post. Presumably it
2007 Apr 23
27
[PATCH 00/25] xen: Xen implementation for paravirt_ops
Hi Andi,
This series of patches implements the Xen paravirt-ops interface.
It applies to 2.6.21-rc7 + your patches + the last batch of pv_ops
patches I posted.
This patch generally restricts itself to Xen-specific parts of the tree,
though it does make a few small changes elsewhere.
These patches include:
- some helper routines for allocating address space and walking pagetables
- Xen
2007 Apr 23
27
[PATCH 00/25] xen: Xen implementation for paravirt_ops
Hi Andi,
This series of patches implements the Xen paravirt-ops interface.
It applies to 2.6.21-rc7 + your patches + the last batch of pv_ops
patches I posted.
This patch generally restricts itself to Xen-specific parts of the tree,
though it does make a few small changes elsewhere.
These patches include:
- some helper routines for allocating address space and walking pagetables
- Xen