[PATCH memory-model 6/8] kokr/locking/memory-barriers: De-emphasize smp_read_barrier_depends() some more

2018-05-14 Thread Paul E. McKenney
From: SeongJae Park This commit applies an upstream change, commit f28f0868feb1 ("locking/memory-barriers: De-emphasize smp_read_barrier_depends() some more") to the Korean version documentation. Signed-off-by: SeongJae Park Signed-off-by: Paul E.

[PATCH memory-model 8/8] atomic_ops.rst: Use `warning` rst directive

2018-05-14 Thread Paul E. McKenney
From: SeongJae Park One warning message in 'atomic_ops.rst' is not using 'warning' rst directive while others does. This commit modifies the message to use 'warning' rst directive. Signed-off-by: SeongJae Park Signed-off-by: Paul E. McKenney

[PATCH memory-model 5/8] kokr/memory-barriers: Fix description of data dependency barriers

2018-05-14 Thread Paul E. McKenney
From: SeongJae Park This commit applies an upstream change, commit 51de78892b12 ("memory-barriers: Fix description of data dependency barriers") to the Korean version document. Signed-off-by: SeongJae Park Signed-off-by: Paul E. McKenney

[PATCH memory-model 7/8] atomic_ops.rst: Fix wrong example code

2018-05-14 Thread Paul E. McKenney
From: SeongJae Park Example code snippets for necessary of READ_ONCE() and WRITE_ONCE() has an unnecessary line of code and wrong condition. This commit fixes them. Signed-off-by: SeongJae Park Signed-off-by: Paul E. McKenney

Re: [PATCH 18/18] rcu: Use pr_fmt to prefix "rcu: " to logging output

2018-05-14 Thread Joe Perches
On Mon, 2018-05-14 at 15:24 -0700, Paul E. McKenney wrote: > On Mon, May 14, 2018 at 02:41:59PM -0700, Joe Perches wrote: > > On Mon, 2018-05-14 at 13:29 -0700, Paul E. McKenney wrote: > > > On Thu, May 10, 2018 at 08:45:44AM -0700, Joe Perches wrote: > > > > Use a consistent logging prefix for

[PATCH memory-model 3/8] kokr/doc: De-emphasize smp_read_barrier_depends

2018-05-14 Thread Paul E. McKenney
From: SeongJae Park This commit applies an upstream change, commit 9ad3c143d7d6 ("doc: De-emphasize smp_read_barrier_depends") to the Korean version document. Signed-off-by: SeongJae Park Signed-off-by: Paul E. McKenney ---

[PATCH memory-model 2/8] kokr/doc: READ_ONCE() now implies smp_barrier_depends()

2018-05-14 Thread Paul E. McKenney
From: SeongJae Park This commit applies an upstream change, commit 40555946447a ("doc: READ_ONCE() now implies smp_barrier_depends()") to the Korean version document. Signed-off-by: SeongJae Park Signed-off-by: Paul E. McKenney

[PATCH memory-model 0/8] memory-barriers.txt and atomic_ops.rst updates

2018-05-14 Thread Paul E. McKenney
Hello! This series contains changes to the atomic_ops.rst file and to the memory-barriers.txt file and its Korean translation. These changes are ready for inclusion into -tip. 1. Fix memory-barriers.txt's ordering example contrasting DMA to MMIO, courtesy of Will Deacon. 2-6.

[PATCH v2] pstore: Convert internal records to timespec64

2018-05-14 Thread Kees Cook
This prepares pstore for converting the VFS layer to timespec64. Signed-off-by: Kees Cook --- I can carry this for v4.18 unless you'd like to do it as part of your series? --- drivers/firmware/efi/efi-pstore.c | 27 ++- fs/pstore/inode.c

Re: [PATCHv5] gpio: Remove VLA from gpiolib

