Go to file
Feng Su d61911b25d anolis: arm64: add cpuectlr sysfs interface
ANBZ: #6190

By adjusting cpuectlr configuration, software performance can be improved.
This patch provides some sysfs percpu interfaces for users to modify
cpuectlr configurations.

These interfaces are unique to the ARM Neoverse N2 core, read and write
permissions are determined by kvm or bios.

These interfaces are placed under /sys/devices/system/cpu/cpuX/cpuectlr/

These sysfs interfaces are:
cmc_min_ways:        how many ways of L2 cache can be used by CMC
inst_res_ways_l2:    how many ways of L2 cache reserverd for inst
prefetchtgt_ld_st:   prefetchtgt generation mode for requests from
                     the Load-Store unit
ws_threshold_l2:     Threshold for write stream to L2 cache
ws_threshold_l3:     Threshold for write stream to L3 cache
ws_threshold_l4:     Threshold for write stream to L4 cache
ws_threshold_dram:   Threshold for write stream to DRAM
prefetch_disable:    enable or disable prefetches
prefetch_sts_disable:enable or disable store-stride prefetch
prefetch_sti_disable:enable or disable store prefetch at issue

Signed-off-by: Feng Su <sufeng@linux.alibaba.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/2085
2023-08-29 06:08:07 +00:00
Documentation erofs: rename ctime to mtime 2023-08-24 13:40:58 +00:00
LICENSES LICENSES/deprecated: add Zlib license text 2020-09-16 14:33:49 +02:00
anolis anolis: spec: fix a bash gramma problem 2023-08-28 20:34:43 +08:00
arch anolis: arm64: add cpuectlr sysfs interface 2023-08-29 06:08:07 +00:00
block block: export blk_rq_is_poll 2023-06-15 22:55:32 +00:00
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist 2022-06-22 14:13:17 +02:00
crypto crypto: tcrypt - add SM4 cts-cbc/xts/xcbc test 2022-11-18 20:29:07 +08:00
drivers anolis: Revert "anolis: drivers: arm64: add prefetch tuning sysctl interface by module mode" 2023-08-29 06:08:07 +00:00
fs ext4: do not mark inode dirty every time in delalloc append write scenario 2023-08-27 13:39:50 +00:00
include anolis: arm64: add cpuectlr sysfs interface 2023-08-29 06:08:07 +00:00
init cachestat: implement cachestat syscall 2023-08-18 10:51:46 +08:00
ipc memcg: enable accounting of ipc resources 2023-03-18 02:22:59 +00:00
kernel anolis: sched: reserve field for core scheduling 2023-08-24 09:25:08 +00:00
lib lib/xz: Add MicroLZMA decoder 2023-08-24 11:06:13 +00:00
mm mm: Implement readahead_control pageset expansion 2023-08-24 11:06:13 +00:00
net netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID 2023-08-13 09:06:02 +00:00
samples coresight: syscfg: Example CoreSight configuration loadable module 2023-02-16 11:34:58 +00:00
scripts asm-generic/atomic: Add try_cmpxchg() fallbacks 2023-08-15 15:26:39 +08:00
security ima: Fix a potential NULL pointer access in ima_restore_measurement_list 2023-02-21 09:05:17 +00:00
sound anolis: riscv: audio: add T-HEAD Light support 2023-02-26 01:51:05 +00:00
tools tools headers UAPI: Sync linux/prctl.h with the kernel sources 2023-08-24 09:25:08 +00:00
usr usr/include/Makefile: add linux/nfc.h to the compile-test coverage 2022-02-01 17:25:48 +01:00
virt anolis: sw64: add support for vmtop 2023-06-08 08:55:37 +00:00
.clang-format RDMA 5.10 pull request 2020-10-17 11:18:18 -07:00
.cocciconfig
.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 kbuild: generate Module.symvers only when vmlinux exists 2021-05-19 10:12:59 +02:00
.mailmap mailmap: add two more addresses of Uwe Kleine-König 2020-12-06 10:19:07 -08:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: Move Jason Cooper to CREDITS 2020-11-30 10:20:34 +01:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS selftests: add selftests for cachestat 2023-08-18 10:52:11 +08:00
Makefile kbuild: Unify options for BTF generation for vmlinux and modules 2023-02-15 14:57:28 +08:00
README

README

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.