+1
arch/mips/include/asm/io.h
+1
arch/mips/include/asm/io.h
+4
arch/mips/include/asm/mips-cm.h
+4
arch/mips/include/asm/mips-cm.h
···
243
243
#define CM_GCR_BASE_CMDEFTGT_IOCU0 2
244
244
#define CM_GCR_BASE_CMDEFTGT_IOCU1 3
245
245
246
+
/* GCR_RESET_EXT_BASE register fields */
247
+
#define CM_GCR_RESET_EXT_BASE_EVARESET BIT(31)
248
+
#define CM_GCR_RESET_EXT_BASE_UEB BIT(30)
249
+
246
250
/* GCR_ACCESS register fields */
247
251
#define CM_GCR_ACCESS_ACCESSEN_SHF 0
248
252
#define CM_GCR_ACCESS_ACCESSEN_MSK (_ULCAST_(0xff) << 0)
+1
-1
arch/mips/include/asm/page.h
+1
-1
arch/mips/include/asm/page.h
+1
-1
arch/mips/kernel/setup.c
+1
-1
arch/mips/kernel/setup.c
···
623
623
624
624
#define USE_PROM_CMDLINE IS_ENABLED(CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER)
625
625
#define USE_DTB_CMDLINE IS_ENABLED(CONFIG_MIPS_CMDLINE_FROM_DTB)
626
-
#define EXTEND_WITH_PROM IS_ENABLED(CONFIG_MIPS_CMDLINE_EXTEND)
626
+
#define EXTEND_WITH_PROM IS_ENABLED(CONFIG_MIPS_CMDLINE_DTB_EXTEND)
627
627
628
628
static void __init arch_mem_init(char **cmdline_p)
629
629
{
+3
arch/mips/kernel/smp-cps.c
+3
arch/mips/kernel/smp-cps.c
···
202
202
/* Ensure its coherency is disabled */
203
203
write_gcr_co_coherence(0);
204
204
205
+
/* Start it with the legacy memory map and exception base */
206
+
write_gcr_co_reset_ext_base(CM_GCR_RESET_EXT_BASE_UEB);
207
+
205
208
/* Ensure the core can access the GCRs */
206
209
access = read_gcr_access();
207
210
access |= 1 << (CM_GCR_ACCESS_ACCESSEN_SHF + core);
+1
-1
arch/mips/vdso/Makefile
+1
-1
arch/mips/vdso/Makefile
···
26
26
# the comments on that file.
27
27
#
28
28
ifndef CONFIG_CPU_MIPSR6
29
-
ifeq ($(call ld-ifversion, -lt, 22500000, y),y)
29
+
ifeq ($(call ld-ifversion, -lt, 225000000, y),y)
30
30
$(warning MIPS VDSO requires binutils >= 2.25)
31
31
obj-vdso-y := $(filter-out gettimeofday.o, $(obj-vdso-y))
32
32
ccflags-vdso += -DDISABLE_MIPS_VDSO
+3
-1
scripts/ld-version.sh
+3
-1
scripts/ld-version.sh
···
2
2
# extract linker version number from stdin and turn into single number
3
3
{
4
4
gsub(".*)", "");
5
+
gsub(".*version ", "");
6
+
gsub("-.*", "");
5
7
split($1,a, ".");
6
-
print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5];
8
+
print a[1]*100000000 + a[2]*1000000 + a[3]*10000 + a[4]*100 + a[5];
7
9
exit
8
10
}