2018-05-14 Thread Laura Abbott
On 04/20/2018 02:02 AM, Geert Uytterhoeven wrote: Hi Laura, Thanks for your patch! On Fri, Apr 13, 2018 at 11:24 PM, Laura Abbott wrote: The new challenge is to remove VLAs from the kernel (see https://lkml.org/lkml/2018/3/7/621) to eventually turn on -Wvla. Using a

Re: [PATCH v3 3/3] mailbox: ACPI: erroneous error message when parsing the ACPI PCCT

2018-05-14 Thread Al Stone
On 05/14/2018 03:04 PM, Prakash, Prashanth wrote: > > > On 4/30/2018 6:39 PM, Al Stone wrote: >> There have been multiple reports of the following error message: >> >> [0.068293] Error parsing PCC subspaces from PCCT >> >> This error message is not correct. In multiple cases examined, the

[PATCH 2/2] phy: qcom-qusb2: Quiet -EPROBE_DEFER from qusb2_phy_probe()

2018-05-14 Thread Douglas Anderson
The -EPROBE_DEFER virus demands special case code to avoid printing error messages when the error is only -EPROBE_DEFER. Spread the virus to a new host: qusb2_phy_probe(). Specifically handle when our regulators might not be ready yet. Signed-off-by: Douglas Anderson ---

[PATCH 1/2] phy: qcom-qmp: Quiet -EPROBE_DEFER from qcom_qmp_phy_probe()

2018-05-14 Thread Douglas Anderson
The -EPROBE_DEFER virus demands special case code to avoid printing error messages when the error is only -EPROBE_DEFER. Spread the virus to a new host: qcom_qmp_phy_probe(). Specifically handle when our regulators might not be ready yet. Signed-off-by: Douglas Anderson

[RFC PATCH 0/5] Add ChromeOS EC CEC Support

2018-05-14 Thread Neil Armstrong
Hi All, The new Google "Fizz" Intel-based ChromeOS device is gaining CEC support throught it's Embedded Controller, to enable the Linux CEC Core to communicate with it and get the CEC Physical Address from the correct HDMI Connector, the following must be added/changed: - Add the CEC sub-device

[RFC PATCH 4/5] mfd: cros-ec: Introduce CEC commands and events definitions.

2018-05-14 Thread Neil Armstrong
From: Stefan Adolfsson The EC can expose a CEC bus, this patch adds the CEC related definitions needed by the cros-ec-cec driver. Having a 16 byte mkbp event size makes it possible to send CEC messages from the EC to the AP directly inside the mkbp event instead of first

[RFC PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-14 Thread Neil Armstrong
The Chrome OS Embedded Controller can expose a CEC bus, this patch add the driver for such feature of the Embedded Controller. This driver is part of the cros-ec MFD and will be add as a sub-device when the feature bit is exposed by the EC. The controller will only handle a single logical

[PATCH] regulator: core: Quiet -EPROBE_DEFER from regulator_bulk_get()

2018-05-14 Thread Douglas Anderson
The -EPROBE_DEFER virus demands special case code to avoid printing error messages when the error is only -EPROBE_DEFER. Spread the virus to a new host: regulator_bulk_get() Signed-off-by: Douglas Anderson --- drivers/regulator/core.c | 5 +++-- 1 file changed, 3

[RFC PATCH 3/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-14 Thread Neil Armstrong
This patchs adds the cec_notifier feature to the intel_hdmi part of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate between each HDMI ports. The changes will allow the i915 HDMI code to notify EDID and HPD changes to an eventual CEC adapter. Signed-off-by: Neil Armstrong

[RFC PATCH 1/5] mfd: cros_ec_dev: Add CEC sub-device registration

2018-05-14 Thread Neil Armstrong
The EC can expose a CEC bus, thus add the cros-ec-cec MFD sub-device when the CEC feature bit is present. Signed-off-by: Neil Armstrong --- drivers/mfd/cros_ec_dev.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/mfd/cros_ec_dev.c

[RFC PATCH 2/5] media: cec-notifier: Get notifier by device and connector name

2018-05-14 Thread Neil Armstrong
In non device-tree world, we can need to get the notifier by the driver name directly and eventually defer probe if not yet created. This patch adds a variant of the get function by using the device name instead and will not create a notifier if not yet created. But the i915 driver exposes at

Re: [PATCH tip/core/rcu 0/21] Contention reduction for v4.18

2018-05-14 Thread Paul E. McKenney
On Tue, May 15, 2018 at 08:21:20AM +1000, Nicholas Piggin wrote: > On Mon, 14 May 2018 09:09:07 -0700 > "Paul E. McKenney" wrote: > > > On Mon, May 14, 2018 at 04:42:33PM +1000, Nicholas Piggin wrote: > > > On Sun, 22 Apr 2018 20:02:58 -0700 > > > "Paul E. McKenney"

Re: [PATCH] MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs

2018-05-14 Thread James Hogan
On Mon, May 14, 2018 at 04:49:43PM +0100, Maciej W. Rozycki wrote: > Check the TIF_32BIT_FPREGS task setting of the tracee rather than the > tracer in determining the layout of floating-point general registers in > the floating-point context, correcting access to odd-numbered registers > for

Re: [PATCH] net/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()'

2018-05-14 Thread Saeed Mahameed
On Mon, May 14, 2018 at 11:56 AM, David Miller wrote: > From: Christophe JAILLET > Date: Sat, 12 May 2018 19:09:25 +0200 > >> 'out' is allocated with 'kvzalloc()'. 'kvfree()' must be used to free it. >> >> Signed-off-by: Christophe JAILLET

[PATCH] objtool: ignore INT3 padding

2018-05-14 Thread Alexey Dobriyan
NOP padding doesn't count as unreachable instruction neither should INT3. Signed-off-by: Alexey Dobriyan --- tools/objtool/arch.h|3 ++- tools/objtool/arch/x86/decode.c |4 tools/objtool/check.c |3 +++ 3 files changed, 9

Re: [PATCH 1/2] mips: xilfpga: stop generating useless dtb.o

2018-05-14 Thread James Hogan
On Wed, Apr 25, 2018 at 11:10:35PM +0200, Alexandre Belloni wrote: > a dtb.o is generated from nexys4ddr.dts but this is never used since it has > been moved to mips/generic with commit b35565bb16a5 ("MIPS: generic: Add > support > for MIPSfpga") > > Signed-off-by: Alexandre Belloni

Re: [PATCH 18/18] rcu: Use pr_fmt to prefix "rcu: " to logging output

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 02:41:59PM -0700, Joe Perches wrote: > On Mon, 2018-05-14 at 13:29 -0700, Paul E. McKenney wrote: > > On Thu, May 10, 2018 at 08:45:44AM -0700, Joe Perches wrote: > > > Use a consistent logging prefix for all rcu related output. > > > > > > Signed-off-by: Joe Perches

Re: [PATCH tip/core/rcu 0/21] Contention reduction for v4.18

2018-05-14 Thread Nicholas Piggin
On Mon, 14 May 2018 09:09:07 -0700 "Paul E. McKenney" wrote: > On Mon, May 14, 2018 at 04:42:33PM +1000, Nicholas Piggin wrote: > > On Sun, 22 Apr 2018 20:02:58 -0700 > > "Paul E. McKenney" wrote: > > > > > Hello! > > > > > > This

linux-next: Signed-off-by missing for commit in the pm tree

2018-05-14 Thread Stephen Rothwell
Hi Rafael, Commit e689ba60f1f0 ("Merge branch 'opp/genpd-pstate-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm") is missing a Signed-off-by from its author and committer. This is probably because (despite its description) this is not a merge commit - it seems to have

Re: [RFC PATCH 02/10] dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle.

2018-05-14 Thread Chanwoo Choi
Hi, On 2018년 05월 15일 06:16, Enric Balletbo i Serra wrote: > The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU > general register files to know the DRAM type, so add a phandle to the > syscon that manages these registers. > > Signed-off-by: Enric Balletbo i Serra

Re: [RFC PATCH 03/10] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2018-05-14 Thread Chanwoo Choi
Hi, On 2018년 05월 15일 06:16, Enric Balletbo i Serra wrote: > Trusted Firmware-A (TF-A) for rk3399 implements a SiP call to get the > on-die termination (ODT) and auto power down parameters from kernel, > this patch adds the functionality to do this. Also, if DDR clock > frequency is lower than the

Re: [PATCH] KVM: fix spelling mistake: "cop_unsuable" -> "cop_unusable"

2018-05-14 Thread James Hogan
On Mon, May 14, 2018 at 06:23:50PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in debugfs_entries text > > Signed-off-by: Colin Ian King Adding KVM folk. Its a fairly trivial change so I'll just take

Re: [PATCH] i2c: hix5hd2: remove some dead code

2018-05-14 Thread Wolfram Sang
On Wed, May 09, 2018 at 09:46:03PM +0200, Peter Rosin wrote: > The else branch cannot be taken as i will always equal num. > Get rid of the whole construct. > > Signed-off-by: Peter Rosin Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH v2] arm64: dts: qcom: Collapse usb support into one node

2018-05-14 Thread Stephen Boyd
Quoting Yossi Mansharoff (2018-04-17 06:56:30) > We currently have three device nodes for the same USB hardware > block, as evident by the reuse of the same reg address multiple > times. Now that the chipidea driver fully supports OTG with the > MSM wrapper we can collapse all these nodes into one

Re: [tip:x86/pti 14/14] arch/x86/mm/mem_encrypt_boot.o: warning: objtool: .text+0x51: unreachable instruction

2018-05-14 Thread Alexey Dobriyan
On Mon, May 14, 2018 at 09:44:48PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti > head: 51bad67ffbce0aaa44579f84ef5d05597054ec6a > commit: 51bad67ffbce0aaa44579f84ef5d05597054ec6a [14/14] x86/asm: Pad > assembly functions with

Re: [PATCH 3.18 00/23] 3.18.109-stable review

2018-05-14 Thread Shuah Khan
On 05/14/2018 12:48 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.109 release. > There are 23 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.4 00/56] 4.4.132-stable review

2018-05-14 Thread Shuah Khan
On 05/14/2018 12:48 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.132 release. > There are 56 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.9 00/36] 4.9.100-stable review

