[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CY4PR2201MB1272B73DDE21899898EB23BEC1C20@CY4PR2201MB1272.namprd22.prod.outlook.com>
Date: Tue, 13 Nov 2018 22:22:12 +0000
From: Paul Burton <paul.burton@...s.com>
To: Paul Burton <pburton@...ecomp.com>
CC: "linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Paul Burton <pburton@...ecomp.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Zhaoxiu Zeng <zhaoxiu.zeng@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Zhaoxiu Zeng <zhaoxiu.zeng@...il.com>,
"linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>
Subject: Re: [PATCH 1/2] MIPS: Use Kconfig to select CPU_NO_EFFICIENT_FFS
Hello,
Paul Burton wrote:
> Select CONFIG_CPU_NO_EFFICIENT_FFS via Kconfig when the kernel is
> configured for a pre-MIPS32r1 CPU, rather than defining its equivalent
> in asm/cpu-features.h based upon overrides of cpu_has_mips* macros.
>
> The latter only works if a platform has an cpu-feature-overrides.h
> header which defines cpu_has_mips* macros, which are not generally
> needed. There are many cases where we know that the target ISA for a
> kernel build is MIPS32r1 or later & thus includes the CLZ instruction,
> without requiring any overrides from the platform. Using Kconfig allows
> us to take those into account, and more naturally make a decision about
> instruction support using information about the target ISA.
>
> Signed-off-by: Paul Burton <paul.burton@...s.com>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Cc: Zhaoxiu Zeng <zhaoxiu.zeng@...il.com>
Series applied to mips-next.
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email paul.burton@...s.com to report it. ]
Powered by blists - more mailing lists