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


Groups > linux.kernel > #1391676

Re: efi_enabled(EFI_PARAVIRT) use

From Matt Fleming <matt@codeblueprint.co.uk>
Newsgroups linux.kernel
Subject Re: efi_enabled(EFI_PARAVIRT) use
Date 2016-04-30 22:50 +0200
Message-ID <rtJZU-5Hj-5@gated-at.bofh.it> (permalink)
References (1 earlier) <rtafL-1n2-1@gated-at.bofh.it> <rte02-4gY-25@gated-at.bofh.it> <rthKi-7Bl-7@gated-at.bofh.it> <rti3F-7N6-69@gated-at.bofh.it> <rtDUt-IU-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 30 Apr, at 10:14:42PM, Shannon Zhao wrote:
> Sure. How should I add this change? Rework this patch or add new one on
> top of it?
 
Rework this patch, please.

> Yes, in this patch we could set EFI_RUNTIME_SERVICES flag in
> fdt_find_hyper_node instead of setting EFI_PARAVIRT flag, and then bail
> out early in arm_enable_runtime_services() as you said. Then call
> xen_efi_runtime_setup() in xen_guest_init().
 
Sounds good.

> While I still have a question, in this patch we use
> efi_enabled(EFI_PARAVIRT) as a condition to make fdt_find_uefi_params()
> and efi_get_fdt_params() execute different ways. So it needs to find a
> new condition for that if we need to get rid of EFI_PARAVIRT. One I
> think is that xen_initial_domain() check. Is that fine?

Hmm... why do you actually need to check whether you're running on a
PV machine in fdt_find_uefi_params()? Can't you infer that from the DT
params you discover?

I could understand maybe only accepting the "xen,uefi-system-table"
property if IS_ENABLED(CONFIG_XEN) but surely you don't also need to
filter based on whether you're booting a PV kernel?

Let me put it this way: when would you see "xen,uefi-system-table" and
*not* be booting a PV kernel?

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


Thread

linux-next: manual merge of the xen-tip tree with the tip tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-29 06:30 +0200
  Re: efi_enabled(EFI_PARAVIRT) use Ingo Molnar <mingo@kernel.org> - 2016-04-29 08:40 +0200
    Re: efi_enabled(EFI_PARAVIRT) use Borislav Petkov <bp@alien8.de> - 2016-04-29 10:30 +0200
      Re: efi_enabled(EFI_PARAVIRT) use Matt Fleming <matt@codeblueprint.co.uk> - 2016-04-29 11:30 +0200
    Re: efi_enabled(EFI_PARAVIRT) use Stefano Stabellini <sstabellini@kernel.org> - 2016-04-29 12:40 +0200
      Re: efi_enabled(EFI_PARAVIRT) use Ingo Molnar <mingo@kernel.org> - 2016-04-29 12:50 +0200
      Re: efi_enabled(EFI_PARAVIRT) use Matt Fleming <matt@codeblueprint.co.uk> - 2016-04-29 16:40 +0200
        Re: efi_enabled(EFI_PARAVIRT) use Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-04-29 17:00 +0200
          Re: efi_enabled(EFI_PARAVIRT) use Shannon Zhao <shannon.zhao@linaro.org> - 2016-04-30 16:20 +0200
            Re: efi_enabled(EFI_PARAVIRT) use Matt Fleming <matt@codeblueprint.co.uk> - 2016-04-30 22:50 +0200
              Re: efi_enabled(EFI_PARAVIRT) use Shannon Zhao <shannon.zhao@linaro.org> - 2016-05-01 05:30 +0200
                Re: efi_enabled(EFI_PARAVIRT) use Matt Fleming <matt@codeblueprint.co.uk> - 2016-05-01 15:30 +0200
                Re: efi_enabled(EFI_PARAVIRT) use Shannon Zhao <shannon.zhao@linaro.org> - 2016-05-01 16:40 +0200
                Re: efi_enabled(EFI_PARAVIRT) use Matt Fleming <matt@codeblueprint.co.uk> - 2016-05-02 12:50 +0200
                Re: [Xen-devel] efi_enabled(EFI_PARAVIRT) use Shannon Zhao <zhaoshenglong@huawei.com> - 2016-05-03 03:50 +0200
                Re: [Xen-devel] efi_enabled(EFI_PARAVIRT) use Matt Fleming <matt@codeblueprint.co.uk> - 2016-05-04 13:40 +0200
            Re: [Xen-devel] efi_enabled(EFI_PARAVIRT) use Shannon Zhao <zhaoshenglong@huawei.com> - 2016-05-03 11:20 +0200
        Re: efi_enabled(EFI_PARAVIRT) use Stefano Stabellini <sstabellini@kernel.org> - 2016-04-29 17:00 +0200
          Re: efi_enabled(EFI_PARAVIRT) use Stefano Stabellini <sstabellini@kernel.org> - 2016-04-29 17:40 +0200
            Re: efi_enabled(EFI_PARAVIRT) use Shannon Zhao <shannon.zhao@linaro.org> - 2016-04-30 16:10 +0200

csiph-web