NetBSD/sys/arch/xen/x86
jym d0a75a07db Although Xen's documentation states that the address_bits field is not used
by XENMEM_decrease_reservation, it is checked by the hypervisor. In certain
circumstances (stack leak), the field could have an improper value, leading
to a fail of the hypercall.

Set it to 0 ("no addressing restriction") to avoid that.

Patch tested by Sam Fourman and haad@.

This should fix the rare "failed allocating DMA memory" encountered
under NetBSD dom0. Will ask for a pull-up.
2010-03-09 23:12:06 +00:00
..
autoconf.c - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr. 2009-11-27 03:23:03 +00:00
consinit.c
cpu.c Use roundup2() instead of hardcoding the CACHE_LINE_SIZE rounding 2010-03-03 00:09:03 +00:00
hypervisor_machdep.c Remove 3rd and 4th clauses. OK cl@ (copyright holder). 2009-10-23 02:32:33 +00:00
intr.c
mainbus.c Don't use the global variable pci_mode, but use a local copy of 2010-02-15 23:53:07 +00:00
x86_xpmap.c Fixes regarding paddr_t/pd_entry_t types in MD x86 code, exposed by PAE: 2010-02-26 19:25:07 +00:00
xen_bus_dma.c Although Xen's documentation states that the address_bits field is not used 2010-03-09 23:12:06 +00:00
xen_intr.c
xen_shm_machdep.c
xenfunc.c Starting with Xen 3 API, MMU_EXTENDED_COMMAND (tlb flush, cache flush, page 2010-02-12 01:55:45 +00:00