Skip to content

Commit af698a6

Browse files
committed
Merge remote-tracking branch 'lineage-sm8250/lineage-20' into android16
Signed-off-by: Joe7500 <j7545032@gmail.com>
2 parents d0d1950 + bab6a29 commit af698a6

542 files changed

Lines changed: 23089 additions & 5873 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ ForEachMacros:
213213
- 'for_each_set_bit'
214214
- 'for_each_set_bit_from'
215215
- 'for_each_sg'
216+
- 'for_each_sg_dma_page'
216217
- 'for_each_sg_page'
217218
- '__for_each_thread'
218219
- 'for_each_thread'

Documentation/ABI/testing/ima_policy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Description:
2929
base: func:= [BPRM_CHECK][MMAP_CHECK][CREDS_CHECK][FILE_CHECK][MODULE_CHECK]
3030
[FIRMWARE_CHECK]
3131
[KEXEC_KERNEL_CHECK] [KEXEC_INITRAMFS_CHECK]
32+
[KEXEC_CMDLINE]
3233
mask:= [[^]MAY_READ] [[^]MAY_WRITE] [[^]MAY_APPEND]
3334
[[^]MAY_EXEC]
3435
fsmagic:= hex value

Documentation/ABI/testing/sysfs-kernel-btf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ Description:
1515
information with description of all internal kernel types. See
1616
Documentation/bpf/btf.rst for detailed description of format
1717
itself.
18+
19+
What: /sys/kernel/btf/<module-name>
20+
Date: Nov 2020
21+
KernelVersion: 5.11
22+
Contact: bpf@vger.kernel.org
23+
Description:
24+
Read-only binary attribute exposing kernel module's BTF type
25+
information as an add-on to the kernel's BTF (/sys/kernel/btf/vmlinux).
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
What: /sys/kernel/dmabuf/buffers
2+
Date: January 2021
3+
KernelVersion: v5.12
4+
Contact: Hridya Valsaraju <hridya@google.com>
5+
Description: The /sys/kernel/dmabuf/buffers directory contains a
6+
snapshot of the internal state of every DMA-BUF.
7+
/sys/kernel/dmabuf/buffers/<inode_number> will contain the
8+
statistics for the DMA-BUF with the unique inode number
9+
<inode_number>
10+
Users: kernel memory tuning/debugging tools
11+
12+
What: /sys/kernel/dmabuf/buffers/<inode_number>/exporter_name
13+
Date: January 2021
14+
KernelVersion: v5.12
15+
Contact: Hridya Valsaraju <hridya@google.com>
16+
Description: This file is read-only and contains the name of the exporter of
17+
the DMA-BUF.
18+
19+
What: /sys/kernel/dmabuf/buffers/<inode_number>/size
20+
Date: January 2021
21+
KernelVersion: v5.12
22+
Contact: Hridya Valsaraju <hridya@google.com>
23+
Description: This file is read-only and specifies the size of the DMA-BUF in
24+
bytes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
What: /sys/kernel/dma_heap/total_pools_kb
2+
Date: Feb 2021
3+
KernelVersion: 5.10
4+
Contact: Hridya Valsaraju <hridya@google.com>,
5+
Description:
6+
The total_pools_kb file is read-only and specifies how much
7+
memory in Kb is allocated to DMA-BUF heap pools.

Documentation/bpf/bpf_design_QA.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ kernels. The union bpf_attr -> kern_version is checked at load time
164164
to prevent accidentally loading kprobe-based bpf programs written
165165
for a different kernel. Networking programs don't do kern_version check.
166166

167+
Q: Are tracepoints part of the stable ABI?
168+
------------------------------------------
169+
A: NO. Tracepoints are tied to internal implementation details hence they are
170+
subject to change and can break with newer kernels. BPF programs need to change
171+
accordingly when this happens.
172+
167173
Q: How much stack space a BPF program uses?
168174
-------------------------------------------
169175
A: Currently all program types are limited to 512 bytes of stack

0 commit comments

Comments
 (0)