[PATCH 2/2] soc/fsl/qe: Slighly simplify code

2017-08-20 Thread Christophe JAILLET
Return 0 instead of 'ret' (which is 0 at this point) to make the code more explicit. Also avoid a useless initialization of 'ret'. Signed-off-by: Christophe JAILLET --- drivers/soc/fsl/qe/qe_tdm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH] input/keyboard: fix platform_no_drv_owner.cocci warnings

2017-08-20 Thread Dmitry Torokhov
On Sun, Aug 20, 2017 at 11:19:38AM +0200, Julia Lawall wrote: > No need to set .owner here. The core will do it. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Fixes: 52cf590518d7 ("input/keyboard: Add support for Dollar Cove TI power > button") > Signed-off-by: Julia

[Patch v2 03/19] CIFS: SMBD: Implement SMBDirect

2017-08-20 Thread Long Li
From: Long Li Add code to implement SMBDirect transport and protocol. 1. Add APIs in header file. Upper layer code uses transport through the APIs. 2. Define SMBDirect connection in the header file. A connection is based on a RC QP in RDMA. 3. The implementation doesn't

Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac

2017-08-20 Thread Andrew Lunn
> I think we cannot use mdio-mux-mmioreg since the register for doing > the switch is in middle of the "System Control" and shared with > other functions. This is why we use a sycon/regmap for selecting > the MDIO. You could add a mdio-mux-regmap.c. However, it probably need restructuring of

Re: [PATCH v3 5/5] kernel: tracepoints: add support for relative references

2017-08-20 Thread Steven Rostedt
On Sat, 19 Aug 2017 19:10:35 +0100 Ard Biesheuvel wrote: > To avoid the need for relocating absolute references to tracepoint > structures at boot time when running relocatable kernels (which may > take a disproportionate amount of space), add the option to emit >

Re: [PATCH 1/4] gpu: host1x: Enable Tegra186 syncpoint protection

2017-08-20 Thread Dmitry Osipenko
On 18.08.2017 19:15, Mikko Perttunen wrote: > Since Tegra186 the Host1x hardware allows syncpoints to be assigned to > specific channels, preventing any other channels from incrementing > them. > > Enable this feature where available and assign syncpoints to channels > when submitting a job.

[PATCH 5/8] CIFS: Less function calls in cifs_mknod() after error detection

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 16:56:18 +0200 The kfree() function was called in a few cases by the cifs_mknod() function during error handling even if the passed variable contained a null pointer. * Adjust jump targets according to the Linux coding

[PATCH 6/8] CIFS: Return directly after a failed build_path_from_dentry() in cifs_do_create()

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 17:17:30 +0200 Return directly after a call of the function "build_path_from_dentry" failed at the beginning. Signed-off-by: Markus Elfring --- fs/cifs/dir.c | 6 ++ 1 file changed, 2

[PATCH v3 2/2] serial: 8250: of: Add new port type for MediaTek BTIF controller on MT7622/23 SoC

2017-08-20 Thread sean.wang
From: Sean Wang MediaTek BTIF controller is the serial interface similar to UART but it works only as the digital device which is mainly used to communicate with the connectivity module called CONNSYS inside the SoC which could be mostly found on those MediaTek SoCs with

[PATCH v3 0/2] serial: 8250: add support for MediaTek BTIF controller

2017-08-20 Thread sean.wang
From: Sean Wang Since v3: - enhancing the definition of the compatible strings in dt-bindings Since v2: - reusing 8250_of since the original driver has almost the same logic This patchset introduces the support for MediaTek BTIF controller. MediaTek BTIF controller is

[PATCH v3 1/2] dt-bindings: serial: 8250: Add MediaTek BTIF controller bindings

2017-08-20 Thread sean.wang
From: Sean Wang Document the devicetree bindings in 8250.txt for MediaTek BTIF controller which could be found on MT7622 and MT7623 SoC. Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/serial/8250.txt | 2 ++ 1 file changed, 2

[PATCH] video: fbdev: annotate fb_fix_screeninfo with const and __initconst

2017-08-20 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Some structures are used as a copy operation inside __init functions, so make them const and replace __initdata with __initconst to avoid section conflict error. Signed-off-by: Bhumika Goyal ---

[PATCH] gpio: zevio: make gpio_chip const

