From: Tyler Baicar <tbai...@codeaurora.org>
The ARM CPER code is currently mixed in with the other CPER code. Move it
to a new file to separate it from the rest of the CPER code.
Signed-off-by: Tyler Baicar <tbai...@codeaurora.org>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
novych <gomonov...@gmail.com>
Signed-off-by: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/efi/efi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/efi.c b/drivers/
routines
- some cosmetic cleanups
Ard Biesheuvel (1):
arm64: efi: ignore EFI_MEMORY_XP attribute if RP and/or WP are set
Arvind Yadav (1):
efi/capsule-loader: pr_err() strings should end with newlines
Tyler Baicar (2
From: Arvind Yadav <arvind.yadav...@gmail.com>
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
Signed-off-by: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-
: Use a cached copy of the capsule
header")
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/x86/platform/efi/quirks.c| 13 +-
drivers/firmware/efi/capsule-loader.c | 45 ---
include/linux/efi.h | 4 ++
nobody noticed it.
Move efi_memblock_x86_reserve_range() after parse_early_param()
to fix it.
Signed-off-by: Dave Young <dyo...@redhat.com>
Cc: Ingo Molnar <mi...@kernel.org>
Signed-off-by: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linar
On 29 December 2017 at 03:09, Bryan O'Donoghue
wrote:
>
>> So we need to fix this without breaking Quark. Fortunately, Quark does
>> not appear to care about the virtual mapping, and so we can simply
>> do a partial revert of commit 2a457fb31df6 ("efi/capsule-loader:
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Cc: Jan Kiszka <jan.kis...@siemens.com>
Cc: Bryan O'Donoghue <pure.lo...@nexus-software.ie>
Cc: Richard Ruigrok <rruig...@codeaurora.org>
Cc: Ge Song <ge.s...@hxt-semitech.com>
Signed-off-by: Ard Biesheuvel <ard.biesh
On 25 October 2017 at 11:14, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> The following changes since commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f:
>
> Linux 4.14-rc4 (2017-10-08 20:53:29 -0700)
>
> are available in the git repository at:
>
> git://git.kern
On 21 December 2017 at 21:47, Richard Ruigrok wrote:
> Please tested-by
> Tested on Centiq, applied on v4.15-rc4.
> This fixes the regression introduced in 4.13 where the capsule is no longer
> passed in contiguous virtual memory.
>
> On 12/19/2017 3:49 AM, Ge Song
On 19 December 2017 at 07:09, AKASHI Takahiro
<takahiro.aka...@linaro.org> wrote:
> On Mon, Dec 18, 2017 at 01:40:09PM +0800, Dave Young wrote:
>> On 12/15/17 at 05:59pm, AKASHI Takahiro wrote:
>> > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote:
>> &g
s good to me. Although I haven't cross referenced every
little detail with the spec:
Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 15 December 2017 at 16:19, Matt Fleming wrote:
> On Sat, 09 Dec, at 04:52:52PM, Vincent Legoll wrote:
>> No need to get into the submenu to disable all related
>> config entries.
>>
>> This makes it easier to disable all EFI config options
>> without entering the
On 15 December 2017 at 09:59, AKASHI Takahiro
<takahiro.aka...@linaro.org> wrote:
> On Wed, Dec 13, 2017 at 12:17:22PM +0000, Ard Biesheuvel wrote:
>> On 13 December 2017 at 12:16, AKASHI Takahiro
>> <takahiro.aka...@linaro.org> wrote:
>> > On Wed, Dec 13, 2017
On 13 December 2017 at 12:16, AKASHI Takahiro
<takahiro.aka...@linaro.org> wrote:
> On Wed, Dec 13, 2017 at 10:49:27AM +0000, Ard Biesheuvel wrote:
>> On 13 December 2017 at 10:26, AKASHI Takahiro
>> <takahiro.aka...@linaro.org> wrote:
>> > Bhupesh, Ard,
>
On 13 December 2017 at 10:26, AKASHI Takahiro
wrote:
> Bhupesh, Ard,
>
> On Wed, Dec 13, 2017 at 03:21:59AM +0530, Bhupesh Sharma wrote:
>> Hi Ard, Akashi
>>
> (snip)
>
>> Looking deeper into the issue, since the arm64 kexec-tools uses the
>>
On 11 December 2017 at 21:29, Tyler Baicar <tbai...@codeaurora.org> wrote:
> On 12/11/2017 4:09 PM, Ard Biesheuvel wrote:
>>
>> On 11 December 2017 at 21:06, Tyler Baicar <tbai...@codeaurora.org> wrote:
>>>
>>> On 12/7/2017 3:07 PM, Tyler Baic
On 11 December 2017 at 21:06, Tyler Baicar <tbai...@codeaurora.org> wrote:
> On 12/7/2017 3:07 PM, Tyler Baicar wrote:
>>
>> On 12/7/2017 2:38 PM, Ard Biesheuvel wrote:
>>>>
>>>> diff --git a/include/linux/cper.h b/include/linux/cper.h
>>>&g
Hi Tyler,
On 7 December 2017 at 19:25, Tyler Baicar wrote:
> The ARM CPER code is currently mixed in with the other CPER code. Move it
> to a new file to separate it from the rest of the CPER code.
>
> Signed-off-by: Tyler Baicar
> ---
>
Young <dyo...@redhat.com>
Reviewed-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/efi/efi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Pan Bian <bianpan2...@163.com>
The remapping result of memremap should be freed with memunmap, not
kfree.
Signed-off-by: Pan Bian <bianpan2...@163.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Cc: <sta...@vger.kernel.org>
Signed-off-by: Ard Biesheuvel &l
other places at the same time.
Reported-by: Linus Torvalds <torva...@linux-foundation.org>
Tested-by: Dave Young <dyo...@redhat.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
Cc: stable <sta...@vger.kernel.org>
Si
The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215:
Linux 4.15-rc2 (2017-12-03 11:01:47 -0500)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git efi-urgent
for you to fetch changes up to
() macro to
> make this easier, and use it in other places at the same time.
>
> Reported-by: Linus Torvalds <torva...@linux-foundation.org>
> Tested-by: Dave Young <dyo...@redhat.com>
> Cc: Matt Fleming <m...@codeblueprint.co.uk>
> Cc: Ard Biesheuvel <ard.bi
On 29 October 2017 at 14:51, Pan Bian wrote:
> The remapping result of memremap should be freed with memunmap, not
> kfree.
>
> Signed-off-by: Pan Bian
> ---
> drivers/firmware/efi/esrt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff
() macro to
> make this easier, and use it in other places at the same time.
>
> Reported-by: Linus Torvalds <torva...@linux-foundation.org>
> Tested-by: Dave Young <dyo...@redhat.com>
> Cc: Matt Fleming <m...@codeblueprint.co.uk>
> Cc: Ard Biesheuvel <ard.bi
On 4 December 2017 at 09:59, Greg Kroah-Hartman
<gre...@linuxfoundation.org> wrote:
> On Mon, Dec 04, 2017 at 09:48:37AM +0000, Ard Biesheuvel wrote:
>> On 4 December 2017 at 09:34, Greg Kroah-Hartman
>> <gre...@linuxfoundation.org> wrote:
>> > On Mon, Dec 04,
On 4 December 2017 at 09:34, Greg Kroah-Hartman
wrote:
> On Mon, Dec 04, 2017 at 05:29:28PM +0800, Dave Young wrote:
>> On 12/04/17 at 08:36am, Greg Kroah-Hartman wrote:
>> > On Mon, Dec 04, 2017 at 10:02:16AM +0800, Dave Young wrote:
>> > > +#define
On 1 December 2017 at 16:33, Kees Cook wrote:
> On Fri, Dec 1, 2017 at 7:34 AM, Greg Kroah-Hartman
> wrote:
>
>> And isn't there a specific %p modifier you should use for a kernel
>> pointer. I've lost the thread here for what should, or should
On 1 December 2017 at 09:48, Greg Kroah-Hartman
<gre...@linuxfoundation.org> wrote:
> On Thu, Nov 30, 2017 at 05:18:42PM +0000, Ard Biesheuvel wrote:
>> On 30 November 2017 at 17:10, Greg Kroah-Hartman
>> <gre...@linuxfoundation.org> wrote:
>> > On Thu, Nov 30,
On 30 November 2017 at 17:10, Greg Kroah-Hartman
wrote:
> On Thu, Nov 30, 2017 at 04:32:35PM +, Greg Kroah-Hartman wrote:
>> On Wed, Nov 29, 2017 at 01:36:25PM -0800, Linus Torvalds wrote:
>> > On Wed, Nov 29, 2017 at 1:14 PM, Linus Torvalds
>> >
On 13 November 2017 at 09:27, AKASHI Takahiro
wrote:
> Hi,
>
> On Fri, Nov 10, 2017 at 05:41:56PM +0530, Bhupesh Sharma wrote:
>> Resent with Akashi's correct email address.
>>
>> On Fri, Nov 10, 2017 at 5:39 PM, Bhupesh Sharma wrote:
>> > Hi Ard,
to execute)
Reported-by: Stephen Boyd <sb...@codeaurora.org>
Tested-by: Stephen Boyd <sb...@codeaurora.org>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/arm64/kernel/efi.c | 4 +++-
1 file changed, 3 insertions(+), 1
From: Arvind Yadav <arvind.yadav...@gmail.com>
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
Cc: J
string fix
Ard Biesheuvel (1):
arm64: efi: ignore EFI_MEMORY_XP attribute if RP and/or WP are set
Arvind Yadav (1):
efi/capsule-loader: pr_err() strings should end with newlines
arch/arm64/kernel/efi.c | 4
d efi_test driver for exporting UEFI runtime
service interfaces")
Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>
Acked-by: Ivan Hu <ivan...@canonical.com>
Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
Signed-off-by: Matt Fleming <m...@codeblueprint.co.uk&
.
Cc: James Morse <james.mo...@arm.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/efi/libstub/arm-stub.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/lib
crashing on UEFI runtime services invocations after resume from
hibernation on ARM
Ard Biesheuvel (1):
efi/libstub: arm: don't randomize runtime regions when
CONFIG_HIBERNATION=y
Dan Carpenter (1):
efi/efi_test
On 24 October 2017 at 12:05, Russell King - ARM Linux
<li...@armlinux.org.uk> wrote:
> On Sun, Oct 22, 2017 at 03:14:57PM +0100, Ard Biesheuvel wrote:
>> ARM shares its EFI stub implementation with arm64, which has some
>> special handling in the virtual remapping code to
&g
.
Cc: James Morse <james.mo...@arm.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/efi/libstub/arm-stub.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/lib
if they have the same memory attributes.
This is guaranteed to work, given that ARM only supports 4 KB pages,
and allows us to remove the sort() call entirely.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/efi/libstub/Makefile | 6 +++---
drivers/firmwa
On 6 October 2017 at 13:53, Jiri Slaby <jsl...@suse.cz> wrote:
> Hi,
>
> On 10/04/2017, 09:33 AM, Ard Biesheuvel wrote:
>> On 4 October 2017 at 08:22, Jiri Slaby <jsl...@suse.cz> wrote:
>>> On 10/02/2017, 02:48 PM, Ard Biesheuvel wrote:
>>>> On 2 O
ay be loaded.
> .P
> Only validly signed wifi databases may be use.
> .P
> Unencrypted hibernation/suspend to swap are disallowed as the kernel image is
> saved to a medium that can then be accessed.
> .P
> Use of debugfs is not permitted as this allows a whole range of actions
> including direct configuration of, access to and driving of hardware.
> .RE
> .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
> .SH SEE ALSO
> .ad l
> .nh
>
Hello David,
Thanks for putting this together. I will let others comment on the
details, but in general, this fully addresses my concern regarding the
unrealistic expectations one might create when printing 'your kernel
is in lockdown mode' into the kernel log without any clarification
what this might mean for your particular system.
Acked-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello Jiri,
On 4 October 2017 at 08:22, Jiri Slaby <jsl...@suse.cz> wrote:
> On 10/02/2017, 02:48 PM, Ard Biesheuvel wrote:
>> On 2 October 2017 at 10:12, Jiri Slaby <jsl...@suse.cz> wrote:
>>> There is a couple of assembly functions, which are invoke
sl...@suse.cz>
> Cc: "H. Peter Anvin" <h...@zytor.com>
> Cc: Thomas Gleixner <t...@linutronix.de>
> Cc: Ingo Molnar <mi...@redhat.com>
> Cc: x...@kernel.org
> Cc: Matt Fleming <m...@codeblueprint.co.uk>
> Cc: Ard Biesheuvel <ard.biesheu...@linar
On 25 August 2017 at 01:31, Florent Revest wrote:
> Hi,
>
> This series implements a mechanism to sandbox EFI Runtime Services on arm64.
> It can be enabled with CONFIG_EFI_SANDBOX. At boot it spawns an internal KVM
> virtual machine that is ran everytime an EFI Runtime
On 15 September 2017 at 11:53, Stephen Boyd <sb...@codeaurora.org> wrote:
> On 09/14, Ard Biesheuvel wrote:
>> The UEFI memory map is a bit vague about how to interpret the
>> EFI_MEMORY_XP attribute when it is combined with EFI_MEMORY_RP and/or
>> EFI_MEMORY_WP, wh
On 8 September 2017 at 16:17, Gregory CLEMENT
<gregory.clem...@free-electrons.com> wrote:
> Hi Ard,
>
> On ven., sept. 08 2017, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
>
>> On 8 September 2017 at 15:57, Ard Biesheuvel <ard.biesheu...@linaro.org>
>
On 8 September 2017 at 15:57, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> On 8 September 2017 at 15:56, Gregory CLEMENT
> <gregory.clem...@free-electrons.com> wrote:
>> Hi Ard,
>>
>> On ven., sept. 08 2017, Ard Biesheuvel <ard.biesheu...@linaro.org&g
On 8 September 2017 at 15:56, Gregory CLEMENT
<gregory.clem...@free-electrons.com> wrote:
> Hi Ard,
>
> On ven., sept. 08 2017, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
>
>> On 8 September 2017 at 15:33, Gregory CLEMENT
>> <gregory.clem..
On 8 September 2017 at 15:33, Gregory CLEMENT
<gregory.clem...@free-electrons.com> wrote:
> Hi Ard,
>
> On ven., sept. 08 2017, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
>
>> On 8 September 2017 at 14:54, Ard Biesheuvel <ard.biesheu...@linaro.org>
>
On 8 September 2017 at 14:54, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> On 8 September 2017 at 14:50, Gregory CLEMENT
> <gregory.clem...@free-electrons.com> wrote:
>> Hi Ard,
>>
>> On jeu., juin 29 2017, Ard Biesheuvel <ard.biesheu...@linaro.o
On 8 September 2017 at 14:50, Gregory CLEMENT
<gregory.clem...@free-electrons.com> wrote:
> Hi Ard,
>
> On jeu., juin 29 2017, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
>
>> To prevent unintended modifications to the kernel text (malicious or
>> o
On 7 September 2017 at 16:24, Thiebaud Weksteen <tw...@google.com> wrote:
> Hi Ard,
>
> Thanks for reviewing the patch. (Non-addressed comments are fixed in the
> next patch set).
>
> On Wed, Sep 06, 2017 at 03:53:33PM +0100, Ard Biesheuvel wrote:
>> Hi Thiebaud,
>
On 6 September 2017 at 15:25, Thiebaud Weksteen wrote:
> Signed-off-by: Thiebaud Weksteen
No empty commit logs please. If you expect people to review your code,
you really need to explain what it does and why. On top of that, a
cover letter that summarizes it
On 6 September 2017 at 15:53, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> Hi Thiebaud,
>
> On 6 September 2017 at 15:25, Thiebaud Weksteen <tw...@google.com> wrote:
>> With TPM 2.0, access to the event log is only possible by using the
>> EFI TPM2 Boot Ser
On 2 September 2017 at 09:26, Greg KH <gre...@linuxfoundation.org> wrote:
> On Sat, Sep 02, 2017 at 09:18:34AM +0100, Ard Biesheuvel wrote:
>> On 2 September 2017 at 07:45, Greg KH <gre...@linuxfoundation.org> wrote:
>> > On Sat, Aug 19, 2017 at 04:17:40PM +0100, Ard
On 2 September 2017 at 09:25, Greg KH <gre...@linuxfoundation.org> wrote:
> On Sat, Sep 02, 2017 at 09:15:37AM +0100, Ard Biesheuvel wrote:
>> On 2 September 2017 at 07:41, Greg KH <gre...@linuxfoundation.org> wrote:
>> > On Sat, Aug 19, 2017 at 04:17:39
On 2 September 2017 at 07:45, Greg KH <gre...@linuxfoundation.org> wrote:
> On Sat, Aug 19, 2017 at 04:17:40PM +0100, Ard Biesheuvel wrote:
>> Early entropy is hard to come by, especially on non-x86 systems that
>> lack an architected instruction and are not as uniform a
On 2 September 2017 at 07:41, Greg KH <gre...@linuxfoundation.org> wrote:
> On Sat, Aug 19, 2017 at 04:17:39PM +0100, Ard Biesheuvel wrote:
>> In preparation of adding support for the Chaoskey USB stick to the
>> UEFI stub, import the USB I/O protocol declarations and rela
On 30 August 2017 at 20:27, Jan Kiszka <jan.kis...@siemens.com> wrote:
> On 2017-08-30 21:24, Ard Biesheuvel wrote:
>> Hello Jan,
>>
>> On 30 August 2017 at 20:13, Jan Kiszka <jan.kis...@siemens.com> wrote:
>>> Last chunk: This backports
e for -stable.
> Cc: Andy Lutomirski <l...@amacapital.net>
> Cc: Andy Lutomirski <l...@kernel.org>
> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
> Cc: Borislav Petkov <b...@alien8.de>
> Cc: Brian Gerst <brge...@gmail.com>
> Cc: Bryan O'Donoghue <
of the random seed obtained from UEFI so crng
fast init can complete earlier
- add 'static' to local function pointer
- move efi_mem_type() to common code and replace an open coded instance
with it in the BGRT driver
Ard
t;m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/efi/efi.c| 3 ++-
drivers/firmware/efi/libstub/random.c | 10 --
include/linux/efi.h | 2 ++
3 files changed, 8 insertions(+), 7 deletions(-)
atthew Garrett <mj...@google.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/x86/boot/compressed/eboot.c| 3 ++
drivers/firmware/efi/Kconfig| 10 ++
drivers/firmware/efi/libstub/Makefile | 1
y: Jan Beulich <jbeul...@suse.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
arch/x86/platform/efi/efi.c | 19 ---
drivers/firmware/efi/efi.c | 37 +++--
2 files chang
n King <colin.k...@canonical.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/efi/reboot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/reboot.c b/drivers/fir
From: Jan Beulich <jbeul...@suse.com>
Avoid effectively open-coding the function.
Signed-off-by: Jan Beulich <jbeul...@suse.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firm
On 24 August 2017 at 11:34, Jan Beulich wrote:
On 24.08.17 at 12:19, wrote:
>> On 24 August 2017 at 11:11, Jan Beulich wrote:
>> On 24.08.17 at 11:52, wrote:
If it already has its own
On 24 August 2017 at 11:11, Jan Beulich wrote:
On 24.08.17 at 11:52, wrote:
>> On 24 August 2017 at 10:48, Jan Beulich wrote:
>> On 24.08.17 at 11:18, wrote:
On 24 August 2017 at 10:11,
ruct acpi_table_header *table)
> {
> void *image;
> @@ -85,7 +65,7 @@ void __init efi_bgrt_init(struct acpi_ta
> goto out;
> }
>
> - if (!efi_bgrt_addr_valid(bgrt->image_address)) {
> + if (efi_mem_type(bgrt->image_address) != EFI_BO
Hi Jan,
On 24 August 2017 at 10:11, Jan Beulich wrote:
> This follows efi_mem_attributes(), as it's similarly generic.
>
> Signed-off-by: Jan Beulich
> ---
> arch/x86/platform/efi/efi.c | 19 ---
> drivers/firmware/efi/efi.c | 29
On 22 August 2017 at 16:50, Colin King wrote:
> From: Colin Ian King
>
> The function pointer orig_pm_power_off is local to the source and does
> not need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> symbol
On 21 August 2017 at 16:59, Peter Zijlstra wrote:
> On Mon, Aug 21, 2017 at 08:23:10AM -0700, Andy Lutomirski wrote:
>> > Ah, but only root can create per-cpu events or attach events to kernel
>> > threads (with sensible paranoia levels).
>>
>> But this may not need to be
d so let's remove the
preprocessor conditional that makes it !X86 only.
Reviewed-by: Peter Jones <pjo...@redhat.com>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>
Acked-by: Bjorn Helgaas <bhelg...@google.com>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linar
On 12 July 2017 at 11:00, Bartlomiej Zolnierkiewicz
<b.zolnier...@samsung.com> wrote:
> On Monday, July 10, 2017 10:13:05 PM Ard Biesheuvel wrote:
>> On UEFI systems, the firmware may expose a Graphics Output Protocol (GOP)
>> instance to which the efifb driver attemp
On 11 July 2017 at 12:55, Peter Jones <pjo...@redhat.com> wrote:
> On Mon, Jul 10, 2017 at 10:13:05PM +0100, Ard Biesheuvel wrote:
>> On UEFI systems, the firmware may expose a Graphics Output Protocol (GOP)
>> instance to which the efifb driver attempts to attach in order to
On 10 July 2017 at 22:13, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> On UEFI systems, the firmware may expose a Graphics Output Protocol (GOP)
> instance to which the efifb driver attempts to attach in order to provide
> a minimal, unaccelerated framebuffer. The GOP
On 22 June 2017 at 16:35, Qiuxu Zhuo wrote:
> The EFI capsule mechanism allows data blobs to be passed to the EFI
> firmware. By setting the EFI_CAPSULE_POPULATE_SYSTEM_TABLE and the
> EFI_CAPSULE_PERSIST_ACROSS_REBOOT flags, the firmware will place a
> pointer to our data
On 26 June 2017 at 04:09, Zhuo, Qiuxu <qiuxu.z...@intel.com> wrote:
>> From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org]
>>
>> Actually, no, The issue I raised the last time around was not addressed
>> anywhere, and is not even mentioned in the
On 23 June 2017 at 23:03, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> On 23 June 2017 at 20:42, Kees Cook <keesc...@chromium.org> wrote:
>> On Thu, Jun 22, 2017 at 9:34 AM, Qiuxu Zhuo <qiuxu.z...@intel.com> wrote:
>>> Change Log v3->v4:
>>
On 23 June 2017 at 20:42, Kees Cook wrote:
> On Thu, Jun 22, 2017 at 9:34 AM, Qiuxu Zhuo wrote:
>> Change Log v3->v4:
>> - Add comment 'the number of config tables' for 'nr_config_table' in efi
>> structure
>> - Initialize 'efi.nr_config_table' to
gt; has one precalculated. The precalculated hash can be passed to
> is_hash_blacklisted(). This would typically be the case for a signed
> X.509 message.
>
This last part seems a premature optimization to me. Is there a
performance concern preventing us from using
On 30 May 2017 at 20:36, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> This is the ARM counterpart of the changes now in v4.12 to clean up
> the PE/COFF header that makes the kernel zImage loadable directly from
> UEFI, and to enhance it with hardening and debug features.
&
On 19 June 2017 at 19:54, Qiuxu Zhuo wrote:
> The 'nr_config_table' and 'config_table' (alreay in efi structure)
> in efi structure provide a way for some driver(e.g. capsule-pstore
> goes through the configuration table to extract crash capsules to
> aid in debugging)
efi.c. As I saw it happened
> a few times until now. So, let's initialize only efi struct members used by
> Xen to avoid such issues in the future.
>
> Signed-off-by: Daniel Kiper <daniel.ki...@oracle.com>
Acked-by: Ard Biesheuvel <ard.biesheu...@linaro.org&
<daniel.ki...@oracle.com>
Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
> ---
> drivers/firmware/efi/efi.c |3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
> index b372
e parseable by Sphinx:
>
> - use proper markups for titles;
> - identify literal blocks.
>
> Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
> ---
> Documentation/efi-stub.txt | 25 +++
(+ Kees)
On 6 June 2017 at 09:34, David Howells <dhowe...@redhat.com> wrote:
> Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
>
>> and print a subsequent line for every lockdown feature that is enabled, e.g.,
>>
>> lockdown: disabling MSRs
>> lockdow
On 18 May 2017 at 10:09, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> Clang requires the stub to be built with -fpie, or it may emit absolute
> symbol references that trigger the absolute relocation detection code and
> cause the build to fail.
>
> The remedy is to se
nit code to early init code")
Reported-by: Maniaxx <tripleshift...@gmail.com>
Signed-off-by: Dave Young <dyo...@redhat.com>
Cc: Matt Fleming <m...@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/efi/efi-bgrt.c | 26
On 9 June 2017 at 08:24, Dave Young wrote:
> Maniaxx reported a kernel boot failure of below:
> (emulated the panic by using same invalid phys addr in code)
> There are also a bug in bugzilla.kernel.org:
>
On 8 June 2017 at 05:32, Dave Young wrote:
> Maniaxx reported kernel boot panic similar to
> below:
> (emulated the panic with using same invalid phys addr in a uefi vm)
> There are also a bug in bugzilla.kernel.org:
>
On 8 June 2017 at 14:24, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
> On 8 June 2017 at 14:20, Dave Young <dyo...@redhat.com> wrote:
>> On 06/08/17 at 10:02am, Ard Biesheuvel wrote:
>>> On 8 June 2017 at 05:32, Dave Young <dyo...@redhat.com> wrote:
>
On 8 June 2017 at 14:20, Dave Young <dyo...@redhat.com> wrote:
> On 06/08/17 at 10:02am, Ard Biesheuvel wrote:
>> On 8 June 2017 at 05:32, Dave Young <dyo...@redhat.com> wrote:
>> > Maniaxx <tripleshift...@gmail.com> reported kernel boot panic similar to
On 8 June 2017 at 05:32, Dave Young wrote:
> Maniaxx reported kernel boot panic similar to
> below:
> (emulated the panic with using same invalid phys addr in a uefi vm)
> There are also a bug in bugzilla.kernel.org:
>
On 5 June 2017 at 15:50, Ingo Molnar <mi...@kernel.org> wrote:
>
> * Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
>
>> From: Jan Kiszka <jan.kis...@siemens.com>
>>
>> The firmware for Quark X102x prepends a security header to the capsule
>> w
On 5 June 2017 at 09:07, Ingo Molnar <mi...@kernel.org> wrote:
>
> * Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
>
>> (trim cc)
>>
>> On 2 June 2017 at 13:51, Ard Biesheuvel <ard.biesheu...@linaro.org> w
,
which increases TLB pressure, and so we should avoid doing so if we can.
So add a special case for regions of type EFI_ACPI_RECLAIM_MEMORY, and
memblock_reserve() them instead of marking them MEMBLOCK_NOMAP.
Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
---
drivers/firmware/e
cleanups
Andy Lutomirski (1):
x86/efi: Clean up efi CR3 save/restore
Ard Biesheuvel (4):
efi/capsule-loader: Use a cached copy of the capsule header
efi/capsule-loader: Redirect calls to efi_capsule_setup_info via weak
701 - 800 of 1436 matches
Mail list logo