2018-05-14 Thread Shuah Khan
On 05/14/2018 12:48 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.100 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.14 00/62] 4.14.41-stable review

2018-05-14 Thread Shuah Khan
On 05/14/2018 12:48 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.41 release. > There are 62 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.16 00/72] 4.16.9-stable review

2018-05-14 Thread Shuah Khan
On 05/14/2018 12:48 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.16.9 release. > There are 72 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH 2/2] ARM: dts: chromecast: use PWM for LEDs

2018-05-14 Thread Thomas Hebb
Control the Chromecast's two LEDs using PWM instead of GPIO pins. This allows for variable brightness. Signed-off-by: Thomas Hebb --- .../boot/dts/berlin2cd-google-chromecast.dts | 20 ++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git

[PATCH 1/2] pwm: berlin: Don't use broken prescaler values

2018-05-14 Thread Thomas Hebb
Six of the eight prescaler values available for Berlin PWM are not true prescalers but rather internal shifts that throw away the high bits of TCNT. Currently, we attempt to use those high bits, leading to erratic behavior. Restrict the prescaler configurations we select to only the two that

Re: [PATCH v4 6/6] devfreq: rk3399_dmc: fix spelling mistakes.

2018-05-14 Thread Chanwoo Choi
On 2018년 05월 14일 19:23, MyungJoo Ham wrote: >> Fix some spelling mistakes in error and debug messages. >> >> Signed-off-by: Enric Balletbo i Serra >> --- >> >> Changes in v4: >> - [6/6] Introduce this new patch that fixes some spelling. >> >> Changes in v3: None >>

