[GIT PULL] csky changes for v5.3-rc1

From: guoren
Date: Fri Jul 19 2019 - 03:46:31 EST


Hi Linus,

The following changes since commit 6fbc7275c7a9ba97877050335f290341a1fd8dbf:

Linux 5.2-rc7 (2019-06-30 11:25:36 +0800)

are available in the git repository at:

https://github.com/c-sky/csky-linux.git tags/csky-for-linus-5.3-rc1

for you to fetch changes up to bdfeb0ccea1a12b58299b95eb0f28e2aa26de4c2:

csky: Fixup abiv1 memset error (2019-07-19 14:21:36 +0800)

----------------------------------------------------------------
arch/csky patches for 5.3-rc1

This round of csky subsystem gives two features (ASID algorithm update,
Perf pmu record support) and some fixups.

Feature:
- csky: Revert mmu ASID mechanism
- csky: Add new asid lib code from arm
- csky: Use generic asid algorithm to implement switch_mm
- csky: Improve tlb operation with help of asid

- csky: Init pmu as a device
- csky: Add count-width property for csky pmu
- csky: Add pmu interrupt support
- csky: Fix perf record in kernel/user space
- dt-bindings: csky: Add csky PMU bindings

Fixup:
- csky: Fixup no panic in kernel for some traps
- csky: Fixup some error count in 810 & 860.
- csky: Fixup abiv1 memset error

CI-Tested: https://gitlab.com/c-sky/buildroot/pipelines/68656845

----------------------------------------------------------------
Guo Ren (9):
csky: Select intc & timer drivers
csky: Fixup no panic in kernel for some traps
csky: Fixup some error count in 810 & 860.
dt-bindings: interrupt-controller: Update csky mpintc
csky: Revert mmu ASID mechanism
csky: Add new asid lib code from arm
csky: Use generic asid algorithm to implement switch_mm
csky: Improve tlb operation with help of asid
csky: Fixup abiv1 memset error

Mao Han (5):
csky: Init pmu as a device
csky: Add count-width property for csky pmu
csky: Add pmu interrupt support
csky: Fix perf record in kernel/user space
dt-bindings: csky: Add csky PMU bindings

Documentation/devicetree/bindings/csky/pmu.txt | 38 ++
.../bindings/interrupt-controller/csky,mpintc.txt | 20 +-
arch/csky/Kconfig | 4 +
arch/csky/abiv1/Makefile | 1 -
arch/csky/abiv1/inc/abi/ckmmu.h | 6 +
arch/csky/abiv1/inc/abi/string.h | 3 -
arch/csky/abiv1/memset.c | 37 --
arch/csky/abiv1/strksyms.c | 1 -
arch/csky/abiv2/inc/abi/ckmmu.h | 10 +
arch/csky/include/asm/asid.h | 78 ++++
arch/csky/include/asm/mmu.h | 2 +-
arch/csky/include/asm/mmu_context.h | 114 +-----
arch/csky/include/asm/pgtable.h | 2 -
arch/csky/kernel/perf_event.c | 410 +++++++++++++++++++--
arch/csky/kernel/smp.c | 2 -
arch/csky/kernel/traps.c | 5 +
arch/csky/mm/Makefile | 2 +
arch/csky/mm/asid.c | 189 ++++++++++
arch/csky/mm/context.c | 46 +++
arch/csky/mm/init.c | 2 -
arch/csky/mm/tlb.c | 238 +++++-------
21 files changed, 877 insertions(+), 333 deletions(-)
create mode 100644 Documentation/devicetree/bindings/csky/pmu.txt
delete mode 100644 arch/csky/abiv1/memset.c
create mode 100644 arch/csky/include/asm/asid.h
create mode 100644 arch/csky/mm/asid.c
create mode 100644 arch/csky/mm/context.c