[PATCH] thermal/intel_powerclamp: add id for Avoton SoC

2015-02-19 Thread Miguel Bernal Marin
: Miguel Bernal Marin --- drivers/thermal/intel_powerclamp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/intel_powerclamp.c b/drivers/thermal/intel_powerclamp.c index 6ceebd6..12623bc 100644 --- a/drivers/thermal/intel_powerclamp.c +++ b/drivers/thermal/intel_powerclamp.c

[PATCH] misc: fix typo on Kconfig

2017-01-31 Thread Miguel Bernal Marin
When panel driver was moved from staging to misc a new line was missing to be added on Kconfig file. Fixes: 305b37bd01c2 ("misc: Move panel driver out of staging") Signed-off-by: Miguel Bernal Marin --- drivers/misc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/dr

[PATCH] objtool: add fixdep to gitignore

2016-07-25 Thread Miguel Bernal Marin
When objtool was added in 442f04c34a1a, fixdep was omitted to be included in .gitignore file. fixdep is a binary generated by objtool, and this patch adds it to .gitignore file. Signed-off-by: Miguel Bernal Marin --- tools/objtool/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH] scsi: storvsc: remove return at end of void function

2017-03-16 Thread Miguel Bernal Marin
storvsc_on_channel_callback is a void function and the return statement at the end is not useful. Found with checkpatch. Signed-off-by: Miguel Bernal Marin --- drivers/scsi/storvsc_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi

[PATCH] scsi: storvsc: Prefer kcalloc over kzalloc with multiply

2017-03-16 Thread Miguel Bernal Marin
Use kcalloc for allocating an array instead of kzalloc with multiply, kcalloc is the preferred API. Found with checkpatch. Signed-off-by: Miguel Bernal Marin --- drivers/scsi/storvsc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers

Re: [PATCH v2 1/3] locking/rwsem/x86: Add stack frame dependency for __up_read()

2017-09-14 Thread Miguel Bernal Marin
On Thu, Sep 07, 2017 at 09:12:42AM +0200, Ingo Molnar wrote: > > * Miguel Bernal Marin wrote: > > > kernel/locking/rwsem.o: warning: objtool: up_read()+0x11: call without > > frame pointer save/setup > > > > The warning means gcc 7.2.0 placed the __up_re

[PATCH v3 4/6] x86, asm/rwsem: Use named operands in __up_read()

2017-09-19 Thread Miguel Bernal Marin
Since GCC version 3.1, it is possible to specify input and output operands using symbolic names which can be referenced within the assembler code. Convert to named operands makes easy to understand and maintain for future changes. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm

[PATCH v3 1/6] locking/rwsem/x86: Add stack frame dependency for __up_read()

2017-09-19 Thread Miguel Bernal Marin
stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[PATCH v3 5/6] x86, asm/rwsem: Use named operands in __up_write()

2017-09-19 Thread Miguel Bernal Marin
Since GCC version 3.1, it is possible to specify input and output operands using symbolic names which can be referenced within the assembler code. Convert to named operands makes easy to understand and maintain for future changes. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm

[PATCH v3 3/6] locking/rwsem/x86: Add stack frame dependency for __downgrade_write()

2017-09-19 Thread Miguel Bernal Marin
can result in incorrect stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH v3 6/6] x86, asm/rwsem: Use named operands in __downgrade_write()

2017-09-19 Thread Miguel Bernal Marin
Since GCC version 3.1, it is possible to specify input and output operands using symbolic names which can be referenced within the assembler code. Convert to named operands makes easy to understand and maintain for future changes. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm

[PATCH v3 2/6] locking/rwsem/x86: Add stack frame dependency for __up_write()

2017-09-19 Thread Miguel Bernal Marin
incorrect stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH v3 0/6] locking/rwsem/x86: Add stack frame dependency for some inline asm

2017-09-19 Thread Miguel Bernal Marin
asm statement. Also to be easy to maintain and understand the operands from the extended assembler instructions were converted to named operands. Changes in v3: - Convert to named operands Changes in v2: - Update first parameter from _ASM_ADD to '%3' at __downgrade_write() Mig

[PATCH 2/3] locking/rwsem/x86: Add stack frame dependency for __up_write()

2017-09-05 Thread Miguel Bernal Marin
incorrect stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH 1/3] locking/rwsem/x86: Add stack frame dependency for __up_read()

2017-09-05 Thread Miguel Bernal Marin
stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[PATCH 3/3] locking/rwsem/x86: Add stack frame dependency for __downgrade_write()

2017-09-05 Thread Miguel Bernal Marin
can result in incorrect stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH 0/3] locking/rwsem/x86: Add stack frame dependency for some inline asm

2017-09-05 Thread Miguel Bernal Marin
asm statement. Miguel Bernal Marin (3): locking/rwsem/x86: Add stack frame dependency for __up_read() locking/rwsem/x86: Add stack frame dependency for __up_write() locking/rwsem/x86: Add stack frame dependency for __downgrade_write() arch/x86/include/asm/rwsem.h | 18 -- 1

