forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 7
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
PineNote config categorization + crypto modules enablement + wireless update + IPsec enablement #8
Open
diederikdehaas
wants to merge
10
commits into
m-weigand:branch_pinenote_6-12_v1
Choose a base branch
from
diederikdehaas:pn-config-crypto
base: branch_pinenote_6-12_v1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The blocks started with ``file: <path>/Kconfig[.ext]`` should be sorted alphabetically. Fix the sort order so that they are.
Move the various USB module configuration options under their appropriate header. This makes it easier to see to what category they belong and where to look in the kernel sources. It's also the catogorization as used by the Debian kernel, which makes comparing with that easier.
The ``I2C_COMPAT`` module was dropped due to upstream commit 7e72208 ("i2c: Remove I2C_COMPAT config symbol and related code") Link: https://git.kernel.org/linus/7e722083fcc3e148838fc3dc2486c498908c4677
The CYTTSP4 modules were dropped due to upstream commit 25162a4 ("Input: cyttsp4 - remove driver") Link: https://git.kernel.org/linus/25162a4f64f8ba0065f300977589fe1f6af332f0
Before updating the configuration, let's categorize them first.
Cryptography, which includes hashing algorithms, are used in MANY places and you want to use the modules provided by the kernel, so enable the most common ones as modules, just like is being done in the Debian kernel package. Only make CRYPTO_SHA256 built-in just like the Debian kernel even though the precise reason for that does not apply here. Also enable support for crypto hardware modules. Link: https://www.wireguard.com/papers/wireguard.pdf
diederikdehaas
force-pushed
the
pn-config-crypto
branch
from
December 29, 2024 20:31
e999f61
to
3ac45f8
Compare
Several modules were defined more then once, 2 went from "XZY is not set" to being defined and the others were just defined twice.
Categorize the modules under the ``/net/`` directory. It's (quite) possible I missed several, but those can be added later. The networking drivers, which can be found under ``/drivers/net``, are deliberately not part of this commit. Drop ``WIRELESS_EXT`` as that module is not user selectable.
Primary motivation for updating was removing the ``CFG80211_WEXT`` module as Wireless Extensions have been deprecated for over a decade now, so there really is no reason to enable it for the PineNote. Furthermore, make the config more in line with Debian's, but don't include the ones Debian has because they want to support ancient stuff.
Enable the modules for strongSwan's IPsec support. While at it, also enable ``INET_DIAG`` as that's really useful. Link: https://docs.strongswan.org/docs/latest/install/kernelModules.html
diederikdehaas
changed the title
PineNote config categorization + crypto module enablement
PineNote config categorization + crypto modules enablement + wireless update + IPsec enablement
Dec 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR does the following updates:
This also makes it more in line with Debian's kernel config.