Re: [PATCH 3/6] devfreq: add support for suspend/resume of a devfreq device

2018-11-25 Thread Chanwoo Choi
Hi Lukasz, I add the one more comment for devfreq_resume_device() On 2018년 11월 23일 19:01, Lukasz Luba wrote: > Hi Chanwoo Choi, > > On 11/23/18 12:54 AM, Chanwoo Choi wrote: >> Hi Lukasz, >> >> I add one more comment about devfreq_resume_device(). >> >> On 2018년 11월 22일 20:00, Lukasz Luba

Re: [PATCH 3/6] devfreq: add support for suspend/resume of a devfreq device

2018-11-25 Thread Chanwoo Choi
Hi Lukasz, I add the one more comment for devfreq_resume_device() On 2018년 11월 23일 19:01, Lukasz Luba wrote: > Hi Chanwoo Choi, > > On 11/23/18 12:54 AM, Chanwoo Choi wrote: >> Hi Lukasz, >> >> I add one more comment about devfreq_resume_device(). >> >> On 2018년 11월 22일 20:00, Lukasz Luba

linux-next: build warning after merge of the f2fs tree

2018-11-25 Thread Stephen Rothwell
Hi Jaegeuk, After merging the f2fs tree, today's linux-next build (x86_64_allmodconfig) produced this warning: In file included from fs/f2fs/dir.c:11: fs/f2fs/f2fs.h: In function '__mark_inode_dirty_flag': fs/f2fs/f2fs.h:2388:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

linux-next: build warning after merge of the f2fs tree

2018-11-25 Thread Stephen Rothwell
Hi Jaegeuk, After merging the f2fs tree, today's linux-next build (x86_64_allmodconfig) produced this warning: In file included from fs/f2fs/dir.c:11: fs/f2fs/f2fs.h: In function '__mark_inode_dirty_flag': fs/f2fs/f2fs.h:2388:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Stephen Rothwell
Hi all, After merging the cifs tree, today's linux-next build (powerpc ppc64_defconfig) produced these warnings: fs/cifs/sess.c: In function 'cifs_select_sectype': fs/cifs/sess.c:527:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (requested) { ^~

linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Stephen Rothwell
Hi all, After merging the cifs tree, today's linux-next build (powerpc ppc64_defconfig) produced these warnings: fs/cifs/sess.c: In function 'cifs_select_sectype': fs/cifs/sess.c:527:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (requested) { ^~

linux-next: build warning after merge of the btrfs-kdave tree

2018-11-25 Thread Stephen Rothwell
Hi David, After merging the btrfs-kdave tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: In file included from include/linux/string.h:6, from arch/powerpc/include/asm/paca.h:19, from arch/powerpc/include/asm/current.h:16,

linux-next: build warning after merge of the btrfs-kdave tree

2018-11-25 Thread Stephen Rothwell
Hi David, After merging the btrfs-kdave tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: In file included from include/linux/string.h:6, from arch/powerpc/include/asm/paca.h:19, from arch/powerpc/include/asm/current.h:16,

[PATCH] mm: do not consider SWAP to calculate available when not necessary

2018-11-25 Thread Yang Yang
When si_mem_available() calculates 'available', it takes SWAP into account. But if CONFIG_SWAP is N or SWAP is off(some embedded system would like to do that), there is no need to consider it. Signed-off-by: Yang Yang --- mm/page_alloc.c | 8 +++- 1 file changed, 7 insertions(+), 1

[PATCH] mm: do not consider SWAP to calculate available when not necessary

2018-11-25 Thread Yang Yang
When si_mem_available() calculates 'available', it takes SWAP into account. But if CONFIG_SWAP is N or SWAP is off(some embedded system would like to do that), there is no need to consider it. Signed-off-by: Yang Yang --- mm/page_alloc.c | 8 +++- 1 file changed, 7 insertions(+), 1

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-25 Thread Jarkko Sakkinen
On Sun, Nov 25, 2018 at 12:55:24PM -0600, Dr. Greg wrote: > Good morning to everyone, I hope the weekend continues to proceed > well. Thank you, wish the same. Surviving from jetlag after flying from Finland to Portland yesterday.. Greg, Andy, I'll check your remarks with thought after I'm done

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-25 Thread Jarkko Sakkinen
On Sun, Nov 25, 2018 at 12:55:24PM -0600, Dr. Greg wrote: > Good morning to everyone, I hope the weekend continues to proceed > well. Thank you, wish the same. Surviving from jetlag after flying from Finland to Portland yesterday.. Greg, Andy, I'll check your remarks with thought after I'm done

[PATCH] perf: util: fix spelling mistake "Muliplier" -> "Multiplier"

