[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v1 0/1] xen/arm: Map mmio-sram nodes as cached memory



From: "Edgar E. Iglesias" <edgar.iglesias@xxxxxxxxxx>

This patch changes the mapping from non-cached to cached
for mmio-sram nodes that do not have the no-memory-wc property.
This is a hang-over from 4.8 since the mmio-sram patches went
in late in the cycle.

I've explained the rationale in the commit message:
    Rationale:
    Allthough on chip memories are relatively fast compared to
    off-chip memories, large OCMs are still significantly slower
    than L1 caches. Depending on the memory, either cached or
    uncached may make most sense.

    Also, dom0 may like to use the memory in a cache-coherent way
    to avoid SW managed coherency.

    By mapping it cached at S2, we let dom0 select cacheability
    via S1 mappings.

This was also discussed here:
https://lists.xenproject.org/archives/html/xen-devel/2016-05/msg02412.html

Cheers,
Edgar

Edgar E. Iglesias (1):
  xen/arm: Map mmio-sram nodes as cached memory

 xen/arch/arm/domain_build.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.