Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
f424b0a
drivers: platform: Add support for Xiaomi SM8150 platform
DD3Boh Aug 22, 2019
f33e2eb
arch: arm64: configs: xiaomi: Initial config fragments
SebaUbuntu Jun 22, 2022
f78f55f
arch: arm64: configs: xiaomi: Enable CONFIG_BUILD_ARM64_DT_OVERLAY
DD3Boh Feb 29, 2020
06fdd63
arch: arm64: configs: xiaomi: Enable QCACLD
luca020400 Aug 1, 2020
4e6baa3
arch: arm64: configs: xiaomi: Enable exFAT
SebaUbuntu Jun 22, 2022
fa96131
arch: arm64: configs: xiaomi: Enable EROFS
SebaUbuntu Apr 24, 2024
04fd3b5
arch: arm64: configs: xiaomi: Enable device-specific platform
SebaUbuntu Nov 5, 2023
0d7aae7
arch: arm64: boot: dts: qcom: Import overlayed dts
SebaUbuntu Jul 4, 2022
05f3cbf
arch: arm64: boot: dts: qcom: xiaomi: Adapt analog USB-C for newer au…
SebaUbuntu Jun 23, 2022
60a7e68
arch: arm64: boot: dts: qcom: xiaomi: vayu: Add ln8000 support
SebaUbuntu Jul 10, 2022
66e45d6
arch: arm64: boot: dts: qcom: xiaomi: nabu: Remove fingerprint bindings
SebaUbuntu Apr 16, 2024
9667506
drivers: char: Import Xiaomi changes
SebaUbuntu Nov 5, 2023
61fa7ef
drivers: clk: qcom: mdss: Import Xiaomi changes
SebaUbuntu Jan 29, 2024
3699fa6
drivers: cpufreq: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
8c14852
drivers: gpu: drm: msm: extend qcom drm notifier
Demon000 Dec 2, 2019
76417ed
drivers: gpu: drm: msm: handle ss dcs type
Demon000 Jul 7, 2019
1a871b6
drivers: gpu: drm: msm: modify lp11 mode logic
Demon000 Jul 7, 2019
9e8a5f0
drivers: gpu: drm: msm: dsi-staging: create empty attributes group
Demon000 Apr 5, 2020
1762e70
drivers: gpu: drm: msm: sde: translate zpos property to fod property
Demon000 May 20, 2020
4f39124
drivers: gpu: drm: msm: dsi-staging: add get_main_display
DevriesL Dec 31, 2018
703edf7
drivers: gpu: drm: msm: dsi-staging: add dsi_panel_get_backlight
Demon000 May 25, 2020
60eef6e
drivers: gpu: drm: msm: implement fod handling
Demon000 Apr 5, 2020
4061cec
drivers: gpu: drm: msm: notify sysfs for fod ui changes
Demon000 May 28, 2020
762e0dd
drivers: gpu: drm: msm: dsi-staging: cleanup notifier implementation
Demon000 Jun 8, 2020
67b764a
drivers: gpu: drm: msm: atomic: do not trigger drm notifier
Demon000 Jun 8, 2020
e6ee6bb
drivers: gpu: drm: msm: dsi-staging: trigger drm notifier
Demon000 Jun 8, 2020
c13076b
drivers: gpu: drm: msm: Export FOD_PRESSED_LAYER_ZORDER to uapi
PIPIPIG233666 Aug 14, 2020
5565d2f
drivers: gpu: drm: msm: sde: Increase sde stage to map zpos changes
GuaiYiHu Aug 13, 2020
a8e372c
arch: arm64: boot: dts: qcom: ea8076: move fod hbm commands to their …
Demon000 Feb 18, 2020
c581571
arch: arm64: boot: dts: qcom: ea8076: disable dc dimming during fod h…
Demon000 Feb 18, 2020
ec6072e
arch: arm64: boot: dts: qcom: ea8076: define fod dim lut
Demon000 May 25, 2020
62cb49d
arch: arm64: boot: dts: qcom: ea8076: optimize HBM commands for in-ke…
Demon000 May 26, 2020
51e78f9
drivers: gpu: drm: msm: Add R_EARLY_EVENT_BLANK notification
SebaUbuntu Apr 15, 2024
7510ad3
drivers: gpu: drm: msm: Add cphy_strength support
SebaUbuntu Apr 24, 2024
7cbea5e
drivers: gpu: drm: msm: Add CPHY ESD check command support
SebaUbuntu Apr 24, 2024
025fd03
arch: arm64: boot: dts: qcom: xiaomi: Rename CPHY ESD check commands
SebaUbuntu Apr 24, 2024
e4a4ce2
drivers: gpu: drm: msm: Implement pen FPS sync
SebaUbuntu Apr 24, 2024
b6b9446
arch: arm64: boot: dts: qcom: xiaomi: Adapt pen FPS values
SebaUbuntu Apr 24, 2024
50a1b4b
drivers: gpu: drm: msm: Import Xiaomi changes
SebaUbuntu Apr 24, 2024
98e5c79
drivers: Import halls driver
SebaUbuntu Jun 22, 2022
db9e9b0
drivers: halls: Fix compilation
SebaUbuntu Apr 16, 2024
d1fe373
drivers: iio: adc: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
40d855a
drivers: iio: proximity: Import MIUS driver
SebaUbuntu Jun 22, 2022
00a450b
drivers: input: fingerprint: Import Xiaomi fingerprint drivers
SebaUbuntu Jun 22, 2022
4bbd1bf
drivers: input: fingerprint: Use MSM DRM notifier
SebaUbuntu Nov 6, 2023
ae98455
drivers: input: fingerprint: Drop calls to dsi_bridge_interface_enable
SebaUbuntu Nov 6, 2023
8d5049b
drivers: input: fingerprint: goodix: Improve wakelock handling
SebaUbuntu Jul 9, 2022
9882a18
drivers: input: fingerprint: goodix: Add vayu support
SebaUbuntu Nov 6, 2023
8240a39
drivers: input: keyboard: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
c81a101
drivers: input: misc: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
0611398
drivers: input: misc: Import aw8697_haptic_xm driver
SebaUbuntu Nov 6, 2023
8ece510
drivers: input: misc: Import Xiaomi keyboard driver
SebaUbuntu Jan 28, 2024
7f42117
drivers: input: misc: xiaomi_keyboard: Use MSM DRM notifier
SebaUbuntu Apr 16, 2024
36a73a6
firmware: Add FIRMWARE_IN_KERNEL support
SebaUbuntu Oct 11, 2023
5fe7f8e
drivers: input: touchscreen: Import Xiaomi drivers
SebaUbuntu Nov 6, 2023
a645ae3
drivers: input: touchscreen: xiaomi: Use MSM DRM notifier
SebaUbuntu Nov 6, 2023
341dbd0
drivers: input: touchscreen: xiaomi: Drop touch_irq_boost
SebaUbuntu Oct 11, 2023
0bc9a89
drivers: input: touchscreen: xiaomi: Drop lpm_disable_for_input
SebaUbuntu Jan 28, 2024
54d30d5
drivers: input: touchscreen: xiaomi: Make it compile without xiaomi_t…
SebaUbuntu Oct 11, 2023
d585a10
drivers: input: touchscreen: xiaomi: nt36523: Fix function declaratio…
SebaUbuntu Apr 16, 2024
d0f8caf
drivers: input: touchscreen: xiaomi: fts_521: Fix strict-prototypes e…
me-cafebabe Feb 7, 2024
8dc4138
drivers: input: touchscreen: xiaomi: fts_521: Fix sscanf() buffer ove…
me-cafebabe Feb 8, 2024
c685e85
drivers: input: touchscreen: Add an interface to expose TP features t…
moetayuko Feb 19, 2020
5331613
drivers: input: touchscreen: tp_common: Add pen node
SebaUbuntu Jun 11, 2024
c8b9396
drivers: input: touchscreen: xiaomi: fts_521: Implement double_tap node
SebaUbuntu Oct 11, 2023
822bd48
drivers: input: touchscreen: xiaomI: fts_521: Give fod_status ops to …
SebaUbuntu Oct 11, 2023
c75b2ce
drivers: input: touchscreen: xiaomi: goodix_driver_gt9886: Implement …
SebaUbuntu Oct 11, 2023
46e3680
drivers: input: touchscreen: xiaomi: goodix_driver_gt9886: Give fod_s…
SebaUbuntu Oct 11, 2023
4b5f748
drivers: input: touchscreen: xiaomi: nt36523: Implement double_tap node
SebaUbuntu Jan 28, 2024
4f0ba8e
drivers: input: touchscreen: xiaomi: nt36523: Implement pen node
SebaUbuntu Jun 11, 2024
e1a481a
drivers: input: touchscreen: xiaomi: nt36672c: Implement double_tap node
SebaUbuntu Nov 6, 2023
3744ffa
drivers: leds: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
608b56e
drivers: media: platform: msm: camera: Import Xiaomi changes
UtsavBalar1231 Dec 3, 2020
10fecf7
arch: arm64: boot: dts: qcom: xiaomi: Commonize IR binding
SebaUbuntu Aug 28, 2024
15d74a8
arch: arm64: boot: dts: qcom: xiaomi: Adapt IR SPI binding for upstre…
SebaUbuntu Aug 28, 2024
2e17daa
drivers: mfd: Import Xiaomi speaker ID driver
SebaUbuntu Jun 22, 2022
69d662e
drivers: misc: Import AKM09970 driver
SebaUbuntu Jun 22, 2022
8944550
drivers: misc: Import DRV8846 driver
SebaUbuntu Jun 22, 2022
80913ec
drivers: misc: Import Xiaomi SIM tray status driver
SebaUbuntu Jun 22, 2022
494fbad
drivers: nfc: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
5a6c285
drivers: of: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
46028cc
drivers: pinctrl: qcom: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
eed2c3c
drivers: power: supply: Import Xiaomi drivers
SebaUbuntu Jul 5, 2021
982e22f
drivers: power: supply: maxim: Extract S_secret from vayu stock kernel
SebaUbuntu Jul 8, 2021
115340e
drivers: power: supply: qcom: rx1619: Extract firmware from crux stoc…
SebaUbuntu Jul 12, 2022
992549a
drivers: power: supply: Import Xiaomi changes
SebaUbuntu Jul 6, 2021
e6e0eaa
drivers: regulator: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
c002bea
drivers: scsi: ufs: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
27a15c7
drivers: sensors: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
f869566
drivers: soc: qcom: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
11b59db
drivers: spi: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
9ed94fb
drivers: thermal: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
b640c4a
drivers: Import Trusty TEE driver
SebaUbuntu Jun 22, 2022
b0920a3
drivers: usb: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
0f2cbd1
drivers: video: backlight: Import KTZ8866 driver
SebaUbuntu Jan 28, 2024
190ffe4
drivers: video: backlight: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
754b5b7
fs: pstore: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
9bd7dae
sound: soc: Import Xiaomi changes
SebaUbuntu Jun 22, 2022
cd69b16
techpack: audio: Allow ASoC codecs selection through Kconfig
SebaUbuntu Nov 6, 2023
3ef25e4
techpack: audio: Import Xiaomi drivers
SebaUbuntu Jul 7, 2021
b85b66a
techpack: audio: asoc: codecs: tas256x: Shut up
SebaUbuntu Jul 8, 2021
5ebd6f2
techpack: audio: asoc: codecs: tfa98xx: Fix includes
SebaUbuntu Apr 17, 2024
e8bcaae
techpack: audio: asoc: codecs: tfa98xx: Make it compile without debugfs
SebaUbuntu Jun 9, 2024
1e5bd8a
techpack: audio: asoc: codecs: Use spk-id standard driver
SebaUbuntu Jun 9, 2024
9cbd018
techpack: audio: Import Xiaomi changes
SebaUbuntu Apr 17, 2024
66cfba5
arch: arm64: configs: xiaomi: Enable device-specific drivers
SebaUbuntu Nov 18, 2023
7b576f9
arch: arm64: boot: dts: xiaomi: Move to 2si
SebaUbuntu Jul 4, 2022
f25b727
init: Add CONFIG_INITRAMFS_IGNORE_SKIP_FLAG
SebaUbuntu Jun 28, 2022
804f527
arch: arm64: configs: xiaomi: Enable CONFIG_INITRAMFS_IGNORE_SKIP_FLAG
SebaUbuntu Jun 28, 2022
fb6f815
drivers: gpu: dsi-staging: Disable dynamic fps and set refresh rate t…
map220v May 31, 2023
1b1591a
drivers: hid: Implement keyboard driver
SebaUbuntu Aug 3, 2024
a8328d5
drivers: hid: hid-xiaomi: Drop touchpad reporting
SebaUbuntu Aug 3, 2024
051b2f6
drivers: input: misc: xiaomi_keyboard: Enable by default
SebaUbuntu Aug 3, 2024
a744fd8
display: translate PCC to CSC
Demon000 Oct 31, 2022
21047b4
techpack: display: ignore CSC config on FOD layer
Demon000 Dec 18, 2022
bf3b8bb
display:Fix -Wincompatible-pointer-types warning
Demon000 Dec 27, 2022
4b7921c
display: skip marking null blob changes as dirty
Demon000 Jan 1, 2023
3c8bbe1
display: optimize exclusion rects dirty marking
Demon000 Jan 1, 2023
7beeee2
display: do not create virtual planes for VIG planes
Demon000 Jan 4, 2023
b2746a2
Revert "display: sde_hw_mdss: Increase sde stage to map zpos changes"
Demon000 Dec 18, 2022
9529ca3
Revert "disp: msm: Notify sysfs for fod ui changes"
pwnrazr Jan 5, 2023
409c31b
Revert "display: sde_connector: update FOD HBM on dim layer change"
Demon000 Dec 17, 2022
fca9665
Revert "display: sde_crtc: setup dim layer"
Demon000 Dec 17, 2022
be7cf6f
drivers: dsi_panel: prepare for new fod stuff
pwnrazr Jan 5, 2023
7097c6f
display: dsi_panel: read FOD dimming LUT
Demon000 Feb 10, 2022
e402d37
display: use CSC for FOD dimming
Demon000 Dec 18, 2022
13dd5bf
display: dsi_panel: expose FOD dim alpha
Demon000 Dec 19, 2022
89ffaca
display: dsi_panel: expose FOD dim
Demon000 Feb 10, 2022
ba9069f
display: dsi_panel: track real backlight value
Demon000 Sep 9, 2021
11d920e
display: dsi_panel_get_fod_dim_alpha -> dsi_panel_calc_fod_dim_alpha
Demon000 Dec 17, 2022
9a89058
display: dsi_panel: create empty ettributes group
Demon000 Feb 10, 2022
239f4ed
display: dsi_panel: expose attribute to notify of fod changes
Demon000 Feb 10, 2022
acf2358
display: expose forcing FOD UI for debugging
Demon000 May 13, 2022
1ba001d
display: expose dim alpha for debugging
Demon000 Jun 1, 2022
12b717f
display: sde_connector: update FOD HBM on FOD status change
Demon000 Feb 10, 2022
9a6619e
sde_plane: correctly set PLANE_PROP_FOD to dirty rects
RealJohnGalt Dec 20, 2022
f4c60d1
sde_connector: fix off by one frame on press hbm for dim
RealJohnGalt Jan 3, 2023
2575efb
display: dsi_panel: include dsi_display
pwnrazr Jan 5, 2023
2a6444d
display: dsi_panel: change prop name to fit ours
pwnrazr Jan 5, 2023
cc68460
drm/msm/sde: Don't set fod dim alpha while HBM is active
pwnrazr Jan 8, 2023
dba10d3
msm/dsi: free phy_timing_val if it's not used anymore
Aug 30, 2019
b2b272e
Display: CSC DC dimming implementation
RealJohnGalt Jan 12, 2023
17a7d1d
Display: new panel attribute for previous dc dim state
RealJohnGalt Jan 13, 2023
2969b9a
Display: optimize CSC dirty marking
Demon000 Jan 5, 2023
5579ee9
Display: optimize src split order writing
Demon000 Jan 5, 2023
e106662
sde_crtc: Remove unused variables after 4f4bc359ea46
pwnrazr Jan 18, 2023
17c3074
display: dsi_panel: Rename to disp-dc-dim-lut
pwnrazr Jan 18, 2023
f93d417
display: dsi_panel: Complete CSC DC Dimming
pwnrazr Jan 22, 2023
5e330c1
dts: ea8076: dc-dim-lut: import stock values
pwnrazr Jan 21, 2023
a57bf3d
dts: ea8076: fod-dim-lut: tune
pwnrazr Jan 22, 2023
2fcda28
dts: ea8076: fod-dim-lut: specifically tune lower dim values
pwnrazr Jan 22, 2023
1793bc1
display: dsi_panel: do not allow fod dim alpha to go below 1
pwnrazr Jan 22, 2023
02a378c
drm/msm/sde: do not dc dim when HBM is set
pwnrazr Jan 22, 2023
71b4be3
Revert "display: dsi_panel: Fix unused variable when exposure_adjustm…
pwnrazr Jan 23, 2023
cd2bdd0
display: dsi_panel: Prevent panel going full black when extra dim is …
pwnrazr Jan 23, 2023
183585e
display: expose dc dim alpha for debugging
pwnrazr Jan 24, 2023
588cfe2
dts: ea8076: dc-dim-lut: tune to match normal brightness mode
pwnrazr Jan 24, 2023
ca6140b
display: complete HBM impl
onettboots May 15, 2026
39e7681
arch: arm64: configs: xiaomi: Decommonize vayu audio codec
armdebug Jul 27, 2025
b46b52a
techpack: audio: Fix broken preprocessor guards in techpack import
armdebug Jun 28, 2025
729eeb6
sm8150-common.config: Enable Unicode
drosen-google Feb 22, 2023
b16128b
goodix_driver_gt9886: UDFPS, double and single tap
pwnrazr Jun 18, 2024
9001b3a
ARM: dts: sm8150-gpu: Update frequenties
firebird11 Mar 28, 2026
14da2c3
power: supply: smb5: stop forcing 5V when PD becomes active
firebird11 Mar 26, 2026
5030562
usb: pd: enable verify_process for raphael
firebird11 Mar 29, 2026
17b06fe
usb: pd: enable 9V fast charging for raphael
firebird11 Mar 30, 2026
c17f84d
input: misc: qti-haptics: implement userspace vibration control
Jebaitedneko Jul 6, 2021
de73677
input: misc: qti-haptics: allow up to 3.7v for VMAX
Jebaitedneko Jul 26, 2021
8ae37b5
input: touchscreen: goodix: decouple udfps_enabled from gesture mode
firebird11 Apr 11, 2026
ff1b423
usb: pd: Raise maximum fixed PDO current to 3000 mA
firebird11 Jul 11, 2026
a084f1c
drivers: Add KSU config path
neobuddy89 Feb 6, 2025
70cc621
drivers: Import KernelSU-Next legacy-susfs-v2
neobuddy89 Jul 9, 2026
80f417d
drivers: Rename make files for kernelsu inline build
neobuddy89 May 3, 2026
5ed1cee
drivers: Set proper version for KernelSU-Next
neobuddy89 May 3, 2026
42bff5a
drivers: Add kernelsu hooks
neobuddy89 Mar 31, 2026
e7593b8
BACKPORT: seccomp: add filter_count field for KernelSU
selfmusing Aug 24, 2025
e4ad2df
BACKPORT: cred: add get_cred_rcu()
Dec 3, 2018
3dbf8a6
BACKPORT: fs: path_umount for KernelSu
Mar 8, 2024
8508c6a
proc: add seq_put_decimal_ull_width to speed up /proc/pid/smaps
avagin Apr 10, 2018
4c05353
procfs: add seq_put_hex_ll to speed up /proc/pid/maps
avagin Apr 10, 2018
cd5547a
mm: /proc/pid/*maps remove is_pid and related wrappers
tehcaster Aug 22, 2018
bcfdf58
mm: /proc/pid/smaps: factor out mem stats gathering
tehcaster Aug 22, 2018
1babbf9
mm: /proc/pid/smaps: factor out common stats printing
tehcaster Aug 22, 2018
ee30c17
mm: /proc/pid/smaps_rollup: convert to single value seq_file
tehcaster Aug 22, 2018
d5ff449
mm/pkeys, powerpc, x86: Provide an empty vma_pkey() in linux/pkeys.h
mpe Apr 11, 2018
46d0457
mm/pkeys: Add an empty arch_pkeys_enabled()
mpe Apr 13, 2018
4d9e1ae
fs/task_mmu: add pkeys header
sidex15 Oct 20, 2025
7088df4
mm: smaps: split PSS into components
Jul 12, 2019
c194f0c
proc: less memory for /proc/*/map_files readdir
Feb 6, 2018
ea103cd
ida: Lock the IDA in ida_destroy
Jun 21, 2018
20ae5a9
fs: Convert unnamed_dev_ida to new API
Jun 11, 2018
c8686cc
fs: Convert namespace IDAs to new API
Jun 11, 2018
f2eb028
fs: implement susfs v2.0.0
sidex15 Dec 14, 2025
a5589a4
fs: susfs: increase DEFAULT_KSU_MNT_ID and DEFAULT_KSU_MNT_GROUP_ID t…
sidex15 Dec 28, 2025
a632920
fs: susfs: rename susfs_hide_sus_mnts_for_all_procs to susfs_hide_sus…
sidex15 Jan 24, 2026
9b95f59
fs: susfs: change inode->i_mapping->flags to inode->i_state for stori…
sidex15 Jan 27, 2026
1040cc5
fs: susfs: Replaced susfs_is_boot_completed_triggered with susfs_is_s…
sidex15 Jan 30, 2026
1796e11
fs: susfs: Use fsnotify to monitor /sdcard/Android instead of the ker…
sidex15 Feb 4, 2026
6ea8c9b
fs: susfs: Keep checking for ksu domain and assigning sus mnt_group_i…
sidex15 Feb 12, 2026
24c066a
fs: susfs: defer fsnotify cleanup to avoid SRCU self-deadlock
sidex15 Feb 12, 2026
b1ca505
mm/vmscan: add sysctl knobs for protecting the working set
sidex15 Feb 20, 2026
8acf125
fs: susfs: Fix potential race issue for SUS_MAP
sidex15 Feb 24, 2026
eb76c15
fs: susfs: Optimize SUS_MOUNT and other optimizations
sidex15 Mar 3, 2026
40a3eaf
fs: susfs: update sus_path and sus_path_loop to latest susfs 5.10 ups…
sidex15 Mar 11, 2026
40803f6
fs: susfs: Better logging for SUS_PATH; Update ksu_susfs
sidex15 Mar 19, 2026
badd801
fs: susfs: Refine SUS_KSTAT !!! This commit requires the updated ksu_…
sidex15 Mar 20, 2026
699144d
fs: susfs: More bug fixes and improvements for SUS_MOUNT - Back to us…
sidex15 Mar 20, 2026
fd1785a
fs: susfs: Fix for another potential race issue for SUS_MOUNT
sidex15 Mar 20, 2026
a975ce9
fs: susfs: sync version v2.1.0 de-inlined
sidex15 Mar 23, 2026
42c8cc9
fs: susfs: changes and bug fixes for OPEN_REDIRECT, SUS_MAP, and memo…
sidex15 Mar 24, 2026
93e45a6
Fix compiler error related to 'struct kstat'
gavdoc38 Apr 15, 2026
b03bd40
Fix missed declarations that should have been renamed/refined
gavdoc38 Apr 15, 2026
8c8a32e
fs: susfs: Fix potential race issue and bugs for SUS_KSTAT & OPEN_RED…
sidex15 May 3, 2026
6b82579
fs: susfs: Replace all spinlocks with mutexes
sidex15 May 3, 2026
ca2d644
fs: susfs: Remove redundant entry->target_ino check in hash_for_each_…
sidex15 May 3, 2026
9cb8777
fs: susfs: Fix possible kernel panic
sidex15 May 3, 2026
bd9e6a4
fs: susfs: Fix fuse path leaking from getdents/readdir syscall variants
sidex15 May 3, 2026
3172efd
fs: susfs: Re-use mnt_id_ida and mnt_group_ida
sidex15 May 3, 2026
b286541
fs: susfs: defer susfs_run_sus_path_loop() to workqueue
sidex15 May 3, 2026
76104b2
fs: susfs: Change su domain from 'su' to 'ksu'
gavdoc38 Apr 19, 2026
64a0e36
kernel: More code improvement and bug fixes for SUS_MAP
sidex15 Jun 21, 2026
04fd984
kernel: SUS_PATH: fix errno leaks for sub paths
sidex15 Jun 21, 2026
5269ed0
fs: susfs: Bump Version to v2.2.0
sidex15 Jun 21, 2026
c020004
mm: susfs: implement sus_memfd
sidex15 Jul 3, 2026
c90639a
drivers: Enable sus_memfd
neobuddy89 Jul 9, 2026
86144fe
alarmtimer: Fix argument order in alarm_timer_forward()
zhanxusheng1024-os Mar 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions Documentation/ABI/testing/procfs-smaps_rollup
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,28 @@ Date: August 2017
Contact: Daniel Colascione <dancol@google.com>
Description:
This file provides pre-summed memory information for a
process. The format is identical to /proc/pid/smaps,
process. The format is almost identical to /proc/pid/smaps,
except instead of an entry for each VMA in a process,
smaps_rollup has a single entry (tagged "[rollup]")
for which each field is the sum of the corresponding
fields from all the maps in /proc/pid/smaps.
For more details, see the procfs man page.
Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem
are not present in /proc/pid/smaps. These fields represent
the sum of the Pss field of each type (anon, file, shmem).
For more details, see Documentation/filesystems/proc.txt
and the procfs man page.

