Re: [PATCH v5 0/2] Remove false-positive VLAs when using max()
Linus Torvalds writes: (Summary) The silly thing is, the thing we *really* want to know _is_ actually easily accessible during the early parsing, exactly like __builtin_compatible_p(): it's not really...
View ArticleRe: [PATCH v5 0/2] Remove false-positive VLAs when using max()
Linus Torvalds writes: (Summary) \ ___constant_swab64(x) : \ __fswab64(x)) __fswab64(x)) where that "___constant_swab64()" very much uses the same argument over and over. over and over. And we do that...
View ArticleLinux 4.16-rc6
Linus Torvalds writes: (Summary) Shutemov (2): x86/cpufeatures: Add Intel Total Memory Encryption cpufeature x86/cpufeatures: Add Intel PCONFIG cpufeature Linus Torvalds (1): Linux 4.16-rc6 Lu Baolu...
View ArticleRe: [RFC PATCH 0/3] kernel: add support for 256-bit IO access
Linus Torvalds writes: (Summary) No. No. The kernel entry is not the usual function call. The kernel entry is not the usual function call. On kernel entry, *all* registers are callee-saved. On kernel...
View ArticleRe: [PATCH v5 0/2] Remove false-positive VLAs when using max()
Linus Torvalds writes: On Mon, Mar 19, 2018 at 2:43 AM, David Laight <David.Laight@aculab.com> wrote: [...] the source requests one. You are correct. We could just ignore the issue with old gcc...
View ArticleRe: [RFC PATCH 0/3] kernel: add support for 256-bit IO access
Linus Torvalds writes: (Summary) Anything else is absolutely guaranteed to cause problems down the line. guaranteed to cause problems down the line. And even if you ignore that "maintenance problems...
View ArticleRe: detecting integer constant expressions in macros
Linus Torvalds writes: (Summary) ((void*)((x) * 0l)) : (int*)1))) Ok, so I can see that (void *)((x)*0l)) turns into NULL when x is an ICE. NULL : (int *) 1) sizeof( 1 ? NULL : (int *) 1) and the rule...
View ArticleRe: detecting integer constant expressions in macros
Linus Torvalds writes: On Tue, Mar 20, 2018 at 4:07 PM, Uecker, Martin<Martin.Uecker@med.uni-goettingen.de> wrote:[...] sizeof(_Tb)])0; })) I liked your previous hack more. This is much more...
View ArticleRe: [PATCH v5 0/2] Remove false-positive VLAs when using max()
Linus Torvalds writes: (Summary) On Sat, Mar 17, 2018 at 1:07 PM, Kees Cook <keescook@chromium.org> So thanks to the diseased mind of Martin Uecker, there's a better test for "__is_constant()":...
View ArticleRe: [PATCH v5 0/2] Remove false-positive VLAs when using max()
Linus Torvalds writes: (Summary) On Tue, Mar 20, 2018 at 4:23 PM, Linus Torvalds<torvalds@linux-foundation.org> wrote:[...] even depend on any gcc extensions. Well, it does depend on...
View ArticleRe: detecting integer constant expressions in macros
Linus Torvalds writes: (Summary) That might be the right approach, even if I like how it only used standard C (although _disgusting_ standard C) without it apart from the small issue of sizeof(void)...
View ArticleRe: [PATCH] kbuild: disable clang's default use of -fmerge-all-con ...
Linus Torvalds writes: (Summary) And thanks for noticing the behavior wrt the correct gcc merging. the correct gcc merging.[...] lot for your feedback! ] So since it's your patch and the only known...
View ArticleRe: [RFC PATCH 0/3] kernel: add support for 256-bit IO access
Linus Torvalds writes: (Summary) Of course all those features are enabled. course all those features are enabled.[...] Note that this is with an AVX (128-bit) supporting CPU: That's weak even by modern...
View ArticleRe: [PATCH] target: Use WARNON_NON_RT(!irqs_disabled())
Linus Torvalds writes: (Summary) [ Adding PeterZ to participants due to query about lockdep_assert() ] [ Adding PeterZ to participants due to query about lockdep_assert() ] On Wed, Mar 21, 2018 at 8:38...
View ArticleRe: syzbot dashboard
Linus Torvalds writes: (Summary) At that point, *if* a report has a reproducer, then sending reminders to people with "this still happens, here's a link to the syzkaller page for this report" might be...
View ArticleRe: detecting integer constant expressions in macros
Linus Torvalds writes: (Summary) For an expression that isn't constant, it's a bit less obvious, and depends on knowing that "~x+1" is the same as "-x" in 2's complement. "-x" in 2's complement. Of...
View ArticleRe: [RFC PATCH 2/3] x86/io: implement 256-bit IO read and write
Linus Torvalds writes: (Summary) wrote:[...] memcpy_fromio or memcpy_toio operations? Yes, doing something like "memcpy_fromio_avx()" is much more palatable, in that it works like the crypto functions...
View ArticleRe: [PATCH v5 0/2] Remove false-positive VLAs when using max()
Linus Torvalds writes: (Summary) wrote: [...] Seems like it doesn't like void * arguments: Yeah, that was discussed separately, I just didn't realize we had any such users. such users. As David said,...
View ArticleRe: [RFC PATCH 0/3] kernel: add support for 256-bit IO access
Linus Torvalds writes: (Summary) I think this is the really fundamental issue. I think this is the really fundamental issue. A device that expects PIO to do some kind of high-performance transaction is...
View ArticleRe: [RFC PATCH 2/3] x86/io: implement 256-bit IO read and write
Linus Torvalds writes: (Summary) It's the low-volume stuff that almost nobody uses and where the customer is used to the whole notion of boutique hardware, so they're used to having to do special...
View Article