All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 0/2] ARM/decompressor: deal with disabled CP15 barrier instructions
Date: Wed, 13 Nov 2019 14:58:38 +0100	[thread overview]
Message-ID: <CACRpkdbaGd9rQqg641zZ_8-YL8yyTN8RkkVggQNb=fZ-1+NPdA@mail.gmail.com> (raw)
In-Reply-To: <20191106094219.24365-1-ardb@kernel.org>

On Wed, Nov 6, 2019 at 10:42 AM Ard Biesheuvel <ardb@kernel.org> wrote:

> While trying to test my v4.4 backport of the firmware/hypervisor based spectre
> v1/v2 mitigations for 32-bit ARM, I noticed that KVM/qemu failed to boot my
> kernel while it booted fine under TCG emulation.
>
> As it turns out, KVM/qemu may instantiate the VCPU with support for CP15
> barrier instructions disabled, causing them to UNDEF and crash the
> decompressor.
>
> I already fixed the same issue for UEFI boot, but since v4.4 does not support
> that, I only noticed now that this is an issue for bare metal as well.
>
> Cc: Russell King <rmk+kernel@armlinux.org.uk>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Marc Zyngier <maz@kernel.org>

FWIW:
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Looking at patches for stable is a bit like cleaning the sink in the bathroom,
seems OK at first but after a while you get scared by the stuff that comes
up.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-11-13 13:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06  9:42 [PATCH 0/2] ARM/decompressor: deal with disabled CP15 barrier instructions Ard Biesheuvel
2019-11-06  9:42 ` [PATCH 1/2] ARM/decompressor: avoid CP15 barrier instructions in v7 cache setup code Ard Biesheuvel
2019-11-06  9:42 ` [PATCH 2/2] Revert "ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache" Ard Biesheuvel
2019-11-13 13:58 ` Linus Walleij [this message]
2019-11-14  9:54   ` [PATCH 0/2] ARM/decompressor: deal with disabled CP15 barrier instructions Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACRpkdbaGd9rQqg641zZ_8-YL8yyTN8RkkVggQNb=fZ-1+NPdA@mail.gmail.com' \
    --to=linus.walleij@linaro.org \
    --cc=ardb@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.