Typical output looks like this:

00100000-ff709000 ---p 00000000 00:00 0 [rollup]
Size: 1192 kB
KernelPageSize: 4 kB
MMUPageSize: 4 kB
Rss: 884 kB
Pss: 385 kB
Pss_Anon: 301 kB
Pss_File: 80 kB
Pss_Shmem: 4 kB
Shared_Clean: 696 kB
Shared_Dirty: 0 kB
Private_Clean: 120 kB
Expand Down
41 changes: 31 additions & 10 deletions Documentation/filesystems/proc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,11 @@ Table 1-1: Process specific entries in /proc
symbol the task is blocked in - or "0" if not blocked.
pagemap Page table
stack Report full stack trace, enable via CONFIG_STACKTRACE
smaps an extension based on maps, showing the memory consumption of
smaps An extension based on maps, showing the memory consumption of
each mapping and flags associated with it
numa_maps an extension based on maps, showing the memory locality and
smaps_rollup Accumulated smaps stats for all mappings of the process. This
can be derived from smaps, but is faster and more convenient
numa_maps An extension based on maps, showing the memory locality and
binding policy as well as mem usage (in pages) of each mapping.
..............................................................................

Expand Down Expand Up @@ -349,7 +351,7 @@ Table 1-4: Contents of the stat files (as of 2.6.30-rc7)
exit_code the thread's exit_code in the form reported by the waitpid system call
..............................................................................