2018-11-25 Thread Colin King
From: Colin Ian King There are two instances of spelling mistakes of Multiplier, fix these. Signed-off-by: Colin Ian King --- tools/perf/util/intel-bts.c | 2 +- tools/perf/util/intel-pt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/intel-bts.c

[PATCH] perf: util: fix spelling mistake "Muliplier" -> "Multiplier"

2018-11-25 Thread Colin King
From: Colin Ian King There are two instances of spelling mistakes of Multiplier, fix these. Signed-off-by: Colin Ian King --- tools/perf/util/intel-bts.c | 2 +- tools/perf/util/intel-pt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/intel-bts.c

[GIT PULL] FSI fixes for 4.20

2018-11-25 Thread Benjamin Herrenschmidt
Hi Greg ! Here are two very minor fixes for FSI. One from Arnd is a Kconfig fixup and has been rusting away in my tree for a while (I had forgotten about it). The other one just removes a duplicate #include, courtesy of Brajeswar Ghosh. The following changes since commit

[GIT PULL] FSI fixes for 4.20

2018-11-25 Thread Benjamin Herrenschmidt
Hi Greg ! Here are two very minor fixes for FSI. One from Arnd is a Kconfig fixup and has been rusting away in my tree for a while (I had forgotten about it). The other one just removes a duplicate #include, courtesy of Brajeswar Ghosh. The following changes since commit

Re: Question about "regulator: core: Only count load for enabled consumers" in -next

2018-11-25 Thread Brian Masney
Hi Doug, On Sun, Nov 25, 2018 at 09:20:02AM -0800, Doug Anderson wrote: > On Sun, Nov 25, 2018 at 1:37 AM Brian Masney wrote: > > I bisected the issue to the following commit: > > > > 5451781dadf8 ("regulator: core: Only count load for enabled consumers") > > > > We have to increase the load for

Re: Question about "regulator: core: Only count load for enabled consumers" in -next

2018-11-25 Thread Brian Masney
Hi Doug, On Sun, Nov 25, 2018 at 09:20:02AM -0800, Doug Anderson wrote: > On Sun, Nov 25, 2018 at 1:37 AM Brian Masney wrote: > > I bisected the issue to the following commit: > > > > 5451781dadf8 ("regulator: core: Only count load for enabled consumers") > > > > We have to increase the load for

[snd_hda_intel] snd_hda_intel causes high CPU lockup and system instability if mic disabled in BIOS on Lenovo P50

2018-11-25 Thread Alexander Kappner
My Lenovo P50 laptop has a BIOS option to disable the microphone. When this option gets chosen, the snd_hda_intel driver causes high CPU load on a single kworker thread, spinning on "process_unsol_events", and system instability. This behavior occurs from the time that the snd_hda_intel module

[snd_hda_intel] snd_hda_intel causes high CPU lockup and system instability if mic disabled in BIOS on Lenovo P50

2018-11-25 Thread Alexander Kappner
My Lenovo P50 laptop has a BIOS option to disable the microphone. When this option gets chosen, the snd_hda_intel driver causes high CPU load on a single kworker thread, spinning on "process_unsol_events", and system instability. This behavior occurs from the time that the snd_hda_intel module

linux-next: manual merge of the mips tree with the kbuild tree

2018-11-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mips tree got a conflict in: arch/mips/Kconfig between commit: eb01d42a7778 ("PCI: consolidate PCI config entry in drivers/pci") from the kbuild tree and commit: 47bf2b031754 ("mips: sort list of configs for Malta") from the mips tree. I fixed

linux-next: manual merge of the mips tree with the kbuild tree

2018-11-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mips tree got a conflict in: arch/mips/Kconfig between commit: eb01d42a7778 ("PCI: consolidate PCI config entry in drivers/pci") from the kbuild tree and commit: 47bf2b031754 ("mips: sort list of configs for Malta") from the mips tree. I fixed

[PATCH] ALSA: usb-audio: fix spelling mistake "Frequence" -> "Frequency"

2018-11-25 Thread Colin King
From: Colin Ian King There are spelling mistakes in equalizer name fields, fix them. Signed-off-by: Colin Ian King --- sound/usb/mixer_us16x08.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/usb/mixer_us16x08.c b/sound/usb/mixer_us16x08.c index

[PATCH] ALSA: usb-audio: fix spelling mistake "Frequence" -> "Frequency"

2018-11-25 Thread Colin King
From: Colin Ian King There are spelling mistakes in equalizer name fields, fix them. Signed-off-by: Colin Ian King --- sound/usb/mixer_us16x08.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/usb/mixer_us16x08.c b/sound/usb/mixer_us16x08.c index

