[PATCH v2 1/3] KVM: arm64: selftests: fix help text for arch_timer_edge_cases

2025-05-27 Thread Sebastian Ott
Fix the help text for arch_timer_edge_cases to show the correct option for setting the wait time. Signed-off-by: Sebastian Ott --- tools/testing/selftests/kvm/arm64/arch_timer_edge_cases.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/arm64

[PATCH 1/3] KVM: arm64: selftests: fix help text for arch_timer_edge_cases

2025-05-09 Thread Sebastian Ott
Fix the help text for arch_timer_edge_cases to show the correct option for setting the wait time. Signed-off-by: Sebastian Ott --- tools/testing/selftests/kvm/arm64/arch_timer_edge_cases.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/arm64

Re: [PATCH sysctl-next v2] selftests/sysctl: fix wording of help messages

2025-02-27 Thread Joel Granados
On Fri, Feb 21, 2025 at 03:51:49PM +0530, Bharadwaj Raju wrote: > Fix grammar such as "number amount of times is > recommended" etc -> "the recommended number of > times". > > Signed-off-by: Bharadwaj Raju > --- > tools/testing/selftests/sysctl/sysctl.sh | 6 +++--- > 1 file changed, 3 insertion

[PATCH sysctl-next v2] selftests/sysctl: fix wording of help messages

2025-02-21 Thread Bharadwaj Raju
Fix grammar such as "number amount of times is recommended" etc -> "the recommended number of times". Signed-off-by: Bharadwaj Raju --- tools/testing/selftests/sysctl/sysctl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/t

Re: [PATCH] selftests/sysctl: fix wording of help messages

2025-02-21 Thread Joel Granados
On Sun, Feb 16, 2025 at 11:31:50AM +0530, Bharadwaj Raju wrote: > Fix paramter -> parameter, and recomended -> > recommended in sysctl.sh's help messages. > > Also correct grammar: "number amount of times > is recommended" etc -> "the recommended numbe

[PATCH] selftests/sysctl: fix wording of help messages

2025-02-15 Thread Bharadwaj Raju
Fix paramter -> parameter, and recomended -> recommended in sysctl.sh's help messages. Also correct grammar: "number amount of times is recommended" etc -> "the recommended number of times". Signed-off-by: Bharadwaj Raju --- tools/testing/selftests/sysctl/sy

[PATCH rcu v2 6/7] rcu: Clarify RCU_LAZY and RCU_LAZY_DEFAULT_OFF help text

2025-01-30 Thread Paul E. McKenney
This commit wordsmiths the RCU_LAZY and RCU_LAZY_DEFAULT_OFF Kconfig options' help text. Signed-off-by: Paul E. McKenney --- kernel/rcu/Kconfig | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig index b9b6bc5

[PATCH rcu 6/7] rcu: Clarify RCU_LAZY and RCU_LAZY_DEFAULT_OFF help text

2025-01-16 Thread Paul E. McKenney
This commit wordsmiths the RCU_LAZY and RCU_LAZY_DEFAULT_OFF Kconfig options' help text. Signed-off-by: Paul E. McKenney --- kernel/rcu/Kconfig | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig index b9b6bc55

Re: [PATCH] selftests/run_kselftest.sh: Fix help string for --per-test-log

2024-12-20 Thread Shuah
On 12/20/24 09:12, Brendan Jackman wrote: This is documented as --per_test_log but the argument is actually --per-test-log. Signed-off-by: Brendan Jackman --- tools/testing/selftests/run_kselftest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/

[PATCH] selftests/run_kselftest.sh: Fix help string for --per-test-log

2024-12-20 Thread Brendan Jackman
This is documented as --per_test_log but the argument is actually --per-test-log. Signed-off-by: Brendan Jackman --- tools/testing/selftests/run_kselftest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/run_kselftest.sh b/tools/testing/selftests/ru

[PATCH rcu 1/7] rcu: Add rcuog kthreads to RCU_NOCB_CPU help text

2024-10-09 Thread Paul E. McKenney
The RCU_NOCB_CPU help text currently fails to mention rcuog kthreads, so this commit adds this information. Reported-by: Olivier Langlois Signed-off-by: Paul E. McKenney --- kernel/rcu/Kconfig | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a

Re: [PATCH] rtla: Sync the help text between hist tools

2024-08-13 Thread Tomas Glozar
út 13. 8. 2024 v 13:49 odesílatel Eder Zulian napsal: > > In addition, fix a typo in the error message generated when the > specified duration is invalid. > > Signed-off-by: Eder Zulian > --- > tools/tracing/rtla/src/osnoise_hist.c | 4 ++-- > tools/tracing/rtla/src/timerlat_hist.c | 4 ++-- >

