From: Michael Ellerman <patch-notifications@ellerman•id.au>
To: Michael Ellerman <mpe@ellerman•id.au>, linuxppc-dev@ozlabs•org
Cc: anton@samba•org
Subject: Re: powerpc/book3s64: Always build for power4 or later
Date: Mon, 14 Nov 2016 23:17:15 +1100 (AEDT) [thread overview]
Message-ID: <3tHTzb1Wppz9t2g@ozlabs.org> (raw)
In-Reply-To: <1477008111-9160-1-git-send-email-mpe@ellerman.id.au>
On Fri, 2016-21-10 at 00:01:51 UTC, Michael Ellerman wrote:
> When we're not compiling for a specific CPU, ie. none of the
> CONFIG_POWERx_CPU options are set, and CONFIG_GENERIC_CPU *is* set, we
> currently don't pass any -mcpu option to the compiler. This means the
> compiler builds for a "generic" Power CPU.
>
> But back in 2014 we dropped support for pre power4 CPUs in commit
> 468a33028edd ("powerpc: Drop support for pre-POWER4 cpus").
>
> Given that, there's no point in building the kernel to run on pre power4
> cpus. So update the flags we pass to the compiler when
> CONFIG_GENERIC_CPU is set, to specify -mcpu=power4.
>
> Signed-off-by: Michael Ellerman <mpe@ellerman•id.au>
> Acked-by: Balbir Singh <bsingharora@gmail•com>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/3a849815a13695ad0e32f6f01c9054
cheers
prev parent reply other threads:[~2016-11-14 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 0:01 [PATCH] powerpc/book3s64: Always build for power4 or later Michael Ellerman
2016-10-21 3:53 ` Balbir Singh
2016-11-14 12:17 ` Michael Ellerman [this message]
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=3tHTzb1Wppz9t2g@ozlabs.org \
--to=patch-notifications@ellerman$(echo .)id.au \
--cc=anton@samba$(echo .)org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=mpe@ellerman$(echo .)id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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