2018-11-07 05:32:45

by Nylon Chen

[permalink] [raw]
Subject: [PATCH 1/2] nds32: Fix the missing "fpu_dp" message.

The "fpu_dp" should be added to hwcap_str table to make sure the cpu features displayed correctly.

Signed-off-by: Nylon Chen <[email protected]>
---
arch/nds32/kernel/setup.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c
index eacc79024879..e39274a21481 100644
--- a/arch/nds32/kernel/setup.c
+++ b/arch/nds32/kernel/setup.c
@@ -71,6 +71,7 @@ static const char *hwcap_str[] = {
"mac",
"l2c",
"dx_regs",
+ "fpu_dp",
"v2",
NULL,
};
--
2.18.0



2018-11-07 07:11:00

by Greentime Hu

[permalink] [raw]
Subject: Re: [PATCH 1/2] nds32: Fix the missing "fpu_dp" message.

Hi Nylon,
Nylon Chen <[email protected]> 於 2018年11月7日 週三 下午1:32寫道:
>
> The "fpu_dp" should be added to hwcap_str table to make sure the cpu features displayed correctly.
>
> Signed-off-by: Nylon Chen <[email protected]>
> ---
> arch/nds32/kernel/setup.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c
> index eacc79024879..e39274a21481 100644
> --- a/arch/nds32/kernel/setup.c
> +++ b/arch/nds32/kernel/setup.c
> @@ -71,6 +71,7 @@ static const char *hwcap_str[] = {
> "mac",
> "l2c",
> "dx_regs",
> + "fpu_dp",
> "v2",
> NULL,
> };

Thank you for providing this patch however I just found the order of
dx_regs and v2 is not match to HWCAP_V2
and HWCAP_DX_REGS.

Would you please based on next branch in
https://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux.git to
re-gen the patch and send again? Thank you. :)