-
Notifications
You must be signed in to change notification settings - Fork 153
linux-qcom-next/linux-yocto-dev: enable more use cases #1180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
a8f99fd
580faed
310323a
90a5b02
e87be67
5663248
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -308,3 +308,102 @@ CONFIG_NFT_TPROXY=m | |
| CONFIG_NFT_TUNNEL=m | ||
| CONFIG_PACKET_DIAG=y | ||
| CONFIG_VETH=m | ||
|
|
||
| # ZRAM | ||
| CONFIG_ZRAM=y | ||
| CONFIG_ZRAM_BACKEND_LZ4=y | ||
| CONFIG_ZRAM_BACKEND_LZ4HC=y | ||
| CONFIG_ZRAM_BACKEND_ZSTD=y | ||
| CONFIG_ZRAM_BACKEND_DEFLATE=y | ||
| CONFIG_ZRAM_BACKEND_842=y | ||
| CONFIG_ZRAM_BACKEND_LZO=y | ||
| # CONFIG_ZRAM_DEF_COMP_LZORLE is not set | ||
| CONFIG_ZRAM_DEF_COMP_LZO=y | ||
| # CONFIG_ZRAM_DEF_COMP_LZ4 is not set | ||
| # CONFIG_ZRAM_DEF_COMP_LZ4HC is not set | ||
| # CONFIG_ZRAM_DEF_COMP_ZSTD is not set | ||
| # CONFIG_ZRAM_DEF_COMP_DEFLATE is not set | ||
| # CONFIG_ZRAM_DEF_COMP_842 is not set | ||
| CONFIG_ZRAM_DEF_COMP="lzo" | ||
| CONFIG_ZRAM_WRITEBACK=y | ||
| CONFIG_ZRAM_TRACK_ENTRY_ACTIME=y | ||
| CONFIG_ZRAM_MEMORY_TRACKING=y | ||
| CONFIG_ZRAM_MULTI_COMP=y | ||
|
|
||
| # Wifi | ||
| CONFIG_ASYMMETRIC_KEY_TYPE=y | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think most of these should be built as modules already. Could you please check / confirm?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll check later today, this section of the config is a copy/paste of what iwd told me to enable. I can turn all tristate options in
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd rather not keep the full list here. It is ridiculously long and verbose. Most of the options are enabled by default. If you list all of them, for me it means that all of them are set incorrectly in the qcom-next config or in the defconfig.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The options that are enabled in linux-qcom-next in its current form are these: Which means that this specific kernel only needs the following: I'd still like to keep the complete list, since that makes it easier and less error-prone to copy this between kernels (linux-qcom-next, linux-yocto-dev, linux-yocto and vendor kernels). I also don't trust upstream linux to not regress defconfigs, especially for things we currently don't test.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you want a comprehensive list, please also enable ARM-specific crypto acceleration options.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. EAP-PEAP with MsCHAPv2 still uses MD4, EAP-MD5 uses, well MD5 and 3DES is sadly still allowed as an alternative to AES when using 802.1x :( I'll have a look at the ARM-specific crypto options. |
||
| CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y | ||
| CONFIG_CFG80211_CRDA_SUPPORT=y | ||
| CONFIG_CRYPTO_AES=y | ||
| CONFIG_CRYPTO_ARC4=m | ||
| CONFIG_CRYPTO_CBC=m | ||
| CONFIG_CRYPTO_CMAC=m | ||
| CONFIG_CRYPTO_DES=m | ||
| CONFIG_CRYPTO_ECB=y | ||
| CONFIG_CRYPTO_HMAC=y | ||
| CONFIG_CRYPTO_MD4=m | ||
| CONFIG_CRYPTO_MD5=m | ||
| CONFIG_CRYPTO_RSA=y | ||
| CONFIG_CRYPTO_SHA1=m | ||
| CONFIG_CRYPTO_SHA256=m | ||
| CONFIG_CRYPTO_SHA512=y | ||
| CONFIG_CRYPTO_USER_API_AEAD=m | ||
| CONFIG_CRYPTO_USER_API_HASH=m | ||
| CONFIG_CRYPTO_USER_API_SKCIPHER=m | ||
| CONFIG_KEY_DH_OPERATIONS=y | ||
| CONFIG_PKCS7_MESSAGE_PARSER=y | ||
| CONFIG_X509_CERTIFICATE_PARSER=y | ||
|
|
||
| # Accelerated crypto drivers for Arm | ||
| CONFIG_CRYPTO_AES_ARM64_BS=m | ||
| CONFIG_CRYPTO_AES_ARM64_CE_BLK=m | ||
| CONFIG_CRYPTO_AES_ARM64_CE_CCM=m | ||
| CONFIG_CRYPTO_AES_ARM64_CE=m | ||
| CONFIG_CRYPTO_AES_ARM64=m | ||
| CONFIG_CRYPTO_AES_ARM64_NEON_BLK=m | ||
| CONFIG_CRYPTO_AES_ARM_BS=m | ||
| CONFIG_CRYPTO_AES_ARM_CE=m | ||
| CONFIG_CRYPTO_AES_ARM=m | ||
| CONFIG_CRYPTO_BLAKE2B_NEON=m | ||
| CONFIG_CRYPTO_BLAKE2S_ARM=m | ||
| CONFIG_CRYPTO_CHACHA20_NEON=m | ||
| CONFIG_CRYPTO_CURVE25519_NEON=m | ||
| CONFIG_CRYPTO_GHASH_ARM64_CE=m | ||
| CONFIG_CRYPTO_GHASH_ARM_CE=m | ||
| CONFIG_CRYPTO_NHPOLY1305_NEON=m | ||
| CONFIG_CRYPTO_POLY1305_ARM=m | ||
| CONFIG_CRYPTO_POLY1305_NEON=m | ||
| CONFIG_CRYPTO_POLYVAL_ARM64_CE=m | ||
| CONFIG_CRYPTO_SHA3_ARM64=m | ||
| CONFIG_CRYPTO_SM3_ARM64_CE=m | ||
| CONFIG_CRYPTO_SM3_NEON=m | ||
| CONFIG_CRYPTO_SM4_ARM64_CE_BLK=m | ||
| CONFIG_CRYPTO_SM4_ARM64_CE_CCM=m | ||
| CONFIG_CRYPTO_SM4_ARM64_CE_GCM=m | ||
| CONFIG_CRYPTO_SM4_ARM64_CE=m | ||
| CONFIG_CRYPTO_SM4_ARM64_NEON_BLK=m | ||
|
|
||
| # Docker/Podman non-networking options | ||
| CONFIG_BINFMT_MISC=y | ||
|
|
||
| # LED triggers | ||
| CONFIG_LEDS_TRIGGERS=y | ||
| CONFIG_LEDS_TRIGGER_ACTIVITY=y | ||
| CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
| CONFIG_LEDS_TRIGGER_CAMERA=y | ||
| CONFIG_LEDS_TRIGGER_CPU=y | ||
| CONFIG_LEDS_TRIGGER_DEFAULT_ON=y | ||
| CONFIG_LEDS_TRIGGER_DISK=y | ||
| CONFIG_LEDS_TRIGGER_GPIO=y | ||
| CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
| CONFIG_LEDS_TRIGGER_INPUT_EVENTS=y | ||
| CONFIG_LEDS_TRIGGER_MTD=y | ||
| CONFIG_LEDS_TRIGGER_NETDEV=y | ||
| CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
| CONFIG_LEDS_TRIGGER_PANIC=y | ||
| CONFIG_LEDS_TRIGGER_PATTERN=y | ||
| CONFIG_LEDS_TRIGGER_TIMER=y | ||
| CONFIG_LEDS_TRIGGER_TRANSIENT=y | ||
| CONFIG_LEDS_TRIGGER_TTY=y | ||
| CONFIG_USB_LEDS_TRIGGER_USBPORT=y | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise. Is
CONFIG_ZRAM=ynot enough?