Re: [Xen-devel] [PATCH v2 1/2] paravirt,xen: remove xen_patch()

2017-08-18 Thread Boris Ostrovsky
On 08/16/2017 01:31 PM, Juergen Gross wrote: > Xen's paravirt patch function xen_patch() does some special casing for > irq_ops functions to apply relocations when those functions can be > patched inline instead of calls. > > Unfortunately none of the special case function replacements is small >

Re: [Xen-devel] [PATCH v2 1/2] paravirt,xen: remove xen_patch()

2017-08-16 Thread Josh Poimboeuf
On Wed, Aug 16, 2017 at 07:31:56PM +0200, Juergen Gross wrote: > ENTRY(xen_irq_disable_direct) > movb $1, PER_CPU_VAR(xen_vcpu_info) + XEN_vcpu_info_mask > -ENDPATCH(xen_irq_disable_direct) > ret > ENDPROC(xen_irq_disable_direct) > - RELOC(xen_irq_disable_direct, 0) Might

[Xen-devel] [PATCH v2 1/2] paravirt,xen: remove xen_patch()

2017-08-16 Thread Juergen Gross
Xen's paravirt patch function xen_patch() does some special casing for irq_ops functions to apply relocations when those functions can be patched inline instead of calls. Unfortunately none of the special case function replacements is small enough to be patched inline, so the special case never