No description
  • C 96.9%
  • Assembly 0.9%
  • Rust 0.6%
  • Shell 0.6%
  • Python 0.5%
  • Other 0.3%
Find a file
Russell King 29a843aec0 ARMv7 compliant cache maintenance for the decompressor
On v7 and later cores, cache maintenance operations by set/way are only
 intended to be used in the context of on/offlining a core, while it has
 been taken out of the coherency domain. Any use intended to ensure that
 the contents of the cache have made it to main memory is unreliable,
 since cacheline migration and non-architected system caches may cause
 these contents to linger elsewhere, without being visible in main memory
 once the MMU and caches are disabled.
 
 So switch to cache maintenance by virtual address for v7 and later cores.
 This makes the 32-bit kernel bootable on systems with L3 system caches
 that are not covered by set/way operations, such as Socionext SynQuacer.
 
 Tony says:
 
   I gave these a try on top of the earlier "arm: fix Kbuild issue caused
   by per-task stack protector GCC plugin" and booting still works for
   me on armv7 including appended dtb:
 
   Tested-by: Tony Lindgren <tony@atomide.com>
 
 Linus says:
 
   No problem, I have tested it on the following:
 
   - ARMv7 Cortex A9 x 2 Qualcomm APQ8060 DragonBoard
   - ARM PB11MPCore (4 x 1176)
   - ARMv7 Ux500 Cortex A9 x 2
 
   The PB11MPCore is again the crucial board, if it work on that
   board it works on anything, most of the time :D
 
   Tested-by: Linus Walleij <linus.walleij@linaro.org>
 
 Note that the first 2 patches are shared with the efi/core branch in
 TIP, which is the reason why this is sent as a pull request rather
 than via the patch system.
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEnNKg2mrY9zMBdeK7wjcgfpV0+n0FAl5Xmj0ACgkQwjcgfpV0
 +n0Otgf9HTTK21cx4VjqkkLqGXMPa/Bo1FHJ0B8Hy1TRsYYLK17/GuUwQdCmvGB8
 5ichFbN2+Ftvr224q8DeZI11MEMFePvllF5Lynhw6YV1TSgegOtTLlDTana1hSdG
 JlNh6SChIFBGegmYeCe+5JJDcrsmy4chgLIr/BsgPu1oXCzUdb25P4r1qw40UgO9
 0URqj+xv0yJ/29gwuAQE+pR/0KLvcPamspnp7Z/3+xSfRObe8PvZvrEJo9YehGmw
 ehc0K0/4Caxo/6bJDjuTLC2DgObc+cclZNchNwmcZKEvGMuiHhWOyrW3CJ8gRiE9
 p8oFLJX4CzvFVy6T/LAIh9sii8bIHw==
 =WEAc
 -----END PGP SIGNATURE-----

Merge tag 'arm32-efi-cache-ops-for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux into devel-stable

ARMv7 compliant cache maintenance for the decompressor

On v7 and later cores, cache maintenance operations by set/way are only
intended to be used in the context of on/offlining a core, while it has
been taken out of the coherency domain. Any use intended to ensure that
the contents of the cache have made it to main memory is unreliable,
since cacheline migration and non-architected system caches may cause
these contents to linger elsewhere, without being visible in main memory
once the MMU and caches are disabled.

So switch to cache maintenance by virtual address for v7 and later cores.
This makes the 32-bit kernel bootable on systems with L3 system caches
that are not covered by set/way operations, such as Socionext SynQuacer.

Tony says:

  I gave these a try on top of the earlier "arm: fix Kbuild issue caused
  by per-task stack protector GCC plugin" and booting still works for
  me on armv7 including appended dtb:

  Tested-by: Tony Lindgren <tony@atomide.com>

Linus says:

  No problem, I have tested it on the following:

  - ARMv7 Cortex A9 x 2 Qualcomm APQ8060 DragonBoard
  - ARM PB11MPCore (4 x 1176)
  - ARMv7 Ux500 Cortex A9 x 2

  The PB11MPCore is again the crucial board, if it work on that
  board it works on anything, most of the time :D

  Tested-by: Linus Walleij <linus.walleij@linaro.org>

Note that the first 2 patches are shared with the efi/core branch in
TIP, which is the reason why this is sent as a pull request rather
than via the patch system.
History 2020-03-12 11:15:29 +00:00
arch ARM: decompressor: switch to by-VA cache maintenance for v7 cores 2020-02-27 11:15:50 +01:00
block block-5.6-2020-02-05 2020-02-06 06:15:23 +00:00
certs certs: Add wrapper function to check blacklisted binary hash 2019-11-12 12:25:50 +11:00
crypto treewide: remove redundant IS_ERR() before error code check 2020-02-04 03:05:27 +00:00
Documentation Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
drivers Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
fs Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
include fs: New zonefs file system 2020-02-09 15:51:46 -08:00
init Tracing updates: 2020-02-06 07:12:11 +00:00
ipc proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
kernel Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
lib Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
LICENSES LICENSES: Rename other to deprecated 2019-05-03 06:34:32 -06:00
mm Merge branch 'merge.nfs-fs_parse.1' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-02-08 13:26:41 -08:00
net Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
samples Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
scripts Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
security Merge branch 'merge.nfs-fs_parse.1' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-02-08 13:26:41 -08:00
sound sound fixes for 5.6-rc1 2020-02-06 14:15:01 +00:00
tools A set of fixes and improvements for the perf subsystem: 2020-02-09 12:04:09 -08:00
usr Kbuild updates for v5.6 (2nd) 2020-02-09 16:05:50 -08:00
virt KVM: fix overflow of zero page refcount with ksm running 2020-02-05 15:27:46 +01:00
.clang-format clang-format: Update with the latest for_each macro list 2019-08-31 10:00:51 +02:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore modpost: dump missing namespaces into a single modules.nsdeps file 2019-11-11 20:10:01 +09:00
.mailmap A handful of small documentation fixes that wandered in. 2020-02-07 13:03:10 -08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS open: introduce openat2(2) syscall 2020-01-18 09:19:18 -05:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
MAINTAINERS fs: New zonefs file system 2020-02-09 15:51:46 -08:00
Makefile Linux 5.6-rc1 2020-02-09 16:08:48 -08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.