Re: [PATCH v2] MIPS: Provide Kconfig option for default IEEE 754 conformance mode

From: Huacai Chen
Date: Thu Aug 06 2020 - 22:08:05 EST


Hi, Xuerui,

On Thu, Aug 6, 2020 at 6:54 PM WANG Xuerui <kernel@xxxxxxxxxx> wrote:
>
> Hi Jiaxun,
>
>
> On 2020/8/5 21:59, Jiaxun Yang wrote:
> >
> >
> > 在 2020/8/1 14:11, Jiaxun Yang 写道:
> >> Requested by downstream distros, a Kconfig option for default
> >> IEEE 754 conformance mode allows them to set their mode to
> >> relaxed by default.
> >>
> >> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> >> Reviewed-by: WANG Xuerui <git@xxxxxxxxxx>
> >> Reviewed-by: Serge Semin <fancer.lancer@xxxxxxxxx>
> >> Reviewed-by: Huacai Chen <chenhc@xxxxxxxxxx>
> >>
> >> --
> >> v2: Reword according to Xuerui's suggestion.
> >> ---
> > Hi Thomas,
> >
> > Is it possible to get this patch into 5.9 merge window?
> > I think it have got enough review tag, and the config option was
> > requested
> > by a Debian developer. The next Debian release will take 5.9 lts
> > kernel and
> > they don't want to ship a non-bootable kernel in a major release.
>
> I have an idea. Can the downstream packagers make use of the builtin
> command line config options, to inject the "ieee754=relaxed" or whatever
> option necessary? If it is acceptable this patch should not be necessary
> in the short term.
Built-in "ieee754=relaxed" is already in upstream for Loongson-3.

Huacai
>
> >
> > Thanks.
> >
> > - Jiaxun