Go to file
Bibo Mao f4a7ec4613 perf kvm: Add kvm-stat for loongarch64
commit 492ac37fa38f ("perf kvm: Add kvm-stat for loongarch64")
Conflict: none
Backport-reason: Synchronize upstream linux loongarch kvm
patch to support loongarch virtualization.
Checkpatch: no, to be consistent with upstream commit.

Add support for 'perf kvm stat' on loongarch64 platform, now only kvm
exit event is supported.

Here is example output about "perf kvm --host stat report" command

   Event name   Samples   Sample%     Time (ns)   Time%   Mean Time (ns)
    Mem Store     83969    51.00%     625697070   8.00%             7451
     Mem Read     37641    22.00%     112485730   1.00%             2988
    Interrupt     15542     9.00%      20620190   0.00%             1326
        IOCSR     15207     9.00%      94296190   1.00%             6200
    Hypercall      4873     2.00%      12265280   0.00%             2516
         Idle      3713     2.00%    6322055860  87.00%          1702681
          FPU      1819     1.00%       2750300   0.00%             1511
   Inst Fetch       502     0.00%       1341740   0.00%             2672
   Mem Modify       324     0.00%        602240   0.00%             1858
       CPUCFG        55     0.00%         77610   0.00%             1411
          CSR        12     0.00%         19690   0.00%             1640
         LASX         3     0.00%          4870   0.00%             1623
          LSX         2     0.00%          2100   0.00%             1050

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
2024-11-06 19:36:39 +08:00
Documentation LoongArch: KVM: Add PV steal time support in guest side 2024-11-06 19:36:38 +08:00
LICENSES LICENSES: Add the copyleft-next-0.3.1 license 2022-11-08 15:44:01 +01:00
arch LoongArch: KVM: Add PV steal time support in guest side 2024-11-06 19:36:38 +08:00
block rue/io: fix child blkcg of hier buffered write can not exceed 2MB 2024-10-23 14:12:52 +08:00
certs certs: Reference revocation list for all keyrings 2023-08-17 20:12:41 +00:00
crypto crypto: jitter - set default OSR to 3 2024-10-16 16:00:24 +08:00
dist Merge branch 'haisu/master-tryrue-20240905-merge-honglin' into 'master' (merge request !197) 2024-09-29 01:56:56 +00:00
drivers !256 intel: backport GNR and SRF intel_idle for 6.6 2024-11-04 08:46:03 +00:00
fs Merge linux 6.6.57 2024-10-21 14:40:59 +08:00
include LoongArch: KVM: Add PCHPIC device support 2024-11-06 19:36:37 +08:00
init Merge linux 6.6.48 2024-09-29 16:01:50 +08:00
io_uring io_uring: check if we need to reschedule during overflow flush 2024-10-17 15:24:18 +02:00
ipc sysctl: treewide: drop unused argument ctl_table_root::set_ownership(table) 2024-08-11 12:47:13 +02:00
kernel crashkernel: auto adjust crashkernel min size to 800MB for KASAN 2024-10-22 20:09:22 +08:00
lib Merge linux 6.6.57 2024-10-21 14:40:59 +08:00
mm Merge linux 6.6.57 2024-10-21 14:40:59 +08:00
net Merge linux 6.6.57 2024-10-21 14:40:59 +08:00
rust rust: sync: require `T: Sync` for `LockedBy::access` 2024-10-10 11:57:44 +02:00
samples samples/bpf: Fix compilation errors with cf-protection option 2024-10-04 16:29:19 +02:00
scripts Merge linux 6.6.55 2024-10-11 18:06:09 +08:00
security Merge linux 6.6.55 2024-10-11 18:06:09 +08:00
sound Merge linux 6.6.57 2024-10-21 14:40:59 +08:00
tools perf kvm: Add kvm-stat for loongarch64 2024-11-06 19:36:39 +08:00
usr initramfs: Encode dependency on KBUILD_BUILD_TIMESTAMP 2023-06-06 17:54:49 +09:00
virt KVM: Fix coalesced_mmio_has_room() to avoid premature userspace exit 2024-10-12 10:13:09 +08:00
.clang-format iommu: Add for_each_group_device() 2023-05-23 08:15:51 +02:00
.cocciconfig
.get_maintainer.ignore get_maintainer: add Alan to .get_maintainer.ignore 2022-08-20 15:17:44 -07:00
.gitattributes dist: initial support 2023-12-12 15:56:34 +08:00
.gitignore Merge branch '6.6.54' 2024-10-10 21:47:18 +08:00
.gitmodules drivers/thirdparty: put release-drivers in tree 2024-08-27 17:10:54 +08:00
.mailmap 20 hotfixes. 12 are cc:stable and the remainder address post-6.5 issues 2023-10-24 09:52:16 -10:00
.rustfmt.toml rust: add `.rustfmt.toml` 2022-09-28 09:02:20 +02:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS USB: Remove Wireless USB and UWB documentation 2023-08-09 14:17:32 +02:00
Kbuild Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Kconfig kconfig: Fix duplicate "Tencent Kernel Features" menu config 2024-06-24 20:23:33 +08:00
MAINTAINERS Merge linux 6.6.51 2024-09-29 19:06:17 +08:00
Makefile Merge linux 6.6.57 2024-10-21 14:40:59 +08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00
config-readme Makefile, dist: add "make tencentconfig" support 2024-03-04 13:25:26 +08:00

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.