Re: [PATCH] [stable, netdev 4.4+] lan78xx: make sure RX_ADDRL & RX_ADDRH regs are always up to date

2018-11-08 Thread Sasha Levin
On Thu, Nov 08, 2018 at 12:01:27PM +0100, Paolo Pisati wrote: On Wed, Nov 07, 2018 at 07:17:51PM -0500, Sasha Levin wrote: So why not just take 760db29bdc completely? It looks safer than taking a partial backport, and will make applying future patches easier. I tried to do it and it doesn't loo

Re: [PATCH v5 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2018-11-08 Thread Waiman Long
On 10/04/2018 05:04 AM, Juri Lelli wrote: > On 03/10/18 15:42, Steven Rostedt wrote: >> On Mon, 3 Sep 2018 16:28:00 +0200 >> Juri Lelli wrote: >> >> >>> diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c >>> index 5b43f482fa0f..8dc26005bb1e 100644 >>> --- a/kernel/cgroup/cpuset.c >>> ++

Re: [PATCH 7/9] arm64: defconfig: Drop CRYPTO_DEV_FSL_DPAA2_CAAM

2018-11-08 Thread Horia Geanta
On 11/8/2018 3:23 PM, Marc Gonzalez wrote: > > > On November 8, 2018 12:38:10 PM GMT+01:00, Horia Geanta > wrote: >> On 11/8/2018 1:23 PM, Horia Geanta wrote: >>> On 11/7/2018 10:49 PM, Marc Gonzalez wrote: [ Add interested parties ] On 07/11/2018 21:18, Marc Gonzalez wrote:

Re: rcu: enable rcu_normal_after_boot by default for RT

2018-11-08 Thread Sebastian Andrzej Siewior
On 2018-11-01 16:02:35 [-0700], Paul E. McKenney wrote: > > The forcing of an expedited grace period is an expensive and very > > RT-application unfriendly operation, as it forcibly preempts all running > > tasks on CPUs which are preventing the gp from expiring. > > > > By default, as a policy de

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Mark Rutland
On Thu, Nov 08, 2018 at 03:45:36PM +0200, Nick Kossifidis wrote: > Στις 2018-11-07 14:06, Mark Rutland έγραψε: > > On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > > > Mark and Sundeep thanks a lot for your feedback, I guess you convinced > > > me that having a device tree binding

Re: [PATCH 22/23] SUNRPC: simplify auth_unix.

2018-11-08 Thread Chuck Lever
> On Nov 7, 2018, at 8:41 PM, NeilBrown wrote: > > On Wed, Nov 07 2018, Chuck Lever wrote: > >> Hi Neil- >> >> >>> On Nov 6, 2018, at 11:12 PM, NeilBrown wrote: >>> >>> 1/ discard 'struct unx_cred'. We don't need any data that >>> is not already in 'struct rpc_cred'. >>> 2/ Don't keep t

Re: [PATCH 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW

2018-11-08 Thread jbrunet
On Thu, 2018-11-08 at 19:33 +0400, Christian Hewitt wrote: > > +&audio { > + status = "okay"; > +}; > + > +&aiu_i2s_dma { > + status = "okay"; > +}; > + > +&i2s_dai { > + status = "okay"; > +}; The audio stuff has not made it's way upstream (yet) please drop this > + > +&cvbs_vdac_po

[ANNOUNCEMENT] Kselftest wiki updated

2018-11-08 Thread Shuah Khan
All, Updating Kselftest wiki and providing links to overview and how-to documents has been on my list of things to do for a while. It is now updated with the current status and links to documents. I am planning to write a detailed how-to blog/article. https://kselftest.wiki.kernel.org thanks, -

Re: rcu: Merge RCU-bh into RCU-preempt

2018-11-08 Thread Sebastian Andrzej Siewior
On 2018-11-01 16:18:04 [-0700], Paul E. McKenney wrote: > The need for this goes away as of the current merge window because > RCU-bh has gone away. (Aside from still being able to do things > like rcu_read_lock_bh() as a documentation device.) So in -RT rcu_read_lock_bh() does { local_bh_disabl

Re: [PATCH 3/4] Documentation: bindings: Add missing Amlogic SCPI sensor bindings

2018-11-08 Thread Sudeep Holla
On Thu, Nov 08, 2018 at 02:53:51PM +0100, Jerome Brunet wrote: > amlogic,meson-gxbb-scpi-sensors is both the driver and DT but is not > documented. Just add it to amlogic's scpi documentation > > Signed-off-by: Jerome Brunet > --- > Documentation/devicetree/bindings/arm/amlogic,scpi.txt | 7

Re: [PATCH v5 2/2] sched/fair: update scale invariance of PELT

2018-11-08 Thread Vincent Guittot
On Thu, 8 Nov 2018 at 12:35, Quentin Perret wrote: > > On Wednesday 07 Nov 2018 at 11:47:09 (+0100), Dietmar Eggemann wrote: > > The important bit for EAS is that it only uses utilization in the > > non-overutilized case. Here, utilization signals should look the same > > between the two approache

Re: perf: perf_fuzzer triggers NULL pointer dereference

2018-11-08 Thread Vince Weaver
On Thu, 8 Nov 2018, Vince Weaver wrote: > [91760.326510] BUG: unable to handle kernel NULL pointer dereference at > > [91760.334876] PGD 0 P4D 0 > [91760.337596] Oops: [#1] SMP PTI > [91760.341332] CPU: 6 PID: 0 Comm: swapper/6 Tainted: GW > 4.20.0-rc1+ #11

Re: rcu: make RCU_BOOST default on RT

2018-11-08 Thread Sebastian Andrzej Siewior
On 2018-11-01 16:25:18 [-0700], Paul E. McKenney wrote: > > --- a/kernel/rcu/Kconfig > > +++ b/kernel/rcu/Kconfig > > @@ -36,7 +36,7 @@ config TINY_RCU > > > > config RCU_EXPERT > > bool "Make expert-level adjustments to RCU configuration" > > - default n > > + default y if PREEMPT_RT_FU

[GIT PULL] sound fixes for 4.20-rc2

2018-11-08 Thread Takashi Iwai
Linus, please pull sound fixes for v4.20-rc2 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.20-rc2 The topmost commit is 5e93a125f521efd00d71af31c2a301f3d46af48c sound fixes for 4.20-rc2 Two

Re: [patch 0/2] Documentation/process: Add subsystem/tree handbook

2018-11-08 Thread Paul E. McKenney
On Thu, Nov 08, 2018 at 08:19:57AM -0700, Jonathan Corbet wrote: > On Thu, 8 Nov 2018 16:05:17 +0100 > Peter Zijlstra wrote: > > > On Thu, Nov 08, 2018 at 07:49:20AM -0700, Jonathan Corbet wrote: > > > Might it be worth asking Ted for a kernel summit slot to talk about this > > > next week? > >

Re: Question on comment header for for_each_domain()

2018-11-08 Thread Paul E. McKenney
On Thu, Nov 08, 2018 at 04:35:40PM +0100, Peter Zijlstra wrote: > On Thu, Nov 08, 2018 at 07:31:09AM -0800, Paul E. McKenney wrote: > > On Thu, Nov 08, 2018 at 10:21:51AM +0100, Peter Zijlstra wrote: > > > On Wed, Nov 07, 2018 at 03:00:02PM -0800, Paul E. McKenney wrote: > > > > Hello! > > > > > >

[PATCH] sched/fair: Make capacity_margin static

2018-11-08 Thread Muchun Song
The variable capacity_margin local to the source and do not need to be in global scope, so make it static. Signed-off-by: Muchun Song --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 340a2d8d49cb..f622fc85

Re: rcu: enable rcu_normal_after_boot by default for RT

2018-11-08 Thread Paul E. McKenney
On Thu, Nov 08, 2018 at 04:52:26PM +0100, Sebastian Andrzej Siewior wrote: > On 2018-11-01 16:02:35 [-0700], Paul E. McKenney wrote: > > > The forcing of an expedited grace period is an expensive and very > > > RT-application unfriendly operation, as it forcibly preempts all running > > > tasks on

Re: perf: perf_fuzzer triggers NULL pointer dereference

2018-11-08 Thread Alexander Shishkin
Vince Weaver writes: > On Thu, 8 Nov 2018, Vince Weaver wrote: > >> [91760.326510] BUG: unable to handle kernel NULL pointer dereference at >> >> [91760.334876] PGD 0 P4D 0 >> [91760.337596] Oops: [#1] SMP PTI >> [91760.341332] CPU: 6 PID: 0 Comm: swapper/6 Tainted: G

Re: [[PATCH]] mips: Fix switch to NO_BOOTMEM for SGI-IP27/loongons3 NUMA

2018-11-08 Thread Mike Rapoport
On Thu, Nov 08, 2018 at 03:44:28PM +0100, Thomas Bogendoerfer wrote: > Commit bcec54bf3118 ("mips: switch to NO_BOOTMEM") broke SGI-IP27 > and NUMA enabled loongson3 by doing memblock_set_current_limit() > before max_low_pfn has been evaluated. Both platforms need to do the > memblock_set_current_l

Applied "regulator: Document new regulator-max-step-microvolt property" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: Document new regulator-max-step-microvolt property has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Applied "regulator: core: Add new max_uV_step constraint" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: core: Add new max_uV_step constraint has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "regulator: core: Decouple regulators on regulator_unregister()" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: core: Decouple regulators on regulator_unregister() has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "regulator: core: Don't allow to get regulator until all couples resolved" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: core: Don't allow to get regulator until all couples resolved has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually someti

Applied "regulator: core: Mutually resolve regulators coupling" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: core: Mutually resolve regulators coupling has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "regulator: lochnagar: Explicitly include register headers" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: lochnagar: Explicitly include register headers has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "regulator: core: Add voltage balancing mechanism" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: core: Add voltage balancing mechanism has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "regulator: core: Change voltage setting path" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: core: Change voltage setting path has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "regulator: bd718x7: add missing linux/of.h inclusion (deja-vu)" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: bd718x7: add missing linux/of.h inclusion (deja-vu) has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "regulator: core: Use ww_mutex for regulators locking" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: core: Use ww_mutex for regulators locking has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 ho

Applied " regulator: Change regulator-coupled-max-spread property" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: Change regulator-coupled-max-spread property has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Applied "regulator: core: Limit regulators coupling to a single couple" to the regulator tree

2018-11-08 Thread Mark Brown
The patch regulator: core: Limit regulators coupling to a single couple has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Re: [PATCH 1/2] Revert "drm/sched: fix timeout handling v2"

2018-11-08 Thread Eric Anholt
"Koenig, Christian" writes: > Am 08.11.18 um 17:04 schrieb Eric Anholt: >> This reverts commit 0efd2d2f68cd5dbddf4ecd974c33133257d16a8e. Fixes >> this failure in V3D GPU reset: >> >> [ 1418.227796] Unable to handle kernel NULL pointer dereference at virtual >> address 0018 >> [ 1418.235947]

Re: [patch 0/2] Documentation/process: Add subsystem/tree handbook

2018-11-08 Thread Theodore Y. Ts'o
On Thu, Nov 08, 2018 at 04:05:17PM +0100, Peter Zijlstra wrote: > On Thu, Nov 08, 2018 at 07:49:20AM -0700, Jonathan Corbet wrote: > > Might it be worth asking Ted for a kernel summit slot to talk about this > > next week? > > Ah, on that, let me complain :-) > > My plumbers schedule is already 1

Re: [PATCH v5 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2018-11-08 Thread Juri Lelli
Hi, On 08/11/18 10:49, Waiman Long wrote: > On 10/04/2018 05:04 AM, Juri Lelli wrote: [...] > > +/** > > + * cpuset_read_only_lock - Grab the callback_lock from cpuset subsystem. > > + * > > + * Description: As described in full details the comment above cpuset_mutex > > + * and callback_lock de

Re: [PATCH v2 1/3] ARM: socfpga: Clean unused functions

2018-11-08 Thread Clément Péron
Hi Dinh On Thu, 8 Nov 2018 at 16:38, Dinh Nguyen wrote: > > Hi Clément, > > On 11/2/18 10:58 AM, Clément Péron wrote: > > Hi Dinh, > > > > Could you have a look at this serie ? > > > > I've applied 1/3 and 3/3. I need to look over 2/3 to determine if that > patch is still valid. I think a better

BUG: sleeping function called from invalid context at mm/slab.h:421

2018-11-08 Thread Qian Cai
Just booting up the latest git master (b00d209) on an aarch64 server and saw this. Nov 8 11:06:36 huawei-t2280-03 kernel: BUG: sleeping function called from invalid context at mm/slab.h:421 Nov 8 11:06:36 huawei-t2280-03 kernel: in_atomic(): 1, irqs_disabled(): 128, pid: 0, name: swapper/1 No

Re: [PATCH v6 3/3] arm64: dts: allwinner: a64: enable sound on Pinebook

2018-11-08 Thread Vasily Khoruzhick
On Wed, Nov 7, 2018 at 11:30 PM Chen-Yu Tsai wrote: > > On Thu, Nov 8, 2018 at 2:42 PM Vasily Khoruzhick wrote: > > > > This commit enables I2S, digital and analog parts of audiocodec on > > Pinebook > > > > Signed-off-by: Vasily Khoruzhick > > --- > > .../dts/allwinner/sun50i-a64-pinebook.dts

Re: [PATCH 3/4] Documentation: bindings: Add missing Amlogic SCPI sensor bindings

2018-11-08 Thread jbrunet
On Thu, 2018-11-08 at 16:04 +, Sudeep Holla wrote: > On Thu, Nov 08, 2018 at 02:53:51PM +0100, Jerome Brunet wrote: > > amlogic,meson-gxbb-scpi-sensors is both the driver and DT but is not > > documented. Just add it to amlogic's scpi documentation > > > > Signed-off-by: Jerome Brunet > > ---

Re: [Announce] LPC 2018: Testing and Fuzzing Microconference

2018-11-08 Thread Dhaval Giani
On Mon, Nov 5, 2018 at 10:05 AM Gustavo Padovan wrote: > > Hi Dhaval, > > On 9/19/18 7:13 PM, Dhaval Giani wrote: > > Hi folks, > > > > Sasha and I are pleased to announce the Testing and Fuzzing track at > > LPC [ 1 ]. We are planning to continue the discussions from last > > year's microconferen

Re: [patch 0/2] Documentation/process: Add subsystem/tree handbook

2018-11-08 Thread Mark Brown
On Thu, Nov 08, 2018 at 11:21:33AM -0500, Theodore Y. Ts'o wrote: > On Thu, Nov 08, 2018 at 04:05:17PM +0100, Peter Zijlstra wrote: > > My plumbers schedule is already 100% booked with MCs and other things. > > There is no kernel-summit schedule details available as of yet, but it > > is already a

Re: [patch 0/2] Documentation/process: Add subsystem/tree handbook

2018-11-08 Thread Jonathan Corbet
On Thu, 8 Nov 2018 11:21:33 -0500 "Theodore Y. Ts'o" wrote: > I thought there was a slot already scheduled on the refereed track, > "Towards a Linux Kernel Mainainer Handbook" (Tuesday at 4:45pm) for > this purpose? My expectation is that this will be an actual talk; it seemed rude to assume tha

Re: [PATCH v3 2/3] iio: adc: Add ad7124 support

2018-11-08 Thread Rob Herring
On Thu, Nov 8, 2018 at 9:02 AM Popa, Stefan Serban wrote: > > On Sb, 2018-11-03 at 12:16 +, Jonathan Cameron wrote: > > On Mon, 29 Oct 2018 18:38:31 +0200 > > Stefan Popa wrote: > > > > > > > > The ad7124-4 and ad7124-8 are a family of 4 and 8 channel sigma-delta > > > ADCs > > > with 24-bit

Re: srcu: use cpu_online() instead custom check

2018-11-08 Thread Sebastian Andrzej Siewior
On 2018-11-01 16:12:28 [-0700], Paul E. McKenney wrote: > > The current check via srcu_online is slightly racy because after looking > > at srcu_online there could be an interrupt that interrupted us long > > enough until the CPU we checked against went offline. > > I don't see how this can happen

Re: rcu: Frob softirq test

2018-11-08 Thread Sebastian Andrzej Siewior
On 2018-11-01 16:21:34 [-0700], Paul E. McKenney wrote: > > With RT_FULL we get the below wreckage: > > The code that this applies to has itself been fully frobbed as of the > current merge window. I believe that it should now work in -rt as is, > but who knows? ;-) I will drop that patch in th

Re: rcu: Merge RCU-bh into RCU-preempt

2018-11-08 Thread Paul E. McKenney
On Thu, Nov 08, 2018 at 05:02:57PM +0100, Sebastian Andrzej Siewior wrote: > On 2018-11-01 16:18:04 [-0700], Paul E. McKenney wrote: > > The need for this goes away as of the current merge window because > > RCU-bh has gone away. (Aside from still being able to do things > > like rcu_read_lock_bh(

Re: perf: perf_fuzzer triggers NULL pointer dereference

2018-11-08 Thread Vince Weaver
On Thu, 8 Nov 2018, Alexander Shishkin wrote: > Vince Weaver writes: > > > On Thu, 8 Nov 2018, Vince Weaver wrote: > > > >> [91760.326510] BUG: unable to handle kernel NULL pointer dereference at > >> > >> [91760.334876] PGD 0 P4D 0 > >> [91760.337596] Oops: [#1] SMP PTI

[PATCH] mailbox: tegra-hsp: use devm_kstrdup_const()

2018-11-08 Thread Bartosz Golaszewski
Use devm_kstrdup_const() in the tegra-hsp driver. This mostly serves as an example of how to use this new routine to shrink driver code. Also use devm_kzalloc() instead of regular kzalloc() to shrink the driver even more. Doorbell objects are only removed in the driver's remove callback so it's s

[PATCH] irq/irq_sim: add locking

2018-11-08 Thread Bartosz Golaszewski
Two threads can try to fire the irq_sim with different offsets and will end up fighting for the irq_work asignment. To fix it: add a mutex and lock it before firing. Suggested-by: Uwe Kleine-König Signed-off-by: Bartosz Golaszewski --- include/linux/irq_sim.h | 1 + kernel/irq/irq_sim.c| 5

Re: [PATCH v3 2/3] iio: adc: Add ad7124 support

2018-11-08 Thread Popa, Stefan Serban
On Jo, 2018-11-08 at 10:34 -0600, Rob Herring wrote: > On Thu, Nov 8, 2018 at 9:02 AM Popa, Stefan Serban > wrote: > > > > > > On Sb, 2018-11-03 at 12:16 +, Jonathan Cameron wrote: > > > > > > On Mon, 29 Oct 2018 18:38:31 +0200 > > > Stefan Popa wrote: > > > > > > > > > > > > > > > The

Re: KMSAN: uninit-value in vcs_read

2018-11-08 Thread Dmitry Vyukov
On Tue, May 15, 2018 at 9:26 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:e2ab7e8abba4 kmsan: temporarily disable visitAsmInstructio.. > git tree: https://github.com/google/kmsan.git/master > console output: https://syzkaller.appspot.com/x/log.txt?x

Re: Re: KMSAN: uninit-value in vcs_read

2018-11-08 Thread syzbot
On Tue, May 15, 2018 at 9:26 AM, syzbot wrote: Hello, syzbot found the following crash on: HEAD commit:e2ab7e8abba4 kmsan: temporarily disable visitAsmInstructio.. git tree: https://github.com/google/kmsan.git/master console output: https://syzkaller.appspot.com/x/log.txt?x=158

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Sudeep Holla
On Thu, Nov 08, 2018 at 04:52:30PM +0200, Nick Kossifidis wrote: > Στις 2018-11-07 14:28, Sudeep Holla έγραψε: > > > > I agree, but we have kernel code using it(arm64/kernel/topology.c). It's > > too late to remove it. But we can always keep to optional if we move the > > ARM64 binding as generic t

Re: [RFC PATCH v2 03/17] dt-bindings: cpufreq: Add binding for NVIDIA Tegra20/30

2018-11-08 Thread Dmitry Osipenko
On 06.11.2018 0:30, Rob Herring wrote: > On Sun, Oct 21, 2018 at 11:54:47PM +0300, Dmitry Osipenko wrote: >> Add device-tree binding that describes CPU frequency-scaling hardware >> found on NVIDIA Tegra20/30 SoC's. >> >> Signed-off-by: Dmitry Osipenko >> --- >> .../cpufreq/nvidia,tegra20-cpufreq

Re: [PATCH 1/2] Revert "drm/sched: fix timeout handling v2"

2018-11-08 Thread Koenig, Christian
Am 08.11.18 um 17:19 schrieb Eric Anholt: > "Koenig, Christian" writes: > >> Am 08.11.18 um 17:04 schrieb Eric Anholt: >>> This reverts commit 0efd2d2f68cd5dbddf4ecd974c33133257d16a8e. Fixes >>> this failure in V3D GPU reset: >>> >>> [ 1418.227796] Unable to handle kernel NULL pointer dereference

[PATCH v2 0/4] device property: Add fwnode_get_name() helper

2018-11-08 Thread Heikki Krogerus
Hi, This is the second version of my proposal for this helper. The first version can be checked here: https://lkml.org/lkml/2018/11/5/326 In order to support also ACPI properly, I decided to change the API. The function fwnode_name() is now fwnode_get_name(), and instead of returning pointer to t

[PATCH v2 1/4] device property: Introduce fwnode_get_name()

2018-11-08 Thread Heikki Krogerus
This helper returns the name of the node. The name is primarily expected to be returned from a new fwnode operation meant for this purpose, but when no name is returned, the helper will also attempt to read a device property "name". Signed-off-by: Heikki Krogerus --- drivers/base/property.c | 2

[PATCH v2 2/4] ACPI: property: Add acpi_fwnode_name()

2018-11-08 Thread Heikki Krogerus
This implements the get_name fwnode op for ACPI. Signed-off-by: Heikki Krogerus --- drivers/acpi/property.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c index 8c7c4583b52d..5b4c659c95d4 100644 --- a/drivers/acpi/pr

[PATCH v2 4/4] device property: Drop get_named_child_node callback

2018-11-08 Thread Heikki Krogerus
By using fwnode_get_name() in fwnode_get_named_child_node(), get_named_child_node implementations become boilerplate. Removing all of them. Signed-off-by: Heikki Krogerus --- drivers/acpi/property.c | 20 +--- drivers/base/property.c | 9 - drivers/of/property.c | 15 -

[PATCH v2 3/4] of/property: Add of_fwnode_name()

2018-11-08 Thread Heikki Krogerus
This implements get_name fwnode op for DT. Signed-off-by: Heikki Krogerus --- drivers/of/property.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/of/property.c b/drivers/of/property.c index f46828e3b082..9bc8fe136fa3 100644 --- a/drivers/of/property.c +++ b/drivers/of/

Re: [[PATCH]] mips: Fix switch to NO_BOOTMEM for SGI-IP27/loongons3 NUMA

2018-11-08 Thread Thomas Bogendoerfer
On Thu, 8 Nov 2018 18:18:23 +0200 Mike Rapoport wrote: > On Thu, Nov 08, 2018 at 03:44:28PM +0100, Thomas Bogendoerfer wrote: > > Commit bcec54bf3118 ("mips: switch to NO_BOOTMEM") broke SGI-IP27 > > and NUMA enabled loongson3 by doing memblock_set_current_limit() > > before max_low_pfn has been

Re: [PATCH anybus v3 6/6] misc: support HMS Profinet IRT industrial controller

2018-11-08 Thread Arnd Bergmann
On Thu, Nov 8, 2018 at 4:35 PM Sven Van Asbroeck wrote: > On Thu, Nov 8, 2018 at 9:20 AM Arnd Bergmann wrote: > > + struct { > > > + /* addresses IN NETWORK ORDER! */ > > > + __u32 ip_addr; > > > + __u32 subnet_msk; > > > + __u32 gate

[PATCH 3/3] gpio: mockup: implement get_multiple()

2018-11-08 Thread Bartosz Golaszewski
We already support set_multiple(). Implement get_multiple() as well. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index 3cd92912c414..a4c054cf9c5f 1

[PATCH 0/3] gpio: mockup: misc updates

2018-11-08 Thread Bartosz Golaszewski
The first patch is a fix that should go in for 4.20. Next two patches introduce features for 4.21 - lock protection of the dummy chip structures and implementation of the get_multiple() callback. Bartosz Golaszewski (3): gpio: mockup: fix indicated direction gpio: mockup: add locking gpio:

[PATCH 2/3] gpio: mockup: add locking

2018-11-08 Thread Bartosz Golaszewski
While no user reported any race condition problems with gpio-mockup, let's be on the safe side and use a mutex when performing any changes on the dummy chip structures. Suggested-by: Uwe Kleine-König Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 50

[PATCH 1/3] gpio: mockup: fix indicated direction

2018-11-08 Thread Bartosz Golaszewski
Commit 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning") fixed an existing issue but broke libgpiod tests by changing the default direction of dummy lines to output. We don't break user-space so make gpio-mockup behave as before. Signed-off-by: Bartosz Golaszewski --- drivers/

Re: [PATCH v1 10/11] regulator: core: Use ww_mutex for regulators locking

2018-11-08 Thread Dmitry Osipenko
On 08.11.2018 16:07, Mark Brown wrote: > On Fri, Oct 05, 2018 at 06:36:37PM +0300, Dmitry Osipenko wrote: > >> Wait/wound mutex shall be used in order to avoid lockups on locking of >> coupled regulators. > > This breaks the build due to a few of the drivers (wm8350 and da9210 at > least) taking

Re: [PATCH anybus v3 4/6] bus: support HMS Anybus-S bus

2018-11-08 Thread Arnd Bergmann
On Thu, Nov 8, 2018 at 4:47 PM Sven Van Asbroeck wrote: > On Thu, Nov 8, 2018 at 9:07 AM Arnd Bergmann wrote: > > I see this is called from the interrupt handler at the moment, which > > means you cannot call sleeping functions, but it also means that > > the timeout may never happen because the

Re: Re: KMSAN: uninit-value in vcs_read

2018-11-08 Thread Dmitry Vyukov
On Thu, Nov 8, 2018 at 8:48 AM, syzbot wrote: >> On Tue, May 15, 2018 at 9:26 AM, syzbot >> wrote: >>> >>> Hello, > > >>> syzbot found the following crash on: > > >>> HEAD commit:e2ab7e8abba4 kmsan: temporarily disable >>> visitAsmInstructio.. >>> git tree: https://github.com/google/kms

Re: [PATCH] riscv: add asm/unistd.h UAPI header

2018-11-08 Thread Palmer Dabbelt
On Thu, 08 Nov 2018 02:30:02 PST (-0800), Arnd Bergmann wrote: On Thu, Nov 8, 2018 at 3:10 AM Palmer Dabbelt wrote: On Wed, 07 Nov 2018 13:09:39 PST (-0800), Arnd Bergmann wrote: > On Wed, Nov 7, 2018 at 7:30 PM David Abdurachmanov > wrote: >> On Wed, Nov 7, 2018 at 1:08 AM Palmer Dabbelt wr

Re: [PATCH] riscv: add asm/unistd.h UAPI header

2018-11-08 Thread Palmer Dabbelt
On Thu, 08 Nov 2018 02:38:22 PST (-0800), david.abdurachma...@gmail.com wrote: On Thu, Nov 8, 2018 at 3:10 AM Palmer Dabbelt wrote: On Wed, 07 Nov 2018 13:09:39 PST (-0800), Arnd Bergmann wrote: > On Wed, Nov 7, 2018 at 7:30 PM David Abdurachmanov > wrote: >> On Wed, Nov 7, 2018 at 1:08 AM Pa

Re: EXP rcu: Revert expedited GP parallelization cleverness

2018-11-08 Thread Sebastian Andrzej Siewior
On 2018-11-01 16:30:31 [-0700], Paul E. McKenney wrote: > > (Commit 258ba8e089db23f760139266c232f01bad73f85c from linux-rcu) > > > > This commit reverts a series of commits starting with fcc635436501 ("rcu: > > Make expedited GPs handle CPU 0 being offline") and its successors, thus > > queueing e

Re: [PATCH] config: arm: omap2: remove PROVE_LOCKING from defconfig

2018-11-08 Thread Tony Lindgren
Hi, * Lukasz Luba [181009 08:36]: > PROVE_LOCKING enables LOCKDEP, which causes big overhead on cache and > bus transactions. > > On some ARM big.LITTLE architecutres (Exynos 5433) the overhead is really big. > The overhead can be measures using hackbench which will speed up > by x3 times (11sec

[PATCH v2 2/3] dt-bindings: arm: amlogic: Add support for the Smartlabs SML-5442TW

2018-11-08 Thread Christian Hewitt
The SML-5442TW is an STB for O2 Czech IPTV/VOD and DVB-S based on the Amlogic P231 reference design using the S905D chipset. Specs: 2GB DDR3 RAM 8GB eMMC storage 10/100 Base-T Ethernet 802.11 a/b/g/n/ac + BT 4.1 HS sdio wireless module (QCA9377) 2x single colour and 1x dual colour LEDs on the fron

[PATCH v2 1/3] dt-bindings: Add vendor prefix for Smartlabs

2018-11-08 Thread Christian Hewitt
Smartlabs are a professional integrator of Interactive TV solutions and IPTV/VOD devices. [1] (https://www.smartlabs.tv/en/about/) Signed-off-by: Christian Hewitt --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetr

[PATCH v2 0/3] ARM64: dts: meson-gxl: Add dts and bindings for Smartlabs SML-5442TW

2018-11-08 Thread Christian Hewitt
This series adds new bindings and a device-tree file for the Smartlabs SML-5442TW set-top box. v2 - removed audio nodes - changes soundcard name to "meson-gx-audio" - added missing uart-has-rtscts; Christian Hewitt (3): dt-bindings: Add vendor prefix for Smartlabs dt-bindings: arm: amlo

[PATCH v2 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW

2018-11-08 Thread Christian Hewitt
The Smartlabs SML-5442TW is broadly similar to the P231 reference design but with the following differences: - Yellow and Blue front-panel LEDs are available but disabled - Red/Green LED is used to signal off/on status - GPIOX_17 is set high to enable the QCA9377 wireless module - uart_AO can be a

RE: [PATCH v5 09/17] tpm: move tpm_validate_commmand() to tpm2-space.c

2018-11-08 Thread Winkler, Tomas
> > Move tpm_validate_command() to tpm2-space.c and make it part of the > tpm2_prepare_space() flow. Make cc resolution as part of the TPM space > functionality in order to detach it from rest of the tpm_transmit() flow. > > Signed-off-by: Jarkko Sakkinen > Reviewed-by: Stefan Berger > --- >

Re: [PATCH v2 2/3] drivers/irqchip: Add Actions external interrupts support

2018-11-08 Thread Marc Zyngier
On 26/08/18 16:20, Parthiban Nallathambi wrote: > Hello Marc, > > Thanks for your feedback. > > On 8/13/18 1:46 PM, Marc Zyngier wrote: >> On 12/08/18 13:22, Parthiban Nallathambi wrote: >>> Actions Semi Owl family SoC's S500, S700 and S900 provides support >>> for 3 external interrupt controller

Re: [PATCH v2 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW

2018-11-08 Thread jbrunet
On Thu, 2018-11-08 at 21:01 +0400, Christian Hewitt wrote: > The Smartlabs SML-5442TW is broadly similar to the P231 reference design > but with the following differences: > > - Yellow and Blue front-panel LEDs are available but disabled > - Red/Green LED is used to signal off/on status > - GPIOX_

From:Miss:Fatima Yusuf.

2018-11-08 Thread Miss.Fatima Yusuf
From:Miss:Fatima Yusuf. For sure this mail would definitely come to you as a surprise, but do take your good time to go through it, My name is Ms.Fatima Yusuf,i am from Ivory Coast. I lost my parents a year and couple of months ago. My father was a serving director of the Agro-exporting boar

Re: [PATCH v2 1/3] dt-bindings: Add vendor prefix for Smartlabs

2018-11-08 Thread Andreas Färber
Am 08.11.18 um 18:01 schrieb Christian Hewitt: > Smartlabs are a professional integrator of Interactive TV solutions > and IPTV/VOD devices. > > [1] (https://www.smartlabs.tv/en/about/) "[1]" is not referenced anywhere, so you could just as well use a plain link? > > Signed-off-by: Christian He

Re: [PATCH 3/3] coresight: etm3x: Release CLAIM tag when operated from perf

2018-11-08 Thread Mathieu Poirier
On Thu, 8 Nov 2018 at 02:49, Suzuki K Poulose wrote: > > Leo, > > On 07/11/2018 03:23, leo@linaro.org wrote: > > Hi Mathieu, > > > > On Mon, Nov 05, 2018 at 03:26:30PM -0700, Mathieu Poirier wrote: > >> This patch deals with the release of the CLAIM tag when the ETM is > >> operated from perf.

Re: srcu: use cpu_online() instead custom check

2018-11-08 Thread Paul E. McKenney
On Thu, Nov 08, 2018 at 05:38:51PM +0100, Sebastian Andrzej Siewior wrote: > On 2018-11-01 16:12:28 [-0700], Paul E. McKenney wrote: > > > The current check via srcu_online is slightly racy because after looking > > > at srcu_online there could be an interrupt that interrupted us long > > > enough

[RFC] x86/pci: Mark pci_root_ops as const

2018-11-08 Thread Zubin Mithra
pci_root_ops is only written to from within intel_mid_pci_init. This is linked in only when CONFIG_X86_INTEL_MID is set. If not for this, pci_root_ops could be marked as const. Fix this by replacing pci_root_ops usage with pci_root_ops_ptr. If CONFIG_X86_INTEL_MID is set, pci_root_ops_ptr will be

Re: [PATCH v2 3/4] coresight: etm3x: Deal with CLAIM tag before and after accessing HW

2018-11-08 Thread Suzuki K Poulose
Hi, On 07/11/2018 23:08, Mathieu Poirier wrote: This patch moves access to the CLAIM tag so that no modification to the HW happens before and after the CLAIM operation has been carried. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm3x.c | 16 1

Re: [PATCH v9 02/10] Makefile: Prepare for using macros for inline asm

2018-11-08 Thread Logan Gunthorpe
On 2018-11-07 11:18 p.m., Nadav Amit wrote: >> Apparently gcc will treat them like basic blocks and possibly move them >> around. > > Maybe it is possible to break the compilation of each object into two > stages: first, compile the source without assembly, and then take the > generated .s fil

Re: rcu: Merge RCU-bh into RCU-preempt

2018-11-08 Thread Sebastian Andrzej Siewior
On 2018-11-08 08:42:47 [-0800], Paul E. McKenney wrote: > On Thu, Nov 08, 2018 at 05:02:57PM +0100, Sebastian Andrzej Siewior wrote: > > On 2018-11-01 16:18:04 [-0700], Paul E. McKenney wrote: > > > The need for this goes away as of the current merge window because > > > RCU-bh has gone away. (Asi

[PATCH v3 1/3] i3c: master: Add driver for Synopsys DesignWare IP

2018-11-08 Thread Vitor soares
Add driver for Synopsys DesignWare I3C master IP Signed-off-by: Vitor soares --- Change in v3: - Use struct_size() (suggested by Matthew) Change in v2: - Rename some variables - Remove dw_i3c_master_dev_set_info() - Ajust code to match the changes made of i3c subsystem - Use readsl/writesl() to

[PATCH v3 0/3] Huawei laptops

2018-11-08 Thread Ayman Bagabas
Changes from v2: * Support for Huawei MBX * Style and formating issues [PATCH v3 1/3] The first patch adds support for missing hotkeys on some models. [PATCH v3 2/3] This one enables the front speakers on the Huawei Matebook X Pro (MBXP). This solves bug 200501 https://bugzilla.kernel.org/show_b

[PATCH v3 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-08 Thread Ayman Bagabas
Some of Huawei laptops come with a LED in the micmute key. This patch enables and disable this LED accordingly. Signed-off-by: Ayman Bagabas --- drivers/platform/x86/huawei_wmi.c| 1 + include/linux/platform_data/x86/huawei_wmi.h | 9 sound/pci/hda/huawei_wmi_helper.c

[PATCH v3 2/3] ALSA: hda: fix front speakers on Huawei MBXP.

2018-11-08 Thread Ayman Bagabas
This patch solves bug 200501 'Only 2 of 4 speakers playing sound.' https://bugzilla.kernel.org/show_bug.cgi?id=200501 It enables the front speakers on Huawei Matebook X Pro laptops. These laptops come with Dolby Atmos sound system and these pins configuration enables the front speakers. Signed-off

[PATCH v3 1/3] x86: add support for Huawei WMI hotkeys.

2018-11-08 Thread Ayman Bagabas
This driver adds support for missing hotkeys on some Huawei laptops. Currently, only Huawei Matebook X and Matebook X Pro is supported. Signed-off-by: Ayman Bagabas --- drivers/platform/x86/Kconfig | 11 ++ drivers/platform/x86/Makefile | 1 + drivers/platform/x86/huawei_wmi.c | 235

Re: [patch 2/2] Documentation/process: Add tip tree handbook

2018-11-08 Thread Dan Williams
On Thu, Nov 8, 2018 at 1:13 AM Peter Zijlstra wrote: > > On Thu, Nov 08, 2018 at 08:40:12AM +0100, Ingo Molnar wrote: > > > + - Cc: ``cc-ed-person `` > > > + > > > + If the patch should be backported to stable, then please add a '``Cc: > > > + sta...@vger.kernel.org``' tag, but do not Cc stabl

Re: [PATCH v2] x86/cpu: fix prototype warning

2018-11-08 Thread Borislav Petkov
On Thu, Nov 08, 2018 at 03:47:32PM +, Michael Matz wrote: > What tglx said. If you don't intend such functions to be called > from other units make them static, if you do intend them to be callable > declare the properly. > > [There's also one subtle issue with argument promotions. prototy

Re: [patch 2/2] Documentation/process: Add tip tree handbook

2018-11-08 Thread Borislav Petkov
On Thu, Nov 08, 2018 at 09:19:33AM -0800, Dan Williams wrote: > I know at least StGit mail does not grok that "#"notation. I've > stopped using it in favor of a "Fixes:" tag. I would think "Fixes:" is > preferred over "# " if only because it can be used to track > fixes to commits that have been ba

[RFC/RFT][PATCH v5] cpuidle: New timer events oriented governor for tickless systems

2018-11-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: [PATCH] cpuidle: New timer events oriented governor for tickless systems The venerable menu governor does some thigns that are quite questionable in my view. First, it includes timer wakeups in the pattern detection data and mixes them up with wakeups from other

Re: [PATCH] ARM: OMAP1: ams-delta: Fix possible use of uninitialized field

2018-11-08 Thread Tony Lindgren
* Janusz Krzysztofik [181107 13:28]: > While playing with initialization order of modem device, it has been > discovered that under some circumstances (early console init, I > believe) its .pm() callback may be called before the > uart_port->private_data pointer is initialized from > plat_serial82

Re: [RFC PATCH v4 01/13] ktask: add documentation

2018-11-08 Thread Jonathan Corbet
On Mon, 5 Nov 2018 11:55:46 -0500 Daniel Jordan wrote: > Motivates and explains the ktask API for kernel clients. A couple of quick thoughts: - Agree with Peter on the use of "task"; something like "job" would be far less likely to create confusion. Maybe you could even call it a "batch j

Re: [PATCH v2 4/4] coresight: etm3x: Release CLAIM tag when operated from perf

2018-11-08 Thread Suzuki K Poulose
On 07/11/2018 23:08, Mathieu Poirier wrote: This patch deals with the release of the CLAIM tag when the ETM is operated from perf. Otherwise the tag is left asserted and subsequent requests to use the device fail. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-et

<    5   6   7   8   9   10   11   12   13   14   >