Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1325198
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 07/14] efi: runtime-wrappers: Run UEFI Runtime Services with interrupts enabled |
| Date | 2016-02-03 12:00 +0100 |
| Message-ID | <qY3ke-QW-15@gated-at.bofh.it> (permalink) |
| References | <qXuPx-WW-3@gated-at.bofh.it> <qXuPx-WW-11@gated-at.bofh.it> <qY2ev-ew-33@gated-at.bofh.it> <qY2oa-hJ-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote: > > More fundamentally, this makes me nervous: > > > > > The UEFI spec allows Runtime Services to be invoked with interrupts > > > enabled. [...] > > > > So what really matters is not what the spec says, but how Windows executes > > UEFI firmware code in practice. > > > > If major versions of Windows calls UEFI firmware with interrupts disabled, > > then frankly I don't think we should interrupt them under Linux either, > > regardless of what the spec says ... > > > > Random firmware code getting interrupted by the OS changes timings and might > > have other side effects the firmware code might not expect - so the question > > is, does Windows already de facto allow the IRQ preemption of firmware calls? > > > > Good question. I will try to find out. Note that if there's a reasonable (but not 100%) case in favor of keeping irqs enabled, we can try your patch, with the possibility that we might have to revert it, should it cause problems. In practice we probably already interrupt EFI services with NMI interrupts, which can be pretty heavy as well if they for example generate printks. So I'm not against this change in a strong fashion - I'm just a bit cautious and it would be nice to know how Windows behaves here. Thanks, Ingo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 07/14] efi: runtime-wrappers: Run UEFI Runtime Services with interrupts enabled Matt Fleming <matt@codeblueprint.co.uk> - 2016-02-01 23:10 +0100
Re: [PATCH 07/14] efi: runtime-wrappers: Run UEFI Runtime Services with interrupts enabled Ingo Molnar <mingo@kernel.org> - 2016-02-03 10:50 +0100
Re: [PATCH 07/14] efi: runtime-wrappers: Run UEFI Runtime Services with interrupts enabled Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-02-03 11:00 +0100
Re: [PATCH 07/14] efi: runtime-wrappers: Run UEFI Runtime Services with interrupts enabled Ingo Molnar <mingo@kernel.org> - 2016-02-03 12:00 +0100
Re: [PATCH 07/14] efi: runtime-wrappers: Run UEFI Runtime Services with interrupts enabled Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-02-03 12:40 +0100
Re: [PATCH 07/14] efi: runtime-wrappers: Run UEFI Runtime Services with interrupts enabled Matt Fleming <matt@codeblueprint.co.uk> - 2016-02-03 13:10 +0100
[PATCH] efi: runtime-wrappers: run UEFI Runtime Services with interrupts enabled Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-02-04 15:00 +0100
Re: [PATCH] efi: runtime-wrappers: run UEFI Runtime Services with interrupts enabled Matt Fleming <matt@codeblueprint.co.uk> - 2016-02-08 16:20 +0100
Re: [PATCH] efi: runtime-wrappers: run UEFI Runtime Services with interrupts enabled Andy Lutomirski <luto@amacapital.net> - 2016-02-08 20:40 +0100
csiph-web