Re: [PATCH 02/13] ARM: multi_v7_defconfig: Add missing systemd options

2018-11-25 Thread Otavio Salvador
Hello Olof, On Sun, Nov 25, 2018 at 8:25 PM Olof Johansson wrote: > Thanks for these patches. I don't have a reason to _not_ enable > systemd features, but would you mind providing a brief description of > what's not working without this change? Is it completely broken, or is > it just the

Re: [PATCH 02/13] ARM: multi_v7_defconfig: Add missing systemd options

2018-11-25 Thread Otavio Salvador
Hello Olof, On Sun, Nov 25, 2018 at 8:25 PM Olof Johansson wrote: > Thanks for these patches. I don't have a reason to _not_ enable > systemd features, but would you mind providing a brief description of > what's not working without this change? Is it completely broken, or is > it just the

Re: [PATCH] drivers/fsi/fsi-scom.c: Remove duplicate header

2018-11-25 Thread Benjamin Herrenschmidt
On Sat, 2018-11-24 at 13:51 +0530, Brajeswar Ghosh wrote: > On Fri, Nov 16, 2018 at 4:17 PM Brajeswar Ghosh > wrote: > > Remove linux/cdev.h which is included more than once > > > > Signed-off-by: Brajeswar Ghosh > > Any comment on this patch? Ah sorry, I missed it. Yeah it's fine. I will

Re: WARNING: bad usercopy in corrupted (2)

2018-11-25 Thread Matthew Wilcox
On Sun, Nov 25, 2018 at 01:27:09PM -0800, Matthew Wilcox wrote: > On Sun, Nov 25, 2018 at 07:30:04AM -0800, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:aea0a897af9e ptp: Fix pass zero to ERR_PTR() in ptp_clock_.. > > git tree: net-next > >

Re: [PATCH] drivers/fsi/fsi-scom.c: Remove duplicate header

2018-11-25 Thread Benjamin Herrenschmidt
On Sat, 2018-11-24 at 13:51 +0530, Brajeswar Ghosh wrote: > On Fri, Nov 16, 2018 at 4:17 PM Brajeswar Ghosh > wrote: > > Remove linux/cdev.h which is included more than once > > > > Signed-off-by: Brajeswar Ghosh > > Any comment on this patch? Ah sorry, I missed it. Yeah it's fine. I will

Re: WARNING: bad usercopy in corrupted (2)

2018-11-25 Thread Matthew Wilcox
On Sun, Nov 25, 2018 at 01:27:09PM -0800, Matthew Wilcox wrote: > On Sun, Nov 25, 2018 at 07:30:04AM -0800, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:aea0a897af9e ptp: Fix pass zero to ERR_PTR() in ptp_clock_.. > > git tree: net-next > >

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Andy Lutomirski
> On Nov 25, 2018, at 2:20 PM, Thomas Gleixner wrote: > > On Sun, 25 Nov 2018, Andi Kleen wrote: > >>> The current check whether two tasks belong to the same context is using the >>> tasks context id. While correct, it's simpler to use the mm pointer because >>> it allows to mangle the

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Andy Lutomirski
> On Nov 25, 2018, at 2:20 PM, Thomas Gleixner wrote: > > On Sun, 25 Nov 2018, Andi Kleen wrote: > >>> The current check whether two tasks belong to the same context is using the >>> tasks context id. While correct, it's simpler to use the mm pointer because >>> it allows to mangle the

Re: [PATCH] gpio: restore original GPLv2+ license of gpiolib-of.c sources

2018-11-25 Thread Linus Walleij
On Thu, Nov 22, 2018 at 2:59 PM Vladimir Zapolskiy wrote: > It's easy to verify that the change of drivers/gpio/gpiolib-of.c license > header to SPDX standard changes the license from GPLv2+ to GPLv2, and > this change corrects it. > > Fixes: dae5f0afcfc3 ("gpio: Use SPDX header for core

Re: [PATCH] gpio: restore original GPLv2+ license of gpiolib-of.c sources

2018-11-25 Thread Linus Walleij
On Thu, Nov 22, 2018 at 2:59 PM Vladimir Zapolskiy wrote: > It's easy to verify that the change of drivers/gpio/gpiolib-of.c license > header to SPDX standard changes the license from GPLv2+ to GPLv2, and > this change corrects it. > > Fixes: dae5f0afcfc3 ("gpio: Use SPDX header for core

Linux 4.20-rc4

2018-11-25 Thread Linus Torvalds
The patch stats this week look a little bit more normal than last tim, probably simply because it's also a normal-sized rc4 rather than the unusually small rc3. So this time around, about 60% of the patch is drivers (networking, HID, gpu, usb, mtd..) which is the usual distribution. The rest

