Re: [PATCH] treewide: remove current_text_addr

2018-08-26 Thread H. Peter Anvin
On 08/26/18 12:30, H. Peter Anvin wrote: > Here is a full-blown (user space) test program demonstrating the whole > technique and how to use it. > > -hpa Incidentally, it looks like _RET_IP_ really should be defined as: /* * Is there any reason whatsoever to have _RET_IP_ an unsigned

Re: [PATCH] treewide: remove current_text_addr

2018-08-26 Thread Linus Torvalds
On Sun, Aug 26, 2018 at 12:32 PM H. Peter Anvin wrote: > > Here is a full-blown (user space) test program demonstrating the whole > technique and how to use it. So while I agree that some _THIS_IP_ users might be better off being converted to __builtin_return_address(0) at the caller, I also

Re: [PATCH 6/8] kbuild: consolidate Devicetree dtb build rules

2018-08-26 Thread Rob Herring
On Sat, Aug 25, 2018 at 9:06 PM Masahiro Yamada wrote: > > Hi Rob, > > > 2018-08-22 6:55 GMT+09:00 Rob Herring : > > There is nothing arch specific about building dtb files other than their > > location under /arch/*/boot/dts/. Keeping each arch aligned is a pain. > > The dependencies and

Re: [PATCH] treewide: remove current_text_addr

2018-08-26 Thread H. Peter Anvin
Here is a full-blown (user space) test program demonstrating the whole technique and how to use it. -hpa #include #include #define _RET_IP_ ((unsigned long)__builtin_return_address(0)) #define noinline __attribute__((noinline)) #define used __attribute__((used)) /* __always_inline is

Re: [PATCH] treewide: remove current_text_addr

2018-08-26 Thread Nick Desaulniers
On Sun, Aug 26, 2018 at 1:25 PM Linus Torvalds wrote: > Honestly, I'd suggest: > > - just do the current_text_addr() to _THIS_IP_ conversion > > - keep _THIS_IP_ and make it be the generic one, and screw the whole > "some architectures might implement is better" issue. Nobody cares. And

[PATCH] arc: remove redundant GCC version checks

2018-08-26 Thread Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. With GCC >= 4.6 assumed, 'upto_gcc44' is empty, 'atleast_gcc44' is y. Signed-off-by: Masahiro Yamada --- arch/arc/Makefile | 10 +- 1 file changed, 1

Patch "arc: [plat-eznps] fix printk warning in arc/plat-eznps/mtm.c" has been added to the 4.14-stable tree

2018-08-26 Thread gregkh
This is a note to let you know that I've just added the patch titled arc: [plat-eznps] fix printk warning in arc/plat-eznps/mtm.c to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch

Patch "arc: fix type warnings in arc/mm/cache.c" has been added to the 4.14-stable tree

2018-08-26 Thread gregkh
This is a note to let you know that I've just added the patch titled arc: fix type warnings in arc/mm/cache.c to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "arc: fix build errors in arc/include/asm/delay.h" has been added to the 4.14-stable tree

2018-08-26 Thread gregkh
This is a note to let you know that I've just added the patch titled arc: fix build errors in arc/include/asm/delay.h to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "arc: [plat-eznps] fix data type errors in platform headers" has been added to the 4.14-stable tree

2018-08-26 Thread gregkh
This is a note to let you know that I've just added the patch titled arc: [plat-eznps] fix data type errors in platform headers to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "arc: fix build errors in arc/include/asm/delay.h" has been added to the 4.9-stable tree

2018-08-26 Thread gregkh
This is a note to let you know that I've just added the patch titled arc: fix build errors in arc/include/asm/delay.h to the 4.9-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "arc: fix type warnings in arc/mm/cache.c" has been added to the 4.9-stable tree

2018-08-26 Thread gregkh
This is a note to let you know that I've just added the patch titled arc: fix type warnings in arc/mm/cache.c to the 4.9-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "arc: [plat-eznps] fix data type errors in platform headers" has been added to the 4.9-stable tree

2018-08-26 Thread gregkh
This is a note to let you know that I've just added the patch titled arc: [plat-eznps] fix data type errors in platform headers to the 4.9-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: