From: Helge Deller <deller@gmx.de>
To: Helge Deller <deller@gmx.de>
Cc: Arnd Bergmann <arnd@kernel.org>,
Parisc List <linux-parisc@vger.kernel.org>,
James Bottomley <James.Bottomley@hansenpartnership.com>,
John David Anglin <dave.anglin@bell.net>
Subject: Re: [PATCH v2] parisc: Fix boot with kernel v5.14
Date: Thu, 2 Sep 2021 22:19:49 +0200 [thread overview]
Message-ID: <YTEx5e52HCTgXaJE@ls3530> (raw)
In-Reply-To: <51d6b8cb-a64f-0cf7-1545-4c2fee89799e@gmx.de>
> > The problem on parisc seems to be that at least
> > one variable is generated by the linker in a way that is incompatible
> > with the psABI but declared as a regular __u32.
>
> I'm happy to change it if it's just this one variable.
Currently only applying this patch seems to fix the boot issue.
Maybe it's just luck that compressed kernel files are correctly aligned.
Anyway, Arnd, please just wait and do not consider applying my previous patch.
Helge
diff --git a/arch/parisc/boot/compressed/misc.c b/arch/parisc/boot/compressed/misc.c
index 2d395998f524..a9949ab9b283 100644
--- a/arch/parisc/boot/compressed/misc.c
+++ b/arch/parisc/boot/compressed/misc.c
@@ -26,7 +26,7 @@
extern char input_data[];
extern int input_len;
/* output_len is inserted by the linker possibly at an unaligned address */
-extern __le32 output_len __aligned(1);
+extern char output_len;
extern char _text, _end;
extern char _bss, _ebss;
extern char _startcode_end;
next prev parent reply other threads:[~2021-09-02 20:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 20:46 [PATCH] parisc: Fix boot with kernel v5.14 Helge Deller
2021-09-02 14:06 ` [PATCH v2] " Helge Deller
2021-09-02 18:35 ` Arnd Bergmann
2021-09-02 19:48 ` Helge Deller
2021-09-02 20:19 ` Helge Deller [this message]
2021-09-02 20:41 ` Arnd Bergmann
2021-09-05 21:40 ` Helge Deller
2021-09-06 10:54 ` Arnd Bergmann
2021-09-06 20:15 ` Helge Deller
2021-09-06 21:49 ` Arnd Bergmann
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=YTEx5e52HCTgXaJE@ls3530 \
--to=deller@gmx.de \
--cc=James.Bottomley@hansenpartnership.com \
--cc=arnd@kernel.org \
--cc=dave.anglin@bell.net \
--cc=linux-parisc@vger.kernel.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