Re: linux-next: manual merge of the bpf-next tree with the bpf tree

2018-05-14 Thread Stephen Rothwell
Hi Jakub, On Mon, 14 May 2018 13:41:40 -0700 Jakub Kicinski wrote: > > On Mon, 14 May 2018 11:57:00 +1000, Stephen Rothwell wrote: > > diff --cc tools/lib/bpf/libbpf.c > > index 8da4eeb101a6,df54c4c9e48a.. > > --- a/tools/lib/bpf/libbpf.c > > +++

[PATCH] ARM: dts: chromecast: override bad bootloader memory info

2018-05-14 Thread Thomas Hebb
On the Chromecast, the bootloader provides us with an ATAG_MEM of start=0x0100 and size=0x3eff8000. This is clearly incorrect, as the range given encompasses nearly a GiB but the Chromecast only has 512MiB of RAM! Additionally, this causes the kernel to be decompressed at 0x8000, below the

[PATCH] Documentation: arm: clean up Marvell Berlin family info

2018-05-14 Thread Thomas Hebb
Remove dead links, make spacing consistent, and note that the family was acquired by Synaptics in 2017. Signed-off-by: Thomas Hebb --- Documentation/arm/Marvell/README | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

Re: [PATCH ghak81 RFC V2 5/5] audit: collect audit task parameters

