Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3376878yba; Tue, 23 Apr 2019 02:44:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqycl85m40b6bppEoXa0AP70ccKv2YNB83gMhNy5z94j5bfpxp5y/Gjo8XQw5p7GLrNMH4ym X-Received: by 2002:a17:902:70c8:: with SMTP id l8mr25581130plt.177.1556012641590; Tue, 23 Apr 2019 02:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556012641; cv=none; d=google.com; s=arc-20160816; b=SZnNIDRQHmD1LB163ZF/xp8HWKFNZZ58Qck3YeHFtL6RO8KVUeJ9M2/i7e7UbvY+l1 cICDuyXHxdVPEiNvvjfFTRLZi3LhdJTcAdogVkgSK/VndTa3lzWNpcdZwDAhprWI49Hv bfOBJAYMG8IQqnp0qY3jsSzvWCBypwtrXXH8wy2c5eOwQV4L/KsXvc7Sjmp1lAP3h2Ur KyzjU7f6I4IGFOAvKbkOcSsZweZCSdv3DhWF7hD9r4xR1X9gnzZ+juvEdn8dwNh/hWq3 +kW79v3wzEHFSJJDK8bK1S0dszrhs1lJtMC++/nDY5zQLCCr76YNoPPhCOPEjvS6StI6 6icQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=KLI1Qn2jq6SO5XYD9pgD7AOrvcRezPLi3S0m4OXEv1o=; b=nDpo9NZDjNiyR5QW1GJTfkiObagMB6bHh/pV/3lXmlOgF+LwVwRlR1HYUKT07XQ4cp +Rx3LSg1Ntb4AqmdUbqc751RVAOiQmVwKEiXb6TY7zbV28rc23oY8CgCdYLkuKCUKmLu yRw3OyPUL/qWCpF0rjLKby7/64oe2xi6faUjvGRgZWlXQDQybaaXk1M2As39w2Mrfsxe FW2bo/rGPuelpzOL8GP2tuJpU6kS4gFPqaIV5tBTfjUY5DSoU4iNRUFdjv345Z2/53Fu Rio2Wcgq4ZbdOnI7AbvWAZmM7utvPGHI6J8mqACXZqZ+bkiTJbbgzlgwYsfU+YNWlq76 9szQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3si13702456pgq.84.2019.04.23.02.43.45; Tue, 23 Apr 2019 02:44:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726890AbfDWJmu (ORCPT + 99 others); Tue, 23 Apr 2019 05:42:50 -0400 Received: from smtp.ctxuk.citrix.com ([185.25.65.24]:58190 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726204AbfDWJmt (ORCPT ); Tue, 23 Apr 2019 05:42:49 -0400 X-IronPort-AV: E=Sophos;i="5.60,385,1549929600"; d="scan'208";a="89162592" Date: Tue, 23 Apr 2019 11:42:40 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Juergen Gross CC: , Boris Ostrovsky , Stefano Stabellini , Darren Hart , Andy Shevchenko , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , , , Subject: Re: [PATCH 2/2] xen/pvh: correctly setup the PV EFI interface for dom0 Message-ID: <20190423094240.ksiq2qtow44tzbmf@Air-de-Roger> References: <20190423092829.67915-1-roger.pau@citrix.com> <20190423092829.67915-2-roger.pau@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 23, 2019 at 11:36:10AM +0200, Juergen Gross wrote: > On 23/04/2019 11:28, Roger Pau Monne wrote: > > diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h > > index 4969817124a8..51ef98e96d88 100644 > > --- a/include/xen/xen-ops.h > > +++ b/include/xen/xen-ops.h > > @@ -209,6 +209,7 @@ int xen_xlate_map_ballooned_pages(xen_pfn_t **pfns, void **vaddr, > > > > bool xen_running_on_version_or_later(unsigned int major, unsigned int minor); > > > > +#ifdef CONFIG_XEN_EFI > > efi_status_t xen_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc); > > efi_status_t xen_efi_set_time(efi_time_t *tm); > > efi_status_t xen_efi_get_wakeup_time(efi_bool_t *enabled, efi_bool_t *pending, > > @@ -233,7 +234,12 @@ efi_status_t xen_efi_query_capsule_caps(efi_capsule_header_t **capsules, > > int *reset_type); > > void xen_efi_reset_system(int reset_type, efi_status_t status, > > unsigned long data_size, efi_char16_t *data); > > - > > +extern void xen_efi_init(struct boot_params *boot_params); > > +#else > > +static inline void __init xen_efi_init(struct boot_params *boot_params) > > Is struct boot_params defined on ARM? Seems to be defined for x86 and some mips only, so I will have to find another header. Will post v2 shortly. Thanks, Roger.