Skip to content

Commit 8226f11

Browse files
committed
Merge tag 'mips_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
Pull MIPS updates from Thomas Bogendoerfer: - added support for MIPSr5 and P5600 cores - converted Loongson PCI driver into a PCI host driver using the generic PCI framework - added emulation of CPUCFG command for Loogonson64 cpus - removed of LASAT, PMC MSP71xx and NEC MARKEINS/EMMA - ioremap cleanup - fix for a race between two threads faulting the same page - various cleanups and fixes * tag 'mips_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (143 commits) MIPS: ralink: drop ralink_clk_init for mt7621 MIPS: ralink: bootrom: mark a function as __init to save some memory MIPS: Loongson64: Reorder CPUCFG model match arms MIPS: Expose Loongson CPUCFG availability via HWCAP MIPS: Loongson64: Guard against future cores without CPUCFG MIPS: Fix build warning about "PTR_STR" redefinition MIPS: Loongson64: Remove not used pci.c MIPS: Loongson64: Define PCI_IOBASE MIPS: CPU_LOONGSON2EF need software to maintain cache consistency MIPS: DTS: Fix build errors used with various configs MIPS: Loongson64: select NO_EXCEPT_FILL MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe() MIPS: mm: add page valid judgement in function pte_modify mm/memory.c: Add memory read privilege on page fault handling mm/memory.c: Update local TLB if PTE entry exists MIPS: Do not flush tlb page when updating PTE entry MIPS: ingenic: Default to a generic board MIPS: ingenic: Add support for GCW Zero prototype MIPS: ingenic: DTS: Add memory info of GCW Zero MIPS: Loongson64: Switch to generic PCI driver ...
2 parents e8f4abf + 9bd0bd2 commit 8226f11

File tree

333 files changed

+4674
-13057
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+4674
-13057
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: "http://devicetree.org/schemas/mips/loongson/rs780e-acpi.yaml#"
5+
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6+
7+
title: Loongson RS780E PCH ACPI Controller
8+
9+
maintainers:
10+
- Jiaxun Yang <[email protected]>
11+
12+
description: |
13+
This controller can be found in Loongson-3 systems with RS780E PCH.
14+
15+
properties:
16+
compatible:
17+
const: loongson,rs780e-acpi
18+
19+
reg:
20+
maxItems: 1
21+
22+
required:
23+
- compatible
24+
- reg
25+
26+
examples:
27+
- |
28+
isa@0 {
29+
compatible = "isa";
30+
#address-cells = <2>;
31+
#size-cells = <1>;
32+
ranges = <1 0 0 0x1000>;
33+
34+
acpi@800 {
35+
compatible = "loongson,rs780e-acpi";
36+
reg = <1 0x800 0x100>;
37+
};
38+
};
39+
40+
...
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pci/loongson.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Loongson PCI Host Controller
8+
9+
maintainers:
10+
- Jiaxun Yang <[email protected]>
11+
12+
description: |+
13+
PCI host controller found on Loongson PCHs and SoCs.
14+
15+
allOf:
16+
- $ref: /schemas/pci/pci-bus.yaml#
17+
18+
properties:
19+
compatible:
20+
oneOf:
21+
- const: loongson,ls2k-pci
22+
- const: loongson,ls7a-pci
23+
- const: loongson,rs780e-pci
24+
25+
reg:
26+
minItems: 1
27+
maxItems: 2
28+
items:
29+
- description: CFG0 standard config space register
30+
- description: CFG1 extended config space register
31+
32+
ranges:
33+
minItems: 1
34+
maxItems: 3
35+
36+
37+
required:
38+
- compatible
39+
- reg
40+
- ranges
41+
42+
examples:
43+
- |
44+
45+
bus {
46+
#address-cells = <2>;
47+
#size-cells = <2>;
48+
pcie@1a000000 {
49+
compatible = "loongson,rs780e-pci";
50+
device_type = "pci";
51+
#address-cells = <3>;
52+
#size-cells = <2>;
53+
54+
// CPU_PHYSICAL(2) SIZE(2)
55+
reg = <0x0 0x1a000000 0x0 0x2000000>;
56+
57+
// BUS_ADDRESS(3) CPU_PHYSICAL(2) SIZE(2)
58+
ranges = <0x01000000 0x0 0x00004000 0x0 0x00004000 0x0 0x00004000>,
59+
<0x02000000 0x0 0x40000000 0x0 0x40000000 0x0 0x40000000>;
60+
};
61+
};
62+
...

arch/mips/Kbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ obj-y := $(platform-y)
1212