2018-05-14 Thread Paul Moore
On Sat, May 12, 2018 at 9:58 PM, Richard Guy Briggs wrote: > The audit-related parameters in struct task_struct should ideally be > collected together and accessed through a standard audit API. > > Collect the existing loginuid, sessionid and audit_context together in a > new

Re: linux-next: Tree for May 14

2018-05-14 Thread Stephen Rothwell
Hi Andy, On Mon, 14 May 2018 20:14:57 +0300 Andy Shevchenko wrote: > > On Mon, May 14, 2018 at 3:40 PM, Stephen Rothwell > wrote: > > On Mon, 14 May 2018 10:26:07 +0300 Andy Shevchenko > > wrote: > > > BTW, the

Re: [PATCH ghak81 RFC V2 4/5] audit: use inline function to set audit context

2018-05-14 Thread Paul Moore
On Sat, May 12, 2018 at 9:58 PM, Richard Guy Briggs wrote: > Recognizing that the audit context is an internal audit value, use an > access function to set the audit context pointer for the task > rather than reaching directly into the task struct to set it. > > Signed-off-by:

Re: [PATCH 2/2] x86/mm: Introduce 'no5lvl' kernel parameter

2018-05-14 Thread Kirill A. Shutemov
On Sun, May 13, 2018 at 09:55:00PM +, Thomas Gleixner wrote: > On Fri, 11 May 2018, Kirill A. Shutemov wrote: > > --- a/arch/x86/kernel/cpu/common.c > > +++ b/arch/x86/kernel/cpu/common.c > > @@ -1008,6 +1008,12 @@ static void __init early_identify_cpu(struct > > cpuinfo_x86 *c) > > */ >

Re: [PATCH 2/2] media: i2c: mt9t112: Add device tree support

