search for: iomem_deny_access

Displaying 5 results from an estimated 5 matches for "iomem_deny_access".

2013 May 02
5
[PATCH] x86: allow Dom0 read-only access to IO-APICs
...n/arch/x86/domain_build.c @@ -1114,7 +1114,7 @@ int __init construct_dom0( for ( i = 0; i < nr_ioapics; i++ ) { mfn = paddr_to_pfn(mp_ioapics[i].mpc_apicaddr); - if ( smp_found_config ) + if ( !rangeset_contains_singleton(mmio_ro_ranges, mfn) ) rc |= iomem_deny_access(dom0, mfn, mfn); } --- a/xen/arch/x86/io_apic.c +++ b/xen/arch/x86/io_apic.c @@ -2468,6 +2468,9 @@ void __init init_ioapic_mappings(void) unsigned int i, idx = FIX_IO_APIC_BASE_0; union IO_APIC_reg_01 reg_01; + mmio_ro_ranges = rangeset_new(NULL, "r/o mmio ranges", +...
2007 Oct 03
0
[PATCH 3/3] TLB flushing and IO memory mapping
...op->flags)) < 0 ) + goto unmap_out; + } + else if ( iomem_page_test(op->frame, mfn_to_page(op->frame)) && + iomem_access_permitted(ld, op->frame, op->frame) ) + { + if ( (rc = iomem_deny_access(ld, op->frame, op->frame)) < 0 ) + goto unmap_out; + } ASSERT(act->pin & (GNTPIN_hstw_mask | GNTPIN_hstr_mask)); op->map->flags &= ~GNTMAP_host_map; @@ -499,7 +528,7 @@ __gnttab_unmap_common( act->pin -= GNTPIN_hstr...
2006 Dec 01
1
[PATCH 2/10] Add support for netfront/netback acceleration drivers
...break; if ( op->u.iomem_permission.allow_access ) - ret = iomem_permit_access(d, mfn, mfn + nr_mfns - 1); + ret = iomem_permit_access(d, mfn, mfn + nr_mfns - 1, + op->u.iomem_permission.rw); else ret = iomem_deny_access(d, mfn, mfn + nr_mfns - 1); diff -r b58bcd6551e2 xen/include/asm-ia64/grant_table.h --- a/xen/include/asm-ia64/grant_table.h Fri Dec 01 16:21:46 2006 +0000 +++ b/xen/include/asm-ia64/grant_table.h Fri Dec 01 16:22:41 2006 +0000 @@ -32,7 +32,7 @@ void guest_physmap_add_page(struct domai # define...
2012 Dec 12
2
[PATCH v7 1/2] xen: unify domain locking in domctl code
These two patches were originally part of the XSM series that I have posted, and remain prerequisites for that series. However, they are independent of the XSM changes and are a useful simplification regardless of the use of XSM. The Acked-bys on these patches were provided before rebasing them over the copyback changes in 26268:1b72138bddda, which had minor conflicts that I resolved. [PATCH
2013 Jun 26
24
Re: [XenARM] XEN tools for ARM with Virtualization Extensions
(moving to xen-devel, xen-arm is for the older PV ARM port) On Tue, 2013-06-25 at 23:59 +0000, Eric Trudeau wrote: > Hi, I am trying to build the XEN tools for our port of XEN to our > Cortex A15-based platform. > > I am using the repo at git://xenbits.xenproject.org/xen.git to > cross-compile the tools into our rootfs. Which branch/changeset are you using? I've heard that