search for: max_pfn_map

Displaying 19 results from an estimated 19 matches for "max_pfn_map".

2013 Jan 30
2
[PATCH] PVH: remove code to map iomem from guest
...tity_and_release_chunk( *identity += set_phys_range_identity(start_pfn, end_pfn); } -/* For PVH, the pfns [0..MAX] are mapped to mfn''s in the EPT/NPT. The mfns - * are released as part of this 1:1 mapping hypercall back to the dom heap. - * Also, we map the entire IO space, ie, beyond max_pfn_mapped. - */ -static void __init xen_pvh_identity_map_chunk(unsigned long start_pfn, +/* PVH: xen has already mapped the IO space in the EPT/NPT for us, so we + * just need to adjust the released and identity count */ +static void __init xen_pvh_adjust_stats(unsigned long start_pfn, unsigned long en...
2008 Jul 23
2
[PULL] lguest and virtio patches
...virtio: fix virtio_net xmit of freed skb bug lguest: Don't leak /dev/zero fd lguest: Support assigning a MAC address virtio: Use bus_type probe and remove methods Rusty Russell (19): virtio: Recycle unused recv buffer pages for large skbs in net driver lguest: set max_pfn_mapped, growl loudly at Yinghai Lu lguest: Guest int3 fix lguest: Debugging patch for lguest network performance lguest: fix verbose printing of device features. lguest: virtio-rng support virtio: clarify that ABI is usable by any implementations virtio: don't al...
2008 Jul 23
2
[PULL] lguest and virtio patches
...virtio: fix virtio_net xmit of freed skb bug lguest: Don't leak /dev/zero fd lguest: Support assigning a MAC address virtio: Use bus_type probe and remove methods Rusty Russell (19): virtio: Recycle unused recv buffer pages for large skbs in net driver lguest: set max_pfn_mapped, growl loudly at Yinghai Lu lguest: Guest int3 fix lguest: Debugging patch for lguest network performance lguest: fix verbose printing of device features. lguest: virtio-rng support virtio: clarify that ABI is usable by any implementations virtio: don't al...
2017 Feb 17
0
[PATCH 09/35] x86: Convert remaining uses of pr_warning to pr_warn
...Warning: node %d [mem %#010Lx-%#010Lx] overlaps with itself [mem %#010Lx-%#010Lx]\n", + bi->nid, bi->start, bi->end - 1, + bj->start, bj->end - 1); } /* @@ -364,7 +364,7 @@ static int __init numa_alloc_distance(void) phys = memblock_find_in_range(0, PFN_PHYS(max_pfn_mapped), size, PAGE_SIZE); if (!phys) { - pr_warning("NUMA: Warning: can't allocate distance table!\n"); + pr_warn("NUMA: Warning: can't allocate distance table!\n"); /* don't retry until explicitly reset */ numa_distance = (void *)1LU; return -EN...
2011 Jul 18
2
[PATCH tip/x86/mm] x86_32: calculate additional memory needed by the fixmap
...unsigned long pmds = 0, ptes = 0, tables = 0, good_end = end, pud_mapped = 0, pmd_mapped = 0, size = end - start; + int kmap_begin_pmd_idx, kmap_end_pmd_idx; + int fixmap_begin_pmd_idx, fixmap_end_pmd_idx; + int btmap_begin_pmd_idx; phys_addr_t base; pud_mapped = DIV_ROUND_UP(PFN_PHYS(max_pfn_mapped), @@ -92,6 +95,50 @@ static void __init find_early_table_space(unsigned long start, } else ptes = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; +#ifdef CONFIG_X86_32 + fixmap_begin_pmd_idx = __fix_to_virt(__end_of_fixed_addresses - 1) + >> PMD_SHIFT; + /* + * fixmap_end_pmd_idx is t...
2017 Dec 22
0
[PATCH 4.14 064/159] x86/virt, x86/platform: Merge struct x86_hyper into struct x86_platform and struct x86_init
...op_int_noop, }; EXPORT_SYMBOL_GPL(x86_platform); --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -671,7 +671,7 @@ void __init init_mem_mapping(void) load_cr3(swapper_pg_dir); __flush_tlb_all(); - hypervisor_init_mem_mapping(); + x86_init.hyper.init_mem_mapping(); early_memtest(0, max_pfn_mapped << PAGE_SHIFT); } --- a/arch/x86/xen/enlighten_hvm.c +++ b/arch/x86/xen/enlighten_hvm.c @@ -229,9 +229,9 @@ static uint32_t __init xen_platform_hvm( const struct hypervisor_x86 x86_hyper_xen_hvm = { .name = "Xen HVM", .detect = xen_platform...
2008 Dec 11
1
Bug#508429: BUG: unable to handle kernel paging request
...n 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Wed Nov 26 21:11:47 UTC 2008 [ 0.000000] Command line: root=/dev/sda2 ro console=tty0 console=ttyS0 xencons=ttyS [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 00000000b3dcb000 (usable) [ 0.000000] max_pfn_mapped = 736715 [ 0.000000] init_memory_mapping [ 0.000000] DMI present. [ 0.000000] early res: 0 [200000-631917] TEXT DATA BSS [ 0.000000] early res: 1 [632000-1e06fff] Xen provided [ 0.000000] early res: 2 [1e07000-1e08fff] INITMAP [ 0.000000] early res: 3 [1e09000-23acfff]...
2017 Feb 17
11
[PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn
There are ~4300 uses of pr_warn and ~250 uses of the older pr_warning in the kernel source tree. Make the use of pr_warn consistent across all kernel files. This excludes all files in tools/ as there is a separate define pr_warning for that directory tree and pr_warn is not used in tools/. Done with 'sed s/\bpr_warning\b/pr_warn/' and some emacsing. Miscellanea: o Coalesce formats and
2017 Feb 17
11
[PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn
There are ~4300 uses of pr_warn and ~250 uses of the older pr_warning in the kernel source tree. Make the use of pr_warn consistent across all kernel files. This excludes all files in tools/ as there is a separate define pr_warning for that directory tree and pr_warn is not used in tools/. Done with 'sed s/\bpr_warning\b/pr_warn/' and some emacsing. Miscellanea: o Coalesce formats and
2017 Feb 17
11
[PATCH 00/35] treewide trivial patches converting pr_warning to pr_warn
There are ~4300 uses of pr_warn and ~250 uses of the older pr_warning in the kernel source tree. Make the use of pr_warn consistent across all kernel files. This excludes all files in tools/ as there is a separate define pr_warning for that directory tree and pr_warn is not used in tools/. Done with 'sed s/\bpr_warning\b/pr_warn/' and some emacsing. Miscellanea: o Coalesce formats and
2013 Feb 22
3
[GIT PULL] x86/mm changes for v3.9-rc1
...ent mapping helper x86, 64bit: Copy struct boot_params early x86, 64bit, realmode: Use init_level4_pgt to set trampoline_pgd directly x86, realmode: Separate real_mode reserve and setup x86, 64bit: #PF handler set page to cover only 2M per #PF x86, 64bit: Don't set max_pfn_mapped wrong value early on native path x86: Merge early_reserve_initrd for 32bit and 64bit x86: Add get_ramdisk_image/size() x86, boot: Add get_cmd_line_ptr() x86, boot: Move checking of cmd_line_ptr out of common path x86, boot: Pass cmd_line_ptr with unsigned long inste...
2013 Feb 22
3
[GIT PULL] x86/mm changes for v3.9-rc1
...ent mapping helper x86, 64bit: Copy struct boot_params early x86, 64bit, realmode: Use init_level4_pgt to set trampoline_pgd directly x86, realmode: Separate real_mode reserve and setup x86, 64bit: #PF handler set page to cover only 2M per #PF x86, 64bit: Don't set max_pfn_mapped wrong value early on native path x86: Merge early_reserve_initrd for 32bit and 64bit x86: Add get_ramdisk_image/size() x86, boot: Add get_cmd_line_ptr() x86, boot: Move checking of cmd_line_ptr out of common path x86, boot: Pass cmd_line_ptr with unsigned long inste...
2013 Feb 22
3
[GIT PULL] x86/mm changes for v3.9-rc1
...ent mapping helper x86, 64bit: Copy struct boot_params early x86, 64bit, realmode: Use init_level4_pgt to set trampoline_pgd directly x86, realmode: Separate real_mode reserve and setup x86, 64bit: #PF handler set page to cover only 2M per #PF x86, 64bit: Don't set max_pfn_mapped wrong value early on native path x86: Merge early_reserve_initrd for 32bit and 64bit x86: Add get_ramdisk_image/size() x86, boot: Add get_cmd_line_ptr() x86, boot: Move checking of cmd_line_ptr out of common path x86, boot: Pass cmd_line_ptr with unsigned long inste...
2017 Nov 09
4
[PATCH v2 0/5] x86/xen: support booting PVH guest via standard boot path
Booting a Xen PVH guest requires a special boot entry as it is mandatory to setup some Xen-specific interfaces rather early. When grub or OVMF are used as boot loaders, however, those will fill the boot parameters in zeropage and there is no longer a need to do something PVH specific in the early boot path. This patch series adds support for that scenario by identifying PVH environment and doing
2017 Nov 09
4
[PATCH v2 0/5] x86/xen: support booting PVH guest via standard boot path
Booting a Xen PVH guest requires a special boot entry as it is mandatory to setup some Xen-specific interfaces rather early. When grub or OVMF are used as boot loaders, however, those will fill the boot parameters in zeropage and there is no longer a need to do something PVH specific in the early boot path. This patch series adds support for that scenario by identifying PVH environment and doing
2011 Jan 09
11
(no subject)
OK, so after several weeks of trying to get various versions of Xen running of various distributions, I''m starting to wonder if I''ve got a hardware compatibility problem and as the system never really boots with the Xen kernel I''ve got no log files to tell me where the problem is. I was wondering if there''s a way to compile from source with debug turned on,
2009 Feb 25
0
Problem booting hypervisor on Lenovo T400 Core2 Duo P8600
...5, 645047) 2 entries of 3200 used [ 0.000000] Entering add_active_range(0, 645135, 645319) 3 entries of 3200 used [ 0.000000] Entering add_active_range(0, 646143, 646144) 4 entries of 3200 used [ 0.000000] Entering add_active_range(0, 1048576, 1425408) 5 entries of 3200 used [ 0.000000] max_pfn_mapped = 1425408 [ 0.000000] init_memory_mapping [ 0.000000] DMI present. [ 0.000000] ACPI: RSDP 000F6530, 0024 (r2 LENOVO) [ 0.000000] ACPI: XSDT 9DB6A5B6, 0094 (r1 LENOVO TP-7U 1200 LTP 0) [ 0.000000] ACPI: FACP 9DB6A700, 00F4 (r3 LENOVO TP-7U 1200 LNVO 1) [...
2009 Feb 22
0
Bug#516610: xen-hypervisor-3.2-1-amd64: Xen hypervisor does not boot on Core2 Duo CPU P8600
...5, 645047) 2 entries of 3200 used [ 0.000000] Entering add_active_range(0, 645135, 645319) 3 entries of 3200 used [ 0.000000] Entering add_active_range(0, 646143, 646144) 4 entries of 3200 used [ 0.000000] Entering add_active_range(0, 1048576, 1425408) 5 entries of 3200 used [ 0.000000] max_pfn_mapped = 1425408 [ 0.000000] init_memory_mapping [ 0.000000] DMI present. [ 0.000000] ACPI: RSDP 000F6530, 0024 (r2 LENOVO) [ 0.000000] ACPI: XSDT 9DB6A5B6, 0094 (r1 LENOVO TP-7U 1200 LTP 0) [ 0.000000] ACPI: FACP 9DB6A700, 00F4 (r3 LENOVO TP-7U 1200 LNVO 1)...
2008 Nov 13
69
[PATCH 00 of 38] xen: add more Xen dom0 support
Hi Ingo, Here''s the chunk of patches to add Xen Dom0 support (it''s probably worth creating a new xen/dom0 topic branch for it). A dom0 Xen domain is basically the same as a normal domU domain, but it has extra privileges to directly access hardware. There are two issues to deal with: - translating to and from the domain''s pseudo-physical addresses and real machine