public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: undefined instruction d5380001 (arm64 mrs emulation)
Date: Thu, 5 Oct 2017 15:59:48 +0100	[thread overview]
Message-ID: <20171005145948.GE5235@leverpostej> (raw)
In-Reply-To: <fb13bcdf-c97b-40c6-3815-30dce26bca8e@suse.com>

Hi Matthias,

On Thu, Oct 05, 2017 at 04:54:09PM +0200, Matthias Brugger wrote:
> On 10/04/2017 11:11 AM, Matwey V. Kornilov wrote:
> >The patch helps to overcome the issue, Probably it should be applied
> >to all stable releases affected by this behaviour.
> >modprobe in initrd may load quite required things.
> >
> >2017-10-02 18:56 GMT+03:00 Suzuki K Poulose <Suzuki.Poulose@arm.com>:
> >>arm64: Enable MRS emulation early enough in the boot sequence
> >>
> >>Make sure the MRS emulation is enabled early enough that the
> >>early userspace applications (e.g, those run from initrd) could
> >>run without any trouble.
> >>
> >>Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
> >>
> >>diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
> >>index 9f9e0064c8c1..048f5469531f 100644
> >>--- a/arch/arm64/kernel/cpufeature.c
> >>+++ b/arch/arm64/kernel/cpufeature.c
> >>@@ -1294,4 +1294,4 @@ static int __init enable_mrs_emulation(void)
> >>         return 0;
> >>  }
> >>
> >>-late_initcall(enable_mrs_emulation);
> >>+arch_initcall(enable_mrs_emulation);
> >>---
> >>
> >>
> 
> I realized this patch did not land in v4.13.5
> Did it got forgotten or are there any concerns?

This patch wasn't a complete fix, and the issue is still being discussed
at:

http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/534396.html

Thanks,
Mark.

  reply	other threads:[~2017-10-05 14:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-29 19:23 undefined instruction d5380001 Matwey V. Kornilov
2017-10-02 11:24 ` Dave Martin
2017-10-02 14:11   ` undefined instruction d5380001 (arm64 mrs emulation) James Morse
2017-10-02 15:56     ` Suzuki K Poulose
2017-10-04  9:11       ` Matwey V. Kornilov
2017-10-05 14:54         ` Matthias Brugger
2017-10-05 14:59           ` Mark Rutland [this message]
2017-10-05 16:16           ` Catalin Marinas
2017-10-06 12:05             ` Matthias Brugger
2017-10-06 13:13               ` Catalin Marinas
2017-10-06 13:57                 ` Matthias Brugger

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=20171005145948.GE5235@leverpostej \
    --to=mark.rutland@arm.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox