kbuild: treat char as always signed
PATCH 1/1 kbuild: treat char as always signed
Recently, some compile-time checking I added to the clamp_t family of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the naked char type is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.
I doubt this particular driver is the only instance in which unsuspecting authors assume that char with no signed or unsigned designation is signed, because that's how the other types work. We were lucky enough this time that that driver used clamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.
So let's just eliminate this particular variety of heisensigned bugs entirely. Set -fsigned-char globally, so that gcc makes the type signed on all architectures.
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -562,7 +562,7 @@ KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \ -Werror=implicit-function-declaration -Werror=implicit-int \ - -Werror=return-type -Wno-format-security \ + -Werror=return-type -Wno-format-security -fsigned-char \ -std=gnu11 KBUILD_CPPFLAGS := -D__KERNEL__ KBUILD_RUSTFLAGS := $(rust_common_flags) \
Signature · 1 line
2.38.1
Quoted 9 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.So let's just eliminate this particular variety of heisensigned bugs entirely. Set
-fsigned-charglobally, so that gcc makes the type signed on all architectures.
This is an ABI change. It is also hugely detrimental to generated code quality on architectures that make the saner choice (that is, have most instructions zero-extend byte quantities).
Instead, don't actively disable the compiler warnings that catch such cases? So start with removing footguns like
# disable pointer signed / unsigned warnings in gcc 4.0 KBUILD_CFLAGS += -Wno-pointer-sign
Segher
Quoted 4 lines · Segher Boessenkool
This is an ABI change. It is also hugely detrimental to generated code quality on architectures that make the saner choice (that is, have most instructions zero-extend byte quantities).
Yeah, I agree. We should just accept the standard wording, and be aware that 'char' has indeterminate signedness.
But:
Quoted 5 lines
Instead, don't actively disable the compiler warnings that catch such cases? So start with removing footguns like
# disable pointer signed / unsigned warnings in gcc 4.0 KBUILD_CFLAGS += -Wno-pointer-sign
Nope, that won't fly.
The pointer-sign thing doesn't actually help (ie it won't find places where you actually compare a char), and it causes untold damage in doing completely insane things.
For example, it suddenly starts warning if you *are* being careful, and explicitly use 'unsigned char array[]' things to avoid any sign issues, and then want to do simple and straightforward things with said array (like doing a 'strcmp()' on it).
Seriously, -Wpointer-sign is not just useless, it's actively _evil_. The fact that you suggest that clearly means that you've never used it.
Linus
Quoted 4 lines · Linus Torvalds
The pointer-sign thing doesn't actually help (ie it won't find places where you actually compare a char), and it causes untold damage in doing completely insane things.
Side note: several years ago I tried to make up some sane rules to have 'sparse' actually be able to warn when a 'char' was used in a context where the sign mattered.
I failed miserably.
You actually can see some signs (heh) of that in the sparse sources, in that the type system actually has a bit for explicitly signed types ("MOD_EXPLICITLY_SIGNED"), but it ends up being almost entirely unused.
That bit does still have one particular use: the "bitfield is dubiously signed" thing where sparse will complain about bitfields that are implicitly (but not explicitly) signed. Because people really expect 'int a:1' to have values 0/1, not 0/-1.
But the original intent was to find code where people used a 'char' that wasn't explicitly signed, and that then had architecture-defined behavior.
I just could not come up with any even remotely sane warning heuristics that didn't have a metric buttload of false positives.
I still have this feeling that it *should* be possible to warn about the situation where you end up doing an implicit type widening (ie the normal C "arithmetic is always done in at least 'int'") that then does not get narrowed down again without the upper bits ever mattering.
But it needs somebody smarter than me, I'm afraid.
And the fact that I don't think any other compiler has that warning either makes me just wonder if my feeling that it should be possible is just wrong.
Linus
Quoted 11 lines · Linus Torvalds
Quoted 4 lines · Linus Torvalds
The pointer-sign thing doesn't actually help (ie it won't find places where you actually compare a char), and it causes untold damage in doing completely insane things.
Side note: several years ago I tried to make up some sane rules to have 'sparse' actually be able to warn when a 'char' was used in a context where the sign mattered.
Do you have examples? Maybe we could turn this into a compiler feature request. Having prior art on the problem would be a boon.
Quoted 8 lines
I failed miserably.
You actually can see some signs (heh) of that in the sparse sources, in that the type system actually has a bit for explicitly signed types ("
MOD_EXPLICITLY_SIGNED"), but it ends up being almost entirely unused.
Quoted 4 lines
That bit does still have one particular use: the "bitfield is dubiously signed" thing where sparse will complain about bitfields that are implicitly (but not explicitly) signed. Because people really expect 'int a:1' to have values 0/1, not 0/-1.
Clang's -Wbitfield-constant-conversion can catch that.
commit 5c5c2baad2b5 ("ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion")
commit eab9100d9898 ("ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion")
commit 37209783c73a ("thunderbolt: Make priority unsigned in struct tb_path")
Quoted 20 lines
But the original intent was to find code where people used a 'char' that wasn't explicitly signed, and that then had architecture-defined behavior.
I just could not come up with any even remotely sane warning heuristics that didn't have a metric buttload of false positives.
I still have this feeling that it *should* be possible to warn about the situation where you end up doing an implicit type widening (ie the normal C "arithmetic is always done in at least 'int'") that then does not get narrowed down again without the upper bits ever mattering.
But it needs somebody smarter than me, I'm afraid.
And the fact that I don't think any other compiler has that warning either makes me just wonder if my feeling that it should be possible is just wrong.
Linus
Signature · 2 lines
Thanks, ~Nick Desaulniers
Quoted 9 lines · Nick Desaulniers
On Wed, Oct 19, 2022 at 10:26 AM Linus Torvalds
Quoted 4 lines
Side note: several years ago I tried to make up some sane rules to have 'sparse' actually be able to warn when a 'char' was used in a context where the sign mattered.
Do you have examples? Maybe we could turn this into a compiler feature request. Having prior art on the problem would be a boon.
It's been over a decade since I seriously worked on sparse (Hmm. Probably two, actually). And I never got the 'char' logic to work well enough for it to have ever made it into the kernel.
I'm also fairly sure I did it wrong - if I recall correctly, I did it on the type system level, and the logic was in the tree simplification, which was always much too weak.
Sparse does *some* expression simplification as it builds up the parse tree and does all the type evaluations ("evaludate.c" in sparse), but most of the real optimization work is done on the SSA format.
So what I probably *should* have done was to have a special "BEXT" opcode (for "byte extend", the same way sparse has ZEXT and SEXT for well-defined integer zero extend and sign extend), and linearized it with all the simplifications that we do on the SSA level, and then if the BEXT opcode still exists after all our optimization work, we'd warn about it, because that means that the signedness ends up mattering.
But sparse originally did almost everything just based on the type system, which was the original intent of sparse (ie the whole "extend the pointer types to have different address spaces" was really what sparse was all about).
Quoted 1 line
Clang's -Wbitfield-constant-conversion can catch that.
Yeah, so bitfield signedness is really trivial, and works all on the type system.
It's very easy to say: "you defined this member as an implicitly signed bitfield, did you *really* mean to do that?" because signed bitfields simply do not exists in the kernel.
So that warning is trivial, and the fix is basically universally change 'int a:1' to 'unsigned a:1', because even *if* you do want signed bitfields, it's just better to make that very very explicit, and write it as 'signed int x:10'.
We do have a couple of signed bitfields in the kernel, but they are unusual enough that it's actually a good thing that sparse just made people be explicit about it.
Do
git grep '\<signed\>.*:[1-9]'
to see the (few) examples and a few false positives that trigger in the trace docs.
So sparse doesn't actually have to be clever about bitfield signs. It can literally just say "did you really mean to do that", and that's it. Very simple. Not at all the complexity that 'char' has, where every single use technically tends to cause a sign-extension (due to the integer conversion), but that doesn't mean that it *matters* in the end.
Linus
Quoted 2 lines · Linus Torvalds
On Wed, Oct 19, 2022 at 11:10 AM Nick Desaulniers
<[email protected]> wrote:
...
Quoted 3 lines
We do have a couple of signed bitfields in the kernel, but they are unusual enough that it's actually a good thing that sparse just made people be explicit about it.
At least drivers/media/usb/msi2500/msi2500.c:289 can be converted to use sign_extend32() I believe.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 7 lines · Andy Shevchenko
Quoted 4 lines
We do have a couple of signed bitfields in the kernel, but they are unusual enough that it's actually a good thing that sparse just made people be explicit about it.
At least
drivers/media/usb/msi2500/msi2500.c:289can be converted to usesign_extend32()I believe.
Heh. I didn't even look at that one - I did check that yeah, the MIPS ones made sense (I say "ones", because while my grep pattern only finds one, there are several others that have spacing that just made my grep miss them).
You're right, that msi2500 use is a very odd use of bitfields for just sign extension.
That's hilariously odd code, but not exactly wrong. And using "signed int x:14" does make it very explicit that the bitfield wants that sign.
And that code does actually have a fair number of comments to explain each step, so I think it's all ok. Strange, but ok.
Linus
Hi!
Quoted 9 lines · Linus Torvalds
Quoted 4 lines · Segher Boessenkool
This is an ABI change. It is also hugely detrimental to generated code quality on architectures that make the saner choice (that is, have most instructions zero-extend byte quantities).
Yeah, I agree. We should just accept the standard wording, and be aware that 'char' has indeterminate signedness.
And plain "char" is a separate type from "signed char" and "unsigned char" both.
Quoted 5 lines
But:
Quoted 3 lines
Instead, don't actively disable the compiler warnings that catch such cases? So start with removing footguns like
Quoted 8 lines
Quoted 2 lines
# disable pointer signed / unsigned warnings in gcc 4.0 KBUILD_CFLAGS += -Wno-pointer-signNope, that won't fly.
The pointer-sign thing doesn't actually help (ie it won't find places where you actually compare a char), and it causes untold damage in doing completely insane things.
When I did this more than a decade ago there indeed was a LOT of noise, mostly caused by dubious code. I do agree many cases detected are not very important, but it also revealed cases where a filesystem's disk format changed (atarifs or amigafs or such iirc) -- many cases it is annoying to be reminded of sloppy code, but in some cases it detects crucial problems.
Quoted 1 line
Seriously, -Wpointer-sign is not just useless, it's actively _evil_.
Then suggest something better? Or suggest improvements to the existing warning?
This warning is part of -Wall, most people must not have problems with it (or people are so apathetic about this that they have not complained about it).
It is easy to improve your code when the compiler detects problems like this. Of course after such a long time of lax code sanity enforcement you get all warnings at once :-/
Quoted 2 lines
The fact that you suggest that clearly means that you've never used it.
Ah, ad hominems. Great.
Segher
Quoted 3 lines · Segher Boessenkool
When I did this more than a decade ago there indeed was a LOT of noise, mostly caused by dubious code.
It really happens with explicitly *not* dubious code.
Using 'unsigned char[]' is very common in code that actually does anything where you care about the actual byte values. Things like utf-8 handling, things like compression, lots and lots of cases.
But a number of those cases are still dealing with *strings*. UTF-8 is still a perfectly valid C string format, and using 'strlen()' on a buffer that contains UTF-8 is neither unusual nor wrong. It is still the proper way to get the byte length of the thing. It's how UTF-8 is literally designed.
And -Wpointer-sign will complain about that, unless you start doing explicit casting, which is just a worse fix than the disease.
Explicit casts are bad (unless, of course, you are explicitly trying to violate the type system, when they are both required, and a great way to say "look, I'm doing something dangerous").
So people who say "just cast it", don't understand that casts *should* be seen as "this code is doing something special, tread carefully". If you just randomly add casts to shut up a warning, the casts become normalized and don't raise the kind of warning signs that they *should* raise.
And it's really annoying, because the code ends up using 'unsigned char' exactly _because_ it's trying to be careful and explicit about signs, and then the warning makes that carefully written code worse.
Quoted 2 lines
Then suggest something better? Or suggest improvements to the existing warning?
As I mentioned in the next email, I tried to come up with something better in sparse, which wasn't based on the pointer type comparison, but on the actual 'char' itself.
My (admittedly only ever half-implemented) thing actually worked fine for the simple cases (where simplification would end up just undoing all the "expand char to int" because the end use was just assigned to another char, or it was masked for other reasons).
But while sparse does a lot of basic optimizations, it still left enough "look, you're doing sign-extensions on a 'char'" on the table that it warned about perfectly valid stuff.
And maybe that's fundamentally hard.
The "-Wpointer-sign" thing could probably be fairly easily improved, by just recognizing that things like 'strlen()' and friends do not care about the sign of 'char', and neither does a 'strcmp()' that only checks for equality (but if you check the *sign* of strcmp, it does matter).
It's been some time since I last tried it, but at least from memory, it really was mostly the standard C string functions that caused almost all problems. Your *own* functions you can just make sure the signedness is right, but it's really really annoying when you try to be careful about the byte signs, and the compiler starts complaining just because you want to use the bog-standard 'strlen()' function.
And no, something like 'ustrlen()' with a hidden cast is just noise for a warning that really shouldn't exist.
So some way to say 'this function really doesn't care about the sign of this pointer' (and having the compiler know that for the string functions it already knows about anyway) would probably make almost all problems with -Wsign-warning go away.
Put another way: 'char *' is so fundamental and inherent in C, that you can't just warn when people use it in contexts where sign really doesn't matter.
Linus
Quoted 23 lines · Linus Torvalds
But while sparse does a lot of basic optimizations, it still left enough "look, you're doing sign-extensions on a 'char'" on the table that it warned about perfectly valid stuff.
And maybe that's fundamentally hard.
The "-Wpointer-sign" thing could probably be fairly easily improved, by just recognizing that things like '
strlen()' and friends do not care about the sign of 'char', and neither does a 'strcmp()' that only checks for equality (but if you check the *sign* of strcmp, it does matter).It's been some time since I last tried it, but at least from memory, it really was mostly the standard C string functions that caused almost all problems. Your *own* functions you can just make sure the signedness is right, but it's really really annoying when you try to be careful about the byte signs, and the compiler starts complaining just because you want to use the bog-standard '
strlen()' function.And no, something like '
ustrlen()' with a hidden cast is just noise for a warning that really shouldn't exist.
Quoted 8 lines
So some way to say 'this function really doesn't care about the sign of this pointer' (and having the compiler know that for the string functions it already knows about anyway) would probably make almost all problems with -Wsign-warning go away.
Put another way: 'char *' is so fundamental and inherent in C, that you can't just warn when people use it in contexts where sign really doesn't matter.
A few times in the past, we've split a warning flag into a group so that we could be more specific about distinct cases. Perhaps if -Wpointer-sign was a group that implied -Wpointer-char-sign, then the kernel could use -Wpointer-sign -Wno-pointer-char-sign.
I don't know if that's the right granularity though.
Signature · 2 lines
Thanks, ~Nick Desaulniers
Quoted 5 lines · Nick Desaulniers
A few times in the past, we've split a warning flag into a group so that we could be more specific about distinct cases. Perhaps if -Wpointer-sign was a group that implied -Wpointer-char-sign, then the kernel could use -Wpointer-sign -Wno-pointer-char-sign.
That might be interesting, just to see how much of the kernel is about 'char *' and how much is other noise.
Just for fun (for some definition of "fun") I tried to remove the -Wno-pointer-sign thing, and started building a kernel.
After fixing fortify-string.h to not complain (which was indeed about strlen() signedness), it turns out a lot were still about 'char', but not necessarily the <string,h> functions.
We use 'unsigned char *' for our dentry data, for example, and then you get
warning: pointer targets in initialization of ‘const unsigned
char *’ from ‘char *’ differ in signedness
when you do something like
QSTR_INIT(NULL_FILE_NAME,
which is simply doing a regular initializer assignment, and wants to assign a constant string (in this case the constant string "null") to that "const unsigned char *name".
That's certainly another example of "why the heck did the compiler warn about that thing".
You can literally try to compile this one-liner with gcc:
const unsigned char *c = "p";
and it will complain. What a hugely pointless warning.
BUT.
It turns out we have a lot of non-char warnings too.
The kernel does all these "generic functions" that are based on size, like
atomic_try_cmpxchg_acquire()
which are basically defined to be about "int sized object", but with unspecified sign.
And the sign is basically pointless. Some people want "unsigned int", others might want a signed int.
So from a quick grep, we do have a lot of strlen/strcpy cases, but we also do have a lot of other cases.
Hundreds and hundreds of that atomic_try_cmpxchg_acquire(), for example. And they might be trivial to fix (it might be similar to the fortify-string.h one where it's just a header file that generates most of them in one single place), but with all the ones that are just clearly the compiler being silly, they aren't really even worth looking at.
Linus
Quoted 6 lines · Linus Torvalds
Hundreds and hundreds of that
atomic_try_cmpxchg_acquire(), for example. And they might be trivial to fix (it might be similar to thefortify-string.hone where it's just a header file that generates most of them in one single place), but with all the ones that are just clearly the compiler being silly, they aren't really even worth looking at.
Yeah, I've had to fight these casts in fortify-string.h from time to time. I'd love to see the patch you used -- I bet it would keep future problems at bay.
Signature · 1 line
Kees Cook
Quoted 3 lines · Kees Cook
Yeah, I've had to fight these casts in
fortify-string.hfrom time to time. I'd love to see the patch you used -- I bet it would keep future problems at bay.
Heh. The fortify-source patch was just literally
- unsigned char *__p = (unsigned char *)(p); \ + char *__p = (char *)(p); \
in __compiletime_strlen(), just to make the later
__ret = __builtin_strlen(__p);
happy.
I didn't see any reason that code was using 'unsigned char *', but I didn't look very closely.
But honestly, while fixing that was just a local thing, a lot of other cases most definitely weren't.
The crypto code uses 'unsigned char *' a lot - which makes a lot of sense, since the crypto code really does work basically with a "byte array", and 'unsigned char *' tends to really be a good way to do that.
But then a lot of the *users* of the crypto code may have other ideas, ie they may have strings as the source, where 'char *' is a lot more natural.
And as mentioned, some of it really is just fairly fundamental compiler confusion. The fact that you can't use a regular string literals with 'unsigned char' is just crazy. There's no *advantage* to that, it's literally just an annoyance.
(And yes, there's u"hello word", but and yes, that's actually "unsigned char" compatible as of C23, but not because the 'u' is 'unsigned', but because the 'u' stands for 'utf8', and it seems that the C standard people finally decided that 'unsigned char[]' was the right type for UTF8. But in C11, it's actually still just 'char *', and I think that you get that completely broken sign warning unless you do an explicit cast).
No sane person should think that any of this is reasonable, and C23 actually makes things *WORSE* - not because C23 made the right choice, but because it just makes the whole signedness even messier.
IOW, signedness is C is such a mess that -Wpointer-sign is actively detrimental as things are right now. And look above - it's not even getting better, it's just getting even more confusing and odd.
Linus
Quoted 4 lines · Linus Torvalds
The crypto code uses 'unsigned char *' a lot - which makes a lot of sense, since the crypto code really does work basically with a "byte array", and 'unsigned char *' tends to really be a good way to do that.
I wish folks would use u8 * when they mean "byte array".
Maybe the attitude should just be -- use u8 for bytes, s8 for signed bytes, and char for characters/strings. Declare any use of char for something non-stringy forbidden, and call it a day. Yes, obviously u8 and s8 are just typedefs, but they're a lot more explicit of intent.
Jason
Quoted 2 lines · Jason A. Donenfeld
I wish folks would use
u8 *when they mean "byte array".
Together with '-funsigned-char', we could typedef 'u8' to just 'char' (just for __KERNEL__ code, though!), and then we really could just use 'strlen()' and friends on said kind of arrays without any warnings.
But we do have a *lot* of 'unsigned char' users, so it would be a huge amount of churn to do this kind of thing.
And as mentioned, right now we definitely have a lot of other "ignore sign" code.
Much of it is probably simply because we haven't been able to ever use that warning flag, so it's just accumulated and might be trivial to fix. But I wouldn't be surprised at all if some of it ends up somewhat fundamental.
Linus
Quoted 11 lines · Linus Torvalds
Quoted 2 lines · Jason A. Donenfeld
I wish folks would use
u8 *when they mean "byte array".Together with '-funsigned-char', we could typedef 'u8' to just 'char' (just for
__KERNEL__code, though!), and then we really could just use 'strlen()' and friends on said kind of arrays without any warnings.But we do have a *lot* of 'unsigned char' users, so it would be a huge amount of churn to do this kind of thing.
I think, though, there's an argument to be made that every use of unsigned char is much better off as a u8. We don't have any C23 fancy unicode strings. As far as I can tell, the only usage of unsigned char ought to be "treat this as a byte array", and that's what u8 is for. Yea, that'd be churn. But technically, it wouldn't really be difficult churn: If naive-sed mangles that, I'm sure Coccinelle would be up to the task. If you think that's a wise direction, I can play with it and see how miserable it is to do.
(As a sidebar, Sultan and I were discussing today... I find the radical extension of this idea to its logical end somewhat attractive:
exclusively using u64, s64, u32, s32, u16, s16, u8, s8, uword (native size), sword (native size), char (string/character). It'd hardly look like C any more, though, and the very mention of the idea is probably triggering for some. So I'm not actually suggesting we do that in earnest. But there is some appeal.)
Jason
Quoted 9 lines · Linus Torvalds
After fixing
fortify-string.hto not complain (which was indeed aboutstrlen()signedness), it turns out a lot were still about 'char', but not necessarily the <string,h> functions.We use 'unsigned char *' for our dentry data, for example, and then you get
warning: pointer targets in initialization of ‘const unsigned
char *’ from ‘char *’ differ in signedness
Quoted 7 lines
when you do something like
QSTR_INIT(NULL_FILE_NAME,
which is simply doing a regular initializer assignment, and wants to assign a constant string (in this case the constant string "null") to that "const unsigned char *name".
It cannot see that all users of this are okay with ignoring the difference.
Quoted 2 lines
That's certainly another example of "why the heck did the compiler warn about that thing".
Because this is a simple warning. It did exactly what it is supposed to -- you are mixing "char" and "unsigned char" here, and in some cases that matters hugely.
Quoted 5 lines
You can literally try to compile this one-liner with gcc:
const unsigned char *c = "p";and it will complain. What a hugely pointless warning.
Yes, there are corner cases like this. Please open a PR if you want this fixed.
It is UB to (try to) modify string literals (since they can be shared for example), but still they have type "array of (plain) char". This is historical :-/
Segher
From: Linus Torvalds
Quoted 1 line
Sent: 19 October 2022 19:11
...
Quoted 3 lines
Explicit casts are bad (unless, of course, you are explicitly trying to violate the type system, when they are both required, and a great way to say "look, I'm doing something dangerous").
The worst ones in the kernel are the __force ones for sparse. They really ought to be a function (#define) so that they are not seen by the compiler at all.
Otherwise they can hide a multitude of sins.
There are also the casts to convert integer values to/from unsigned. and to different sized integers.
They all happen far too often and can hide things.
A '+ 0u' will convert into to unsigned int without a cast. Casts really ought to be rare.
Even the casts to from (void *) (for 'buffers') can usually be made implicit in a function call argument.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
Quoted 7 lines · David Laight
From: Linus Torvalds
Quoted 4 lines
Sent: 19 October 2022 19:11
Explicit casts are bad (unless, of course, you are explicitly trying to violate the type system, when they are both required, and a great way to say "look, I'm doing something dangerous").Casts really ought to be rare.
Sometimes you need casts for *data*, like where you write (u32)smth because you really want the low 32 bits of that something. That only happens in some kinds of code -- multi-precision integer, some crypto, serialisation primitives.
You often want casts for varargs, too. The alternative is to make very certain some other way that the actual arguments will have the correct type, but that is often awkward to do, and not as clear to read.
Pointer casts are almost always a mistake. If you think you want one you are almost always wrong.
Segher
Quoted 7 lines · Linus Torvalds
Quoted 3 lines · Segher Boessenkool
When I did this more than a decade ago there indeed was a LOT of noise, mostly caused by dubious code.
It really happens with explicitly *not* dubious code.
Indeed.
[snip]
Quoted 5 lines
The "-Wpointer-sign" thing could probably be fairly easily improved, by just recognizing that things like '
strlen()' and friends do not care about the sign of 'char', and neither does a 'strcmp()' that only checks for equality (but if you check the *sign* of strcmp, it does matter).
I must miss something, the strcmp man page says:
"The comparison is done using unsigned characters."
But it's not for this that I wrote this message. Has anybody considered using transparent unions?
They've been heavily used by userland networking code to pass pointer to sockets, and they work reasonably well in that context IMHO.
So a very wild idea might to make string handling functions accept transparent union of "char *" and "unsigned char *".
I've not even tried to write any code in this direction, so it's very likely that this idea won't fly, and it clearly does not solve all problems. It also probably needs a lot of surgery to avoid clashing with GCC builtins and unfortunately lose some optimizations.
Gabriel
Quoted 21 lines
It's been some time since I last tried it, but at least from memory, it really was mostly the standard C string functions that caused almost all problems. Your *own* functions you can just make sure the signedness is right, but it's really really annoying when you try to be careful about the byte signs, and the compiler starts complaining just because you want to use the bog-standard '
strlen()' function.And no, something like '
ustrlen()' with a hidden cast is just noise for a warning that really shouldn't exist.So some way to say 'this function really doesn't care about the sign of this pointer' (and having the compiler know that for the string functions it already knows about anyway) would probably make almost all problems with -Wsign-warning go away.
Put another way: 'char *' is so fundamental and inherent in C, that you can't just warn when people use it in contexts where sign really doesn't matter.
Linus
Quoted 4 lines · Gabriel Paubert
I must miss something, the strcmp man page says:
"The comparison is done using unsigned characters."
You're not missing anything, I just hadn't looked at strcmp() in forever.
Yeah, strcmp clearly doesn't care about the signedness of 'char', and arguably an unsigned char argument makes more sense considering the semantics of the funmction.
Quoted 2 lines
But it's not for this that I wrote this message. Has anybody considered using transparent unions?
I don't love the transparent union-as-argument syntax, but you're right, that would fix the warning.
Except it then doesn't actually *work* very well.
Try this:
#include <sys/types.h>
#if USE_UNION
typedef union {
const char *a;
const signed char *b;
const unsigned char *c;
} conststring_arg __attribute__ ((__transparent_union__));
size_t strlen(conststring_arg);
#else
size_t strlen(const char *);
#endif
int test(char *a, unsigned char *b)
{
return strlen(a)+strlen(b);
}
int test2(void)
{
return strlen("hello");
}and now compile it both ways with
gcc -DUSE_UNION -Wall -O2 -S t.c
gcc -Wall -O2 -S t.c
and notice how yes, the "-DUSE_UNION" one silences the warning about using 'unsigned char *' for strlen. So it seems to work fine.
But then look at the code it generates for 'test2()" in the two cases.
The transparent union version actually generates a function call to an external 'strlen()' function.
The regular version uses the compiler builtin, and just compiles test2() to return the constant value 5.
So playing games with anonymous union arguments ends up also disabling all the compiler optimizations we do want, becaue apparently gcc then decides "ok, I'm not going to warn about you declaring this differently, but I'm also not going to use the regular one because you declared it differently".
This, btw, is also the reason why we don't use --freestanding in the kernel. We do want the basic <string.h> things to just DTRT.
For the sockaddr_in games, the above isn't an issue. For strlen() and friends, it very much is.
Linus
Quoted 12 lines · Linus Torvalds
Quoted 4 lines · Gabriel Paubert
I must miss something, the strcmp man page says:
"The comparison is done using unsigned characters."
You're not missing anything, I just hadn't looked at
strcmp()in forever.Yeah, strcmp clearly doesn't care about the signedness of 'char', and arguably an unsigned char argument makes more sense considering the semantics of the funmction.
Quoted 5 lines
Quoted 2 lines
But it's not for this that I wrote this message. Has anybody considered using transparent unions?
I don't love the transparent union-as-argument syntax, but you're right, that would fix the warning.
I'm not in love with the syntax either.
Quoted 28 lines
Except it then doesn't actually *work* very well.
Try this:
#include <sys/types.h> #if USE_UNION typedef union { const char *a; const signed char *b; const unsigned char *c; } conststring_arg __attribute__ ((__transparent_union__)); size_t strlen(conststring_arg); #else size_t strlen(const char *); #endif int test(char *a, unsigned char *b) { return strlen(a)+strlen(b); } int test2(void) { return strlen("hello"); }
Quoted 5 lines
and now compile it both ways with
gcc -DUSE_UNION -Wall -O2 -S
t.c
gcc -Wall -O2 -St.c
Ok, I´ve just tried it, except that I had something slightly different in mind, but perhaps should have been clearer in my first post.
I have change your code to the following:
#include <sys/types.h>
#if USE_UNION
typedef union {
const char *a;
const signed char *b;
const unsigned char *c;
} conststring_arg __attribute__ ((__transparent_union__));
static inline size_t strlen(conststring_arg p)
{
return __builtin_strlen(p.a);
}#elsesize_t strlen(const char *);
#endif
int test(char *a, unsigned char *b)
{
return strlen(a)+strlen(b);
}int test2(void)
{
return strlen("hello");
}Quoted 4 lines
and notice how yes, the "-DUSE_UNION" one silences the warning about using 'unsigned char *' for strlen. So it seems to work fine.
But then look at the code it generates for '
test2()" in the two cases.
Now test2 looks properly optimized.
This is a bit exploiting a compiler loophole, it calls an external function which has been defined with the same name!
Depending on how you look at it, it's either disgusting or clever.
I don´t have clang installed, so I don't know whether it would swallow this code or react with a strong allergy.
Gabriel
Quoted 20 lines
The transparent union version actually generates a function call to an external '
strlen()' function.The regular version uses the compiler builtin, and just compiles
test2()to return the constant value 5.So playing games with anonymous union arguments ends up also disabling all the compiler optimizations we do want, becaue apparently gcc then decides "ok, I'm not going to warn about you declaring this differently, but I'm also not going to use the regular one because you declared it differently".
This, btw, is also the reason why we don't use --freestanding in the kernel. We do want the basic <
string.h> things to just DTRT.For the
sockaddr_ingames, the above isn't an issue. Forstrlen()and friends, it very much is.Linus
Quoted 5 lines · Gabriel Paubert
Ok, I´ve just tried it, except that I had something slightly different in mind, but perhaps should have been clearer in my first post.
I have change your code to the following:
I actually tested that, but using a slightly different version, and my non-union test case ended up like
size_t strlen(const char *p)
{
return __builtin_strlen(p);
}and then gcc actually complains about
warning: infinite recursion detected
and I (incorrectly) thought this was unworkable. But your version seems to work fine.
So yeah, for the kernel I think we could do something like this. It's ugly, but it gets rid of the crazy warning.
Practically speaking this might be a bit painful, because we've got several different variations of this all due to all the things like our debugging versions (see <linux/fortify-string.h> for example), so some of our code is this crazy jungle of "with this config, use this wrapper".
But if somebody wants to deal with the '-Wpointer-sign' warnings, there does seem to be a way out. Maybe with another set of helper macros, creating those odd __transparent_union__ wrappers might even end up reasonable.
It's not like we don't have crazy macros for function wrappers elsewhere (the SYSCALL macros come to mind - shudder). The macros themselves may be a nasty horror, but when done right the _use_ point of said macros can be nice and clean.
Linus
Quoted 15 lines · Linus Torvalds
Quoted 5 lines · Gabriel Paubert
Ok, I´ve just tried it, except that I had something slightly different in mind, but perhaps should have been clearer in my first post.
I have change your code to the following:
I actually tested that, but using a slightly different version, and my non-union test case ended up like
size_t strlen(const char *p) { return __builtin_strlen(p); }
Quoted 6 lines
and then gcc actually complains about
warning: infinite recursion detected
and I (incorrectly) thought this was unworkable. But your version seems to work fine.
Incidentally, it also gives exactly the same code with -ffreestanding.
Quoted 3 lines
So yeah, for the kernel I think we could do something like this. It's ugly, but it gets rid of the crazy warning.
Not as ugly as casts IMO, and it's localized in a few header files.
However, it does not solve the problem of assigning a constant string to an u8 *; I've no idea on how to fix that.
Quoted 6 lines
Practically speaking this might be a bit painful, because we've got several different variations of this all due to all the things like our debugging versions (see <
linux/fortify-string.h> for example), so some of our code is this crazy jungle of "with this config, use this wrapper".
I've just had a look at that code, and I don't want to touch it with a 10 foot pole. If someone else to get his hands dirty...
Gabriel
Quoted 12 lines
But if somebody wants to deal with the '-Wpointer-sign' warnings, there does seem to be a way out. Maybe with another set of helper macros, creating those odd
__transparent_union__wrappers might even end up reasonable.It's not like we don't have crazy macros for function wrappers elsewhere (the SYSCALL macros come to mind - shudder). The macros themselves may be a nasty horror, but when done right the _use_ point of said macros can be nice and clean.
Linus
Quoted 9 lines · Gabriel Paubert
Quoted 5 lines · Linus Torvalds
Practically speaking this might be a bit painful, because we've got several different variations of this all due to all the things like our debugging versions (see <
linux/fortify-string.h> for example), so some of our code is this crazy jungle of "with this config, use this wrapper".I've just had a look at that code, and I don't want to touch it with a 10 foot pole. If someone else to get his hands dirty...
Heh. Yes, fortify-string.h is a twisty maze. I've tried to keep it as regular as possible, but I admit it is weird. On my list is to split compile-time from run-time logic (as suggested by Linus a while back), but I've worried it would end up spilling some of the ugly back into string.h, which should probably not happen. As such, I've tried to keep it all contained in fortify-string.h.
Regardless, I think I'd rather avoid yet more special cases in the fortify code, so I'd like to avoid using transparent union if we can. It seems like -funsigned-char and associated fixes will be sufficient, though, yes?
Signature · 1 line
Kees Cook
Quoted 18 lines · Kees Cook
Quoted 9 lines · Gabriel Paubert
Quoted 5 lines · Linus Torvalds
Practically speaking this might be a bit painful, because we've got several different variations of this all due to all the things like our debugging versions (see <
linux/fortify-string.h> for example), so some of our code is this crazy jungle of "with this config, use this wrapper".I've just had a look at that code, and I don't want to touch it with a 10 foot pole. If someone else to get his hands dirty...
Heh. Yes,
fortify-string.his a twisty maze. I've tried to keep it as regular as possible, but I admit it is weird. On my list is to split compile-time from run-time logic (as suggested by Linus a while back), but I've worried it would end up spilling some of the ugly back intostring.h, which should probably not happen. As such, I've tried to keep it all contained infortify-string.h.
Quoted 4 lines
Regardless, I think I'd rather avoid yet more special cases in the fortify code, so I'd like to avoid using transparent union if we can. It seems like -funsigned-char and associated fixes will be sufficient, though, yes?
I thought some of the motivation behind the transparent union was that gcc still treats char as a distinct type from unsigned char, so gcc's checker can still get upset and warn when passing a u8[] to a string handling function that expects a char[]. (Once the -funsigned-char changes go in, though, we should probably decide that s8[] is never a valid string.)
Jason
Quoted 3 lines · Jason A. Donenfeld
... (Once the
-funsigned-char changes go in, though, we should probably decide that s8[] is never a valid string.)
Yeah, that's my goal too.
Signature · 1 line
Kees Cook
Quoted 4 lines · Jason A. Donenfeld
So let's just eliminate this particular variety of heisensigned bugs entirely. Set
-fsigned-charglobally, so that gcc makes the type signed on all architectures.
Btw, I do wonder if we might actually be better off doing this - but doing it the other way around.
IOW, make 'char' always UNsigned. Unlike the signed char thing, it shouldn't generate any worse code on any common architecture.
And I do think that having odd architecture differences is generally a bad idea, and making the language rules stricter to avoid differences is a good thing.
Now, you did '-fsigned-char', because that's the "common default" in an x86-centric world.
You are also right that people might think that "char" works like "int", and that if you don't specify the sign, it's signed.
But those people are obviously wrong anyway, so it's not a very strong argument.
And from a kernel perspective, I do think that "treat char as a byte" and making it be unsigned is in many ways the saner model. There's a reason we use 'unsigned char' in a fair number of places.
So using '-funsigned-char' might not be a bad idea.
Hilariously (and by "hilariously", I obviously mean "NOT hilariously"), it doesn't actually fix the warning for
const unsigned char *c = "p";
which still complains about
warning: pointer targets in initialization of ‘const unsigned char
*’ from ‘char *’ differ in signedness
even when you've specified that 'char' should be unsigned with -funsigned-char.
Because gcc actually tries to be helpful, and has (reasonably, from a "type sanity" standpoint) decided that
"The type char is always a distinct type from each of signed char
or unsigned char, even though its behavior is always just like one of those two"
so using "-funsigned-char" gives us well-defined *behavior*, but doesn't really help us with cleaning up our code.
I understand why gcc would want to make it clear that despite any behavioral issues, "char" is *not* the same as "[un]signed char" in general. But in this kind of use case, that warning is just pointless and annoying.
Oh well. You *really* can't win this thing. The game is rigged like some geeky carnival game.
Linus
Hi Linus,
Quoted 8 lines · Linus Torvalds
Quoted 4 lines · Jason A. Donenfeld
So let's just eliminate this particular variety of heisensigned bugs entirely. Set
-fsigned-charglobally, so that gcc makes the type signed on all architectures.Btw, I do wonder if we might actually be better off doing this - but doing it the other way around.
That could work. The argument here would be that most people indeed treat char as a byte. I'll send a v2 doing this.
This will probably break some things, though, on drivers that are already broken on e.g. ARM. For example, the wifi driver I fixed that started this whole thing would now be broken on x86 too. But also, we're barely past rc1, so maybe this is something to do now, and then we'll spend the rest of the 6.1 cycle fixing issues as the pop up? Sounds fine to me if you think that's doable.
Either way, I'll send a patch and you can do with it what you think is best.
Jason
PATCH v2 1/1 kbuild: treat char as always unsigned
Recently, some compile-time checking I added to the clamp_t family of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the naked char type is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.
I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about char with no signed or unsigned specifier. We were lucky enough this time that that driver used clamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.
So let's just eliminate this particular variety of heisensign bugs entirely. Set -funsigned-char globally, so that gcc makes the type unsigned on all architectures.
This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -562,7 +562,7 @@ KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \ -Werror=implicit-function-declaration -Werror=implicit-int \ - -Werror=return-type -Wno-format-security \ + -Werror=return-type -Wno-format-security -funsigned-char \ -std=gnu11 KBUILD_CPPFLAGS := -D__KERNEL__ KBUILD_RUSTFLAGS := $(rust_common_flags) \
Signature · 1 line
2.38.1
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 7 lines · Jason A. Donenfeld
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
Yeah, if we were still in the merge window, I'd probably apply this, but as things stand, I think it should go into linux-next and cook there for the next merge window.
Anybody willing to put this in their -next trees?
Any breakage it causes is likely going to be fairly subtle, and in some random driver that isn't used on architectures that already have an unsigned 'char' type.
I think the architectures with an unsigned 'char' are arm, powerpc and s390, in all their variations (ie both 32- and 64-bit).
So all *core* code should be fine with this, but that still leaves a lot of drivers that have likely never been tested on anything but x86, and could just stop working.
I don't think breakage is very *likely*, but I suspect it exists.
Linus
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 6 lines · Linus Torvalds
Quoted 5 lines · Jason A. Donenfeld
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.
Quoted 8 lines
Quoted 2 lines
This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
Yeah, if we were still in the merge window, I'd probably apply this, but as things stand, I think it should go into linux-next and cook there for the next merge window.
Anybody willing to put this in their -next trees?
Sure, happy to take it.
Quoted 5 lines
Any breakage it causes is likely going to be fairly subtle, and in some random driver that isn't used on architectures that already have an unsigned 'char' type.
Quoted 8 lines
I think the architectures with an unsigned 'char' are arm, powerpc and s390, in all their variations (ie both 32- and 64-bit).
So all *core* code should be fine with this, but that still leaves a lot of drivers that have likely never been tested on anything but x86, and could just stop working.
I don't think breakage is very *likely*, but I suspect it exists.
Given I've started with cleaning up one driver already, I'll keep my eye on further breakage.
Jason
Quoted 2 lines
Linus
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 3 lines · Jason A. Donenfeld
Given I've started with cleaning up one driver already, I'll keep my eye on further breakage.
I wonder if we could just check for code generation differences some way.
I tested a couple of files, and was able to find differences, eg
# kernel/sched/core.c:8861: pr_info("task:%-15.15s state:%c",p->comm, task_state_to_char(p));
- movzbl state_char.149(%rax), %edx # state_char[_60], state_char[_60]
+ movsbl state_char.149(%rax), %edx # state_char[_60], state_char[_60] call _printk #
because the 'char' for the '%c' is passed as an integer. And the tracing code has the
.is_signed = is_signed_type(_type)
initializers, which obviously change when the type is 'char'.
But I also checked a number of other files that didn't have that pattern at all, and there was zero code generation difference, even when the "readable asm" output itself had some changes in some of the internal label names.
That was what my old 'sparse' trial thing was actually *hoping* (but failed) to do, ie notice when the signedness of a char actually affects code generation. And it does in fact seem fairly rare.
Having some scripting automation that just notices "this changes code generation in function X" might actually be interesting, and judging by my quick tests might not be *too* verbose.
Linus
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 9 lines · Linus Torvalds
Quoted 3 lines · Jason A. Donenfeld
Given I've started with cleaning up one driver already, I'll keep my eye on further breakage.
I wonder if we could just check for code generation differences some way. Having some scripting automation that just notices "this changes code generation in function X" might actually be interesting, and judging by my quick tests might not be *too* verbose.
Or even just some allyesconfig diffing.
Quoted 9 lines
I tested a couple of files, and was able to find differences, eg
#
kernel/sched/core.c:8861: pr_info("task:%-15.15s state:%c",p->comm,task_state_to_char(p));
- movzbl state_char.149(%rax), %edx # state_char[_60], state_char[_60]
+ movsbl state_char.149(%rax), %edx # state_char[_60], state_char[_60] call_printk#because the 'char' for the '%c' is passed as an integer. And the
Seems harmless though.
Quoted 5 lines
tracing code has the
.is_signed =
is_signed_type(_type)initializers, which obviously change when the type is 'char'.
And likewise, looking at the types of initializers that's used with. Actually, for the array one, unsigned is probably more sensible anyway.
The thing is, anyhow, that most code that works without -funsigned-char *will* work with it, because the core of the kernel obviously works fine on ARM already. The problematic areas will be x86-specific drivers that have never been tested on other archs. i915 comes to mind -- as a general rule, it already does all manner of insane things. But there's obviously a lot of other hardware that's only ever run on Intel. So I'm much more concerned about that than I am about code in, say, kernel/sched.
Jason
Re: [PATCH v2] kbuild: treat char as always unsigned
In reply to Linus TorvaldsQuoted 3 lines · Linus Torvalds
Having some scripting automation that just notices "this changes code generation in function X" might actually be interesting, and judging by my quick tests might not be *too* verbose.
On the reproducible build comparison system[1] we use for checking a lot of the KSPP work for .text deltas, an allmodconfig finds a fair bit for this change. Out of 33900 .o files, 1005 have changes.
Spot checking matches a lot of what you found already...
u64 flags = how->flags;
...
fs/open.c:1123:
int acc_mode = ACC_MODE(flags);
- 1c86: movsbl 0x0(%rdx),%edx
+ 1c86: movzbl 0x0(%rdx),%edx#define ACC_MODE(x) ("\004\002\006\006"[(x)&O_ACCMODE])
Ignoring those, it goes down to 625, and spot checking those is more difficult, but looks to be mostly register selection changes dominating the delta. The resulting vmlinux sizes are identical, though.
-Kees
[1] A fancier version of:
https://outflux.net/blog/archives/2022/06/24/finding-binary-differences/
Signature · 1 line
Kees Cook
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 20 lines · Kees Cook
Quoted 3 lines · Linus Torvalds
Having some scripting automation that just notices "this changes code generation in function X" might actually be interesting, and judging by my quick tests might not be *too* verbose.
On the reproducible build comparison system[1] we use for checking a lot of the KSPP work for .text deltas, an allmodconfig finds a fair bit for this change. Out of 33900 .o files, 1005 have changes.
Spot checking matches a lot of what you found already...
u64 flags = how->flags; ... fs/open.c:1123: int acc_mode = ACC_MODE(flags);(quoted diff) +1
-1- 1c86: movsbl 0x0(%rdx),%edx + 1c86: movzbl 0x0(%rdx),%edx#define
ACC_MODE(x)("\004\002\006\006"[(x)&O_ACCMODE])
Quoted 8 lines
Ignoring those, it goes down to 625, and spot checking those is more difficult, but looks to be mostly register selection changes dominating the delta. The resulting vmlinux sizes are identical, though.
-Kees
[1] A fancier version of:
https://outflux.net/blog/archives/2022/06/24/finding-binary-differences/
Say, don't we have some way of outputting LLVM IL? I saw some -fno-discard-value-names floating through a few days ago. Apparently you can do make LLVM=1 fs/select.ll? This might have less noise in it. I'll play on the airplane tomorrow.
Jason
Re: [PATCH v2] kbuild: treat char as always unsigned
In reply to Linus TorvaldsQuoted 2 lines · Linus Torvalds
I think the architectures with an unsigned 'char' are arm, powerpc and s390, in all their variations (ie both 32- and 64-bit).
xtensa and most MIPS configurations as well, fwiw.
Segher
Re: [PATCH v2] kbuild: treat char as always unsigned
In reply to Jason A. DonenfeldQuoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.
Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
This is a very daring change and obviously is going to introduce bugs. It might be better to create a static checker rule that says "char" without explicit signedness can only be used for strings.
arch/parisc/kernel/drivers.c:337 print_hwpath() warn: impossible condition '(path->bc[i] == -1) => (0-255 == (-1))' arch/parisc/kernel/drivers.c:410 setup_bus_id() warn: impossible condition '(path.bc[i] == -1) => (0-255 == (-1))' arch/parisc/kernel/drivers.c:486 create_parisc_device() warn: impossible condition '(modpath->bc[i] == -1) => (0-255 == (-1))' arch/parisc/kernel/drivers.c:759 hwpath_to_device() warn: impossible condition '(modpath->bc[i] == -1) => (0-255 == (-1))' drivers/media/dvb-frontends/stv0288.c:471 stv0288_set_frontend() warn: assigning (-9) to unsigned variable 'tm' drivers/media/dvb-frontends/stv0288.c:471 stv0288_set_frontend() warn: we never enter this loop drivers/misc/sgi-gru/grumain.c:711 gru_check_chiplet_assignment() warn: 'gts->ts_user_chiplet_id' is unsigned drivers/net/wireless/cisco/airo.c:5316 proc_wepkey_on_close() warn: assigning (-16) to unsigned variable 'key[i / 3]' drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9415 rt2800_iq_search() warn: assigning (-32) to unsigned variable 'idx0' drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9470 rt2800_iq_search() warn: assigning (-32) to unsigned variable 'perr' drivers/video/fbdev/sis/init301.c:3549 SiS_GetCRT2Data301() warn: 'SiS_Pr->SiS_EModeIDTable[ModeIdIndex]->ROMMODEIDX661' is unsigned sound/pci/au88x0/au88x0_core.c:2029 vortex_adb_checkinout() warn: signedness bug returning '(-22)' sound/pci/au88x0/au88x0_core.c:2046 vortex_adb_checkinout() warn: signedness bug returning '(-12)' sound/pci/au88x0/au88x0_core.c:2125 vortex_adb_allocroute() warn: 'vortex_adb_checkinout(vortex, (0), en, 0)' is unsigned sound/pci/au88x0/au88x0_core.c:2170 vortex_adb_allocroute() warn: 'vortex_adb_checkinout(vortex, stream->resources, en, 4)' is unsigned sound/pci/rme9652/hdsp.c:3953 hdsp_channel_buffer_location() warn: 'hdsp->channel_map[channel]' is unsigned sound/pci/rme9652/rme9652.c:1833 rme9652_channel_buffer_location() warn: 'rme9652->channel_map[channel]' is unsigned
I did not know that ARM had unsigned chars. I only knew about PPC and on that arch they use char aggressively so that no one forgets that char is unsigned. Changing char to signed would have made people very annoyed. :P
regards,
dan carpenter
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 35 lines · Dan Carpenter
Quoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
This is a very daring change and obviously is going to introduce bugs. It might be better to create a static checker rule that says "char" without explicit signedness can only be used for strings.
arch/parisc/kernel/drivers.c:337print_hwpath()warn: impossible condition '(path->bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:410setup_bus_id()warn: impossible condition '(path.bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:486create_parisc_device()warn: impossible condition '(modpath->bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:759hwpath_to_device()warn: impossible condition '(modpath->bc[i] == -1) => (0-255 == (-1))'drivers/media/dvb-frontends/stv0288.c:471stv0288_set_frontend()warn: assigning (-9) to unsigned variable 'tm'drivers/media/dvb-frontends/stv0288.c:471stv0288_set_frontend()warn: we never enter this loopdrivers/misc/sgi-gru/grumain.c:711gru_check_chiplet_assignment()warn: 'gts->ts_user_chiplet_id' is unsigneddrivers/net/wireless/cisco/airo.c:5316proc_wepkey_on_close()warn: assigning (-16) to unsigned variable 'key[i / 3]'drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9415rt2800_iq_search()warn: assigning (-32) to unsigned variable 'idx0'
Quoted 8 lines
drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9470rt2800_iq_search()warn: assigning (-32) to unsigned variable 'perr'drivers/video/fbdev/sis/init301.c:3549SiS_GetCRT2Data301()warn: 'SiS_Pr->SiS_EModeIDTable[ModeIdIndex]->ROMMODEIDX661' is unsignedsound/pci/au88x0/au88x0_core.c:2029vortex_adb_checkinout()warn: signedness bug returning '(-22)'sound/pci/au88x0/au88x0_core.c:2046vortex_adb_checkinout()warn: signedness bug returning '(-12)'sound/pci/au88x0/au88x0_core.c:2125vortex_adb_allocroute()warn: 'vortex_adb_checkinout(vortex, (0), en, 0)' is unsignedsound/pci/au88x0/au88x0_core.c:2170vortex_adb_allocroute()warn: 'vortex_adb_checkinout(vortex, stream->resources, en, 4)' is unsignedsound/pci/rme9652/hdsp.c:3953hdsp_channel_buffer_location()warn: 'hdsp->channel_map[channel]' is unsignedsound/pci/rme9652/rme9652.c:1833rme9652_channel_buffer_location()warn: 'rme9652->channel_map[channel]' is unsigned
Here are some more:
drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9472 rt2800_iq_search() warn: impossible condition '(gerr < -7) => (0-255 < (-7))' drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9476 rt2800_iq_search() warn: impossible condition '(perr < -31) => (0-255 < (-31))' drivers/staging/rtl8192e/rtllib_softmac_wx.c:459 rtllib_wx_set_essid() warn: impossible condition '(extra[i] < 0) => (0-255 < 0)' sound/pci/rme9652/hdsp.c:4153 snd_hdsp_channel_info() warn: impossible condition '(hdsp->channel_map[channel] < 0) => (0-255 < 0)'
This might be interesting for backports if everyone starts to rely on the fact that char is unsigned as the PPC people currently do.
regards,
dan carpenter
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 47 lines · Dan Carpenter
Quoted 35 lines · Dan Carpenter
Quoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
This is a very daring change and obviously is going to introduce bugs. It might be better to create a static checker rule that says "char" without explicit signedness can only be used for strings.
arch/parisc/kernel/drivers.c:337print_hwpath()warn: impossible condition '(path->bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:410setup_bus_id()warn: impossible condition '(path.bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:486create_parisc_device()warn: impossible condition '(modpath->bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:759hwpath_to_device()warn: impossible condition '(modpath->bc[i] == -1) => (0-255 == (-1))'drivers/media/dvb-frontends/stv0288.c:471stv0288_set_frontend()warn: assigning (-9) to unsigned variable 'tm'drivers/media/dvb-frontends/stv0288.c:471stv0288_set_frontend()warn: we never enter this loopdrivers/misc/sgi-gru/grumain.c:711gru_check_chiplet_assignment()warn: 'gts->ts_user_chiplet_id' is unsigneddrivers/net/wireless/cisco/airo.c:5316proc_wepkey_on_close()warn: assigning (-16) to unsigned variable 'key[i / 3]'drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9415rt2800_iq_search()warn: assigning (-32) to unsigned variable 'idx0'Quoted 8 lines
drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9470rt2800_iq_search()warn: assigning (-32) to unsigned variable 'perr'drivers/video/fbdev/sis/init301.c:3549SiS_GetCRT2Data301()warn: 'SiS_Pr->SiS_EModeIDTable[ModeIdIndex]->ROMMODEIDX661' is unsignedsound/pci/au88x0/au88x0_core.c:2029vortex_adb_checkinout()warn: signedness bug returning '(-22)'sound/pci/au88x0/au88x0_core.c:2046vortex_adb_checkinout()warn: signedness bug returning '(-12)'sound/pci/au88x0/au88x0_core.c:2125vortex_adb_allocroute()warn: 'vortex_adb_checkinout(vortex, (0), en, 0)' is unsignedsound/pci/au88x0/au88x0_core.c:2170vortex_adb_allocroute()warn: 'vortex_adb_checkinout(vortex, stream->resources, en, 4)' is unsignedsound/pci/rme9652/hdsp.c:3953hdsp_channel_buffer_location()warn: 'hdsp->channel_map[channel]' is unsignedsound/pci/rme9652/rme9652.c:1833rme9652_channel_buffer_location()warn: 'rme9652->channel_map[channel]' is unsignedHere are some more:
Quoted 7 lines
drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9472rt2800_iq_search()warn: impossible condition '(gerr < -7) => (0-255 < (-7))'drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9476rt2800_iq_search()warn: impossible condition '(perr < -31) => (0-255 < (-31))'drivers/staging/rtl8192e/rtllib_softmac_wx.c:459rtllib_wx_set_essid()warn: impossible condition '(extra[i] < 0) => (0-255 < 0)'sound/pci/rme9652/hdsp.c:4153snd_hdsp_channel_info()warn: impossible condition '(hdsp->channel_map[channel] < 0) => (0-255 < 0)'This might be interesting for backports if everyone starts to rely on the fact that char is unsigned as the PPC people currently do.
Give these a minute to hit Lore, but patches just submitted to various maintainers as fixes (for 6.1), since these are already broken on some architecture.
https://lore.kernel.org/all/[email protected]
https://lore.kernel.org/all/[email protected]
https://lore.kernel.org/all/[email protected]
https://lore.kernel.org/all/[email protected]
https://lore.kernel.org/all/[email protected]
https://lore.kernel.org/all/[email protected]
https://lore.kernel.org/all/[email protected]
Jason
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 4 lines · Jason A. Donenfeld
Give these a minute to hit Lore, but patches just submitted to various maintainers as fixes (for 6.1), since these are already broken on some architecture.
Hold up a minute.
Some of those may need more thought. For example, that first one:
Quoted 1 line
looks just *strange*. As far as I can tell, no other wireless drivers do any sign checks at all.
Now, I didn't really look around a lot, but looking at a few other SIOCSIWESSID users, most don't even seem to treat it as a string at all, but as just a byte dump (so memcpy() instead of strncpy())
As far as I know, there are no actual rules for SSID character sets, and while using utf-8 or something else might cause interoperability problems, this driver seems to be just confused. If you want to check for "printable characters", that check is still wrong.
So I don't think this is a "assume char is signed" issue. I think this is a "driver is confused" issue.
IOW, I don't think these are 6.1 material as some kind of obvious fixes, at least not without driver author acks.
Linus
Re: [PATCH v2] kbuild: treat char as always unsigned
Hi Linus,
Quoted 2 lines · Linus Torvalds
IOW, I don't think these are 6.1 material as some kind of obvious fixes, at least not without driver author acks.
Right, these are posted to the authors and maintainers to look at. Maybe they punt them until 6.2 which would be fine too.
Quoted 12 lines · Jason A. Donenfeld
Some of those may need more thought. For example, that first one:
Quoted 1 line
looks just *strange*. As far as I can tell, no other wireless drivers do any sign checks at all.
Now, I didn't really look around a lot, but looking at a few other SIOCSIWESSID users, most don't even seem to treat it as a string at all, but as just a byte dump (so
memcpy()instead ofstrncpy())
Quoted 7 lines
As far as I know, there are no actual rules for SSID character sets, and while using utf-8 or something else might cause interoperability problems, this driver seems to be just confused. If you want to check for "printable characters", that check is still wrong.
So I don't think this is a "assume char is signed" issue. I think this is a "driver is confused" issue.
Yea I had a few versions of this. In one of them, I changed char *extra throughout the wireless stack into s8 *extra and in another u8 *extra, after realizing they're mostly just bags of bits. But that seemed pretty invasive when, indeed, this staging driver is just a little screwy.
So perhaps the right fix is to just kill that whole snippet? Kalle - opinions?
Jason
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 21 lines · Jason A. Donenfeld
Hi Linus,
Quoted 2 lines · Linus Torvalds
IOW, I don't think these are 6.1 material as some kind of obvious fixes, at least not without driver author acks.
Right, these are posted to the authors and maintainers to look at. Maybe they punt them until 6.2 which would be fine too.
Quoted 11 lines · Jason A. Donenfeld
Some of those may need more thought. For example, that first one:
Quoted 1 line
looks just *strange*. As far as I can tell, no other wireless drivers do any sign checks at all.
Now, I didn't really look around a lot, but looking at a few other SIOCSIWESSID users, most don't even seem to treat it as a string at all, but as just a byte dump (so
memcpy()instead ofstrncpy())
Yes, SSID should be handled as a byte array with a specified length. Back in the day some badly written code treated it as string but luckily it's rare now.
Quoted 8 lines
Quoted 7 lines
As far as I know, there are no actual rules for SSID character sets, and while using utf-8 or something else might cause interoperability problems, this driver seems to be just confused. If you want to check for "printable characters", that check is still wrong.
So I don't think this is a "assume char is signed" issue. I think this is a "driver is confused" issue.
Quoted 7 lines
Yea I had a few versions of this. In one of them, I changed
char *extrathroughout the wireless stack intos8 *extraand in anotheru8 *extra, after realizing they're mostly just bags of bits. But that seemed pretty invasive when, indeed, this staging driver is just a little screwy.So perhaps the right fix is to just kill that whole snippet? Kalle - opinions?
I would also remove the whole 'extra[i] < 0', seems like a pointless check to me. And I see that you already submitted v2, good.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
RE: [PATCH v2] kbuild: treat char as always unsigned
In reply to Linus TorvaldsFrom: Linus Torvalds
Quoted 1 line
Sent: 24 October 2022 18:11
...
Quoted 5 lines
As far as I know, there are no actual rules for SSID character sets, and while using utf-8 or something else might cause interoperability problems, this driver seems to be just confused. If you want to check for "printable characters", that check is still wrong.
Are SSID even required to be printable at all? While most systems only let you configure 'strings' I don't remember that actually being a requirement.
(I've sure I read up on this years ago.)
The frame format will be using an explicit length. So even embedded zeros may be valid!
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
Re: [PATCH v2] kbuild: treat char as always unsigned
In reply to Dan CarpenterQuoted 18 lines · Dan Carpenter
Quoted 17 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.
Quoted 7 lines
Quoted 3 lines
This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
This is a very daring change and obviously is going to introduce bugs. It might be better to create a static checker rule that says "char" without explicit signedness can only be used for strings.
Indeed this would be great.
Quoted 10 lines
arch/parisc/kernel/drivers.c:337print_hwpath()warn: impossible condition '(path->bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:410setup_bus_id()warn: impossible condition '(path.bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:486create_parisc_device()warn: impossible condition '(modpath->bc[i] == -1) => (0-255 == (-1))'arch/parisc/kernel/drivers.c:759hwpath_to_device()warn: impossible condition '(modpath->bc[i] == -1) => (0-255 == (-1))'drivers/media/dvb-frontends/stv0288.c:471stv0288_set_frontend()warn: assigning (-9) to unsigned variable 'tm'drivers/media/dvb-frontends/stv0288.c:471stv0288_set_frontend()warn: we never enter this loopdrivers/misc/sgi-gru/grumain.c:711gru_check_chiplet_assignment()warn: 'gts->ts_user_chiplet_id' is unsigneddrivers/net/wireless/cisco/airo.c:5316proc_wepkey_on_close()warn: assigning (-16) to unsigned variable 'key[i / 3]'drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9415rt2800_iq_search()warn: assigning (-32) to unsigned variable 'idx0'
Quoted 8 lines
drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9470rt2800_iq_search()warn: assigning (-32) to unsigned variable 'perr'drivers/video/fbdev/sis/init301.c:3549SiS_GetCRT2Data301()warn: 'SiS_Pr->SiS_EModeIDTable[ModeIdIndex]->ROMMODEIDX661' is unsignedsound/pci/au88x0/au88x0_core.c:2029vortex_adb_checkinout()warn: signedness bug returning '(-22)'sound/pci/au88x0/au88x0_core.c:2046vortex_adb_checkinout()warn: signedness bug returning '(-12)'sound/pci/au88x0/au88x0_core.c:2125vortex_adb_allocroute()warn: 'vortex_adb_checkinout(vortex, (0), en, 0)' is unsignedsound/pci/au88x0/au88x0_core.c:2170vortex_adb_allocroute()warn: 'vortex_adb_checkinout(vortex, stream->resources, en, 4)' is unsignedsound/pci/rme9652/hdsp.c:3953hdsp_channel_buffer_location()warn: 'hdsp->channel_map[channel]' is unsignedsound/pci/rme9652/rme9652.c:1833rme9652_channel_buffer_location()warn: 'rme9652->channel_map[channel]' is unsigned
Thanks. I'll fix these up.
Jason
Re: [PATCH v2] kbuild: treat char as always unsigned
In reply to Jason A. DonenfeldQuoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.
Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
There is an interesting fallout: When running the m68k:q800 qemu emulation, there are lots of warning backtraces.
WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326 testmgr: alg_test_descs entries in wrong order: 'adiantum(xchacha12,aes)' before 'adiantum(xchacha20,aes)' ------------[ cut here ]------------ WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326
testmgr: alg_test_descs entries in wrong order: 'adiantum(xchacha20,aes)' before 'aegis128'
and so on for pretty much every entry in the alg_test_descs[] array.
Bisect points to this patch, and reverting it fixes the problem.
It looks like the problem is that arch/m68k/include/asm/string.h uses "char res" to store the result of strcmp(), and char is now unsigned - meaning strcmp() will now never return a value < 0. Effectively that means that strcmp() is broken on m68k if CONFIG_COLDFIRE=n.
The fix is probably quite simple.
arch/m68k/include/asm/string.h +1 -1
@@ -42,7 +42,7 @@ static inline char *strncpy(char *dest, const char *src, size_t n)#define __HAVE_ARCH_STRCMPstatic inline int strcmp (const char *cs,const char *ct) { -char res; +signed char res; asm ("\n" "1: move.b (%0)+,%2\n" /* get *cs */
Does that make sense ? If so I can send a patch.
Guenter
Geert Uytterhoeven
maintainerRe: [PATCH v2] kbuild: treat char as always unsigned
Hi Günter,
Quoted 57 lines · Guenter Roeck
Quoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
There is an interesting fallout: When running the m68k:q800 qemu emulation, there are lots of warning backtraces.
WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326 testmgr: alg_test_descs entries in wrong order: 'adiantum(xchacha12,aes)' before 'adiantum(xchacha20,aes)' ------------[ cut here ]------------ WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326testmgr:
alg_test_descsentries in wrong order: 'adiantum(xchacha20,aes)' before 'aegis128'and so on for pretty much every entry in the alg_test_descs[] array.
Bisect points to this patch, and reverting it fixes the problem.
It looks like the problem is that
arch/m68k/include/asm/string.huses "char res" to store the result ofstrcmp(), and char is now unsigned - meaningstrcmp()will now never return a value < 0. Effectively that means thatstrcmp()is broken on m68k ifCONFIG_COLDFIRE=n.The fix is probably quite simple.
arch/m68k/include/asm/string.h +1
-1@@ -42,7 +42,7 @@ static inline char *strncpy(char *dest, const char *src, size_t n)#define __HAVE_ARCH_STRCMPstatic inline int strcmp (const char *cs,const char *ct) { -char res; +signed char res; asm ("\n" "1: move.b (%0)+,%2\n" /* get *cs */
Quoted 1 line
Does that make sense ? If so I can send a patch.
Thanks, been there, done that
https://lore.kernel.org/all/bce014e60d7b1a3d1c60009fc3572e2f72591f21.1671110959.git.geert@linux-m68k.org
Note that we detected other issues with the m68k strcmp(), so probably that patch wouldn't go in as-is.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 60 lines · Geert Uytterhoeven
Hi Günter,
Quoted 57 lines · Guenter Roeck
Quoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
There is an interesting fallout: When running the m68k:q800 qemu emulation, there are lots of warning backtraces.
WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326 testmgr: alg_test_descs entries in wrong order: 'adiantum(xchacha12,aes)' before 'adiantum(xchacha20,aes)' ------------[ cut here ]------------ WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326testmgr:
alg_test_descsentries in wrong order: 'adiantum(xchacha20,aes)' before 'aegis128'and so on for pretty much every entry in the alg_test_descs[] array.
Bisect points to this patch, and reverting it fixes the problem.
It looks like the problem is that
arch/m68k/include/asm/string.huses "char res" to store the result ofstrcmp(), and char is now unsigned - meaningstrcmp()will now never return a value < 0. Effectively that means thatstrcmp()is broken on m68k ifCONFIG_COLDFIRE=n.The fix is probably quite simple.
arch/m68k/include/asm/string.h +1
-1@@ -42,7 +42,7 @@ static inline char *strncpy(char *dest, const char *src, size_t n)#define __HAVE_ARCH_STRCMPstatic inline int strcmp (const char *cs,const char *ct) { -char res; +signed char res; asm ("\n" "1: move.b (%0)+,%2\n" /* get *cs */
Quoted 8 lines
Quoted 1 line
Does that make sense ? If so I can send a patch.
Thanks, been there, done that
https://lore.kernel.org/all/bce014e60d7b1a3d1c60009fc3572e2f72591f21.1671110959.git.geert@linux-m68k.orgNote that we detected other issues with the m68k
strcmp(), so probably that patch wouldn't go in as-is.
So anything non-Coldfire is and will remain broken on m68k for the time being ? Wouldn't it be better to fix the acute problem now and address the long-standing problem(s) separately ?
Thanks,
Guenter
Re: [PATCH v2] kbuild: treat char as always unsigned
In reply to Geert UytterhoevenQuoted 57 lines · Geert Uytterhoeven
Hi Günter,
Quoted 54 lines · Guenter Roeck
Quoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
There is an interesting fallout: When running the m68k:q800 qemu emulation, there are lots of warning backtraces.
WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326 testmgr: alg_test_descs entries in wrong order: 'adiantum(xchacha12,aes)' before 'adiantum(xchacha20,aes)' ------------[ cut here ]------------ WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326testmgr:
alg_test_descsentries in wrong order: 'adiantum(xchacha20,aes)' before 'aegis128'and so on for pretty much every entry in the alg_test_descs[] array.
Bisect points to this patch, and reverting it fixes the problem.
It looks like the problem is that
arch/m68k/include/asm/string.huses "char res" to store the result ofstrcmp(), and char is now unsigned - meaningstrcmp()will now never return a value < 0. Effectively that means thatstrcmp()is broken on m68k ifCONFIG_COLDFIRE=n.The fix is probably quite simple.
arch/m68k/include/asm/string.h +1
-1@@ -42,7 +42,7 @@ static inline char *strncpy(char *dest, const char *src, size_t n)#define __HAVE_ARCH_STRCMPstatic inline int strcmp (const char *cs,const char *ct) { -char res; +signed char res;
Quoted 7 lines
Quoted 4 lines
arch/m68k/include/asm/string.h +0
-0asm ("\n" "1: move.b (%0)+,%2\n" /* get *cs */Does that make sense ? If so I can send a patch.
Thanks, been there, done that
https://lore.kernel.org/all/bce014e60d7b1a3d1c60009fc3572e2f72591f21.1671110959.git.geert@linux-m68k.org
Well, looks like that would still leave strcmp() buggy, you can't represent all possible differences between two char values (signed or not) in an 8-bit quantity. So any implementation based on returning the first non-zero value of *a - *b must store that intermediate value in something wider. Otherwise you'll get -128 from strcmp("\x40", "\xc0"), but _also_ -128 when you do strcmp("\xc0", "\x40"), which is obviously bogus.
I recently fixed that long-standing bug in U-Boot's strcmp() and a similar one in nolibc in the linux tree. I wonder how many more instances exist.
Rasmus
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 66 lines · Rasmus Villemoes
Quoted 57 lines · Geert Uytterhoeven
Hi Günter,
Quoted 54 lines · Guenter Roeck
Quoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
There is an interesting fallout: When running the m68k:q800 qemu emulation, there are lots of warning backtraces.
WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326 testmgr: alg_test_descs entries in wrong order: 'adiantum(xchacha12,aes)' before 'adiantum(xchacha20,aes)' ------------[ cut here ]------------ WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326testmgr:
alg_test_descsentries in wrong order: 'adiantum(xchacha20,aes)' before 'aegis128'and so on for pretty much every entry in the alg_test_descs[] array.
Bisect points to this patch, and reverting it fixes the problem.
It looks like the problem is that
arch/m68k/include/asm/string.huses "char res" to store the result ofstrcmp(), and char is now unsigned - meaningstrcmp()will now never return a value < 0. Effectively that means thatstrcmp()is broken on m68k ifCONFIG_COLDFIRE=n.The fix is probably quite simple.
arch/m68k/include/asm/string.h +1
-1@@ -42,7 +42,7 @@ static inline char *strncpy(char *dest, const char *src, size_t n)#define __HAVE_ARCH_STRCMPstatic inline int strcmp (const char *cs,const char *ct) { -char res; +signed char res;Quoted 7 lines
Quoted 4 lines
arch/m68k/include/asm/string.h +0
-0asm ("\n" "1: move.b (%0)+,%2\n" /* get *cs */Does that make sense ? If so I can send a patch.
Thanks, been there, done that
https://lore.kernel.org/all/bce014e60d7b1a3d1c60009fc3572e2f72591f21.1671110959.git.geert@linux-m68k.org
Quoted 8 lines
Well, looks like that would still leave
strcmp()buggy, you can't represent all possible differences between two char values (signed or not) in an 8-bit quantity. So any implementation based on returning the first non-zero value of *a - *b must store that intermediate value in something wider. Otherwise you'll get -128 fromstrcmp("\x40", "\xc0"), but _also_ -128 when you dostrcmp("\xc0", "\x40"), which is obviously bogus.
The above assumes an unsigned char as input to strcmp(). I consider that a hypothetical problem because "comparing" strings with upper bits set doesn't really make sense in practice (How does one compare Günter against Gunter ? And how about Gǖnter ?). On the other side, the problem observed here is real and immediate.
Guenter
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 6 lines · Guenter Roeck
The above assumes an unsigned char as input to
strcmp(). I consider that a hypothetical problem because "comparing" strings with upper bits set doesn't really make sense in practice (How does one compare Günter against Gunter ? And how about Gǖnter ?). On the other side, the problem observed here is real and immediate.
POSIX does actually specify "Günter" vs "Gunter".
The way strcmp is supposed to work is to return the sign of the difference between the byte values ("unsigned char").
But that sign has to be computed in 'int', not in 'signed char'.
So yes, the m68k implementation is broken regardless, but with a signed char it just happened to work for the US-ASCII case that the crypto case tested.
I think the real fix is to just remove that broken implementation entirely, and rely on the generic one.
I'll commit that, and see what happens.
Linus
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 10 lines · Linus Torvalds
Quoted 6 lines · Guenter Roeck
The above assumes an unsigned char as input to
strcmp(). I consider that a hypothetical problem because "comparing" strings with upper bits set doesn't really make sense in practice (How does one compare Günter against Gunter ? And how about Gǖnter ?). On the other side, the problem observed here is real and immediate.POSIX does actually specify "Günter" vs "Gunter".
Quoted 9 lines
The way strcmp is supposed to work is to return the sign of the difference between the byte values ("unsigned char").
But that sign has to be computed in 'int', not in 'signed char'.
So yes, the m68k implementation is broken regardless, but with a signed char it just happened to work for the US-ASCII case that the crypto case tested.
I understand. I just prefer a known limited breakage to completely broken code.
Quoted 2 lines
I think the real fix is to just remove that broken implementation entirely, and rely on the generic one.
Perfectly fine with me.
Thanks,
Guenter
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 7 lines · Guenter Roeck
Quoted 3 lines · Linus Torvalds
I think the real fix is to just remove that broken implementation entirely, and rely on the generic one.
Perfectly fine with me.
That got pushed out as commit 7c0846125358 ("m68k: remove broken strcmp implementation") but it's obviously entirely untested. I don't do m68k cross-compiles, much less boot tests.
Just FYI for everybody - I may have screwed something up for some very non-obvious reason.
But it looked very obvious indeed, and I hate having buggy code that is architecture-specific when we have generic code that isn't buggy.
Linus
Re: [PATCH v2] kbuild: treat char as always unsigned
Quoted 3 lines · Linus Torvalds
But it looked very obvious indeed, and I hate having buggy code that is architecture-specific when we have generic code that isn't buggy.
Side note: we have an x86-64 implementation that looks fine (but not really noticeably better than the generic one) that is based on the 'return subtraction' model. But it seems to get it right.
And we have a 32-bit x86 assembly thing that is based on 'rep scasb', that then uses the carry bit to also get things right.
That 32-bit asm goes back to Linux 0.01 (with some changes since to use "sbbl+or" instead of a conditional neg). I was playing around a lot with the 'rep' instructions back when, since it was all part of "learn the instruction set" for me.
Both of them should probably be removed as pointless too, but they don't seem actively buggy.
Linus
Re: [PATCH v2] kbuild: treat char as always unsigned
In reply to Linus TorvaldsQuoted 7 lines · Linus Torvalds
Quoted 6 lines · Guenter Roeck
Quoted 3 lines · Linus Torvalds
I think the real fix is to just remove that broken implementation entirely, and rely on the generic one.
Quoted 9 lines
Quoted 1 line
Perfectly fine with me.
That got pushed out as commit
7c0846125358("m68k: remove broken strcmp implementation") but it's obviously entirely untested. I don't do m68k cross-compiles, much less boot tests.Just FYI for everybody - I may have screwed something up for some very non-obvious reason.
No worries:
Build reference: msi-fixes-6.2-1-2644-g0a924817d2ed
Building mcf5208evb:m5208:m5208evb_defconfig:initrd ... running ..... passed Building q800:m68040:mac_defconfig:initrd ... running ..... passed Building q800:m68040:mac_defconfig:rootfs ... running ..... passed
Guenter
Geert Uytterhoeven
maintainerRe: [PATCH v2] kbuild: treat char as always unsigned
In reply to Linus TorvaldsHi Linus,
Quoted 11 lines · Linus Torvalds
Quoted 5 lines · Guenter Roeck
Quoted 2 lines · Linus Torvalds
I think the real fix is to just remove that broken implementation entirely, and rely on the generic one.
Perfectly fine with me.
That got pushed out as commit
7c0846125358("m68k: remove broken strcmp implementation") but it's obviously entirely untested. I don't do m68k cross-compiles, much less boot tests.
Quoted 5 lines
Just FYI for everybody - I may have screwed something up for some very non-obvious reason.
But it looked very obvious indeed, and I hate having buggy code that is architecture-specific when we have generic code that isn't buggy.
Thank you for being proactive!
It works fine (and slightly reduced kernel size, too ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
RE: [PATCH v2] kbuild: treat char as always unsigned
In reply to Linus TorvaldsFrom: Linus Torvalds
Quoted 15 lines
Sent: 21 December 2022 17:07
Quoted 6 lines · Guenter Roeck
The above assumes an unsigned char as input to
strcmp(). I consider that a hypothetical problem because "comparing" strings with upper bits set doesn't really make sense in practice (How does one compare Günter against Gunter ? And how about Gǖnter ?). On the other side, the problem observed here is real and immediate.POSIX does actually specify "Günter" vs "Gunter".
The way strcmp is supposed to work is to return the sign of the difference between the byte values ("unsigned char").
Quoted 8 lines
But that sign has to be computed in 'int', not in 'signed char'.
So yes, the m68k implementation is broken regardless, but with a signed char it just happened to work for the US-ASCII case that the crypto case tested.
I think the real fix is to just remove that broken implementation entirely, and rely on the generic one.
I wonder how much slower it is - m68k is likely to be microcoded and I don't think instruction timings are actually available. The fastest version probably uses subx (with carry) to generate 0/-1 and leaves +delta for the other result - but getting the compares and branches in the right order is hard.
I believe some of the other m68k asm functions are also missing the "memory" 'clobber' and so could get mis-optimised. While I can write (or rather have written) m68k asm I don't have a compiler.
I also suspect that any x86 code that uses 'rep scas' is going to be slow on anything modern.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Geert Uytterhoeven
maintainerRe: [PATCH v2] kbuild: treat char as always unsigned
Hi Holger,
Quoted 10 lines · Holger Lubitz
Quoted 2 lines · David Laight
I wonder how much slower it is - m68k is likely to be microcoded and I don't think instruction timings are actually available.
Not sure if these are in any way official, but
http://oldwww.nvg.ntnu.no/amiga/MC680x0_Sections/mc68030timing.HTML(There's also
http://oldwww.nvg.ntnu.no/amiga/MC680x0_Sections/mc68000timing.HTML
but that is probably only interesting to demo coders by now)
Yes, instruction timings are available. Unlike for e.g. x86, there is only a very limited number of parts to consider.
Quoted 7 lines
Quoted 2 lines
I believe some of the other m68k asm functions are also missing the "memory" 'clobber' and so could get mis-optimised.
In which case would that happen? This function doesn't clobber memory and its result does get used. If gcc mistakenly thinks the parameters haven't changed and uses a previously cached result, wouldn't that apply to a C function too?
For a pure C inline function, the compiler knows exactly what it does.
For an external C function, the compiler assumes all odds are off.
For inline asm, the compiler doesn't know what happens with (the data pointed to by) the pointers, unless that's described in the constraints. We do have some inline asm that has "*ptr" in the constraints, but that applies to a single value, not to an array. And in case of strings, the size of the array is not known without looking for the zero-terminator.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
RE: [PATCH v2] kbuild: treat char as always unsigned
In reply to a message not in the archiveFrom: Holger Lubitz
Quoted 8 lines
Sent: 24 December 2022 09:34
Quoted 2 lines · David Laight
I wonder how much slower it is - m68k is likely to be microcoded and I don't think instruction timings are actually available.
Not sure if these are in any way official, but
http://oldwww.nvg.ntnu.no/amiga/MC680x0_Sections/mc68030timing.HTML
I thought about that some more and remember seeing memory timings on a logic analyser - and getting timings that (more or less) implied sequential execution limited by the obvious memory (cache) accesses.
The microcoding is more apparent in the large mid-instruction interrupt stack frames - eg for page faults.
Quoted 25 lines
(There's also
http://oldwww.nvg.ntnu.no/amiga/MC680x0_Sections/mc68000timing.HTML
but that is probably only interesting to demo coders by now)Quoted 3 lines
The fastest version probably uses subx (with carry) to generate 0/-1 and leaves +delta for the other result - but getting the compares and branches in the right order is hard.
Guess it must have been over 20 years since I wrote any 68k asm, but now I actually ended up installing Debian on qemu to experiment.
There are two interesting differences between 68k and x86 that can be useful here: Unlike x86, MOV on 68k sets the flags. And also, subx differs from sbb in that it resets the zero flag on a non-zero result, but does not set it on a zero result. So if it is set, it must have been set before.
Here are the two functions I came up with (tested only stand-alone, not in a kernel build. Also no benchmarks because this 68040 is only emulated)
#1 (optimized for minimum instruction count in loop,
68k + ColdfireISA_B)int
strcmp1(const char *cs, const char *ct)
Quoted 12 lines
{
int res;
asm ("\n"
"1: move.b (%0)+,%2\n" /* get *cs */
" jeq 2f\n" /* end of first string? */
" cmp.b (%1)+,%2\n" /* compare *ct */
" jeq 1b\n" /* if equal, continue */
" jra 3f\n" /* else skip to tail */
"2: cmp.b (%1)+,%2\n" /* compare one last byte */
"3: subx.l %2, %2\n" /* -1 if borrow, 0 if not */
" jls 4f\n" /* if set, z is from sub.b */The subx will set Z unless C was set.
So that doesn't seem right.
Quoted 5 lines
" moveq.l #1, %2\n" /* 1 if !borrow */
"4:"
: "+a" (cs), "+a" (ct), "=d" (res));
return res;
}I think this should work:
(But the jc might need to be jnc.)
" moveq.l #0,%2\n" /* zero high bits of result */
"1: move.b (%1)+,%2\n" /* get *ct */
" jeq 2f\n" /* end of second string? */
" cmp.b (%0)+,%2\n" /* compare *cs */
" jeq 1b\n" /* if equal, continue */
" jc 4f /* return +ve */
" moveq.l #-1, %2\n" /* return -ve */
" jra 4f\n"
"2: move.b (%0),%2\n" /* check for matching strings */
"4:"Quoted 4 lines
#2 (optimized for minimum code size,
ColdfireISA_Acompatible)int
strcmp2(const char *cs, const char *ct)
Quoted 8 lines
{
int res = 0, tmp = 0;
asm ("\n"
"1: move.b (%0)+,%2\n" /* get *cs */
" move.b (%1)+,%3\n" /* get *ct */
" subx.l %3,%2\n" /* compare a byte */
" jeq 2f\n" /* both inputs were zero */That doesn't seem right.
Z will be set if either *ct is zero or the bytes match.
Quoted 1 line
" tst.l %2\n" /* check result */
This only sets Z when it was already set by the subx.
Quoted 14 lines
" jeq 1b\n" /* if zero, continue */ "2:" : "+a" (cs), "+a" (ct), "+d" (res), "+d" (tmp)); return res; }However, this one needs res and tmp to be set to zero, because we read only bytes (no automatic zero-extend on 68k), but then do a long operation on them. Coldfire
ISA_Adropped cmpb, it only reappeared inISA_B.So the real instruction count is likely to be two more, unless gcc happens to have one or two zeros it can reuse.
Quoted 7 lines
Quoted 2 lines
I believe some of the other m68k asm functions are also missing the "memory" 'clobber' and so could get mis-optimised.
In which case would that happen? This function doesn't clobber memory and its result does get used. If gcc mistakenly thinks the parameters haven't changed and uses a previously cached result, wouldn't that apply to a C function too?
You need a memory 'clobber' on anything that READS memory as well as writes it.
Quoted 11 lines
Quoted 2 lines
While I can write (or rather have written) m68k asm I don't have a compiler.
Well, I now have an emulated Quadra 800 running Debian 68k.(Getting the emulated networking to work reliably was a bit problematic, though. But now it runs Kernel 6.0) qemu could emulate Coldfire too, but I am not sure where I would find a distribution for that.
I did not attach a patch because it seems already to be decided that the function is gone. But should anyone still want to include one (or both) of these functions, just give credit to me and I'm fine.
Thinking further the fastest strcmp() probably uses big-endian word compares with a check for a zero byte.
Especially on 64 bit systems that support misaligned loads.
But I'd need to think hard about the actual details.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
RE: [PATCH v2] kbuild: treat char as always unsigned
....
Quoted 14 lines
Quoted 13 lines
int
strcmp1(const char *cs, const char *ct){ int res; asm ("\n" "1: move.b (%0)+,%2\n" /* get *cs */ " jeq 2f\n" /* end of first string? */ " cmp.b (%1)+,%2\n" /* compare *ct */ " jeq 1b\n" /* if equal, continue */ " jra 3f\n" /* else skip to tail */ "2: cmp.b (%1)+,%2\n" /* compare one last byte */ "3: subx.l %2, %2\n" /* -1 if borrow, 0 if not */ " jls 4f\n" /* if set, z is from sub.b */
Quoted 2 lines
The subx will set Z unless C was set.
So that doesn't seem right.
Clearly my brain was asleep earlier.
subx will clear Z not set it.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
Geert Uytterhoeven
maintainerRe: [PATCH v2] kbuild: treat char as always unsigned
In reply to David LaightHi David,
Quoted 4 lines · David Laight
Thinking further the fastest
strcmp()probably uses big-endian word compares with a check for a zero byte.
Especially on 64 bit systems that support misaligned loads.
But I'd need to think hard about the actual details.
arch/arc/lib/strcmp-archs.Sarch/csky/abiv2/strcmp.S
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH v2] kbuild: treat char as always unsigned
In reply to Guenter RoeckQuoted 1 line · Guenter Roeck
The above assumes an unsigned char as input to
strcmp().
That's how strcmp is defined.
See <https://lore.kernel.org/all/[email protected]>
Signature · 3 lines
Andreas Schwab, [email protected] GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
Geert Uytterhoeven
maintainerRe: [PATCH v2] kbuild: treat char as always unsigned
In reply to Rasmus VillemoesHi Rasmus,
Quoted 64 lines · Rasmus Villemoes
Quoted 55 lines · Geert Uytterhoeven
Quoted 54 lines · Guenter Roeck
Quoted 13 lines · Jason A. Donenfeld
Recently, some compile-time checking I added to the
clamp_tfamily of functions triggered a build error when a poorly written driver was compiled on ARM, because the driver assumed that the nakedchartype is signed, but ARM treats it as unsigned, and the C standard says it's architecture-dependent.I doubt this particular driver is the only instance in which unsuspecting authors make assumptions about
charwith nosignedorunsignedspecifier. We were lucky enough this time that that driver usedclamp_t(char, negative_value, positive_value), so the new checking code found it, and I've sent a patch to fix it, but there are likely other places lurking that won't be so easily unearthed.Quoted 7 lines
So let's just eliminate this particular variety of heisensign bugs entirely. Set
-funsigned-charglobally, so that gcc makes the type unsigned on all architectures.This will break things in some places and fix things in others, so this will likely cause a bit of churn while reconciling the type misuse.
There is an interesting fallout: When running the m68k:q800 qemu emulation, there are lots of warning backtraces.
WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326 testmgr: alg_test_descs entries in wrong order: 'adiantum(xchacha12,aes)' before 'adiantum(xchacha20,aes)' ------------[ cut here ]------------ WARNING: CPU: 0 PID: 23 at crypto/testmgr.c:5724 alg_test.part.0+0x7c/0x326testmgr:
alg_test_descsentries in wrong order: 'adiantum(xchacha20,aes)' before 'aegis128'and so on for pretty much every entry in the alg_test_descs[] array.
Bisect points to this patch, and reverting it fixes the problem.
It looks like the problem is that
arch/m68k/include/asm/string.huses "char res" to store the result ofstrcmp(), and char is now unsigned - meaningstrcmp()will now never return a value < 0. Effectively that means thatstrcmp()is broken on m68k ifCONFIG_COLDFIRE=n.The fix is probably quite simple.
arch/m68k/include/asm/string.h +1
-1@@ -42,7 +42,7 @@ static inline char *strncpy(char *dest, const char *src, size_t n)#define __HAVE_ARCH_STRCMPstatic inline int strcmp (const char *cs,const char *ct) { -char res; +signed char res;Quoted 7 lines
Quoted 4 lines
arch/m68k/include/asm/string.h +0
-0asm ("\n" "1: move.b (%0)+,%2\n" /* get *cs */Does that make sense ? If so I can send a patch.
Thanks, been there, done that
https://lore.kernel.org/all/bce014e60d7b1a3d1c60009fc3572e2f72591f21.1671110959.git.geert@linux-m68k.org
Quoted 7 lines
Well, looks like that would still leave
strcmp()buggy, you can't represent all possible differences between two char values (signed or not) in an 8-bit quantity. So any implementation based on returning the first non-zero value of *a - *b must store that intermediate value in something wider. Otherwise you'll get -128 fromstrcmp("\x40", "\xc0"), but _also_ -128 when you dostrcmp("\xc0", "\x40"), which is obviously bogus.
So we have https://lore.kernel.org/all/[email protected] ;-)
And the other issue is m68k strcmp() calls being dropped by the optimizer, cfr. the discussion in
https://lore.kernel.org/all/[email protected]
Quoted 3 lines
I recently fixed that long-standing bug in U-Boot's
strcmp()and a similar one in nolibc in the linux tree. I wonder how many more instances exist.
Thanks, commit fb63362c63c7aeac ("lib: fix buggy strcmp and strncmp") in v2023.01-rc1, which is not yet in a released version.
(and in plain C, not in asm ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
From: Linus Torvalds
Quoted 14 lines
Sent: 19 October 2022 20:54
Quoted 4 lines · Jason A. Donenfeld
So let's just eliminate this particular variety of heisensigned bugs entirely. Set
-fsigned-charglobally, so that gcc makes the type signed on all architectures.Btw, I do wonder if we might actually be better off doing this - but doing it the other way around.
IOW, make 'char' always UNsigned. Unlike the signed char thing, it shouldn't generate any worse code on any common architecture.
Quoted 6 lines
And I do think that having odd architecture differences is generally a bad idea, and making the language rules stricter to avoid differences is a good thing.
Now, you did '-fsigned-char', because that's the "common default" in an x86-centric world.
I'm pretty sure char is signed because the pdp11 only had sign-extending byte loads.
Quoted 2 lines
You are also right that people might think that "char" works like "int", and that if you don't specify the sign, it's signed.
But even 'unsigned char' works like int.
The values are promoted to int (thanks to the brain-dead ANSI-C committee) rather than unsigned int (which I think was in K&R C). (There is an exception, int, short and char can all be the same size. In which case unsigned char promotes to unsigned int.)
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
make ctype ascii only? (was [PATCH] kbuild: treat char as always signed)
In reply to Linus TorvaldsQuoted 8 lines · Linus Torvalds
Quoted 4 lines · Jason A. Donenfeld
So let's just eliminate this particular variety of heisensigned bugs entirely. Set
-fsigned-charglobally, so that gcc makes the type signed on all architectures.Btw, I do wonder if we might actually be better off doing this - but doing it the other way around.
Only very tangentially related (because it has to do with chars...): Can we switch our ctype to be ASCII only, just as it was back in the good'ol mid 90s [i.e. before
https://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux-fullhistory.git/commit/lib/ctype.c?id=036b97b05489161be06e63be77c5fad9247d23ff].
It bugs me that it's almost-but-not-quite-latin1, that toupper() isn't idempotent, and that one can hit an isalpha() with toupper() and get something that isn't isalpha().
Rasmus
Re: make ctype ascii only? (was [PATCH] kbuild: treat char as always signed)
Quoted 4 lines · Rasmus Villemoes
Only very tangentially related (because it has to do with chars...): Can we switch our ctype to be ASCII only, just as it was back in the good'ol mid 90s
Those US-ASCII days weren't really very "good" old days, but I forget why we did this (it's attributed to me, but that's from the pre-BK/pre-git days before we actually tracked things all that well, so..)
Anyway, I think anybody using ctype.h on 8-bit chars gets what they deserve, and I think Latin1 (or something close to it) is better than US-ASCII, in that it's at least the same as Unicode in the low 8 chars.
So no, I'm disinclined to go back in time to what I think is an even worse situation. Latin1 isn't great, but it sure beats US-ASCII. And if you really want just US-ASII, then don't use the high bit, and make your disgusting 7-bit code be *explicitly* 7-bit.
Now, if there are errors in that table wrt Latin1 / "first 256 codepoints of Unicode" too, then we can fix those.
Not that anybody has apparently cared since 2.0.1 was released back in July of 1996 (btw, it's sad how none of the old linux git archive creations seem to have tried to import the dates, so you have to look those up separately)
And if nobody has cared since 1996, I don't really think it matters.
But fundamentally, I think anybody calling US-ASCII "good" is either very very very confused, or is comparing it to EBCDIC.
Linus
Re: make ctype ascii only? (was [PATCH] kbuild: treat char as always signed)
Quoted 12 lines · Linus Torvalds
Quoted 4 lines · Rasmus Villemoes
Only very tangentially related (because it has to do with chars...): Can we switch our ctype to be ASCII only, just as it was back in the good'ol mid 90s
Those US-ASCII days weren't really very "good" old days, but I forget why we did this (it's attributed to me, but that's from the pre-BK/pre-git days before we actually tracked things all that well, so..)
Quoted 4 lines
Anyway, I think anybody using
ctype.hon 8-bit chars gets what they deserve, and I think Latin1 (or something close to it) is better than US-ASCII, in that it's at least the same as Unicode in the low 8 chars.
My concern is that it's currently somewhat ill specified what our ctype actually represents, and that would be a lot easier to specify if we just said ASCII, everything above 0x7f is neither punct or ctrl or alpha or anything else.
For example, people may do stuff like isprint(c) ? c : '.' in a printk() call, but most likely the consumer (somebody doing dmesg) would, at least these days, use utf-8, so that just results in a broken utf-8 sequence. Now I see that a lot of callers actually do "isascii(c) && isprint(c)", so they already know about this, but there are also many instances where isprint() is used by itself.
There's also stuff like fs/afs/cell.c and other places that use isprint/isalnum/... to make decisions on what is allowed on the wire and/or in a disk format, where it's then hard to reason about just exactly what is accepted. And places that use toupper() on their strings to normalize them; that's broken when toupper() isn't idempotent.
Quoted 7 lines
So no, I'm disinclined to go back in time to what I think is an even worse situation. Latin1 isn't great, but it sure beats US-ASCII. And if you really want just US-ASII, then don't use the high bit, and make your disgusting 7-bit code be *explicitly* 7-bit.
Now, if there are errors in that table wrt Latin1 / "first 256 codepoints of Unicode" too, then we can fix those.
AFAICT, the differences are:
- 0xaa (FEMININE ORDINAL INDICATOR), 0xb5 (MICRO SIGN), 0xba (FEMININE ORDINAL INDICATOR) should be lower (hence alpha and alnum), not punct.
- depending a little on just exactly what one wants latin1 to mean, but if it does mean "first 256 codepoints of Unicode", 0x80-0x9f should be cntrl
- for some reason at least glibc seems to classify 0xa0 as punctuation and not space (hence also as isgraph)
- 0xdf and 0xff are correctly classified as lower, but since they don't have upper-case versions (at least not any that are representable in latin1), correct toupper() behaviour is to return them unchanged, but we just subtract 0x20, so 0xff becomes 0xdf which isn't isupper() and 0xdf becomes something that isn't even isalpha().
Fixing the first would create more instances of the last, and I think the only sane way to fix that would be a 256 byte lookup table to use by toupper().
Quoted 2 lines
Not that anybody has apparently cared since 2.0.1 was released back in July of 1996
(btw, it's sad how none of the old linux git archive
Quoted 2 lines
creations seem to have tried to import the dates, so you have to look those up separately)
Huh? That commit has 1996 as the author date, while its commit date is indeed 2007. The very first line says:
author linus1 <[email protected]> 1996-07-02 11:00:00 -0600
Quoted 1 line
And if nobody has cared since 1996, I don't really think it matters.
Indeed, I don't think it's a huge problem in practice. But it still bothers me that such a simple (and usually overlooked) corner of the kernel's C library is ill-defined and arguably a little buggy.
Rasmus
Re: make ctype ascii only? (was [PATCH] kbuild: treat char as always signed)
Quoted 9 lines · Rasmus Villemoes
AFAICT, the differences are:
-
0xaa(FEMININE ORDINAL INDICATOR),0xb5(MICRO SIGN),0xba(FEMININE ORDINAL INDICATOR) should be lower (hence alpha and alnum), not punct.- depending a little on just exactly what one wants latin1 to mean, but if it does mean "first 256 codepoints of Unicode", 0x80-0x9f should be cntrl
Quoted 8 lines
- for some reason at least glibc seems to classify
0xa0as punctuation and not space (hence also as isgraph)-
0xdfand0xffare correctly classified as lower, but since they don't have upper-case versions (at least not any that are representable in latin1), correcttoupper()behaviour is to return them unchanged, but we just subtract0x20, so0xffbecomes0xdfwhich isn'tisupper()and0xdfbecomes something that isn't evenisalpha().
Heh.
Honestly, I don't think we should care at all.
For the byte range 128-255, anybody who uses ctype on them gets what they get. In the kernel, the most likely use of it is for 'isprint()', and if those care, they can (and some do) use 'isascii()' in addition.
I don't know if you realize, but the kernel already says "screw libc", and makes all the isxyz() things just cast the argument to 'unsigned char', and doesn't care about EOF.
And for the rest, let's just call it the "kernel locale", and just admit that the kernel locale is entirely historical.
Boom - problem solved, and it's entirely standards conformant (apart possibly from the EOF case, I think that is marked as a "lower case character" right now ;)
Looking through
https://pubs.opengroup.org/onlinepubs/9699919799/
I'm not actually seeing anything that says that we don't do *exactly* what the standard requires.
You thinking that the kernel locale is US-ASCII is just wrong.
Linus
kernel test robot
build botI love your patch! Perhaps something to improve:
Hi Jason,
I love your patch! Perhaps something to improve:
[auto build test WARNING on masahiroy-kbuild/for-next]
[also build test WARNING on linus/master v6.1-rc1]
[cannot apply to next-20221020]
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jason-A-Donenfeld/kbuild-treat-char-as-always-signed/20221020-113408 base: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next patch link: https://lore.kernel.org/r/20221019162648.3557490-1-Jason%40zx2c4.com patch subject: [PATCH] kbuild: treat char as always signed config: s390-allmodconfig compiler: s390-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/574c38568c2c4a092070a42616218871cf6b7ff9 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jason-A-Donenfeld/kbuild-treat-char-as-always-signed/20221020-113408 git checkout 574c38568c2c4a092070a42616218871cf6b7ff9 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash drivers/s390/block/ drivers/s390/char/
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <[email protected]>
All warnings (new ones prefixed by >>):
drivers/s390/block/dasd.c: In function '__dasd_process_cqr':
>> drivers/s390/block/dasd.c:1912:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
1912 | case DASD_CQR_ERROR:
| ^~~~
drivers/s390/block/dasd.c:1915:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
1915 | case DASD_CQR_CLEARED:
| ^~~~
drivers/s390/block/dasd.c:1909:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
1909 | case DASD_CQR_SUCCESS:
| ^~~~
drivers/s390/block/dasd.c: In function 'dasd_flush_device_queue':
drivers/s390/block/dasd.c:2113:17: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
2113 | case DASD_CQR_QUEUED:
| ^~~~
drivers/s390/block/dasd.c:2102:17: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
2102 | case DASD_CQR_IN_IO:
| ^~~~
drivers/s390/block/dasd.c: In function '__dasd_cancel_req':
drivers/s390/block/dasd.c:2615:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
2615 | case DASD_CQR_QUEUED:
| ^~~~
drivers/s390/block/dasd.c:2619:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
2619 | case DASD_CQR_IN_IO:
| ^~~~
--
drivers/s390/block/dasd_3990_erp.c: In function 'dasd_3990_handle_env_data':
>> drivers/s390/block/dasd_3990_erp.c:861:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
861 | case 0x80: /* Format 8 - Additional Device Equipment Checks */
| ^~~~
drivers/s390/block/dasd_3990_erp.c:914:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
914 | case 0x90: /* Format 9 - Device Read, Write, and Seek Checks */
| ^~~~
drivers/s390/block/dasd_3990_erp.c:943:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
943 | case 0xF0: /* Format F - Cache Storage Checks */
| ^~~~
--
drivers/s390/char/sclp_vt220.c: In function 'sclp_vt220_receiver_fn':
>> drivers/s390/char/sclp_vt220.c:536:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
536 | case SCLP_VT220_SESSION_STARTED:
| ^~~~vim +1912 drivers/s390/block/dasd.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 1902
5c618c0cf451f1 Sebastian Ott 2018-05-24 1903 static void __dasd_process_cqr(struct dasd_device *device,
5c618c0cf451f1 Sebastian Ott 2018-05-24 1904 struct dasd_ccw_req *cqr)
^1da177e4c3f41 Linus Torvalds 2005-04-16 1905 {
fc19f381b3828a Stefan Haberland 2009-03-26 1906 char errorstring[ERRORLENGTH];
f24acd4503270e Horst Hummel 2005-05-01 1907
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1908 switch (cqr->status) {
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1909 case DASD_CQR_SUCCESS:
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1910 cqr->status = DASD_CQR_DONE;
d54853ef8cb172 Martin Schwidefsky 2007-02-05 1911 break;
8e09f21574ea30 Stefan Weinhuber 2008-01-26 @1912 case DASD_CQR_ERROR:
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1913 cqr->status = DASD_CQR_NEED_ERP;
d54853ef8cb172 Martin Schwidefsky 2007-02-05 1914 break;
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1915 case DASD_CQR_CLEARED:
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1916 cqr->status = DASD_CQR_TERMINATED;
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1917 break;
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1918 default:
fc19f381b3828a Stefan Haberland 2009-03-26 1919 /* internal error 12 - wrong cqr status*/
fc19f381b3828a Stefan Haberland 2009-03-26 1920 snprintf(errorstring, ERRORLENGTH, "12 %p %x02", cqr, cqr->status);
fc19f381b3828a Stefan Haberland 2009-03-26 1921 dev_err(&device->cdev->dev,
fc19f381b3828a Stefan Haberland 2009-03-26 1922 "An error occurred in the DASD device driver, "
fc19f381b3828a Stefan Haberland 2009-03-26 1923 "reason=%s\n", errorstring);
8e09f21574ea30 Stefan Weinhuber 2008-01-26 1924 BUG();
d54853ef8cb172 Martin Schwidefsky 2007-02-05 1925 }
5c618c0cf451f1 Sebastian Ott 2018-05-24 1926 if (cqr->callback)
5c618c0cf451f1 Sebastian Ott 2018-05-24 1927 cqr->callback(cqr, cqr->callback_data);
5c618c0cf451f1 Sebastian Ott 2018-05-24 1928 }5c618c0cf451f1 Sebastian Ott 2018-05-24 1929
Signature · 2 lines
0-DAY CI Kernel Test Service https://01.org/lkp
#
# Automatically generated file; DO NOT EDIT. # Linux/s390 6.0.0 Kernel Configuration
#CONFIG_CC_VERSION_TEXT="s390-linux-gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=yCONFIG_GCC_VERSION=120100 CONFIG_CLANG_VERSION=0CONFIG_AS_IS_GNU=yCONFIG_AS_VERSION=23800CONFIG_LD_IS_BFD=yCONFIG_LD_VERSION=23800CONFIG_LLD_VERSION=0 CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y CONFIG_CC_HAS_ASM_INLINE=y CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y CONFIG_PAHOLE_VERSION=123 CONFIG_CONSTRUCTORS=yCONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_THREAD_INFO_IN_TASK=y
#
# General setup
#CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_WERROR is not setCONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_BUILD_SALT=""CONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_HAVE_KERNEL_LZ4=yCONFIG_HAVE_KERNEL_ZSTD=yCONFIG_HAVE_KERNEL_UNCOMPRESSED=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
# CONFIG_KERNEL_ZSTD is not set
# CONFIG_KERNEL_UNCOMPRESSED is not setCONFIG_DEFAULT_INIT=""CONFIG_DEFAULT_HOSTNAME="(none)"CONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_SYSVIPC_COMPAT=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=yCONFIG_WATCH_QUEUE=yCONFIG_CROSS_MEMORY_ATTACH=yCONFIG_USELIB=yCONFIG_AUDIT=yCONFIG_HAVE_ARCH_AUDITSYSCALL=yCONFIG_AUDITSYSCALL=y
#
# IRQ subsystem
#CONFIG_GENERIC_IRQ_INJECTION=yCONFIG_GENERIC_IRQ_CHIP=yCONFIG_IRQ_DOMAIN=yCONFIG_IRQ_SIM=yCONFIG_SPARSE_IRQ=yCONFIG_GENERIC_IRQ_DEBUGFS=y
# end of IRQ subsystem
CONFIG_GENERIC_TIME_VSYSCALL=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_TIME_KUNIT_TEST=mCONFIG_CONTEXT_TRACKING=yCONFIG_CONTEXT_TRACKING_IDLE=y
#
# Timers subsystem
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not setCONFIG_NO_HZ_IDLE=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem
CONFIG_BPF=yCONFIG_HAVE_EBPF_JIT=yCONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
#
# BPF subsystem
#CONFIG_BPF_SYSCALL=yCONFIG_BPF_JIT=yCONFIG_BPF_JIT_ALWAYS_ON=yCONFIG_BPF_JIT_DEFAULT_ON=yCONFIG_BPF_UNPRIV_DEFAULT_OFF=yCONFIG_USERMODE_DRIVER=y
# CONFIG_BPF_PRELOAD is not setCONFIG_BPF_LSM=y
# end of BPF subsystem
CONFIG_PREEMPT_NONE_BUILD=yCONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not setCONFIG_PREEMPT_COUNT=yCONFIG_SCHED_CORE=y
#
# CPU/Task time and stats accounting
#CONFIG_VIRT_CPU_ACCOUNTING=yCONFIG_VIRT_CPU_ACCOUNTING_NATIVE=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_BSD_PROCESS_ACCT_V3=yCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=yCONFIG_PSI=yCONFIG_PSI_DEFAULT_DISABLED=y
# end of CPU/Task time and stats accounting
CONFIG_CPU_ISOLATION=y
#
# RCU Subsystem
#CONFIG_TREE_RCU=yCONFIG_RCU_EXPERT=yCONFIG_SRCU=yCONFIG_TREE_SRCU=yCONFIG_TASKS_RCU_GENERIC=yCONFIG_FORCE_TASKS_RCU=yCONFIG_TASKS_RCU=yCONFIG_FORCE_TASKS_RUDE_RCU=yCONFIG_TASKS_RUDE_RCU=yCONFIG_FORCE_TASKS_TRACE_RCU=yCONFIG_TASKS_TRACE_RCU=yCONFIG_RCU_STALL_COMMON=yCONFIG_RCU_NEED_SEGCBLIST=yCONFIG_RCU_FANOUT=64CONFIG_RCU_FANOUT_LEAF=16CONFIG_RCU_NOCB_CPU=yCONFIG_RCU_NOCB_CPU_DEFAULT_ALL=yCONFIG_TASKS_TRACE_RCU_READ_MB=y
# end of RCU Subsystem
CONFIG_BUILD_BIN2C=yCONFIG_IKCONFIG=mCONFIG_IKCONFIG_PROC=yCONFIG_IKHEADERS=mCONFIG_LOG_BUF_SHIFT=17CONFIG_LOG_CPU_MAX_BUF_SHIFT=12CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13CONFIG_PRINTK_INDEX=y
#
# Scheduler features
#
# end of Scheduler features
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y CONFIG_CC_HAS_INT128=y CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5" CONFIG_GCC12_NO_ARRAY_BOUNDS=y CONFIG_CC_NO_ARRAY_BOUNDS=y CONFIG_NUMA_BALANCING=y CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y CONFIG_CGROUPS=yCONFIG_PAGE_COUNTER=y CONFIG_CGROUP_FAVOR_DYNMODS=yCONFIG_MEMCG=yCONFIG_MEMCG_KMEM=yCONFIG_BLK_CGROUP=yCONFIG_CGROUP_WRITEBACK=yCONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=yCONFIG_CFS_BANDWIDTH=yCONFIG_RT_GROUP_SCHED=yCONFIG_CGROUP_PIDS=yCONFIG_CGROUP_RDMA=yCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_HUGETLB=yCONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=yCONFIG_CGROUP_DEVICE=yCONFIG_CGROUP_CPUACCT=yCONFIG_CGROUP_PERF=yCONFIG_CGROUP_BPF=yCONFIG_CGROUP_MISC=yCONFIG_CGROUP_DEBUG=yCONFIG_SOCK_CGROUP_DATA=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_TIME_NS=yCONFIG_IPC_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=yCONFIG_CHECKPOINT_RESTORE=y CONFIG_SCHED_AUTOGROUP=y CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=yCONFIG_RELAY=yCONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=yCONFIG_RD_BZIP2=yCONFIG_RD_LZMA=yCONFIG_RD_XZ=yCONFIG_RD_LZO=yCONFIG_RD_LZ4=yCONFIG_RD_ZSTD=yCONFIG_BOOT_CONFIG=yCONFIG_BOOT_CONFIG_EMBED=y CONFIG_BOOT_CONFIG_EMBED_FILE="" CONFIG_INITRAMFS_PRESERVE_MTIME=y CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=yCONFIG_HAVE_UID16=y CONFIG_SYSCTL_EXCEPTION_TRACE=yCONFIG_EXPERT=yCONFIG_UID16=yCONFIG_MULTIUSER=yCONFIG_SGETMASK_SYSCALL=yCONFIG_SYSFS_SYSCALL=yCONFIG_FHANDLE=yCONFIG_POSIX_TIMERS=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_FUTEX_PI=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_IO_URING=yCONFIG_ADVISE_SYSCALLS=yCONFIG_MEMBARRIER=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_BASE_RELATIVE=yCONFIG_KCMP=yCONFIG_RSEQ=yCONFIG_DEBUG_RSEQ=yCONFIG_EMBEDDED=yCONFIG_HAVE_PERF_EVENTS=y CONFIG_PERF_USE_VMALLOC=yCONFIG_PC104=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=yCONFIG_DEBUG_PERF_USE_VMALLOC=y
# end of Kernel Performance Events And Counters
CONFIG_SYSTEM_DATA_VERIFICATION=yCONFIG_PROFILING=yCONFIG_TRACEPOINTS=y
# end of General setup
CONFIG_MMU=yCONFIG_CPU_BIG_ENDIAN=yCONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=yCONFIG_GENERIC_HWEIGHT=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_BUG_RELATIVE_POINTERS=yCONFIG_PGSTE=yCONFIG_AUDIT_ARCH=yCONFIG_NO_IOPORT_MAP=yCONFIG_ARCH_SUPPORTS_UPROBES=yCONFIG_KASAN_SHADOW_OFFSET=0x1C000000000000CONFIG_S390=yCONFIG_SCHED_OMIT_FRAME_POINTER=yCONFIG_PGTABLE_LEVELS=5CONFIG_HAVE_LIVEPATCH=yCONFIG_LIVEPATCH=y
#
# Processor type and features
#CONFIG_HAVE_MARCH_Z10_FEATURES=yCONFIG_HAVE_MARCH_Z196_FEATURES=y
# CONFIG_MARCH_Z10 is not setCONFIG_MARCH_Z196=y
# CONFIG_MARCH_ZEC12 is not set
# CONFIG_MARCH_Z13 is not set
# CONFIG_MARCH_Z14 is not set
# CONFIG_MARCH_Z15 is not setCONFIG_MARCH_Z196_TUNE=yCONFIG_TUNE_DEFAULT=y
# CONFIG_TUNE_Z10 is not set
# CONFIG_TUNE_Z196 is not set
# CONFIG_TUNE_ZEC12 is not set
# CONFIG_TUNE_Z13 is not set
# CONFIG_TUNE_Z14 is not set
# CONFIG_TUNE_Z15 is not set
# CONFIG_TUNE_Z16 is not setCONFIG_64BIT=yCONFIG_COMMAND_LINE_SIZE=4096CONFIG_COMPAT=yCONFIG_SMP=yCONFIG_NR_CPUS=64CONFIG_HOTPLUG_CPU=yCONFIG_NUMA=yCONFIG_NODES_SHIFT=1CONFIG_SCHED_SMT=yCONFIG_SCHED_MC=yCONFIG_SCHED_BOOK=yCONFIG_SCHED_DRAWER=yCONFIG_SCHED_TOPOLOGY=y
# CONFIG_HZ_100 is not setCONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not setCONFIG_HZ=250CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=yCONFIG_KEXEC_FILE=yCONFIG_ARCH_HAS_KEXEC_PURGATORY=yCONFIG_KEXEC_SIG=yCONFIG_KERNEL_NOBP=yCONFIG_EXPOLINE=yCONFIG_EXPOLINE_EXTERN=y
# CONFIG_EXPOLINE_OFF is not set
# CONFIG_EXPOLINE_AUTO is not setCONFIG_EXPOLINE_FULL=yCONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
# end of Processor type and features
#
# Memory setup
#CONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_DEFAULT=yCONFIG_MAX_PHYSMEM_BITS=46
# end of Memory setup
#
# I/O subsystem
#CONFIG_QDIO=mCONFIG_CHSC_SCH=mCONFIG_SCM_BUS=yCONFIG_EADM_SCH=mCONFIG_VFIO_CCW=mCONFIG_VFIO_AP=m
# end of I/O subsystem
#
# Dump support
#CONFIG_CRASH_DUMP=y
# end of Dump support
CONFIG_CCW=yCONFIG_HAVE_PNETID=m
#
# Virtualization
#CONFIG_PROTECTED_VIRTUALIZATION_GUEST=yCONFIG_PFAULT=yCONFIG_CMM=mCONFIG_CMM_IUCV=yCONFIG_APPLDATA_BASE=yCONFIG_APPLDATA_MEM=mCONFIG_APPLDATA_OS=mCONFIG_APPLDATA_NET_SUM=mCONFIG_S390_HYPFS_FS=yCONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_HAVE_KVM_IRQFD=yCONFIG_HAVE_KVM_IRQ_ROUTING=yCONFIG_HAVE_KVM_EVENTFD=yCONFIG_KVM_ASYNC_PF=yCONFIG_KVM_ASYNC_PF_SYNC=yCONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=yCONFIG_KVM_VFIO=yCONFIG_HAVE_KVM_INVALID_WAKEUPS=yCONFIG_HAVE_KVM_VCPU_ASYNC_IOCTL=yCONFIG_HAVE_KVM_NO_POLL=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=mCONFIG_KVM_S390_UCONTROL=yCONFIG_S390_GUEST=y
# end of Virtualization
CONFIG_S390_MODULES_SANITY_TEST_HELPERS=y
#
# Selftests
#CONFIG_S390_UNWIND_SELFTEST=mCONFIG_S390_KPROBES_SANITY_TEST=mCONFIG_S390_MODULES_SANITY_TEST=m
# end of Selftests
#
# General architecture-dependent options
#CONFIG_CRASH_CORE=yCONFIG_KEXEC_CORE=yCONFIG_GENERIC_ENTRY=yCONFIG_KPROBES=yCONFIG_JUMP_LABEL=yCONFIG_STATIC_KEYS_SELFTEST=yCONFIG_KPROBES_ON_FTRACE=yCONFIG_UPROBES=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_ARCH_USE_BUILTIN_BSWAP=yCONFIG_KRETPROBES=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_KPROBES_ON_FTRACE=yCONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=yCONFIG_HAVE_FUNCTION_ERROR_INJECTION=yCONFIG_HAVE_NMI=yCONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_CONTIGUOUS=yCONFIG_GENERIC_SMP_IDLE_THREAD=yCONFIG_ARCH_HAS_FORTIFY_SOURCE=yCONFIG_ARCH_HAS_SET_MEMORY=yCONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=yCONFIG_ARCH_WANTS_NO_INSTR=yCONFIG_ARCH_32BIT_USTAT_F_TINODE=yCONFIG_HAVE_ASM_MODVERSIONS=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_RSEQ=yCONFIG_HAVE_FUNCTION_ARG_ACCESS_API=yCONFIG_HAVE_PERF_REGS=yCONFIG_HAVE_PERF_USER_STACK_DUMP=yCONFIG_HAVE_ARCH_JUMP_LABEL=yCONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=yCONFIG_MMU_GATHER_TABLE_FREE=yCONFIG_MMU_GATHER_RCU_TABLE_FREE=yCONFIG_MMU_GATHER_MERGE_VMAS=yCONFIG_MMU_GATHER_NO_GATHER=yCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=yCONFIG_HAVE_ALIGNED_STRUCT_PAGE=yCONFIG_HAVE_CMPXCHG_LOCAL=yCONFIG_HAVE_CMPXCHG_DOUBLE=yCONFIG_ARCH_WANT_IPC_PARSE_VERSION=yCONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=yCONFIG_ARCH_WANT_OLD_COMPAT_IPC=yCONFIG_HAVE_ARCH_SECCOMP=yCONFIG_HAVE_ARCH_SECCOMP_FILTER=yCONFIG_SECCOMP=yCONFIG_SECCOMP_FILTER=yCONFIG_SECCOMP_CACHE_DEBUG=yCONFIG_LTO_NONE=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING_IDLE=yCONFIG_ARCH_HAS_SCALED_CPUTIME=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=yCONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=yCONFIG_HAVE_ARCH_SOFT_DIRTY=yCONFIG_HAVE_MOD_ARCH_SPECIFIC=yCONFIG_MODULES_USE_ELF_RELA=yCONFIG_HAVE_SOFTIRQ_ON_OWN_STACK=yCONFIG_SOFTIRQ_ON_OWN_STACK=yCONFIG_ALTERNATE_USER_ADDRESS_SPACE=yCONFIG_ARCH_HAS_ELF_RANDOMIZE=yCONFIG_PAGE_SIZE_LESS_THAN_64KB=yCONFIG_PAGE_SIZE_LESS_THAN_256KB=yCONFIG_HAVE_RELIABLE_STACKTRACE=yCONFIG_CLONE_BACKWARDS2=yCONFIG_OLD_SIGSUSPEND3=yCONFIG_OLD_SIGACTION=yCONFIG_COMPAT_OLD_SIGACTION=yCONFIG_COMPAT_32BIT_TIME=yCONFIG_HAVE_ARCH_VMAP_STACK=yCONFIG_VMAP_STACK=yCONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET=yCONFIG_RANDOMIZE_KSTACK_OFFSET=yCONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=yCONFIG_ARCH_HAS_STRICT_KERNEL_RWX=yCONFIG_STRICT_KERNEL_RWX=yCONFIG_ARCH_HAS_STRICT_MODULE_RWX=yCONFIG_STRICT_MODULE_RWX=yCONFIG_LOCK_EVENT_COUNTS=yCONFIG_ARCH_HAS_MEM_ENCRYPT=yCONFIG_ARCH_HAS_VDSO_DATA=yCONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
#
# GCOV-based kernel profiling
#CONFIG_GCOV_KERNEL=yCONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# CONFIG_GCOV_PROFILE_ALL is not set
# end of GCOV-based kernel profiling
CONFIG_HAVE_GCC_PLUGINS=yCONFIG_GCC_PLUGINS=yCONFIG_GCC_PLUGIN_LATENT_ENTROPY=y
# end of General architecture-dependent options
CONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULE_SIG_FORMAT=yCONFIG_MODULES=yCONFIG_MODULE_FORCE_LOAD=yCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_MODULE_UNLOAD_TAINT_TRACKING=yCONFIG_MODVERSIONS=yCONFIG_ASM_MODVERSIONS=yCONFIG_MODULE_SRCVERSION_ALL=yCONFIG_MODULE_SIG=yCONFIG_MODULE_SIG_FORCE=yCONFIG_MODULE_SIG_ALL=yCONFIG_MODULE_SIG_SHA1=y
# CONFIG_MODULE_SIG_SHA224 is not set
# CONFIG_MODULE_SIG_SHA256 is not set
# CONFIG_MODULE_SIG_SHA384 is not set
# CONFIG_MODULE_SIG_SHA512 is not setCONFIG_MODULE_SIG_HASH="sha1"CONFIG_MODULE_COMPRESS_NONE=y
# CONFIG_MODULE_COMPRESS_GZIP is not set
# CONFIG_MODULE_COMPRESS_XZ is not set
# CONFIG_MODULE_COMPRESS_ZSTD is not setCONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=yCONFIG_MODPROBE_PATH="/sbin/modprobe"
# CONFIG_TRIM_UNUSED_KSYMS is not setCONFIG_MODULES_TREE_LOOKUP=yCONFIG_BLOCK=yCONFIG_BLOCK_LEGACY_AUTOLOAD=yCONFIG_BLK_RQ_ALLOC_TIME=yCONFIG_BLK_CGROUP_RWSTAT=yCONFIG_BLK_DEV_BSG_COMMON=yCONFIG_BLK_ICQ=yCONFIG_BLK_DEV_BSGLIB=yCONFIG_BLK_DEV_INTEGRITY=yCONFIG_BLK_DEV_INTEGRITY_T10=mCONFIG_BLK_DEV_ZONED=yCONFIG_BLK_DEV_THROTTLING=yCONFIG_BLK_DEV_THROTTLING_LOW=yCONFIG_BLK_WBT=yCONFIG_BLK_WBT_MQ=yCONFIG_BLK_CGROUP_IOLATENCY=yCONFIG_BLK_CGROUP_FC_APPID=yCONFIG_BLK_CGROUP_IOCOST=yCONFIG_BLK_CGROUP_IOPRIO=yCONFIG_BLK_DEBUG_FS=yCONFIG_BLK_DEBUG_FS_ZONED=yCONFIG_BLK_SED_OPAL=yCONFIG_BLK_INLINE_ENCRYPTION=yCONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=yCONFIG_ACORN_PARTITION=yCONFIG_ACORN_PARTITION_CUMANA=yCONFIG_ACORN_PARTITION_EESOX=yCONFIG_ACORN_PARTITION_ICS=yCONFIG_ACORN_PARTITION_ADFS=yCONFIG_ACORN_PARTITION_POWERTEC=yCONFIG_ACORN_PARTITION_RISCIX=yCONFIG_AIX_PARTITION=yCONFIG_OSF_PARTITION=yCONFIG_AMIGA_PARTITION=yCONFIG_ATARI_PARTITION=yCONFIG_IBM_PARTITION=yCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=yCONFIG_MINIX_SUBPARTITION=yCONFIG_SOLARIS_X86_PARTITION=yCONFIG_UNIXWARE_DISKLABEL=yCONFIG_LDM_PARTITION=yCONFIG_LDM_DEBUG=yCONFIG_SGI_PARTITION=yCONFIG_ULTRIX_PARTITION=yCONFIG_SUN_PARTITION=yCONFIG_KARMA_PARTITION=yCONFIG_EFI_PARTITION=yCONFIG_SYSV68_PARTITION=yCONFIG_CMDLINE_PARTITION=y
# end of Partition Types
CONFIG_BLOCK_COMPAT=yCONFIG_BLK_MQ_VIRTIO=yCONFIG_BLOCK_HOLDER_DEPRECATED=yCONFIG_BLK_MQ_STACKING=y
#
# IO Schedulers
#CONFIG_MQ_IOSCHED_DEADLINE=yCONFIG_MQ_IOSCHED_KYBER=mCONFIG_IOSCHED_BFQ=mCONFIG_BFQ_GROUP_IOSCHED=yCONFIG_BFQ_CGROUP_DEBUG=y
# end of IO Schedulers
CONFIG_PREEMPT_NOTIFIERS=yCONFIG_PADATA=yCONFIG_ASN1=yCONFIG_ARCH_INLINE_SPIN_TRYLOCK=yCONFIG_ARCH_INLINE_SPIN_TRYLOCK_BH=yCONFIG_ARCH_INLINE_SPIN_LOCK=yCONFIG_ARCH_INLINE_SPIN_LOCK_BH=yCONFIG_ARCH_INLINE_SPIN_LOCK_IRQ=yCONFIG_ARCH_INLINE_SPIN_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_SPIN_UNLOCK=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_BH=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE=yCONFIG_ARCH_INLINE_READ_TRYLOCK=yCONFIG_ARCH_INLINE_READ_LOCK=yCONFIG_ARCH_INLINE_READ_LOCK_BH=yCONFIG_ARCH_INLINE_READ_LOCK_IRQ=yCONFIG_ARCH_INLINE_READ_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_READ_UNLOCK=yCONFIG_ARCH_INLINE_READ_UNLOCK_BH=yCONFIG_ARCH_INLINE_READ_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_READ_UNLOCK_IRQRESTORE=yCONFIG_ARCH_INLINE_WRITE_TRYLOCK=yCONFIG_ARCH_INLINE_WRITE_LOCK=yCONFIG_ARCH_INLINE_WRITE_LOCK_BH=yCONFIG_ARCH_INLINE_WRITE_LOCK_IRQ=yCONFIG_ARCH_INLINE_WRITE_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_WRITE_UNLOCK=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_BH=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE=yCONFIG_UNINLINE_SPIN_UNLOCK=yCONFIG_ARCH_SUPPORTS_ATOMIC_RMW=yCONFIG_MUTEX_SPIN_ON_OWNER=yCONFIG_RWSEM_SPIN_ON_OWNER=yCONFIG_LOCK_SPIN_ON_OWNER=yCONFIG_ARCH_HAS_SYSCALL_WRAPPER=yCONFIG_FREEZER=y
#
# Executable file formats
#CONFIG_BINFMT_ELF=yCONFIG_COMPAT_BINFMT_ELF=yCONFIG_ARCH_BINFMT_ELF_STATE=yCONFIG_ELFCORE=yCONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=yCONFIG_BINFMT_SCRIPT=mCONFIG_BINFMT_MISC=mCONFIG_COREDUMP=y
# end of Executable file formats
#
# Memory Management options
#CONFIG_ZPOOL=yCONFIG_SWAP=yCONFIG_ZSWAP=yCONFIG_ZSWAP_DEFAULT_ON=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842 is not set # CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set # CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4HC is not set # CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD is not set CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lzo" CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y
# CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set CONFIG_ZSWAP_ZPOOL_DEFAULT="zbud" CONFIG_ZBUD=yCONFIG_Z3FOLD=mCONFIG_ZSMALLOC=mCONFIG_ZSMALLOC_STAT=y
#
# SLAB allocator options
#
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not setCONFIG_SLAB_MERGE_DEFAULT=yCONFIG_SLAB_FREELIST_RANDOM=yCONFIG_SLAB_FREELIST_HARDENED=yCONFIG_SLUB_STATS=yCONFIG_SLUB_CPU_PARTIAL=y
# end of SLAB allocator options
CONFIG_SHUFFLE_PAGE_ALLOCATOR=yCONFIG_COMPAT_BRK=yCONFIG_SPARSEMEM=yCONFIG_SPARSEMEM_EXTREME=yCONFIG_SPARSEMEM_VMEMMAP_ENABLE=yCONFIG_SPARSEMEM_VMEMMAP=yCONFIG_HAVE_MEMBLOCK_PHYS_MAP=yCONFIG_HAVE_FAST_GUP=yCONFIG_NUMA_KEEP_MEMINFO=yCONFIG_MEMORY_ISOLATION=yCONFIG_EXCLUSIVE_SYSTEM_RAM=yCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=yCONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=yCONFIG_MEMORY_HOTPLUG=yCONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=yCONFIG_MEMORY_HOTREMOVE=yCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=yCONFIG_MEMORY_BALLOON=yCONFIG_BALLOON_COMPACTION=yCONFIG_COMPACTION=yCONFIG_COMPACT_UNEVICTABLE_DEFAULT=1CONFIG_PAGE_REPORTING=yCONFIG_MIGRATION=yCONFIG_CONTIG_ALLOC=yCONFIG_PHYS_ADDR_T_64BIT=yCONFIG_MMU_NOTIFIER=yCONFIG_KSM=yCONFIG_DEFAULT_MMAP_MIN_ADDR=4096CONFIG_TRANSPARENT_HUGEPAGE=yCONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not setCONFIG_READ_ONLY_THP_FOR_FS=yCONFIG_FRONTSWAP=yCONFIG_CMA=yCONFIG_CMA_DEBUG=yCONFIG_CMA_DEBUGFS=yCONFIG_CMA_SYSFS=yCONFIG_CMA_AREAS=19CONFIG_MEM_SOFT_DIRTY=yCONFIG_DEFERRED_STRUCT_PAGE_INIT=yCONFIG_PAGE_IDLE_FLAG=yCONFIG_IDLE_PAGE_TRACKING=yCONFIG_ARCH_HAS_CURRENT_STACK_POINTER=yCONFIG_ZONE_DMA=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_PERCPU_STATS=yCONFIG_GUP_TEST=yCONFIG_ARCH_HAS_PTE_SPECIAL=yCONFIG_ANON_VMA_NAME=yCONFIG_USERFAULTFD=yCONFIG_LRU_GEN=yCONFIG_LRU_GEN_ENABLED=yCONFIG_LRU_GEN_STATS=y
#
# Data Access Monitoring
#CONFIG_DAMON=yCONFIG_DAMON_VADDR=yCONFIG_DAMON_PADDR=yCONFIG_DAMON_SYSFS=yCONFIG_DAMON_DBGFS=yCONFIG_DAMON_RECLAIM=yCONFIG_DAMON_LRU_SORT=y
# end of Data Access Monitoring # end of Memory Management options
CONFIG_NET=yCONFIG_NET_INGRESS=yCONFIG_NET_EGRESS=yCONFIG_NET_REDIRECT=yCONFIG_SKB_EXTENSIONS=y
#
# Networking options
#CONFIG_PACKET=mCONFIG_PACKET_DIAG=mCONFIG_UNIX=mCONFIG_UNIX_SCM=yCONFIG_AF_UNIX_OOB=yCONFIG_UNIX_DIAG=mCONFIG_TLS=mCONFIG_TLS_DEVICE=yCONFIG_TLS_TOE=yCONFIG_XFRM=yCONFIG_XFRM_OFFLOAD=yCONFIG_XFRM_ALGO=mCONFIG_XFRM_USER=mCONFIG_XFRM_INTERFACE=mCONFIG_XFRM_SUB_POLICY=yCONFIG_XFRM_MIGRATE=yCONFIG_XFRM_STATISTICS=yCONFIG_XFRM_AH=mCONFIG_XFRM_ESP=mCONFIG_XFRM_IPCOMP=mCONFIG_NET_KEY=mCONFIG_NET_KEY_MIGRATE=yCONFIG_XFRM_ESPINTCP=yCONFIG_IUCV=yCONFIG_AFIUCV=mCONFIG_XDP_SOCKETS=yCONFIG_XDP_SOCKETS_DIAG=mCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_IP_FIB_TRIE_STATS=yCONFIG_IP_MULTIPLE_TABLES=yCONFIG_IP_ROUTE_MULTIPATH=yCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_ROUTE_CLASSID=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=yCONFIG_IP_PNP_RARP=yCONFIG_NET_IPIP=mCONFIG_NET_IPGRE_DEMUX=mCONFIG_NET_IP_TUNNEL=mCONFIG_NET_IPGRE=mCONFIG_NET_IPGRE_BROADCAST=yCONFIG_IP_MROUTE_COMMON=yCONFIG_IP_MROUTE=yCONFIG_IP_MROUTE_MULTIPLE_TABLES=yCONFIG_IP_PIMSM_V1=yCONFIG_IP_PIMSM_V2=yCONFIG_SYN_COOKIES=yCONFIG_NET_IPVTI=mCONFIG_NET_UDP_TUNNEL=mCONFIG_NET_FOU=mCONFIG_NET_FOU_IP_TUNNELS=yCONFIG_INET_AH=mCONFIG_INET_ESP=mCONFIG_INET_ESP_OFFLOAD=mCONFIG_INET_ESPINTCP=yCONFIG_INET_IPCOMP=mCONFIG_INET_XFRM_TUNNEL=mCONFIG_INET_TUNNEL=mCONFIG_INET_DIAG=mCONFIG_INET_TCP_DIAG=mCONFIG_INET_UDP_DIAG=mCONFIG_INET_RAW_DIAG=mCONFIG_INET_DIAG_DESTROY=yCONFIG_TCP_CONG_ADVANCED=yCONFIG_TCP_CONG_BIC=mCONFIG_TCP_CONG_CUBIC=mCONFIG_TCP_CONG_WESTWOOD=mCONFIG_TCP_CONG_HTCP=mCONFIG_TCP_CONG_HSTCP=mCONFIG_TCP_CONG_HYBLA=mCONFIG_TCP_CONG_VEGAS=mCONFIG_TCP_CONG_NV=mCONFIG_TCP_CONG_SCALABLE=mCONFIG_TCP_CONG_LP=mCONFIG_TCP_CONG_VENO=mCONFIG_TCP_CONG_YEAH=mCONFIG_TCP_CONG_ILLINOIS=mCONFIG_TCP_CONG_DCTCP=mCONFIG_TCP_CONG_CDG=mCONFIG_TCP_CONG_BBR=mCONFIG_DEFAULT_RENO=yCONFIG_DEFAULT_TCP_CONG="reno"CONFIG_TCP_MD5SIG=yCONFIG_IPV6=mCONFIG_IPV6_ROUTER_PREF=yCONFIG_IPV6_ROUTE_INFO=yCONFIG_IPV6_OPTIMISTIC_DAD=yCONFIG_INET6_AH=mCONFIG_INET6_ESP=mCONFIG_INET6_ESP_OFFLOAD=mCONFIG_INET6_ESPINTCP=yCONFIG_INET6_IPCOMP=mCONFIG_IPV6_MIP6=mCONFIG_IPV6_ILA=mCONFIG_INET6_XFRM_TUNNEL=mCONFIG_INET6_TUNNEL=mCONFIG_IPV6_VTI=mCONFIG_IPV6_SIT=mCONFIG_IPV6_SIT_6RD=yCONFIG_IPV6_NDISC_NODETYPE=yCONFIG_IPV6_TUNNEL=mCONFIG_IPV6_GRE=mCONFIG_IPV6_FOU=mCONFIG_IPV6_FOU_TUNNEL=mCONFIG_IPV6_MULTIPLE_TABLES=yCONFIG_IPV6_SUBTREES=yCONFIG_IPV6_MROUTE=yCONFIG_IPV6_MROUTE_MULTIPLE_TABLES=yCONFIG_IPV6_PIMSM_V2=yCONFIG_IPV6_SEG6_LWTUNNEL=yCONFIG_IPV6_SEG6_HMAC=yCONFIG_IPV6_RPL_LWTUNNEL=yCONFIG_IPV6_IOAM6_LWTUNNEL=yCONFIG_NETLABEL=yCONFIG_MPTCP=yCONFIG_INET_MPTCP_DIAG=mCONFIG_MPTCP_KUNIT_TEST=mCONFIG_NETWORK_SECMARK=yCONFIG_NET_PTP_CLASSIFY=yCONFIG_NETWORK_PHY_TIMESTAMPING=yCONFIG_NETFILTER=yCONFIG_NETFILTER_ADVANCED=yCONFIG_BRIDGE_NETFILTER=m
#
# Core Netfilter Configuration
#CONFIG_NETFILTER_INGRESS=yCONFIG_NETFILTER_EGRESS=yCONFIG_NETFILTER_SKIP_EGRESS=yCONFIG_NETFILTER_NETLINK=mCONFIG_NETFILTER_FAMILY_BRIDGE=yCONFIG_NETFILTER_FAMILY_ARP=yCONFIG_NETFILTER_NETLINK_HOOK=mCONFIG_NETFILTER_NETLINK_ACCT=mCONFIG_NETFILTER_NETLINK_QUEUE=mCONFIG_NETFILTER_NETLINK_LOG=mCONFIG_NETFILTER_NETLINK_OSF=mCONFIG_NF_CONNTRACK=mCONFIG_NF_LOG_SYSLOG=mCONFIG_NETFILTER_CONNCOUNT=mCONFIG_NF_CONNTRACK_MARK=yCONFIG_NF_CONNTRACK_SECMARK=yCONFIG_NF_CONNTRACK_ZONES=yCONFIG_NF_CONNTRACK_PROCFS=yCONFIG_NF_CONNTRACK_EVENTS=yCONFIG_NF_CONNTRACK_TIMEOUT=yCONFIG_NF_CONNTRACK_TIMESTAMP=yCONFIG_NF_CONNTRACK_LABELS=yCONFIG_NF_CT_PROTO_DCCP=yCONFIG_NF_CT_PROTO_GRE=yCONFIG_NF_CT_PROTO_SCTP=yCONFIG_NF_CT_PROTO_UDPLITE=yCONFIG_NF_CONNTRACK_AMANDA=mCONFIG_NF_CONNTRACK_FTP=mCONFIG_NF_CONNTRACK_H323=mCONFIG_NF_CONNTRACK_IRC=mCONFIG_NF_CONNTRACK_BROADCAST=mCONFIG_NF_CONNTRACK_NETBIOS_NS=mCONFIG_NF_CONNTRACK_SNMP=mCONFIG_NF_CONNTRACK_PPTP=mCONFIG_NF_CONNTRACK_SANE=mCONFIG_NF_CONNTRACK_SIP=mCONFIG_NF_CONNTRACK_TFTP=mCONFIG_NF_CT_NETLINK=mCONFIG_NF_CT_NETLINK_TIMEOUT=mCONFIG_NF_CT_NETLINK_HELPER=mCONFIG_NETFILTER_NETLINK_GLUE_CT=yCONFIG_NF_NAT=mCONFIG_NF_NAT_AMANDA=mCONFIG_NF_NAT_FTP=mCONFIG_NF_NAT_IRC=mCONFIG_NF_NAT_SIP=mCONFIG_NF_NAT_TFTP=mCONFIG_NF_NAT_REDIRECT=yCONFIG_NF_NAT_MASQUERADE=yCONFIG_NETFILTER_SYNPROXY=mCONFIG_NF_TABLES=mCONFIG_NF_TABLES_INET=yCONFIG_NF_TABLES_NETDEV=yCONFIG_NFT_NUMGEN=mCONFIG_NFT_CT=mCONFIG_NFT_FLOW_OFFLOAD=mCONFIG_NFT_CONNLIMIT=mCONFIG_NFT_LOG=mCONFIG_NFT_LIMIT=mCONFIG_NFT_MASQ=mCONFIG_NFT_REDIR=mCONFIG_NFT_NAT=mCONFIG_NFT_TUNNEL=mCONFIG_NFT_OBJREF=mCONFIG_NFT_QUEUE=mCONFIG_NFT_QUOTA=mCONFIG_NFT_REJECT=mCONFIG_NFT_REJECT_INET=mCONFIG_NFT_COMPAT=mCONFIG_NFT_HASH=mCONFIG_NFT_FIB=mCONFIG_NFT_FIB_INET=mCONFIG_NFT_XFRM=mCONFIG_NFT_SOCKET=mCONFIG_NFT_OSF=mCONFIG_NFT_TPROXY=mCONFIG_NFT_SYNPROXY=mCONFIG_NF_DUP_NETDEV=mCONFIG_NFT_DUP_NETDEV=mCONFIG_NFT_FWD_NETDEV=mCONFIG_NFT_FIB_NETDEV=mCONFIG_NFT_REJECT_NETDEV=mCONFIG_NF_FLOW_TABLE_INET=mCONFIG_NF_FLOW_TABLE=mCONFIG_NF_FLOW_TABLE_PROCFS=yCONFIG_NETFILTER_XTABLES=mCONFIG_NETFILTER_XTABLES_COMPAT=y
#
# Xtables combined modules
#CONFIG_NETFILTER_XT_MARK=mCONFIG_NETFILTER_XT_CONNMARK=mCONFIG_NETFILTER_XT_SET=m
#
# Xtables targets
#CONFIG_NETFILTER_XT_TARGET_AUDIT=mCONFIG_NETFILTER_XT_TARGET_CHECKSUM=mCONFIG_NETFILTER_XT_TARGET_CLASSIFY=mCONFIG_NETFILTER_XT_TARGET_CONNMARK=mCONFIG_NETFILTER_XT_TARGET_CONNSECMARK=mCONFIG_NETFILTER_XT_TARGET_CT=mCONFIG_NETFILTER_XT_TARGET_DSCP=mCONFIG_NETFILTER_XT_TARGET_HL=mCONFIG_NETFILTER_XT_TARGET_HMARK=mCONFIG_NETFILTER_XT_TARGET_IDLETIMER=mCONFIG_NETFILTER_XT_TARGET_LED=mCONFIG_NETFILTER_XT_TARGET_LOG=mCONFIG_NETFILTER_XT_TARGET_MARK=mCONFIG_NETFILTER_XT_NAT=mCONFIG_NETFILTER_XT_TARGET_NETMAP=mCONFIG_NETFILTER_XT_TARGET_NFLOG=mCONFIG_NETFILTER_XT_TARGET_NFQUEUE=mCONFIG_NETFILTER_XT_TARGET_NOTRACK=mCONFIG_NETFILTER_XT_TARGET_RATEEST=mCONFIG_NETFILTER_XT_TARGET_REDIRECT=mCONFIG_NETFILTER_XT_TARGET_MASQUERADE=mCONFIG_NETFILTER_XT_TARGET_TEE=mCONFIG_NETFILTER_XT_TARGET_TPROXY=mCONFIG_NETFILTER_XT_TARGET_TRACE=mCONFIG_NETFILTER_XT_TARGET_SECMARK=mCONFIG_NETFILTER_XT_TARGET_TCPMSS=mCONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
#
# Xtables matches
#CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=mCONFIG_NETFILTER_XT_MATCH_BPF=mCONFIG_NETFILTER_XT_MATCH_CGROUP=mCONFIG_NETFILTER_XT_MATCH_CLUSTER=mCONFIG_NETFILTER_XT_MATCH_COMMENT=mCONFIG_NETFILTER_XT_MATCH_CONNBYTES=mCONFIG_NETFILTER_XT_MATCH_CONNLABEL=mCONFIG_NETFILTER_XT_MATCH_CONNLIMIT=mCONFIG_NETFILTER_XT_MATCH_CONNMARK=mCONFIG_NETFILTER_XT_MATCH_CONNTRACK=mCONFIG_NETFILTER_XT_MATCH_CPU=mCONFIG_NETFILTER_XT_MATCH_DCCP=mCONFIG_NETFILTER_XT_MATCH_DEVGROUP=mCONFIG_NETFILTER_XT_MATCH_DSCP=mCONFIG_NETFILTER_XT_MATCH_ECN=mCONFIG_NETFILTER_XT_MATCH_ESP=mCONFIG_NETFILTER_XT_MATCH_HASHLIMIT=mCONFIG_NETFILTER_XT_MATCH_HELPER=mCONFIG_NETFILTER_XT_MATCH_HL=mCONFIG_NETFILTER_XT_MATCH_IPCOMP=mCONFIG_NETFILTER_XT_MATCH_IPRANGE=mCONFIG_NETFILTER_XT_MATCH_IPVS=mCONFIG_NETFILTER_XT_MATCH_L2TP=mCONFIG_NETFILTER_XT_MATCH_LENGTH=mCONFIG_NETFILTER_XT_MATCH_LIMIT=mCONFIG_NETFILTER_XT_MATCH_MAC=mCONFIG_NETFILTER_XT_MATCH_MARK=mCONFIG_NETFILTER_XT_MATCH_MULTIPORT=mCONFIG_NETFILTER_XT_MATCH_NFACCT=mCONFIG_NETFILTER_XT_MATCH_OSF=mCONFIG_NETFILTER_XT_MATCH_OWNER=mCONFIG_NETFILTER_XT_MATCH_POLICY=mCONFIG_NETFILTER_XT_MATCH_PHYSDEV=mCONFIG_NETFILTER_XT_MATCH_PKTTYPE=mCONFIG_NETFILTER_XT_MATCH_QUOTA=mCONFIG_NETFILTER_XT_MATCH_RATEEST=mCONFIG_NETFILTER_XT_MATCH_REALM=mCONFIG_NETFILTER_XT_MATCH_RECENT=mCONFIG_NETFILTER_XT_MATCH_SCTP=mCONFIG_NETFILTER_XT_MATCH_SOCKET=mCONFIG_NETFILTER_XT_MATCH_STATE=mCONFIG_NETFILTER_XT_MATCH_STATISTIC=mCONFIG_NETFILTER_XT_MATCH_STRING=mCONFIG_NETFILTER_XT_MATCH_TCPMSS=mCONFIG_NETFILTER_XT_MATCH_TIME=mCONFIG_NETFILTER_XT_MATCH_U32=m
# end of Core Netfilter Configuration
CONFIG_IP_SET=mCONFIG_IP_SET_MAX=256CONFIG_IP_SET_BITMAP_IP=mCONFIG_IP_SET_BITMAP_IPMAC=mCONFIG_IP_SET_BITMAP_PORT=mCONFIG_IP_SET_HASH_IP=mCONFIG_IP_SET_HASH_IPMARK=mCONFIG_IP_SET_HASH_IPPORT=mCONFIG_IP_SET_HASH_IPPORTIP=mCONFIG_IP_SET_HASH_IPPORTNET=mCONFIG_IP_SET_HASH_IPMAC=mCONFIG_IP_SET_HASH_MAC=mCONFIG_IP_SET_HASH_NETPORTNET=mCONFIG_IP_SET_HASH_NET=mCONFIG_IP_SET_HASH_NETNET=mCONFIG_IP_SET_HASH_NETPORT=mCONFIG_IP_SET_HASH_NETIFACE=mCONFIG_IP_SET_LIST_SET=mCONFIG_IP_VS=mCONFIG_IP_VS_IPV6=yCONFIG_IP_VS_DEBUG=yCONFIG_IP_VS_TAB_BITS=12
#
# IPVS transport protocol load balancing support
#CONFIG_IP_VS_PROTO_TCP=yCONFIG_IP_VS_PROTO_UDP=yCONFIG_IP_VS_PROTO_AH_ESP=yCONFIG_IP_VS_PROTO_ESP=yCONFIG_IP_VS_PROTO_AH=yCONFIG_IP_VS_PROTO_SCTP=y
#
# IPVS scheduler
#CONFIG_IP_VS_RR=mCONFIG_IP_VS_WRR=mCONFIG_IP_VS_LC=mCONFIG_IP_VS_WLC=mCONFIG_IP_VS_FO=mCONFIG_IP_VS_OVF=mCONFIG_IP_VS_LBLC=mCONFIG_IP_VS_LBLCR=mCONFIG_IP_VS_DH=mCONFIG_IP_VS_SH=mCONFIG_IP_VS_MH=mCONFIG_IP_VS_SED=mCONFIG_IP_VS_NQ=mCONFIG_IP_VS_TWOS=m
#
# IPVS SH scheduler
#CONFIG_IP_VS_SH_TAB_BITS=8
#
# IPVS MH scheduler
#CONFIG_IP_VS_MH_TAB_INDEX=12
#
# IPVS application helper
#CONFIG_IP_VS_FTP=mCONFIG_IP_VS_NFCT=yCONFIG_IP_VS_PE_SIP=m
#
# IP: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV4=mCONFIG_NF_SOCKET_IPV4=mCONFIG_NF_TPROXY_IPV4=mCONFIG_NF_TABLES_IPV4=yCONFIG_NFT_REJECT_IPV4=mCONFIG_NFT_DUP_IPV4=mCONFIG_NFT_FIB_IPV4=mCONFIG_NF_TABLES_ARP=yCONFIG_NF_DUP_IPV4=mCONFIG_NF_LOG_ARP=mCONFIG_NF_LOG_IPV4=mCONFIG_NF_REJECT_IPV4=mCONFIG_NF_NAT_SNMP_BASIC=mCONFIG_NF_NAT_PPTP=mCONFIG_NF_NAT_H323=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_MATCH_AH=mCONFIG_IP_NF_MATCH_ECN=mCONFIG_IP_NF_MATCH_RPFILTER=mCONFIG_IP_NF_MATCH_TTL=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=mCONFIG_IP_NF_TARGET_SYNPROXY=mCONFIG_IP_NF_NAT=mCONFIG_IP_NF_TARGET_MASQUERADE=mCONFIG_IP_NF_TARGET_NETMAP=mCONFIG_IP_NF_TARGET_REDIRECT=mCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_CLUSTERIP=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_TTL=mCONFIG_IP_NF_RAW=mCONFIG_IP_NF_SECURITY=mCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=mCONFIG_IP_NF_ARP_MANGLE=m
# end of IP: Netfilter Configuration
#
# IPv6: Netfilter Configuration
#CONFIG_NF_SOCKET_IPV6=mCONFIG_NF_TPROXY_IPV6=mCONFIG_NF_TABLES_IPV6=yCONFIG_NFT_REJECT_IPV6=mCONFIG_NFT_DUP_IPV6=mCONFIG_NFT_FIB_IPV6=mCONFIG_NF_DUP_IPV6=mCONFIG_NF_REJECT_IPV6=mCONFIG_NF_LOG_IPV6=mCONFIG_IP6_NF_IPTABLES=mCONFIG_IP6_NF_MATCH_AH=mCONFIG_IP6_NF_MATCH_EUI64=mCONFIG_IP6_NF_MATCH_FRAG=mCONFIG_IP6_NF_MATCH_OPTS=mCONFIG_IP6_NF_MATCH_HL=mCONFIG_IP6_NF_MATCH_IPV6HEADER=mCONFIG_IP6_NF_MATCH_MH=mCONFIG_IP6_NF_MATCH_RPFILTER=mCONFIG_IP6_NF_MATCH_RT=mCONFIG_IP6_NF_MATCH_SRH=mCONFIG_IP6_NF_TARGET_HL=mCONFIG_IP6_NF_FILTER=mCONFIG_IP6_NF_TARGET_REJECT=mCONFIG_IP6_NF_TARGET_SYNPROXY=mCONFIG_IP6_NF_MANGLE=mCONFIG_IP6_NF_RAW=mCONFIG_IP6_NF_SECURITY=mCONFIG_IP6_NF_NAT=mCONFIG_IP6_NF_TARGET_MASQUERADE=mCONFIG_IP6_NF_TARGET_NPT=m
# end of IPv6: Netfilter Configuration
CONFIG_NF_DEFRAG_IPV6=mCONFIG_NF_TABLES_BRIDGE=mCONFIG_NFT_BRIDGE_META=mCONFIG_NFT_BRIDGE_REJECT=mCONFIG_NF_CONNTRACK_BRIDGE=mCONFIG_BRIDGE_NF_EBTABLES=mCONFIG_BRIDGE_EBT_BROUTE=mCONFIG_BRIDGE_EBT_T_FILTER=mCONFIG_BRIDGE_EBT_T_NAT=mCONFIG_BRIDGE_EBT_802_3=mCONFIG_BRIDGE_EBT_AMONG=mCONFIG_BRIDGE_EBT_ARP=mCONFIG_BRIDGE_EBT_IP=mCONFIG_BRIDGE_EBT_IP6=mCONFIG_BRIDGE_EBT_LIMIT=mCONFIG_BRIDGE_EBT_MARK=mCONFIG_BRIDGE_EBT_PKTTYPE=mCONFIG_BRIDGE_EBT_STP=mCONFIG_BRIDGE_EBT_VLAN=mCONFIG_BRIDGE_EBT_ARPREPLY=mCONFIG_BRIDGE_EBT_DNAT=mCONFIG_BRIDGE_EBT_MARK_T=mCONFIG_BRIDGE_EBT_REDIRECT=mCONFIG_BRIDGE_EBT_SNAT=mCONFIG_BRIDGE_EBT_LOG=mCONFIG_BRIDGE_EBT_NFLOG=mCONFIG_BPFILTER=yCONFIG_IP_DCCP=mCONFIG_INET_DCCP_DIAG=m
#
# DCCP CCIDs Configuration
#CONFIG_IP_DCCP_CCID2_DEBUG=yCONFIG_IP_DCCP_CCID3=yCONFIG_IP_DCCP_CCID3_DEBUG=yCONFIG_IP_DCCP_TFRC_LIB=yCONFIG_IP_DCCP_TFRC_DEBUG=y
# end of DCCP CCIDs Configuration
#
# DCCP Kernel Hacking
#CONFIG_IP_DCCP_DEBUG=y
# end of DCCP Kernel Hacking
CONFIG_IP_SCTP=mCONFIG_SCTP_DBG_OBJCNT=yCONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1 is not set
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not setCONFIG_SCTP_COOKIE_HMAC_MD5=yCONFIG_SCTP_COOKIE_HMAC_SHA1=yCONFIG_INET_SCTP_DIAG=mCONFIG_RDS=mCONFIG_RDS_TCP=mCONFIG_RDS_DEBUG=yCONFIG_TIPC=mCONFIG_TIPC_MEDIA_UDP=yCONFIG_TIPC_CRYPTO=yCONFIG_TIPC_DIAG=mCONFIG_ATM=mCONFIG_ATM_CLIP=mCONFIG_ATM_CLIP_NO_ICMP=yCONFIG_ATM_LANE=mCONFIG_ATM_MPOA=mCONFIG_ATM_BR2684=mCONFIG_ATM_BR2684_IPFILTER=yCONFIG_L2TP=mCONFIG_L2TP_DEBUGFS=mCONFIG_L2TP_V3=yCONFIG_L2TP_IP=mCONFIG_L2TP_ETH=mCONFIG_STP=mCONFIG_GARP=mCONFIG_MRP=mCONFIG_BRIDGE=mCONFIG_BRIDGE_IGMP_SNOOPING=yCONFIG_BRIDGE_VLAN_FILTERING=yCONFIG_BRIDGE_MRP=yCONFIG_BRIDGE_CFM=yCONFIG_NET_DSA=mCONFIG_NET_DSA_TAG_AR9331=mCONFIG_NET_DSA_TAG_BRCM_COMMON=mCONFIG_NET_DSA_TAG_BRCM=mCONFIG_NET_DSA_TAG_BRCM_LEGACY=mCONFIG_NET_DSA_TAG_BRCM_PREPEND=mCONFIG_NET_DSA_TAG_HELLCREEK=mCONFIG_NET_DSA_TAG_GSWIP=mCONFIG_NET_DSA_TAG_DSA_COMMON=mCONFIG_NET_DSA_TAG_DSA=mCONFIG_NET_DSA_TAG_EDSA=mCONFIG_NET_DSA_TAG_MTK=mCONFIG_NET_DSA_TAG_KSZ=mCONFIG_NET_DSA_TAG_OCELOT=mCONFIG_NET_DSA_TAG_OCELOT_8021Q=mCONFIG_NET_DSA_TAG_QCA=mCONFIG_NET_DSA_TAG_RTL4_A=mCONFIG_NET_DSA_TAG_RTL8_4=mCONFIG_NET_DSA_TAG_RZN1_A5PSW=mCONFIG_NET_DSA_TAG_LAN9303=mCONFIG_NET_DSA_TAG_SJA1105=mCONFIG_NET_DSA_TAG_TRAILER=mCONFIG_NET_DSA_TAG_XRS700X=mCONFIG_VLAN_8021Q=mCONFIG_VLAN_8021Q_GVRP=yCONFIG_VLAN_8021Q_MVRP=yCONFIG_LLC=mCONFIG_LLC2=mCONFIG_ATALK=mCONFIG_DEV_APPLETALK=mCONFIG_IPDDP=mCONFIG_IPDDP_ENCAP=yCONFIG_X25=mCONFIG_LAPB=mCONFIG_PHONET=mCONFIG_6LOWPAN=mCONFIG_6LOWPAN_DEBUGFS=yCONFIG_6LOWPAN_NHC=mCONFIG_6LOWPAN_NHC_DEST=mCONFIG_6LOWPAN_NHC_FRAGMENT=mCONFIG_6LOWPAN_NHC_HOP=mCONFIG_6LOWPAN_NHC_IPV6=mCONFIG_6LOWPAN_NHC_MOBILITY=mCONFIG_6LOWPAN_NHC_ROUTING=mCONFIG_6LOWPAN_NHC_UDP=mCONFIG_6LOWPAN_GHC_EXT_HDR_HOP=mCONFIG_6LOWPAN_GHC_UDP=mCONFIG_6LOWPAN_GHC_ICMPV6=mCONFIG_6LOWPAN_GHC_EXT_HDR_DEST=mCONFIG_6LOWPAN_GHC_EXT_HDR_FRAG=mCONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE=mCONFIG_IEEE802154=mCONFIG_IEEE802154_NL802154_EXPERIMENTAL=yCONFIG_IEEE802154_SOCKET=mCONFIG_IEEE802154_6LOWPAN=mCONFIG_MAC802154=mCONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#CONFIG_NET_SCH_CBQ=mCONFIG_NET_SCH_HTB=mCONFIG_NET_SCH_HFSC=mCONFIG_NET_SCH_ATM=mCONFIG_NET_SCH_PRIO=mCONFIG_NET_SCH_MULTIQ=mCONFIG_NET_SCH_RED=mCONFIG_NET_SCH_SFB=mCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_TEQL=mCONFIG_NET_SCH_TBF=mCONFIG_NET_SCH_CBS=mCONFIG_NET_SCH_ETF=mCONFIG_NET_SCH_TAPRIO=mCONFIG_NET_SCH_GRED=mCONFIG_NET_SCH_DSMARK=mCONFIG_NET_SCH_NETEM=mCONFIG_NET_SCH_DRR=mCONFIG_NET_SCH_MQPRIO=mCONFIG_NET_SCH_SKBPRIO=mCONFIG_NET_SCH_CHOKE=mCONFIG_NET_SCH_QFQ=mCONFIG_NET_SCH_CODEL=mCONFIG_NET_SCH_FQ_CODEL=mCONFIG_NET_SCH_CAKE=mCONFIG_NET_SCH_FQ=mCONFIG_NET_SCH_HHF=mCONFIG_NET_SCH_PIE=mCONFIG_NET_SCH_FQ_PIE=mCONFIG_NET_SCH_INGRESS=mCONFIG_NET_SCH_PLUG=mCONFIG_NET_SCH_ETS=mCONFIG_NET_SCH_DEFAULT=y
# CONFIG_DEFAULT_FQ is not set
# CONFIG_DEFAULT_CODEL is not set
# CONFIG_DEFAULT_FQ_CODEL is not set
# CONFIG_DEFAULT_FQ_PIE is not set
# CONFIG_DEFAULT_SFQ is not setCONFIG_DEFAULT_PFIFO_FAST=yCONFIG_DEFAULT_NET_SCH="pfifo_fast"
#
# Classification
#CONFIG_NET_CLS=yCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_TCINDEX=mCONFIG_NET_CLS_ROUTE4=mCONFIG_NET_CLS_FW=mCONFIG_NET_CLS_U32=mCONFIG_CLS_U32_PERF=yCONFIG_CLS_U32_MARK=yCONFIG_NET_CLS_RSVP=mCONFIG_NET_CLS_RSVP6=mCONFIG_NET_CLS_FLOW=mCONFIG_NET_CLS_CGROUP=mCONFIG_NET_CLS_BPF=mCONFIG_NET_CLS_FLOWER=mCONFIG_NET_CLS_MATCHALL=mCONFIG_NET_EMATCH=yCONFIG_NET_EMATCH_STACK=32CONFIG_NET_EMATCH_CMP=mCONFIG_NET_EMATCH_NBYTE=mCONFIG_NET_EMATCH_U32=mCONFIG_NET_EMATCH_META=mCONFIG_NET_EMATCH_TEXT=mCONFIG_NET_EMATCH_CANID=mCONFIG_NET_EMATCH_IPSET=mCONFIG_NET_EMATCH_IPT=mCONFIG_NET_CLS_ACT=yCONFIG_NET_ACT_POLICE=mCONFIG_NET_ACT_GACT=mCONFIG_GACT_PROB=yCONFIG_NET_ACT_MIRRED=mCONFIG_NET_ACT_SAMPLE=mCONFIG_NET_ACT_IPT=mCONFIG_NET_ACT_NAT=mCONFIG_NET_ACT_PEDIT=mCONFIG_NET_ACT_SIMP=mCONFIG_NET_ACT_SKBEDIT=mCONFIG_NET_ACT_CSUM=mCONFIG_NET_ACT_MPLS=mCONFIG_NET_ACT_VLAN=mCONFIG_NET_ACT_BPF=mCONFIG_NET_ACT_CONNMARK=mCONFIG_NET_ACT_CTINFO=mCONFIG_NET_ACT_SKBMOD=mCONFIG_NET_ACT_IFE=mCONFIG_NET_ACT_TUNNEL_KEY=mCONFIG_NET_ACT_CT=mCONFIG_NET_ACT_GATE=mCONFIG_NET_IFE_SKBMARK=mCONFIG_NET_IFE_SKBPRIO=mCONFIG_NET_IFE_SKBTCINDEX=mCONFIG_NET_TC_SKB_EXT=yCONFIG_NET_SCH_FIFO=yCONFIG_DCB=yCONFIG_DNS_RESOLVER=mCONFIG_BATMAN_ADV=mCONFIG_BATMAN_ADV_BATMAN_V=yCONFIG_BATMAN_ADV_BLA=yCONFIG_BATMAN_ADV_DAT=yCONFIG_BATMAN_ADV_NC=yCONFIG_BATMAN_ADV_MCAST=yCONFIG_BATMAN_ADV_DEBUG=yCONFIG_BATMAN_ADV_TRACING=yCONFIG_OPENVSWITCH=mCONFIG_OPENVSWITCH_GRE=mCONFIG_OPENVSWITCH_VXLAN=mCONFIG_OPENVSWITCH_GENEVE=mCONFIG_VSOCKETS=mCONFIG_VSOCKETS_DIAG=mCONFIG_VSOCKETS_LOOPBACK=mCONFIG_VIRTIO_VSOCKETS=mCONFIG_VIRTIO_VSOCKETS_COMMON=mCONFIG_NETLINK_DIAG=mCONFIG_MPLS=yCONFIG_NET_MPLS_GSO=mCONFIG_MPLS_ROUTING=mCONFIG_MPLS_IPTUNNEL=mCONFIG_NET_NSH=mCONFIG_HSR=mCONFIG_NET_SWITCHDEV=yCONFIG_NET_L3_MASTER_DEV=yCONFIG_QRTR=mCONFIG_QRTR_SMD=mCONFIG_QRTR_TUN=mCONFIG_QRTR_MHI=mCONFIG_NET_NCSI=yCONFIG_NCSI_OEM_CMD_GET_MAC=yCONFIG_NCSI_OEM_CMD_KEEP_PHY=yCONFIG_PCPU_DEV_REFCNT=yCONFIG_RPS=yCONFIG_RFS_ACCEL=yCONFIG_SOCK_RX_QUEUE_MAPPING=yCONFIG_XPS=yCONFIG_CGROUP_NET_PRIO=yCONFIG_CGROUP_NET_CLASSID=yCONFIG_NET_RX_BUSY_POLL=yCONFIG_BQL=yCONFIG_BPF_STREAM_PARSER=yCONFIG_NET_FLOW_LIMIT=y
#
# Network testing
#CONFIG_NET_PKTGEN=mCONFIG_NET_DROP_MONITOR=m
# end of Network testing # end of Networking options
CONFIG_CAN=mCONFIG_CAN_RAW=mCONFIG_CAN_BCM=mCONFIG_CAN_GW=mCONFIG_CAN_J1939=mCONFIG_CAN_ISOTP=mCONFIG_AF_RXRPC=mCONFIG_AF_RXRPC_IPV6=yCONFIG_AF_RXRPC_INJECT_LOSS=yCONFIG_AF_RXRPC_DEBUG=yCONFIG_RXKAD=yCONFIG_AF_KCM=mCONFIG_STREAM_PARSER=yCONFIG_MCTP=yCONFIG_MCTP_FLOWS=yCONFIG_FIB_RULES=yCONFIG_RFKILL=mCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=yCONFIG_RFKILL_GPIO=mCONFIG_NET_9P=mCONFIG_NET_9P_FD=mCONFIG_NET_9P_VIRTIO=mCONFIG_NET_9P_DEBUG=yCONFIG_CAIF=mCONFIG_CAIF_DEBUG=yCONFIG_CAIF_NETDEV=mCONFIG_CAIF_USB=mCONFIG_CEPH_LIB=mCONFIG_CEPH_LIB_PRETTYDEBUG=yCONFIG_CEPH_LIB_USE_DNS_RESOLVER=yCONFIG_NFC=mCONFIG_NFC_DIGITAL=mCONFIG_NFC_NCI=mCONFIG_NFC_NCI_UART=mCONFIG_NFC_HCI=mCONFIG_NFC_SHDLC=y
#
# Near Field Communication (NFC) devices
#CONFIG_NFC_SIM=mCONFIG_NFC_VIRTUAL_NCI=mCONFIG_NFC_FDP=mCONFIG_NFC_FDP_I2C=mCONFIG_NFC_PN544=mCONFIG_NFC_PN544_I2C=mCONFIG_NFC_PN533=mCONFIG_NFC_PN533_I2C=mCONFIG_NFC_PN532_UART=mCONFIG_NFC_MICROREAD=mCONFIG_NFC_MICROREAD_I2C=mCONFIG_NFC_MRVL=mCONFIG_NFC_MRVL_UART=mCONFIG_NFC_MRVL_I2C=mCONFIG_NFC_ST21NFCA=mCONFIG_NFC_ST21NFCA_I2C=mCONFIG_NFC_ST_NCI=mCONFIG_NFC_ST_NCI_I2C=mCONFIG_NFC_NXP_NCI=mCONFIG_NFC_NXP_NCI_I2C=mCONFIG_NFC_S3FWRN5=mCONFIG_NFC_S3FWRN5_I2C=mCONFIG_NFC_S3FWRN82_UART=m
# end of Near Field Communication (NFC) devices
CONFIG_PSAMPLE=mCONFIG_NET_IFE=mCONFIG_LWTUNNEL=yCONFIG_LWTUNNEL_BPF=yCONFIG_DST_CACHE=yCONFIG_GRO_CELLS=yCONFIG_SOCK_VALIDATE_XMIT=yCONFIG_NET_SELFTESTS=mCONFIG_NET_SOCK_MSG=yCONFIG_NET_DEVLINK=yCONFIG_PAGE_POOL=yCONFIG_PAGE_POOL_STATS=yCONFIG_FAILOVER=mCONFIG_ETHTOOL_NETLINK=yCONFIG_NETDEV_ADDR_LIST_TEST=m
#
# Device Drivers
#CONFIG_HAVE_PCI=y
# CONFIG_PCI is not setCONFIG_PCCARD=mCONFIG_PCMCIA=mCONFIG_PCMCIA_LOAD_CIS=y
#
# PC-card bridges
#
#
# Generic Driver Options
#CONFIG_AUXILIARY_BUS=yCONFIG_UEVENT_HELPER=yCONFIG_UEVENT_HELPER_PATH=""CONFIG_DEVTMPFS=yCONFIG_DEVTMPFS_MOUNT=yCONFIG_DEVTMPFS_SAFE=yCONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=y
#
# Firmware loader
#CONFIG_FW_LOADER=yCONFIG_FW_LOADER_PAGED_BUF=yCONFIG_FW_LOADER_SYSFS=yCONFIG_EXTRA_FIRMWARE=""CONFIG_FW_LOADER_USER_HELPER=yCONFIG_FW_LOADER_USER_HELPER_FALLBACK=yCONFIG_FW_LOADER_COMPRESS=yCONFIG_FW_LOADER_COMPRESS_XZ=yCONFIG_FW_LOADER_COMPRESS_ZSTD=yCONFIG_FW_UPLOAD=y
# end of Firmware loader
CONFIG_WANT_DEV_COREDUMP=yCONFIG_ALLOW_DEV_COREDUMP=yCONFIG_DEV_COREDUMP=yCONFIG_DEBUG_DRIVER=yCONFIG_DEBUG_DEVRES=yCONFIG_DEBUG_TEST_DRIVER_REMOVE=yCONFIG_TEST_ASYNC_DRIVER_PROBE=mCONFIG_SYS_HYPERVISOR=yCONFIG_GENERIC_CPU_AUTOPROBE=yCONFIG_GENERIC_CPU_VULNERABILITIES=yCONFIG_REGMAP=yCONFIG_REGMAP_I2C=mCONFIG_REGMAP_SPMI=mCONFIG_REGMAP_MMIO=mCONFIG_REGMAP_IRQ=yCONFIG_REGMAP_I3C=mCONFIG_DMA_SHARED_BUFFER=yCONFIG_DMA_FENCE_TRACE=y
# end of Generic Driver Options
#
# Bus devices
#CONFIG_MHI_BUS=mCONFIG_MHI_BUS_DEBUG=yCONFIG_MHI_BUS_EP=m
# end of Bus devices
CONFIG_CONNECTOR=m
#
# Firmware Drivers
#
#
# ARM System Control and Management Interface Protocol #
# end of ARM System Control and Management Interface Protocol
CONFIG_FIRMWARE_MEMMAP=yCONFIG_GOOGLE_FIRMWARE=y
#
# Tegra firmware driver
#
# end of Tegra firmware driver # end of Firmware Drivers
CONFIG_GNSS=mCONFIG_GNSS_SERIAL=mCONFIG_GNSS_MTK_SERIAL=mCONFIG_GNSS_SIRF_SERIAL=mCONFIG_GNSS_UBX_SERIAL=mCONFIG_MTD=mCONFIG_MTD_TESTS=m
#
# Partition parsers
#CONFIG_MTD_AR7_PARTS=mCONFIG_MTD_CMDLINE_PARTS=mCONFIG_MTD_OF_PARTS=mCONFIG_MTD_REDBOOT_PARTS=mCONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=yCONFIG_MTD_REDBOOT_PARTS_READONLY=y
# end of Partition parsers
#
# User Modules And Translation Layers
#CONFIG_MTD_BLKDEVS=mCONFIG_MTD_BLOCK=mCONFIG_MTD_BLOCK_RO=m
#
# Note that in some cases UBI block is preferred. See MTD_UBI_BLOCK. #CONFIG_FTL=mCONFIG_NFTL=mCONFIG_NFTL_RW=yCONFIG_INFTL=mCONFIG_RFD_FTL=mCONFIG_SSFDC=mCONFIG_SM_FTL=mCONFIG_MTD_OOPS=mCONFIG_MTD_PSTORE=mCONFIG_MTD_SWAP=mCONFIG_MTD_PARTITIONED_MASTER=y
#
# RAM/ROM/Flash chip drivers
#CONFIG_MTD_CFI=mCONFIG_MTD_JEDECPROBE=mCONFIG_MTD_GEN_PROBE=mCONFIG_MTD_CFI_ADV_OPTIONS=yCONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not setCONFIG_MTD_CFI_GEOMETRY=yCONFIG_MTD_MAP_BANK_WIDTH_1=yCONFIG_MTD_MAP_BANK_WIDTH_2=yCONFIG_MTD_MAP_BANK_WIDTH_4=yCONFIG_MTD_MAP_BANK_WIDTH_8=yCONFIG_MTD_MAP_BANK_WIDTH_16=yCONFIG_MTD_MAP_BANK_WIDTH_32=yCONFIG_MTD_CFI_I1=yCONFIG_MTD_CFI_I2=yCONFIG_MTD_CFI_I4=yCONFIG_MTD_CFI_I8=yCONFIG_MTD_OTP=yCONFIG_MTD_CFI_INTELEXT=mCONFIG_MTD_CFI_AMDSTD=mCONFIG_MTD_CFI_STAA=mCONFIG_MTD_CFI_UTIL=mCONFIG_MTD_RAM=mCONFIG_MTD_ROM=mCONFIG_MTD_ABSENT=m
# end of RAM/ROM/Flash chip drivers
#
# NAND
#CONFIG_MTD_NAND_CORE=mCONFIG_MTD_RAW_NAND=m
#
# Raw/parallel NAND flash controllers
#
#
# Misc
#CONFIG_MTD_NAND_NANDSIM=m
#
# ECC engine support
#CONFIG_MTD_NAND_ECC=yCONFIG_MTD_NAND_ECC_SW_HAMMING=yCONFIG_MTD_NAND_ECC_SW_HAMMING_SMC=yCONFIG_MTD_NAND_ECC_SW_BCH=y
# end of ECC engine support # end of NAND
#
# LPDDR & LPDDR2 PCM memory drivers
#CONFIG_MTD_LPDDR=mCONFIG_MTD_QINFO_PROBE=m
# end of LPDDR & LPDDR2 PCM memory drivers
CONFIG_MTD_UBI=mCONFIG_MTD_UBI_WL_THRESHOLD=4096CONFIG_MTD_UBI_BEB_LIMIT=20CONFIG_MTD_UBI_FASTMAP=yCONFIG_MTD_UBI_GLUEBI=mCONFIG_MTD_UBI_BLOCK=yCONFIG_DTC=yCONFIG_OF=yCONFIG_OF_UNITTEST=yCONFIG_OF_FLATTREE=yCONFIG_OF_EARLY_FLATTREE=yCONFIG_OF_KOBJ=yCONFIG_OF_DYNAMIC=yCONFIG_OF_IRQ=yCONFIG_OF_RESERVED_MEM=yCONFIG_OF_RESOLVE=yCONFIG_OF_OVERLAY=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_NULL_BLK=mCONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=yCONFIG_CDROM=mCONFIG_ZRAM=mCONFIG_ZRAM_DEF_COMP_LZORLE=y
# CONFIG_ZRAM_DEF_COMP_ZSTD is not set
# CONFIG_ZRAM_DEF_COMP_LZ4 is not set
# CONFIG_ZRAM_DEF_COMP_LZO is not set
# CONFIG_ZRAM_DEF_COMP_LZ4HC is not set
# CONFIG_ZRAM_DEF_COMP_842 is not setCONFIG_ZRAM_DEF_COMP="lzo-rle"CONFIG_ZRAM_WRITEBACK=yCONFIG_ZRAM_MEMORY_TRACKING=yCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_LOOP_MIN_COUNT=8CONFIG_BLK_DEV_DRBD=mCONFIG_DRBD_FAULT_INJECTION=yCONFIG_BLK_DEV_NBD=mCONFIG_BLK_DEV_RAM=mCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_CDROM_PKTCDVD=mCONFIG_CDROM_PKTCDVD_BUFFERS=8CONFIG_CDROM_PKTCDVD_WCACHE=yCONFIG_ATA_OVER_ETH=m
#
# S/390 block device drivers
#CONFIG_DCSSBLK=mCONFIG_DASD=mCONFIG_DASD_PROFILE=yCONFIG_DASD_ECKD=mCONFIG_DASD_FBA=mCONFIG_DASD_DIAG=mCONFIG_DASD_EER=yCONFIG_SCM_BLOCK=mCONFIG_VIRTIO_BLK=mCONFIG_BLK_DEV_RBD=mCONFIG_BLK_DEV_UBLK=m
#
# NVME Support
#CONFIG_NVME_COMMON=mCONFIG_NVME_CORE=mCONFIG_NVME_MULTIPATH=yCONFIG_NVME_VERBOSE_ERRORS=yCONFIG_NVME_FABRICS=mCONFIG_NVME_FC=mCONFIG_NVME_TCP=mCONFIG_NVME_AUTH=yCONFIG_NVME_TARGET=mCONFIG_NVME_TARGET_PASSTHRU=yCONFIG_NVME_TARGET_LOOP=mCONFIG_NVME_TARGET_FC=mCONFIG_NVME_TARGET_FCLOOP=mCONFIG_NVME_TARGET_TCP=mCONFIG_NVME_TARGET_AUTH=y
# end of NVME Support
#
# Misc devices
#CONFIG_SENSORS_LIS3LV02D=mCONFIG_AD525X_DPOT=mCONFIG_AD525X_DPOT_I2C=mCONFIG_DUMMY_IRQ=mCONFIG_ICS932S401=mCONFIG_ENCLOSURE_SERVICES=mCONFIG_APDS9802ALS=mCONFIG_ISL29003=mCONFIG_ISL29020=mCONFIG_SENSORS_TSL2550=mCONFIG_SENSORS_BH1770=mCONFIG_SENSORS_APDS990X=mCONFIG_HMC6352=mCONFIG_DS1682=mCONFIG_OPEN_DICE=mCONFIG_C2PORT=m
#
# EEPROM support
#CONFIG_EEPROM_AT24=mCONFIG_EEPROM_LEGACY=mCONFIG_EEPROM_MAX6875=mCONFIG_EEPROM_93CX6=mCONFIG_EEPROM_IDT_89HPESX=mCONFIG_EEPROM_EE1004=m
# end of EEPROM support
#
# Texas Instruments shared transport line discipline #CONFIG_TI_ST=m
# end of Texas Instruments shared transport line discipline
CONFIG_SENSORS_LIS3_I2C=mCONFIG_ALTERA_STAPL=mCONFIG_ECHO=mCONFIG_UACCE=mCONFIG_PVPANIC=y
# end of Misc devices
#
# SCSI device support
#CONFIG_SCSI_MOD=mCONFIG_RAID_ATTRS=mCONFIG_SCSI_COMMON=mCONFIG_SCSI=mCONFIG_SCSI_DMA=yCONFIG_SCSI_NETLINK=yCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=mCONFIG_CHR_DEV_ST=mCONFIG_BLK_DEV_SR=mCONFIG_CHR_DEV_SG=mCONFIG_BLK_DEV_BSG=yCONFIG_CHR_DEV_SCH=mCONFIG_SCSI_ENCLOSURE=mCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=yCONFIG_SCSI_SCAN_ASYNC=y
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=mCONFIG_SCSI_FC_ATTRS=mCONFIG_SCSI_ISCSI_ATTRS=mCONFIG_SCSI_SAS_ATTRS=mCONFIG_SCSI_SAS_LIBSAS=mCONFIG_SCSI_SAS_HOST_SMP=yCONFIG_SCSI_SRP_ATTRS=m
# end of SCSI Transports
CONFIG_SCSI_LOWLEVEL=yCONFIG_ISCSI_TCP=mCONFIG_ISCSI_BOOT_SYSFS=mCONFIG_LIBFC=mCONFIG_LIBFCOE=mCONFIG_SCSI_FDOMAIN=mCONFIG_SCSI_DEBUG=mCONFIG_ZFCP=mCONFIG_SCSI_VIRTIO=mCONFIG_SCSI_LOWLEVEL_PCMCIA=yCONFIG_PCMCIA_AHA152X=mCONFIG_PCMCIA_FDOMAIN=mCONFIG_PCMCIA_QLOGIC=mCONFIG_PCMCIA_SYM53C500=mCONFIG_SCSI_DH=yCONFIG_SCSI_DH_RDAC=mCONFIG_SCSI_DH_HP_SW=mCONFIG_SCSI_DH_EMC=mCONFIG_SCSI_DH_ALUA=m
# end of SCSI device support
CONFIG_MD=yCONFIG_BLK_DEV_MD=mCONFIG_MD_LINEAR=mCONFIG_MD_RAID0=mCONFIG_MD_RAID1=mCONFIG_MD_RAID10=mCONFIG_MD_RAID456=mCONFIG_MD_MULTIPATH=mCONFIG_MD_FAULTY=mCONFIG_MD_CLUSTER=mCONFIG_BCACHE=mCONFIG_BCACHE_DEBUG=y CONFIG_BCACHE_CLOSURES_DEBUG=y CONFIG_BCACHE_ASYNC_REGISTRATION=y CONFIG_BLK_DEV_DM_BUILTIN=yCONFIG_BLK_DEV_DM=mCONFIG_DM_DEBUG=yCONFIG_DM_BUFIO=m CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING=y CONFIG_DM_DEBUG_BLOCK_STACK_TRACING=y CONFIG_DM_BIO_PRISON=m CONFIG_DM_PERSISTENT_DATA=m CONFIG_DM_UNSTRIPED=mCONFIG_DM_CRYPT=mCONFIG_DM_SNAPSHOT=m CONFIG_DM_THIN_PROVISIONING=mCONFIG_DM_CACHE=mCONFIG_DM_CACHE_SMQ=mCONFIG_DM_WRITECACHE=mCONFIG_DM_EBS=mCONFIG_DM_ERA=mCONFIG_DM_CLONE=mCONFIG_DM_MIRROR=mCONFIG_DM_LOG_USERSPACE=mCONFIG_DM_RAID=mCONFIG_DM_ZERO=mCONFIG_DM_MULTIPATH=mCONFIG_DM_MULTIPATH_QL=m CONFIG_DM_MULTIPATH_ST=m CONFIG_DM_MULTIPATH_HST=m CONFIG_DM_MULTIPATH_IOA=mCONFIG_DM_DELAY=mCONFIG_DM_DUST=mCONFIG_DM_UEVENT=yCONFIG_DM_FLAKEY=mCONFIG_DM_VERITY=m CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG=y CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_SECONDARY_KEYRING=y CONFIG_DM_VERITY_FEC=yCONFIG_DM_SWITCH=mCONFIG_DM_LOG_WRITES=mCONFIG_DM_INTEGRITY=mCONFIG_DM_ZONED=mCONFIG_DM_AUDIT=yCONFIG_TARGET_CORE=mCONFIG_TCM_IBLOCK=mCONFIG_TCM_FILEIO=mCONFIG_TCM_PSCSI=mCONFIG_TCM_USER2=mCONFIG_LOOPBACK_TARGET=mCONFIG_TCM_FC=mCONFIG_ISCSI_TARGET=mCONFIG_NETDEVICES=yCONFIG_MII=mCONFIG_NET_CORE=yCONFIG_BONDING=mCONFIG_DUMMY=mCONFIG_WIREGUARD=mCONFIG_WIREGUARD_DEBUG=yCONFIG_EQUALIZER=mCONFIG_IFB=mCONFIG_NET_TEAM=m CONFIG_NET_TEAM_MODE_BROADCAST=m CONFIG_NET_TEAM_MODE_ROUNDROBIN=m CONFIG_NET_TEAM_MODE_RANDOM=m CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m CONFIG_NET_TEAM_MODE_LOADBALANCE=m CONFIG_MACVLAN=mCONFIG_MACVTAP=mCONFIG_IPVLAN_L3S=yCONFIG_IPVLAN=mCONFIG_IPVTAP=mCONFIG_VXLAN=mCONFIG_GENEVE=mCONFIG_BAREUDP=mCONFIG_GTP=mCONFIG_AMT=mCONFIG_MACSEC=mCONFIG_NETCONSOLE=mCONFIG_NETCONSOLE_DYNAMIC=yCONFIG_NETPOLL=yCONFIG_NET_POLL_CONTROLLER=yCONFIG_TUN=mCONFIG_TAP=mCONFIG_TUN_VNET_CROSS_LE=yCONFIG_VETH=mCONFIG_VIRTIO_NET=mCONFIG_NLMON=mCONFIG_NET_VRF=mCONFIG_VSOCKMON=mCONFIG_MHI_NET=mCONFIG_ARCNET=mCONFIG_ARCNET_1201=mCONFIG_ARCNET_1051=mCONFIG_ARCNET_RAW=mCONFIG_ARCNET_CAP=m
CONFIG_ARCNET_COM90xx=m CONFIG_ARCNET_COM90xxIO=mCONFIG_ARCNET_RIM_I=mCONFIG_ARCNET_COM20020=m CONFIG_ARCNET_COM20020_CS=m CONFIG_ATM_DRIVERS=yCONFIG_ATM_DUMMY=mCONFIG_ATM_TCP=mCONFIG_CAIF_DRIVERS=yCONFIG_CAIF_TTY=mCONFIG_CAIF_VIRTIO=m
#
# Distributed Switch Architecture drivers
#CONFIG_B53=mCONFIG_B53_MDIO_DRIVER=mCONFIG_B53_SERDES=mCONFIG_NET_DSA_LOOP=mCONFIG_NET_DSA_MT7530=mCONFIG_NET_DSA_MV88E6060=mCONFIG_NET_DSA_MICROCHIP_KSZ_COMMON=mCONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C=mCONFIG_NET_DSA_MICROCHIP_KSZ8863_SMI=mCONFIG_NET_DSA_MV88E6XXX=mCONFIG_NET_DSA_MV88E6XXX_PTP=yCONFIG_NET_DSA_AR9331=mCONFIG_NET_DSA_QCA8K=mCONFIG_NET_DSA_XRS700X=mCONFIG_NET_DSA_XRS700X_I2C=mCONFIG_NET_DSA_XRS700X_MDIO=mCONFIG_NET_DSA_REALTEK=mCONFIG_NET_DSA_REALTEK_MDIO=mCONFIG_NET_DSA_REALTEK_SMI=mCONFIG_NET_DSA_REALTEK_RTL8365MB=mCONFIG_NET_DSA_REALTEK_RTL8366RB=mCONFIG_NET_DSA_SMSC_LAN9303=mCONFIG_NET_DSA_SMSC_LAN9303_I2C=mCONFIG_NET_DSA_SMSC_LAN9303_MDIO=m
# end of Distributed Switch Architecture drivers
CONFIG_ETHERNET=yCONFIG_NET_VENDOR_3COM=yCONFIG_PCMCIA_3C574=mCONFIG_PCMCIA_3C589=mCONFIG_NET_VENDOR_ALACRITECH=yCONFIG_ALTERA_TSE=mCONFIG_NET_VENDOR_AMAZON=yCONFIG_NET_VENDOR_AMD=yCONFIG_PCMCIA_NMCLAN=mCONFIG_NET_VENDOR_AQUANTIA=yCONFIG_NET_VENDOR_ARC=yCONFIG_NET_VENDOR_ASIX=yCONFIG_NET_VENDOR_CAVIUM=yCONFIG_NET_VENDOR_CORTINA=yCONFIG_NET_VENDOR_DAVICOM=yCONFIG_NET_VENDOR_ENGLEDER=yCONFIG_NET_VENDOR_EZCHIP=yCONFIG_NET_VENDOR_FUJITSU=yCONFIG_PCMCIA_FMVJ18X=mCONFIG_NET_VENDOR_FUNGIBLE=yCONFIG_NET_VENDOR_GOOGLE=yCONFIG_NET_VENDOR_HUAWEI=yCONFIG_NET_VENDOR_I825XX=yCONFIG_NET_VENDOR_INTEL=yCONFIG_NET_VENDOR_WANGXUN=yCONFIG_NET_VENDOR_LITEX=yCONFIG_NET_VENDOR_MARVELL=yCONFIG_PRESTERA=mCONFIG_NET_VENDOR_MELLANOX=yCONFIG_MLXSW_CORE=mCONFIG_MLXSW_CORE_THERMAL=yCONFIG_MLXSW_I2C=mCONFIG_MLXSW_MINIMAL=mCONFIG_MLXFW=mCONFIG_NET_VENDOR_MICROCHIP=yCONFIG_NET_VENDOR_MICROSEMI=yCONFIG_NET_VENDOR_MICROSOFT=yCONFIG_NET_VENDOR_NI=yCONFIG_NET_VENDOR_NATSEMI=yCONFIG_NET_VENDOR_NETRONOME=yCONFIG_NET_VENDOR_8390=yCONFIG_PCMCIA_AXNET=mCONFIG_PCMCIA_PCNET=mCONFIG_NET_VENDOR_PENSANDO=yCONFIG_NET_VENDOR_QUALCOMM=yCONFIG_QCA7000=mCONFIG_QCA7000_UART=mCONFIG_RMNET=mCONFIG_NET_VENDOR_RENESAS=yCONFIG_NET_VENDOR_ROCKER=yCONFIG_NET_VENDOR_SAMSUNG=yCONFIG_NET_VENDOR_SOLARFLARE=yCONFIG_NET_VENDOR_SMSC=yCONFIG_PCMCIA_SMC91C92=mCONFIG_NET_VENDOR_SOCIONEXT=yCONFIG_NET_VENDOR_SYNOPSYS=yCONFIG_NET_VENDOR_VERTEXCOM=yCONFIG_NET_VENDOR_VIA=yCONFIG_NET_VENDOR_XILINX=yCONFIG_NET_VENDOR_XIRCOM=yCONFIG_PCMCIA_XIRC2PS=mCONFIG_PHYLINK=mCONFIG_PHYLIB=mCONFIG_SWPHY=yCONFIG_LED_TRIGGER_PHY=yCONFIG_FIXED_PHY=mCONFIG_SFP=m
#
# MII PHY device drivers
#CONFIG_AMD_PHY=mCONFIG_ADIN_PHY=mCONFIG_ADIN1100_PHY=mCONFIG_AQUANTIA_PHY=mCONFIG_AX88796B_PHY=mCONFIG_BROADCOM_PHY=mCONFIG_BCM54140_PHY=mCONFIG_BCM7XXX_PHY=mCONFIG_BCM84881_PHY=mCONFIG_BCM87XX_PHY=mCONFIG_BCM_NET_PHYLIB=mCONFIG_BCM_NET_PHYPTP=mCONFIG_CICADA_PHY=mCONFIG_CORTINA_PHY=mCONFIG_DAVICOM_PHY=mCONFIG_ICPLUS_PHY=mCONFIG_LXT_PHY=mCONFIG_INTEL_XWAY_PHY=mCONFIG_LSI_ET1011C_PHY=mCONFIG_MARVELL_PHY=mCONFIG_MARVELL_10G_PHY=mCONFIG_MARVELL_88X2222_PHY=mCONFIG_MAXLINEAR_GPHY=mCONFIG_MEDIATEK_GE_PHY=mCONFIG_MICREL_PHY=mCONFIG_MICROCHIP_PHY=mCONFIG_MICROCHIP_T1_PHY=mCONFIG_MICROSEMI_PHY=mCONFIG_MOTORCOMM_PHY=mCONFIG_NATIONAL_PHY=mCONFIG_NXP_C45_TJA11XX_PHY=mCONFIG_AT803X_PHY=mCONFIG_QSEMI_PHY=mCONFIG_REALTEK_PHY=mCONFIG_RENESAS_PHY=mCONFIG_ROCKCHIP_PHY=mCONFIG_SMSC_PHY=mCONFIG_STE10XP=mCONFIG_TERANETICS_PHY=mCONFIG_DP83822_PHY=mCONFIG_DP83TC811_PHY=mCONFIG_DP83848_PHY=mCONFIG_DP83867_PHY=mCONFIG_DP83869_PHY=mCONFIG_DP83TD510_PHY=mCONFIG_VITESSE_PHY=mCONFIG_XILINX_GMII2RGMII=mCONFIG_PSE_CONTROLLER=yCONFIG_PSE_REGULATOR=mCONFIG_CAN_DEV=mCONFIG_CAN_VCAN=mCONFIG_CAN_VXCAN=mCONFIG_CAN_NETLINK=yCONFIG_CAN_CALC_BITTIMING=yCONFIG_CAN_RX_OFFLOAD=yCONFIG_CAN_CAN327=mCONFIG_CAN_SLCAN=mCONFIG_CAN_M_CAN=mCONFIG_CAN_DEBUG_DEVICES=y
#
# MCTP Device Drivers
#CONFIG_MCTP_SERIAL=mCONFIG_MCTP_TRANSPORT_I2C=m
# end of MCTP Device Drivers
CONFIG_MDIO_DEVICE=mCONFIG_MDIO_BUS=mCONFIG_FWNODE_MDIO=mCONFIG_OF_MDIO=mCONFIG_MDIO_DEVRES=mCONFIG_MDIO_BITBANG=mCONFIG_MDIO_GPIO=mCONFIG_MDIO_I2C=m
#
# MDIO Multiplexers
#CONFIG_MDIO_BUS_MUX=mCONFIG_MDIO_BUS_MUX_MULTIPLEXER=m
#
# PCS device drivers
#CONFIG_PCS_ALTERA_TSE=m
# end of PCS device drivers
CONFIG_PPP=mCONFIG_PPP_BSDCOMP=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_FILTER=yCONFIG_PPP_MPPE=mCONFIG_PPP_MULTILINK=yCONFIG_PPPOATM=mCONFIG_PPPOE=mCONFIG_PPTP=mCONFIG_PPPOL2TP=mCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_SLIP=mCONFIG_SLHC=mCONFIG_SLIP_COMPRESSED=yCONFIG_SLIP_SMART=yCONFIG_SLIP_MODE_SLIP6=y
#
# S/390 network device drivers
#CONFIG_LCS=mCONFIG_CTCM=mCONFIG_NETIUCV=mCONFIG_SMSGIUCV=mCONFIG_SMSGIUCV_EVENT=mCONFIG_QETH=mCONFIG_QETH_L2=mCONFIG_QETH_L3=mCONFIG_QETH_OSX=yCONFIG_CCWGROUP=m
# end of S/390 network device drivers
#
# Host-side USB support is needed for USB Network Adapter support #CONFIG_WAN=yCONFIG_HDLC=mCONFIG_HDLC_RAW=mCONFIG_HDLC_RAW_ETH=mCONFIG_HDLC_CISCO=mCONFIG_HDLC_FR=mCONFIG_HDLC_PPP=mCONFIG_HDLC_X25=mCONFIG_LAPBETHER=mCONFIG_IEEE802154_DRIVERS=mCONFIG_IEEE802154_FAKELB=mCONFIG_IEEE802154_HWSIM=m
#
# Wireless WAN
#CONFIG_WWAN=mCONFIG_WWAN_DEBUGFS=yCONFIG_WWAN_HWSIM=mCONFIG_MHI_WWAN_CTRL=mCONFIG_MHI_WWAN_MBIM=mCONFIG_RPMSG_WWAN_CTRL=m
# end of Wireless WAN
CONFIG_NETDEVSIM=mCONFIG_NET_FAILOVER=m
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_LEDS=mCONFIG_INPUT_FF_MEMLESS=mCONFIG_INPUT_SPARSEKMAP=mCONFIG_INPUT_MATRIXKMAP=mCONFIG_INPUT_VIVALDIFMAP=m
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=mCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_JOYDEV=mCONFIG_INPUT_EVDEV=mCONFIG_INPUT_EVBUG=m
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ADC=mCONFIG_KEYBOARD_ADP5588=mCONFIG_KEYBOARD_ADP5589=mCONFIG_KEYBOARD_ATKBD=mCONFIG_KEYBOARD_QT1050=mCONFIG_KEYBOARD_QT1070=mCONFIG_KEYBOARD_QT2160=mCONFIG_KEYBOARD_DLINK_DIR685=mCONFIG_KEYBOARD_LKKBD=mCONFIG_KEYBOARD_GPIO=mCONFIG_KEYBOARD_GPIO_POLLED=mCONFIG_KEYBOARD_TCA6416=mCONFIG_KEYBOARD_TCA8418=mCONFIG_KEYBOARD_MATRIX=mCONFIG_KEYBOARD_LM8323=mCONFIG_KEYBOARD_LM8333=mCONFIG_KEYBOARD_MAX7359=mCONFIG_KEYBOARD_MCS=mCONFIG_KEYBOARD_MPR121=mCONFIG_KEYBOARD_NEWTON=mCONFIG_KEYBOARD_PINEPHONE=mCONFIG_KEYBOARD_STOWAWAY=mCONFIG_KEYBOARD_SUNKBD=mCONFIG_KEYBOARD_TM2_TOUCHKEY=mCONFIG_KEYBOARD_XTKBD=mCONFIG_KEYBOARD_CAP11XX=mCONFIG_KEYBOARD_CYPRESS_SF=mCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=mCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_BYD=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=yCONFIG_MOUSE_PS2_CYPRESS=yCONFIG_MOUSE_PS2_TRACKPOINT=yCONFIG_MOUSE_PS2_ELANTECH=yCONFIG_MOUSE_PS2_ELANTECH_SMBUS=yCONFIG_MOUSE_PS2_SENTELIC=yCONFIG_MOUSE_PS2_TOUCHKIT=yCONFIG_MOUSE_PS2_FOCALTECH=yCONFIG_MOUSE_PS2_SMBUS=yCONFIG_MOUSE_SERIAL=mCONFIG_MOUSE_CYAPA=mCONFIG_MOUSE_ELAN_I2C=mCONFIG_MOUSE_ELAN_I2C_I2C=yCONFIG_MOUSE_ELAN_I2C_SMBUS=yCONFIG_MOUSE_VSXXXAA=mCONFIG_MOUSE_GPIO=mCONFIG_MOUSE_SYNAPTICS_I2C=mCONFIG_INPUT_JOYSTICK=yCONFIG_JOYSTICK_ANALOG=mCONFIG_JOYSTICK_A3D=mCONFIG_JOYSTICK_ADC=mCONFIG_JOYSTICK_ADI=mCONFIG_JOYSTICK_COBRA=mCONFIG_JOYSTICK_GF2K=mCONFIG_JOYSTICK_GRIP=mCONFIG_JOYSTICK_GRIP_MP=mCONFIG_JOYSTICK_GUILLEMOT=mCONFIG_JOYSTICK_INTERACT=mCONFIG_JOYSTICK_SIDEWINDER=mCONFIG_JOYSTICK_TMDC=mCONFIG_JOYSTICK_IFORCE=mCONFIG_JOYSTICK_IFORCE_232=mCONFIG_JOYSTICK_WARRIOR=mCONFIG_JOYSTICK_MAGELLAN=mCONFIG_JOYSTICK_SPACEORB=mCONFIG_JOYSTICK_SPACEBALL=mCONFIG_JOYSTICK_STINGER=mCONFIG_JOYSTICK_TWIDJOY=mCONFIG_JOYSTICK_ZHENHUA=mCONFIG_JOYSTICK_AS5011=mCONFIG_JOYSTICK_JOYDUMP=mCONFIG_JOYSTICK_QWIIC=mCONFIG_JOYSTICK_FSIA6B=mCONFIG_INPUT_TABLET=yCONFIG_TABLET_SERIAL_WACOM4=mCONFIG_INPUT_TOUCHSCREEN=yCONFIG_TOUCHSCREEN_AD7879=mCONFIG_TOUCHSCREEN_AD7879_I2C=mCONFIG_TOUCHSCREEN_ADC=mCONFIG_TOUCHSCREEN_AR1021_I2C=mCONFIG_TOUCHSCREEN_ATMEL_MXT=mCONFIG_TOUCHSCREEN_AUO_PIXCIR=mCONFIG_TOUCHSCREEN_BU21013=mCONFIG_TOUCHSCREEN_BU21029=mCONFIG_TOUCHSCREEN_CHIPONE_ICN8318=mCONFIG_TOUCHSCREEN_CY8CTMA140=mCONFIG_TOUCHSCREEN_CY8CTMG110=mCONFIG_TOUCHSCREEN_CYTTSP_CORE=mCONFIG_TOUCHSCREEN_CYTTSP_I2C=mCONFIG_TOUCHSCREEN_CYTTSP4_CORE=mCONFIG_TOUCHSCREEN_CYTTSP4_I2C=mCONFIG_TOUCHSCREEN_DYNAPRO=mCONFIG_TOUCHSCREEN_HAMPSHIRE=mCONFIG_TOUCHSCREEN_EETI=mCONFIG_TOUCHSCREEN_EGALAX=mCONFIG_TOUCHSCREEN_EGALAX_SERIAL=mCONFIG_TOUCHSCREEN_EXC3000=mCONFIG_TOUCHSCREEN_FUJITSU=mCONFIG_TOUCHSCREEN_GOODIX=mCONFIG_TOUCHSCREEN_HIDEEP=mCONFIG_TOUCHSCREEN_HYCON_HY46XX=mCONFIG_TOUCHSCREEN_ILI210X=mCONFIG_TOUCHSCREEN_ILITEK=mCONFIG_TOUCHSCREEN_S6SY761=mCONFIG_TOUCHSCREEN_GUNZE=mCONFIG_TOUCHSCREEN_EKTF2127=mCONFIG_TOUCHSCREEN_ELAN=mCONFIG_TOUCHSCREEN_ELO=mCONFIG_TOUCHSCREEN_WACOM_W8001=mCONFIG_TOUCHSCREEN_WACOM_I2C=mCONFIG_TOUCHSCREEN_MAX11801=mCONFIG_TOUCHSCREEN_MCS5000=mCONFIG_TOUCHSCREEN_MMS114=mCONFIG_TOUCHSCREEN_MELFAS_MIP4=mCONFIG_TOUCHSCREEN_MSG2638=mCONFIG_TOUCHSCREEN_MTOUCH=mCONFIG_TOUCHSCREEN_IMAGIS=mCONFIG_TOUCHSCREEN_INEXIO=mCONFIG_TOUCHSCREEN_MK712=mCONFIG_TOUCHSCREEN_PENMOUNT=mCONFIG_TOUCHSCREEN_EDT_FT5X06=mCONFIG_TOUCHSCREEN_TOUCHRIGHT=mCONFIG_TOUCHSCREEN_TOUCHWIN=mCONFIG_TOUCHSCREEN_PIXCIR=mCONFIG_TOUCHSCREEN_WDT87XX_I2C=mCONFIG_TOUCHSCREEN_TOUCHIT213=mCONFIG_TOUCHSCREEN_TSC_SERIO=mCONFIG_TOUCHSCREEN_TSC200X_CORE=mCONFIG_TOUCHSCREEN_TSC2004=mCONFIG_TOUCHSCREEN_TSC2007=mCONFIG_TOUCHSCREEN_TSC2007_IIO=yCONFIG_TOUCHSCREEN_RM_TS=mCONFIG_TOUCHSCREEN_SILEAD=mCONFIG_TOUCHSCREEN_SIS_I2C=mCONFIG_TOUCHSCREEN_ST1232=mCONFIG_TOUCHSCREEN_STMFTS=mCONFIG_TOUCHSCREEN_SX8654=mCONFIG_TOUCHSCREEN_TPS6507X=mCONFIG_TOUCHSCREEN_ZET6223=mCONFIG_TOUCHSCREEN_ZFORCE=mCONFIG_TOUCHSCREEN_COLIBRI_VF50=mCONFIG_TOUCHSCREEN_ROHM_BU21023=mCONFIG_TOUCHSCREEN_IQS5XX=mCONFIG_TOUCHSCREEN_ZINITIX=mCONFIG_INPUT_MISC=yCONFIG_INPUT_AD714X=mCONFIG_INPUT_AD714X_I2C=mCONFIG_INPUT_ATMEL_CAPTOUCH=mCONFIG_INPUT_BMA150=mCONFIG_INPUT_E3X0_BUTTON=mCONFIG_INPUT_MMA8450=mCONFIG_INPUT_GPIO_BEEPER=mCONFIG_INPUT_GPIO_DECODER=mCONFIG_INPUT_GPIO_VIBRA=mCONFIG_INPUT_KXTJ9=mCONFIG_INPUT_REGULATOR_HAPTIC=mCONFIG_INPUT_UINPUT=mCONFIG_INPUT_PCF8574=mCONFIG_INPUT_PWM_BEEPER=mCONFIG_INPUT_PWM_VIBRA=mCONFIG_INPUT_GPIO_ROTARY_ENCODER=mCONFIG_INPUT_DA7280_HAPTICS=mCONFIG_INPUT_ADXL34X=mCONFIG_INPUT_ADXL34X_I2C=mCONFIG_INPUT_IBM_PANEL=mCONFIG_INPUT_IQS269A=mCONFIG_INPUT_IQS626A=mCONFIG_INPUT_IQS7222=mCONFIG_INPUT_CMA3000=mCONFIG_INPUT_CMA3000_I2C=mCONFIG_INPUT_DRV260X_HAPTICS=mCONFIG_INPUT_DRV2665_HAPTICS=mCONFIG_INPUT_DRV2667_HAPTICS=mCONFIG_RMI4_CORE=mCONFIG_RMI4_I2C=mCONFIG_RMI4_SMB=mCONFIG_RMI4_F03=yCONFIG_RMI4_F03_SERIO=mCONFIG_RMI4_2D_SENSOR=yCONFIG_RMI4_F11=yCONFIG_RMI4_F12=yCONFIG_RMI4_F30=yCONFIG_RMI4_F34=yCONFIG_RMI4_F3A=yCONFIG_RMI4_F55=y
#
# Hardware I/O ports
#CONFIG_SERIO=mCONFIG_SERIO_SERPORT=mCONFIG_SERIO_LIBPS2=mCONFIG_SERIO_RAW=mCONFIG_SERIO_PS2MULT=mCONFIG_SERIO_GPIO_PS2=mCONFIG_USERIO=mCONFIG_GAMEPORT=mCONFIG_GAMEPORT_NS558=mCONFIG_GAMEPORT_L4=m
# end of Hardware I/O ports # end of Input device support
#
# Character devices
#CONFIG_TTY=yCONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=yCONFIG_UNIX98_PTYS=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256CONFIG_LDISC_AUTOLOAD=yCONFIG_N_GSM=mCONFIG_NULL_TTY=mCONFIG_HVC_DRIVER=yCONFIG_HVC_IUCV=yCONFIG_RPMSG_TTY=mCONFIG_SERIAL_DEV_BUS=mCONFIG_TTY_PRINTK=mCONFIG_TTY_PRINTK_LEVEL=6CONFIG_VIRTIO_CONSOLE=mCONFIG_IPMB_DEVICE_INTERFACE=mCONFIG_HW_RANDOM=mCONFIG_HW_RANDOM_VIRTIO=mCONFIG_HW_RANDOM_S390=m
#
# PCMCIA character devices
#CONFIG_SYNCLINK_CS=mCONFIG_CARDMAN_4000=mCONFIG_CARDMAN_4040=mCONFIG_SCR24X=mCONFIG_IPWIRELESS=m
# end of PCMCIA character devices
CONFIG_DEVMEM=yCONFIG_HANGCHECK_TIMER=m
#
# S/390 character device drivers
#CONFIG_TN3270=mCONFIG_TN3270_TTY=mCONFIG_TN3270_FS=mCONFIG_TN3215=yCONFIG_TN3215_CONSOLE=yCONFIG_CCW_CONSOLE=yCONFIG_SCLP_TTY=yCONFIG_SCLP_CONSOLE=yCONFIG_SCLP_VT220_TTY=yCONFIG_SCLP_VT220_CONSOLE=yCONFIG_HMC_DRV=mCONFIG_SCLP_OFB=yCONFIG_S390_UV_UAPI=mCONFIG_S390_TAPE=m
#
# S/390 tape hardware support
#CONFIG_S390_TAPE_34XX=mCONFIG_S390_TAPE_3590=mCONFIG_VMLOGRDR=mCONFIG_VMCP=yCONFIG_VMCP_CMA_SIZE=4CONFIG_MONREADER=mCONFIG_MONWRITER=mCONFIG_S390_VMUR=mCONFIG_XILLYBUS_CLASS=mCONFIG_XILLYBUS=mCONFIG_XILLYBUS_OF=mCONFIG_RANDOM_TRUST_CPU=yCONFIG_RANDOM_TRUST_BOOTLOADER=y
# end of Character devices
#
# I2C support
#CONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=yCONFIG_I2C_CHARDEV=mCONFIG_I2C_MUX=m
#
# Multiplexer I2C Chip support
#CONFIG_I2C_ARB_GPIO_CHALLENGE=mCONFIG_I2C_MUX_GPIO=mCONFIG_I2C_MUX_GPMUX=mCONFIG_I2C_MUX_LTC4306=mCONFIG_I2C_MUX_PCA9541=m
CONFIG_I2C_MUX_PCA954x=mCONFIG_I2C_MUX_PINCTRL=mCONFIG_I2C_DEMUX_PINCTRL=mCONFIG_I2C_MUX_MLXCPLD=m
# end of Multiplexer I2C Chip support
CONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_SMBUS=mCONFIG_I2C_STUB=mCONFIG_I2C_SLAVE=yCONFIG_I2C_SLAVE_EEPROM=mCONFIG_I2C_SLAVE_TESTUNIT=mCONFIG_I2C_DEBUG_CORE=yCONFIG_I2C_DEBUG_ALGO=y
# end of I2C support
CONFIG_I3C=mCONFIG_SPMI=mCONFIG_HSI=mCONFIG_HSI_BOARDINFO=y
#
# HSI controllers
#
#
# HSI clients
#CONFIG_HSI_CHAR=mCONFIG_PPS=mCONFIG_PPS_DEBUG=y
#
# PPS clients support
#CONFIG_PPS_CLIENT_KTIMER=mCONFIG_PPS_CLIENT_LDISC=mCONFIG_PPS_CLIENT_GPIO=m
#
# PPS generators support
#
#
# PTP clock support
#CONFIG_PTP_1588_CLOCK=mCONFIG_PTP_1588_CLOCK_OPTIONAL=mCONFIG_DP83640_PHY=mCONFIG_PTP_1588_CLOCK_IDT82P33=mCONFIG_PTP_1588_CLOCK_IDTCM=m
# end of PTP clock support
CONFIG_PINCTRL=yCONFIG_PINMUX=yCONFIG_PINCONF=yCONFIG_GENERIC_PINCONF=yCONFIG_DEBUG_PINCTRL=yCONFIG_PINCTRL_CY8C95X0=mCONFIG_PINCTRL_MCP23S08_I2C=mCONFIG_PINCTRL_MCP23S08=mCONFIG_PINCTRL_SX150X=y
#
# Renesas pinctrl drivers
#
# end of Renesas pinctrl drivers
CONFIG_GPIOLIB=yCONFIG_GPIOLIB_FASTPATH_LIMIT=512CONFIG_GPIOLIB_IRQCHIP=yCONFIG_DEBUG_GPIO=yCONFIG_GPIO_SYSFS=yCONFIG_GPIO_CDEV=yCONFIG_GPIO_CDEV_V1=yCONFIG_GPIO_MAX730X=m
#
# I2C GPIO expanders
#CONFIG_GPIO_MAX7300=mCONFIG_GPIO_MAX732X=mCONFIG_GPIO_PCA953X=mCONFIG_GPIO_PCA953X_IRQ=yCONFIG_GPIO_PCA9570=mCONFIG_GPIO_PCF857X=mCONFIG_GPIO_TPIC2810=m
# end of I2C GPIO expanders
#
# MFD GPIO expanders
#
# end of MFD GPIO expanders
#
# Virtual GPIO drivers
#CONFIG_GPIO_AGGREGATOR=mCONFIG_GPIO_MOCKUP=mCONFIG_GPIO_VIRTIO=mCONFIG_GPIO_SIM=m
# end of Virtual GPIO drivers
CONFIG_POWER_RESET=y CONFIG_POWER_RESET_REGULATOR=y CONFIG_POWER_RESET_RESTART=y CONFIG_REBOOT_MODE=m CONFIG_NVMEM_REBOOT_MODE=m CONFIG_POWER_SUPPLY=y CONFIG_POWER_SUPPLY_DEBUG=y CONFIG_GENERIC_ADC_BATTERY=m CONFIG_IP5XXX_POWER=mCONFIG_TEST_POWER=m CONFIG_CHARGER_ADP5061=m CONFIG_BATTERY_CW2015=m CONFIG_BATTERY_DS2782=m CONFIG_BATTERY_SAMSUNG_SDI=y CONFIG_BATTERY_SBS=mCONFIG_CHARGER_SBS=mCONFIG_MANAGER_SBS=m CONFIG_BATTERY_BQ27XXX=m CONFIG_BATTERY_BQ27XXX_I2C=m CONFIG_BATTERY_BQ27XXX_DT_UPDATES_NVM=y CONFIG_BATTERY_MAX17040=m CONFIG_BATTERY_MAX17042=m CONFIG_CHARGER_MAX8903=m CONFIG_CHARGER_LP8727=m CONFIG_CHARGER_GPIO=m CONFIG_CHARGER_MANAGER=m CONFIG_CHARGER_LT3651=m CONFIG_CHARGER_LTC4162L=m CONFIG_CHARGER_DETECTOR_MAX14656=m CONFIG_CHARGER_MAX77976=m CONFIG_CHARGER_BQ2415X=m CONFIG_CHARGER_BQ24190=m CONFIG_CHARGER_BQ24257=m CONFIG_CHARGER_BQ24735=m CONFIG_CHARGER_BQ2515X=m CONFIG_CHARGER_BQ25890=m CONFIG_CHARGER_BQ25980=m CONFIG_CHARGER_BQ256XX=m CONFIG_CHARGER_SMB347=m CONFIG_BATTERY_GAUGE_LTC2941=m CONFIG_BATTERY_RT5033=m CONFIG_CHARGER_RT9455=m CONFIG_CHARGER_UCS1002=m CONFIG_CHARGER_BD99954=m CONFIG_BATTERY_UG3105=mCONFIG_THERMAL=yCONFIG_THERMAL_NETLINK=y CONFIG_THERMAL_STATISTICS=y CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 CONFIG_THERMAL_OF=y CONFIG_THERMAL_WRITABLE_TRIPS=y CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set # CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set CONFIG_THERMAL_GOV_FAIR_SHARE=y CONFIG_THERMAL_GOV_STEP_WISE=y CONFIG_THERMAL_GOV_BANG_BANG=y CONFIG_THERMAL_GOV_USER_SPACE=y CONFIG_CPU_THERMAL=y CONFIG_DEVFREQ_THERMAL=y CONFIG_THERMAL_EMULATION=y CONFIG_GENERIC_ADC_THERMAL=m CONFIG_WATCHDOG=yCONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_NOWAYOUT=y CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y CONFIG_WATCHDOG_OPEN_TIMEOUT=0 CONFIG_WATCHDOG_SYSFS=y CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT=y
#
# Watchdog Pretimeout Governors
#CONFIG_WATCHDOG_PRETIMEOUT_GOV=y CONFIG_WATCHDOG_PRETIMEOUT_GOV_SEL=m CONFIG_WATCHDOG_PRETIMEOUT_GOV_NOOP=m CONFIG_WATCHDOG_PRETIMEOUT_GOV_PANIC=m
# CONFIG_WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP is not set CONFIG_WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC=y
#
# Watchdog Device Drivers
#CONFIG_SOFT_WATCHDOG=mCONFIG_SOFT_WATCHDOG_PRETIMEOUT=yCONFIG_ZIIRAVE_WATCHDOG=mCONFIG_MEN_A21_WDT=mCONFIG_DIAG288_WATCHDOG=mCONFIG_REGULATOR=yCONFIG_REGULATOR_DEBUG=yCONFIG_REGULATOR_FIXED_VOLTAGE=mCONFIG_REGULATOR_VIRTUAL_CONSUMER=mCONFIG_REGULATOR_USERSPACE_CONSUMER=mCONFIG_REGULATOR_88PG86X=mCONFIG_REGULATOR_ACT8865=mCONFIG_REGULATOR_AD5398=mCONFIG_REGULATOR_DA9121=mCONFIG_REGULATOR_DA9210=mCONFIG_REGULATOR_DA9211=mCONFIG_REGULATOR_FAN53555=mCONFIG_REGULATOR_FAN53880=mCONFIG_REGULATOR_GPIO=mCONFIG_REGULATOR_ISL9305=mCONFIG_REGULATOR_ISL6271A=mCONFIG_REGULATOR_LP3971=mCONFIG_REGULATOR_LP3972=mCONFIG_REGULATOR_LP872X=mCONFIG_REGULATOR_LP8755=mCONFIG_REGULATOR_LTC3589=mCONFIG_REGULATOR_LTC3676=mCONFIG_REGULATOR_MAX1586=mCONFIG_REGULATOR_MAX8649=mCONFIG_REGULATOR_MAX8660=mCONFIG_REGULATOR_MAX8893=mCONFIG_REGULATOR_MAX8952=mCONFIG_REGULATOR_MAX8973=mCONFIG_REGULATOR_MAX20086=mCONFIG_REGULATOR_MAX77826=mCONFIG_REGULATOR_MCP16502=mCONFIG_REGULATOR_MP5416=mCONFIG_REGULATOR_MP8859=mCONFIG_REGULATOR_MP886X=mCONFIG_REGULATOR_MPQ7920=mCONFIG_REGULATOR_MT6311=mCONFIG_REGULATOR_MT6315=mCONFIG_REGULATOR_PCA9450=mCONFIG_REGULATOR_PF8X00=mCONFIG_REGULATOR_PFUZE100=mCONFIG_REGULATOR_PV88060=mCONFIG_REGULATOR_PV88080=mCONFIG_REGULATOR_PV88090=mCONFIG_REGULATOR_PWM=mCONFIG_REGULATOR_QCOM_SPMI=mCONFIG_REGULATOR_QCOM_USB_VBUS=mCONFIG_REGULATOR_RT4801=mCONFIG_REGULATOR_RT5190A=mCONFIG_REGULATOR_RT5759=mCONFIG_REGULATOR_RT6160=mCONFIG_REGULATOR_RT6245=mCONFIG_REGULATOR_RTQ2134=mCONFIG_REGULATOR_RTMV20=mCONFIG_REGULATOR_RTQ6752=mCONFIG_REGULATOR_SLG51000=mCONFIG_REGULATOR_SY8106A=mCONFIG_REGULATOR_SY8824X=mCONFIG_REGULATOR_SY8827N=mCONFIG_REGULATOR_TPS51632=mCONFIG_REGULATOR_TPS62360=mCONFIG_REGULATOR_TPS6286X=mCONFIG_REGULATOR_TPS65023=mCONFIG_REGULATOR_TPS6507X=mCONFIG_REGULATOR_TPS65132=mCONFIG_REGULATOR_VCTRL=mCONFIG_REGULATOR_QCOM_LABIBB=mCONFIG_RC_CORE=mCONFIG_LIRC=yCONFIG_RC_MAP=mCONFIG_RC_DECODERS=yCONFIG_IR_IMON_DECODER=mCONFIG_IR_JVC_DECODER=mCONFIG_IR_MCE_KBD_DECODER=mCONFIG_IR_NEC_DECODER=mCONFIG_IR_RC5_DECODER=mCONFIG_IR_RC6_DECODER=mCONFIG_IR_RCMM_DECODER=mCONFIG_IR_SANYO_DECODER=mCONFIG_IR_SHARP_DECODER=mCONFIG_IR_SONY_DECODER=mCONFIG_IR_XMP_DECODER=mCONFIG_RC_DEVICES=yCONFIG_IR_GPIO_CIR=mCONFIG_IR_GPIO_TX=mCONFIG_IR_PWM_TX=mCONFIG_IR_SERIAL=mCONFIG_IR_SERIAL_TRANSMITTER=yCONFIG_RC_LOOPBACK=mCONFIG_CEC_CORE=m
#
# CEC support
#CONFIG_MEDIA_CEC_RC=yCONFIG_MEDIA_CEC_SUPPORT=yCONFIG_CEC_CH7322=m
# end of CEC support
#
# Graphics support
#
#
# Console display driver support
#CONFIG_DUMMY_CONSOLE=yCONFIG_DUMMY_CONSOLE_COLUMNS=80CONFIG_DUMMY_CONSOLE_ROWS=25
# end of Console display driver support # end of Graphics support
#
# HID support
#CONFIG_HID=mCONFIG_HID_BATTERY_STRENGTH=yCONFIG_HIDRAW=yCONFIG_UHID=mCONFIG_HID_GENERIC=m
#
# Special HID drivers
#CONFIG_HID_A4TECH=mCONFIG_HID_ACRUX=mCONFIG_HID_ACRUX_FF=yCONFIG_HID_APPLE=mCONFIG_HID_AUREAL=mCONFIG_HID_BELKIN=mCONFIG_HID_CHERRY=mCONFIG_HID_COUGAR=mCONFIG_HID_MACALLY=mCONFIG_HID_CMEDIA=mCONFIG_HID_CYPRESS=mCONFIG_HID_DRAGONRISE=mCONFIG_DRAGONRISE_FF=yCONFIG_HID_EMS_FF=mCONFIG_HID_ELECOM=mCONFIG_HID_EZKEY=mCONFIG_HID_GEMBIRD=mCONFIG_HID_GFRM=mCONFIG_HID_GLORIOUS=mCONFIG_HID_VIVALDI_COMMON=mCONFIG_HID_VIVALDI=mCONFIG_HID_KEYTOUCH=mCONFIG_HID_KYE=mCONFIG_HID_WALTOP=mCONFIG_HID_VIEWSONIC=mCONFIG_HID_VRC2=mCONFIG_HID_XIAOMI=mCONFIG_HID_GYRATION=mCONFIG_HID_ICADE=mCONFIG_HID_ITE=mCONFIG_HID_JABRA=mCONFIG_HID_TWINHAN=mCONFIG_HID_KENSINGTON=mCONFIG_HID_LCPOWER=mCONFIG_HID_LED=mCONFIG_HID_LENOVO=mCONFIG_HID_MAGICMOUSE=mCONFIG_HID_MALTRON=mCONFIG_HID_MAYFLASH=mCONFIG_HID_REDRAGON=mCONFIG_HID_MICROSOFT=mCONFIG_HID_MONTEREY=mCONFIG_HID_MULTITOUCH=mCONFIG_HID_NINTENDO=mCONFIG_NINTENDO_FF=yCONFIG_HID_NTI=mCONFIG_HID_ORTEK=mCONFIG_HID_PANTHERLORD=mCONFIG_PANTHERLORD_FF=yCONFIG_HID_PETALYNX=mCONFIG_HID_PICOLCD=mCONFIG_HID_PICOLCD_LEDS=yCONFIG_HID_PICOLCD_CIR=yCONFIG_HID_PLANTRONICS=mCONFIG_HID_PLAYSTATION=mCONFIG_PLAYSTATION_FF=yCONFIG_HID_PXRC=mCONFIG_HID_RAZER=mCONFIG_HID_PRIMAX=mCONFIG_HID_SAITEK=mCONFIG_HID_SEMITEK=mCONFIG_HID_SPEEDLINK=mCONFIG_HID_STEAM=mCONFIG_HID_STEELSERIES=mCONFIG_HID_SUNPLUS=mCONFIG_HID_RMI=mCONFIG_HID_GREENASIA=mCONFIG_GREENASIA_FF=yCONFIG_HID_SMARTJOYPLUS=mCONFIG_SMARTJOYPLUS_FF=yCONFIG_HID_TIVO=mCONFIG_HID_TOPSEED=mCONFIG_HID_TOPRE=mCONFIG_HID_THINGM=mCONFIG_HID_UDRAW_PS3=mCONFIG_HID_WIIMOTE=mCONFIG_HID_XINMO=mCONFIG_HID_ZEROPLUS=mCONFIG_ZEROPLUS_FF=yCONFIG_HID_ZYDACRON=mCONFIG_HID_ALPS=m
# end of Special HID drivers
#
# I2C HID support
#CONFIG_I2C_HID_OF=mCONFIG_I2C_HID_OF_ELAN=mCONFIG_I2C_HID_OF_GOODIX=m
# end of I2C HID support
CONFIG_I2C_HID_CORE=m
# end of HID support
CONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_SCSI_UFSHCD=mCONFIG_SCSI_UFS_BSG=yCONFIG_SCSI_UFS_CRYPTO=yCONFIG_SCSI_UFS_HPB=yCONFIG_SCSI_UFS_FAULT_INJECTION=yCONFIG_MEMSTICK=mCONFIG_MEMSTICK_DEBUG=y
#
# MemoryStick drivers
#CONFIG_MEMSTICK_UNSAFE_RESUME=yCONFIG_MSPRO_BLOCK=mCONFIG_MS_BLOCK=m
#
# MemoryStick Host Controller Drivers
#CONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=mCONFIG_LEDS_CLASS_FLASH=mCONFIG_LEDS_CLASS_MULTICOLOR=mCONFIG_LEDS_BRIGHTNESS_HW_CHANGED=y
#
# LED drivers
#CONFIG_LEDS_AN30259A=mCONFIG_LEDS_AW2013=mCONFIG_LEDS_LM3530=mCONFIG_LEDS_LM3532=mCONFIG_LEDS_LM3642=mCONFIG_LEDS_LM3692X=mCONFIG_LEDS_PCA9532=mCONFIG_LEDS_PCA9532_GPIO=yCONFIG_LEDS_GPIO=mCONFIG_LEDS_LP3944=mCONFIG_LEDS_LP3952=mCONFIG_LEDS_LP50XX=mCONFIG_LEDS_LP55XX_COMMON=mCONFIG_LEDS_LP5521=mCONFIG_LEDS_LP5523=mCONFIG_LEDS_LP5562=mCONFIG_LEDS_LP8501=mCONFIG_LEDS_LP8860=mCONFIG_LEDS_PCA955X=mCONFIG_LEDS_PCA955X_GPIO=yCONFIG_LEDS_PCA963X=mCONFIG_LEDS_PWM=mCONFIG_LEDS_REGULATOR=mCONFIG_LEDS_BD2802=mCONFIG_LEDS_LT3593=mCONFIG_LEDS_TCA6507=mCONFIG_LEDS_TLC591XX=m
CONFIG_LEDS_LM355x=mCONFIG_LEDS_IS31FL319X=mCONFIG_LEDS_IS31FL32XX=m
#
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM) #CONFIG_LEDS_BLINKM=mCONFIG_LEDS_MLXREG=mCONFIG_LEDS_USER=mCONFIG_LEDS_TI_LMU_COMMON=mCONFIG_LEDS_LM3697=m
#
# Flash and Torch LED drivers
#CONFIG_LEDS_AAT1290=mCONFIG_LEDS_AS3645A=mCONFIG_LEDS_KTD2692=mCONFIG_LEDS_LM3601X=mCONFIG_LEDS_RT4505=mCONFIG_LEDS_RT8515=mCONFIG_LEDS_SGM3140=m
#
# RGB LED drivers
#CONFIG_LEDS_PWM_MULTICOLOR=mCONFIG_LEDS_QCOM_LPG=m
#
# LED Triggers
#CONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=mCONFIG_LEDS_TRIGGER_ONESHOT=mCONFIG_LEDS_TRIGGER_MTD=yCONFIG_LEDS_TRIGGER_HEARTBEAT=mCONFIG_LEDS_TRIGGER_BACKLIGHT=mCONFIG_LEDS_TRIGGER_CPU=yCONFIG_LEDS_TRIGGER_ACTIVITY=mCONFIG_LEDS_TRIGGER_GPIO=mCONFIG_LEDS_TRIGGER_DEFAULT_ON=m
#
# iptables trigger is under Netfilter config (LED target) # CONFIG_LEDS_TRIGGER_TRANSIENT=m CONFIG_LEDS_TRIGGER_CAMERA=m CONFIG_LEDS_TRIGGER_PANIC=y CONFIG_LEDS_TRIGGER_NETDEV=m CONFIG_LEDS_TRIGGER_PATTERN=m CONFIG_LEDS_TRIGGER_AUDIO=m CONFIG_LEDS_TRIGGER_TTY=m
#
# Simple LED drivers
#CONFIG_ACCESSIBILITY=y
#
# Speakup console speech
#CONFIG_SPEAKUP=mCONFIG_SPEAKUP_SYNTH_ACNTSA=mCONFIG_SPEAKUP_SYNTH_APOLLO=mCONFIG_SPEAKUP_SYNTH_AUDPTR=mCONFIG_SPEAKUP_SYNTH_BNS=mCONFIG_SPEAKUP_SYNTH_DECTLK=mCONFIG_SPEAKUP_SYNTH_DECEXT=mCONFIG_SPEAKUP_SYNTH_LTLK=mCONFIG_SPEAKUP_SYNTH_SOFT=mCONFIG_SPEAKUP_SYNTH_SPKOUT=mCONFIG_SPEAKUP_SYNTH_TXPRT=mCONFIG_SPEAKUP_SYNTH_DUMMY=m
# end of Speakup console speech
CONFIG_DMADEVICES=yCONFIG_DMADEVICES_DEBUG=yCONFIG_DMADEVICES_VDEBUG=y
#
# DMA Devices
#CONFIG_DMA_ENGINE=yCONFIG_DMA_VIRTUAL_CHANNELS=mCONFIG_DMA_OF=yCONFIG_FSL_EDMA=mCONFIG_INTEL_IDMA64=mCONFIG_QCOM_HIDMA=m
#
# DMA Clients
#CONFIG_ASYNC_TX_DMA=yCONFIG_DMATEST=mCONFIG_DMA_ENGINE_RAID=y
#
# DMABUF options
#CONFIG_SYNC_FILE=yCONFIG_SW_SYNC=yCONFIG_UDMABUF=yCONFIG_DMABUF_MOVE_NOTIFY=yCONFIG_DMABUF_DEBUG=yCONFIG_DMABUF_SELFTESTS=mCONFIG_DMABUF_HEAPS=yCONFIG_DMABUF_SYSFS_STATS=yCONFIG_DMABUF_HEAPS_SYSTEM=yCONFIG_DMABUF_HEAPS_CMA=y
# end of DMABUF options
CONFIG_AUXDISPLAY=yCONFIG_CHARLCD=mCONFIG_HD44780_COMMON=mCONFIG_HD44780=mCONFIG_LCD2S=mCONFIG_PANEL_CHANGE_MESSAGE=yCONFIG_PANEL_BOOT_MESSAGE=""
# CONFIG_CHARLCD_BL_OFF is not set
# CONFIG_CHARLCD_BL_ON is not setCONFIG_CHARLCD_BL_FLASH=yCONFIG_UIO=mCONFIG_UIO_PDRV_GENIRQ=mCONFIG_UIO_DMEM_GENIRQ=mCONFIG_VFIO=mCONFIG_VFIO_IOMMU_TYPE1=mCONFIG_VFIO_NOIOMMU=yCONFIG_VFIO_MDEV=mCONFIG_IRQ_BYPASS_MANAGER=mCONFIG_VIRT_DRIVERS=yCONFIG_VIRTIO_ANCHOR=yCONFIG_VIRTIO=yCONFIG_VIRTIO_MENU=yCONFIG_VIRTIO_VDPA=mCONFIG_VIRTIO_BALLOON=mCONFIG_VIRTIO_INPUT=mCONFIG_VDPA=mCONFIG_VDPA_SIM=mCONFIG_VDPA_SIM_NET=mCONFIG_VDPA_SIM_BLOCK=mCONFIG_VDPA_USER=mCONFIG_VHOST_IOTLB=mCONFIG_VHOST_RING=mCONFIG_VHOST=mCONFIG_VHOST_MENU=yCONFIG_VHOST_NET=mCONFIG_VHOST_SCSI=mCONFIG_VHOST_VSOCK=mCONFIG_VHOST_VDPA=mCONFIG_VHOST_CROSS_ENDIAN_LEGACY=y
#
# Microsoft Hyper-V guest support
#
# end of Microsoft Hyper-V guest support
CONFIG_GREYBUS=mCONFIG_COMEDI=mCONFIG_COMEDI_DEBUG=yCONFIG_COMEDI_DEFAULT_BUF_SIZE_KB=2048CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB=20480CONFIG_COMEDI_MISC_DRIVERS=yCONFIG_COMEDI_BOND=mCONFIG_COMEDI_TEST=mCONFIG_COMEDI_PARPORT=mCONFIG_COMEDI_ISA_DRIVERS=yCONFIG_COMEDI_PCL711=mCONFIG_COMEDI_PCL724=mCONFIG_COMEDI_PCL726=mCONFIG_COMEDI_PCL730=mCONFIG_COMEDI_PCL812=mCONFIG_COMEDI_PCL816=mCONFIG_COMEDI_PCL818=mCONFIG_COMEDI_PCM3724=mCONFIG_COMEDI_AMPLC_DIO200_ISA=mCONFIG_COMEDI_AMPLC_PC236_ISA=mCONFIG_COMEDI_AMPLC_PC263_ISA=mCONFIG_COMEDI_RTI800=mCONFIG_COMEDI_RTI802=mCONFIG_COMEDI_DAC02=mCONFIG_COMEDI_DAS16M1=mCONFIG_COMEDI_DAS08_ISA=mCONFIG_COMEDI_DAS16=mCONFIG_COMEDI_DAS800=mCONFIG_COMEDI_DAS1800=mCONFIG_COMEDI_DAS6402=mCONFIG_COMEDI_DT2801=mCONFIG_COMEDI_DT2811=mCONFIG_COMEDI_DT2814=mCONFIG_COMEDI_DT2815=mCONFIG_COMEDI_DT2817=mCONFIG_COMEDI_DT282X=mCONFIG_COMEDI_DMM32AT=mCONFIG_COMEDI_FL512=mCONFIG_COMEDI_AIO_AIO12_8=mCONFIG_COMEDI_AIO_IIRO_16=mCONFIG_COMEDI_C6XDIGIO=mCONFIG_COMEDI_MPC624=mCONFIG_COMEDI_ADQ12B=mCONFIG_COMEDI_NI_AT_A2150=mCONFIG_COMEDI_NI_AT_AO=mCONFIG_COMEDI_NI_ATMIO=mCONFIG_COMEDI_NI_ATMIO16D=mCONFIG_COMEDI_NI_LABPC_ISA=mCONFIG_COMEDI_PCMAD=mCONFIG_COMEDI_PCMDA12=mCONFIG_COMEDI_PCMMIO=mCONFIG_COMEDI_PCMUIO=mCONFIG_COMEDI_MULTIQ3=mCONFIG_COMEDI_S526=mCONFIG_COMEDI_PCMCIA_DRIVERS=mCONFIG_COMEDI_CB_DAS16_CS=mCONFIG_COMEDI_DAS08_CS=mCONFIG_COMEDI_NI_DAQ_700_CS=mCONFIG_COMEDI_NI_DAQ_DIO24_CS=mCONFIG_COMEDI_NI_LABPC_CS=mCONFIG_COMEDI_NI_MIO_CS=mCONFIG_COMEDI_QUATECH_DAQP_CS=mCONFIG_COMEDI_8254=mCONFIG_COMEDI_8255=mCONFIG_COMEDI_8255_SA=mCONFIG_COMEDI_KCOMEDILIB=mCONFIG_COMEDI_AMPLC_DIO200=mCONFIG_COMEDI_AMPLC_PC236=mCONFIG_COMEDI_DAS08=mCONFIG_COMEDI_NI_LABPC=mCONFIG_COMEDI_NI_TIO=mCONFIG_COMEDI_NI_ROUTING=mCONFIG_COMEDI_TESTS=mCONFIG_COMEDI_TESTS_EXAMPLE=mCONFIG_COMEDI_TESTS_NI_ROUTES=mCONFIG_STAGING=y
#
# IIO staging drivers
#
#
# Accelerometers
#
# end of Accelerometers
#
# Analog to digital converters
#
# end of Analog to digital converters
#
# Analog digital bi-direction converters
#CONFIG_ADT7316=mCONFIG_ADT7316_I2C=m
# end of Analog digital bi-direction converters
#
# Direct Digital Synthesis
#
# end of Direct Digital Synthesis
#
# Network Analyzer, Impedance Converters
#CONFIG_AD5933=m
# end of Network Analyzer, Impedance Converters
#
# Active energy metering IC
#CONFIG_ADE7854=mCONFIG_ADE7854_I2C=m
# end of Active energy metering IC
#
# Resolver to digital converters
#
# end of Resolver to digital converters # end of IIO staging drivers
CONFIG_STAGING_MEDIA=yCONFIG_MOST_COMPONENTS=mCONFIG_MOST_NET=mCONFIG_MOST_I2C=mCONFIG_GREYBUS_BOOTROM=mCONFIG_GREYBUS_HID=mCONFIG_GREYBUS_LIGHT=mCONFIG_GREYBUS_LOG=mCONFIG_GREYBUS_LOOPBACK=mCONFIG_GREYBUS_POWER=mCONFIG_GREYBUS_RAW=mCONFIG_GREYBUS_VIBRATOR=mCONFIG_GREYBUS_BRIDGED_PHY=mCONFIG_GREYBUS_GPIO=mCONFIG_GREYBUS_I2C=mCONFIG_GREYBUS_PWM=mCONFIG_GREYBUS_UART=mCONFIG_FIELDBUS_DEV=mCONFIG_HMS_ANYBUSS_BUS=mCONFIG_HMS_PROFINET=mCONFIG_HAVE_CLK=yCONFIG_HAVE_CLK_PREPARE=yCONFIG_COMMON_CLK=yCONFIG_COMMON_CLK_MAX9485=mCONFIG_COMMON_CLK_SI5341=mCONFIG_COMMON_CLK_SI5351=mCONFIG_COMMON_CLK_SI514=mCONFIG_COMMON_CLK_SI544=mCONFIG_COMMON_CLK_SI570=mCONFIG_COMMON_CLK_CDCE706=mCONFIG_COMMON_CLK_CDCE925=mCONFIG_COMMON_CLK_CS2000_CP=mCONFIG_COMMON_CLK_PWM=mCONFIG_COMMON_CLK_RS9_PCIE=mCONFIG_COMMON_CLK_VC5=mCONFIG_COMMON_CLK_VC7=mCONFIG_COMMON_CLK_FIXED_MMIO=yCONFIG_CLK_KUNIT_TEST=mCONFIG_CLK_GATE_KUNIT_TEST=mCONFIG_HWSPINLOCK=y
#
# Clock Source drivers
#CONFIG_TIMER_OF=yCONFIG_TIMER_PROBE=yCONFIG_MICROCHIP_PIT64B=y
# end of Clock Source drivers
CONFIG_MAILBOX=yCONFIG_IOMMU_IOVA=mCONFIG_IOMMU_API=yCONFIG_IOMMU_SUPPORT=y
#
# Generic IOMMU Pagetable Support
#
# end of Generic IOMMU Pagetable Support
CONFIG_IOMMU_DEBUGFS=y
# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not setCONFIG_IOMMU_DEFAULT_DMA_LAZY=y
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not setCONFIG_OF_IOMMU=yCONFIG_S390_CCW_IOMMU=yCONFIG_S390_AP_IOMMU=y
#
# Remoteproc drivers
#CONFIG_REMOTEPROC=yCONFIG_REMOTEPROC_CDEV=y
# end of Remoteproc drivers
#
# Rpmsg drivers
#CONFIG_RPMSG=mCONFIG_RPMSG_CHAR=mCONFIG_RPMSG_CTRL=mCONFIG_RPMSG_NS=mCONFIG_RPMSG_VIRTIO=m
# end of Rpmsg drivers
CONFIG_SOUNDWIRE=m
#
# SoundWire Devices
#
#
# SOC (System On Chip) specific Drivers
#
#
# Amlogic SoC drivers
#
# end of Amlogic SoC drivers
#
# Broadcom SoC drivers
#
# end of Broadcom SoC drivers
#
# NXP/Freescale QorIQ SoC drivers
#
# end of NXP/Freescale QorIQ SoC drivers
#
# fujitsu SoC drivers # # end of fujitsu SoC drivers
#
# i.MX SoC drivers
#
# end of i.MX SoC drivers
#
# Enable LiteX SoC Builder specific drivers
#
# end of Enable LiteX SoC Builder specific drivers
#
# Qualcomm SoC drivers
#
# end of Qualcomm SoC drivers
CONFIG_SOC_TI=y
#
# Xilinx SoC drivers
#
# end of Xilinx SoC drivers # end of SOC (System On Chip) specific Drivers
CONFIG_PM_DEVFREQ=y
#
# DEVFREQ Governors
#CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=mCONFIG_DEVFREQ_GOV_PERFORMANCE=mCONFIG_DEVFREQ_GOV_POWERSAVE=mCONFIG_DEVFREQ_GOV_USERSPACE=mCONFIG_DEVFREQ_GOV_PASSIVE=m
#
# DEVFREQ Drivers
#CONFIG_PM_DEVFREQ_EVENT=yCONFIG_EXTCON=y
#
# Extcon Device Drivers
#CONFIG_EXTCON_ADC_JACK=mCONFIG_EXTCON_FSA9480=mCONFIG_EXTCON_GPIO=mCONFIG_EXTCON_MAX3355=mCONFIG_EXTCON_PTN5150=mCONFIG_EXTCON_RT8973A=mCONFIG_EXTCON_SM5502=mCONFIG_EXTCON_USB_GPIO=mCONFIG_MEMORY=yCONFIG_IIO=mCONFIG_IIO_BUFFER=yCONFIG_IIO_BUFFER_CB=mCONFIG_IIO_BUFFER_DMA=mCONFIG_IIO_BUFFER_DMAENGINE=mCONFIG_IIO_BUFFER_HW_CONSUMER=mCONFIG_IIO_KFIFO_BUF=mCONFIG_IIO_TRIGGERED_BUFFER=mCONFIG_IIO_CONFIGFS=mCONFIG_IIO_TRIGGER=yCONFIG_IIO_CONSUMERS_PER_TRIGGER=2CONFIG_IIO_SW_DEVICE=mCONFIG_IIO_SW_TRIGGER=mCONFIG_IIO_TRIGGERED_EVENT=m
#
# Accelerometers
#CONFIG_ADXL313=mCONFIG_ADXL313_I2C=mCONFIG_ADXL355=mCONFIG_ADXL355_I2C=mCONFIG_ADXL367=mCONFIG_ADXL367_I2C=mCONFIG_ADXL372=mCONFIG_ADXL372_I2C=mCONFIG_BMA400=mCONFIG_BMA400_I2C=mCONFIG_BMC150_ACCEL=mCONFIG_BMC150_ACCEL_I2C=mCONFIG_DA280=mCONFIG_DA311=mCONFIG_DMARD06=mCONFIG_DMARD09=mCONFIG_DMARD10=mCONFIG_FXLS8962AF=mCONFIG_FXLS8962AF_I2C=mCONFIG_IIO_ST_ACCEL_3AXIS=mCONFIG_IIO_ST_ACCEL_I2C_3AXIS=mCONFIG_KXSD9=mCONFIG_KXSD9_I2C=mCONFIG_KXCJK1013=mCONFIG_MC3230=mCONFIG_MMA7455=mCONFIG_MMA7455_I2C=mCONFIG_MMA7660=mCONFIG_MMA8452=mCONFIG_MMA9551_CORE=mCONFIG_MMA9551=mCONFIG_MMA9553=mCONFIG_MSA311=mCONFIG_MXC4005=mCONFIG_MXC6255=mCONFIG_STK8312=mCONFIG_STK8BA50=m
# end of Accelerometers
#
# Analog to digital converters
#CONFIG_AD7091R5=mCONFIG_AD7291=mCONFIG_AD799X=mCONFIG_ENVELOPE_DETECTOR=mCONFIG_HX711=mCONFIG_INA2XX_ADC=mCONFIG_LTC2471=mCONFIG_LTC2485=mCONFIG_LTC2497=mCONFIG_MAX1363=mCONFIG_MAX9611=mCONFIG_MCP3422=mCONFIG_NAU7802=mCONFIG_QCOM_VADC_COMMON=mCONFIG_QCOM_SPMI_IADC=mCONFIG_QCOM_SPMI_VADC=mCONFIG_QCOM_SPMI_ADC5=mCONFIG_RICHTEK_RTQ6056=mCONFIG_SD_ADC_MODULATOR=mCONFIG_TI_ADC081C=mCONFIG_TI_ADS1015=m
# end of Analog to digital converters
#
# Analog to digital and digital to analog converters #
# end of Analog to digital and digital to analog converters
#
# Analog Front Ends
#CONFIG_IIO_RESCALE=m
# end of Analog Front Ends
#
# Amplifiers
#CONFIG_HMC425=m
# end of Amplifiers
#
# Capacitance to digital converters
#CONFIG_AD7150=mCONFIG_AD7746=m
# end of Capacitance to digital converters
#
# Chemical Sensors
#CONFIG_ATLAS_PH_SENSOR=mCONFIG_ATLAS_EZO_SENSOR=mCONFIG_BME680=mCONFIG_BME680_I2C=mCONFIG_CCS811=mCONFIG_IAQCORE=mCONFIG_PMS7003=mCONFIG_SCD30_CORE=mCONFIG_SCD30_I2C=mCONFIG_SCD30_SERIAL=mCONFIG_SCD4X=mCONFIG_SENSIRION_SGP30=mCONFIG_SENSIRION_SGP40=mCONFIG_SPS30=mCONFIG_SPS30_I2C=mCONFIG_SPS30_SERIAL=mCONFIG_SENSEAIR_SUNRISE_CO2=mCONFIG_VZ89X=m
# end of Chemical Sensors
#
# Hid Sensor IIO Common
#
# end of Hid Sensor IIO Common
CONFIG_IIO_MS_SENSORS_I2C=m
#
# IIO SCMI Sensors
#
# end of IIO SCMI Sensors
#
# SSP Sensor Common
#
# end of SSP Sensor Common
CONFIG_IIO_ST_SENSORS_I2C=mCONFIG_IIO_ST_SENSORS_CORE=m
#
# Digital to analog converters
#CONFIG_AD5064=mCONFIG_AD5380=mCONFIG_AD5446=mCONFIG_AD5592R_BASE=mCONFIG_AD5593R=mCONFIG_AD5686=mCONFIG_AD5696_I2C=mCONFIG_DPOT_DAC=mCONFIG_DS4424=mCONFIG_M62332=mCONFIG_MAX517=mCONFIG_MAX5821=mCONFIG_MCP4725=mCONFIG_TI_DAC5571=m
# end of Digital to analog converters
#
# IIO dummy driver
#CONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
# end of IIO dummy driver
#
# Filters
#
# end of Filters
#
# Frequency Synthesizers DDS/PLL
#
#
# Clock Generator/Distribution
#
# end of Clock Generator/Distribution
#
# Phase-Locked Loop (PLL) frequency synthesizers
#
# end of Phase-Locked Loop (PLL) frequency synthesizers # end of Frequency Synthesizers DDS/PLL
#
# Digital gyroscope sensors
#CONFIG_BMG160=mCONFIG_BMG160_I2C=mCONFIG_FXAS21002C=mCONFIG_FXAS21002C_I2C=mCONFIG_MPU3050=mCONFIG_MPU3050_I2C=mCONFIG_IIO_ST_GYRO_3AXIS=mCONFIG_IIO_ST_GYRO_I2C_3AXIS=mCONFIG_ITG3200=m
# end of Digital gyroscope sensors
#
# Health Sensors
#
#
# Heart Rate Monitors
#CONFIG_AFE4404=mCONFIG_MAX30100=mCONFIG_MAX30102=m
# end of Heart Rate Monitors # end of Health Sensors
#
# Humidity sensors
#CONFIG_AM2315=mCONFIG_DHT11=mCONFIG_HDC100X=mCONFIG_HDC2010=mCONFIG_HTS221=mCONFIG_HTS221_I2C=mCONFIG_HTU21=mCONFIG_SI7005=mCONFIG_SI7020=m
# end of Humidity sensors
#
# Inertial measurement units
#CONFIG_BMI160=mCONFIG_BMI160_I2C=mCONFIG_BOSCH_BNO055=mCONFIG_BOSCH_BNO055_SERIAL=mCONFIG_BOSCH_BNO055_I2C=mCONFIG_FXOS8700=mCONFIG_FXOS8700_I2C=mCONFIG_KMX61=mCONFIG_INV_ICM42600=mCONFIG_INV_ICM42600_I2C=mCONFIG_INV_MPU6050_IIO=mCONFIG_INV_MPU6050_I2C=mCONFIG_IIO_ST_LSM6DSX=mCONFIG_IIO_ST_LSM6DSX_I2C=mCONFIG_IIO_ST_LSM6DSX_I3C=mCONFIG_IIO_ST_LSM9DS0=mCONFIG_IIO_ST_LSM9DS0_I2C=m
# end of Inertial measurement units
#
# Light sensors
#CONFIG_ADJD_S311=mCONFIG_ADUX1020=mCONFIG_AL3010=mCONFIG_AL3320A=mCONFIG_APDS9300=mCONFIG_APDS9960=mCONFIG_AS73211=mCONFIG_BH1750=mCONFIG_BH1780=mCONFIG_CM32181=mCONFIG_CM3232=mCONFIG_CM3323=mCONFIG_CM3605=mCONFIG_CM36651=mCONFIG_GP2AP002=mCONFIG_GP2AP020A00F=mCONFIG_SENSORS_ISL29018=mCONFIG_SENSORS_ISL29028=mCONFIG_ISL29125=mCONFIG_JSA1212=mCONFIG_RPR0521=mCONFIG_LTR501=mCONFIG_LTRF216A=mCONFIG_LV0104CS=mCONFIG_MAX44000=mCONFIG_MAX44009=mCONFIG_NOA1305=mCONFIG_OPT3001=mCONFIG_PA12203001=mCONFIG_SI1133=mCONFIG_SI1145=mCONFIG_STK3310=mCONFIG_ST_UVIS25=mCONFIG_ST_UVIS25_I2C=mCONFIG_TCS3414=mCONFIG_TCS3472=mCONFIG_SENSORS_TSL2563=mCONFIG_TSL2583=mCONFIG_TSL2591=mCONFIG_TSL2772=mCONFIG_TSL4531=mCONFIG_US5182D=mCONFIG_VCNL4000=mCONFIG_VCNL4035=mCONFIG_VEML6030=mCONFIG_VEML6070=mCONFIG_VL6180=mCONFIG_ZOPT2201=m
# end of Light sensors
#
# Magnetometer sensors
#CONFIG_AK8974=mCONFIG_AK8975=mCONFIG_AK09911=mCONFIG_BMC150_MAGN=mCONFIG_BMC150_MAGN_I2C=mCONFIG_MAG3110=mCONFIG_MMC35240=mCONFIG_IIO_ST_MAGN_3AXIS=mCONFIG_IIO_ST_MAGN_I2C_3AXIS=mCONFIG_SENSORS_HMC5843=mCONFIG_SENSORS_HMC5843_I2C=mCONFIG_SENSORS_RM3100=mCONFIG_SENSORS_RM3100_I2C=mCONFIG_YAMAHA_YAS530=m
# end of Magnetometer sensors
#
# Multiplexers
#CONFIG_IIO_MUX=m
# end of Multiplexers
#
# Inclinometer sensors
#
# end of Inclinometer sensors
CONFIG_IIO_RESCALE_KUNIT_TEST=mCONFIG_IIO_FORMAT_KUNIT_TEST=m
#
# Triggers - standalone
#CONFIG_IIO_HRTIMER_TRIGGER=mCONFIG_IIO_INTERRUPT_TRIGGER=mCONFIG_IIO_TIGHTLOOP_TRIGGER=mCONFIG_IIO_SYSFS_TRIGGER=m
# end of Triggers - standalone
#
# Linear and angular position sensors
#
# end of Linear and angular position sensors
#
# Digital potentiometers
#CONFIG_AD5110=mCONFIG_AD5272=mCONFIG_DS1803=mCONFIG_MAX5432=mCONFIG_MCP4018=mCONFIG_MCP4531=mCONFIG_TPL0102=m
# end of Digital potentiometers
#
# Digital potentiostats
#CONFIG_LMP91000=m
# end of Digital potentiostats
#
# Pressure sensors
#CONFIG_ABP060MG=mCONFIG_BMP280=mCONFIG_BMP280_I2C=mCONFIG_DLHL60D=mCONFIG_DPS310=mCONFIG_HP03=mCONFIG_ICP10100=mCONFIG_MPL115=mCONFIG_MPL115_I2C=mCONFIG_MPL3115=mCONFIG_MS5611=mCONFIG_MS5611_I2C=mCONFIG_MS5637=mCONFIG_IIO_ST_PRESS=mCONFIG_IIO_ST_PRESS_I2C=mCONFIG_T5403=mCONFIG_HP206C=mCONFIG_ZPA2326=mCONFIG_ZPA2326_I2C=m
# end of Pressure sensors
#
# Lightning sensors
#
# end of Lightning sensors
#
# Proximity and distance sensors
#CONFIG_ISL29501=mCONFIG_LIDAR_LITE_V2=mCONFIG_MB1232=mCONFIG_PING=mCONFIG_RFD77402=mCONFIG_SRF04=mCONFIG_SX_COMMON=mCONFIG_SX9310=mCONFIG_SX9324=mCONFIG_SX9360=mCONFIG_SX9500=mCONFIG_SRF08=mCONFIG_VCNL3020=mCONFIG_VL53L0X_I2C=m
# end of Proximity and distance sensors
#
# Resolver to digital converters
#
# end of Resolver to digital converters
#
# Temperature sensors
#CONFIG_MLX90614=mCONFIG_MLX90632=mCONFIG_TMP006=mCONFIG_TMP007=mCONFIG_TMP117=mCONFIG_TSYS01=mCONFIG_TSYS02D=m
# end of Temperature sensors
CONFIG_PWM=yCONFIG_PWM_SYSFS=yCONFIG_PWM_DEBUG=yCONFIG_PWM_ATMEL_TCB=mCONFIG_PWM_CLK=mCONFIG_PWM_PCA9685=m
#
# IRQ chip support
#CONFIG_IRQCHIP=yCONFIG_AL_FIC=y
# end of IRQ chip support
CONFIG_RESET_CONTROLLER=yCONFIG_RESET_TI_TPS380X=m
#
# PHY Subsystem
#CONFIG_GENERIC_PHY=yCONFIG_PHY_CAN_TRANSCEIVER=m
#
# PHY drivers for Broadcom platforms
#
# end of PHY drivers for Broadcom platforms # end of PHY Subsystem
CONFIG_POWERCAP=yCONFIG_DTPM=y
#
# Performance monitor support
#
# end of Performance monitor support
CONFIG_RAS=y
#
# Android
#CONFIG_ANDROID_BINDER_IPC=y CONFIG_ANDROID_BINDERFS=y CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder" CONFIG_ANDROID_BINDER_IPC_SELFTEST=y
# end of Android
CONFIG_DAX=yCONFIG_DEV_DAX=mCONFIG_DEV_DAX_KMEM=mCONFIG_NVMEM=yCONFIG_NVMEM_SYSFS=yCONFIG_NVMEM_SPMI_SDAM=mCONFIG_NVMEM_U_BOOT_ENV=m
#
# HW tracing support
#CONFIG_STM=mCONFIG_STM_PROTO_BASIC=mCONFIG_STM_PROTO_SYS_T=mCONFIG_STM_DUMMY=mCONFIG_STM_SOURCE_CONSOLE=mCONFIG_STM_SOURCE_HEARTBEAT=mCONFIG_STM_SOURCE_FTRACE=m
# end of HW tracing support
CONFIG_FPGA=mCONFIG_ALTERA_PR_IP_CORE=mCONFIG_FPGA_BRIDGE=mCONFIG_FPGA_REGION=mCONFIG_OF_FPGA_REGION=mCONFIG_FSI=mCONFIG_FSI_NEW_DEV_NODE=yCONFIG_FSI_MASTER_GPIO=mCONFIG_FSI_MASTER_HUB=mCONFIG_FSI_SCOM=mCONFIG_MULTIPLEXER=m
#
# Multiplexer drivers
#CONFIG_MUX_ADG792A=mCONFIG_MUX_GPIO=mCONFIG_MUX_MMIO=m
# end of Multiplexer drivers
CONFIG_PM_OPP=yCONFIG_SIOX=mCONFIG_SIOX_BUS_GPIO=mCONFIG_SLIMBUS=mCONFIG_INTERCONNECT=yCONFIG_COUNTER=mCONFIG_INTERRUPT_CNT=mCONFIG_MOST=mCONFIG_MOST_CDEV=mCONFIG_PECI=mCONFIG_PECI_CPU=mCONFIG_HTE=y
# end of Device Drivers
#
# File systems
#CONFIG_VALIDATE_FS_PARSER=yCONFIG_FS_IOMAP=yCONFIG_EXT2_FS=mCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=yCONFIG_EXT2_FS_SECURITY=yCONFIG_EXT3_FS=mCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=mCONFIG_EXT4_FS_POSIX_ACL=yCONFIG_EXT4_FS_SECURITY=yCONFIG_EXT4_DEBUG=yCONFIG_EXT4_KUNIT_TESTS=mCONFIG_JBD2=mCONFIG_JBD2_DEBUG=yCONFIG_FS_MBCACHE=mCONFIG_REISERFS_FS=mCONFIG_REISERFS_CHECK=yCONFIG_REISERFS_PROC_INFO=yCONFIG_REISERFS_FS_XATTR=yCONFIG_REISERFS_FS_POSIX_ACL=yCONFIG_REISERFS_FS_SECURITY=yCONFIG_JFS_FS=mCONFIG_JFS_POSIX_ACL=yCONFIG_JFS_SECURITY=yCONFIG_JFS_DEBUG=yCONFIG_JFS_STATISTICS=yCONFIG_XFS_FS=mCONFIG_XFS_SUPPORT_V4=yCONFIG_XFS_QUOTA=yCONFIG_XFS_POSIX_ACL=yCONFIG_XFS_RT=yCONFIG_XFS_ONLINE_SCRUB=yCONFIG_XFS_ONLINE_REPAIR=yCONFIG_XFS_DEBUG=yCONFIG_XFS_ASSERT_FATAL=yCONFIG_GFS2_FS=mCONFIG_GFS2_FS_LOCKING_DLM=yCONFIG_OCFS2_FS=mCONFIG_OCFS2_FS_O2CB=mCONFIG_OCFS2_FS_USERSPACE_CLUSTER=mCONFIG_OCFS2_FS_STATS=yCONFIG_OCFS2_DEBUG_MASKLOG=yCONFIG_OCFS2_DEBUG_FS=yCONFIG_BTRFS_FS=mCONFIG_BTRFS_FS_POSIX_ACL=yCONFIG_BTRFS_FS_CHECK_INTEGRITY=yCONFIG_BTRFS_FS_RUN_SANITY_TESTS=yCONFIG_BTRFS_DEBUG=yCONFIG_BTRFS_ASSERT=yCONFIG_BTRFS_FS_REF_VERIFY=yCONFIG_NILFS2_FS=mCONFIG_F2FS_FS=mCONFIG_F2FS_STAT_FS=yCONFIG_F2FS_FS_XATTR=yCONFIG_F2FS_FS_POSIX_ACL=yCONFIG_F2FS_FS_SECURITY=yCONFIG_F2FS_CHECK_FS=yCONFIG_F2FS_FAULT_INJECTION=yCONFIG_F2FS_FS_COMPRESSION=yCONFIG_F2FS_FS_LZO=yCONFIG_F2FS_FS_LZORLE=yCONFIG_F2FS_FS_LZ4=yCONFIG_F2FS_FS_LZ4HC=yCONFIG_F2FS_FS_ZSTD=yCONFIG_F2FS_IOSTAT=yCONFIG_F2FS_UNFAIR_RWSEM=yCONFIG_ZONEFS_FS=mCONFIG_FS_DAX=yCONFIG_FS_DAX_LIMITED=yCONFIG_FS_POSIX_ACL=yCONFIG_EXPORTFS=yCONFIG_EXPORTFS_BLOCK_OPS=yCONFIG_FILE_LOCKING=yCONFIG_FS_ENCRYPTION=yCONFIG_FS_ENCRYPTION_ALGS=mCONFIG_FS_ENCRYPTION_INLINE_CRYPT=yCONFIG_FS_VERITY=yCONFIG_FS_VERITY_DEBUG=yCONFIG_FS_VERITY_BUILTIN_SIGNATURES=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_FANOTIFY=yCONFIG_FANOTIFY_ACCESS_PERMISSIONS=yCONFIG_QUOTA=yCONFIG_QUOTA_NETLINK_INTERFACE=yCONFIG_PRINT_QUOTA_WARNING=yCONFIG_QUOTA_DEBUG=yCONFIG_QUOTA_TREE=mCONFIG_QFMT_V1=mCONFIG_QFMT_V2=mCONFIG_QUOTACTL=yCONFIG_AUTOFS4_FS=mCONFIG_AUTOFS_FS=mCONFIG_FUSE_FS=mCONFIG_CUSE=mCONFIG_VIRTIO_FS=mCONFIG_FUSE_DAX=yCONFIG_OVERLAY_FS=mCONFIG_OVERLAY_FS_REDIRECT_DIR=yCONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=yCONFIG_OVERLAY_FS_INDEX=yCONFIG_OVERLAY_FS_XINO_AUTO=yCONFIG_OVERLAY_FS_METACOPY=y
#
# Caches
#CONFIG_NETFS_SUPPORT=mCONFIG_NETFS_STATS=yCONFIG_FSCACHE=mCONFIG_FSCACHE_STATS=yCONFIG_FSCACHE_DEBUG=yCONFIG_CACHEFILES=mCONFIG_CACHEFILES_DEBUG=yCONFIG_CACHEFILES_ERROR_INJECTION=yCONFIG_CACHEFILES_ONDEMAND=y
# end of Caches
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_UDF_FS=m
# end of CD-ROM/DVD Filesystems
#
# DOS/FAT/EXFAT/NT Filesystems
#CONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"CONFIG_FAT_DEFAULT_UTF8=yCONFIG_FAT_KUNIT_TEST=mCONFIG_EXFAT_FS=mCONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"CONFIG_NTFS_FS=mCONFIG_NTFS_DEBUG=yCONFIG_NTFS_RW=yCONFIG_NTFS3_FS=mCONFIG_NTFS3_64BIT_CLUSTER=yCONFIG_NTFS3_LZX_XPRESS=yCONFIG_NTFS3_FS_POSIX_ACL=y
# end of DOS/FAT/EXFAT/NT Filesystems
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_VMCORE=yCONFIG_PROC_VMCORE_DEVICE_DUMP=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_PROC_CHILDREN=yCONFIG_KERNFS=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_TMPFS_XATTR=yCONFIG_TMPFS_INODE64=yCONFIG_ARCH_SUPPORTS_HUGETLBFS=yCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=yCONFIG_MEMFD_CREATE=yCONFIG_ARCH_HAS_GIGANTIC_PAGE=yCONFIG_CONFIGFS_FS=y
# end of Pseudo filesystems
CONFIG_MISC_FILESYSTEMS=y CONFIG_ORANGEFS_FS=mCONFIG_ADFS_FS=mCONFIG_ADFS_FS_RW=yCONFIG_AFFS_FS=mCONFIG_ECRYPT_FS=m CONFIG_ECRYPT_FS_MESSAGING=yCONFIG_HFS_FS=mCONFIG_HFSPLUS_FS=mCONFIG_BEFS_FS=mCONFIG_BEFS_DEBUG=yCONFIG_BFS_FS=mCONFIG_EFS_FS=mCONFIG_JFFS2_FS=mCONFIG_JFFS2_FS_DEBUG=0 CONFIG_JFFS2_FS_WRITEBUFFER=y CONFIG_JFFS2_FS_WBUF_VERIFY=y CONFIG_JFFS2_SUMMARY=y CONFIG_JFFS2_FS_XATTR=y CONFIG_JFFS2_FS_POSIX_ACL=y CONFIG_JFFS2_FS_SECURITY=y CONFIG_JFFS2_COMPRESSION_OPTIONS=y CONFIG_JFFS2_ZLIB=yCONFIG_JFFS2_LZO=yCONFIG_JFFS2_RTIME=yCONFIG_JFFS2_RUBIN=y
# CONFIG_JFFS2_CMODE_NONE is not set CONFIG_JFFS2_CMODE_PRIORITY=y
# CONFIG_JFFS2_CMODE_SIZE is not set
# CONFIG_JFFS2_CMODE_FAVOURLZO is not set CONFIG_UBIFS_FS=m CONFIG_UBIFS_FS_ADVANCED_COMPR=y CONFIG_UBIFS_FS_LZO=yCONFIG_UBIFS_FS_ZLIB=yCONFIG_UBIFS_FS_ZSTD=y CONFIG_UBIFS_ATIME_SUPPORT=y CONFIG_UBIFS_FS_XATTR=y CONFIG_UBIFS_FS_SECURITY=y CONFIG_UBIFS_FS_AUTHENTICATION=y CONFIG_CRAMFS=mCONFIG_CRAMFS_BLOCKDEV=yCONFIG_CRAMFS_MTD=yCONFIG_SQUASHFS=m CONFIG_SQUASHFS_FILE_CACHE=y
# CONFIG_SQUASHFS_FILE_DIRECT is not set
# CONFIG_SQUASHFS_DECOMP_SINGLE is not set
# CONFIG_SQUASHFS_DECOMP_MULTI is not set CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y CONFIG_SQUASHFS_XATTR=y CONFIG_SQUASHFS_ZLIB=yCONFIG_SQUASHFS_LZ4=yCONFIG_SQUASHFS_LZO=yCONFIG_SQUASHFS_XZ=yCONFIG_SQUASHFS_ZSTD=y CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y CONFIG_SQUASHFS_EMBEDDED=y CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 CONFIG_VXFS_FS=mCONFIG_MINIX_FS=m CONFIG_MINIX_FS_NATIVE_ENDIAN=y CONFIG_OMFS_FS=mCONFIG_HPFS_FS=mCONFIG_QNX4FS_FS=mCONFIG_QNX6FS_FS=mCONFIG_QNX6FS_DEBUG=yCONFIG_ROMFS_FS=m CONFIG_ROMFS_BACKED_BY_BLOCK=y
# CONFIG_ROMFS_BACKED_BY_MTD is not set
# CONFIG_ROMFS_BACKED_BY_BOTH is not set CONFIG_ROMFS_ON_BLOCK=yCONFIG_PSTORE=m CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240 CONFIG_PSTORE_DEFLATE_COMPRESS=m CONFIG_PSTORE_LZO_COMPRESS=m CONFIG_PSTORE_LZ4_COMPRESS=m CONFIG_PSTORE_LZ4HC_COMPRESS=m CONFIG_PSTORE_842_COMPRESS=y CONFIG_PSTORE_ZSTD_COMPRESS=y CONFIG_PSTORE_COMPRESS=y CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
# CONFIG_PSTORE_LZO_COMPRESS_DEFAULT is not set # CONFIG_PSTORE_LZ4_COMPRESS_DEFAULT is not set # CONFIG_PSTORE_LZ4HC_COMPRESS_DEFAULT is not set # CONFIG_PSTORE_842_COMPRESS_DEFAULT is not set # CONFIG_PSTORE_ZSTD_COMPRESS_DEFAULT is not set CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" CONFIG_PSTORE_CONSOLE=yCONFIG_PSTORE_PMSG=yCONFIG_PSTORE_FTRACE=yCONFIG_PSTORE_ZONE=mCONFIG_PSTORE_BLK=m CONFIG_PSTORE_BLK_BLKDEV="" CONFIG_PSTORE_BLK_KMSG_SIZE=64 CONFIG_PSTORE_BLK_MAX_REASON=2 CONFIG_PSTORE_BLK_PMSG_SIZE=64 CONFIG_PSTORE_BLK_CONSOLE_SIZE=64 CONFIG_PSTORE_BLK_FTRACE_SIZE=64 CONFIG_SYSV_FS=mCONFIG_UFS_FS=mCONFIG_UFS_FS_WRITE=yCONFIG_UFS_DEBUG=yCONFIG_EROFS_FS=mCONFIG_EROFS_FS_DEBUG=y CONFIG_EROFS_FS_XATTR=y CONFIG_EROFS_FS_POSIX_ACL=y CONFIG_EROFS_FS_SECURITY=y CONFIG_EROFS_FS_ZIP=y CONFIG_EROFS_FS_ZIP_LZMA=y CONFIG_EROFS_FS_ONDEMAND=y CONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=mCONFIG_NFS_V2=mCONFIG_NFS_V3=mCONFIG_NFS_V3_ACL=yCONFIG_NFS_V4=mCONFIG_NFS_SWAP=yCONFIG_NFS_V4_1=yCONFIG_NFS_V4_2=yCONFIG_PNFS_FILE_LAYOUT=mCONFIG_PNFS_BLOCK=m CONFIG_PNFS_FLEXFILE_LAYOUT=m CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" CONFIG_NFS_V4_1_MIGRATION=y CONFIG_NFS_V4_SECURITY_LABEL=y CONFIG_NFS_FSCACHE=y CONFIG_NFS_USE_LEGACY_DNS=y CONFIG_NFS_DEBUG=y CONFIG_NFS_DISABLE_UDP_SUPPORT=y CONFIG_NFS_V4_2_READ_PLUS=yCONFIG_NFSD=mCONFIG_NFSD_V2_ACL=yCONFIG_NFSD_V3_ACL=yCONFIG_NFSD_V4=yCONFIG_NFSD_PNFS=yCONFIG_NFSD_BLOCKLAYOUT=y CONFIG_NFSD_SCSILAYOUT=y CONFIG_NFSD_FLEXFILELAYOUT=y CONFIG_NFSD_V4_2_INTER_SSC=y CONFIG_NFSD_V4_SECURITY_LABEL=y CONFIG_GRACE_PERIOD=mCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_NFS_ACL_SUPPORT=mCONFIG_NFS_COMMON=y CONFIG_NFS_V4_2_SSC_HELPER=yCONFIG_SUNRPC=mCONFIG_SUNRPC_GSS=m CONFIG_SUNRPC_BACKCHANNEL=y CONFIG_SUNRPC_SWAP=yCONFIG_RPCSEC_GSS_KRB5=m CONFIG_SUNRPC_DISABLE_INSECURE_ENCTYPES=y CONFIG_SUNRPC_DEBUG=yCONFIG_CEPH_FS=mCONFIG_CEPH_FSCACHE=y CONFIG_CEPH_FS_POSIX_ACL=y CONFIG_CEPH_FS_SECURITY_LABEL=yCONFIG_CIFS=mCONFIG_CIFS_STATS2=y CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y CONFIG_CIFS_UPCALL=yCONFIG_CIFS_XATTR=yCONFIG_CIFS_POSIX=yCONFIG_CIFS_DEBUG=yCONFIG_CIFS_DEBUG2=y CONFIG_CIFS_DEBUG_DUMP_KEYS=y CONFIG_CIFS_DFS_UPCALL=y CONFIG_CIFS_SWN_UPCALL=y CONFIG_CIFS_FSCACHE=yCONFIG_SMB_SERVER=m CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=y CONFIG_SMB_SERVER_KERBEROS5=y CONFIG_SMBFS_COMMON=mCONFIG_CODA_FS=mCONFIG_AFS_FS=mCONFIG_AFS_DEBUG=yCONFIG_AFS_FSCACHE=y CONFIG_AFS_DEBUG_CURSOR=yCONFIG_9P_FS=mCONFIG_9P_FSCACHE=yCONFIG_9P_FS_POSIX_ACL=y CONFIG_9P_FS_SECURITY=yCONFIG_NLS=mCONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_737=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_852=m CONFIG_NLS_CODEPAGE_855=m CONFIG_NLS_CODEPAGE_857=m CONFIG_NLS_CODEPAGE_860=m CONFIG_NLS_CODEPAGE_861=m CONFIG_NLS_CODEPAGE_862=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_CODEPAGE_864=m CONFIG_NLS_CODEPAGE_865=m CONFIG_NLS_CODEPAGE_866=m CONFIG_NLS_CODEPAGE_869=m CONFIG_NLS_CODEPAGE_936=m CONFIG_NLS_CODEPAGE_950=m CONFIG_NLS_CODEPAGE_932=m CONFIG_NLS_CODEPAGE_949=m CONFIG_NLS_CODEPAGE_874=m CONFIG_NLS_ISO8859_8=m CONFIG_NLS_CODEPAGE_1250=m CONFIG_NLS_CODEPAGE_1251=mCONFIG_NLS_ASCII=mCONFIG_NLS_ISO8859_1=mCONFIG_NLS_ISO8859_2=mCONFIG_NLS_ISO8859_3=mCONFIG_NLS_ISO8859_4=mCONFIG_NLS_ISO8859_5=mCONFIG_NLS_ISO8859_6=mCONFIG_NLS_ISO8859_7=mCONFIG_NLS_ISO8859_9=m CONFIG_NLS_ISO8859_13=m CONFIG_NLS_ISO8859_14=m CONFIG_NLS_ISO8859_15=mCONFIG_NLS_KOI8_R=mCONFIG_NLS_KOI8_U=mCONFIG_NLS_MAC_ROMAN=m CONFIG_NLS_MAC_CELTIC=m CONFIG_NLS_MAC_CENTEURO=m CONFIG_NLS_MAC_CROATIAN=m CONFIG_NLS_MAC_CYRILLIC=m CONFIG_NLS_MAC_GAELIC=m CONFIG_NLS_MAC_GREEK=m CONFIG_NLS_MAC_ICELAND=m CONFIG_NLS_MAC_INUIT=m CONFIG_NLS_MAC_ROMANIAN=m CONFIG_NLS_MAC_TURKISH=mCONFIG_NLS_UTF8=mCONFIG_DLM=mCONFIG_DLM_DEPRECATED_API=y CONFIG_DLM_DEBUG=yCONFIG_UNICODE=m CONFIG_UNICODE_NORMALIZATION_SELFTEST=m CONFIG_IO_WQ=y
# end of File systems
#
# Security options
#CONFIG_KEYS=yCONFIG_KEYS_REQUEST_CACHE=yCONFIG_PERSISTENT_KEYRINGS=yCONFIG_TRUSTED_KEYS=m
#
# No trust source selected!
#CONFIG_ENCRYPTED_KEYS=yCONFIG_USER_DECRYPTED_DATA=yCONFIG_KEY_DH_OPERATIONS=yCONFIG_KEY_NOTIFICATIONS=yCONFIG_SECURITY_DMESG_RESTRICT=yCONFIG_SECURITY=yCONFIG_SECURITY_WRITABLE_HOOKS=yCONFIG_SECURITYFS=yCONFIG_SECURITY_NETWORK=yCONFIG_SECURITY_NETWORK_XFRM=yCONFIG_SECURITY_PATH=yCONFIG_LSM_MMAP_MIN_ADDR=65536CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=yCONFIG_HARDENED_USERCOPY=yCONFIG_FORTIFY_SOURCE=yCONFIG_STATIC_USERMODEHELPER=y CONFIG_STATIC_USERMODEHELPER_PATH="/sbin/usermode-helper" CONFIG_SECURITY_SELINUX=yCONFIG_SECURITY_SELINUX_BOOTPARAM=yCONFIG_SECURITY_SELINUX_DISABLE=yCONFIG_SECURITY_SELINUX_DEVELOP=yCONFIG_SECURITY_SELINUX_AVC_STATS=yCONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=0 CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS=9 CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256CONFIG_SECURITY_SMACK=yCONFIG_SECURITY_SMACK_BRINGUP=yCONFIG_SECURITY_SMACK_NETFILTER=yCONFIG_SECURITY_SMACK_APPEND_SIGNALS=yCONFIG_SECURITY_TOMOYO=yCONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=2048 CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024 CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER=y CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING=yCONFIG_SECURITY_APPARMOR=yCONFIG_SECURITY_APPARMOR_DEBUG=yCONFIG_SECURITY_APPARMOR_DEBUG_ASSERTS=y CONFIG_SECURITY_APPARMOR_DEBUG_MESSAGES=y CONFIG_SECURITY_APPARMOR_INTROSPECT_POLICY=yCONFIG_SECURITY_APPARMOR_HASH=yCONFIG_SECURITY_APPARMOR_HASH_DEFAULT=yCONFIG_SECURITY_APPARMOR_EXPORT_BINARY=yCONFIG_SECURITY_APPARMOR_PARANOID_LOAD=yCONFIG_SECURITY_LOADPIN=yCONFIG_SECURITY_LOADPIN_ENFORCE=yCONFIG_SECURITY_YAMA=yCONFIG_SECURITY_SAFESETID=yCONFIG_SECURITY_LOCKDOWN_LSM=yCONFIG_SECURITY_LOCKDOWN_LSM_EARLY=yCONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
# CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set
# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set CONFIG_SECURITY_LANDLOCK=yCONFIG_INTEGRITY=yCONFIG_INTEGRITY_SIGNATURE=yCONFIG_INTEGRITY_ASYMMETRIC_KEYS=yCONFIG_INTEGRITY_TRUSTED_KEYRING=yCONFIG_INTEGRITY_PLATFORM_KEYRING=yCONFIG_LOAD_IPL_KEYS=yCONFIG_INTEGRITY_AUDIT=yCONFIG_IMA=yCONFIG_IMA_MEASURE_PCR_IDX=10CONFIG_IMA_LSM_RULES=yCONFIG_IMA_NG_TEMPLATE=y
# CONFIG_IMA_SIG_TEMPLATE is not setCONFIG_IMA_DEFAULT_TEMPLATE="ima-ng"CONFIG_IMA_DEFAULT_HASH_SHA1=y
# CONFIG_IMA_DEFAULT_HASH_SHA256 is not set
# CONFIG_IMA_DEFAULT_HASH_SHA512 is not setCONFIG_IMA_DEFAULT_HASH="sha1"CONFIG_IMA_WRITE_POLICY=yCONFIG_IMA_READ_POLICY=yCONFIG_IMA_APPRAISE=yCONFIG_IMA_ARCH_POLICY=yCONFIG_IMA_APPRAISE_BUILD_POLICY=yCONFIG_IMA_APPRAISE_REQUIRE_FIRMWARE_SIGS=y CONFIG_IMA_APPRAISE_REQUIRE_KEXEC_SIGS=y CONFIG_IMA_APPRAISE_REQUIRE_MODULE_SIGS=y CONFIG_IMA_APPRAISE_REQUIRE_POLICY_SIGS=yCONFIG_IMA_APPRAISE_BOOTPARAM=yCONFIG_IMA_APPRAISE_MODSIG=yCONFIG_IMA_TRUSTED_KEYRING=y CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY=y CONFIG_IMA_BLACKLIST_KEYRING=yCONFIG_IMA_LOAD_X509=yCONFIG_IMA_X509_PATH="/etc/keys/x509_ima.der"CONFIG_IMA_APPRAISE_SIGNED_INIT=yCONFIG_IMA_MEASURE_ASYMMETRIC_KEYS=yCONFIG_IMA_QUEUE_EARLY_BOOT_KEYS=yCONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT=yCONFIG_IMA_DISABLE_HTABLE=yCONFIG_EVM=yCONFIG_EVM_ATTR_FSUUID=yCONFIG_EVM_EXTRA_SMACK_XATTRS=yCONFIG_EVM_ADD_XATTRS=yCONFIG_EVM_LOAD_X509=yCONFIG_EVM_X509_PATH="/etc/keys/x509_evm.der"CONFIG_DEFAULT_SECURITY_SELINUX=y
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
# CONFIG_DEFAULT_SECURITY_DAC is not set CONFIG_LSM="landlock,lockdown,yama,loadpin,safesetid,integrity,selinux,smack,tomoyo,apparmor,bpf"
#
# Kernel hardening options
#
#
# Memory initialization
#CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=yCONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_BARE=yCONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y
# CONFIG_INIT_STACK_NONE is not setCONFIG_INIT_STACK_ALL_PATTERN=y
# CONFIG_INIT_STACK_ALL_ZERO is not setCONFIG_INIT_ON_ALLOC_DEFAULT_ON=yCONFIG_INIT_ON_FREE_DEFAULT_ON=yCONFIG_CC_HAS_ZERO_CALL_USED_REGS=yCONFIG_ZERO_CALL_USED_REGS=y
# end of Memory initialization
# CONFIG_RANDSTRUCT_NONE is not setCONFIG_RANDSTRUCT_FULL=y
# CONFIG_RANDSTRUCT_PERFORMANCE is not setCONFIG_RANDSTRUCT=yCONFIG_GCC_PLUGIN_RANDSTRUCT=y
# end of Kernel hardening options # end of Security options
CONFIG_XOR_BLOCKS=mCONFIG_ASYNC_CORE=mCONFIG_ASYNC_MEMCPY=mCONFIG_ASYNC_XOR=mCONFIG_ASYNC_PQ=mCONFIG_ASYNC_RAID6_RECOV=mCONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=mCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_SKCIPHER=yCONFIG_CRYPTO_SKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_RNG_DEFAULT=yCONFIG_CRYPTO_AKCIPHER2=yCONFIG_CRYPTO_AKCIPHER=yCONFIG_CRYPTO_KPP2=yCONFIG_CRYPTO_KPP=yCONFIG_CRYPTO_ACOMP2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_USER=mCONFIG_CRYPTO_MANAGER_DISABLE_TESTS=yCONFIG_CRYPTO_GF128MUL=mCONFIG_CRYPTO_NULL=mCONFIG_CRYPTO_NULL2=yCONFIG_CRYPTO_PCRYPT=mCONFIG_CRYPTO_CRYPTD=mCONFIG_CRYPTO_AUTHENC=mCONFIG_CRYPTO_TEST=mCONFIG_CRYPTO_ENGINE=m
# end of Crypto core or helper
#
# Public-key cryptography
#CONFIG_CRYPTO_RSA=yCONFIG_CRYPTO_DH=yCONFIG_CRYPTO_DH_RFC7919_GROUPS=yCONFIG_CRYPTO_ECC=mCONFIG_CRYPTO_ECDH=mCONFIG_CRYPTO_ECDSA=mCONFIG_CRYPTO_ECRDSA=mCONFIG_CRYPTO_SM2=mCONFIG_CRYPTO_CURVE25519=m
# end of Public-key cryptography
#
# Block ciphers
#CONFIG_CRYPTO_AES=yCONFIG_CRYPTO_AES_TI=mCONFIG_CRYPTO_ANUBIS=mCONFIG_CRYPTO_ARIA=mCONFIG_CRYPTO_BLOWFISH=mCONFIG_CRYPTO_BLOWFISH_COMMON=mCONFIG_CRYPTO_CAMELLIA=mCONFIG_CRYPTO_CAST_COMMON=mCONFIG_CRYPTO_CAST5=mCONFIG_CRYPTO_CAST6=mCONFIG_CRYPTO_DES=mCONFIG_CRYPTO_FCRYPT=mCONFIG_CRYPTO_KHAZAD=mCONFIG_CRYPTO_SEED=mCONFIG_CRYPTO_SERPENT=mCONFIG_CRYPTO_SM4=mCONFIG_CRYPTO_SM4_GENERIC=mCONFIG_CRYPTO_TEA=mCONFIG_CRYPTO_TWOFISH=mCONFIG_CRYPTO_TWOFISH_COMMON=m
# end of Block ciphers
#
# Length-preserving ciphers and modes
#CONFIG_CRYPTO_ADIANTUM=mCONFIG_CRYPTO_ARC4=mCONFIG_CRYPTO_CHACHA20=mCONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_CFB=mCONFIG_CRYPTO_CTR=yCONFIG_CRYPTO_CTS=mCONFIG_CRYPTO_ECB=mCONFIG_CRYPTO_HCTR2=mCONFIG_CRYPTO_KEYWRAP=mCONFIG_CRYPTO_LRW=mCONFIG_CRYPTO_OFB=mCONFIG_CRYPTO_PCBC=mCONFIG_CRYPTO_XCTR=mCONFIG_CRYPTO_XTS=mCONFIG_CRYPTO_NHPOLY1305=m
# end of Length-preserving ciphers and modes
#
# AEAD (authenticated encryption with associated data) ciphers #CONFIG_CRYPTO_AEGIS128=m CONFIG_CRYPTO_CHACHA20POLY1305=mCONFIG_CRYPTO_CCM=mCONFIG_CRYPTO_GCM=mCONFIG_CRYPTO_SEQIV=mCONFIG_CRYPTO_ECHAINIV=mCONFIG_CRYPTO_ESSIV=m
# end of AEAD (authenticated encryption with associated data) ciphers
#
# Hashes, digests, and MACs
#CONFIG_CRYPTO_BLAKE2B=mCONFIG_CRYPTO_CMAC=mCONFIG_CRYPTO_GHASH=mCONFIG_CRYPTO_HMAC=yCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=mCONFIG_CRYPTO_POLYVAL=mCONFIG_CRYPTO_POLY1305=mCONFIG_CRYPTO_RMD160=mCONFIG_CRYPTO_SHA1=yCONFIG_CRYPTO_SHA256=yCONFIG_CRYPTO_SHA512=yCONFIG_CRYPTO_SHA3=mCONFIG_CRYPTO_SM3=mCONFIG_CRYPTO_SM3_GENERIC=mCONFIG_CRYPTO_STREEBOG=mCONFIG_CRYPTO_VMAC=mCONFIG_CRYPTO_WP512=mCONFIG_CRYPTO_XCBC=mCONFIG_CRYPTO_XXHASH=m
# end of Hashes, digests, and MACs
#
# CRCs (cyclic redundancy checks)
#CONFIG_CRYPTO_CRC32C=mCONFIG_CRYPTO_CRC32=mCONFIG_CRYPTO_CRCT10DIF=mCONFIG_CRYPTO_CRC64_ROCKSOFT=m
# end of CRCs (cyclic redundancy checks)
#
# Compression
#CONFIG_CRYPTO_DEFLATE=mCONFIG_CRYPTO_LZO=yCONFIG_CRYPTO_842=mCONFIG_CRYPTO_LZ4=mCONFIG_CRYPTO_LZ4HC=mCONFIG_CRYPTO_ZSTD=m
# end of Compression
#
# Random number generation
#CONFIG_CRYPTO_ANSI_CPRNG=mCONFIG_CRYPTO_DRBG_MENU=yCONFIG_CRYPTO_DRBG_HMAC=yCONFIG_CRYPTO_DRBG_HASH=yCONFIG_CRYPTO_DRBG_CTR=yCONFIG_CRYPTO_DRBG=yCONFIG_CRYPTO_JITTERENTROPY=yCONFIG_CRYPTO_KDF800108_CTR=y
# end of Random number generation
#
# Userspace interface
#CONFIG_CRYPTO_USER_API=mCONFIG_CRYPTO_USER_API_HASH=mCONFIG_CRYPTO_USER_API_SKCIPHER=mCONFIG_CRYPTO_USER_API_RNG=mCONFIG_CRYPTO_USER_API_RNG_CAVP=yCONFIG_CRYPTO_USER_API_AEAD=mCONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=yCONFIG_CRYPTO_STATS=y
# end of Userspace interface
CONFIG_CRYPTO_HASH_INFO=y
#
# Accelerated Cryptographic Algorithms for CPU (s390) #CONFIG_CRYPTO_CRC32_S390=m CONFIG_CRYPTO_SHA512_S390=m CONFIG_CRYPTO_SHA1_S390=m CONFIG_CRYPTO_SHA256_S390=m CONFIG_CRYPTO_SHA3_256_S390=m CONFIG_CRYPTO_SHA3_512_S390=m CONFIG_CRYPTO_GHASH_S390=m CONFIG_CRYPTO_AES_S390=m CONFIG_CRYPTO_DES_S390=m CONFIG_CRYPTO_CHACHA_S390=m
# end of Accelerated Cryptographic Algorithms for CPU (s390)
CONFIG_CRYPTO_HW=yCONFIG_ZCRYPT=mCONFIG_ZCRYPT_DEBUG=yCONFIG_ZCRYPT_MULTIDEVNODES=yCONFIG_PKEY=mCONFIG_CRYPTO_PAES_S390=mCONFIG_S390_PRNG=mCONFIG_CRYPTO_DEV_ATMEL_I2C=mCONFIG_CRYPTO_DEV_ATMEL_ECC=mCONFIG_CRYPTO_DEV_ATMEL_SHA204A=mCONFIG_CRYPTO_DEV_VIRTIO=mCONFIG_CRYPTO_DEV_CCREE=mCONFIG_ASYMMETRIC_KEY_TYPE=yCONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=yCONFIG_X509_CERTIFICATE_PARSER=yCONFIG_PKCS8_PRIVATE_KEY_PARSER=mCONFIG_PKCS7_MESSAGE_PARSER=yCONFIG_PKCS7_TEST_KEY=mCONFIG_SIGNED_PE_FILE_VERIFICATION=yCONFIG_FIPS_SIGNATURE_SELFTEST=y
#
# Certificates for signature checking
#CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"CONFIG_MODULE_SIG_KEY_TYPE_RSA=y
# CONFIG_MODULE_SIG_KEY_TYPE_ECDSA is not setCONFIG_SYSTEM_TRUSTED_KEYRING=yCONFIG_SYSTEM_TRUSTED_KEYS=""CONFIG_SYSTEM_EXTRA_CERTIFICATE=yCONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE=4096CONFIG_SECONDARY_TRUSTED_KEYRING=yCONFIG_SYSTEM_BLACKLIST_KEYRING=yCONFIG_SYSTEM_BLACKLIST_HASH_LIST=""CONFIG_SYSTEM_REVOCATION_LIST=yCONFIG_SYSTEM_REVOCATION_KEYS=""CONFIG_SYSTEM_BLACKLIST_AUTH_UPDATE=y
# end of Certificates for signature checking
CONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_RAID6_PQ=mCONFIG_RAID6_PQ_BENCHMARK=yCONFIG_LINEAR_RANGES=yCONFIG_PACKING=yCONFIG_BITREVERSE=yCONFIG_GENERIC_STRNCPY_FROM_USER=yCONFIG_GENERIC_STRNLEN_USER=yCONFIG_GENERIC_NET_UTILS=yCONFIG_CORDIC=mCONFIG_PRIME_NUMBERS=mCONFIG_RATIONAL=yCONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
#
# Crypto library routines
#CONFIG_CRYPTO_LIB_UTILS=yCONFIG_CRYPTO_LIB_AES=yCONFIG_CRYPTO_LIB_ARC4=mCONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=yCONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=mCONFIG_CRYPTO_LIB_CHACHA_GENERIC=mCONFIG_CRYPTO_LIB_CHACHA=mCONFIG_CRYPTO_LIB_CURVE25519_GENERIC=mCONFIG_CRYPTO_LIB_CURVE25519=mCONFIG_CRYPTO_LIB_DES=mCONFIG_CRYPTO_LIB_POLY1305_RSIZE=1CONFIG_CRYPTO_LIB_POLY1305_GENERIC=mCONFIG_CRYPTO_LIB_POLY1305=mCONFIG_CRYPTO_LIB_CHACHA20POLY1305=mCONFIG_CRYPTO_LIB_SHA1=yCONFIG_CRYPTO_LIB_SHA256=y
# end of Crypto library routines
CONFIG_CRC_CCITT=mCONFIG_CRC16=mCONFIG_CRC_T10DIF=mCONFIG_CRC64_ROCKSOFT=mCONFIG_CRC_ITU_T=mCONFIG_CRC32=yCONFIG_CRC32_SELFTEST=mCONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not setCONFIG_CRC64=mCONFIG_CRC4=mCONFIG_CRC7=mCONFIG_LIBCRC32C=mCONFIG_CRC8=mCONFIG_XXHASH=yCONFIG_RANDOM32_SELFTEST=yCONFIG_842_COMPRESS=mCONFIG_842_DECOMPRESS=mCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=yCONFIG_ZLIB_DFLTCC=yCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_LZ4_COMPRESS=mCONFIG_LZ4HC_COMPRESS=mCONFIG_LZ4_DECOMPRESS=yCONFIG_ZSTD_COMMON=yCONFIG_ZSTD_COMPRESS=mCONFIG_ZSTD_DECOMPRESS=yCONFIG_XZ_DEC=yCONFIG_XZ_DEC_X86=yCONFIG_XZ_DEC_POWERPC=yCONFIG_XZ_DEC_IA64=yCONFIG_XZ_DEC_ARM=yCONFIG_XZ_DEC_ARMTHUMB=yCONFIG_XZ_DEC_SPARC=yCONFIG_XZ_DEC_MICROLZMA=yCONFIG_XZ_DEC_BCJ=yCONFIG_XZ_DEC_TEST=mCONFIG_DECOMPRESS_GZIP=yCONFIG_DECOMPRESS_BZIP2=yCONFIG_DECOMPRESS_LZMA=yCONFIG_DECOMPRESS_XZ=yCONFIG_DECOMPRESS_LZO=yCONFIG_DECOMPRESS_LZ4=yCONFIG_DECOMPRESS_ZSTD=yCONFIG_GENERIC_ALLOCATOR=yCONFIG_REED_SOLOMON=mCONFIG_REED_SOLOMON_DEC8=yCONFIG_REED_SOLOMON_ENC16=yCONFIG_REED_SOLOMON_DEC16=yCONFIG_BCH=mCONFIG_TEXTSEARCH=yCONFIG_TEXTSEARCH_KMP=mCONFIG_TEXTSEARCH_BM=mCONFIG_TEXTSEARCH_FSM=mCONFIG_INTERVAL_TREE=yCONFIG_XARRAY_MULTI=yCONFIG_ASSOCIATIVE_ARRAY=yCONFIG_HAS_DMA=yCONFIG_DMA_OPS=yCONFIG_NEED_DMA_MAP_STATE=yCONFIG_ARCH_DMA_ADDR_T_64BIT=yCONFIG_DMA_DECLARE_COHERENT=yCONFIG_ARCH_HAS_FORCE_DMA_UNENCRYPTED=yCONFIG_SWIOTLB=yCONFIG_DMA_RESTRICTED_POOL=yCONFIG_DMA_CMA=yCONFIG_DMA_PERNUMA_CMA=y
#
# Default contiguous memory area size:
#CONFIG_CMA_SIZE_MBYTES=16CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not setCONFIG_CMA_ALIGNMENT=8CONFIG_DMA_API_DEBUG=yCONFIG_DMA_API_DEBUG_SG=yCONFIG_DMA_MAP_BENCHMARK=yCONFIG_SGL_ALLOC=yCONFIG_CPUMASK_OFFSTACK=y
# CONFIG_FORCE_NR_CPUS is not setCONFIG_CPU_RMAP=yCONFIG_DQL=yCONFIG_GLOB=yCONFIG_GLOB_SELFTEST=mCONFIG_NLATTR=yCONFIG_LRU_CACHE=mCONFIG_CLZ_TAB=yCONFIG_IRQ_POLL=yCONFIG_MPILIB=yCONFIG_SIGNATURE=yCONFIG_LIBFDT=yCONFIG_OID_REGISTRY=yCONFIG_HAVE_GENERIC_VDSO=yCONFIG_GENERIC_GETTIMEOFDAY=yCONFIG_GENERIC_VDSO_TIME_NS=yCONFIG_SG_POOL=yCONFIG_ARCH_STACKWALK=yCONFIG_STACKDEPOT=yCONFIG_STACKDEPOT_ALWAYS_INIT=yCONFIG_REF_TRACKER=yCONFIG_SBITMAP=y
# end of Library routines
#
# Kernel hacking
#
#
# printk and dmesg options # CONFIG_PRINTK_TIME=y CONFIG_PRINTK_CALLER=y CONFIG_STACKTRACE_BUILD_ID=y CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 CONFIG_CONSOLE_LOGLEVEL_QUIET=4 CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 CONFIG_DYNAMIC_DEBUG=y CONFIG_DYNAMIC_DEBUG_CORE=y CONFIG_SYMBOLIC_ERRNAME=y CONFIG_DEBUG_BUGVERBOSE=y # end of printk and dmesg options
CONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_MISC=y
#
# Compile-time checks and compiler options
#CONFIG_AS_HAS_NON_CONST_LEB128=y CONFIG_DEBUG_INFO_NONE=y
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set # CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_DEBUG_INFO_DWARF5 is not set CONFIG_FRAME_WARN=8192 CONFIG_STRIP_ASM_SYMS=yCONFIG_READABLE_ASM=y CONFIG_HEADERS_INSTALL=y CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_SECTION_MISMATCH_WARN_ONLY=y CONFIG_VMLINUX_MAP=y CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y
# end of Compile-time checks and compiler options
#
# Generic Kernel Debugging Instruments
#CONFIG_MAGIC_SYSRQ=yCONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1CONFIG_MAGIC_SYSRQ_SERIAL=yCONFIG_MAGIC_SYSRQ_SERIAL_SEQUENCE=""CONFIG_DEBUG_FS=yCONFIG_DEBUG_FS_ALLOW_ALL=y
# CONFIG_DEBUG_FS_DISALLOW_MOUNT is not set
# CONFIG_DEBUG_FS_ALLOW_NONE is not setCONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=yCONFIG_UBSAN=y
# CONFIG_UBSAN_TRAP is not setCONFIG_CC_HAS_UBSAN_BOUNDS=yCONFIG_UBSAN_BOUNDS=yCONFIG_UBSAN_ONLY_BOUNDS=yCONFIG_UBSAN_SHIFT=yCONFIG_UBSAN_DIV_ZERO=yCONFIG_UBSAN_UNREACHABLE=yCONFIG_UBSAN_BOOL=yCONFIG_UBSAN_ENUM=y
# CONFIG_UBSAN_ALIGNMENT is not setCONFIG_UBSAN_SANITIZE_ALL=yCONFIG_TEST_UBSAN=mCONFIG_HAVE_ARCH_KCSAN=yCONFIG_HAVE_KCSAN_COMPILER=y
# end of Generic Kernel Debugging Instruments
#
# Networking Debugging
#CONFIG_NET_DEV_REFCNT_TRACKER=yCONFIG_NET_NS_REFCNT_TRACKER=yCONFIG_DEBUG_NET=y
# end of Networking Debugging
#
# Memory Debugging
#CONFIG_PAGE_EXTENSION=yCONFIG_DEBUG_PAGEALLOC=yCONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=yCONFIG_SLUB_DEBUG=yCONFIG_SLUB_DEBUG_ON=yCONFIG_PAGE_OWNER=yCONFIG_PAGE_POISONING=yCONFIG_DEBUG_PAGE_REF=yCONFIG_DEBUG_RODATA_TEST=yCONFIG_ARCH_HAS_DEBUG_WX=yCONFIG_DEBUG_WX=yCONFIG_GENERIC_PTDUMP=yCONFIG_PTDUMP_CORE=yCONFIG_PTDUMP_DEBUGFS=yCONFIG_DEBUG_OBJECTS=yCONFIG_DEBUG_OBJECTS_SELFTEST=yCONFIG_DEBUG_OBJECTS_FREE=yCONFIG_DEBUG_OBJECTS_TIMERS=yCONFIG_DEBUG_OBJECTS_WORK=yCONFIG_DEBUG_OBJECTS_RCU_HEAD=yCONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=yCONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1CONFIG_SHRINKER_DEBUG=yCONFIG_HAVE_DEBUG_KMEMLEAK=yCONFIG_DEBUG_KMEMLEAK=yCONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE=16000CONFIG_DEBUG_KMEMLEAK_TEST=mCONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=yCONFIG_DEBUG_KMEMLEAK_AUTO_SCAN=yCONFIG_DEBUG_STACK_USAGE=yCONFIG_SCHED_STACK_END_CHECK=yCONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=yCONFIG_DEBUG_VM_IRQSOFF=yCONFIG_DEBUG_VM=yCONFIG_DEBUG_VM_MAPLE_TREE=yCONFIG_DEBUG_VM_RB=yCONFIG_DEBUG_VM_PGFLAGS=yCONFIG_DEBUG_VM_PGTABLE=yCONFIG_DEBUG_MEMORY_INIT=yCONFIG_MEMORY_NOTIFIER_ERROR_INJECT=mCONFIG_DEBUG_PER_CPU_MAPS=yCONFIG_HAVE_ARCH_KASAN=yCONFIG_HAVE_ARCH_KASAN_VMALLOC=yCONFIG_CC_HAS_KASAN_GENERIC=yCONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=yCONFIG_KASAN=yCONFIG_KASAN_GENERIC=yCONFIG_KASAN_OUTLINE=y
# CONFIG_KASAN_INLINE is not setCONFIG_KASAN_STACK=yCONFIG_KASAN_VMALLOC=yCONFIG_KASAN_KUNIT_TEST=mCONFIG_KASAN_MODULE_TEST=mCONFIG_HAVE_ARCH_KFENCE=yCONFIG_KFENCE=yCONFIG_KFENCE_SAMPLE_INTERVAL=100CONFIG_KFENCE_NUM_OBJECTS=255CONFIG_KFENCE_DEFERRABLE=yCONFIG_KFENCE_STATIC_KEYS=yCONFIG_KFENCE_STRESS_TEST_FAULTS=0CONFIG_KFENCE_KUNIT_TEST=m
# end of Memory Debugging
CONFIG_DEBUG_SHIRQ=y
#
# Debug Oops, Lockups and Hangs
#CONFIG_PANIC_ON_OOPS=yCONFIG_PANIC_ON_OOPS_VALUE=1CONFIG_PANIC_TIMEOUT=0CONFIG_DETECT_HUNG_TASK=yCONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120CONFIG_BOOTPARAM_HUNG_TASK_PANIC=yCONFIG_WQ_WATCHDOG=yCONFIG_TEST_LOCKUP=m
# end of Debug Oops, Lockups and Hangs
#
# Scheduler Debugging
#CONFIG_SCHED_DEBUG=yCONFIG_SCHED_INFO=yCONFIG_SCHEDSTATS=y
# end of Scheduler Debugging
CONFIG_DEBUG_TIMEKEEPING=y
#
# Lock Debugging (spinlocks, mutexes, etc...)
#CONFIG_LOCK_DEBUGGING_SUPPORT=yCONFIG_PROVE_LOCKING=yCONFIG_PROVE_RAW_LOCK_NESTING=yCONFIG_LOCK_STAT=yCONFIG_DEBUG_RT_MUTEXES=yCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_WW_MUTEX_SLOWPATH=yCONFIG_DEBUG_RWSEMS=yCONFIG_DEBUG_LOCK_ALLOC=yCONFIG_LOCKDEP=yCONFIG_LOCKDEP_BITS=15CONFIG_LOCKDEP_CHAINS_BITS=16CONFIG_LOCKDEP_STACK_TRACE_BITS=19CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12CONFIG_DEBUG_LOCKDEP=yCONFIG_DEBUG_ATOMIC_SLEEP=yCONFIG_DEBUG_LOCKING_API_SELFTESTS=yCONFIG_LOCK_TORTURE_TEST=mCONFIG_WW_MUTEX_SELFTEST=mCONFIG_SCF_TORTURE_TEST=mCONFIG_CSD_LOCK_WAIT_DEBUG=y
# end of Lock Debugging (spinlocks, mutexes, etc...)
CONFIG_TRACE_IRQFLAGS=yCONFIG_DEBUG_IRQFLAGS=yCONFIG_STACKTRACE=yCONFIG_WARN_ALL_UNSEEDED_RANDOM=yCONFIG_DEBUG_KOBJECT=yCONFIG_DEBUG_KOBJECT_RELEASE=y
#
# Debug kernel data structures
#CONFIG_DEBUG_LIST=yCONFIG_DEBUG_PLIST=yCONFIG_DEBUG_SG=yCONFIG_DEBUG_NOTIFIERS=yCONFIG_BUG_ON_DATA_CORRUPTION=yCONFIG_DEBUG_MAPLE_TREE=y
# end of Debug kernel data structures
CONFIG_DEBUG_CREDENTIALS=y
#
# RCU Debugging
#CONFIG_PROVE_RCU=yCONFIG_PROVE_RCU_LIST=yCONFIG_TORTURE_TEST=mCONFIG_RCU_SCALE_TEST=mCONFIG_RCU_TORTURE_TEST=mCONFIG_RCU_REF_SCALE_TEST=mCONFIG_RCU_CPU_STALL_TIMEOUT=21CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0CONFIG_RCU_TRACE=yCONFIG_RCU_EQS_DEBUG=y
# end of RCU Debugging
CONFIG_DEBUG_WQ_FORCE_RR_CPU=yCONFIG_CPU_HOTPLUG_STATE_CONTROL=yCONFIG_LATENCYTOP=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_HAVE_FENTRY=yCONFIG_HAVE_NOP_MCOUNT=yCONFIG_TRACER_MAX_TRACE=yCONFIG_TRACE_CLOCK=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_RING_BUFFER_ALLOW_SWAP=yCONFIG_PREEMPTIRQ_TRACEPOINTS=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_BOOTTIME_TRACING=yCONFIG_FUNCTION_TRACER=yCONFIG_FUNCTION_GRAPH_TRACER=yCONFIG_DYNAMIC_FTRACE=yCONFIG_DYNAMIC_FTRACE_WITH_REGS=yCONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=yCONFIG_DYNAMIC_FTRACE_WITH_ARGS=yCONFIG_FUNCTION_PROFILER=yCONFIG_STACK_TRACER=yCONFIG_IRQSOFF_TRACER=yCONFIG_SCHED_TRACER=yCONFIG_HWLAT_TRACER=yCONFIG_OSNOISE_TRACER=yCONFIG_TIMERLAT_TRACER=yCONFIG_FTRACE_SYSCALLS=yCONFIG_TRACER_SNAPSHOT=yCONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP=yCONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not setCONFIG_BLK_DEV_IO_TRACE=yCONFIG_KPROBE_EVENTS=yCONFIG_KPROBE_EVENTS_ON_NOTRACE=yCONFIG_UPROBE_EVENTS=yCONFIG_BPF_EVENTS=yCONFIG_DYNAMIC_EVENTS=yCONFIG_PROBE_EVENTS=yCONFIG_BPF_KPROBE_OVERRIDE=yCONFIG_FTRACE_MCOUNT_RECORD=yCONFIG_FTRACE_MCOUNT_USE_CC=yCONFIG_TRACING_MAP=yCONFIG_SYNTH_EVENTS=yCONFIG_HIST_TRIGGERS=yCONFIG_TRACE_EVENT_INJECT=yCONFIG_TRACEPOINT_BENCHMARK=yCONFIG_RING_BUFFER_BENCHMARK=mCONFIG_TRACE_EVAL_MAP_FILE=yCONFIG_FTRACE_RECORD_RECURSION=yCONFIG_FTRACE_RECORD_RECURSION_SIZE=128CONFIG_RING_BUFFER_RECORD_RECURSION=yCONFIG_GCOV_PROFILE_FTRACE=yCONFIG_FTRACE_SELFTEST=yCONFIG_FTRACE_STARTUP_TEST=yCONFIG_EVENT_TRACE_STARTUP_TEST=yCONFIG_EVENT_TRACE_TEST_SYSCALLS=yCONFIG_RING_BUFFER_STARTUP_TEST=yCONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS=yCONFIG_PREEMPTIRQ_DELAY_TEST=mCONFIG_SYNTH_EVENT_GEN_TEST=mCONFIG_KPROBE_EVENT_GEN_TEST=mCONFIG_HIST_TRIGGERS_DEBUG=yCONFIG_DA_MON_EVENTS=yCONFIG_DA_MON_EVENTS_ID=yCONFIG_RV=yCONFIG_RV_MON_WWNR=yCONFIG_RV_REACTORS=yCONFIG_RV_REACT_PRINTK=yCONFIG_RV_REACT_PANIC=y
# CONFIG_SAMPLES is not setCONFIG_HAVE_SAMPLE_FTRACE_DIRECT=yCONFIG_HAVE_SAMPLE_FTRACE_DIRECT_MULTI=yCONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=yCONFIG_STRICT_DEVMEM=yCONFIG_IO_STRICT_DEVMEM=y
#
# s390 Debugging # CONFIG_EARLY_PRINTK=y CONFIG_DEBUG_ENTRY=y CONFIG_CIO_INJECT=y # end of s390 Debugging
#
# Kernel Testing and Coverage
#CONFIG_KUNIT=mCONFIG_KUNIT_DEBUGFS=yCONFIG_KUNIT_TEST=mCONFIG_KUNIT_EXAMPLE_TEST=mCONFIG_KUNIT_ALL_TESTS=mCONFIG_KUNIT_DEFAULT_ENABLED=yCONFIG_NOTIFIER_ERROR_INJECTION=mCONFIG_OF_RECONFIG_NOTIFIER_ERROR_INJECT=mCONFIG_NETDEV_NOTIFIER_ERROR_INJECT=mCONFIG_FUNCTION_ERROR_INJECTION=yCONFIG_FAULT_INJECTION=yCONFIG_FAILSLAB=yCONFIG_FAIL_PAGE_ALLOC=yCONFIG_FAULT_INJECTION_USERCOPY=yCONFIG_FAIL_MAKE_REQUEST=yCONFIG_FAIL_IO_TIMEOUT=yCONFIG_FAIL_FUTEX=yCONFIG_FAULT_INJECTION_DEBUG_FS=yCONFIG_FAIL_FUNCTION=yCONFIG_FAIL_SUNRPC=yCONFIG_FAULT_INJECTION_STACKTRACE_FILTER=yCONFIG_ARCH_HAS_KCOV=yCONFIG_CC_HAS_SANCOV_TRACE_PC=yCONFIG_KCOV=yCONFIG_KCOV_ENABLE_COMPARISONS=yCONFIG_KCOV_INSTRUMENT_ALL=yCONFIG_KCOV_IRQ_AREA_SIZE=0x40000CONFIG_RUNTIME_TESTING_MENU=yCONFIG_LKDTM=mCONFIG_CPUMASK_KUNIT_TEST=mCONFIG_TEST_LIST_SORT=mCONFIG_TEST_MIN_HEAP=mCONFIG_TEST_SORT=mCONFIG_TEST_DIV64=mCONFIG_KPROBES_SANITY_TEST=mCONFIG_BACKTRACE_SELF_TEST=mCONFIG_TEST_REF_TRACKER=mCONFIG_RBTREE_TEST=mCONFIG_REED_SOLOMON_TEST=mCONFIG_INTERVAL_TREE_TEST=mCONFIG_PERCPU_TEST=mCONFIG_ATOMIC64_SELFTEST=mCONFIG_ASYNC_RAID6_TEST=mCONFIG_TEST_HEXDUMP=mCONFIG_STRING_SELFTEST=mCONFIG_TEST_STRING_HELPERS=mCONFIG_TEST_STRSCPY=mCONFIG_TEST_KSTRTOX=mCONFIG_TEST_PRINTF=mCONFIG_TEST_SCANF=mCONFIG_TEST_BITMAP=mCONFIG_TEST_UUID=mCONFIG_TEST_XARRAY=mCONFIG_TEST_RHASHTABLE=m
# CONFIG_TEST_SIPHASH is not setCONFIG_TEST_IDA=mCONFIG_TEST_LKM=mCONFIG_TEST_BITOPS=mCONFIG_TEST_VMALLOC=mCONFIG_TEST_USER_COPY=mCONFIG_TEST_BPF=mCONFIG_TEST_BLACKHOLE_DEV=mCONFIG_FIND_BIT_BENCHMARK=mCONFIG_TEST_FIRMWARE=mCONFIG_TEST_SYSCTL=mCONFIG_BITFIELD_KUNIT=mCONFIG_HASH_KUNIT_TEST=mCONFIG_RESOURCE_KUNIT_TEST=mCONFIG_SYSCTL_KUNIT_TEST=mCONFIG_LIST_KUNIT_TEST=mCONFIG_LINEAR_RANGES_TEST=mCONFIG_CMDLINE_KUNIT_TEST=mCONFIG_BITS_TEST=mCONFIG_SLUB_KUNIT_TEST=mCONFIG_RATIONAL_KUNIT_TEST=mCONFIG_MEMCPY_KUNIT_TEST=mCONFIG_IS_SIGNED_TYPE_KUNIT_TEST=mCONFIG_OVERFLOW_KUNIT_TEST=mCONFIG_STACKINIT_KUNIT_TEST=mCONFIG_FORTIFY_KUNIT_TEST=mCONFIG_TEST_UDELAY=mCONFIG_TEST_STATIC_KEYS=mCONFIG_TEST_DYNAMIC_DEBUG=mCONFIG_TEST_KMOD=mCONFIG_TEST_MEMCAT_P=mCONFIG_TEST_LIVEPATCH=mCONFIG_TEST_MEMINIT=mCONFIG_TEST_FREE_PAGES=m
# end of Kernel Testing and Coverage
#
# Rust hacking
#
# end of Rust hacking # end of Kernel hacking
Quoted 2 lines · kernel test robot
Quoted 1 line
Quoted 1 line
drivers/s390/block/dasd.c:1912:9: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]1912 | case
DASD_CQR_ERROR:
Just to save other readers the momentary "huh?" that I experienced, this warning/error is from the -fsigned-char patch. We ultimately went with (or are trying to go with) the -funsigned-char approach instead. So safely ignore this kernel test bot error, as it applies to v1 rather than the v2 here:
https://lore.kernel.org/lkml/20221019203034.3795710-1-Jason(a)zx2c4.com/
Jason