[PATCH] rtla: Sync the help text between hist tools

2024-08-13 Thread Eder Zulian
-no-header] [--no-summary] \\", - " [--no-index] [--with-zeros] [-C[=cgroup_name]] [--warm-up]", + " [--no-index] [--with-zeros] [-C[=cgroup_name]] [--warm-up s]", "", " -h/--help: print this men

Re: [PATCH] tracing: Add __string_src() helper to help compilers not to get confused

2024-03-15 Thread Alison Schofield
On Thu, Mar 14, 2024 at 11:27:54PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > The __string() helper macro of the TRACE_EVENT() macro is used to > determine how much of the ring buffer needs to be allocated to fit the > given source string. Some trace events have a string t

[PATCH] tracing: Add __string_src() helper to help compilers not to get confused

2024-03-14 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The __string() helper macro of the TRACE_EVENT() macro is used to determine how much of the ring buffer needs to be allocated to fit the given source string. Some trace events have a string that is dependent on another variable that could be NULL, and in those case

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-04-18 Thread Willy Tarreau
On Sun, Apr 18, 2021 at 07:25:08PM +0200, Fawad Lateef wrote: > I tried booting the userspace compiled with gcc-9.1 and kernel > compiled with gcc-5.5. But seems like the kernel 3.4.111 is not > compatible with user-space compiled with gcc-9.1. > During boot getting error: "FATAL: kernel too old."

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-04-18 Thread Fawad Lateef
Hi Greg, (Sending again as seems like I had rich-text available by mistake, so likely my message is rejected) On Tue, 30 Mar 2021 at 15:40, Greg KH wrote: > > On Tue, Mar 30, 2021 at 03:23:10PM +0200, Fawad Lateef wrote: > > So can I still use kernel-3.4 compiled with gcc-5.5, and boot full > >

Re: Need help converting usb/faraday,fotg210.yaml to yaml

2021-04-16 Thread Rob Herring
On Fri, Apr 16, 2021 at 8:18 AM Corentin Labbe wrote: > > Hello > > I am converting Documentation/devicetree/bindings/usb/faraday,fotg210.txt to > yaml with the patch attached below. > But validating it give me: > Documentation/devicetree/bindings/usb/faraday,fotg210.example.dt.yaml: > usb@68000

Need help converting usb/faraday,fotg210.yaml to yaml

2021-04-16 Thread Corentin Labbe
Hello I am converting Documentation/devicetree/bindings/usb/faraday,fotg210.txt to yaml with the patch attached below. But validating it give me: Documentation/devicetree/bindings/usb/faraday,fotg210.example.dt.yaml: usb@6800: 'syscon', 'wakeup-source' do not match any of the regexes: 'pinc

[PATCH net-next 3/6] r8152: add help function to change mtu

2021-04-16 Thread Hayes Wang
The different chips may have different requests when changing mtu. Therefore, add a new help function of rtl_ops to change mtu. Besides, reset the tx/rx after changing mtu. Additionally, add mtu_to_size() and size_to_mtu() macros to simplify the code. Signed-off-by: Hayes Wang --- drivers/net

an Orphan needs your help

2021-04-13 Thread janete Moon
ollars only) he kept in a finance house here in Burkina Faso West Africa. I have verified this with them before contacting you. I shall require your help in transfering this money to your country for investment purpose like buying of company shares,Real Estate Investment Trust funds,Jewels or Di

A cry for help

2021-04-12 Thread Miss Farrina Kipkalya
ming this money and the only thing they told me is to look for a foreign partner who will assist me in the transfer due to my refugee status here in Burkina Faso. God told me that you are the honest and reliable person who will help me and stand as my trustee so that I will present you to the Bank f

an Orphan needs your help

2021-04-09 Thread janete Moon
ollars only) he kept in a finance house here in Burkina Faso West Africa. I have verified this with them before contacting you. I shall require your help in transfering this money to your country for investment purpose like buying of company shares,Real Estate Investment Trust funds,Jewels or Di

A cry for help

2021-04-09 Thread Miss Farrina kipkalya
about claiming this money and the only thing they told me is to look for a foreign partner who will assist me in the transfer due to my refugee status here in Burkina Faso. God told me that you are the honest and reliable person who will help me and stand as my trustee so that I will present you t

[PATCH v2 7/9] powerpc/mem: Help GCC realise __flush_dcache_icache() flushes single pages