The /proc/PID/maps file containing the currently mapped memory regions and
The /proc/PID/maps file contains the currently mapped memory regions and
their access permissions.

The format is:
Expand Down Expand Up @@ -402,11 +404,14 @@ is not associated with a file:
or if empty, the mapping is anonymous.

The /proc/PID/smaps is an extension based on maps, showing the memory
consumption for each of the process's mappings. For each of mappings there
is a series of lines such as the following:
consumption for each of the process's mappings. For each mapping (aka Virtual
Memory Area, or VMA) there is a series of lines such as the following:

08048000-080bc000 r-xp 00000000 03:02 13130 /bin/bash

Size: 1084 kB
KernelPageSize: 4 kB
MMUPageSize: 4 kB
Rss: 892 kB
Pss: 374 kB
Shared_Clean: 892 kB
Expand All @@ -428,11 +433,14 @@ Locked: 0 kB
VmFlags: rd ex mr mw me dw
Name: name from userspace

the first of these lines shows the same information as is displayed for the
mapping in /proc/PID/maps. The remaining lines show the size of the mapping
(size), the amount of the mapping that is currently resident in RAM (RSS), the
process' proportional share of this mapping (PSS), the number of clean and
dirty private pages in the mapping.
The first of these lines shows the same information as is displayed for the
mapping in /proc/PID/maps. Following lines show the size of the mapping
(size); the size of each page allocated when backing a VMA (KernelPageSize),
which is usually the same as the size in the page table entries; the page size
used by the MMU when backing a VMA (in most cases, the same as KernelPageSize);
the amount of the mapping that is currently resident in RAM (RSS); the
process' proportional share of this mapping (PSS); and the number of clean and
dirty shared and private pages in the mapping.