Re: [PATCH 3/3] locking/rwsem/x86: Add stack frame dependency for __downgrade_write()

2017-09-06 Thread Miguel Bernal Marin
On Wed, Sep 06, 2017 at 04:33:02PM -0500, Josh Poimboeuf wrote: > On Wed, Sep 06, 2017 at 12:26:13AM -0500, Miguel Bernal Marin wrote: > > kernel/locking/rwsem.o: warning: objtool: downgrade_write()+0x22: call > > without frame pointer save/setup > > > > The warning

[PATCH v2 1/3] locking/rwsem/x86: Add stack frame dependency for __up_read()

2017-09-06 Thread Miguel Bernal Marin
stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[PATCH v2 0/3] locking/rwsem/x86: Add stack frame dependency for some inline asm

2017-09-06 Thread Miguel Bernal Marin
asm statement. Changes in v2: - Update first parameter from _ASM_ADD to '%3' at __downgrade_write() Miguel Bernal Marin (3): locking/rwsem/x86: Add stack frame dependency for __up_read() locking/rwsem/x86: Add stack frame dependency for __up_write() locking/rwsem/x86: Add s

[PATCH v2 2/3] locking/rwsem/x86: Add stack frame dependency for __up_write()

2017-09-06 Thread Miguel Bernal Marin
incorrect stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH v2 3/3] locking/rwsem/x86: Add stack frame dependency for __downgrade_write()

2017-09-06 Thread Miguel Bernal Marin
can result in incorrect stack traces. Force a stack frame to be created before the call instruction by listing the stack pointer as an output operand in the inline asm statement. Signed-off-by: Miguel Bernal Marin --- arch/x86/include/asm/rwsem.h | 6 -- 1 file changed, 4 insertions(+), 2

Re: [PATCH v3 0/6] locking/rwsem/x86: Add stack frame dependency for some inline asm

2017-09-25 Thread Miguel Bernal Marin
On Wed, Sep 20, 2017 at 04:24:18PM -0500, Josh Poimboeuf wrote: > On Tue, Sep 19, 2017 at 06:37:39PM -0500, Miguel Bernal Marin wrote: > > Some warning were showed by objtool using gcc 7.2.0 > > > > kernel/locking/rwsem.o: warning: objtool: up_read()+0x11: call without &

Re: [PATCH v3 0/6] locking/rwsem/x86: Add stack frame dependency for some inline asm

2017-09-25 Thread Miguel Bernal Marin
On Mon, Sep 25, 2017 at 02:03:21PM -0500, Josh Poimboeuf wrote: > On Mon, Sep 25, 2017 at 02:00:43PM -0500, Josh Poimboeuf wrote: > > On Mon, Sep 25, 2017 at 12:34:19PM -0500, Miguel Bernal Marin wrote: > > > On Wed, Sep 20, 2017 at 04:24:18PM -0500, Josh Poimboeuf wrote: >

[PATCH] x86, asm: Use named operands in rwsem.h

2017-09-25 Thread Miguel Bernal Marin
Bernal Marin --- arch/x86/include/asm/rwsem.h | 53 ++-- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/arch/x86/include/asm/rwsem.h b/arch/x86/include/asm/rwsem.h index 7116b7931c7b..a8f486e7a124 100644 --- a/arch/x86/include/asm/rwsem.h

Re: [PATCH v3 0/6] locking/rwsem/x86: Add stack frame dependency for some inline asm

2017-09-21 Thread Miguel Bernal Marin
On Wed, Sep 20, 2017 at 04:24:18PM -0500, Josh Poimboeuf wrote: > On Tue, Sep 19, 2017 at 06:37:39PM -0500, Miguel Bernal Marin wrote: > > Some warning were showed by objtool using gcc 7.2.0 > > > > kernel/locking/rwsem.o: warning: objtool: up_read()+0x11: call without &

Issues with OvelayFS + 9P FS

2017-11-28 Thread Miguel Bernal Marin
list the lower and merged files the process couldn't finish and ends with a "ls: Memory exhausted" I've tried to fix it but my knowledge is not enough on FS. I've done small script to reproduce the issue, they are at https://github.com/miguelinux/overlay-

[tip:locking/core] locking/x86: Use named operands in rwsem.h

2017-09-28 Thread tip-bot for Miguel Bernal Marin
Commit-ID: 30c23f29d2d5e3ce8e24f7dec550b7e15142aaef Gitweb: https://git.kernel.org/tip/30c23f29d2d5e3ce8e24f7dec550b7e15142aaef Author: Miguel Bernal Marin AuthorDate: Mon, 25 Sep 2017 18:03:49 -0500 Committer: Ingo Molnar CommitDate: Thu, 28 Sep 2017 09:43:15 +0200 locking/x86: Use