|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-4.12 v3 4/5] xen/arm: Implement Set/Way operations
Hi, On 14/12/2018 21:22, Stefano Stabellini wrote: On Fri, 14 Dec 2018, Julien Grall wrote:+ + /* + * The full P2M may require some cleaning (e.g when emulation + * set/way). As the action can take a long time, it requires + * preemption. So this is deferred until we return to the guest.Please replace the last sentence of this comment with: "It is deferred until we return to guest, where we can more easily check for softirqs and preempt the vcpu safely." Ok. + */ + bool need_flush_to_ram; + } __cacheline_aligned;void vcpu_show_execution_state(struct vcpu *);diff --git a/xen/include/asm-arm/p2m.h b/xen/include/asm-arm/p2m.h index a633e27cc9..79abcb5a63 100644 --- a/xen/include/asm-arm/p2m.h +++ b/xen/include/asm-arm/p2m.h @@ -6,6 +6,8 @@ #include <xen/rwlock.h> #include <xen/mem_access.h>+#include <asm/current.h>+ #define paddr_bits PADDR_BITS/* Holds the bit size of IPAs in p2m tables. */@@ -237,6 +239,12 @@ bool p2m_resolve_translation_fault(struct domain *d, gfn_t gfn); */ int p2m_cache_flush_range(struct domain *d, gfn_t *pstart, gfn_t end);+void p2m_set_way_flush(struct vcpu *v); No, it is 79 characters (not counting \n). Why do you think it is more than 80 characters? Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |