All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 00/12] MIPS: Loongson-3: Improve kernel functionality
@ 2014-11-04  6:13 Huacai Chen
  2014-11-04  6:13 ` [PATCH V2 01/12] MIPS: Loongson: Fix the write-combine CCA value setting Huacai Chen
                   ` (8 more replies)
  0 siblings, 9 replies; 22+ messages in thread
From: Huacai Chen @ 2014-11-04  6:13 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: John Crispin, Steven J. Hill, linux-mips, Fuxin Zhang,
	Zhangjin Wu, Huacai Chen, Hongliang Tao

This patchset is prepared for the next 3.19 release for Linux/MIPS. In
this series we promote Loongson-3's ISA level to MIPS64R1 since it is
not fully compatible with MIPS64R2. Multi-node DMA and coherent cache
features are both added here. LEFI firmware interface is improved to
make the kernel more generic (machtypes can be dropped). Besides, we
add some basic platform drivers (GPIO, CPU Hwmon, ACPI init, oprofile,
HPET and CPUFreq) for Loongson-3. 

V1 -> V2:
1, Add a patch to fix Loongson's CCA setting.
2, Rework the third patch.
3, Rebase the code for 3.19.

Huacai Chen(12):
 MIPS: Loongson: Fix the write-combine CCA value setting.
 MIPS: Loongson: set Loongson-3's ISA level to MIPS64R1.
 MIPS: Loongson-3: Add PHYS48_TO_HT40 support.
 MIPS: Loongson: Introduce and use cpu_has_coherent_cache feature.
 MIPS: Loongson: Allow booting from any core.
 MIPS: Loongson: Improve LEFI firmware interface.
 MIPS: Loongson: Add Loongson-3A/3B GPIO support.
 MIPS: Loongson-3: Add CPU Hwmon platform driver.
 MIPS: Loongson-3: Add chipset ACPI platform driver.
 MIPS: Loongson-3: Add oprofile support.
 MIPS: Loongson-3: Add RS780/SBX00 HPET support.
 MIPS: Loongson: Make CPUFreq usable for Loongson-3.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Hongliang Tao <taohl@lemote.com>
---
 arch/mips/Kconfig                                  |    4 +
 arch/mips/include/asm/bootinfo.h                   |    5 +-
 arch/mips/include/asm/cpu-features.h               |    3 +
 arch/mips/include/asm/hpet.h                       |   73 ++++++
 arch/mips/include/asm/mach-loongson/boot_param.h   |   49 ++++-
 .../asm/mach-loongson/cpu-feature-overrides.h      |    3 +-
 .../mips/include/asm/mach-loongson/dma-coherence.h |   30 +++-
 arch/mips/include/asm/mach-loongson/irq.h          |    3 +-
 arch/mips/include/asm/mach-loongson/loongson.h     |    7 +-
 .../include/asm/mach-loongson/loongson_hwmon.h     |   55 +++++
 arch/mips/include/asm/mach-loongson/machine.h      |    2 +-
 arch/mips/include/asm/mach-loongson/topology.h     |    2 +-
 arch/mips/include/asm/mach-loongson/workarounds.h  |    7 +
 arch/mips/kernel/cpu-probe.c                       |    5 +-
 arch/mips/kernel/smp.c                             |    3 +-
 arch/mips/loongson/Kconfig                         |   18 ++
 arch/mips/loongson/common/dma-swiotlb.c            |   10 +
 arch/mips/loongson/common/early_printk.c           |    2 +-
 arch/mips/loongson/common/env.c                    |   37 +++-
 arch/mips/loongson/common/gpio.c                   |   53 +++--
 arch/mips/loongson/common/machtype.c               |    5 +-
 arch/mips/loongson/common/pci.c                    |    6 +
 arch/mips/loongson/common/platform.c               |   13 +-
 arch/mips/loongson/common/serial.c                 |   48 +++-
 arch/mips/loongson/common/time.c                   |    5 +
 arch/mips/loongson/common/uart_base.c              |   30 +--
 arch/mips/loongson/loongson-3/Makefile             |    4 +-
 arch/mips/loongson/loongson-3/clock.c              |  191 +++++++++++++++
 arch/mips/loongson/loongson-3/hpet.c               |  257 ++++++++++++++++++++
 arch/mips/loongson/loongson-3/irq.c                |   16 +-
 arch/mips/loongson/loongson-3/numa.c               |   12 +-
 arch/mips/loongson/loongson-3/platform.c           |   43 ++++
 arch/mips/loongson/loongson-3/smp.c                |   70 ++++--
 arch/mips/mm/c-r4k.c                               |   18 ++
 arch/mips/oprofile/Makefile                        |    1 +
 arch/mips/oprofile/common.c                        |    4 +
 arch/mips/oprofile/op_model_loongson3.c            |  220 +++++++++++++++++
 drivers/cpufreq/Kconfig                            |   14 +
 drivers/cpufreq/Makefile                           |    1 +
 drivers/cpufreq/loongson3_cpufreq.c                |  240 ++++++++++++++++++
 drivers/platform/Makefile                          |    1 +
 drivers/platform/mips/Makefile                     |    1 +
 drivers/platform/mips/acpi_init.c                  |  131 ++++++++++
 drivers/platform/mips/cpu_hwmon.c                  |  206 ++++++++++++++++
 44 files changed, 1798 insertions(+), 110 deletions(-)
 create mode 100644 arch/mips/include/asm/hpet.h
 create mode 100644 arch/mips/include/asm/mach-loongson/loongson_hwmon.h
 create mode 100644 arch/mips/include/asm/mach-loongson/workarounds.h
 create mode 100644 arch/mips/loongson/loongson-3/clock.c
 create mode 100644 arch/mips/loongson/loongson-3/hpet.c
 create mode 100644 arch/mips/loongson/loongson-3/platform.c
 create mode 100644 arch/mips/oprofile/op_model_loongson3.c
 create mode 100644 drivers/cpufreq/loongson3_cpufreq.c
 create mode 100644 drivers/platform/mips/Makefile
 create mode 100644 drivers/platform/mips/acpi_init.c
 create mode 100644 drivers/platform/mips/cpu_hwmon.c
--
1.7.7.3

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-11-11 12:45 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04  6:13 [PATCH V2 00/12] MIPS: Loongson-3: Improve kernel functionality Huacai Chen
2014-11-04  6:13 ` [PATCH V2 01/12] MIPS: Loongson: Fix the write-combine CCA value setting Huacai Chen
2014-11-11 10:13   ` Ralf Baechle
2014-11-04  6:13 ` [PATCH V2 02/12] MIPS: Loongson: set Loongson-3's ISA level to MIPS64R1 Huacai Chen
2014-11-10 16:59   ` Ralf Baechle
2014-11-11  1:14     ` Huacai Chen
2014-11-11  9:33       ` Ralf Baechle
2014-11-04  6:13 ` [PATCH V2 03/12] MIPS: Loongson-3: Add PHYS48_TO_HT40 support Huacai Chen
2014-11-11 10:15   ` Ralf Baechle
2014-11-04  6:13 ` [PATCH V2 04/12] MIPS: Loongson: Introduce and use cpu_has_coherent_cache feature Huacai Chen
2014-11-11 10:05   ` Ralf Baechle
2014-11-04  6:13 ` [PATCH V2 05/12] MIPS: Loongson: Allow booting from any core Huacai Chen
2014-11-11 10:15   ` Ralf Baechle
2014-11-04  6:13 ` [PATCH V2 06/12] MIPS: Loongson: Improve LEFI firmware interface Huacai Chen
2014-11-11 10:16   ` Ralf Baechle
2014-11-04  6:13 ` [PATCH V2 07/12] MIPS: Loongson: Add Loongson-3A/3B GPIO support Huacai Chen
2014-11-11 10:18   ` Ralf Baechle
2014-11-11 12:45     ` Huacai Chen
2014-11-04  6:13 ` [PATCH V2 08/12] MIPS: Loongson-3: Add CPU Hwmon platform driver Huacai Chen
2014-11-11 10:23   ` Ralf Baechle
2014-11-11 12:44     ` Huacai Chen
2014-11-04  6:13 ` [PATCH V2 09/12] MIPS: Loongson-3: Add chipset ACPI " Huacai Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.