1313
# make clean traverses $(obj-) without having included .config, so
1414
# everything ends up here
15-
obj- := $(platform-)
15+
obj- := $(platform-y)
1616

1717
# mips object files
1818
# The object files are linked as core-y files would be linked

arch/mips/Kbuild.platforms

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,44 @@
11
# SPDX-License-Identifier: GPL-2.0
22
# All platforms listed in alphabetic order
33

4-
platforms += alchemy
5-
platforms += ar7
6-
platforms += ath25
7-
platforms += ath79
8-
platforms += bcm47xx
9-
platforms += bcm63xx
10-
platforms += bmips
11-
platforms += cavium-octeon
12-
platforms += cobalt
13-
platforms += dec
14-
platforms += emma
15-
platforms += generic
16-
platforms += jazz
17-
platforms += jz4740
18-
platforms += lantiq
19-
platforms += lasat
20-
platforms += loongson2ef
21-
platforms += loongson32
22-
platforms += loongson64
23-
platforms += mti-malta
24-
platforms += netlogic
25-
platforms += paravirt
26-
platforms += pic32
27-
platforms += pistachio
28-
platforms += pmcs-msp71xx
29-
platforms += pnx833x
30-
platforms += ralink
31-
platforms += rb532
32-
platforms += sgi-ip22
33-
platforms += sgi-ip27
34-
platforms += sgi-ip30
35-
platforms += sgi-ip32
36-
platforms += sibyte
37-
platforms += sni
38-
platforms += txx9
39-
platforms += vr41xx
4+
platform-$(CONFIG_MIPS_ALCHEMY) += alchemy/
5+
platform-$(CONFIG_AR7) += ar7/
6+
platform-$(CONFIG_ATH25) += ath25/
7+
platform-$(CONFIG_ATH79) += ath79/
8+
platform-$(CONFIG_BCM47XX) += bcm47xx/
9+
platform-$(CONFIG_BCM63XX) += bcm63xx/
10+
platform-$(CONFIG_BMIPS_GENERIC) += bmips/
11+
platform-$(CONFIG_CAVIUM_OCTEON_SOC) += cavium-octeon/
12+
platform-$(CONFIG_MIPS_COBALT) += cobalt/
13+
platform-$(CONFIG_MACH_DECSTATION) += dec/
14+
platform-$(CONFIG_MIPS_GENERIC) += generic/
15+
platform-$(CONFIG_MACH_JAZZ) += jazz/
16+
platform-$(CONFIG_MACH_INGENIC) += jz4740/
17+
platform-$(CONFIG_LANTIQ) += lantiq/
18+
platform-$(CONFIG_MACH_LOONGSON2EF) += loongson2ef/
19+
platform-$(CONFIG_MACH_LOONGSON32) += loongson32/
20+
platform-$(CONFIG_MACH_LOONGSON64) += loongson64/
21+
platform-$(CONFIG_MIPS_MALTA) += mti-malta/
22+
platform-$(CONFIG_NLM_COMMON) += netlogic/
23+
platform-$(CONFIG_MIPS_PARAVIRT) += paravirt/
24+
platform-$(CONFIG_PIC32MZDA) += pic32/
25+
platform-$(CONFIG_MACH_PISTACHIO) += pistachio/
26+
platform-$(CONFIG_SOC_PNX833X) += pnx833x/
27+
platform-$(CONFIG_RALINK) += ralink/
28+
platform-$(CONFIG_MIKROTIK_RB532) += rb532/
29+
platform-$(CONFIG_SGI_IP22) += sgi-ip22/
30+
platform-$(CONFIG_SGI_IP27) += sgi-ip27/
31+
platform-$(CONFIG_SGI_IP28) += sgi-ip22/
32+
platform-$(CONFIG_SGI_IP30) += sgi-ip30/
33+
platform-$(CONFIG_SGI_IP32) += sgi-ip32/
34+
platform-$(CONFIG_SIBYTE_BCM112X) += sibyte/
35+
platform-$(CONFIG_SIBYTE_SB1250) += sibyte/
36+
platform-$(CONFIG_SIBYTE_BCM1x55) += sibyte/
37+
platform-$(CONFIG_SIBYTE_BCM1x80) += sibyte/
38+
platform-$(CONFIG_SNI_RM) += sni/
39+
platform-$(CONFIG_MACH_TX39XX) += txx9/
40+
platform-$(CONFIG_MACH_TX49XX) += txx9/
41+
platform-$(CONFIG_MACH_VR41XX) += vr41xx/
4042

4143
# include the platform specific files
42-
include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
44+
include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platform-y))

0 commit comments

Comments
 (0)