The "proportional set size" (PSS) of a process is the count of pages it has
in memory, where each page is divided by the number of processes sharing it.
Expand Down Expand Up @@ -518,6 +526,19 @@ guarantees:
2) If there is something at a given vaddr during the entirety of the
life of the smaps/maps walk, there will be some output for it.

The /proc/PID/smaps_rollup file includes the same fields as /proc/PID/smaps,
but their values are the sums of the corresponding values for all mappings of
the process. Additionally, it contains these fields:

Pss_Anon
Pss_File
Pss_Shmem

They represent the proportional shares of anonymous, file, and shmem pages, as
described for smaps above. These fields are omitted in smaps since each
mapping identifies the type (anon, file, or shmem) of all pages it contains.
Thus all information in smaps_rollup can be derived from smaps, but at a
significantly higher cost.

The /proc/PID/clear_refs is used to reset the PG_Referenced and ACCESSED/YOUNG
bits on both physical and virtual pages associated with a process, and the
Expand Down
66 changes: 66 additions & 0 deletions Documentation/sysctl/vm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ files can be found in mm/swap.c.
Currently, these files are in /proc/sys/vm:

- admin_reserve_kbytes
- anon_min_kbytes
- block_dump
- clean_low_kbytes
- clean_min_kbytes
- compact_memory
- compact_unevictable_allowed
- dirty_background_bytes
Expand Down Expand Up @@ -99,13 +102,68 @@ Changing this takes effect whenever an application requests memory.

