Skip to content

Commit

Permalink
binder: fixups for apply patch to binder: Checkout to android13-5.10-lts
Browse files Browse the repository at this point in the history
Signed-off-by: onettboots <blackcocopet@gmail.com>
  • Loading branch information
onettboots committed May 26, 2024
1 parent 31641fc commit d6a3f0c
Show file tree
Hide file tree
Showing 11 changed files with 534 additions and 663 deletions.
22 changes: 16 additions & 6 deletions drivers/android/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ menu "Android"

config ANDROID
bool "Android Drivers"
---help---
help
Enable support for various drivers needed on the Android platform

if ANDROID

config ANDROID_BINDER_IPC
bool "Android Binder IPC Driver"
depends on MMU && !M68K
depends on MMU
default n
---help---
help
Binder is used in Android for both communication between processes,
and remote method invocation.

Expand All @@ -24,7 +24,7 @@ config ANDROID_BINDERFS
bool "Android Binderfs filesystem"
depends on ANDROID_BINDER_IPC
default n
---help---
help
Binderfs is a pseudo-filesystem for the Android Binder IPC driver
which can be mounted per-ipc namespace allowing to run multiple
instances of Android.
Expand All @@ -36,7 +36,7 @@ config ANDROID_BINDER_DEVICES
string "Android Binder devices"
depends on ANDROID_BINDER_IPC
default "binder,hwbinder,vndbinder"
---help---
help
Default value for the binder.devices parameter.

The binder.devices parameter is a comma-separated list of strings
Expand All @@ -47,13 +47,23 @@ config ANDROID_BINDER_DEVICES
config ANDROID_BINDER_IPC_SELFTEST
bool "Android Binder IPC Driver Selftest"
depends on ANDROID_BINDER_IPC
---help---
help
This feature allows binder selftest to run.

Binder selftest checks the allocation and free of binder buffers
exhaustively with combinations of various buffer sizes and
alignments.

config ANDROID_BINDER_LOGS
bool "Android Binder Logging"
depends on ANDROID_BINDERFS
help
Enables binder_logs directory in binderfs and debug_mask for dmesg
logging. Needed for DEBUG_FS.
This option impacts performance.

Say N on production builds.

config ANDROID_SIMPLE_LMK
bool "Simple Android Low Memory Killer"
depends on !ANDROID_LOW_MEMORY_KILLER && !MEMCG && !PSI
Expand Down
Loading

0 comments on commit d6a3f0c

Please sign in to comment.