All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/58] Add support for Enhanced Virtual Addressing
@ 2014-01-27 20:18 ` Markos Chandras
  0 siblings, 0 replies; 126+ messages in thread
From: Markos Chandras @ 2014-01-27 20:18 UTC (permalink / raw)
  To: linux-mips; +Cc: Markos Chandras

Hi,

This patchset adds support for the Enhanced Virtual Addressing feature
of the MIPS 3.5 ISA currently present in the *Aptiv processors.
In Release 3, the memory architecture defines the partitioning of memory
space into fixed‐size segments, whose access properties and cacheability
attributes are programmable. The "mapped" and "unmapped" segment‐access
properties can now be modified so as to extend system memory space
(kseg0/kseg1) to include unmapped access to user space (xkseg), a
feature called Enhanced Virtual Addressing (EVA). Instructions that
facilitate system read/write access to xkseg have also been added to the
R3 ISA (lwe, swe, lbue, etc).

This patchset also adds EVA support for the Malta board. The unmapped
address space (kseg0/kseg1) has been extended to 2GB.

If you want to try it, you can use the 'eva-next' branch on
the following git repository

https://github.com/hwoarang/linux.git eva-next

The patchset applies on top of the upstream-sfr/mips-for-linux-next tree.

Leonid Yegoshin (18):
  MIPS: Kconfig: Add Kconfig symbols for EVA support
  MIPS: asm: Add prefetch instruction for EVA
  MIPS: uapi: inst: Add new EVA opcodes
  MIPS: uapi: inst: Add instruction format for SPECIAL3 instructions
  MIPS: traps: Set correct address limit for breakpoints and traps
  MIPS: asm: uaccess: Disable unaligned access macros for EVA
  MIPS: kernel: unaligned: Handle unaligned accesses for EVA
  MIPS: asm: checksum: Split kernel and user copy operations
  MIPS: asm: checksum: Add MIPS specific csum_and_copy_from_user
    function
  MIPS: kernel: signal: Prevent save/restore FPU context in user memory
  MIPS: asm: r4kcache: Build flushing code for instruction cache
  MIPS: asm: r4kcache: Add protected cache operation for EVA
  MIPS: asm: r4kcache: Add EVA cache flushing functions
  MIPS: kernel: {ftrace,kgdb}: Set correct address limit for cache
    flushes
  MIPS: asm: page: Allow __pa_symbol overrides
  MIPS: mm: c-r4k: Build EVA {d,i}cache flushing functions
  MIPS: mm: c-r4k: Flush scache to avoid cache aliases
  MIPS: malta: malta-init: Fix System Controller memory mapping for EVA

Markos Chandras (40):
  MIPS: asm: Add wrappers for EVA/non-EVA instructions
  MIPS: futex: Add EVA support for futex operations
  MIPS: kernel: scall32-o32: Use EVA wrappers to fetch syscall arguments
  MIPS: kernel: traps: Whitespace clean up
  MIPS: lib: strnlen_user: Use macro to build the strnlen_user symbol
  MIPS: lib: strnlen_user: Add EVA support
  MIPS: lib: strlen_user: Use macro to build the strlen_user symbol
  MIPS: lib: strlen_user: Add EVA support
  MIPS: lib: strncpy_user: Use macro to build the strncpy_from_user
    symbol
  MIPS: lib: strncpy_user: Add EVA support
  MIPS: lib: memcpy: Merge EXC and load/store macros
  MIPS: lib: memcpy: Split source and destination prefetch macros
  MIPS: lib: memcpy: Use macro to build the copy_user code
  MIPS: lib: memcpy: Add EVA support
  MIPS: lib: memset: Whitespace fixes
  MIPS: lib: memset: Use macro to build the __bzero symbol
  MIPS: lib: memset: Add EVA support for the __bzero function.
  MIPS: asm: uaccess: Add instruction argument to __{put,get}_user_asm
  MIPS: asm: uaccess: Move duplicated code to common function
  MIPS: asm: uaccess: Use EVA instructions wrappers
  MIPS: asm: uaccess: Rename {get,put}_user_asm macros
  MIPS: asm: uaccess: Add EVA support to copy_{in, to,from}_user
  MIPS: asm: uaccess: Add EVA support for str*_user operations
  MIPS: kernel: unaligned: Add EVA instruction wrappers
  MIPS: checksum: Split the 'copy_user' symbol
  MIPS: lib: csum_partial: Merge EXC and load/store macros
  MIPS: lib: csum_partial: Add macro to build csum_partial symbols
  MIPS: lib: csum_partial: Add EVA support
  MIPS: asm: cpu: Add cpu flag for Enhanced Virtual Addressing
  MIPS: kernel: cpu-probe: Enable EVA option on supported cores
  MIPS: kernel: proc: Add EVA to the list of CPU features
  MIPS: mm: init: Add free_init_pages() callback for EVA
  MIPS: mm: c-r4k: Add support for flushing user pages from cache
  MIPS: malta: Configure Segment Control registers for EVA boot
  MIPS: malta: spaces.h: Add spaces.h file for Malta (EVA)
  MIPS: malta: malta-memory: Add support for the 'ememsize' variable
  MIPS: malta: malta-memory: Use the PHYS_OFFSET to build the memory map
  MIPS: malta: malta-memory: Add free_init_pages_eva() callback
  MIPS: malta: Add support for SMP EVA
  MIPS: Enable MIPS 3.5 features on Malta

 arch/mips/Kconfig                                  |  29 +-
 arch/mips/include/asm/asm.h                        | 130 +++++
 arch/mips/include/asm/bootinfo.h                   |   2 +
 arch/mips/include/asm/checksum.h                   |  44 +-
 arch/mips/include/asm/cpu-features.h               |   4 +-
 arch/mips/include/asm/cpu.h                        |   1 +
 arch/mips/include/asm/futex.h                      |   9 +-
 arch/mips/include/asm/fw/fw.h                      |   2 +-
 .../include/asm/mach-malta/kernel-entry-init.h     | 115 ++++-
 arch/mips/include/asm/mach-malta/spaces.h          |  46 ++
 arch/mips/include/asm/page.h                       |   2 +
 arch/mips/include/asm/r4kcache.h                   | 173 ++++++-
 arch/mips/include/asm/uaccess.h                    | 559 ++++++++++++++++-----
 arch/mips/include/uapi/asm/inst.h                  |  25 +-
 arch/mips/kernel/cpu-probe.c                       |   3 +
 arch/mips/kernel/ftrace.c                          |   4 +
 arch/mips/kernel/head.S                            |   2 +-
 arch/mips/kernel/kgdb.c                            |  17 +-
 arch/mips/kernel/mips_ksyms.c                      |  24 +-
 arch/mips/kernel/proc.c                            |   1 +
 arch/mips/kernel/scall32-o32.S                     |   9 +-
 arch/mips/kernel/signal.c                          |  26 +
 arch/mips/kernel/traps.c                           |  29 +-
 arch/mips/kernel/unaligned.c                       | 135 ++++-
 arch/mips/lib/csum_partial.S                       | 282 +++++++----
 arch/mips/lib/memcpy.S                             | 416 ++++++++++-----
 arch/mips/lib/memset.S                             | 146 ++++--
 arch/mips/lib/strlen_user.S                        |  36 +-
 arch/mips/lib/strncpy_user.S                       |  40 +-
 arch/mips/lib/strnlen_user.S                       |  36 +-
 arch/mips/mm/c-r4k.c                               |  64 ++-
 arch/mips/mm/init.c                                |  12 +-
 arch/mips/mti-malta/malta-init.c                   |  13 +
 arch/mips/mti-malta/malta-memory.c                 |  58 ++-
 arch/mips/mti-malta/malta-setup.c                  |   4 +
 35 files changed, 1974 insertions(+), 524 deletions(-)
 create mode 100644 arch/mips/include/asm/mach-malta/spaces.h

-- 
1.8.5.3

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

end of thread, other threads:[~2014-03-06 15:53 UTC | newest]

Thread overview: 126+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-27 20:18 [PATCH 00/58] Add support for Enhanced Virtual Addressing Markos Chandras
2014-01-27 20:18 ` Markos Chandras
2014-01-27 20:18 ` [PATCH 01/58] MIPS: Kconfig: Add Kconfig symbols for EVA support Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 02/58] MIPS: asm: Add prefetch instruction for EVA Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 03/58] MIPS: asm: Add wrappers for EVA/non-EVA instructions Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-03-06 15:52   ` [PATCH v2 " Markos Chandras
2014-03-06 15:52     ` Markos Chandras
2014-01-27 20:18 ` [PATCH 04/58] MIPS: futex: Add EVA support for futex operations Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 05/58] MIPS: uapi: inst: Add new EVA opcodes Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 06/58] MIPS: uapi: inst: Add instruction format for SPECIAL3 instructions Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 07/58] MIPS: kernel: scall32-o32: Use EVA wrappers to fetch syscall arguments Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 08/58] MIPS: kernel: traps: Whitespace clean up Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 09/58] MIPS: traps: Set correct address limit for breakpoints and traps Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 10/58] MIPS: lib: strnlen_user: Use macro to build the strnlen_user symbol Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 11/58] MIPS: lib: strnlen_user: Add EVA support Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:18 ` [PATCH 12/58] MIPS: lib: strlen_user: Use macro to build the strlen_user symbol Markos Chandras
2014-01-27 20:18   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 13/58] MIPS: lib: strlen_user: Add EVA support Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 14/58] MIPS: lib: strncpy_user: Use macro to build the strncpy_from_user symbol Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 15/58] MIPS: lib: strncpy_user: Add EVA support Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 16/58] MIPS: lib: memcpy: Merge EXC and load/store macros Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 17/58] MIPS: lib: memcpy: Split source and destination prefetch macros Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 18/58] MIPS: lib: memcpy: Use macro to build the copy_user code Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 19/58] MIPS: lib: memcpy: Add EVA support Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 20/58] MIPS: lib: memset: Whitespace fixes Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 21:43   ` Sergei Shtylyov
2014-01-27 20:55     ` Markos Chandras
2014-01-27 20:55       ` Markos Chandras
2014-01-27 20:19 ` [PATCH 21/58] MIPS: lib: memset: Use macro to build the __bzero symbol Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 22/58] MIPS: lib: memset: Add EVA support for the __bzero function Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 23/58] MIPS: asm: uaccess: Add instruction argument to __{put,get}_user_asm Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 24/58] MIPS: asm: uaccess: Move duplicated code to common function Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 25/58] MIPS: asm: uaccess: Disable unaligned access macros for EVA Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 26/58] MIPS: asm: uaccess: Use EVA instructions wrappers Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 27/58] MIPS: asm: uaccess: Rename {get,put}_user_asm macros Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 28/58] MIPS: asm: uaccess: Add EVA support to copy_{in, to,from}_user Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 29/58] MIPS: asm: uaccess: Add EVA support for str*_user operations Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 30/58] MIPS: kernel: unaligned: Add EVA instruction wrappers Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 31/58] MIPS: kernel: unaligned: Handle unaligned accesses for EVA Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 32/58] MIPS: checksum: Split the 'copy_user' symbol Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 33/58] MIPS: lib: csum_partial: Merge EXC and load/store macros Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 34/58] MIPS: lib: csum_partial: Add macro to build csum_partial symbols Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 35/58] MIPS: lib: csum_partial: Add EVA support Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 36/58] MIPS: asm: checksum: Split kernel and user copy operations Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 37/58] MIPS: asm: checksum: Add MIPS specific csum_and_copy_from_user function Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 38/58] MIPS: kernel: signal: Prevent save/restore FPU context in user memory Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 39/58] MIPS: asm: r4kcache: Build flushing code for instruction cache Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 40/58] MIPS: asm: r4kcache: Add protected cache operation for EVA Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 41/58] MIPS: asm: r4kcache: Add EVA cache flushing functions Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 42/58] MIPS: kernel: {ftrace,kgdb}: Set correct address limit for cache flushes Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 43/58] MIPS: asm: page: Allow __pa_symbol overrides Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 44/58] MIPS: asm: cpu: Add cpu flag for Enhanced Virtual Addressing Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 45/58] MIPS: kernel: cpu-probe: Enable EVA option on supported cores Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 46/58] MIPS: kernel: proc: Add EVA to the list of CPU features Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 47/58] MIPS: mm: init: Add free_init_pages() callback for EVA Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 48/58] MIPS: mm: c-r4k: Build EVA {d,i}cache flushing functions Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 49/58] MIPS: mm: c-r4k: Add support for flushing user pages from cache Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 50/58] MIPS: mm: c-r4k: Flush scache to avoid cache aliases Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 51/58] MIPS: malta: Configure Segment Control registers for EVA boot Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 52/58] MIPS: malta: spaces.h: Add spaces.h file for Malta (EVA) Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 53/58] MIPS: malta: malta-memory: Add support for the 'ememsize' variable Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 54/58] MIPS: malta: malta-memory: Use the PHYS_OFFSET to build the memory map Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 55/58] MIPS: malta: malta-memory: Add free_init_pages_eva() callback Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 56/58] MIPS: malta: malta-init: Fix System Controller memory mapping for EVA Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 57/58] MIPS: malta: Add support for SMP EVA Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-27 20:19 ` [PATCH 58/58] MIPS: Enable MIPS 3.5 features on Malta Markos Chandras
2014-01-27 20:19   ` Markos Chandras
2014-01-29 18:37 ` [PATCH 00/58] Add support for Enhanced Virtual Addressing David Daney
2014-02-04  9:00   ` Markos Chandras
2014-02-04  9:00     ` Markos Chandras

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.