From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH for-4.5 v12 0/3] Refactoring for future mem_event and mem_access support on ARM Date: Wed, 1 Oct 2014 11:59:07 +0100 Message-ID: <1412161147.4861.20.camel@citrix.com> References: <1412006113-31551-1-git-send-email-tklengyel@sec.in.tum.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1412006113-31551-1-git-send-email-tklengyel@sec.in.tum.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tamas K Lengyel , Konrad Rzeszutek Wilk Cc: tim@xen.org, dgdegra@tycho.nsa.gov, stefano.stabellini@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-09-29 at 17:55 +0200, Tamas K Lengyel wrote: > These patches are the refactoring and minor patches that will be required > for future mem_access support on ARM that could be merged now. Needs a release exception. Konrad, We'd like to get some of these into 4.5 so as to ease life for people who want to backport ARM xenaccess and/or continue developing it for 4.6. I'm in favour of only "xen/xsm: Wrap mem_access blocks into HAS_MEM_ACCESS ifdefs" and "xen/arm: Add p2m_set_permission and p2m_shatter_page helpers." for now IMO, the new hypercall can/should wait and come along with the user in 4.6. Those two patches are a slight refactoring and a refactoring+ifdeffing (refactorings/movements painful to rebase without introducing errors). IMHO if they build then the risk of other regressions is slight. Ian. > > This PATCH series is also available at: > https://github.com/tklengyel/xen/tree/arm_memaccess_12-for-4.5 > > Julien Grall (1): > xen/arm: Implement domain_get_maximum_gpfn > > Tamas K Lengyel (2): > xen/xsm: Wrap mem_access blocks into HAS_MEM_ACCESS ifdefs > xen/arm: Add p2m_set_permission and p2m_shatter_page helpers. > > xen/arch/arm/mm.c | 2 +- > xen/arch/arm/p2m.c | 137 +++++++++++++++++++++++++++++++++--------------- > xen/include/xsm/dummy.h | 26 ++++----- > xen/include/xsm/xsm.h | 29 +++++----- > xen/xsm/dummy.c | 7 ++- > xen/xsm/flask/hooks.c | 33 +++++++----- > 6 files changed, 151 insertions(+), 83 deletions(-) >