==============================================================

anon_min_kbytes

This knob provides *hard* protection of anonymous pages. The anonymous pages
on the current node won't be reclaimed under any conditions when their amount
is below vm.anon_min_kbytes.

This knob may be used to prevent excessive swap thrashing when anonymous
memory is low (for example, when memory is going to be overfilled by
compressed data of zram module).

Setting this value too high (close to MemTotal) can result in inability to
swap and can lead to early OOM under memory pressure.

The default value is defined by CONFIG_ANON_MIN_KBYTES.

==============================================================

block_dump

block_dump enables block I/O debugging when set to a nonzero value. More
information on block I/O debugging is in Documentation/laptops/laptop-mode.txt.

==============================================================

clean_low_kbytes

This knob provides *best-effort* protection of clean file pages. The file pages
on the current node won't be reclaimed under memory pressure when the amount of
clean file pages is below vm.clean_low_kbytes *unless* we threaten to OOM.

Protection of clean file pages using this knob may be used when swapping is
still possible to
- prevent disk I/O thrashing under memory pressure;
- improve performance in disk cache-bound tasks under memory pressure.

Setting it to a high value may result in a early eviction of anonymous pages
into the swap space by attempting to hold the protected amount of clean file
pages in memory.

The default value is defined by CONFIG_CLEAN_LOW_KBYTES.

==============================================================

clean_min_kbytes

This knob provides *hard* protection of clean file pages. The file pages on the
current node won't be reclaimed under memory pressure when the amount of clean
file pages is below vm.clean_min_kbytes.

Hard protection of clean file pages using this knob may be used to
- prevent disk I/O thrashing under memory pressure even with no free swap space;
- improve performance in disk cache-bound tasks under memory pressure;
- avoid high latency and prevent livelock in near-OOM conditions.

Setting it to a high value may result in a early out-of-memory condition due to
the inability to reclaim the protected amount of clean file pages when other
types of pages cannot be reclaimed.

The default value is defined by CONFIG_CLEAN_MIN_KBYTES.

==============================================================

compact_memory

Available only when CONFIG_COMPACTION is set. When 1 is written to the file,
Expand Down Expand Up @@ -837,6 +895,14 @@ decrease the amount of swap. A value of 0 instructs the kernel not to
initiate swap until the amount of free and file-backed pages is less
than the high water mark in a zone.

This knob has no effect if the amount of clean file pages on the current
node is below vm.clean_low_kbytes or vm.clean_min_kbytes. In this case,
only anonymous pages can be reclaimed.

If the number of anonymous pages on the current node is below
vm.anon_min_kbytes, then only file pages can be reclaimed with
any vm.swappiness value.

