Lines Matching +full:generic +full:- +full:names

1 .. SPDX-License-Identifier: GPL-2.0
4 Generic Radix Page Table
7 .. kernel-doc:: include/linux/generic_pt/common.h
8 :doc: Generic Radix Page Table
10 .. kernel-doc:: drivers/iommu/generic_pt/pt_defs.h
11 :doc: Generic Page Table Language
16 Generic PT is structured as a multi-compilation system. Since each format
17 provides an API using a common set of names there can be only one format active
22 map/unmap, etc.) and the per-format code can be directly inlined into the
23 per-format compilation unit. For something like IOMMU each format will be
24 compiled into a per-format IOMMU operations kernel module.
27 format headers and the generic code for the implementation. For instance in an
46 IOMMU implementation uses multi-compilation to generate per-format ops structs
49 The format code is written so that the common names arise from #defines to
50 distinct format specific names. This is intended to aid debuggability by
53 Exported symbols and other global names are mangled using a per-format string
56 The format uses struct pt_common as the top-level struct for the table,
58 format-specific information.
60 The implementation will further wrap struct pt_common in its own top-level
64 ----------------------------------------------
66 .. kernel-doc:: include/linux/generic_pt/common.h
68 .. kernel-doc:: drivers/iommu/generic_pt/pt_common.h
71 -----------------
73 .. kernel-doc:: drivers/iommu/generic_pt/pt_iter.h
76 ----------------
91 where a uniquely named per-format inline function provides the implementation
92 and a define maps it to the generic name. This is intended to make debug symbols
99 Once the format compiles then it should be run through the generic page table
102 …$ tools/testing/kunit/kunit.py run --build_dir build_kunit_x86_64 --arch x86_64 --kunitconfig ./dr…
107 The generic tests are intended to prove out the format functions and give
112 ---------------------------
117 The TLB can store present PTEs, non-present PTEs and table pointers, depending
125 single range invalidation for each operation, over-invalidating if there are