2021-04-08 Thread Christophe Leroy
'And' the given page address with PAGE_MASK to help GCC. With the patch: 0024 <__flush_dcache_icache>: 24: 54 63 00 26 rlwinm r3,r3,0,0,19 28: 39 40 00 40 li r10,64 2c: 7c 69 1b 78 mr r9,r3 3

[PATCH v1 6/8] powerpc/mem: Help GCC realise __flush_dcache_icache() flushes single pages

2021-04-07 Thread Christophe Leroy
'And' the given page address with PAGE_MASK to help GCC. With the patch: 0024 <__flush_dcache_icache>: 24: 54 63 00 26 rlwinm r3,r3,0,0,19 28: 39 40 00 40 li r10,64 2c: 7c 69 1b 78 mr r9,r3 3

Re: [PATCH v2] kconfig: config script: add a little user help

2021-04-02 Thread Andi Kleen
On Sat, Dec 19, 2020 at 09:08:05AM -0800, Randy Dunlap wrote: > Give the user a clue about the problem along with the 35 lines of > usage/help text. Reviewed-by: Andi Kleen -Andi

[PATCH 29/31] fs: ecryptfs: mmap: Help out one function header and demote other abuses

2021-03-30 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): fs/ecryptfs/mmap.c:26: warning: Incorrect use of kernel-doc format: * ecryptfs_get_locked_page fs/ecryptfs/mmap.c:34: warning: Function parameter or member 'inode' not described in 'ecryptfs_get_locked_page' fs/ecryptfs/mmap.c:34: warning: Fun

[PATCH 30/31] fs: ecryptfs: inode: Help out nearly-there header and demote non-conformant ones

2021-03-30 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): fs/ecryptfs/inode.c:27: warning: Function parameter or member 'dentry' not described in 'lock_parent' fs/ecryptfs/inode.c:27: warning: Function parameter or member 'lower_dentry' not described in 'lock_parent' fs/ecryptfs/inode.c:27: warning: F

[PATCH 02/31] fs: gfs2: xattr: Help out some kernel-doc header demote non-conformant ones

2021-03-30 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): fs/gfs2/xattr.c:41: warning: Function parameter or member 'sdp' not described in 'ea_calc_size' fs/gfs2/xattr.c:41: warning: Function parameter or member 'nsize' not described in 'ea_calc_size' fs/gfs2/xattr.c:41: warning: Function parameter or

[PATCH 06/31] fs: gfs2: lops: Help out worthy kernel-doc headers and demote others

2021-03-30 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): fs/gfs2/lops.c:106: warning: Function parameter or member 'tr' not described in 'gfs2_unpin' fs/gfs2/lops.c:106: warning: Excess function parameter 'flags' description in 'gfs2_unpin' fs/gfs2/lops.c:300: warning: Function parameter or member 'b

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-30 Thread Arnd Bergmann
On Tue, Mar 30, 2021 at 3:23 PM Fawad Lateef wrote: > On Mon, 29 Mar 2021 at 22:06, Arnd Bergmann wrote: > > > > On Mon, Mar 29, 2021 at 9:23 PM Fawad Lateef wrote: > > > > > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wr

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 03:23:10PM +0200, Fawad Lateef wrote: > So can I still use kernel-3.4 compiled with gcc-5.5, and boot full > user-space with gcc-9.1? Yes, of course. > I was expecting it to be possible but might not work due to > incompatibility? As I know that when I tried to compile bui

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-30 Thread Fawad Lateef
Hi Arnd, On Mon, 29 Mar 2021 at 22:06, Arnd Bergmann wrote: > > On Mon, Mar 29, 2021 at 9:23 PM Fawad Lateef wrote: > > > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > > > Hi > > > > > > > > I am using an Olimex A20

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-29 Thread Arnd Bergmann
On Mon, Mar 29, 2021 at 9:23 PM Fawad Lateef wrote: > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > > Hi > > > > > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > > > NAND driver, I am stuck with

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-29 Thread Greg KH
On Mon, Mar 29, 2021 at 09:20:32PM +0200, Fawad Lateef wrote: > Hi Greg, > > > > On Mon, 29 Mar 2021 at 06:57, Greg KH wrote: > > > > On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > > > Hi > > > > > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > > > N

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-29 Thread Fawad Lateef
sions of buildroot is the kernel > > 3.4 which we couldn't to work with gcc-6 a few years ago _but_ now the > > gcc-9.1 requirement is mandatory so now have to look into compiling > > linux-3.4 with gcc-9.1 or above. > > > > Now I need some help. > > > > --

Help with a fix on em28xx driver