2018-05-14 Thread Sakari Ailus
Hi Jacopo, On Mon, May 14, 2018 at 04:30:44PM +0200, jacopo mondi wrote: > Hi Sakari, > > On Mon, May 07, 2018 at 12:32:19PM +0300, Sakari Ailus wrote: > > Hi Jacopo, > > > > On Wed, Apr 25, 2018 at 01:00:14PM +0200, Jacopo Mondi wrote: > > [snip] > > > > static int mt9t112_probe(struct

Re: [PATCH 1/4] amba: Export amba_bustype

2018-05-14 Thread Kim Phillips
On Wed, 9 May 2018 17:02:34 +0100 Robin Murphy wrote: > probe (and thus call coresight_register()) first. Oh well, I guess > poking amba_bustype really does remain the only reasonable answer. Thanks all, I've added Robin's Reviewed-by, and submitted this patch to RMK's

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-14 Thread Andrew Morton
On Mon, 14 May 2018 20:28:01 +0300 Boaz Harrosh wrote: > On a call to mmap an mmap provider (like an FS) can put > this flag on vma->vm_flags. > > The VM_LOCAL_CPU flag tells the Kernel that the vma will be used > from a single-core only, and therefore invalidation (flush_tlb)

Re: [PATCH net-next v3 0/7] Microsemi Ocelot Ethernet switch support

2018-05-14 Thread James Hogan
On Mon, May 14, 2018 at 10:58:44PM +0200, Andrew Lunn wrote: > Hi Alexandre > > > > The ocelot dts changes are here for reference and should probably go > > through the MIPS tree once the bindings are accepted. > > For your next version, you probably want to drop those patches, so > that David

Re: [PATCH v2 10/14] tracing: Document trace_marker triggers

2018-05-14 Thread Tom Zanussi
Hi Steve, This is a nice new event feature - thanks for doing it! Some minor typo comments below.. On Mon, 2018-05-14 at 16:58 -0400, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Add documentation and an example on how to use trace_marker triggers. > >

Re: [Ksummit-discuss] bug-introducing patches

2018-05-14 Thread Stephen Rothwell
Hi Ulf, On Mon, 14 May 2018 10:36:04 +0200 Ulf Hansson wrote: > > I will ping the kernelci folkz to request them to include your new > fixes branch for daily builds. Excellent, thanks. > For mmc, please add my fixes branch according to below. > >

Re: [RFC PATCH 01/10] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-05-14 Thread Chanwoo Choi
Hi Enric, On 2018년 05월 15일 06:16, Enric Balletbo i Serra wrote: > Some rk3399 GRF (Generic Register Files) definitions can be used for > different drivers. Move these definitions to a common include so we > don't need to duplicate these definitions. > > Signed-off-by: Enric Balletbo i Serra

Re: [PATCH ghak81 RFC V2 3/5] audit: use inline function to get audit context

2018-05-14 Thread Paul Moore
On Sat, May 12, 2018 at 9:58 PM, Richard Guy Briggs wrote: > Recognizing that the audit context is an internal audit value, use an > access function to retrieve the audit context pointer for the task > rather than reaching directly into the task struct to get it. > >

Re: [PATCH 07/15] x86/split_lock: Handle suspend/hibernate and resume

2018-05-14 Thread Rafael J. Wysocki
On Monday, May 14, 2018 8:52:17 PM CEST Fenghua Yu wrote: > During suspend or hibernation, system enters BIOS. To avoid potential > BIOS issue that may generate #AC exception for split locked accesses, > handle the #AC as fatal exception, and block suspend or hibernation, > the split lock setting

Re: [PATCH 1/7] i2c: i2c-gpio: move header to platform_data

2018-05-14 Thread James Hogan
On Mon, May 14, 2018 at 11:37:20PM +0200, Wolfram Sang wrote: > > diff --git a/arch/mips/alchemy/board-gpr.c b/arch/mips/alchemy/board-gpr.c > > index 4e79dbd54a33..fa75d75b5ba9 100644 > > --- a/arch/mips/alchemy/board-gpr.c > > +++ b/arch/mips/alchemy/board-gpr.c > > @@ -29,7 +29,7 @@ > >

Re: [PATCH 18/18] rcu: Use pr_fmt to prefix "rcu: " to logging output

2018-05-14 Thread Joe Perches
On Mon, 2018-05-14 at 13:29 -0700, Paul E. McKenney wrote: > On Thu, May 10, 2018 at 08:45:44AM -0700, Joe Perches wrote: > > Use a consistent logging prefix for all rcu related output. > > > > Signed-off-by: Joe Perches > > I took parts of this (thank you!) but have concerns

[PATCH] drivers: bluetooth: hci_serdev: Removed unnecessary curly braces

2018-05-14 Thread Vaibhav Murkute
checkpatch.pl shows a warning for these unnecessary curly braces. so just removed those curly braces. Signed-off-by: Vaibhav Murkute --- drivers/bluetooth/hci_serdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH 1/7] i2c: i2c-gpio: move header to platform_data

2018-05-14 Thread Wolfram Sang
> arch/arm/mach-ks8695/board-acs5k.c | 2 +- > arch/arm/mach-sa1100/simpad.c| 2 +- > arch/mips/alchemy/board-gpr.c| 2 +- Those still need acks... > diff --git a/arch/arm/mach-ks8695/board-acs5k.c > b/arch/arm/mach-ks8695/board-acs5k.c >

[PATCH] staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy

