Go to file
Joao Martins 913c5400c5 iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING
commit 266ce58989ba ("iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING") upstream

In order to selftest the iommu domain dirty enforcing implement the
mock_domain necessary support and add a new dev_flags to test that the
hwpt_alloc/attach_device fails as expected.

Expand the existing mock_domain fixture with a enforce_dirty test that
exercises the hwpt_alloc and device attachment.

Intel-SIG: commit 266ce58989ba ("iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING)"
Backport to support Intel QAT live migration for in-tree driver

Link: https://lore.kernel.org/r/20231024135109.73787-15-joao.m.martins@oracle.com
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
[ Aichun Shi: amend commit log ]
Signed-off-by: Aichun Shi <aichun.shi@intel.com>
2024-05-29 07:52:29 +08:00
Documentation Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
LICENSES LICENSES: Add the copyleft-next-0.3.1 license 2022-11-08 15:44:01 +01:00
arch Merge ock repo's next branch to tk5 repo's master branch 2024-05-21 10:43:15 +08:00
block Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
certs certs: Reference revocation list for all keyrings 2023-08-17 20:12:41 +00:00
crypto crypto: jitter - fix CRYPTO_JITTERENTROPY help text 2024-03-26 18:19:52 -04:00
dist dist: release 6.6.30-5 2024-05-17 15:59:27 +08:00
drivers iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING 2024-05-29 07:52:29 +08:00
fs Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
include iommufd: Add a flag to skip clearing of IOPTE dirty 2024-05-29 07:51:27 +08:00
init Merge linux 6.6.30 2024-05-08 19:22:41 +08:00
io_uring io_uring: Fix io_cqring_wait() not restoring sigmask on get_timespec64() failure 2024-04-27 17:11:30 +02:00
ipc Add x86 shadow stack support 2023-08-31 12:20:12 -07:00
kernel Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
lib Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
mm Merge ock repo's next branch to tk5 repo's master branch 2024-05-21 10:43:15 +08:00
net Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
rust rust: kernel: require `Send` for `Module` implementations 2024-05-17 12:01:56 +02:00
samples work around gcc bugs with 'asm goto' with outputs 2024-02-23 09:24:47 +01:00
scripts Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
security Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
sound Merge linux 6.6.31 2024-05-20 14:44:58 +08:00
tools iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING 2024-05-29 07:52:29 +08:00
usr initramfs: Encode dependency on KBUILD_BUILD_TIMESTAMP 2023-06-06 17:54:49 +09:00
virt KVM: Always flush async #PF workqueue when vCPU is being destroyed 2024-04-03 15:28:18 +02: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 dist: initial support 2023-12-12 15:56:34 +08:00
.gitmodules emm: add submodule of emm 2024-04-30 17:18:01 +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 tkernel: netatop: add netatop module in kernel/tkernel/ 2023-12-12 15:56:47 +08:00
MAINTAINERS Merge linux 6.6.29 2024-05-08 19:21:35 +08:00
Makefile Merge linux 6.6.31 2024-05-20 14:44:58 +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.