From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH v4 02/24] xen/arm: hypercalls Date: Fri, 14 Sep 2012 15:05:57 +0100 Message-ID: <505339C5.60907@arm.com> References: <1347621207-11294-2-git-send-email-stefano.stabellini@eu.citrix.com> <50533500.2020606@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linaro-dev-bounces-cunTk1MwBs8s++Sfvej+rw@public.gmane.org Errors-To: linaro-dev-bounces-cunTk1MwBs8s++Sfvej+rw@public.gmane.org To: Stefano Stabellini Cc: Dave Martin , "xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org" , "linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org" , Ian Campbell , "arnd-r2nGTMty4D4@public.gmane.org" , "konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org" , Catalin Marinas , "Tim (Xen.org)" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: xen-devel@lists.xenproject.org On 14/09/12 15:02, Stefano Stabellini wrote: > On Fri, 14 Sep 2012, Marc Zyngier wrote: >>> +/* HVC 0xEA1 */ >>> +#ifdef CONFIG_THUMB2_KERNEL >>> +#define xen_hvc .word 0xf7e08ea1 >>> +#else >>> +#define xen_hvc .word 0xe140ea71 >>> +#endif >> >> You should consider using Dave Martin's opcode injection series for >> that. The patches are already in Russell's for-next branch. > > I am all for using Dave's patches and I have even already sent a patch > to change the wrappers to use __HVC: > > http://marc.info/?l=linux-kernel&m=134513261623427&w=2 > > I have only temporarely dropped it, only to reduce the amount of > external dependencies of this series. It already depends on Konrad's > stable/for-linus-3.7, so I would rather send this patch out later on its > own... Fair enough. As long as there's a plan to fix this soon enough, it should be alright. M. -- Jazz is not dead. It just smells funny...