2021-03-29 Thread Igor Torrente
access freed resources I'm trying to fix this issue but I'm having a lot of trouble because I'm not familiar with this driver nor the media/v4l2 subsystem. Someone can help me to with this fix? I'm not sure if it this the best approach, but Will embed the stack

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-28 Thread Greg KH
quirement is mandatory so now have to look into compiling > linux-3.4 with gcc-9.1 or above. > > Now I need some help. > > -- Is it realistic to expect 3.4 kernel compiling and boot > successfully with gcc-9.1? No. It took a lot of work and effort just to get the 4.4.y k

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-28 Thread Fawad Lateef
; that we can have glibc++ provided by the gcc-9.1 toolchain. >> >> Main problem for moving to later versions of buildroot is the kernel >> 3.4 which we couldn't to work with gcc-6 a few years ago _but_ now the >> gcc-9.1 requirement is mandatory so now have to look into

Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-28 Thread Fawad Lateef
nt is mandatory so now have to look into compiling linux-3.4 with gcc-9.1 or above. Now I need some help. -- Is it realistic to expect 3.4 kernel compiling and boot successfully with gcc-9.1? -- Secondly, till now I am able to compile until the point when its going to generate the vmlinuz image, it f

i need your urgent help and assistance.

2021-03-26 Thread Mr Yatmir Nutha
e over to your country for sharing according to the previously agreed percentages. You might even have to advise me on possibilities of investment in your country or elsewhere of our choice. May God help you to help me to a restive retirement, Amen. Please for further information and inquires feel f

[PATCH 06/18] fs: gfs2: lops: Help out worthy kernel-doc headers and demote others

2021-03-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): fs/gfs2/lops.c:106: warning: Function parameter or member 'tr' not described in 'gfs2_unpin' fs/gfs2/lops.c:106: warning: Excess function parameter 'flags' description in 'gfs2_unpin' fs/gfs2/lops.c:300: warning: Function parameter or member 'b

[PATCH 02/18] fs: gfs2: xattr: Help out some kernel-doc header demote non-conformant ones

2021-03-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): fs/gfs2/xattr.c:41: warning: Function parameter or member 'sdp' not described in 'ea_calc_size' fs/gfs2/xattr.c:41: warning: Function parameter or member 'nsize' not described in 'ea_calc_size' fs/gfs2/xattr.c:41: warning: Function parameter or

Re: [PATCH v2 1/1] leds: lgm: Improve Kconfig help

2021-03-25 Thread Pavel Machek
Hi! > Remove unnecessary Kconfig symbol LEDS_BLINK > Improve Kconfig help text to make it more useful. > > Signed-off-by: Rahul Tanwar Thanks for the patch, I applied it by hand. > +++ b/drivers/leds/blink/leds-lgm-sso.c > @@ -1,8 +1,8 @@ > // SPDX-Licens

[PATCH v2 1/1] leds: lgm: Improve Kconfig help

2021-03-25 Thread Rahul Tanwar
Remove unnecessary Kconfig symbol LEDS_BLINK Improve Kconfig help text to make it more useful. Signed-off-by: Rahul Tanwar --- drivers/leds/Kconfig | 5 ++--- drivers/leds/Makefile | 2 +- drivers/leds/blink/Kconfig| 28 +--- drivers

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Rahul Tanwar
Hi Pavel, On 19/3/2021 4:37 am, Pavel Machek wrote: > Hi! > > > > > > help > > > > - Parallel to serial conversion, which is also called SSO > > > > controller, > > > > - can drive external shift register for LED outputs. &g

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Pavel Machek
Hi! > > > help > > > - Parallel to serial conversion, which is also called SSO > > > controller, > > > - can drive external shift register for LED outputs. > > > - This enables LED support for Serial Shift Output controller(SSO). > > &g

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Rahul Tanwar
Hi Pavel, On 18/3/2021 3:55 pm, Pavel Machek wrote: > Hi! > > > Remove unnecessary Kconfig symbol LEDS_BLINK > > Improve Kconfig help text to make it more useful. > > > > Signed-off-by: Rahul Tanwar > > > +++ b/drivers/leds/blink/Kconfig > >

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Arnd Bergmann
ething has > > changed all of the tabs to spaces. > > > > Keywords in Kconfig files should be indented with one tab, > > while help text should be indented with one tab + 2 spaces. > > > > > Hmm, facing some IT issues with git send-email so i had to send it by > other m

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Rahul Tanwar
Hi Randy, On 18/3/2021 11:02 am, Randy Dunlap wrote: > This email was sent from outside of MaxLinear. > > > Hi, > > For the leds/blink/Kconfig file at least, something has > changed all of the tabs to spaces. > > Keywords in Kconfig files should be indented with

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Pavel Machek
Hi! > Remove unnecessary Kconfig symbol LEDS_BLINK > Improve Kconfig help text to make it more useful. > > Signed-off-by: Rahul Tanwar > +++ b/drivers/leds/blink/Kconfig > @@ -1,21 +1,19 @@ > -menuconfig LEDS_BLINK > - bool "LED Blink support&quo

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-17 Thread Randy Dunlap
Hi, For the leds/blink/Kconfig file at least, something has changed all of the tabs to spaces. Keywords in Kconfig files should be indented with one tab, while help text should be indented with one tab + 2 spaces. On 3/17/21 3:04 AM, Rahul Tanwar wrote: > Remove unnecessary Kconfig sym

[PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-17 Thread Rahul Tanwar
Remove unnecessary Kconfig symbol LEDS_BLINK Improve Kconfig help text to make it more useful. Signed-off-by: Rahul Tanwar --- drivers/leds/Kconfig | 5 ++--- drivers/leds/Makefile | 2 +- drivers/leds/blink/Kconfig| 28

[PATCH 03/13] kconfig: add long options --help and --silent

2021-03-13 Thread Masahiro Yamada
/kconfig/conf.c @@ -474,6 +474,8 @@ static void check_conf(struct menu *menu) } static struct option long_opts[] = { + {"help", no_argument, NULL,'h'}, + {"silent",no_argument, NULL,'s'

[PATCH 04/13] kconfig: add help messages for --help (-h) and --silent (-s)

2021-03-13 Thread Masahiro Yamada
Add missing options and make the help message more readable. Signed-off-by: Masahiro Yamada --- scripts/kconfig/conf.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index aac76acfd100..9ebc1acaf1ae 100644 --- a

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Oscar Salvador
On Thu, Mar 11, 2021 at 01:16:37PM +0100, Michal Hocko wrote: > On Thu 11-03-21 18:00:09, Muchun Song wrote: > [...] > > Sorry. I am confused why you disagree with this change. > > It does not bring any disadvantages. > > Because it is adding a code which is not really necessary and which will > h

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Muchun Song
On Thu, Mar 11, 2021 at 8:16 PM Michal Hocko wrote: > > On Thu 11-03-21 18:00:09, Muchun Song wrote: > [...] > > Sorry. I am confused why you disagree with this change. > > It does not bring any disadvantages. > > Because it is adding a code which is not really necessary and which will > have to b

[PATCH 07/10] tick/nohz: Update nohz_full Kconfig help

2021-03-11 Thread Frederic Weisbecker
CONFIG_NO_HZ_FULL behaves just like CONFIG_NO_HZ_IDLE by default. Reassure distros about it. Signed-off-by: Frederic Weisbecker Cc: Yunfeng Ye Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Marcelo Tosatti Cc: Rafael J. Wysocki --- kernel/time/Kconfig | 11 ++- 1 file changed, 6 inserti

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Michal Hocko
On Thu 11-03-21 18:00:09, Muchun Song wrote: [...] > Sorry. I am confused why you disagree with this change. > It does not bring any disadvantages. Because it is adding a code which is not really necessary and which will have to be maintained. Think of future changes which would need to grow more

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Muchun Song
On Thu, Mar 11, 2021 at 5:39 PM Michal Hocko wrote: > > On Thu 11-03-21 17:08:34, Muchun Song wrote: > > On Thu, Mar 11, 2021 at 4:55 PM Michal Hocko wrote: > > > > > > On Thu 11-03-21 15:33:20, Muchun Song wrote: > > > > On Wed, Mar 10, 2021 at 11:41 PM Michal Hocko wrote: > > > > > > > > > > O

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Michal Hocko
On Thu 11-03-21 17:08:34, Muchun Song wrote: > On Thu, Mar 11, 2021 at 4:55 PM Michal Hocko wrote: > > > > On Thu 11-03-21 15:33:20, Muchun Song wrote: > > > On Wed, Mar 10, 2021 at 11:41 PM Michal Hocko wrote: > > > > > > > > On Mon 08-03-21 18:28:07, Muchun Song wrote: > > > > > When the "struc

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Muchun Song
On Thu, Mar 11, 2021 at 4:55 PM Michal Hocko wrote: > > On Thu 11-03-21 15:33:20, Muchun Song wrote: > > On Wed, Mar 10, 2021 at 11:41 PM Michal Hocko wrote: > > > > > > On Mon 08-03-21 18:28:07, Muchun Song wrote: > > > > When the "struct page size" crosses page boundaries we cannot > > > > make

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Michal Hocko
On Thu 11-03-21 15:33:20, Muchun Song wrote: > On Wed, Mar 10, 2021 at 11:41 PM Michal Hocko wrote: > > > > On Mon 08-03-21 18:28:07, Muchun Song wrote: > > > When the "struct page size" crosses page boundaries we cannot > > > make use of this feature. Let free_vmemmap_pages_per_hpage() > > > retu

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-10 Thread Muchun Song
gt; --- a/mm/hugetlb_vmemmap.c > > +++ b/mm/hugetlb_vmemmap.c > > @@ -265,6 +265,13 @@ void __init hugetlb_vmemmap_init(struct hstate *h) > > BUILD_BUG_ON(__NR_USED_SUBPAGE >= > >RESERVE_VMEMMAP_SIZE / sizeof(struct page)); > > > > +

Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-10 Thread Michal Hocko
vmemmap.c > @@ -265,6 +265,13 @@ void __init hugetlb_vmemmap_init(struct hstate *h) > BUILD_BUG_ON(__NR_USED_SUBPAGE >= >RESERVE_VMEMMAP_SIZE / sizeof(struct page)); > > + /* > + * The compiler can help us to optimize this function to null >

I need an urgent help from you

2021-03-08 Thread Sgt,Shannon Mccraney
-- Hello Darling, I am happy to have you here as a friend, i hope all is well with you, and how are you enjoying your day over there in your country? My name is Sergeant ,Shannon Mccraney. I’m 29 years an orphan my parents died when I was five years old nobody to help me,I send you my business

I need an urgent help from you

2021-03-08 Thread Sgt,Shannon Mccraney
-- Hello Darling, I am happy to have you here as a friend, i hope all is well with you, and how are you enjoying your day over there in your country? My name is Sergeant ,Shannon Mccraney. I’m 29 years an orphan my parents died when I was five years old nobody to help me,I send you my business

[PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-08 Thread Muchun Song
,13 @@ void __init hugetlb_vmemmap_init(struct hstate *h) BUILD_BUG_ON(__NR_USED_SUBPAGE >= RESERVE_VMEMMAP_SIZE / sizeof(struct page)); + /* + * The compiler can help us to optimize this function to null +* when the size of the struct p

Re: NAND Flash Issue Need Help!

2021-03-05 Thread Willy Tarreau
Hello, On Fri, Mar 05, 2021 at 06:38:08PM +, Justin Mitchell wrote: > Issue: > Intermittent occurrence of failure to program new boards from CM. No idea what "CM" is here, but that's not relevant here anyway. > Primary partition mounted OK > Loading file 'dtb/at91sam9g25ek.dtb' to addr 0x210

NAND Flash Issue Need Help!

2021-03-05 Thread Justin Mitchell
ock typeinvalid stored block lengthstoo many length or distance symbolsinvalid code lengths setinvalid bit length repeatinvalid literal/lengths setinvalid distances setincorrect data checkOut of memory while allocating output bufferOut of memory while allocating input bufferOut of memory while a

[for-linus][PATCH 3/5] tracing: Fix help text of TRACEPOINT_BENCHMARK in Kconfig

2021-03-04 Thread Steven Rostedt
deletion(-) diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 9c266b93cbc0..7fa82778c3e6 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -694,7 +694,7 @@ config TRACEPOINT_BENCHMARK help This option creates the tracepoint "benchmark:benchmark_event&quo

Re: Need some help on "Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2"

2021-03-03 Thread Nikolai Kostrigin
Hi, resending this once again, hoping it wouldn't contain any HTML and wouldn't be filtered by LKML. 03.03.2021 13:11, Nikolai Kostrigin пишет: > Hi, > > 25.02.2021 12:38, Wolfram Sang пишет: >> Hi, >> >>> I had a preliminary discussion with Benjamin Tissoires and according to >>> our agreement I

Re: Need some help on "Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2"

2021-03-03 Thread Wolfram Sang
> Happily Jingle Wu has pointed me to a couple of  patches of his > (co-authored by Dmitry Torokhov): Yep, this looks like the proper place to fix things. Good it is already solved. signature.asc Description: PGP signature

Re: Need some help on "Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2"

2021-03-03 Thread Nikolai Kostrigin
Hi, 25.02.2021 12:38, Wolfram Sang пишет: > Hi, > >> I had a preliminary discussion with Benjamin Tissoires and according to >> our agreement I repost it for wider audience. >> Blacklisting the device was decided to be a bad idea. >> But actually I managed to get touchpad totally operational via S

[PATCH] Kconfig: fix help text of TRACEPOINT_BENCHMARK

2021-03-02 Thread Rolf Eike Beer
TRACEPOINT_BENCHMARK help This option creates the tracepoint "benchmark:benchmark_event". When the tracepoint is enabled, it kicks off a kernel thread that -goes into an infinite loop (calling cond_sched() to let other tasks +goes into an infinite loo

[PATCH v17 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-02-25 Thread Muchun Song
BUILD_BUG_ON(__NR_USED_SUBPAGE >= RESERVE_VMEMMAP_SIZE / sizeof(struct page)); + /* + * The compiler can help us to optimize this function to null +* when the size of the struct page is not power of 2. +*/ + if (!is_power_of

Re: Need some help on "Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2"

2021-02-25 Thread Wolfram Sang
Hi, > I had a preliminary discussion with Benjamin Tissoires and according to > our agreement I repost it for wider audience. > Blacklisting the device was decided to be a bad idea. > But actually I managed to get touchpad totally operational via SMBus > using a following hack: > > providing a pa

Re: Need some help on "Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2"

2021-02-25 Thread Nikolai Kostrigin
to send EPROTO from >> i801_block_transaction_by_block len= %d\n", >> len); >> return -EPROTO; >> } >> data->block[0] = len; >> for (i = 0; i < le

Re: [PATCH V2] init/Kconfig: Fix a typo in CC_VERSION_TEXT help text

2021-02-24 Thread Nathan Chancellor
On Thu, Feb 25, 2021 at 04:03:25AM +0530, Bhaskar Chowdhury wrote: > > s/compier/compiler/ > > Signed-off-by: Bhaskar Chowdhury Reviewed-by: Nathan Chancellor > --- > Changes from V1: > Nathan and Randy, suggested better subject line texts,so incorporated. > > init/Kconfig | 2 +- > 1 fi

Re: [PATCH V2] init/Kconfig: Fix a typo in CC_VERSION_TEXT help text

2021-02-24 Thread Randy Dunlap
On 2/24/21 2:33 PM, Bhaskar Chowdhury wrote: > > s/compier/compiler/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Changes from V1: > Nathan and Randy, suggested better subject line texts,so incorporated. > > init/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH V2] init/Kconfig: Fix a typo in CC_VERSION_TEXT help text

2021-02-24 Thread Bhaskar Chowdhury
s/compier/compiler/ Signed-off-by: Bhaskar Chowdhury --- Changes from V1: Nathan and Randy, suggested better subject line texts,so incorporated. init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index ba8bd5256980..2cfed79cc6ec 100

[PATCH 1/3] kconfig: fix 'invalid option' for help option

2021-02-21 Thread Masahiro Yamada
scripts/kconfig/conf supports -? option to show the help message. This is not wired up to Makefile, so nobody would notice this, but it also shows 'invalid option' message. $ ./scripts/kconfig/conf -? ./scripts/kconfig/conf: invalid option -- '?' Usage: ./scripts/kconf

[PATCH v16 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-02-19 Thread Muchun Song
BUILD_BUG_ON(__NR_USED_SUBPAGE >= RESERVE_VMEMMAP_SIZE / sizeof(struct page)); + /* + * The compiler can help us to optimize this function to null +* when the size of the struct page is not power of 2. +*/ + if (!is_power_of

[tip: core/rcu] torture: Add --dryrun batches to help schedule a distributed run

2021-02-12 Thread tip-bot2 for Paul E. McKenney
Committer: Paul E. McKenney CommitterDate: Mon, 04 Jan 2021 14:01:23 -08:00 torture: Add --dryrun batches to help schedule a distributed run When all of the remote systems have the same number of CPUs, one approach is to use one "--buildonly" run and one "--dryrun sched" run, a

[PATCH v15 8/8] mm: hugetlb: optimize the code with the help of the compiler

2021-02-08 Thread Muchun Song
static inline unsigned int free_vmemmap_pages_per_hpage(struct hstate *h) { + /* +* This check aims to let the compiler help us optimize the code as +* much as possible. +*/ + if (!is_power_of_2(sizeof(struct page))) + return 0; ret

Please I Need Your Help

2021-02-07 Thread Salma Malek
t now am in Burkina Faso, please save my life i am in danger need your help in transferring my inheritance my father left behind for me in a Bank in Burkina Faso here,i have every necessary document for the fund, all i needed is a foreigner who will stand as the foreign partner to my fathe

Please i need your help

2021-02-07 Thread Aisha Al-Qaddafi
Dear I Need An Investment Partner Assalamu Alaikum Wa Rahmatullahi Wa Barakatuh Dear Friend, I came across your e-mail contact prior to a private search while in need of your assistance. I am Aisha Al-Qaddafi, the only biological Daughter of Former President of Libya Col. Muammar Al-Qaddafi. Am a

Re: [External] Re: [PATCH v14 8/8] mm: hugetlb: optimize the code with the help of the compiler

2021-02-05 Thread Muchun Song
On Fri, Feb 5, 2021 at 5:09 PM Oscar Salvador wrote: > > On Thu, Feb 04, 2021 at 11:50:43AM +0800, Muchun Song wrote: > > We cannot optimize if a "struct page" crosses page boundaries. If > > it is true, we can optimize the code with the help of a compiler. > >

Re: [PATCH v14 8/8] mm: hugetlb: optimize the code with the help of the compiler

2021-02-05 Thread Oscar Salvador
On Thu, Feb 04, 2021 at 11:50:43AM +0800, Muchun Song wrote: > We cannot optimize if a "struct page" crosses page boundaries. If > it is true, we can optimize the code with the help of a compiler. > When free_vmemmap_pages_per_hpage() returns zero, most functions are > opt

Re: [PATCH v14 8/8] mm: hugetlb: optimize the code with the help of the compiler

2021-02-03 Thread Miaohe Lin
On 2021/2/4 11:50, Muchun Song wrote: > We cannot optimize if a "struct page" crosses page boundaries. If > it is true, we can optimize the code with the help of a compiler. > When free_vmemmap_pages_per_hpage() returns zero, most functions are > optimized by the compil

[PATCH v14 8/8] mm: hugetlb: optimize the code with the help of the compiler

2021-02-03 Thread Muchun Song
We cannot optimize if a "struct page" crosses page boundaries. If it is true, we can optimize the code with the help of a compiler. When free_vmemmap_pages_per_hpage() returns zero, most functions are optimized by the compiler. Signed-off-by: Muchun Song --- include/linux/hugetlb.h |

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-02 Thread Philip Li
On Tue, Feb 02, 2021 at 04:48:04AM -0800, Joe Perches wrote: > On Mon, 2021-02-01 at 22:41 +0530, Dwaipayan Ray wrote: > > The idea of a bot seems nice though in general. > > People do have all the style checking scripts at their disposal, but still > > we see style issues on the list. > > > > Som

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-02 Thread Joe Perches
On Mon, 2021-02-01 at 22:41 +0530, Dwaipayan Ray wrote: > The idea of a bot seems nice though in general. > People do have all the style checking scripts at their disposal, but still > we see style issues on the list. > > Something similar to the kernel test robot, but for style issues seems nice.

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-02 Thread Greg KH
On Mon, Feb 01, 2021 at 10:31:33PM +0530, Dwaipayan Ray wrote: > On Mon, Feb 1, 2021 at 10:07 PM Greg KH wrote: > > > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > > Hi, > > > on linux-next, > > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > > gives:

Re: [PATCH] PCI: endpoint: Explain NTB in PCI_EPF_NTB help text

2021-02-01 Thread Kishon Vijay Abraham I
Hi Geert, On 29/01/21 6:37 pm, Geert Uytterhoeven wrote: > The help text for the PCI_EPF_NTB config symbol uses the acronym "NTB". > However, this acronym is not explained there. > Expand the acronym to make it easier for users to decide if they need to > enable the PCI

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Theodore Ts'o
On Mon, Feb 01, 2021 at 05:50:45PM +0100, Lukas Bulwahn wrote: > > Dwaipayan, there are two ways: > - We build a bot listening to mailing lists and check. I like that > implementation idea for various other checks. > - Stephen Rothwell could include this as a check on linux-next and > inform the g

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Dwaipayan Ray
On Mon, Feb 1, 2021 at 10:20 PM Lukas Bulwahn wrote: > > On Mon, Feb 1, 2021 at 5:37 PM Greg KH wrote: > > > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > > Hi, > > > on linux-next, > > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > > gives: > > > 4a

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Dwaipayan Ray
On Mon, Feb 1, 2021 at 10:07 PM Greg KH wrote: > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > Hi, > > on linux-next, > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > gives: > > 4a2d78822fdf > > 12ca45fea91c > > 09f2724a786f > > > > These are patches

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Lukas Bulwahn
On Mon, Feb 1, 2021 at 5:37 PM Greg KH wrote: > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > Hi, > > on linux-next, > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > gives: > > 4a2d78822fdf > > 12ca45fea91c > > 09f2724a786f > > > > These are patches f

  1   2   3   4   5   6   7   8   9   10   >