The default value is 60.

==============================================================
Expand Down
39 changes: 39 additions & 0 deletions arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,41 @@
# SPDX-License-Identifier: GPL-2.0
ifeq ($(CONFIG_MACH_XIAOMI),y)

ifeq ($(CONFIG_MACH_XIAOMI_SM8150),y)
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_SM8150) += \
andromeda-sm8150-overlay.dtbo \
andromeda-sm8150-p1-overlay.dtbo \
andromeda-sm8150-p1_1-overlay.dtbo \
andromeda-sm8150-p2-overlay.dtbo \
andromeda-sm8150-p2_1-overlay.dtbo \
andromeda-sm8150-p2_2-overlay.dtbo \
andromeda-sm8150-p2_21-overlay.dtbo \
andromeda-sm8150-p2_22-overlay.dtbo \
cepheus-sm8150-overlay.dtbo \
crux-sm8150-overlay.dtbo \
nabu-sm8150-overlay.dtbo \
raphael-sm8150-overlay.dtbo \
vayu-sm8150-overlay.dtbo

andromeda-sm8150-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
andromeda-sm8150-p1-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
andromeda-sm8150-p1_1-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
andromeda-sm8150-p2-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
andromeda-sm8150-p2_1-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
andromeda-sm8150-p2_2-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
andromeda-sm8150-p2_21-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
andromeda-sm8150-p2_22-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
cepheus-sm8150-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
crux-sm8150-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
nabu-sm8150-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
raphael-sm8150-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
vayu-sm8150-overlay.dtbo-base := sm8150-xiaomi.dtb sm8150-v2-xiaomi.dtb sm8150p-xiaomi.dtb sm8150p-v2-xiaomi.dtb
endif # CONFIG_BUILD_ARM64_DT_OVERLAY
endif # CONFIG_MACH_XIAOMI_SM8150

