License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 15:07:57 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32-bit userspace ABI: introduce ARCH_32BIT_OFF_T config option
All new 32-bit architectures should have 64-bit userspace off_t type, but
existing architectures has 32-bit ones.
To enforce the rule, new config option is added to arch/Kconfig that defaults
ARCH_32BIT_OFF_T to be disabled for new 32-bit architectures. All existing
32-bit architectures enable it explicitly.
New option affects force_o_largefile() behaviour. Namely, if userspace
off_t is 64-bits long, we have no reason to reject user to open big files.
Note that even if architectures has only 64-bit off_t in the kernel
(arc, c6x, h8300, hexagon, nios2, openrisc, and unicore32),
a libc may use 32-bit off_t, and therefore want to limit the file size
to 4GB unless specified differently in the open flags.
Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Yury Norov <ynorov@marvell.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-05-16 11:18:49 +03:00
|
|
|
|
2018-11-07 23:14:09 +00:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-19 16:49:37 -08:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
2015-09-29 12:19:48 +02:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
2017-06-09 17:26:42 -07:00
|
|
|
|
2017-06-09 17:26:43 -07:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-08 23:44:55 +00:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Use GENERIC_IOMAP
MIPS has a copy of lib/iomap.c with minor alterations, none of which are
necessary given appropriate definitions of PIO_OFFSET, PIO_MASK &
PIO_RESERVED. Provide such definitions, select GENERIC_IOMAP & remove
arch/mips/lib/iomap.c to cut back on the needless duplication.
The one change this does make is to our mmio_{in,out}s[bwl] functions,
which began to deviate from their generic counterparts with commit
0845bb721ebb ("MIPS: iomap: Use __mem_{read,write}{b,w,l} for MMIO"). I
suspect that this commit was incorrect, and that the SEAD-3 platform
should have instead selected CONFIG_SWAP_IO_SPACE. Since the SEAD-3
platform code is now gone & the board is instead supported by the
generic platform (CONFIG_MIPS_GENERIC) which selects
CONFIG_SWAP_IO_SPACE anyway, this shouldn't be a problem any more.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20342/
Cc: linux-mips@linux-mips.org
2018-08-29 14:54:00 -07:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:37 +01:00
|
|
|
|
2018-04-11 08:50:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-11 20:56:52 -07:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
MIPS: Workaround GCC __builtin_unreachable reordering bug
Some versions of GCC for the MIPS architecture suffer from a bug which
can lead to instructions from beyond an unreachable statement being
incorrectly reordered into earlier branch delay slots if the unreachable
statement is the only content of a case in a switch statement. This can
lead to seemingly random behaviour, such as invalid memory accesses from
incorrectly reordered loads or stores, and link failures on microMIPS
builds.
See this potential GCC fix for details:
https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00360.html
Runtime problems resulting from this bug were initially observed using a
maltasmvp_defconfig v4.4 kernel built using GCC 4.9.2 (from a Codescape
SDK 2015.06-05 toolchain), with the result being an address exception
taken after log messages about the L1 caches (during probe of the L2
cache):
Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
VPE topology {2,2} total 4
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 64kB, 4-way, PIPT, no aliases, linesize 32 bytes
<AdEL exception here>
This is early enough that the kernel exception vectors are not in use,
so any further output depends upon the bootloader. This is reproducible
in QEMU where no further output occurs - ie. the system hangs here.
Given the nature of the bug it may potentially be hit with differing
symptoms. The bug is known to affect GCC versions as recent as 7.3, and
it is unclear whether GCC 8 fixed it or just happens not to encounter
the bug in the testcase found at the link above due to differing
optimizations.
This bug can be worked around by placing a volatile asm statement, which
GCC is prevented from reordering past, prior to the
__builtin_unreachable call.
That was actually done already for other reasons by commit 173a3efd3edb
("bug.h: work around GCC PR82365 in BUG()"), but creates problems for
microMIPS builds due to the lack of a .insn directive. The microMIPS ISA
allows for interlinking with regular MIPS32 code by repurposing bit 0 of
the program counter as an ISA mode bit. To switch modes one changes the
value of this bit in the PC. However typical branch instructions encode
their offsets as multiples of 2-byte instruction halfwords, which means
they cannot change ISA mode - this must be done using either an indirect
branch (a jump-register in MIPS terminology) or a dedicated jalx
instruction. In order to ensure that regular branches don't attempt to
target code in a different ISA which they can't actually switch to, the
linker will check that branch targets are code in the same ISA as the
branch.
Unfortunately our empty asm volatile statements don't qualify as code,
and the link for microMIPS builds fails with errors such as:
arch/mips/mm/dma-default.s:3265: Error: branch to a symbol in another ISA mode
arch/mips/mm/dma-default.s:5027: Error: branch to a symbol in another ISA mode
Resolve this by adding a .insn directive within the asm statement which
declares that what comes next is code. This may or may not be true,
since we don't really know what comes next, but as this code is in an
unreachable path anyway that doesn't matter since we won't execute it.
We do this in asm/compiler.h & select CONFIG_HAVE_ARCH_COMPILER_H in
order to have this included by linux/compiler_types.h after
linux/compiler-gcc.h. This will result in asm/compiler.h being included
in all C compilations via the -include linux/compiler_types.h argument
in c_flags, which should be harmless.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: 173a3efd3edb ("bug.h: work around GCC PR82365 in BUG()")
Patchwork: https://patchwork.linux-mips.org/patch/20270/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-mips@linux-mips.org
2018-08-20 15:36:18 -07:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
2008-07-29 15:58:53 -05:00
|
|
|
|
2016-11-24 17:32:45 +00:00
|
|
|
|
|
|
|
|
|
2014-01-22 14:40:04 +00:00
|
|
|
|
2012-08-17 08:22:04 +02:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
2019-03-12 22:48:12 +00:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
2010-10-27 18:59:09 +08:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-11 20:57:14 -07:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
MIPS: Tracing: Add function graph tracer support for MIPS
The implementation of function graph tracer for MIPS is a little
different from X86.
in MIPS, gcc(with -pg) only transfer the caller's return address(at) and
the _mcount's return address(ra) to us.
For the kernel part without -mlong-calls:
move at, ra
jal _mcount
For the module part with -mlong-calls:
lui v1, hi16bit_of_mcount
addiu v1, v1, low16bit_of_mcount
move at, ra
jal _mcount
Without -mlong-calls,
if the function is a leaf, it will not save the return address(ra):
ffffffff80101298 <au1k_wait>:
ffffffff80101298: 67bdfff0 daddiu sp,sp,-16
ffffffff8010129c: ffbe0008 sd s8,8(sp)
ffffffff801012a0: 03a0f02d move s8,sp
ffffffff801012a4: 03e0082d move at,ra
ffffffff801012a8: 0c042930 jal ffffffff8010a4c0 <_mcount>
ffffffff801012ac: 00020021 nop
so, we can hijack it directly in _mcount, but if the function is non-leaf, the
return address is saved in the stack.
ffffffff80133030 <copy_process>:
ffffffff80133030: 67bdff50 daddiu sp,sp,-176
ffffffff80133034: ffbe00a0 sd s8,160(sp)
ffffffff80133038: 03a0f02d move s8,sp
ffffffff8013303c: ffbf00a8 sd ra,168(sp)
ffffffff80133040: ffb70098 sd s7,152(sp)
ffffffff80133044: ffb60090 sd s6,144(sp)
ffffffff80133048: ffb50088 sd s5,136(sp)
ffffffff8013304c: ffb40080 sd s4,128(sp)
ffffffff80133050: ffb30078 sd s3,120(sp)
ffffffff80133054: ffb20070 sd s2,112(sp)
ffffffff80133058: ffb10068 sd s1,104(sp)
ffffffff8013305c: ffb00060 sd s0,96(sp)
ffffffff80133060: 03e0082d move at,ra
ffffffff80133064: 0c042930 jal ffffffff8010a4c0 <_mcount>
ffffffff80133068: 00020021 nop
but we can not get the exact stack address(which saved ra) directly in
_mcount, we need to search the content of at register in the stack space
or search the "s{d,w} ra, offset(sp)" instruction in the text. 'Cause we
can not prove there is only a match in the stack space, so, we search
the text instead.
as we can see, if the first instruction above "move at, ra" is not a
store instruction, there should be a leaf function, so we hijack the at
register directly via putting &return_to_handler into it, otherwise, we
search the "s{d,w} ra, offset(sp)" instruction to get the stack offset,
and then the stack address. we use the above copy_process() as an
example, we at last find "ffbf00a8", 0xa8 is the stack offset, we plus
it with s8(fp), that is the stack address, we hijack the content via
writing the &return_to_handler in.
If with -mlong-calls, since there are two more instructions above "move
at, ra", so, we can move the pointer to the position above "lui v1,
hi16bit_of_mcount".
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Nicholas Mc Guire <der.herr@hofr.at>
Cc: zhangfx@lemote.com
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/677/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-11-20 20:34:34 +08:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
2018-10-29 18:27:41 -07:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
2010-08-03 11:22:20 -07:00
|
|
|
|
|
|
|
|
|
2018-11-21 21:56:36 +00:00
|
|
|
|
2011-12-08 10:22:09 -08:00
|
|
|
|
2012-09-28 14:31:03 +09:30
|
|
|
|
2016-05-20 17:00:33 -07:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
2016-09-02 10:13:21 +02:00
|
|
|
|
2018-06-14 10:13:53 -07:00
|
|
|
|
2018-06-14 19:36:45 +09:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
2017-10-04 03:46:14 +01:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
2018-11-15 20:05:37 +01:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-28 16:26:30 +02:00
|
|
|
|
2017-05-15 10:46:35 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2016-12-14 15:09:42 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2016-10-05 18:18:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2016-10-05 18:18:20 +01:00
|
|
|
|
|
|
|
|
|
2018-07-27 18:23:21 -07:00
|
|
|
|
2016-10-05 18:18:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-01-23 14:08:13 +00:00
|
|
|
|
2016-10-05 18:18:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-17 19:56:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-10-05 18:18:20 +01:00
|
|
|
|
2018-09-11 14:49:24 -07:00
|
|
|
|
2016-10-05 18:18:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-07-15 21:45:04 +02:00
|
|
|
|
2007-05-11 20:44:30 +09:00
|
|
|
|
2018-04-03 16:24:20 +02:00
|
|
|
|
2012-11-30 17:27:27 +01:00
|
|
|
|
2012-11-14 23:34:17 -06:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2014-02-20 14:59:23 +01:00
|
|
|
|
2010-07-15 21:45:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2009-10-14 18:12:16 +08:00
|
|
|
|
2014-07-23 16:36:48 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-06-24 11:12:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2009-06-24 11:12:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
2009-10-14 18:12:16 +08:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2009-06-24 11:12:57 +02:00
|
|
|
|
2012-08-01 15:38:00 +09:00
|
|
|
|
2009-06-24 11:12:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-29 03:18:38 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2014-10-29 03:18:41 +04:00
|
|
|
|
2014-10-29 03:18:38 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-29 03:18:42 +04:00
|
|
|
|
2014-10-29 03:18:38 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-04 21:28:14 +01:00
|
|
|
|
|
|
|
|
|
2015-08-03 19:23:52 +02:00
|
|
|
|
2011-01-04 21:28:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2018-07-20 13:58:20 +02:00
|
|
|
|
2012-08-04 18:01:26 +02:00
|
|
|
|
2015-04-19 14:30:04 +02:00
|
|
|
|
2013-08-28 10:41:47 +02:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2011-01-04 21:28:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
2016-01-26 09:38:29 +01:00
|
|
|
|
2015-05-31 01:52:25 +02:00
|
|
|
|
2018-03-24 23:47:22 +01:00
|
|
|
|
2011-01-04 21:28:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-25 09:49:00 -08:00
|
|
|
|
|
|
|
|
|
2018-06-15 13:08:52 +02:00
|
|
|
|
|
|
|
|
|
2014-10-20 21:28:05 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-11-22 14:30:14 +00:00
|
|
|
|
2014-12-25 09:49:17 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2014-12-25 09:49:17 -08:00
|
|
|
|
2014-10-20 21:28:05 -07:00
|
|
|
|
2014-12-25 09:49:17 -08:00
|
|
|
|
2014-10-20 21:28:05 -07:00
|
|
|
|
|
|
|
|
|
2014-12-25 09:49:17 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-20 21:28:05 -07:00
|
|
|
|
|
|
|
|
|
2014-12-25 09:49:17 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-24 10:55:16 -07:00
|
|
|
|
2014-10-20 21:28:05 -07:00
|
|
|
|
2014-12-25 09:49:00 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-20 21:28:05 -07:00
|
|
|
|
2007-09-25 15:40:12 +02:00
|
|
|
|
2010-03-25 11:42:41 +01:00
|
|
|
|
2012-12-26 20:06:17 +00:00
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
2007-09-25 15:40:12 +02:00
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2013-07-23 15:40:37 +01:00
|
|
|
|
2012-12-26 20:06:18 +00:00
|
|
|
|
2007-09-25 15:40:12 +02:00
|
|
|
|
|
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
2018-01-17 00:21:44 +02:00
|
|
|
|
2007-09-25 15:41:24 +02:00
|
|
|
|
2014-03-26 21:40:25 +01:00
|
|
|
|
2014-06-17 16:36:50 +02:00
|
|
|
|
|
|
|
|
|
2015-06-10 23:05:08 +02:00
|
|
|
|
2016-01-25 09:50:29 +01:00
|
|
|
|
2017-11-14 17:16:27 +00:00
|
|
|
|
2007-09-25 15:40:12 +02:00
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2007-09-25 15:40:12 +02:00
|
|
|
|
2009-08-18 13:23:37 +01:00
|
|
|
|
|
|
|
|
|
2013-06-18 16:55:39 +00:00
|
|
|
|
2009-08-18 13:23:37 +01:00
|
|
|
|
|
|
|
|
|
2014-07-08 16:26:13 +02:00
|
|
|
|
2009-08-18 13:23:37 +01:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2009-08-18 13:23:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2012-08-01 15:39:52 +09:00
|
|
|
|
2014-01-14 09:54:40 -08:00
|
|
|
|
2017-09-20 13:14:01 +02:00
|
|
|
|
2009-08-18 13:23:37 +01:00
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2009-08-18 13:23:37 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-05-09 23:34:53 +02:00
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
2007-10-22 19:43:15 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2007-10-11 23:46:10 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2007-09-13 23:51:26 +09:00
|
|
|
|
2007-03-14 21:51:26 +09:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2007-03-02 12:42:33 +09:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
2008-01-15 19:42:57 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2014-03-26 21:40:25 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2006-05-09 23:34:53 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-04-25 12:11:44 +09:00
|
|
|
|
2014-04-06 21:46:05 +01:00
|
|
|
|
2008-04-24 09:48:40 +09:00
|
|
|
|
2014-04-06 21:46:05 +01:00
|
|
|
|
2007-10-23 12:43:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2014-04-07 15:39:19 -07:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
2013-01-16 18:53:19 -08:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-14 09:54:38 -08:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-29 14:21:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2006-05-09 23:34:53 +02:00
|
|
|
|
2018-02-05 15:37:43 +01:00
|
|
|
|
2018-02-05 16:40:00 +01:00
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2011-06-01 19:05:10 +01:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2007-10-11 23:46:10 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2013-01-16 18:53:19 -08:00
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2015-05-24 16:11:13 +01:00
|
|
|
|
|
|
|
|
|
2010-06-19 04:08:19 +00:00
|
|
|
|
|
|
|
|
|
2012-03-30 16:48:05 +02:00
|
|
|
|
2010-06-19 04:08:19 +00:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2017-05-12 18:52:58 +02:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2015-05-24 16:11:36 +01:00
|
|
|
|
2011-09-24 02:29:46 +02:00
|
|
|
|
2019-02-21 19:43:10 -03:00
|
|
|
|
2015-05-24 16:11:15 +01:00
|
|
|
|
2015-05-24 16:11:42 +01:00
|
|
|
|
2010-06-19 04:08:19 +00:00
|
|
|
|
2011-03-30 09:27:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2011-03-30 09:27:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
2011-03-30 09:27:47 +02:00
|
|
|
|
2018-01-15 20:54:35 +00:00
|
|
|
|
2011-03-30 09:27:47 +02:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2011-03-30 09:27:47 +02:00
|
|
|
|
|
|
|
|
|
2012-04-17 15:53:19 +02:00
|
|
|
|
2012-04-13 20:56:13 +02:00
|
|
|
|
2012-08-28 12:44:59 +02:00
|
|
|
|
|
|
|
|
|
2013-09-03 13:18:12 +02:00
|
|
|
|
|
|
|
|
|
2011-03-30 09:27:47 +02:00
|
|
|
|
2007-08-21 22:34:16 +02:00
|
|
|
|
|
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2014-06-26 14:43:01 +01:00
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
2007-08-21 22:34:16 +02:00
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2007-08-21 22:34:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-21 10:00:35 +08:00
|
|
|
|
|
|
|
|
|
2010-01-04 17:16:46 +08:00
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
2015-04-21 10:00:35 +08:00
|
|
|
|
2009-07-02 23:26:45 +08:00
|
|
|
|
2015-04-21 10:00:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
2015-04-21 10:00:35 +08:00
|
|
|
|
|
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
|
|
|
|
|
2015-04-21 10:00:35 +08:00
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
2015-04-21 10:00:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
2015-03-16 14:43:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-06-03 09:35:00 +01:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2015-03-16 14:43:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-25 12:58:40 +01:00
|
|
|
|
2015-03-16 14:43:10 -07:00
|
|
|
|
2015-04-28 19:08:35 -03:00
|
|
|
|
|
|
|
|
|
2015-03-16 14:43:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-05-09 23:34:53 +02:00
|
|
|
|
2005-09-15 08:52:34 +00:00
|
|
|
|
2018-02-05 15:37:43 +01:00
|
|
|
|
2018-02-05 16:40:00 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-01-29 10:15:00 +00:00
|
|
|
|
2015-05-22 16:51:02 +01:00
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2014-10-20 12:03:58 -07:00
|
|
|
|
2015-08-22 02:40:41 -07:00
|
|
|
|
2018-11-12 19:00:59 +02:00
|
|
|
|
2013-09-27 14:41:44 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2011-06-01 19:05:10 +01:00
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2007-10-11 23:46:10 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2018-11-12 19:00:59 +02:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2006-06-20 17:15:20 +01:00
|
|
|
|
2018-11-12 19:00:59 +02:00
|
|
|
|
2014-10-20 21:27:57 -07:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2018-11-12 19:00:59 +02:00
|
|
|
|
2015-09-22 11:58:43 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
2014-01-16 13:12:36 +00:00
|
|
|
|
2015-02-26 18:16:38 -06:00
|
|
|
|
2014-11-19 11:31:56 +00:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2012-07-19 09:11:15 +02:00
|
|
|
|
2014-11-19 11:31:56 +00:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2015-02-26 18:16:38 -06:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2014-11-15 22:07:07 +00:00
|
|
|
|
2018-11-12 19:00:59 +02:00
|
|
|
|
2009-06-17 16:22:53 -07:00
|
|
|
|
2014-01-15 10:31:56 +00:00
|
|
|
|
2006-06-05 17:24:46 +01:00
|
|
|
|
2018-11-12 19:00:59 +02:00
|
|
|
|
2007-02-02 17:41:47 +01:00
|
|
|
|
2018-01-15 20:54:35 +00:00
|
|
|
|
2009-10-14 18:12:16 +08:00
|
|
|
|
2015-05-22 16:51:02 +01:00
|
|
|
|
2015-04-27 15:07:19 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-02-02 22:23:46 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2016-01-13 18:15:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-13 21:17:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2009-03-13 21:17:57 +01:00
|
|
|
|
|
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2007-04-26 19:45:09 +09:00
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2008-06-16 15:49:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2008-06-16 15:49:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2008-06-16 15:49:21 +01:00
|
|
|
|
2007-06-14 15:55:31 -06:00
|
|
|
|
|
|
|
|
|
2010-11-18 13:42:28 +05:30
|
|
|
|
|
|
|
|
|
2007-06-14 15:55:31 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2007-06-14 15:55:31 -06:00
|
|
|
|
|
|
|
|
|
2013-04-09 14:29:26 +02:00
|
|
|
|
|
|
|
|
|
2007-06-14 15:55:31 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-20 22:05:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2013-01-20 22:05:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
2013-01-20 22:05:30 +01:00
|
|
|
|
|
|
|
|
|
2013-09-04 00:16:59 +02:00
|
|
|
|
|
|
|
|
|
2013-01-20 22:05:30 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-05-09 23:34:53 +02:00
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
|
|
|
|
|
2018-02-05 16:40:00 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2018-11-15 20:05:37 +01:00
|
|
|
|
2007-10-11 23:46:10 +01:00
|
|
|
|
2007-11-23 20:34:16 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2006-11-30 01:14:51 +00:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
|
|
|
|
|
2008-07-16 14:06:15 +02:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
2009-11-19 16:40:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2014-01-14 09:54:38 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-09 23:34:53 +02:00
|
|
|
|
2018-06-15 13:08:44 +02:00
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
2007-03-01 11:56:43 +00:00
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2019-02-19 16:57:20 +01:00
|
|
|
|
2019-05-07 23:09:15 +02:00
|
|
|
|
2007-02-06 16:53:15 +00:00
|
|
|
|
2019-05-07 23:09:13 +02:00
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2006-06-11 23:03:08 +01:00
|
|
|
|
2006-11-02 17:23:33 +00:00
|
|
|
|
2014-01-14 09:54:38 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
2013-01-16 18:53:19 -08:00
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
|
|
|
|
|
2018-02-05 16:40:00 +01:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2018-11-15 20:05:37 +01:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-10 20:29:55 +02:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-11-19 16:40:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
|
|
|
|
|
2014-08-19 22:00:07 +02:00
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-07-10 17:33:00 +01:00
|
|
|
|
2018-06-15 13:08:48 +02:00
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-19 14:55:42 +00:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-09 23:34:53 +02:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-18 15:26:36 +02:00
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-03 02:05:43 +00:00
|
|
|
|
MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
The Broadcom SiByte BCM1250, BCM1125, and BCM1125H SOCs have an onchip
DRAM controller that supports memory amounts of up to 16GiB, and due to
how the address decoder has been wired in the SOC any memory beyond 1GiB
is actually mapped starting from 4GiB physical up, that is beyond the
32-bit addressable limit[1]. Consequently if the maximum amount of
memory has been installed, then it will span up to 19GiB.
Many of the evaluation boards we support that are based on one of these
SOCs have their memory soldered and the amount present fits in the
32-bit address range. The BCM91250A SWARM board however has actual DIMM
slots and accepts, depending on the peripherals revision of the SOC, up
to 4GiB or 8GiB of memory in commercially available JEDEC modules[2].
I believe this is also the case with the BCM91250C2 LittleSur board.
This means that up to either 3GiB or 7GiB of memory requires 64-bit
addressing to access.
I believe the BCM91480B BigSur board, which has the BCM1480 SOC instead,
accepts at least as much memory, although I have no documentation or
actual hardware available to verify that.
Both systems have PCI slots installed for use by any PCI option boards,
including ones that only support 32-bit addressing (additionally the
32-bit PCI host bridge of the BCM1250, BCM1125, and BCM1125H SOCs limits
addressing to 32-bits), and there is no IOMMU available. Therefore for
PCI DMA to work in the presence of memory beyond enable swiotlb for the
affected systems.
All the other SOC onchip DMA devices use 40-bit addressing and therefore
can address the whole memory, so only enable swiotlb if PCI support and
support for DMA beyond 4GiB have been both enabled in the configuration
of the kernel.
This shows up as follows:
Broadcom SiByte BCM1250 B2 @ 800 MHz (SB1 rev 2)
Board type: SiByte BCM91250A (SWARM)
Determined physical RAM map:
memory: 000000000fe7fe00 @ 0000000000000000 (usable)
memory: 000000001ffffe00 @ 0000000080000000 (usable)
memory: 000000000ffffe00 @ 00000000c0000000 (usable)
memory: 0000000087fffe00 @ 0000000100000000 (usable)
software IO TLB: mapped [mem 0xcbffc000-0xcfffc000] (64MB)
in the bootstrap log and removes failures like these:
defxx 0000:02:00.0: dma_direct_map_page: overflow 0x0000000185bc6080+4608 of device mask ffffffff bus mask 0
fddi0: Receive buffer allocation failed
fddi0: Adapter open failed!
IP-Config: Failed to open fddi0
defxx 0000:09:08.0: dma_direct_map_page: overflow 0x0000000185bc6080+4608 of device mask ffffffff bus mask 0
fddi1: Receive buffer allocation failed
fddi1: Adapter open failed!
IP-Config: Failed to open fddi1
when memory beyond 4GiB is handed out to devices that can only do 32-bit
addressing.
This updates commit cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need
DMA32.").
References:
[1] "BCM1250/BCM1125/BCM1125H User Manual", Revision 1250_1125-UM100-R,
Broadcom Corporation, 21 Oct 2002, Section 3: "System Overview",
"Memory Map", pp. 34-38
[2] "BCM91250A User Manual", Revision 91250A-UM100-R, Broadcom
Corporation, 18 May 2004, Section 3: "Physical Description",
"Supported DRAM", p. 23
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
[paul.burton@mips.com: Remove GPL text from dma.c; SPDX tag covers it]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/21108/
References: cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need DMA32.")
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-11-13 22:42:44 +00:00
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-18 15:26:36 +02:00
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-13 22:42:37 +00:00
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
The Broadcom SiByte BCM1250, BCM1125, and BCM1125H SOCs have an onchip
DRAM controller that supports memory amounts of up to 16GiB, and due to
how the address decoder has been wired in the SOC any memory beyond 1GiB
is actually mapped starting from 4GiB physical up, that is beyond the
32-bit addressable limit[1]. Consequently if the maximum amount of
memory has been installed, then it will span up to 19GiB.
Many of the evaluation boards we support that are based on one of these
SOCs have their memory soldered and the amount present fits in the
32-bit address range. The BCM91250A SWARM board however has actual DIMM
slots and accepts, depending on the peripherals revision of the SOC, up
to 4GiB or 8GiB of memory in commercially available JEDEC modules[2].
I believe this is also the case with the BCM91250C2 LittleSur board.
This means that up to either 3GiB or 7GiB of memory requires 64-bit
addressing to access.
I believe the BCM91480B BigSur board, which has the BCM1480 SOC instead,
accepts at least as much memory, although I have no documentation or
actual hardware available to verify that.
Both systems have PCI slots installed for use by any PCI option boards,
including ones that only support 32-bit addressing (additionally the
32-bit PCI host bridge of the BCM1250, BCM1125, and BCM1125H SOCs limits
addressing to 32-bits), and there is no IOMMU available. Therefore for
PCI DMA to work in the presence of memory beyond enable swiotlb for the
affected systems.
All the other SOC onchip DMA devices use 40-bit addressing and therefore
can address the whole memory, so only enable swiotlb if PCI support and
support for DMA beyond 4GiB have been both enabled in the configuration
of the kernel.
This shows up as follows:
Broadcom SiByte BCM1250 B2 @ 800 MHz (SB1 rev 2)
Board type: SiByte BCM91250A (SWARM)
Determined physical RAM map:
memory: 000000000fe7fe00 @ 0000000000000000 (usable)
memory: 000000001ffffe00 @ 0000000080000000 (usable)
memory: 000000000ffffe00 @ 00000000c0000000 (usable)
memory: 0000000087fffe00 @ 0000000100000000 (usable)
software IO TLB: mapped [mem 0xcbffc000-0xcfffc000] (64MB)
in the bootstrap log and removes failures like these:
defxx 0000:02:00.0: dma_direct_map_page: overflow 0x0000000185bc6080+4608 of device mask ffffffff bus mask 0
fddi0: Receive buffer allocation failed
fddi0: Adapter open failed!
IP-Config: Failed to open fddi0
defxx 0000:09:08.0: dma_direct_map_page: overflow 0x0000000185bc6080+4608 of device mask ffffffff bus mask 0
fddi1: Receive buffer allocation failed
fddi1: Adapter open failed!
IP-Config: Failed to open fddi1
when memory beyond 4GiB is handed out to devices that can only do 32-bit
addressing.
This updates commit cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need
DMA32.").
References:
[1] "BCM1250/BCM1125/BCM1125H User Manual", Revision 1250_1125-UM100-R,
Broadcom Corporation, 21 Oct 2002, Section 3: "System Overview",
"Memory Map", pp. 34-38
[2] "BCM91250A User Manual", Revision 91250A-UM100-R, Broadcom
Corporation, 18 May 2004, Section 3: "Physical Description",
"Supported DRAM", p. 23
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
[paul.burton@mips.com: Remove GPL text from dma.c; SPDX tag covers it]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/21108/
References: cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need DMA32.")
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-11-13 22:42:44 +00:00
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-01 21:55:39 +00:00
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
2007-11-03 02:05:43 +00:00
|
|
|
|
MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
The Broadcom SiByte BCM1250, BCM1125, and BCM1125H SOCs have an onchip
DRAM controller that supports memory amounts of up to 16GiB, and due to
how the address decoder has been wired in the SOC any memory beyond 1GiB
is actually mapped starting from 4GiB physical up, that is beyond the
32-bit addressable limit[1]. Consequently if the maximum amount of
memory has been installed, then it will span up to 19GiB.
Many of the evaluation boards we support that are based on one of these
SOCs have their memory soldered and the amount present fits in the
32-bit address range. The BCM91250A SWARM board however has actual DIMM
slots and accepts, depending on the peripherals revision of the SOC, up
to 4GiB or 8GiB of memory in commercially available JEDEC modules[2].
I believe this is also the case with the BCM91250C2 LittleSur board.
This means that up to either 3GiB or 7GiB of memory requires 64-bit
addressing to access.
I believe the BCM91480B BigSur board, which has the BCM1480 SOC instead,
accepts at least as much memory, although I have no documentation or
actual hardware available to verify that.
Both systems have PCI slots installed for use by any PCI option boards,
including ones that only support 32-bit addressing (additionally the
32-bit PCI host bridge of the BCM1250, BCM1125, and BCM1125H SOCs limits
addressing to 32-bits), and there is no IOMMU available. Therefore for
PCI DMA to work in the presence of memory beyond enable swiotlb for the
affected systems.
All the other SOC onchip DMA devices use 40-bit addressing and therefore
can address the whole memory, so only enable swiotlb if PCI support and
support for DMA beyond 4GiB have been both enabled in the configuration
of the kernel.
This shows up as follows:
Broadcom SiByte BCM1250 B2 @ 800 MHz (SB1 rev 2)
Board type: SiByte BCM91250A (SWARM)
Determined physical RAM map:
memory: 000000000fe7fe00 @ 0000000000000000 (usable)
memory: 000000001ffffe00 @ 0000000080000000 (usable)
memory: 000000000ffffe00 @ 00000000c0000000 (usable)
memory: 0000000087fffe00 @ 0000000100000000 (usable)
software IO TLB: mapped [mem 0xcbffc000-0xcfffc000] (64MB)
in the bootstrap log and removes failures like these:
defxx 0000:02:00.0: dma_direct_map_page: overflow 0x0000000185bc6080+4608 of device mask ffffffff bus mask 0
fddi0: Receive buffer allocation failed
fddi0: Adapter open failed!
IP-Config: Failed to open fddi0
defxx 0000:09:08.0: dma_direct_map_page: overflow 0x0000000185bc6080+4608 of device mask ffffffff bus mask 0
fddi1: Receive buffer allocation failed
fddi1: Adapter open failed!
IP-Config: Failed to open fddi1
when memory beyond 4GiB is handed out to devices that can only do 32-bit
addressing.
This updates commit cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need
DMA32.").
References:
[1] "BCM1250/BCM1125/BCM1125H User Manual", Revision 1250_1125-UM100-R,
Broadcom Corporation, 21 Oct 2002, Section 3: "System Overview",
"Memory Map", pp. 34-38
[2] "BCM91250A User Manual", Revision 91250A-UM100-R, Broadcom
Corporation, 18 May 2004, Section 3: "Physical Description",
"Supported DRAM", p. 23
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
[paul.burton@mips.com: Remove GPL text from dma.c; SPDX tag covers it]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/21108/
References: cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need DMA32.")
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-11-13 22:42:44 +00:00
|
|
|
|
2007-07-27 15:25:43 +09:00
|
|
|
|
2006-12-05 17:05:44 +01:00
|
|
|
|
|
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
|
|
|
|
|
2013-03-25 09:39:54 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2018-02-05 15:37:43 +01:00
|
|
|
|
2018-02-05 16:40:00 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:37 +01:00
|
|
|
|
2011-06-01 19:05:10 +01:00
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2007-10-11 23:46:10 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2006-06-13 13:59:01 +02:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2006-06-13 13:59:01 +02:00
|
|
|
|
2006-12-28 18:22:32 +01:00
|
|
|
|
2006-06-13 13:59:01 +02:00
|
|
|
|
2007-03-01 11:56:43 +00:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
2013-01-16 18:53:19 -08:00
|
|
|
|
2006-06-13 13:59:01 +02:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-12-05 17:05:44 +01:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-07-11 23:27:54 +09:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2008-07-11 23:27:54 +09:00
|
|
|
|
|
|
|
|
|
2005-07-25 22:45:45 +00:00
|
|
|
|
2008-07-16 16:12:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2008-07-16 16:12:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2014-01-14 09:54:38 -08:00
|
|
|
|
2008-07-16 16:12:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-05-22 15:10:46 +00:00
|
|
|
|
|
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
2018-01-10 16:21:13 +01:00
|
|
|
|
2018-11-15 20:05:36 +01:00
|
|
|
|
2018-04-03 16:24:20 +02:00
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
|
|
|
|
|
2012-10-17 00:39:09 +02:00
|
|
|
|
2015-05-21 19:59:31 +02:00
|
|
|
|
2015-03-20 19:11:58 +03:00
|
|
|
|
|
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
2009-02-02 11:30:59 -08:00
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2010-10-01 13:27:30 -07:00
|
|
|
|
2011-08-20 08:44:00 -07:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2014-05-28 23:52:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-09-28 12:34:04 -05:00
|
|
|
|
|
|
|
|
|
2014-08-21 13:04:22 -07:00
|
|
|
|
2015-03-05 17:31:30 +03:00
|
|
|
|
2018-04-24 09:00:54 +02:00
|
|
|
|
2016-12-13 14:25:37 -06:00
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-04-03 16:24:20 +02:00
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2012-10-31 12:01:33 +00:00
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
2013-06-10 06:33:26 +00:00
|
|
|
|
|
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-16 00:21:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2011-11-16 00:21:28 +00:00
|
|
|
|
|
|
|
|
|
2018-04-03 16:24:20 +02:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2011-11-16 00:21:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2012-10-31 12:01:33 +00:00
|
|
|
|
2011-11-16 00:21:28 +00:00
|
|
|
|
|
|
|
|
|
2012-07-13 21:53:22 +05:30
|
|
|
|
2013-06-10 06:33:26 +00:00
|
|
|
|
|
|
|
|
|
2011-11-16 00:21:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-05-28 23:52:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:32 +01:00
|
|
|
|
2014-05-28 23:52:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-09-16 19:12:16 +02:00
|
|
|
|
2014-10-29 03:18:39 +04:00
|
|
|
|
2011-01-04 21:28:14 +01:00
|
|
|
|
2011-07-23 01:20:13 +02:00
|
|
|
|
2009-08-18 13:23:37 +01:00
|
|
|
|
2014-12-25 09:49:20 -08:00
|
|
|
|
2016-10-05 18:18:20 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2010-06-19 04:08:19 +00:00
|
|
|
|
2011-03-30 09:27:48 +02:00
|
|
|
|
2007-08-21 22:34:16 +02:00
|
|
|
|
2016-01-13 18:15:39 -07:00
|
|
|
|
2015-08-06 12:22:43 +01:00
|
|
|
|
2012-12-15 11:52:10 +01:00
|
|
|
|
2013-01-20 22:05:30 +01:00
|
|
|
|
2005-02-07 01:27:14 +00:00
|
|
|
|
2005-02-03 14:28:23 +00:00
|
|
|
|
2008-07-11 00:31:36 +09:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
2015-04-21 10:00:35 +08:00
|
|
|
|
|
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
2014-05-28 23:52:14 +02:00
|
|
|
|
2005-02-03 14:28:23 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
[PATCH] bitops: mips: use generic bitops
- remove __{,test_and_}{set,clear,change}_bit() and test_bit()
- unless defined(CONFIG_CPU_MIPS32) or defined(CONFIG_CPU_MIPS64)
- remove __ffs()
- remove ffs()
- remove ffz()
- remove fls()
- remove fls64()
- remove find_{next,first}{,_zero}_bit()
- remove sched_find_first_bit()
- remove generic_hweight64()
- remove generic_hweight{32,16,8}()
- remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit()
- remove ext2_{set,clear}_bit_atomic()
- remove minix_{test,set,test_and_clear,test,find_first_zero}_bit()
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 01:39:30 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-11 09:05:16 +01:00
|
|
|
|
2006-04-04 13:11:45 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2005-09-15 08:52:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-14 15:55:31 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-01 01:57:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-25 12:11:44 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-22 19:43:15 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-18 17:48:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-01 01:57:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-25 01:34:09 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-01 01:57:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-24 09:48:40 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-24 22:33:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-01 01:57:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()
Add user-mode implementations of gettimeofday() and clock_gettime() to
the VDSO. This is currently usable with 2 clocksources: the CP0 count
register, which is accessible to user-mode via RDHWR on R2 and later
cores, or the MIPS Global Interrupt Controller (GIC) timer, which
provides a "user-mode visible" section containing a mirror of its
counter registers. This section must be mapped into user memory, which
is done below the VDSO data page.
When a supported clocksource is not in use, the VDSO functions will
return -ENOSYS, which causes libc to fall back on the standard syscall
path.
When support for neither of these clocksources is compiled into the
kernel at all, the VDSO still provides clock_gettime(), as the coarse
realtime/monotonic clocks can still be implemented. However,
gettimeofday() is not provided in this case as nothing can be done
without a suitable clocksource. This causes the symbol lookup to fail
in libc and it will then always use the standard syscall path.
This patch includes a workaround for a bug in QEMU which results in
RDHWR on the CP0 count register always returning a constant (incorrect)
value. A fix for this has been submitted, and the workaround can be
removed after the fix has been in stable releases for a reasonable
amount of time.
A simple performance test which calls gettimeofday() 1000 times in a
loop and calculates the average execution time gives the following
results on a Malta + I6400 (running at 20MHz):
- Syscall: ~31000 ns
- VDSO (GIC): ~15000 ns
- VDSO (CP0): ~9500 ns
[markos.chandras@imgtec.com:
- Minor code re-arrangements in order for mappings to be made
in the order they appear to the process' address space.
- Move do_{monotonic, realtime} outside of the MIPS_CLOCK_VSYSCALL ifdef
- Use gic_get_usm_range so we can do the GIC mapping in the
arch/mips/kernel/vdso instead of the GIC irqchip driver]
Signed-off-by: Alex Smith <alex.smith@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11338/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-10-21 09:57:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-05 00:55:41 +09:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2008-04-05 00:55:41 +09:00
|
|
|
|
|
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
2007-09-05 08:58:26 +02:00
|
|
|
|
|
|
|
|
|
2015-07-29 22:44:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-27 14:41:44 +02:00
|
|
|
|
2018-08-19 14:53:20 +02:00
|
|
|
|
2013-09-27 14:41:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-10-05 18:18:16 +01:00
|
|
|
|
|
|
|
|
|
2019-01-07 13:36:20 -05:00
|
|
|
|
2018-08-16 16:47:53 +03:00
|
|
|
|
2016-10-05 18:18:16 +01:00
|
|
|
|
2005-09-03 15:56:19 -07:00
|
|
|
|
|
|
|
|
|
2018-09-11 08:55:28 +02:00
|
|
|
|
2018-06-15 13:08:46 +02:00
|
|
|
|
2019-06-30 18:43:47 +02:00
|
|
|
|
2010-03-10 15:23:25 -08:00
|
|
|
|
2018-09-11 08:55:28 +02:00
|
|
|
|
2018-06-15 13:08:46 +02:00
|
|
|
|
2005-09-03 15:56:19 -07:00
|
|
|
|
2007-03-01 11:56:43 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-06-23 10:00:31 +01:00
|
|
|
|
2007-08-07 14:52:17 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-21 22:34:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-28 17:14:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-23 16:06:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-07 15:39:19 -07:00
|
|
|
|
2007-05-29 15:08:07 +01:00
|
|
|
|
|
|
|
|
|
2014-11-13 11:25:27 +00:00
|
|
|
|
|
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2014-11-13 11:25:27 +00:00
|
|
|
|
2007-08-24 16:48:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-18 12:55:21 +09:00
|
|
|
|
2007-08-24 16:48:30 +01:00
|
|
|
|
2006-11-30 01:14:51 +00:00
|
|
|
|
|
|
|
|
|
2007-08-24 16:48:30 +01:00
|
|
|
|
2006-11-30 01:14:51 +00:00
|
|
|
|
2010-10-18 12:55:21 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-20 08:44:00 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-31 10:05:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-31 10:05:39 +01:00
|
|
|
|
2017-06-13 15:28:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2012-04-14 00:14:11 +09:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-14 00:14:11 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2006-11-30 05:22:59 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2007-05-09 07:12:20 +02:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-07-23 18:41:43 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-09 17:08:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-05-27 17:47:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-17 00:48:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-14 15:55:31 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-02 23:35:53 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-09-13 23:51:26 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-14 21:51:26 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2019-05-07 23:09:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-14 15:55:31 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-13 21:17:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2009-03-13 21:17:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-16 15:49:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2008-06-16 15:49:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
2008-06-16 15:49:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-13 13:32:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-10 20:29:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2013-03-25 09:39:54 +00:00
|
|
|
|
2008-01-04 23:31:07 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-14 09:54:38 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2014-01-14 09:54:39 -08:00
|
|
|
|
2014-12-25 09:49:09 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-05 17:05:44 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-02 13:00:32 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2012-11-15 20:48:50 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-21 18:44:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-06-15 13:08:41 +02:00
|
|
|
|
2014-03-21 18:44:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2014-03-21 18:44:07 +08:00
|
|
|
|
|
|
|
|
|
2016-03-03 09:45:09 +08:00
|
|
|
|
2017-03-16 21:00:28 +08:00
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2018-04-24 09:00:54 +02:00
|
|
|
|
2014-03-21 18:44:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Loongson-3: Introduce CONFIG_LOONGSON3_ENHANCEMENT
New Loongson 3 CPU (since Loongson-3A R2, as opposed to Loongson-3A R1,
Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as FTLB,
L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPv2 ASE, User Local
register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer), Fast
TLB refill support, etc.
This patch introduce a config option, CONFIG_LOONGSON3_ENHANCEMENT, to
enable those enhancements which are not probed at run time. If you want
a generic kernel to run on all Loongson 3 machines, please say 'N'
here. If you want a high-performance kernel to run on new Loongson 3
machines only, please say 'Y' here.
Some additional explanations:
1) SFB locates between core and L1 cache, it causes memory access out
of order, so writel/outl (and other similar functions) need a I/O
reorder barrier.
2) Loongson 3 has a bug that di instruction can not save the irqflag,
so arch_local_irq_save() is modified. Since CPU_MIPSR2 is selected
by CONFIG_LOONGSON3_ENHANCEMENT, generic kernel doesn't use ei/di
at all.
3) CPU_HAS_PREFETCH is selected by CONFIG_LOONGSON3_ENHANCEMENT, so
MIPS_CPU_PREFETCH (used by uasm) probing is also put in this patch.
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Steven J . Hill <sjhill@realitydiluted.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12755/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-03-03 09:45:13 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Loongson: Introduce and use loongson_llsc_mb()
On the Loongson-2G/2H/3A/3B there is a hardware flaw that ll/sc and
lld/scd is very weak ordering. We should add sync instructions "before
each ll/lld" and "at the branch-target between ll/sc" to workaround.
Otherwise, this flaw will cause deadlock occasionally (e.g. when doing
heavy load test with LTP).
Below is the explaination of CPU designer:
"For Loongson 3 family, when a memory access instruction (load, store,
or prefetch)'s executing occurs between the execution of LL and SC, the
success or failure of SC is not predictable. Although programmer would
not insert memory access instructions between LL and SC, the memory
instructions before LL in program-order, may dynamically executed
between the execution of LL/SC, so a memory fence (SYNC) is needed
before LL/LLD to avoid this situation.
Since Loongson-3A R2 (3A2000), we have improved our hardware design to
handle this case. But we later deduce a rarely circumstance that some
speculatively executed memory instructions due to branch misprediction
between LL/SC still fall into the above case, so a memory fence (SYNC)
at branch-target (if its target is not between LL/SC) is needed for
Loongson 3A1000, 3B1500, 3A2000 and 3A3000.
Our processor is continually evolving and we aim to to remove all these
workaround-SYNCs around LL/SC for new-come processor."
Here is an example:
Both cpu1 and cpu2 simutaneously run atomic_add by 1 on same atomic var,
this bug cause both 'sc' run by two cpus (in atomic_add) succeed at same
time('sc' return 1), and the variable is only *added by 1*, sometimes,
which is wrong and unacceptable(it should be added by 2).
Why disable fix-loongson3-llsc in compiler?
Because compiler fix will cause problems in kernel's __ex_table section.
This patch fix all the cases in kernel, but:
+. the fix at the end of futex_atomic_cmpxchg_inatomic is for branch-target
of 'bne', there other cases which smp_mb__before_llsc() and smp_llsc_mb() fix
the ll and branch-target coincidently such as atomic_sub_if_positive/
cmpxchg/xchg, just like this one.
+. Loongson 3 does support CONFIG_EDAC_ATOMIC_SCRUB, so no need to touch
edac.h
+. local_ops and cmpxchg_local should not be affected by this bug since
only the owner can write.
+. mips_atomic_set for syscall.c is deprecated and rarely used, just let
it go
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Huang Pei <huangpei@loongson.cn>
[paul.burton@mips.com:
- Simplify the addition of -mno-fix-loongson3-llsc to cflags, and add
a comment describing why it's there.
- Make loongson_llsc_mb() a no-op when
CONFIG_CPU_LOONGSON3_WORKAROUNDS=n, rather than a compiler memory
barrier.
- Add a comment describing the bug & how loongson_llsc_mb() helps
in asm/barrier.h.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: ambrosehua@gmail.com
Cc: Steven J . Hill <Steven.Hill@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: Li Xuefeng <lixuefeng@loongson.cn>
Cc: Xu Chenghua <xuchenghua@loongson.cn>
2019-01-15 16:04:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-02 23:27:41 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-06 14:52:43 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-30 22:57:33 -03:00
|
|
|
|
2009-11-06 18:45:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-19 11:23:22 +02:00
|
|
|
|
2009-11-06 18:45:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-06 20:34:54 +08:00
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
|
|
|
|
|
MIPS: Loongson: Set Loongson32 to MIPS32R1
LS232 (Loonson 2-issue 32-bit, also called GS232 (Godson 2-issue 32-bit))
is the CPU core (microarchitecture) of Loongson 1A/1B/1C.
According to "LS232 用户手册 (LS232 User Manual)", LS232 implements the
MIPS32 Release 1 instruction set, and part of the MIPS32 Release 2
instruction set.
In the manual, LS232 implements all of the MIPS32R2 instruction set
except the FPU instructions, and LS232 also implements 5 FPU
instructions of the MIPS32R2 instruction set: CEIL.L.fmt, CVT.L.fmt,
FLOOR.L.fmt, TRUNC.L.fmt, and ROUND.L.fmt.
But a bug of the DI instruction has been found during tests, the DI
instruction can not disable interrupts in arch_local_irq_disable() with
CONFIG_PREEMPT_NONE=y and CFLAGS='-mno-branch-likely' in some cases.
[paul.burton@mips.com:
- Remove the _MIPS_ISA redefinition to match the change made for the
generic MIPSr1 CPUs by commit 344ebf09949c ("MIPS: Always use
-march=<arch>, not -<arch> shortcuts").]
Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/16155/
Cc: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org
2017-06-01 18:41:34 +08:00
|
|
|
|
|
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
2016-05-19 12:29:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Loongson: Set Loongson32 to MIPS32R1
LS232 (Loonson 2-issue 32-bit, also called GS232 (Godson 2-issue 32-bit))
is the CPU core (microarchitecture) of Loongson 1A/1B/1C.
According to "LS232 用户手册 (LS232 User Manual)", LS232 implements the
MIPS32 Release 1 instruction set, and part of the MIPS32 Release 2
instruction set.
In the manual, LS232 implements all of the MIPS32R2 instruction set
except the FPU instructions, and LS232 also implements 5 FPU
instructions of the MIPS32R2 instruction set: CEIL.L.fmt, CVT.L.fmt,
FLOOR.L.fmt, TRUNC.L.fmt, and ROUND.L.fmt.
But a bug of the DI instruction has been found during tests, the DI
instruction can not disable interrupts in arch_local_irq_disable() with
CONFIG_PREEMPT_NONE=y and CFLAGS='-mno-branch-likely' in some cases.
[paul.burton@mips.com:
- Remove the _MIPS_ISA redefinition to match the change made for the
generic MIPSr1 CPUs by commit 344ebf09949c ("MIPS: Always use
-march=<arch>, not -<arch> shortcuts").]
Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/16155/
Cc: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org
2017-06-01 18:41:34 +08:00
|
|
|
|
|
|
|
|
|
2016-05-19 12:29:30 +08:00
|
|
|
|
2005-07-06 12:08:11 +00:00
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-07-06 12:08:11 +00:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
2006-03-05 00:45:33 +00:00
|
|
|
|
2005-07-12 14:51:22 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2005-07-12 14:51:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-07-12 14:51:22 +00:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
2006-03-05 00:45:33 +00:00
|
|
|
|
2014-01-27 15:23:10 +00:00
|
|
|
|
2012-11-21 18:33:59 -08:00
|
|
|
|
2005-07-06 12:08:11 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2005-07-06 12:08:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2015-07-16 13:24:46 +01:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-06 12:08:11 +00:00
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2006-03-05 00:45:33 +00:00
|
|
|
|
2009-05-27 17:47:46 -07:00
|
|
|
|
2005-07-06 12:08:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-12 14:51:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-07-12 14:51:22 +00:00
|
|
|
|
|
|
|
|
|
2006-03-05 00:45:33 +00:00
|
|
|
|
2009-05-27 17:47:46 -07:00
|
|
|
|
2014-01-27 15:23:10 +00:00
|
|
|
|
2016-07-08 11:53:31 +01:00
|
|
|
|
2005-07-12 14:51:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2015-07-16 13:24:46 +01:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-02 02:21:53 +00:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2017-02-16 12:39:01 +00:00
|
|
|
|
2016-07-08 11:53:31 +01:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2006-04-24 14:58:53 +01:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2006-03-17 12:59:22 +09:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-24 01:27:57 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-27 17:47:46 -07:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2008-10-24 01:27:57 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2005-09-03 15:56:21 -07:00
|
|
|
|
|
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
2006-10-31 03:45:07 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
|
|
|
|
|
2009-02-02 11:30:59 -08:00
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-27 17:47:46 -07:00
|
|
|
|
2015-05-25 20:27:29 +01:00
|
|
|
|
|
|
|
|
|
2014-01-14 09:54:38 -08:00
|
|
|
|
2017-03-14 10:25:51 +00:00
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:12:05 +01:00
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 18:20:06 +02:00
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
|
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
2013-12-18 14:12:04 +01:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2017-02-07 13:58:54 -08:00
|
|
|
|
|
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
2013-12-18 14:12:05 +01:00
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-16 00:21:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2012-10-31 12:01:29 +00:00
|
|
|
|
2015-01-07 16:58:32 +05:30
|
|
|
|
2016-05-06 14:36:24 +01:00
|
|
|
|
2011-11-16 00:21:28 +00:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2013-12-03 10:22:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2013-12-03 10:22:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-26 18:16:38 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-04-03 16:24:20 +02:00
|
|
|
|
2015-02-26 18:16:38 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-10 20:04:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-10-14 18:12:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-16 16:55:20 +01:00
|
|
|
|
2009-10-14 18:12:16 +08:00
|
|
|
|
2010-01-15 20:34:46 +08:00
|
|
|
|
2013-09-11 11:51:41 +01:00
|
|
|
|
2009-10-14 18:12:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-12-10 10:57:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-02 23:27:41 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-18 13:54:15 +02:00
|
|
|
|
2018-06-20 09:11:15 +02:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2009-07-02 23:27:41 +08:00
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-01-22 21:04:12 +08:00
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
|
|
|
|
|
2014-10-10 11:40:01 +08:00
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
2013-12-18 14:12:05 +01:00
|
|
|
|
2013-12-18 14:12:06 +01:00
|
|
|
|
2011-11-10 22:30:24 -08:00
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-20 21:27:58 -07:00
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
|
|
|
|
|
2016-02-09 12:55:53 -08:00
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-20 21:27:58 -07:00
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
|
|
|
|
|
2016-02-09 12:55:53 -08:00
|
|
|
|
2011-11-10 22:30:24 -08:00
|
|
|
|
2014-03-21 18:44:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-03 09:45:09 +08:00
|
|
|
|
2014-03-21 18:44:07 +08:00
|
|
|
|
2009-07-02 23:27:41 +08:00
|
|
|
|
2007-06-06 14:52:43 +08:00
|
|
|
|
|
|
|
|
|
2009-11-06 18:45:05 +08:00
|
|
|
|
|
|
|
|
|
2009-11-11 13:39:12 +08:00
|
|
|
|
|
|
|
|
|
2009-11-11 13:59:23 +08:00
|
|
|
|
2009-11-06 18:45:05 +08:00
|
|
|
|
2012-07-25 16:17:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-19 12:29:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-03 10:22:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-26 18:16:38 -06:00
|
|
|
|
|
|
|
|
|
2019-02-04 13:52:58 -08:00
|
|
|
|
2015-02-26 18:16:38 -06:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
|
|
|
|
|
2019-02-04 13:52:58 -08:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
|
|
|
|
|
2019-02-04 13:52:58 -08:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-24 01:27:57 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-04 13:52:58 -08:00
|
|
|
|
2005-10-20 22:33:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-02 11:30:59 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
|
|
|
|
|
2013-12-18 14:12:05 +01:00
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-18 14:12:02 +01:00
|
|
|
|
2018-12-09 16:49:57 +01:00
|
|
|
|
2010-10-17 10:56:53 -07:00
|
|
|
|
2011-05-07 01:36:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-16 00:21:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-14 13:24:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-31 03:45:07 +00:00
|
|
|
|
|
|
|
|
|
2007-07-14 13:24:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-20 17:15:20 +01:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2018-11-08 23:44:55 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-12-11 15:33:38 -08:00
|
|
|
|
2016-02-09 12:55:51 -08:00
|
|
|
|
2014-11-13 13:32:03 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-02-09 12:55:51 -08:00
|
|
|
|
2016-05-06 13:35:03 +01:00
|
|
|
|
2016-05-06 14:36:24 +01:00
|
|
|
|
2018-02-09 22:11:06 +00:00
|
|
|
|
2014-11-13 13:32:03 +00:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2018-11-08 23:44:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-03 10:22:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-26 18:16:38 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-11-11 13:39:12 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-27 17:47:46 -07:00
|
|
|
|
|
|
|
|
|
2009-11-11 13:59:23 +08:00
|
|
|
|
|
|
|
|
|
2009-10-14 12:16:56 -07:00
|
|
|
|
|
|
|
|
|
2017-06-02 15:38:03 -07:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
2008-09-23 00:04:26 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
|
|
|
|
|
2008-09-23 00:04:26 -07:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-23 12:02:09 +02:00
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-21 18:33:59 -08:00
|
|
|
|
|
|
|
|
|
2013-07-12 10:26:11 +00:00
|
|
|
|
2012-11-21 18:33:59 -08:00
|
|
|
|
2015-12-16 23:49:26 +00:00
|
|
|
|
|
|
|
|
|
2012-11-21 18:33:59 -08:00
|
|
|
|
2014-05-29 10:16:36 +01:00
|
|
|
|
|
|
|
|
|
2012-11-21 18:33:59 -08:00
|
|
|
|
2014-05-29 10:16:36 +01:00
|
|
|
|
2012-11-21 18:33:59 -08:00
|
|
|
|
2014-05-29 10:16:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-21 18:33:59 -08:00
|
|
|
|
2015-05-14 18:34:43 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-02-16 17:27:34 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-14 18:34:43 -07:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-21 18:44:07 +08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-01-16 18:53:19 -08:00
|
|
|
|
2015-05-14 18:34:43 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-04-02 14:07:10 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-17 14:04:30 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-17 14:04:30 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-04-02 14:07:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-14 18:34:43 -07:00
|
|
|
|
2009-04-02 14:07:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2017-06-05 11:21:27 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-17 14:04:30 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-11 14:52:45 -07:00
|
|
|
|
|
|
|
|
|
2014-01-21 11:22:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-11 14:52:45 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-20 17:15:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-05 14:28:54 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2012-01-31 18:18:43 +01:00
|
|
|
|
|
|
|
|
|
2017-06-05 11:21:27 -07:00
|
|
|
|
2012-01-31 18:18:43 +01:00
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
2018-11-07 23:14:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
|
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
|
|
|
|
|
2012-01-31 18:18:44 +01:00
|
|
|
|
|
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
2012-01-31 18:18:44 +01:00
|
|
|
|
2012-01-31 18:18:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-06 17:36:20 +01:00
|
|
|
|
2014-04-08 11:59:10 +01:00
|
|
|
|
2017-08-07 16:01:16 -07:00
|
|
|
|
2017-08-07 16:18:04 -07:00
|
|
|
|
2006-10-06 17:36:20 +01:00
|
|
|
|
2007-05-08 14:05:39 +01:00
|
|
|
|
2013-10-04 16:23:28 -05:00
|
|
|
|
2006-10-06 17:36:20 +01:00
|
|
|
|
|
|
|
|
|
2007-11-19 12:23:51 +00:00
|
|
|
|
2013-10-04 16:23:28 -05:00
|
|
|
|
|
|
|
|
|
2012-07-13 16:44:53 -04:00
|
|
|
|
2006-10-06 17:36:20 +01:00
|
|
|
|
2013-10-04 16:23:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-06 17:36:20 +01:00
|
|
|
|
2007-07-27 19:31:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-02 20:42:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-27 19:31:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-05-23 16:29:44 +02:00
|
|
|
|
2007-07-27 19:31:10 +01:00
|
|
|
|
2014-12-03 15:47:03 +00:00
|
|
|
|
|
|
|
|
|
2016-10-17 15:34:37 +01:00
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
2014-12-03 15:47:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-10 12:30:56 +00:00
|
|
|
|
2014-12-03 15:47:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-15 20:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
|
|
|
|
|
2018-01-15 20:54:35 +00:00
|
|
|
|
2007-05-08 14:05:39 +01:00
|
|
|
|
|
|
|
|
|
2006-06-05 17:24:46 +01:00
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-30 15:52:07 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-30 15:52:06 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
2014-01-01 16:29:03 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-01 16:26:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-04 00:06:29 +01:00
|
|
|
|
2014-01-15 10:32:00 +00:00
|
|
|
|
2015-07-09 10:40:38 +01:00
|
|
|
|
2014-07-22 09:29:34 +01:00
|
|
|
|
2009-06-17 16:40:34 -07:00
|
|
|
|
2014-07-22 09:29:34 +01:00
|
|
|
|
2008-10-04 00:06:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-15 10:31:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-04 00:06:29 +01:00
|
|
|
|
2014-01-15 10:32:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-15 10:31:53 +00:00
|
|
|
|
|
|
|
|
|
2016-02-03 03:15:33 +00:00
|
|
|
|
2014-01-15 10:31:53 +00:00
|
|
|
|
2014-04-14 14:13:57 +01:00
|
|
|
|
2014-01-15 10:31:53 +00:00
|
|
|
|
|
|
|
|
|
2014-04-14 14:13:57 +01:00
|
|
|
|
2017-06-02 14:48:52 -07:00
|
|
|
|
2014-01-15 10:31:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-14 11:00:56 +01:00
|
|
|
|
2014-09-18 16:09:49 +01:00
|
|
|
|
2014-04-14 11:00:56 +01:00
|
|
|
|
|
|
|
|
|
2014-01-15 10:31:51 +00:00
|
|
|
|
|
|
|
|
|
2017-08-12 19:49:42 -07:00
|
|
|
|
2014-01-15 10:31:51 +00:00
|
|
|
|
2014-01-15 10:31:52 +00:00
|
|
|
|
|
|
|
|
|
2008-10-04 00:06:29 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-21 08:46:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-02 17:41:47 +01:00
|
|
|
|
|
|
|
|
|
2014-07-21 08:46:14 +01:00
|
|
|
|
2007-02-02 17:41:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-25 13:27:11 -05:00
|
|
|
|
2014-10-27 10:34:11 +00:00
|
|
|
|
2014-07-21 08:46:14 +01:00
|
|
|
|
2013-03-25 13:27:11 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-21 08:46:14 +01:00
|
|
|
|
|
|
|
|
|
2014-01-27 15:23:10 +00:00
|
|
|
|
2015-07-27 12:58:27 -07:00
|
|
|
|
2014-01-27 15:23:10 +00:00
|
|
|
|
2018-11-07 23:14:02 +00:00
|
|
|
|
2014-07-11 16:47:14 +01:00
|
|
|
|
2014-01-27 15:23:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-27 15:23:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-27 15:23:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-04-24 14:58:53 +01:00
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
2011-11-16 01:25:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-02-09 12:55:51 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions
MIPSR6 CPUs do not support unaligned load/store instructions
(LWL, LWR, SWL, SWR and LDL, LDR, SDL, SDR for 64bit).
Currently the MIPS tree has some special cases to avoid these
instructions, and the code is testing for !CONFIG_CPU_MIPSR6.
This patch declares a new Kconfig variable:
CONFIG_CPU_HAS_LOAD_STORE_LR.
This variable indicates that the CPU supports these instructions.
Then, the patch does the following:
- Carefully selects this option on all CPUs except MIPSR6.
- Switches all the special cases to test for the new variable,
and inverts the logic:
'#ifndef CONFIG_CPU_MIPSR6' turns into
'#ifdef CONFIG_CPU_HAS_LOAD_STORE_LR'
and vice-versa.
Also, when this variable is NOT selected (e.g. MIPSR6),
CONFIG_GENERIC_CSUM will default to 'y', to compile generic
C checksum code (instead of special assembly code that uses the
unsupported instructions).
This commit should not affect any existing CPU, and is required
for future Lexra CPU support, that misses these instructions too.
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20808/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-09-26 14:16:15 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-05 17:24:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
2006-06-05 17:24:46 +01:00
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
2006-06-05 17:24:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
2006-06-05 17:24:46 +01:00
|
|
|
|
2005-07-14 15:57:16 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-23 12:43:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-06 14:36:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-06 14:36:24 +01:00
|
|
|
|
2016-05-06 14:36:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-06 14:36:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-09 22:11:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-03 10:22:26 +00:00
|
|
|
|
2005-08-10 15:17:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-02-02 17:41:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-05 16:52:02 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-29 01:49:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-27 15:23:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-25 14:54:31 -07:00
|
|
|
|
|
|
|
|
|
2009-12-01 14:55:42 +08:00
|
|
|
|
2005-06-25 14:54:31 -07:00
|
|
|
|
2006-06-11 23:03:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-09 07:12:20 +02:00
|
|
|
|
2006-06-11 23:03:08 +01:00
|
|
|
|
|
|
|
|
|
2018-03-21 21:22:47 +02:00
|
|
|
|
2006-06-11 23:03:08 +01:00
|
|
|
|
2006-07-03 00:09:47 +09:00
|
|
|
|
|
|
|
|
|
2006-07-05 01:22:44 +09:00
|
|
|
|
2006-07-03 00:09:47 +09:00
|
|
|
|
2006-06-11 23:03:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-31 10:05:39 +01:00
|
|
|
|
|
|
|
|
|
2016-12-13 14:25:37 -06:00
|
|
|
|
2016-03-31 10:05:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-31 10:05:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-31 10:05:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-31 10:05:41 +01:00
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2016-03-31 10:05:41 +01:00
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2016-03-31 10:05:41 +01:00
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2016-03-31 10:05:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-04-10 22:53:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-12 19:37:22 +08:00
|
|
|
|
|
|
|
|
|
2016-02-19 15:42:11 -08:00
|
|
|
|
2010-10-12 19:37:22 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2006-06-04 11:51:46 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2014-01-23 15:55:29 -08:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2014-01-23 15:55:29 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2014-01-23 15:55:29 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-03 15:50:21 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-07-07 08:50:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-19 12:23:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-04 00:06:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-15 10:31:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-04 11:51:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-06 16:53:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2014-04-29 20:07:40 +05:30
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-02-06 16:53:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-18 01:01:39 +09:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2007-03-18 01:01:39 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2012-07-13 16:44:53 -04:00
|
|
|
|
|
|
|
|
|
2017-09-28 12:34:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-13 16:44:53 -04:00
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
2015-09-22 10:16:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
2008-02-25 16:55:29 +00:00
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-22 10:16:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-22 10:16:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-22 10:16:39 -07:00
|
|
|
|
2006-06-20 00:19:13 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-07 10:30:19 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 23:29:11 +09:00
|
|
|
|
2013-01-16 18:53:19 -08:00
|
|
|
|
2015-09-09 15:38:55 -07:00
|
|
|
|
2007-01-16 23:29:11 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-09 07:12:20 +02:00
|
|
|
|
2007-01-16 23:29:11 +09:00
|
|
|
|
|
|
|
|
|
2007-10-20 01:34:40 +02:00
|
|
|
|
2007-01-16 23:29:11 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-20 21:38:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 23:29:11 +09:00
|
|
|
|
2012-10-11 18:14:58 +02:00
|
|
|
|
2016-12-02 09:58:29 +01:00
|
|
|
|
|
|
|
|
|
2012-10-11 18:14:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-12-02 09:58:29 +01:00
|
|
|
|
2018-03-26 19:11:51 +01:00
|
|
|
|
2016-12-02 09:58:29 +01:00
|
|
|
|
|
|
|
|
|
2012-10-11 18:14:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 23:29:11 +09:00
|
|
|
|
|
|
|
|
|
2007-07-25 16:19:33 +01:00
|
|
|
|
2007-01-16 23:29:11 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-22 13:12:07 +00:00
|
|
|
|
2018-11-07 23:13:58 +00:00
|
|
|
|
2013-11-22 13:12:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-14 17:55:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-22 13:12:07 +00:00
|
|
|
|
2010-10-13 00:52:46 -06:00
|
|
|
|
2012-09-18 11:28:54 +02:00
|
|
|
|
2010-10-13 00:52:46 -06:00
|
|
|
|
2010-11-18 15:54:56 -08:00
|
|
|
|
2012-02-24 08:07:06 -07:00
|
|
|
|
2010-10-13 00:52:46 -06:00
|
|
|
|
2018-09-11 14:49:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-21 13:04:20 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-12 12:24:58 +02:00
|
|
|
|
2015-10-12 13:13:01 +02:00
|
|
|
|
2015-04-12 12:24:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-11 17:46:14 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-12 12:24:58 +02:00
|
|
|
|
2016-06-20 11:27:36 +02:00
|
|
|
|
2015-04-12 12:24:58 +02:00
|
|
|
|
|
|
|
|
|
2016-06-20 11:27:36 +02:00
|
|
|
|
2015-04-12 12:24:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-12 13:13:02 +02:00
|
|
|
|
|
|
|
|
|
2015-10-12 13:13:03 +02:00
|
|
|
|
2016-10-05 18:18:21 +01:00
|
|
|
|
2015-10-12 13:13:03 +02:00
|
|
|
|
2015-10-12 13:13:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-28 11:03:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-12 13:13:02 +02:00
|
|
|
|
|
|
|
|
|
2005-10-29 19:32:41 +01:00
|
|
|
|
|
|
|
|
|
2006-09-26 23:44:01 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-23 15:39:02 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-14 15:45:51 -07:00
|
|
|
|
|
|
|
|
|
2017-02-16 17:27:34 -08:00
|
|
|
|
2015-04-14 15:45:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-27 18:23:20 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2016-10-05 18:18:12 +01:00
|
|
|
|
2018-11-15 20:05:33 +01:00
|
|
|
|
2016-10-05 18:18:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-15 20:05:33 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-16 10:36:23 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-11-24 17:32:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2016-11-24 17:32:45 +00:00
|
|
|
|
|
|
|
|
|
2019-03-11 16:54:27 +01:00
|
|
|
|
2016-11-24 17:32:45 +00:00
|
|
|
|
2007-10-11 23:46:10 +01:00
|
|
|
|
|
|
|
|
|
2011-05-08 19:03:03 +01:00
|
|
|
|
2011-06-09 13:08:27 +00:00
|
|
|
|
2009-11-17 01:32:58 +08:00
|
|
|
|
2007-10-11 23:46:10 +01:00
|
|
|
|
2013-06-12 10:54:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-03 02:05:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MIPS: Compat: Fix build error if CONFIG_MIPS32_COMPAT but no compat ABI.
In that case nor __NR_seccomp_*_32 symbols will be defined in
<asm/unistd.h> so the attempt to use it in kernel.seccomp.c will fail
with:
kernel/seccomp.c:565:2: error: '__NR_seccomp_read_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:24: error: '__NR_seccomp_write_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:47: error: '__NR_seccomp_exit_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:69: error: '__NR_seccomp_sigreturn_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
Solved by changing the compat ABIs in kconfig to select MIPS32_COMPAT
directly. This also means the user no longer has to select MIPS32_COMPAT
before being able to see the ABI options.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-12-19 01:18:03 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-07 18:02:44 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
MIPS: Compat: Fix build error if CONFIG_MIPS32_COMPAT but no compat ABI.
In that case nor __NR_seccomp_*_32 symbols will be defined in
<asm/unistd.h> so the attempt to use it in kernel.seccomp.c will fail
with:
kernel/seccomp.c:565:2: error: '__NR_seccomp_read_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:24: error: '__NR_seccomp_write_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:47: error: '__NR_seccomp_exit_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:69: error: '__NR_seccomp_sigreturn_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
Solved by changing the compat ABIs in kconfig to select MIPS32_COMPAT
directly. This also means the user no longer has to select MIPS32_COMPAT
before being able to see the ABI options.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-12-19 01:18:03 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-03 12:10:23 +01:00
|
|
|
|
2019-01-10 17:24:31 +01:00
|
|
|
|
MIPS: Compat: Fix build error if CONFIG_MIPS32_COMPAT but no compat ABI.
In that case nor __NR_seccomp_*_32 symbols will be defined in
<asm/unistd.h> so the attempt to use it in kernel.seccomp.c will fail
with:
kernel/seccomp.c:565:2: error: '__NR_seccomp_read_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:24: error: '__NR_seccomp_write_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:47: error: '__NR_seccomp_exit_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
^
kernel/seccomp.c:565:69: error: '__NR_seccomp_sigreturn_32' undeclared here (not in a function)
__NR_seccomp_read_32, __NR_seccomp_write_32, __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
Solved by changing the compat ABIs in kconfig to select MIPS32_COMPAT
directly. This also means the user no longer has to select MIPS32_COMPAT
before being able to see the ABI options.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-12-19 01:18:03 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-23 16:22:26 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-02-09 17:08:58 +00:00
|
|
|
|
2006-06-05 17:43:10 +02:00
|
|
|
|
2009-06-04 20:27:10 +08:00
|
|
|
|
|
|
|
|
|
2009-07-02 11:48:07 +01:00
|
|
|
|
2009-06-04 20:27:10 +08:00
|
|
|
|
2007-12-08 02:14:00 +01:00
|
|
|
|
|
|
|
|
|
2009-07-02 11:48:07 +01:00
|
|
|
|
2007-12-08 02:14:00 +01:00
|
|
|
|
2007-02-09 17:08:58 +00:00
|
|
|
|
2006-06-05 17:43:10 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2013-04-04 12:54:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-14 16:24:22 +01:00
|
|
|
|
|
|
|
|
|
2013-04-04 12:54:21 +00:00
|
|
|
|
|
|
|
|
|
2009-11-17 01:32:58 +08:00
|
|
|
|
2014-04-14 16:24:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-15 10:35:42 +01:00
|
|
|
|
|
|
|
|
|
2012-11-21 18:33:59 -08:00
|
|
|
|