2018-05-14 Thread Laura Abbott
Syzbot reported yet another warning with Ion: WARNING: CPU: 0 PID: 1467 at drivers/staging/android/ion/ion.c:122 ion_buffer_destroy+0xd4/0x190 drivers/staging/android/ion/ion.c:122 Kernel panic - not syncing: panic_on_warn set ... This is catching that a buffer was freed with an existing kernel

Re: [PATCH] m68k/uaccess: Revive 64-bit get_user()

2018-05-14 Thread Martijn Coenen
On Mon, May 14, 2018 at 3:57 PM, Geert Uytterhoeven wrote: > Revive support for 64-bit get_user(), which was disabled in commit > d94af931af42152e ("[PATCH] m68k: clean up uaccess.h") due to a "broken" > typeof in (then brand new) gcc-4.1. > > - Keep on using u64 for the

coding style changes to drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c

2018-05-14 Thread John Whitmore
Second attempt at this commit, apologies for that. Coding style changes to resolve some of the scripts/checkpatch.pl issues with the file drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c. There remain line length and CamelCase issues unresolved in the file.

linux-next: Signed-off-by missing for commits in the drm-intel tree

2018-05-14 Thread Stephen Rothwell
Hi all, Commits cb8ba171ae6c ("drm/i915/gvt: let force_to_nonpriv cmd handler only valid for LRI cmd") 0438a1059877 ("drm/i915/gvt: do not return error on handling force_to_nonpriv registers") 3d8b9e258b9d ("drm/i915/gvt: let NOPID be the default value of force_to_nonpriv registers")

[PATCH 02/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: space before ','

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl errors of the type: ERROR: space prohibited before that ',' Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 03/12] platform/early: export platform_match() locally

2018-05-14 Thread Geert Uytterhoeven
On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We will use this function to match devices in the early platform core > code. Export it locally in drivers/base. > > Signed-off-by: Bartosz Golaszewski

