From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: Runtime services support for Xen on ARM Date: Tue, 10 Nov 2015 12:26:09 +0000 Message-ID: References: <5641D5F0.5080401@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5641D5F0.5080401@huawei.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Shannon Zhao Cc: xen-devel@lists.xensource.com, Ian Campbell , Stefano Stabellini , Shannon Zhao , Christoffer Dall List-Id: xen-devel@lists.xenproject.org CC'ing xen-devel and Jan On Tue, 10 Nov 2015, Shannon Zhao wrote: > Hi Stefano, > > I'm working on adding Runtime services support at Xen side. Most of work > is adding the ARM part in xen/common/efi/runtime.c. > > There is one problem which block me. That is how to implement > efi_rs_enter() and efi_rs_leave() for ARM, since I think current > implementation is x86 specific and won't work on ARM. Also the rtc_lock. > > Could you give some suggestion? Thanks! efi_rs_enter() and efi_rs_leave() look very PV x86 specific. It is possible that we don't actually need to do anything at all on ARM, aside from refactoring the code. Jan? Similarly we don't have an rtc_lock spinlock today and it is not actually needed, but for the sake of keeping the common code common, I would just introduce rtc_lock on ARM too.