Linux 4.20-rc4

2018-11-25 Thread Linus Torvalds
The patch stats this week look a little bit more normal than last tim, probably simply because it's also a normal-sized rc4 rather than the unusually small rc3. So this time around, about 60% of the patch is drivers (networking, HID, gpu, usb, mtd..) which is the usual distribution. The rest

Re: [PATCH] Add /proc/pid_generation

2018-11-25 Thread Pavel Machek
On Fri 2018-11-23 11:14:17, David Laight wrote: > From: Kevin Easton > > Sent: 22 November 2018 11:20 > > > > On Wed, Nov 21, 2018 at 12:14:44PM -0800, Daniel Colascione wrote: > > > This change adds a per-pid-namespace 64-bit generation number, > > > incremented on PID rollover, and exposes it

Re: [PATCH] Add /proc/pid_generation

2018-11-25 Thread Pavel Machek
On Fri 2018-11-23 11:14:17, David Laight wrote: > From: Kevin Easton > > Sent: 22 November 2018 11:20 > > > > On Wed, Nov 21, 2018 at 12:14:44PM -0800, Daniel Colascione wrote: > > > This change adds a per-pid-namespace 64-bit generation number, > > > incremented on PID rollover, and exposes it

Re: [PATCH v2 1/5] autofs - improve ioctl sbi checks

2018-11-25 Thread Ian Kent
On Fri, 2018-11-23 at 15:29 -0800, Andrew Morton wrote: > On Fri, 23 Nov 2018 18:41:50 +0800 Ian Kent wrote: > > > Al Viro made some suggestions to improve the implementation > > of commit 0633da48f0 "fix autofs_sbi() does not check super > > block type". > > > > The check is unnessesary in all

Re: [PATCH v2 1/5] autofs - improve ioctl sbi checks

2018-11-25 Thread Ian Kent
On Fri, 2018-11-23 at 15:29 -0800, Andrew Morton wrote: > On Fri, 23 Nov 2018 18:41:50 +0800 Ian Kent wrote: > > > Al Viro made some suggestions to improve the implementation > > of commit 0633da48f0 "fix autofs_sbi() does not check super > > block type". > > > > The check is unnessesary in all

[PATCH] riscv: perf: fix build warning

2018-11-25 Thread Olof Johansson
Due to the -ENOENT return, the variables can't actually be used uninitialized, but the compiler isn't smart enough in this case. Let's just set them before returning with the error for now, it'll be filled in once implemented. arch/riscv/kernel/perf_event.c:166:5: warning: 'type' may be used

[PATCH] media: dib0700: fix spelling mistake "Amplifyer" -> "Amplifier"

2018-11-25 Thread Colin King
From: Colin Ian King There is a spelling mistake in the MODULE_PARM_DESC text, fix it. Signed-off-by: Colin Ian King --- drivers/media/usb/dvb-usb/dib0700_devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/dib0700_devices.c

[PATCH] riscv: perf: fix build warning

2018-11-25 Thread Olof Johansson
Due to the -ENOENT return, the variables can't actually be used uninitialized, but the compiler isn't smart enough in this case. Let's just set them before returning with the error for now, it'll be filled in once implemented. arch/riscv/kernel/perf_event.c:166:5: warning: 'type' may be used

[PATCH] media: dib0700: fix spelling mistake "Amplifyer" -> "Amplifier"

2018-11-25 Thread Colin King
From: Colin Ian King There is a spelling mistake in the MODULE_PARM_DESC text, fix it. Signed-off-by: Colin Ian King --- drivers/media/usb/dvb-usb/dib0700_devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/dib0700_devices.c

[PATCH] sched/fair: Fix warning on non-SMP build

2018-11-25 Thread Olof Johansson
Caused by making the variable static: kernel/sched/fair.c:119:21: warning: 'capacity_margin' defined but not used [-Wunused-variable] Seems easiest to just move it up under the existing ifdef CONFIG_SMP that's a few lines above. Fixes: ed8885a14433a ('sched/fair: Make some variables static')

[PATCH] sched/fair: Fix warning on non-SMP build

2018-11-25 Thread Olof Johansson
Caused by making the variable static: kernel/sched/fair.c:119:21: warning: 'capacity_margin' defined but not used [-Wunused-variable] Seems easiest to just move it up under the existing ifdef CONFIG_SMP that's a few lines above. Fixes: ed8885a14433a ('sched/fair: Make some variables static')

Re: Function rcu_dynticks_eqs_exit spent more cycles to processor