else # CONFIG_MACH_XIAOMI

ifeq ($(TARGET_BOARD_TYPE),auto)
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_SM8150) += \
Expand Down Expand Up @@ -588,6 +625,8 @@ endif

endif

endif # CONFIG_MACH_XIAOMI

ifeq ($(CONFIG_ARM64),y)
always := $(dtb-y)
subdir-y := $(dts-dirs)
Expand Down
34 changes: 34 additions & 0 deletions arch/arm64/boot/dts/qcom/andromeda-sm8150-overlay.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
* Copyright (C) 2021 XiaoMi, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

/dts-v1/;
/plugin/;

#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "xiaomi/overlay/andromeda/andromeda-sm8150.dtsi"
#include "xiaomi/overlay/andromeda/andromeda-audio-overlay.dtsi"

#include "sdx5xm-external-soc.dtsi"
#include "sm8150-sdx50m.dtsi"

/ {
model = "SDX50M ANDROMEDA";
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp";
qcom,board-id = <0x27 0x1>;

};

36 changes: 36 additions & 0 deletions arch/arm64/boot/dts/qcom/andromeda-sm8150-p1-overlay.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
* Copyright (C) 2021 XiaoMi, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

/dts-v1/;
/plugin/;

#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "xiaomi/overlay/andromeda/andromeda-audio-overlay.dtsi"

#include "xiaomi/overlay/andromeda/andromeda-sm8150-p1.dtsi"
#include "xiaomi/overlay/andromeda/andromeda-pinctrl-p1.dtsi"

#include "sdx5xm-external-soc.dtsi"
#include "sm8150-sdx50m.dtsi"

/ {
model = "SDX50M ANDROMEDA";
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp";
qcom,board-id = <0x28 0x1>;

};

36 changes: 36 additions & 0 deletions arch/arm64/boot/dts/qcom/andromeda-sm8150-p1_1-overlay.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
* Copyright (C) 2021 XiaoMi, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

/dts-v1/;
/plugin/;

#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "xiaomi/overlay/andromeda/andromeda-audio-overlay.dtsi"

#include "xiaomi/overlay/andromeda/andromeda-sm8150-p1_1.dtsi"
#include "xiaomi/overlay/andromeda/andromeda-pinctrl-p1_1.dtsi"

#include "sdx5xm-external-soc.dtsi"
#include "sm8150-sdx50m.dtsi"

/ {
model = "SDX50M ANDROMEDA";
compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp";
qcom,board-id = <0x2b 0x1>;

};

Loading