Skip to content

Commit

Permalink
Merge tag 'nds32-for-linus-5.5-rc1' of git://git.kernel.org/pub/scm/l…
Browse files Browse the repository at this point in the history
…inux/kernel/git/greentime/linux

Pull nds32 updates from Greentime Hu:

 - code clean up

 - add a nds32 maintainer

* tag 'nds32-for-linus-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux:
  MAINTAINERS: add nds32 maintainer
  nds32: Move static keyword to the front of declaration
  nds32: Fix typo in Kconfig.cpu
  nds32: remove unneeded clean-files for DTB
  • Loading branch information
torvalds committed Nov 30, 2019
2 parents 6a96566 + a7f96fc commit 2309d07
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,7 @@ F: drivers/clk/analogbits/*
F: include/linux/clk/analogbits*

ANDES ARCHITECTURE
M: Nick Hu <[email protected]>
M: Greentime Hu <[email protected]>
M: Vincent Chen <[email protected]>
T: git https://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux.git
Expand Down
8 changes: 4 additions & 4 deletions arch/nds32/Kconfig.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config FPU
default n
help
If FPU ISA is used in user space, this configuration shall be Y to
enable required support in kerenl such as fpu context switch and
enable required support in kernel such as fpu context switch and
fpu exception handler.

If no FPU ISA is used in user space, say N.
Expand All @@ -27,7 +27,7 @@ config LAZY_FPU
enhance system performance by reducing the context switch
frequency of the FPU register.

For nomal case, say Y.
For normal case, say Y.

config SUPPORT_DENORMAL_ARITHMETIC
bool "Denormal arithmetic support"
Expand All @@ -36,7 +36,7 @@ config SUPPORT_DENORMAL_ARITHMETIC
help
Say Y here to enable arithmetic of denormalized number. Enabling
this feature can enhance the precision for tininess number.
However, performance loss in float pointe calculations is
However, performance loss in float point calculations is
possibly significant due to additional FPU exception.

If the calculated tolerance for tininess number is not critical,
Expand Down Expand Up @@ -73,7 +73,7 @@ choice
the cache aliasing issue. The rest cpus(N13, N10 and D10) are
implemented as VIPT data cache. It may cause the cache aliasing issue
if its cache way size is larger than page size. You can specify the
CPU type direcly or choose CPU_V3 if unsure.
CPU type directly or choose CPU_V3 if unsure.

A kernel built for N10 is able to run on N15, D15, N13, N10 or D10.
A kernel built for N15 is able to run on N15 or D15.
Expand Down
2 changes: 0 additions & 2 deletions arch/nds32/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ else
BUILTIN_DTB :=
endif
obj-$(CONFIG_OF) += $(BUILTIN_DTB)

clean-files := *.dtb *.dtb.S
2 changes: 1 addition & 1 deletion arch/nds32/kernel/perf_event_cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ static void cpu_pmu_init(struct nds32_pmu *cpu_pmu)
on_each_cpu(cpu_pmu->reset, cpu_pmu, 1);
}

const static struct of_device_id cpu_pmu_of_device_ids[] = {
static const struct of_device_id cpu_pmu_of_device_ids[] = {
{.compatible = "andestech,nds32v3-pmu",
.data = device_pmu_init},
{},
Expand Down

0 comments on commit 2309d07

Please sign in to comment.