2018-11-25 Thread Paul E. McKenney
On Sun, Nov 25, 2018 at 09:41:26PM +0200, Corcodel Marian wrote: > Hi below , in modified func from kernel/rcu/tree.c and not stall proc, > run perf for more info. > Item type atomic_t dynticks from rcu_dynticks stucture can bee replaced > with u8 type, because Intel guarrantee atomic operations

Re: Function rcu_dynticks_eqs_exit spent more cycles to processor

2018-11-25 Thread Paul E. McKenney
On Sun, Nov 25, 2018 at 09:41:26PM +0200, Corcodel Marian wrote: > Hi below , in modified func from kernel/rcu/tree.c and not stall proc, > run perf for more info. > Item type atomic_t dynticks from rcu_dynticks stucture can bee replaced > with u8 type, because Intel guarrantee atomic operations

Re: [patch V2 27/28] x86/speculation: Add seccomp Spectre v2 user space protection mode

2018-11-25 Thread Thomas Gleixner
On Sun, 25 Nov 2018, Linus Torvalds wrote: > [ You forgot to fix your quilt setup.. ] Duh. Should have pinned that package. > On Sun, 25 Nov 2018, Thomas Gleixner wrote: > > > > The mitigation guide documents how STIPB works: > > > >Setting bit 1 (STIBP) of the IA32_SPEC_CTRL MSR on a

Re: [patch V2 27/28] x86/speculation: Add seccomp Spectre v2 user space protection mode

2018-11-25 Thread Thomas Gleixner
On Sun, 25 Nov 2018, Linus Torvalds wrote: > [ You forgot to fix your quilt setup.. ] Duh. Should have pinned that package. > On Sun, 25 Nov 2018, Thomas Gleixner wrote: > > > > The mitigation guide documents how STIPB works: > > > >Setting bit 1 (STIBP) of the IA32_SPEC_CTRL MSR on a

Re: [PATCH 02/13] ARM: multi_v7_defconfig: Add missing systemd options

2018-11-25 Thread Olof Johansson
On Sun, Nov 25, 2018 at 1:19 PM Otavio Salvador wrote: > > From: Fabio Berton > > Signed-off-by: Fabio Berton > Signed-off-by: Otavio Salvador Hi Otavio, Thanks for these patches. I don't have a reason to _not_ enable systemd features, but would you mind providing a brief description of

Re: [PATCH 02/13] ARM: multi_v7_defconfig: Add missing systemd options

2018-11-25 Thread Olof Johansson
On Sun, Nov 25, 2018 at 1:19 PM Otavio Salvador wrote: > > From: Fabio Berton > > Signed-off-by: Fabio Berton > Signed-off-by: Otavio Salvador Hi Otavio, Thanks for these patches. I don't have a reason to _not_ enable systemd features, but would you mind providing a brief description of

