From: Christian Zigotzky <chzigotzky@xenosoft.de>
To: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
hbathini@linux.ibm.com
Cc: Darren Stevens <darren@stevens-zone.net>,
"R.T.Dickinson" <rtd2@xtra.co.nz>,
mad skateman <madskateman@gmail.com>,
"R.T.Dickinson" <rtd@a-eon.com>,
Matthew Leaman <matthew@a-eon.biz>,
Christian Zigotzky <info@xenosoft.de>
Subject: [FSL P50x0] Kernel 6.9-rc1 compiling issue
Date: Mon, 25 Mar 2024 06:18:35 +0100 [thread overview]
Message-ID: <761e7864-4655-4b58-b0ad-60d716c5f321@xenosoft.de> (raw)
In-Reply-To: <fa247ae4-5825-4dbe-a737-d93b7ab4d4b9@xenosoft.de>
I have created a patch:
--- a/arch/powerpc/platforms/85xx/smp.c 2024-03-25 06:14:02.201209476 +0100
+++ b/arch/powerpc/platforms/85xx/smp.c 2024-03-25 06:10:04.421425931 +0100
@@ -393,6 +393,7 @@ static void mpc85xx_smp_kexec_cpu_down(i
int disable_threadbit = 0;
long start = mftb();
long now;
+ int crashing_cpu = -1;
local_irq_disable();
hard_irq_disable();
---
-- Christian
On 25 March 2024 at 05:48 am, Christian Zigotzky wrote:
> Hi All,
>
> Compiling of the RC1 of kernel 6.9 doesn’t work anymore for our FSL
> P5020/P5040 boards [1] since the PowerPC updates 6.9-2 [2].
>
> Error messages:
>
> arch/powerpc/platforms/85xx/smp.c: In function
> 'mpc85xx_smp_kexec_cpu_down':
> arch/powerpc/platforms/85xx/smp.c:401:13: error: 'crashing_cpu'
> undeclared (first use in this function); did you mean 'crash_save_cpu'?
> 401 | if (cpu == crashing_cpu && cpu_thread_in_core(cpu) != 0) {
> | ^~~~~~~~~~~~
> | crash_save_cpu
> arch/powerpc/platforms/85xx/smp.c:401:13: note: each undeclared
> identifier is reported only once for each function it appears in
> make[5]: *** [scripts/Makefile.build:244:
> arch/powerpc/platforms/85xx/smp.o] Error 1
> make[4]: *** [scripts/Makefile.build:485: arch/powerpc/platforms/85xx]
> Error 2
> make[3]: *** [scripts/Makefile.build:485: arch/powerpc/platforms] Error 2
> make[2]: *** [scripts/Makefile.build:485: arch/powerpc] Error 2
>
> ---
>
> I was able to revert it. After that the compiling works again.
>
> Could you please check the PowerPC updates 6.9-2? [2]
>
> Thanks,
> Christian
>
> [1] http://wiki.amiga.org/index.php?title=X5000
> [2]
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.9-rc1&id=484193fecd2b6349a6fd1554d306aec646ae1a6a
next prev parent reply other threads:[~2024-03-25 5:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 4:48 [FSL P50x0] Kernel 6.9-rc1 compiling issue Christian Zigotzky
2024-03-25 5:18 ` Christian Zigotzky [this message]
2024-03-25 6:43 ` Christophe Leroy
2024-03-25 7:15 ` Christian Zigotzky
2024-03-25 9:14 ` Christian Zigotzky
2024-03-25 11:01 ` Christian Zigotzky
2024-04-04 17:44 ` Christian Zigotzky
2024-04-04 19:00 ` Christophe Leroy
2024-04-08 12:20 ` Michael Ellerman
2024-05-09 5:15 ` Christian Zigotzky
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=761e7864-4655-4b58-b0ad-60d716c5f321@xenosoft.de \
--to=chzigotzky@xenosoft.de \
--cc=christophe.leroy@csgroup.eu \
--cc=darren@stevens-zone.net \
--cc=hbathini@linux.ibm.com \
--cc=info@xenosoft.de \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madskateman@gmail.com \
--cc=matthew@a-eon.biz \
--cc=mpe@ellerman.id.au \
--cc=rtd2@xtra.co.nz \
--cc=rtd@a-eon.com \
/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;
as well as URLs for NNTP newsgroup(s).