[PATCH 03/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: correct space before ')'

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl errors of the type: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 16 1 file changed, 8 insertions(+), 8

[PATCH 06/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: correct braces of else statement

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl error: ERROR: space required after that close brace '}' And balanced the brace of the same else statement: CHECK: Unbalanced braces around else statement Signed-off-by: John Whitmore ---

Re: [PATCH 12/12] of/platform: make the OF code aware of early platform drivers

2018-05-14 Thread Geert Uytterhoeven
Hi Bartosz, On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Check the relevant flag in the device node and skip the allocation > part for devices that were populated early. > > Signed-off-by: Bartosz

[PATCH 05/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: correct missing space before '('

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl errors of the type: ERROR: space required before the open parenthesis '(' Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 176 ++--- 1 file changed, 87 insertions(+), 89

[PATCH 08/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: correct whitespace style errors

2018-05-14 Thread John Whitmore
Coding style edit to clear the remaining checkpatch.pl errors: ERROR: trailing whitespace ERROR: space prohibited after that open parenthesis '(' ERROR: space required before the open brace '{' Signed-off-by: John Whitmore ---

[PATCH 07/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: correct indentation of switch statements

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl error: ERROR: switch and case should be at the same indent Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 48 +++--- 1 file changed, 24 insertions(+), 24 deletions(-)

[PATCH 09/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: removed redundant return statement

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl warning: WARNING: void function return statements are not generally useful Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 12/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: removed space from start of line

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl warning: WARNING: please, no spaces at the start of a line Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 04/12] platform: provide a separate function for initializing platform devices

2018-05-14 Thread Geert Uytterhoeven
On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The early platform driver framework will allocate platform devices > using its own internal mechanisms. Provide a function that allows to > initialize a platform

[PATCH 10/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: Added missing blank line after declarations.

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl warnings: WARNING: Missing a blank line after declarations Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH] ANDROID: binder: remove 32-bit binder interface.

2018-05-14 Thread Martijn Coenen
On Mon, May 14, 2018 at 4:00 PM, Geert Uytterhoeven wrote: > Patch sent. Thanks for the quick turn-around! > > BTW, sh also doesn't seem to have 64-bit get_user(). > There may be others. I checked quickly, nios2 is the only other arch that explicitly doesn't support it

[PATCH 13/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: removed redundant braces

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-)

[PATCH 16/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: removed blank lines before closing brace

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl check: CHECK: Blank lines aren't necessary before a close brace '}' Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 13 - 1 file changed, 13 deletions(-) diff --git

Re: [PATCH 09/12] platform/early: add an init section for early driver data

2018-05-14 Thread Geert Uytterhoeven
Hi Bartosz, On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Provide a separate section in which pointers to early platform driver > structs will be stored. > > Signed-off-by: Bartosz Golaszewski

[PATCH 14/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: corrected block comment style

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl warning: WARNING: Block comments use * on subsequent lines Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff

[PATCH 15/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: Use __func__ instead of hardcoded function name

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl warnings: WARNING: Prefer using '"%s...", __func__' to using '', this function's name, in a string Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12 ++-- 1 file changed, 6

Re: [PATCH 05/12] platform: export platform_device_release() locally

2018-05-14 Thread Geert Uytterhoeven
On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The early platform driver mechanism will use this function as the > device release callback. Make it available in drivers/base. > > Signed-off-by: Bartosz

[PATCH 19/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: removed extra blank lines

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl check: CHECK: Please don't use multiple blank lines Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 24 -- 1 file changed, 24 deletions(-) diff --git

Re: [PATCH v4 0/6] devfreq: rk3399_dmc: improve rk3399_dmc driver and it's documentation

2018-05-14 Thread Enric Balletbo i Serra
On 14/05/18 12:32, MyungJoo Ham wrote: >> Dear all, >> >> These patches is an attempt to improve a little bit the rk3399_dmc >> driver and it's documentation in order to have all in a better shape for >> a future work I am doing. My final intention is add ddrfreq support for >> rockchip drm

[PATCH 17/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: Added blank line after function

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl check: CHECK: Please use a blank line after function/struct/union/enum declarations Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 22/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: coding style correction of a function declaration

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl check: CHECK: Lines should not end with a '(' Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 20/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: added spaces around '&'

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl check: CHECK: spaces preferred around that '&' Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 23/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: removed unnecessary parentheses

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl check: CHECK: Unnecessary parentheses around ... Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[GIT PULL] afs: Fixes

2018-05-14 Thread David Howells
in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20180514 for you to fetch changes up to 4776cab43fd3111618112737a257dc3ef368eddd: afs: Fix the non-encryption of calls (2018-05-14 15:15:19 +0100

Re: [PATCH 06/12] of: add a new flag for OF device nodes

2018-05-14 Thread Geert Uytterhoeven
On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This flag indicates that a device node has been populated early and > that it needs different handling when called from > of_platform_populate(). > >

[PATCH 25/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: Added prefered spacing around operators

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl check: CHECK: spaces preferred around that 'x' Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH 24/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: coding style correction of NULL tests

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl check: CHECK: Comparison to NULL could be written "!..." Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH 08/12] of/platform: provide a separate routine for device initialization

2018-05-14 Thread Geert Uytterhoeven
On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The early platform device framework will need to initialize the > platform device objects without them being allocated in > of_device_alloc(). Provide a routine

Re: [PATCH 07/12] of/platform: provide a separate routine for setting up device resources

2018-05-14 Thread Geert Uytterhoeven
On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The early platform driver framework will need to setup the device > resources before the regular populating of the device tree happens. > > Provide a separate

[PATCH 27/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: removed redundant return statement

2018-05-14 Thread John Whitmore
Coding style edit to clear the checkpatch.pl warnings: WARNING: void function return statements are not generally useful Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 -- 1 file changed, 2 deletions(-) diff --git

linux-next: Signed-off-by missing for commit in the qcom tree

2018-05-14 Thread Stephen Rothwell
Hi Andy, Commit f1f74f1c01ec ("arm64: dts: qcom: Collapse usb support into one node") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpKlQyDE05H_.pgp Description: OpenPGP digital signature

[PATCH 26/27] drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc: Spelling correction in a comment

2018-05-14 Thread John Whitmore
Spelling correction in comment: singal -> signal Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c

<    1   2   3   4   5   6   7   8   9   10   >