2017-08-20 Thread Bhumika Goyal
Make this const as it is only used as a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/gpio/gpio-zevio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index

Re: [PATCH v2] Kbuild: use -fshort-wchar globally

2017-08-20 Thread Arnd Bergmann
On Sun, Aug 20, 2017 at 2:31 PM, Masahiro Yamada wrote: > Hi Arnd, > > This patch was picked up for linux-next > (I assume it was queued up for 4.14-rc1) > but I see this warning in Linus' tree. > > If we are not comfortable with this warning in the 4.13 release, >

events: possible deadlock in __perf_event_task_sched_out

2017-08-20 Thread Shubham Bansal
Hi all, While fuzzing with syzkaller inside Qemu I've stumbled on the following warning which is reproducible with == // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include

Re: [PATCH] iio: accel: mma8452: code improvements to handle more than one event

2017-08-20 Thread Harinath Nampally
[PATCH V3]... (I think, I've lost track - but this needs to be in the patch title so we know which is latest. ok I will resend it with patch version and change history. This just missed my pull request for today anyway. There may be time for another pull towards the end of this week,

Re: [PATCH 2/4] gpu: host1x: Enable gather filter

2017-08-20 Thread Dmitry Osipenko
On 18.08.2017 19:15, Mikko Perttunen wrote: > The gather filter is a feature present on Tegra124 and newer where the > hardware prevents GATHERed command buffers from executing commands > normally reserved for the CDMA pushbuffer which is maintained by the > kernel driver. > > This commit enables

[PATCH] ieee802154: ca8210: Fix a potential NULL pointer dereference

2017-08-20 Thread Christophe JAILLET
'spi' is known to be NULL, so we dereference a NULL pointer here. Use 'pr_crit()' instead of 'dev_crit()' to report the message. Signed-off-by: Christophe JAILLET --- drivers/net/ieee802154/ca8210.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff

[PATCH 4/8] CIFS: Use common error handling code in cifs_mknod()

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 16:30:06 +0200 Add a jump target so that a bit of exception handling can be better reused in this function. Signed-off-by: Markus Elfring --- fs/cifs/dir.c | 6 +++--- 1 file changed, 3

[PATCH 3/8] CIFS: One function call less in cifs_lookup() after error detection

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 16:26:44 +0200 The kfree() function was called in up to two cases by the cifs_lookup() function during error handling even if the passed variable contained a null pointer. * Adjust a jump target according to the Linux

Re: [PATCH] staging:wlan-ng Fix Multiple line dereference

2017-08-20 Thread Greg KH
On Fri, Aug 18, 2017 at 06:16:39PM +0530, Janani S wrote: > This patch fixes multiple line dereference warning reported > by checkpatch script. > > Signed-off-by: Janani S > --- > drivers/staging/wlan-ng/hfa384x_usb.c | 12 > 1 file changed, 4 insertions(+), 8

Re: [PATCH 1/2] PM: docs: Describe high-level PM strategies and sleep states

2017-08-20 Thread Lukas Wunner
On Sun, Aug 20, 2017 at 06:05:05PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Reorganize the power management part of admin-guide by adding a > description of major power management strategies supported by the > kernel (system-wide and working-state

[PATCH 0/3] Ceph: Adjustments for some function implementations

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 20:32:10 +0200 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in __get_or_create_frag() Delete an

[PATCH 1/3] ceph: Delete an error message for a failed memory allocation in __get_or_create_frag()

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 20:00:09 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH] ieee802154: ca8210: Fix a potential NULL pointer dereference

2017-08-20 Thread Marcel Holtmann
Hi Christophe, > 'spi' is known to be NULL, so we dereference a NULL pointer here. > Use 'pr_crit()' instead of 'dev_crit()' to report the message. > > Signed-off-by: Christophe JAILLET > --- > drivers/net/ieee802154/ca8210.c | 5 + > 1 file changed, 1

[PATCH 3/4] btrfs: Improve eight size determinations

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 21:55:56 +0200 Replace the specification of data types by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

[PATCH 4/4] btrfs: Delete an unnecessary variable initialisation in tree_mod_log_eb_copy()

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 22:02:54 +0200 The variable "tm_list" will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring

Re: [RFC 2/3] rtc: Add Realtek RTD1295

2017-08-20 Thread Andrew Lunn
> +static void rtd119x_rtc_set_enabled(struct device *dev, bool enable) > +{ > + struct rtd119x_rtc *data = dev_get_drvdata(dev); > + u32 val; > + > + val = readl_relaxed(data->base + RTD_RTCEN); > + dev_info(dev, "%s: rtcen = 0x%08x\n", __func__, val); dev_dbg()? > +static int

[PATCH 2/8] CIFS: Improve 27 size determinations

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 15:40:55 +0200 Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

Re: [PATCH v6] irqchip: Add support for tango interrupt router

2017-08-20 Thread Mason
On 07/08/2017 14:47, Marc Zyngier wrote: > On 01/08/17 17:56, Mason wrote: > >> +/* >> + * This controller maps IRQ_MAX input lines to SPI_MAX output lines. >> + * The output lines are routed to GIC SPI 0 to 23. >> + * This driver muxes LEVEL_HIGH IRQs onto output line 0, >> + * and gives every

Re: + kbuild-disable-wformat-truncation-warnings-by-default.patch added to -mm tree

2017-08-20 Thread Arnd Bergmann
On Sun, Aug 20, 2017 at 3:19 PM, Masahiro Yamada wrote: > 2017-07-20 16:24 GMT+09:00 Arnd Bergmann : >> - enable all three warnings with "make W=1" in 4.13, but leave them >> disabled by default. >> - backport Linus' patch, plus the follow-up for

[PATCH 2/4] btrfs: Adjust 32 checks for null pointers

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 21:36:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus

[PATCH 1/4] btrfs: Delete an error message for a failed memory allocation in btrfsic_process_superblock()

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 21:10:17 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] nvmem: core: change of_property_read_bool to device_property_present in nvmem_register

2017-08-20 Thread Heiner Kallweit
When checking for property "read-only" it's better to use the more generic device_property_present as in addition to device tree nodes it also covers other node types like ACPI nodes. In addition switch to a logical or. Signed-off-by: Heiner Kallweit ---

[PATCH 1/2] PM: docs: Describe high-level PM strategies and sleep states

2017-08-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Reorganize the power management part of admin-guide by adding a description of major power management strategies supported by the kernel (system-wide and working-state power management) to it and dividing the rest of the material into the

[PATCH 2/2] PM: docs: Delete the obsolete states.txt document

2017-08-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The Documentation/power/states.txt document is now redundant and sonewhat outdated, so delete it. Signed-off-by: Rafael J. Wysocki --- Documentation/power/states.txt | 127

[PATCH 0/2] PM: docs: High-level update of PM part of admin-guide

2017-08-20 Thread Rafael J. Wysocki
Hi, This is a relatively high-level update of the PM part of admin-guide adding a description of PM strategies supported by the kernel and system sleep states. The old system sleep states document is removed. Thanks, Rafael

[PATCH 0/8] CIFS: Adjustments for several function implementations

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 18:24:56 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (8): Delete 11 error messages for a failed memory allocation Improve 27 size determinations One

Re: [PATCH 00/30] constify input serio_device_id

2017-08-20 Thread Dmitry Torokhov
On Thu, Aug 17, 2017 at 05:08:01PM +0530, Arvind Yadav wrote: > serio_device_id are not supposed to change at runtime. All functions > working with serio_device_id provided by work with > const serio_device_id. So mark the non-const structs as const. Applied the lot, thank you. > > Arvind

[PATCH 8/8] CIFS: One function call less in cifs_do_create() after error detection

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 17:47:44 +0200 The kfree() function was called in a few cases by the cifs_do_create() function during error handling even if the passed variable contained a null pointer. Add a jump target according to the Linux coding

[PATCH 7/8] CIFS: Delete an unnecessary variable initialisation in cifs_do_create()

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 17:20:36 +0200 The local variable "full_path" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

Re: Charitable Organization.

2017-08-20 Thread Sarah Edward J
**`** Glad to write to you this message, I wish to seek for your sincere help in setting up a charitable organization to help the less privileged people, the elderly people and also vulnerable people under your care, I want to use my late husband wealth of $3,000,000.00 to set up a charity

Re: [BUG] Deadlock due due to interactions of block, RCU, and cpu offline

2017-08-20 Thread Jeffrey Hugo
On 6/29/2017 6:18 PM, Paul E. McKenney wrote: On Thu, Jun 29, 2017 at 10:29:12AM -0600, Jeffrey Hugo wrote: On 6/27/2017 6:11 PM, Paul E. McKenney wrote: On Tue, Jun 27, 2017 at 04:32:09PM -0600, Jeffrey Hugo wrote: On 6/22/2017 9:34 PM, Paul E. McKenney wrote: On Wed, Jun 21, 2017 at

[PATCH 0/4] BTRFS: Adjustments for several function implementations

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 22:11:33 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete an error message for a failed memory allocation in btrfsic_process_superblock() Adjust 32

Re: [PATCH 0/3] devicetree: cleanup and improve DT cross-arch reference

2017-08-20 Thread Masahiro Yamada
Hi Rob, DT developers, Any comments for this series? Thanks. 2017-07-25 11:23 GMT+09:00 Masahiro Yamada : > > Masahiro Yamada (3): > of: remove drivers/of/testcase-data from include search path for CPP > of: remove arch/$(SRCARCH)/boot/dts from include search

[PATCH v4] iio: accel: mma8452: improvements to handle multiple events

2017-08-20 Thread Harinath Nampally
This driver supports multiple devices like mma8653, mma8652, mma8452, mma8453 and fxls8471. Almost all these devices have more than one event. Current driver design hardcodes the event specific information, so only one event can be supported by this driver at any given

Re: [PATCH V2 net-next] net: hns3: Add support to change MTU in HNS3 hardware

2017-08-20 Thread Leon Romanovsky
On Sun, Aug 20, 2017 at 02:35:58PM +, Salil Mehta wrote: > Hi Leon > > > -Original Message- > > From: Leon Romanovsky [mailto:l...@kernel.org] > > Sent: Sunday, August 20, 2017 8:05 AM > > To: Salil Mehta > > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y); > >

[PATCH 1/8] CIFS: Delete 11 error messages for a failed memory allocation

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 14:35:36 +0200 Omit extra messages for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH] iio: accel: mma8452: code improvements to handle more than one event

2017-08-20 Thread Jonathan Cameron
On Sun, 20 Aug 2017 10:42:54 -0400 Harinath Nampally wrote: [PATCH V3]... (I think, I've lost track - but this needs to be in the patch title so we know which is latest. > This driver supports multiple devices like mma8653, > mma8652, mma8452, mma8453 and

Re: [PATCH 1/4] gpu: host1x: Enable Tegra186 syncpoint protection

2017-08-20 Thread Dmitry Osipenko
On 18.08.2017 19:15, Mikko Perttunen wrote: > Since Tegra186 the Host1x hardware allows syncpoints to be assigned to > specific channels, preventing any other channels from incrementing > them. > > Enable this feature where available and assign syncpoints to channels > when submitting a job.

Re: [PATCH 2/4] gpu: host1x: Enable gather filter

2017-08-20 Thread Dmitry Osipenko
On 20.08.2017 19:44, Dmitry Osipenko wrote: > On 20.08.2017 19:24, Dmitry Osipenko wrote: >> On 18.08.2017 19:15, Mikko Perttunen wrote: >>> The gather filter is a feature present on Tegra124 and newer where the >>> hardware prevents GATHERed command buffers from executing commands >>> normally

Re: [PATCH 1/4] gpu: host1x: Enable Tegra186 syncpoint protection

2017-08-20 Thread Dmitry Osipenko
On 18.08.2017 19:15, Mikko Perttunen wrote: > Since Tegra186 the Host1x hardware allows syncpoints to be assigned to > specific channels, preventing any other channels from incrementing > them. > > Enable this feature where available and assign syncpoints to channels > when submitting a job.

Re: [PATCH] staging: rtl8192e: Change fixed function names with "%s: ", __func__

2017-08-20 Thread Greg Kroah-Hartman
On Fri, Aug 18, 2017 at 11:53:41PM +0800, 张树荣 wrote: > From: Shurong Zhang > > Replace hard-coded function names in strings with "%s", __func__ > in the dot11d.c file. Issue found by checkpatch.pl. > > Signed-off-by: Shurong Zhang > ---

[no subject]

2017-08-20 Thread Jagan Teki
unsubscribe git

[Patch v2 01/19] CIFS: Add RDMA mount option

2017-08-20 Thread Long Li
From: Long Li Add "rdma" to CIFS mount option, which tells CIFS this is for connecting to a SMB server over SMBDirect. Add checks to validate this feature is only used on SMB 3.X dialects. To connect to SMBDirect, use "mount.cifs -o rdma,vers=3.x". Signed-off-by: Long

[Patch v2 04/19] CIFS: SMBD: Add SMBDirect transport to SMB connection and Makefile

2017-08-20 Thread Long Li
From: Long Li Add SMBDirect as an optional connection to SMB session defined in CIFS. When connection is on SMBDirect, upper layer uses this connection to carry payloads. With the transport hooked up, add SMBDirect code to Makefile. Signed-off-by: Long Li

[Patch v2 06/19] CIFS: SMBD: Reconnect to SMBDirect session

2017-08-20 Thread Long Li
From: Long Li Do a reconnect on SMBDirect when it is used as the connection. Reconnect can happen for many reasons and it's mostly the decision of upper layer SMB2 not SMBDirect. Signed-off-by: Long Li --- fs/cifs/connect.c | 6 +- 1 file

[Patch v2 00/19] CIFS: Implement SMBDirect

2017-08-20 Thread Long Li
From: Long Li Starting with SMB2 dialect 3.0, Microsoft introduced SMBDirect transport protocol for transferring upper layer (SMB2) payload over RDMA via Infiniband, RoCE or iWARP. The prococol is published in [MS-SMBD]

[Patch v2 08/19] CIFS: SMBD: Set SMBDirect maximum read or write size for I/O

2017-08-20 Thread Long Li
From: Long Li When connecting over SMBDirect, the transport negotiates its maximum I/O sizes with the server and determines how to choose to do RDMA send/recv vs read/write. Expose these maximum I/O sizes to upper layer so we will get the correct sized payloads.

[Patch v2 11/19] CIFS: SMBD: Define memory registration for I/O data

2017-08-20 Thread Long Li
From: Long Li To prepare for RDMA read/write using memory registration, add memory registartion pointers to upper layer data I/O context. Signed-off-by: Long Li --- fs/cifs/cifsglob.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH] selftests: timers: Fix run_destructive_tests target to handle skipped tests

2017-08-20 Thread Benjamin Gaignard
2017-08-19 2:36 GMT+02:00 John Stultz : > On Thu, Aug 17, 2017 at 3:48 PM, Shuah Khan wrote: >> When a test exits with skip exit code of 4, "make run_destructive_tests" >> halts testing. Fix run_destructive_tests target to handle error exit codes.

Re: [PATCH] cpufreq: ti: Fix 'of_node_put' being called twice in error handling path

2017-08-20 Thread Viresh Kumar
On 19-08-17, 22:22, Christophe JAILLET wrote: > If 'dev_pm_opp_set_supported_hw()' fails, 'opp_data->opp_node' refcount > will be decremented 2 times. > One, just a few lines above, and another one in the error handling path. > > Fix it by simply moving the 'of_node_put' call of the normal path.

RE: [PATCH V2 net-next] net: hns3: Add support to change MTU in HNS3 hardware

2017-08-20 Thread Salil Mehta
Hi Leon > -Original Message- > From: Leon Romanovsky [mailto:l...@kernel.org] > Sent: Sunday, August 20, 2017 8:05 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

[PATCH] iio: accel: mma8452: code improvements to handle more than one event

2017-08-20 Thread Harinath Nampally
This driver supports multiple devices like mma8653, mma8652, mma8452, mma8453 and fxls8471. Almost all these devices have more than one event. Current driver design hardcodes the event specific information, so only one event can be supported by this driver at any given

Re: [PATCH v7 02/15] lib: Add shared copies of some GCC library routines

2017-08-20 Thread Palmer Dabbelt
On Tue, 01 Aug 2017 06:06:20 PDT (-0700), andriy.shevche...@linux.intel.com wrote: > On Mon, 2017-07-31 at 17:59 -0700, Palmer Dabbelt wrote: >> Many ports (m32r, microblaze, mips, parisc, score, and sparc) use >> functionally identical copies of various GCC library routine files, >> which came

Re: + kbuild-disable-wformat-truncation-warnings-by-default.patch added to -mm tree

2017-08-20 Thread Masahiro Yamada
Hi Arnd, 2017-07-20 16:24 GMT+09:00 Arnd Bergmann : > On Wed, Jul 19, 2017 at 11:50 PM, wrote: >> -- >> From: Arnd Bergmann >> Subject: kbuild: disable -Wformat-truncation warnings by

[PATCH 1/2] soc/fsl/qe: Fix a potential NULL pointer dereference in an error handling path

2017-08-20 Thread Christophe JAILLET
If 'of_find_device_by_node()' fails at line 153, a NULL pointer dereference (pdev) will occur in the error handling path. Just remove the 'devm_iounmap()' call from the error handling path. The corresponding is managed, there is no need to release explicitly here. Fixes: 35ef1c20fdb2 ("fsl/qe:

Re: [PATCH net-next v3] arm: eBPF JIT compiler

2017-08-20 Thread Shubham Bansal
> Acked-by: Alexei Starovoitov David, Russell, Kees and Daniel, Anything from your side? Is this patch ready to land in net-next?

Re: [PATCH 2/4] gpu: host1x: Enable gather filter

2017-08-20 Thread Dmitry Osipenko
On 20.08.2017 19:24, Dmitry Osipenko wrote: > On 18.08.2017 19:15, Mikko Perttunen wrote: >> The gather filter is a feature present on Tegra124 and newer where the >> hardware prevents GATHERed command buffers from executing commands >> normally reserved for the CDMA pushbuffer which is maintained

Re: [PATCH] input/keyboard: fix platform_no_drv_owner.cocci warnings

2017-08-20 Thread Julia Lawall
On Sun, 20 Aug 2017, Dmitry Torokhov wrote: > On Sun, Aug 20, 2017 at 11:19:38AM +0200, Julia Lawall wrote: > > No need to set .owner here. The core will do it. > > > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > > > Fixes: 52cf590518d7 ("input/keyboard: Add support for

[PATCH 3/3] ceph: Adjust 36 checks for null pointers

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 20:22:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus

[PATCH 2/3] ceph: Delete an unnecessary return statement in update_dentry_lease()

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 20 Aug 2017 20:08:25 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function.

[Patch v2 16/19] CIFS: SMBD: Read correct returned data length for RDMA write (SMB READ) I/O

2017-08-20 Thread Long Li
From: Long Li When RDMA write is used for SMB READ, the returned data length is returned in DataRemaining in the response packet. Reading it properly by adding a parameter to specifiy where the returned data length is. Signed-off-by: Long Li ---

[Patch v2 02/19] CIFS: SMBD: Add SMBDirect protocol and transport constants

2017-08-20 Thread Long Li
From: Long Li To prepare for protocol implementation, add constants and user-configurable values in the protocol. Signed-off-by: Long Li --- fs/cifs/smbdirect.c | 78 + fs/cifs/smbdirect.h | 20

[Patch v2 05/19] CIFS: SMBD: Connect to SMBDirect session

2017-08-20 Thread Long Li
From: Long Li When "rdma" is specified in the mount option, CIFS attempts to connect to SMBDirect instead of TCP socket. Signed-off-by: Long Li --- fs/cifs/connect.c | 15 +++ 1 file changed, 15 insertions(+) diff --git

[Patch v2 13/19] CIFS: SMBD: Use registered memory RDMA read for SMB write

2017-08-20 Thread Long Li
From: Long Li When sending I/O, if size is larger than rdma_readwrite_threshold we prepare to send SMB WRITE packet for a RDMA read via memory registration. The actual I/O is done out-of-the-band, so modify the relevant fields in the packet accordingly. Signed-off-by:

[Patch v2 15/19] CIFS: SMBD: Add parameter rdata to smb2_new_read_req

2017-08-20 Thread Long Li
From: Long Li When we assemble the SMB READ packet header, we need to know the I/O layout if this request is to use a RDMA write. rdata has all the information we need for memory registration. Add rdata to smb2_new_read_req. Signed-off-by: Long Li

[Patch v2 07/19] CIFS: SMBD: Destroy SMBDirect session on shutdown or umount

2017-08-20 Thread Long Li
From: Long Li Finally, when CIFS wants to umount, do a proper shutdown on transport. Signed-off-by: Long Li --- fs/cifs/connect.c | 8 1 file changed, 8 insertions(+) diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index

[Patch v2 09/19] CIFS: SMBD: Read data from SMBDirect

2017-08-20 Thread Long Li
From: Long Li With SMBDirect connected, use it for receiving data via RDMA recv. Signed-off-by: Long Li --- fs/cifs/connect.c | 8 1 file changed, 8 insertions(+) diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index f65950f..9b0da7f

[Patch v2 14/19] CIFS: SMBD: Deregister memory when finishing SMB write

2017-08-20 Thread Long Li
From: Long Li On write I/O finish, deregister the memory region if this was for a RDMA read. The call to smbd_deregister_mr will do local invalidation and possibly wait, if remote invalidate is not used. Signed-off-by: Long Li ---

[Patch v2 19/19] CIFS: SMBD: Add SMBDirect debug counters

2017-08-20 Thread Long Li
From: Long Li Export SMBDirect debug counters to /proc/fs/cifs/DebugData, for debugging and troubleshooting. Signed-off-by: Long Li --- fs/cifs/cifs_debug.c | 46 ++ 1 file changed, 46 insertions(+) diff

[Patch v2 17/19] CIFS: SMBD: Implement SMB READ via RDMA write through memory registration

2017-08-20 Thread Long Li
From: Long Li If I/O size is larger than rdma_readwrite_threshold, use RDMA write for SMB READ by specifying channel SMB2_CHANNEL_RDMA_V1 or SMB2_CHANNEL_RDMA_V1_INVALIDATE, depending on SMB dialect used. When RDMA write is used, there is no need to read from the

[Patch v2 18/19] CIFS: SMBD: Deregister memory when finishing SMB READ

2017-08-20 Thread Long Li
From: Long Li When SMB READ is finished, deregister the memory regions if RDMA write is used for this SMB READ. smbd_deregister_mr may need to do local invalidation and sleep, if server remote invalidation is not used. Signed-off-by: Long Li ---

[Patch v2 12/19] CIFS: SMBD: Fix the definition for SMB2_CHANNEL_RDMA_V1_INVALIDATE

2017-08-20 Thread Long Li
From: Long Li The channel value for requesting server remote invalidating local memory registration should be 0x0002 Signed-off-by: Long Li --- fs/cifs/smb2pdu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Patch v2 10/19] CIFS: SMBD: Send data through SMBDirect

2017-08-20 Thread Long Li
From: Long Li With SMBDirect connected, use it for sending data via RDMA send. Signed-off-by: Long Li --- fs/cifs/transport.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index ba62aaf..bddb699

Re: [PATCH] input/keyboard: fix platform_no_drv_owner.cocci warnings

2017-08-20 Thread Takashi Iwai
On Sun, 20 Aug 2017 18:28:41 +0200, Dmitry Torokhov wrote: > > On Sun, Aug 20, 2017 at 11:19:38AM +0200, Julia Lawall wrote: > > No need to set .owner here. The core will do it. > > > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > > > Fixes: 52cf590518d7

Re: [BUG] Deadlock due due to interactions of block, RCU, and cpu offline

2017-08-20 Thread Paul E. McKenney
On Sun, Aug 20, 2017 at 01:31:01PM -0600, Jeffrey Hugo wrote: > On 6/29/2017 6:18 PM, Paul E. McKenney wrote: > >On Thu, Jun 29, 2017 at 10:29:12AM -0600, Jeffrey Hugo wrote: > >>On 6/27/2017 6:11 PM, Paul E. McKenney wrote: > >>>On Tue, Jun 27, 2017 at 04:32:09PM -0600, Jeffrey Hugo wrote: >

Re: [PATCH v2 03/14] perf report: create real callchain entries for inlined frames

2017-08-20 Thread Milian Wolff
On Mittwoch, 16. August 2017 09:53:13 CEST Namhyung Kim wrote: > Hi Milian, > > On Sun, Aug 06, 2017 at 11:24:35PM +0200, Milian Wolff wrote: > > The inlined frames use a fake symbol that is tracked in a special > > map inside the dso, which is always sorted by name. All other > > It seems the

Re: [RFC 2/3] rtc: Add Realtek RTD1295

2017-08-20 Thread Andreas Färber
Am 20.08.2017 um 17:40 schrieb Andrew Lunn: >> +static void rtd119x_rtc_set_enabled(struct device *dev, bool enable) >> +{ >> +struct rtd119x_rtc *data = dev_get_drvdata(dev); >> +u32 val; >> + >> +val = readl_relaxed(data->base + RTD_RTCEN); >> +dev_info(dev, "%s: rtcen =

kvm splat in mmu_spte_clear_track_bits

2017-08-20 Thread Adam Borowski
Hi! I'm afraid I keep getting a quite reliable, but random, splat when running KVM: [ cut here ] WARNING: CPU: 5 PID: 5826 at arch/x86/kvm/mmu.c:717 mmu_spte_clear_track_bits+0x123/0x170 Modules linked in: tun nbd arc4 rtl8xxxu mac80211 cfg80211 rfkill nouveau video ttm

[PATCH v1 1/3] clk: rockchip: add rv1108 ACLK_GAMC and PCLK_GMAC ID

2017-08-20 Thread Elaine Zhang
This patch exports gmac aclk and pclk for dts reference. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rv1108-cru.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/rv1108-cru.h b/include/dt-bindings/clock/rv1108-cru.h index

Re: [PATCH v2 00/20] Speculative page faults

2017-08-20 Thread Sergey Senozhatsky
Hello, On (08/18/17 00:04), Laurent Dufour wrote: > This is a port on kernel 4.13 of the work done by Peter Zijlstra to > handle page fault without holding the mm semaphore [1]. > > The idea is to try to handle user space page faults without holding the > mmap_sem. This should allow better

[PATCH v1 3/3] clk: rockchip: rv1108: rename macphy to mac

2017-08-20 Thread Elaine Zhang
This MAC has no internal phy for rv1108. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rv1108.c | 12 ++-- include/dt-bindings/clock/rv1108-cru.h | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git

Re: [PATCH] net: dsa: mv88e6xxx: make irq_chip const

2017-08-20 Thread David Miller
From: Bhumika Goyal Date: Sat, 19 Aug 2017 16:25:52 +0530 > Make this const as it is only used in a copy operation. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Applied to net-next, thanks.

RE: [PATCH v3 0/5] fs/dcache: Limit # of negative dentries

2017-08-20 Thread Wangkai (Kevin,C)
> -Original Message- > From: Waiman Long [mailto:long...@redhat.com] > Sent: Friday, August 18, 2017 10:10 PM > To: Wangkai (Kevin,C); Alexander Viro; Jonathan Corbet > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > linux-fsde...@vger.kernel.org; Paul E. McKenney; Andrew

[PATCH] soc: ti: fix spelling mistake: "instace" -> "instance"

2017-08-20 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err messages Signed-off-by: Colin Ian King --- drivers/soc/ti/knav_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ti/knav_dma.c

Re: [PATCH 0/6] gpio: use devres for irq generic chip

2017-08-20 Thread Linus Walleij
On Wed, Aug 2, 2017 at 9:51 AM, Bartosz Golaszewski wrote: > We now provide resource managed versions of irq_alloc_generic_chip() > and irq_setup_generic_chip(). Use them in all relevant gpio drivers. > > Bartosz Golaszewski (6): > gpio: sta2x11: use devres for irq generic chip

Re: [PATCH v4 0/3] simulated interrupts

2017-08-20 Thread Linus Walleij
On Wed, Aug 16, 2017 at 4:44 PM, Thomas Gleixner wrote: > I merged the irq part (1+2) into a separate branch, which can be consumed > by the gpio folks so the mockup driver patch can be merged as well. > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

[patch -mm] mm, compaction: persistently skip hugetlbfs pageblocks fix

2017-08-20 Thread David Rientjes
Fix build: mm/compaction.c: In function ‘isolate_freepages_block’: mm/compaction.c:469:4: error: implicit declaration of function ‘pageblock_skip_persistent’ [-Werror=implicit-function-declaration] if (pageblock_skip_persistent(page, order)) { ^ mm/compaction.c:470:5: error: implicit

Re: [PATCH] switchdev: documentation: minor typo fixes

2017-08-20 Thread David Miller
From: Chris Packham Date: Mon, 21 Aug 2017 08:52:54 +1200 > Two typos in switchdev.txt > > Signed-off-by: Chris Packham Applied.

  1   2   3   4   5   >