Re: [PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Otavio Salvador
Hello Arnd, On Sun, Nov 25, 2018 at 7:48 PM Arnd Bergmann wrote: > On Sun, Nov 25, 2018 at 10:45 PM Otavio Salvador > wrote: > > > > On Sun, Nov 25, 2018 at 7:35 PM Arnd Bergmann wrote: > > > On Sun, Nov 25, 2018 at 10:24 PM Otavio Salvador > > > wrote: > > > > > > > > CONFIG_ARM_UNWIND is

Re: [PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Otavio Salvador
Hello Arnd, On Sun, Nov 25, 2018 at 7:48 PM Arnd Bergmann wrote: > On Sun, Nov 25, 2018 at 10:45 PM Otavio Salvador > wrote: > > > > On Sun, Nov 25, 2018 at 7:35 PM Arnd Bergmann wrote: > > > On Sun, Nov 25, 2018 at 10:24 PM Otavio Salvador > > > wrote: > > > > > > > > CONFIG_ARM_UNWIND is

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Thomas Gleixner
On Sun, 25 Nov 2018, Andi Kleen wrote: > > The current check whether two tasks belong to the same context is using the > > tasks context id. While correct, it's simpler to use the mm pointer because > > it allows to mangle the TIF_SPEC_IB bit into it. The context id based > > mechanism requires

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Thomas Gleixner
On Sun, 25 Nov 2018, Andi Kleen wrote: > > The current check whether two tasks belong to the same context is using the > > tasks context id. While correct, it's simpler to use the mm pointer because > > it allows to mangle the TIF_SPEC_IB bit into it. The context id based > > mechanism requires

[PATCH v3 2/3] ARM: imx_v6_v7_defconfig: Enable BT_BNEP

2018-11-25 Thread Otavio Salvador
From: Andreas Müller This is necessary to support network over bluetooth: | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: kernel lacks bnep-protocol support | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: System does not support network plugin Reviewed-by: Fabio Estevam

[PATCH v3 2/3] ARM: imx_v6_v7_defconfig: Enable BT_BNEP

2018-11-25 Thread Otavio Salvador
From: Andreas Müller This is necessary to support network over bluetooth: | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: kernel lacks bnep-protocol support | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: System does not support network plugin Reviewed-by: Fabio Estevam

[PATCH v3 3/3] ARM: imx_v6_v7_defconfig: Enable USB_ANNOUNCE_NEW_DEVICES

2018-11-25 Thread Otavio Salvador
From: Andreas Müller This is very helpful debugging USB issues. Reviewed-by: Fabio Estevam Signed-off-by: Andreas Müller Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 3/3] ARM: imx_v6_v7_defconfig: Enable USB_ANNOUNCE_NEW_DEVICES

2018-11-25 Thread Otavio Salvador
From: Andreas Müller This is very helpful debugging USB issues. Reviewed-by: Fabio Estevam Signed-off-by: Andreas Müller Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Otavio Salvador
CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but selected by ARM EABI (AEBI) support. This is done in preparation to making further changes to this defconfig cleaner. Reviewed-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v3: - mention it is enabled by ARM EABI

[PATCH v3 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Otavio Salvador
CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but selected by ARM EABI (AEBI) support. This is done in preparation to making further changes to this defconfig cleaner. Reviewed-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v3: - mention it is enabled by ARM EABI

[PATCH] parport: parport_pc: Mark expected switch fall-through

2018-11-25 Thread Sudip Mukherjee
From: "Gustavo A. R. Silva" In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 114730 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva Signed-off-by: Sudip Mukherjee ---

[PATCH] parport: parport_pc: Mark expected switch fall-through

2018-11-25 Thread Sudip Mukherjee
From: "Gustavo A. R. Silva" In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 114730 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva Signed-off-by: Sudip Mukherjee ---

Re: [PATCH 5/5] power: supply: sc27xx: Save last battery capacity

2018-11-25 Thread Pavel Machek
Hi! > Our charger manager can optimize the battery capacity periodically, so > we can save last battery capacity into registers. Then next system > power-on, we can read the last saved battery capacity as the initial > battery capacity, which can make the battery capacity more accurate. > >

Re: [PATCH 5/5] power: supply: sc27xx: Save last battery capacity

2018-11-25 Thread Pavel Machek
Hi! > Our charger manager can optimize the battery capacity periodically, so > we can save last battery capacity into registers. Then next system > power-on, we can read the last saved battery capacity as the initial > battery capacity, which can make the battery capacity more accurate. > >

Re: [PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Arnd Bergmann
On Sun, Nov 25, 2018 at 10:45 PM Otavio Salvador wrote: > > On Sun, Nov 25, 2018 at 7:35 PM Arnd Bergmann wrote: > > On Sun, Nov 25, 2018 at 10:24 PM Otavio Salvador > > wrote: > > > > > > CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but > > > selected by the Kconfig logic. This

Re: [PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Arnd Bergmann
On Sun, Nov 25, 2018 at 10:45 PM Otavio Salvador wrote: > > On Sun, Nov 25, 2018 at 7:35 PM Arnd Bergmann wrote: > > On Sun, Nov 25, 2018 at 10:24 PM Otavio Salvador > > wrote: > > > > > > CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but > > > selected by the Kconfig logic. This

Re: [PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Otavio Salvador
On Sun, Nov 25, 2018 at 7:35 PM Arnd Bergmann wrote: > On Sun, Nov 25, 2018 at 10:24 PM Otavio Salvador > wrote: > > > > CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but > > selected by the Kconfig logic. This is done in preparation to making > > further changes to this defconfig

Re: [PATCH 3/5] power: supply: sc27xx: Add fuel gauge low voltage alarm

2018-11-25 Thread Pavel Machek
On Wed 2018-11-14 17:07:06, Baolin Wang wrote: > From: Yuanjiang Yu > > Add low voltage alarm support to make sure the battery capacity > more accurate in lower voltage stage. > > Signed-off-by: Yuanjiang Yu > Signed-off-by: Baolin Wang Should we also shut down the system when that happens,

[PATCH 4/5] openrisc: simplify pte_alloc_one_kernel()

2018-11-25 Thread Mike Rapoport
The pte_alloc_one_kernel() function allocates a page using __get_free_page(GFP_KERNEL) when mm initialization is complete and memblock_phys_alloc() on the earlier stages. The physical address of the page allocated with memblock_phys_alloc() is converted to the virtual address and in the both cases

Re: [PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Otavio Salvador
On Sun, Nov 25, 2018 at 7:35 PM Arnd Bergmann wrote: > On Sun, Nov 25, 2018 at 10:24 PM Otavio Salvador > wrote: > > > > CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but > > selected by the Kconfig logic. This is done in preparation to making > > further changes to this defconfig

Re: [PATCH 3/5] power: supply: sc27xx: Add fuel gauge low voltage alarm

2018-11-25 Thread Pavel Machek
On Wed 2018-11-14 17:07:06, Baolin Wang wrote: > From: Yuanjiang Yu > > Add low voltage alarm support to make sure the battery capacity > more accurate in lower voltage stage. > > Signed-off-by: Yuanjiang Yu > Signed-off-by: Baolin Wang Should we also shut down the system when that happens,

[PATCH 4/5] openrisc: simplify pte_alloc_one_kernel()

2018-11-25 Thread Mike Rapoport
The pte_alloc_one_kernel() function allocates a page using __get_free_page(GFP_KERNEL) when mm initialization is complete and memblock_phys_alloc() on the earlier stages. The physical address of the page allocated with memblock_phys_alloc() is converted to the virtual address and in the both cases

Re: [PATCH] KVM: x86: Trace changes to active TSC offset regardless if vCPU in guest-mode

2018-11-25 Thread Liran Alon
> On 25 Nov 2018, at 19:53, Paolo Bonzini wrote: > > For some reason, kvm_x86_ops->write_l1_tsc_offset() skipped trace > of change to active TSC offset in case vCPU is in guest-mode. > This patch changes write_l1_tsc_offset() behavior to trace any change > to active TSC offset to aid

Re: [PATCH] KVM: x86: Trace changes to active TSC offset regardless if vCPU in guest-mode

2018-11-25 Thread Liran Alon
> On 25 Nov 2018, at 19:53, Paolo Bonzini wrote: > > For some reason, kvm_x86_ops->write_l1_tsc_offset() skipped trace > of change to active TSC offset in case vCPU is in guest-mode. > This patch changes write_l1_tsc_offset() behavior to trace any change > to active TSC offset to aid

Re: [PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Arnd Bergmann
On Sun, Nov 25, 2018 at 10:24 PM Otavio Salvador wrote: > > CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but > selected by the Kconfig logic. This is done in preparation to making > further changes to this defconfig cleaner. > Does this mean we no longer get the unwinder, or there

Re: [PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Arnd Bergmann
On Sun, Nov 25, 2018 at 10:24 PM Otavio Salvador wrote: > > CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but > selected by the Kconfig logic. This is done in preparation to making > further changes to this defconfig cleaner. > Does this mean we no longer get the unwinder, or there

Re: WARNING: bad usercopy in corrupted (2)

2018-11-25 Thread Matthew Wilcox
On Sun, Nov 25, 2018 at 07:30:04AM -0800, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:aea0a897af9e ptp: Fix pass zero to ERR_PTR() in ptp_clock_.. > git tree: net-next If you found it on net-next, I'd suggets cc'ing linux-net ... > console output:

Re: WARNING: bad usercopy in corrupted (2)

2018-11-25 Thread Matthew Wilcox
On Sun, Nov 25, 2018 at 07:30:04AM -0800, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:aea0a897af9e ptp: Fix pass zero to ERR_PTR() in ptp_clock_.. > git tree: net-next If you found it on net-next, I'd suggets cc'ing linux-net ... > console output:

[PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Otavio Salvador
CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but selected by the Kconfig logic. This is done in preparation to making further changes to this defconfig cleaner. Reviewed-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v2: - rework commit log (Fabio Estevam)

[PATCH v2 2/3] ARM: imx_v6_v7_defconfig: Enable BT_BNEP

2018-11-25 Thread Otavio Salvador
From: Andreas Müller This is necessary to support network over bluetooth: | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: kernel lacks bnep-protocol support | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: System does not support network plugin Reviewed-by: Fabio Estevam

[PATCH v2 3/3] ARM: imx_v6_v7_defconfig: Enable USB_ANNOUNCE_NEW_DEVICES

2018-11-25 Thread Otavio Salvador
From: Andreas Müller This is very helpful debugging USB issues. Reviewed-by: Fabio Estevam Signed-off-by: Andreas Müller Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 1/3] ARM: imx_v6_v7_defconfig: Remove explicit ARM_UNWIND disable

2018-11-25 Thread Otavio Salvador
CONFIG_ARM_UNWIND is removed when running 'savedefconfig', but selected by the Kconfig logic. This is done in preparation to making further changes to this defconfig cleaner. Reviewed-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v2: - rework commit log (Fabio Estevam)

[PATCH v2 2/3] ARM: imx_v6_v7_defconfig: Enable BT_BNEP

2018-11-25 Thread Otavio Salvador
From: Andreas Müller This is necessary to support network over bluetooth: | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: kernel lacks bnep-protocol support | Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: System does not support network plugin Reviewed-by: Fabio Estevam

[PATCH v2 3/3] ARM: imx_v6_v7_defconfig: Enable USB_ANNOUNCE_NEW_DEVICES

2018-11-25 Thread Otavio Salvador
From: Andreas Müller This is very helpful debugging USB issues. Reviewed-by: Fabio Estevam Signed-off-by: Andreas Müller Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 11/13] ARM: dts: rv1108: Add internal timer support

2018-11-25 Thread Otavio Salvador
Add support for the internal timer peripheral on RV1108. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 7ef6d965871c..42566adadc83 100644 ---

[PATCH 12/13] ARM: dts: rv1108: Pass the 'arm,cpu-registers-not-fw-configured' property

2018-11-25 Thread Otavio Salvador
Since firmware does not initialize any of the generic timer CPU registers pass the 'arm,cpu-registers-not-fw-configured' property as suggested in Documentation/devicetree/bindings/timer/arm,arch_timer.txt. This also aligns with other Rockchip SoC dtsi files. Signed-off-by: Otavio Salvador ---

[PATCH 11/13] ARM: dts: rv1108: Add internal timer support

2018-11-25 Thread Otavio Salvador
Add support for the internal timer peripheral on RV1108. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 7ef6d965871c..42566adadc83 100644 ---

[PATCH 12/13] ARM: dts: rv1108: Pass the 'arm,cpu-registers-not-fw-configured' property

2018-11-25 Thread Otavio Salvador
Since firmware does not initialize any of the generic timer CPU registers pass the 'arm,cpu-registers-not-fw-configured' property as suggested in Documentation/devicetree/bindings/timer/arm,arch_timer.txt. This also aligns with other Rockchip SoC dtsi files. Signed-off-by: Otavio Salvador ---

[PATCH 13/13] ARM: dts: rv1108: Pass the 'clock-latency' property

2018-11-25 Thread Otavio Salvador
Like it is done on cpu nodes of other Rockchip SoCs, pass the 'clock-latency' property to the CPU node, so that cpufreq driver can take the latency into account when switching frequencies. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 1 + 1 file changed, 1 insertion(+)

[PATCH 13/13] ARM: dts: rv1108: Pass the 'clock-latency' property

2018-11-25 Thread Otavio Salvador
Like it is done on cpu nodes of other Rockchip SoCs, pass the 'clock-latency' property to the CPU node, so that cpufreq driver can take the latency into account when switching frequencies. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 1 + 1 file changed, 1 insertion(+)

[PATCH 09/13] ARM: dts: rv1108: Assign the proper GPIO clocks

2018-11-25 Thread Otavio Salvador
It is not correct to assign the 24MHz clock oscillator to the GPIO ports. Fix it by assigning the proper GPIO clocks instead. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 10/13] ARM: dts: rv1108: Add UART DMA support

2018-11-25 Thread Otavio Salvador
Pass the 'dmas' property to the UART ports so that DMA can be supported. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index

[PATCH 08/13] ARM: dts: rv1108: Fix the PMU interrupt number

2018-11-25 Thread Otavio Salvador
According to the Rockchip vendor tree the PMU interrupt number is 76, so fix it accordingly. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi

[PATCH 09/13] ARM: dts: rv1108: Assign the proper GPIO clocks

2018-11-25 Thread Otavio Salvador
It is not correct to assign the 24MHz clock oscillator to the GPIO ports. Fix it by assigning the proper GPIO clocks instead. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 10/13] ARM: dts: rv1108: Add UART DMA support

2018-11-25 Thread Otavio Salvador
Pass the 'dmas' property to the UART ports so that DMA can be supported. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index

[PATCH 08/13] ARM: dts: rv1108: Fix the PMU interrupt number

2018-11-25 Thread Otavio Salvador
According to the Rockchip vendor tree the PMU interrupt number is 76, so fix it accordingly. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi

[PATCH 07/13] ARM: dts: rv1108: Fix the timer mask

2018-11-25 Thread Otavio Salvador
As done in the Rockchip vendor tree and also on other "arm,armv7-timer" instances, the correct GIC_CPU_MASK_SIMPLE mask is 4 instead of 1. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 07/13] ARM: dts: rv1108: Fix the timer mask

2018-11-25 Thread Otavio Salvador
As done in the Rockchip vendor tree and also on other "arm,armv7-timer" instances, the correct GIC_CPU_MASK_SIMPLE mask is 4 instead of 1. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

<    1   2   3   4   5   6   >