Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1269954

Re: [Xen-devel] [PATCH v4 2/7] xen/arm: introduce HYPERVISOR_platform_op on arm and arm64

From Ian Campbell <ian.campbell@citrix.com>
Newsgroups linux.kernel
Subject Re: [Xen-devel] [PATCH v4 2/7] xen/arm: introduce HYPERVISOR_platform_op on arm and arm64
Date 2015-11-16 10:50 +0100
Message-ID <qvoAb-5D7-43@gated-at.bofh.it> (permalink)
References <qu40O-3rz-13@gated-at.bofh.it> <qu40P-3rz-37@gated-at.bofh.it> <qumTM-72J-17@gated-at.bofh.it> <qur73-1sj-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2015-11-13 at 18:10 +0000, Stefano Stabellini wrote:
> 
> I agree with your point (I thought about it myself) but the current
> assembly scheme for hypercalls doesn't work well with that. I would have
> to introduce, and maintain going forward, two special hypercall
> implementations in assembly, one for arm and another for arm64, just to
> set interface_version. I don't think it is worth it; I prefer to have to
> maintain the explicit interface_version setting at the call sites (that
> today is just one).

You could give the bare assembly stub a different name (append _core or
_raw or something) and make HYPERVISOR_platform_op a C wrapper for it which
DTRT.

Ian.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 2/7] xen/arm: introduce HYPERVISOR_platform_op on arm and arm64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-12 18:40 +0100
  Re: [Xen-devel] [PATCH v4 2/7] xen/arm: introduce HYPERVISOR_platform_op  on arm and arm64 Julien Grall <julien.grall@citrix.com> - 2015-11-13 14:50 +0100
    Re: [Xen-devel] [PATCH v4 2/7] xen/arm: introduce HYPERVISOR_platform_op  on arm and arm64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-13 19:20 +0100
      Re: [Xen-devel] [PATCH v4 2/7] xen/arm: introduce HYPERVISOR_platform_op  on arm and arm64 Julien Grall <julien.grall@citrix.com> - 2015-11-13 19:40 +0100
      Re: [Xen-devel] [PATCH v4 2/7] xen/arm: introduce  HYPERVISOR_platform_op on arm and arm64 Ian Campbell <ian.campbell@citrix.com> - 2015-11-16 10:50 +0100
        Re: [Xen-devel] [PATCH v4 2/7] xen/arm: introduce HYPERVISOR_platform_op  on arm and arm64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-20 13:00 +0100
          Re: [Xen-devel] [PATCH v4 2/7] xen/arm: introduce  HYPERVISOR_platform_op on arm and arm64 Ian Campbell <ian.campbell@citrix.com> - 2015-11-20 13:20 +0100

csiph-web