Re: [PATCH v6 0/2] memory: Introduce ti-emif-sram driver

2017-12-03 Thread santosh.shilim...@oracle.com
On 11/30/17 2:56 PM, Dave Gerlach wrote: This is a resend of v5 of this series found here [1]. It introduces relocatable PM handlers for the emif that are copied to sram and run from there during low power mode entry. The patches still have the previous ACKs but have a small change to accomoda

Re: [PATCH 0/6] 66AK2G: Add DT nodes for few peripherals

2017-12-03 Thread santosh.shilim...@oracle.com
On 11/22/17 11:51 PM, Vignesh R wrote: This patch series adds DT nodes for bunch of peripherials on 66AK2G EVM and 66AK2G ICE boards. Tested on 66AK2G EVM and ICE boards Vignesh R (6): ARM: dts: keystone-k2g: Add QSPI DT entry ARM: dts: keystone-k2g-evm: Fix botched up merge ARM: dts:

Re: [RESEND PATCH 2/4] ARM: dts: keystone: Add generic compatible string for I2C EEPROM

2017-12-03 Thread santosh.shilim...@oracle.com
On 11/24/17 8:27 AM, Javier Martinez Canillas wrote: The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an

Re: [PATCH] Staging: pi433: fix brace coding style issues in pi433_if.c

2017-12-03 Thread Marek Tomas
On 12/02/2017 10:50 PM, Joe Perches wrote: > On Sat, 2017-12-02 at 22:05 +0100, Tomas Marek wrote: >> This patch fix several brace on next line, braces not necessary, space >> around =/<, and space before/after open/close parenthesis coding style >> errors find by checkpatch in pi433_if.c. >> >> Si

Re: [PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-03 Thread kbuild test robot
Hi Kunihiko, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Kunihiko-Hayashi/dt-bindings-net-add-DT-bindings-for-Socionext-UniPhier-AVE/20171203-095248 config: ia64-allyesconfig (attached as

Re: [PATCH v2] NTB: ntb_tool: Add full multi-port NTB API support

2017-12-03 Thread kbuild test robot
-Semin/NTB-ntb_tool-Add-full-multi-port-NTB-API-support/20171203-171239 config: x86_64-randconfig-x012-201749 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones

Re: [PATCH v2] NTB: ntb_tool: Add full multi-port NTB API support

2017-12-03 Thread kbuild test robot
-Semin/NTB-ntb_tool-Add-full-multi-port-NTB-API-support/20171203-171239 config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

Re: Memory corruption in powerpc guests with virtio_balloon (was Re: [PATCH v3] virtio_balloon: fix deadlock on OOM)

2017-12-03 Thread Michael Ellerman
"Michael S. Tsirkin" writes: > On Fri, Dec 01, 2017 at 11:31:08PM +1100, Michael Ellerman wrote: >> "Michael S. Tsirkin" writes: >> >> > fill_balloon doing memory allocations under balloon_lock >> > can cause a deadlock when leak_balloon is called from >> > virtballoon_oom_notify and tries to ta

[PATCH,v2] Make TI_ST a menuconfig to ease disabling it all

2017-12-03 Thread Vincent Legoll
v2: using bool instead of tristate

[PATCH] Make TI_ST a menuconfig to ease disabling it all

2017-12-03 Thread Vincent Legoll
No need to get into the submenu to disable all TI_ST-related config entries Signed-off-by: Vincent Legoll --- drivers/misc/ti-st/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/misc/ti-st/Kconfig b/drivers/misc/ti-st/Kconfig index f34dcc514730..f007cfa

Re: [PATCHv3 resend] uapi libc compat: add fallback for unsupported libcs

2017-12-03 Thread Hauke Mehrtens
On 11/12/2017 07:30 PM, Felix Janda wrote: > libc-compat.h aims to prevent symbol collisions between uapi and libc > headers for each supported libc. This requires continuous coordination > between them. > > The goal of this commit is to improve the situation for libcs (such as > musl) which are n

[PATCH] Make FSI a menuconfig to ease disabling it all

2017-12-03 Thread Vincent Legoll
No need to get into the submenu to disable all FSI-related config entries Signed-off-by: Vincent Legoll --- drivers/fsi/Kconfig | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/fsi/Kconfig b/drivers/fsi/Kconfig index 6821ed0cd5e8..513e35173aaa 100644 --- a/drivers

Re: [PATCH 1/2] dt-bindings: trivial: add tfa9879 device

2017-12-03 Thread Fabio Estevam
Hi Peter, On Sun, Dec 3, 2017 at 4:59 AM, Peter Rosin wrote: > Right. However, the patch adding that should have been sent to me, the > maintainer of the driver. That is carefully recorded in MAINTAINERS. So, > forgive me for assuming that nothing had changed in the driver behind my > back. > >

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-12-03 Thread Peng Fan
Hi Russell, > > > > > > > > > > > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > > > > > > > To boot Linux in Non-secure mode with l2x0, the l2x0 > > > > > > > controller is enabled in secure mode and ways locked to make > > > > > > > it seems L2 cache disabled during linux boot pro

Re: [PATCHv3 resend] uapi libc compat: add fallback for unsupported libcs

2017-12-03 Thread Dmitry V. Levin
Hi, On Sun, Nov 12, 2017 at 01:30:17PM -0500, Felix Janda wrote: > libc-compat.h aims to prevent symbol collisions between uapi and libc > headers for each supported libc. This requires continuous coordination > between them. > > The goal of this commit is to improve the situation for libcs (such

Re: KASAN: slab-out-of-bounds Read in strcmp

2017-12-03 Thread Tetsuo Handa
On 2017/12/02 3:52, syzbot wrote: > == > BUG: KASAN: slab-out-of-bounds in strcmp+0x96/0xb0 lib/string.c:328 > Read of size 1 at addr 8801cd99d2c1 by task syzkaller242593/3087 > > CPU: 0 PID: 3087 Comm: syzkaller242593 Not tainted

Re: [PATCH] ARM: dts: exynos: Add missing interrupt-controller properties to Exynos5410 PMU

2017-12-03 Thread Krzysztof Kozlowski
On Wed, Nov 29, 2017 at 07:36:10PM +0100, Krzysztof Kozlowski wrote: > PMU (system-controller@1004) is used as interrupt-parent for certain > nodes thus it should be marked as interrupt-controller to silence > warnings when building Exynos5410-based DTBs: > > arch/arm/boot/dts/exynos5410-odr

Re: [RFC] Rebasing the IDR

2017-12-03 Thread Daniel Vetter
On Thu, Nov 30, 2017 at 10:09 PM, Matthew Wilcox wrote: > On Thu, Nov 30, 2017 at 08:56:43PM +0100, Daniel Vetter wrote: >> Adding dri-devel, I think a pile of those are in drm. > > Yeah, quite a lot! This is a good thing; means you didn't invent your > own custom ID allocator. > >> On Thu, Nov 3

[PATCH] Make MIC a menuconfig to ease disabling it all

2017-12-03 Thread Vincent Legoll
No need to get into the submenu to disable all MIC-related config entries Signed-off-by: Vincent Legoll --- drivers/misc/mic/Kconfig | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/misc/mic/Kconfig b/drivers/misc/mic/Kconfig index 227cc7443671..badc84356715 100

Re: [PATCH v3 3/5] kasan: support alloca() poisoning

2017-12-03 Thread Dmitry Vyukov
On Fri, Dec 1, 2017 at 10:36 PM, Paul Lawrence wrote: > clang's AddressSanitizer implementation adds redzones on either side of > alloca()ed buffers. These redzones are 32-byte aligned and at least 32 > bytes long. > > __asan_alloca_poison() is passed the size and address of the allocated > buffe

Re: [PATCH v3 0/5] kasan: support alloca, LLVM

2017-12-03 Thread Dmitry Vyukov
On Fri, Dec 1, 2017 at 10:36 PM, Paul Lawrence wrote: > [PATCH v3 1/5] kasan: add compiler support for clang > Moved to start of patchset > > [PATCH v3 2/5] kasan/Makefile: Support LLVM style asan parameters. > Using Andrey's version. > Fixed up bug with testing CFLAGS_KASAN_SHADOW > Modif

[PATCH net-next 0/8] Hisilicon Network Subsystem 3 VF Ethernet Driver

2017-12-03 Thread Salil Mehta
This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem 3) Virtual Function Ethernet driver for hip08 family of SoCs. The Physical Function driver is already part of the Linux mainline. This VF driver has its Hardware Compatibility Layer and has commom/unified ENET layer/clie

[PATCH net-next 7/8] net: hns3: Change PF to add ring-vect binding & resetQ to mailbox

2017-12-03 Thread Salil Mehta
This patch is required to support ring-vector binding and reset of TQPs requested by the VF driver to the PF driver. Mailbox handler is added with corresponding VF commands/messages to handle the request. Signed-off-by: Salil Mehta Signed-off-by: lipeng --- .../ethernet/hisilicon/hns3/hns3pf/hc

[PATCH net-next 6/8] net: hns3: Add mailbox support to PF driver

2017-12-03 Thread Salil Mehta
Command queue provides the provision of Mailbox command which can be used for communication between PF and VF. PF handles messages from various VFs for fetching various information like, queue, vlan, link status related etc. It also handles the request from various VFs to perform certain privileged

[PATCH net-next 5/8] net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC

2017-12-03 Thread Salil Mehta
Most of the NAPI handling interface, skb buffer management, management of the RX/TX descriptors, ethool interface etc. has quite a bit of code which is common to VF and PF driver. This patch makes the exisitng PF's HNS3 ENET driver as the common ENET driver for both Virtual & Physical Function. Th

[PATCH net-next 2/8] net: hns3: Add mailbox support to VF driver

2017-12-03 Thread Salil Mehta
This patch adds the support of the mailbox to the VF driver. The mailbox shall be used as an interface to communicate with the PF driver for various purposes like {set|get} MAC related operations, reset, link status etc. The mailbox supports both synchronous and asynchronous command send to PF driv

[PATCH net-next 4/8] net: hns3: Add HNS3 VF driver to kernel build framework

2017-12-03 Thread Salil Mehta
This patch introduces the new Makefiles and updates existing Makefiles required to build the HNS3 Virtual Function driver. This also updates the Kconfig for introduction of new menuconfig entries related to VF driver. Signed-off-by: Salil Mehta Signed-off-by: lipeng --- drivers/net/ethernet/his

[PATCH net-next 8/8] net: hns3: Add mailbox interrupt handling to PF driver

2017-12-03 Thread Salil Mehta
All PF mailbox events are conveyed through a common interrupt (vector 0). This interrupt vector is shared by reset and mailbox. This patch adds the handling of mailbox interrupt event and its deferred processing in context to a separate mailbox task. Signed-off-by: Salil Mehta Signed-off-by: lip

[PATCH net-next 3/8] net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support

2017-12-03 Thread Salil Mehta
This patch adds the support of hardware compatibiltiy layer to the HNS3 VF Driver. This layer implements various {set|get} operations over MAC address for a virtual port, RSS related configuration, fetches the link status info from PF, does various VLAN related configuration over the virtual port,

[PATCH net-next 1/8] net: hns3: Add HNS3 VF IMP(Integrated Management Proc) cmd interface

2017-12-03 Thread Salil Mehta
This patch adds support of command interface for communication with the IMP(Integrated Management Processor) for HNS3 Virtual Function Driver. Each VF has support of CQP(Command Queue Pair) ring interface. Each CQP consis of send queue CSQ and receive queue CRQ. There are various commands a VF may

Re: [PATCH 2/3, V2] kernel: Move groups_sort to the caller of set_groups.

2017-12-03 Thread kbuild test robot
/commits/Thiago-Rafael-Becker/kernel-Move-groups_sort-to-the-caller-of-set_groups/20171203-191757 config: x86_64-randconfig-x011-201749 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: # save the attached .config to linux build tree make ARCH=x86_64

[question] handle the page table RAS error

2017-12-03 Thread gengdongjiu
Hi all, Sorry to disturb you. Now the ARM64 has supported the RAS, when enabling this feature, we encounter a issue. If the user space application happen page table RAS error, Memory error handler(memory_failure()) will do nothing except make a poisoned page flag, and fault handler in arch/ar

Re: [PATCH] cpu/hotplug: merge cpuhp_bp_states&cpuhp_ap_states as cpuhp_hp_states

2017-12-03 Thread Lai Jiangshan
On Sun, Dec 3, 2017 at 2:33 PM, Paul E. McKenney wrote: > On Fri, Dec 01, 2017 at 09:50:05PM +0800, Lai Jiangshan wrote: >> cpuhp_bp_states&cpuhp_ap_states have diffent set of steps >> without any conflicting configed steps, so that they can >> be merged. >> >> The original `[CPUHP_BRINGUP_CPU] =

Re: [PATCH v6 4/6] dt: bindings: lp8860: Update the bindings to the standard

2017-12-03 Thread Jacek Anaszewski
Dan, On 12/01/2017 05:56 PM, Dan Murphy wrote: > Update the lp8860 dt binding to the LED standard where > the LED should have a child node and also adding a > LED trigger entry. > > Signed-off-by: Dan Murphy > --- > > v6 - New patch to fix binding documentation > > Documentation/devicetree/bi

Re: KASAN: slab-out-of-bounds Read in strcmp

2017-12-03 Thread Tetsuo Handa
Tetsuo Handa wrote: > which will allow strcmp() to trigger out of bound read when "size" is > larger than strlen(initial_sid_to_string[i]). Oops. "smaller" than. > > Thus, I guess the simplest fix is to use strncmp() instead of strcmp(). Can somebody test below patch? (My CentOS 7 environment d

Re: [PATCH v6 1/6] leds: Add new API to derive a LED name

2017-12-03 Thread Jacek Anaszewski
Dan, On 12/01/2017 05:56 PM, Dan Murphy wrote: > Create an API that is called to derive the > LED name from either the DT label in the child > node or if that does not exist from the parent > node name and an alternate label that is passed in. > > Signed-off-by: Dan Murphy > --- > > v6 - New pa

Re: [PATCH v4 2/2] arm64: Add software workaround for Falkor erratum 1041

2017-12-03 Thread Shanker Donthineni
Hi Will, thanks for your review comments. On 12/01/2017 05:24 AM, Will Deacon wrote: > On Mon, Nov 27, 2017 at 05:18:00PM -0600, Shanker Donthineni wrote: >> The ARM architecture defines the memory locations that are permitted >> to be accessed as the result of a speculative instruction fetch from

Re: [PATCH v6 4/6] dt: bindings: lp8860: Update the bindings to the standard

2017-12-03 Thread Jacek Anaszewski
Hi Dan, Thanks for the patch. On 12/01/2017 05:56 PM, Dan Murphy wrote: > Update the lp8860 dt binding to the LED standard where > the LED should have a child node and also adding a > LED trigger entry. > > Signed-off-by: Dan Murphy > --- > > v6 - New patch to fix binding documentation > > D

[PATCH] perf tools: set GUI mode after returning from perf_session__new()

2017-12-03 Thread Song Seok Ho
If perf_session__new() returns NULL with use_browser set to 2 via --gtk option previously, perf dies quietly without printing any errors. The reason behind this is that GTK is not yet initialized when the caller inside perf_session__new() is trying to print error message to the screen. Reorder co

Re: [PATCH v6 5/6] leds: lp8860: Update the LED label generation

2017-12-03 Thread Jacek Anaszewski
Dan, On 12/01/2017 05:56 PM, Dan Murphy wrote: > Fix the LED label generation for the LP8860 to > conform with the > > Documentation/devicetree/bindings/leds/common.txt > > document indicating the LED label should be part of a > child node to the device parent. If no label is > in the child nod

[PATCH 00/10] staging: ccree: cleanups & fixes

2017-12-03 Thread Gilad Ben-Yossef
Another batch of ccree work. Includes the usual mix of mostly cleanups and one fix. Also includes an updated TODO to reflect recent progress and removal of interim documentation of device tree strings as the official string and documentation thereof got blessed into the crypto tree. Gilad Ben-Yoss

[PATCH 05/10] staging: ccree: remove braces for single statement blocks

2017-12-03 Thread Gilad Ben-Yossef
Remove braces from single statement if clause. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c index e890cb6..5f343

[PATCH 07/10] staging: ccree: update TODO list

2017-12-03 Thread Gilad Ben-Yossef
Update the ccree staging TODO list in light of recent work. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/TODO | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/drivers/staging/ccree/TODO b/drivers/staging/ccree/TODO index c9f5754..f44edcd 1

[PATCH 04/10] staging: ccree: fix indentation of var assignment

2017-12-03 Thread Gilad Ben-Yossef
Fix indentation of var assignment split across lines for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/ccree/ssi_aead.c index 0b08

[PATCH 01/10] staging: ccree: remove inline qualifiers

2017-12-03 Thread Gilad Ben-Yossef
The ccree drivers was marking a lot of big functions in C file as static inline for no good reason. Remove the inline qualifier from any but the few truly single line functions. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 40 - dr

[PATCH 02/10] staging: ccree: remove unproven likely/unlikely

2017-12-03 Thread Gilad Ben-Yossef
The ccree code made a lot of use of likely/unlikely qualifiers without proven measurements showing any benefits. Remove them all until we see what is justified and what is not. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 57 ++-- drivers/staging/ccree/s

[PATCH 08/10] staging: ccree: NULLify backup_info when unused

2017-12-03 Thread Gilad Ben-Yossef
backup_info field is only allocated for decrypt code path. The field was not nullified when not used causing a kfree in an error handling path to attempt to free random addresses as uncovered in stress testing. Fixes: 737aed947f9b ("staging: ccree: save ciphertext for CTS IV") Cc: sta...@vger.kern

[PATCH 10/10] staging: ccree: amend aead func def for readability

2017-12-03 Thread Gilad Ben-Yossef
Func definitions in the aead implementation were did not adhere to coding style. Fix them for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c | 141 ++- 1 file changed, 51 insertions(+), 90 deletions(-) diff --git a/dr

[PATCH 09/10] staging: ccree: fix AEAD func naming convention

2017-12-03 Thread Gilad Ben-Yossef
The aead files was using a func naming convention which was inconsistent (ssi vs. cc), included a useless prefix (ssi_aead) and often used too long function names producing monster func names such as ssi_aead_gcm_setup_ghash_desc() that made the call site code hard to read. Make the code more read

[PATCH 06/10] staging: ccree: remove interim DT docs

2017-12-03 Thread Gilad Ben-Yossef
As proper DT bindings doc where submitted and ACKed, remove the interim one. Signed-off-by: Gilad Ben-Yossef --- .../devicetree/bindings/crypto/arm-cryptocell.txt | 27 -- 1 file changed, 27 deletions(-) delete mode 100644 drivers/staging/ccree/Documentation/devicetree/bin

Re: [PATCH v6 5/6] leds: lp8860: Update the LED label generation

2017-12-03 Thread Jacek Anaszewski
Dan, On 12/01/2017 05:59 PM, Dan Murphy wrote: > On 12/01/2017 10:56 AM, Dan Murphy wrote: >> Fix the LED label generation for the LP8860 to >> conform with the >> >> Documentation/devicetree/bindings/leds/common.txt >> >> document indicating the LED label should be part of a >> child node to the

[PATCH 03/10] staging: ccree: remove more unnecessary parentheses

2017-12-03 Thread Gilad Ben-Yossef
The removal of likely/unlikely unearthed some more unnecessary parentheses. Remove them for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 4 ++-- drivers/staging/ccree/ssi_driver.c | 6 +++--- drivers/staging/ccree/ssi_request_mgr.c | 2 +-

Re: [PATCH v5.1 1/2] ARM64: dts: meson-gx: use stable UART bindings with correct gate clock

2017-12-03 Thread Andreas Färber
Hi, Am 21.06.2017 um 16:42 schrieb Neil Armstrong: > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi > b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi > index 17d3efd..ea53cc2 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi > @

Difficulties for compilation without extra optimisation

2017-12-03 Thread SF Markus Elfring
Hello, I came along some software modules where I suggested source code adjustments. Example: nfs/write: Use common error handling code in nfs_lock_and_join_requests() https://lkml.org/lkml/2017/11/7/599 https://patchwork.kernel.org/patch/10047013/ https://lkml.kernel.org/r/<7f072f78-eef4-6d87-d

Re: [PATCH v4 1/2] Input: Add driver for Cypress Generation 5 touchscreen

2017-12-03 Thread kbuild test robot
/linux/commits/Myl-ne-Josserand/Input-Add-driver-for-Cypress-Generation-5-touchscreen/20171203-203557 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next coccinelle warnings: (new ones prefixed by >>) >> drivers/input/touchscreen/cyttsp5.c:1098:3-8: No need t

[PATCH] Input: fix platform_no_drv_owner.cocci warnings

2017-12-03 Thread kbuild test robot
drivers/input/touchscreen/cyttsp5.c:1098:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: 68d0bd1e4815 ("Input: Add driver for Cypress Generation 5 touc

Re: [PATCH v6 4/6] dt: bindings: lp8860: Update the bindings to the standard

2017-12-03 Thread Jacek Anaszewski
On 12/03/2017 02:49 PM, Jacek Anaszewski wrote: > Hi Dan, > > Thanks for the patch. > > On 12/01/2017 05:56 PM, Dan Murphy wrote: >> Update the lp8860 dt binding to the LED standard where >> the LED should have a child node and also adding a >> LED trigger entry. >> >> Signed-off-by: Dan Murphy

Re: BUG: workqueue lockup (2)

2017-12-03 Thread Dmitry Vyukov
On Sun, Dec 3, 2017 at 3:31 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 2db767d9889cef087149a5eaa35c1497671fa40f > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is at

Re: BUG: workqueue lockup (2)

2017-12-03 Thread Thomas Gleixner
On Sun, 3 Dec 2017, Dmitry Vyukov wrote: > On Sun, Dec 3, 2017 at 3:31 PM, syzbot > > wrote: > > Hello, > > > > syzkaller hit the following crash on > > 2db767d9889cef087149a5eaa35c1497671fa40f > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > > compiler: gcc (GCC) 7.1

Re: [PATCH] liquidio: fix incorrect indentation of assignment statement

2017-12-03 Thread David Miller
From: Colin King Date: Fri, 1 Dec 2017 12:38:11 + > From: Colin Ian King > > Remove one extraneous level of indentation on assignment statement. > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH net] rxrpc: Use correct netns source in rxrpc_release_sock()

2017-12-03 Thread David Miller
From: David Howells Date: Fri, 01 Dec 2017 11:09:53 + > In rxrpc_release_sock() there may be no rx->local value to access, so we > can't unconditionally follow it to the rxrpc network namespace information > to poke the connection reapers. > > Instead, use the socket's namespace pointer to f

Re: [PATCH net] rxrpc: Fix the MAINTAINERS record

2017-12-03 Thread David Miller
From: David Howells Date: Fri, 01 Dec 2017 11:10:37 + > Fix the MAINTAINERS record so that it's more obvious who the maintainer for > AF_RXRPC is. > > Reported-by: Joe Perches > Reported-by: David Miller > Signed-off-by: David Howells Applied.

[PULL REQUEST] i2c for 4.15

2017-12-03 Thread Wolfram Sang
Linus, here are two bugfixes for I2C, fixing a memleak in the core and irq allocation for i801. Also, three bugfixes for the at24 eeprom driver which Bartosz collected while taking over maintainership for this driver. Good start, Bartosz! Please pull. Thanks, Wolfram The following changes

Re: [PATCH v3] doc: add maintainer book

2017-12-03 Thread Jonathan Corbet
On Thu, 30 Nov 2017 12:55:07 +1100 "Tobin C. Harding" wrote: > Create a new kernel documentation book 'how to be a maintainer' > (suggested by Jonathan Corbet). Add chapters on 'configuring git' and > 'creating a pull request'. So I've finally gotten around to giving this a look. It seems like

[PATCH 0/6] Fix indentation and CamelCase issues in staging/pi433

2017-12-03 Thread Simon Sandström
These patches fixes a bunch of code style issues in staging/pi433. The first patch fixes indentation in rf69_enum.h and the rest of the patches fixes CamelCase issues in all of staging/pi433. In total the patches get rids of around 140 warnings generated by checkpatch.pl. - Simon --- Simon Sand

[PATCH 1/6] staging: pi433: Fix indentation in rf69_enum.h

2017-12-03 Thread Simon Sandström
Basically just 's//\t/', to fix checkpatch.pl warnings: "please, no spaces at the start of a line". Signed-off-by: Simon Sandström --- drivers/staging/pi433/rf69_enum.h | 207 +++--- 1 file changed, 103 insertions(+), 104 deletions(-) diff --git a/drivers/sta

[PATCH 5/6] staging: pi433: Rename enum dataMode in rf69_enum.h

2017-12-03 Thread Simon Sandström
Renames enum dataMode and its values packet, continuous, continuousNoSync to enum data_mode and PACKET, CONTINUOUS, CONTINUOUS_NO_SYNC. Fixes checkpatch.pl warnings: "Avoid CamelCase: , ". Signed-off-by: Simon Sandström --- drivers/staging/pi433/pi433_if.c | 2 +- drivers/staging/pi433/rf69.c

Re: Difficulties for compilation without extra optimisation

2017-12-03 Thread Trond Myklebust
On Sun, 2017-12-03 at 15:15 +0100, SF Markus Elfring wrote: > Hello, > > I came along some software modules where I suggested source code > adjustments. > > Example: > nfs/write: Use common error handling code in > nfs_lock_and_join_requests() > > https://lkml.org/lkml/2017/11/7/599 > https://pa

[PATCH 6/6] staging: pi433: Rename enum modShaping in rf69_enum.h

2017-12-03 Thread Simon Sandström
Renames enum modShaping and its values to get rid of checkpatch.pl warnings: "Avoid CamelCase: ". Signed-off-by: Simon Sandström --- drivers/staging/pi433/pi433_if.c | 2 +- drivers/staging/pi433/pi433_if.h | 2 +- drivers/staging/pi433/rf69.c | 21 +++-- drivers/staging

[PATCH 4/6] staging: pi433: Rename enum optionOnOff in rf69_enum.h

2017-12-03 Thread Simon Sandström
Renames the enum optionOnOff and its values optionOn, optionOff to enum option_on_off and OPTION_ON, OPTION_OFF. Fixes checkpatch.pl warnings: "Avoid CamelCase: , , ". Signed-off-by: Simon Sandström --- drivers/staging/pi433/pi433_if.c | 34 ++--- drivers/staging/pi433/p

[PATCH 3/6] staging: pi433: Rename variable in struct pi433_rx_cfg

2017-12-03 Thread Simon Sandström
Renames variable thresholdDecrement in struct pi433_rx_cfg to threshold_decrement to get rid of checkpatch.pl warning "Avoid CamelCase: ". Signed-off-by: Simon Sandström --- drivers/staging/pi433/pi433_if.c | 2 +- drivers/staging/pi433/pi433_if.h | 2 +- 2 files changed, 2 insertions(+), 2 dele

[PATCH 2/6] staging: pi433: Capitalize constant definitions

2017-12-03 Thread Simon Sandström
Fixes checkpatch.pl warnings "Avoid CamelCase ". Signed-off-by: Simon Sandström --- drivers/staging/pi433/pi433_if.c | 32 - drivers/staging/pi433/rf69_registers.h | 44 +- 2 files changed, 38 insertions(+), 38 deletions(-) diff --gi

What Has Kept You Waiting?

2017-12-03 Thread Mr Light Adam
Attention We are surprised as you have not responded to our previous notification concerning your $650,000, United Nations has decided to compensate you as part of the empowerment program to reinstate those who have lost money to scammers in the past. To commence facilitating your transfer, ki

Hello

2017-12-03 Thread MISS BORTE OGORTAI
-- GREETINGS, I AM BORTE ,I WAS DIAGNOSE OF OVARIAN CANCER,WHICH DOCTORS HAVE CONFIRMED THAT I HAVE ONLY FEW WEEKS TO LIVE, SO I HAVE DECIDED TO DONATE EVERYTHING I HAVE TO THE ORPHANAGE AND THE POOR WIDOWS THROUGH YOU .PLEASE KINDLY REPLY ME(missbortiogo...@gmail.com) AS SOON AS POSIBLE

[PATCH] [FIX] staging: pi433: fix last commit indentation

2017-12-03 Thread Victor Carvalho
fix indentation in commit: - 928150e1dbb8638f309493b7dc72d56c20896704 staging: pi433: fix coding style in function rf69_set_rx_cfg() Signed-off-by: Victor Carvalho --- drivers/staging/pi433/pi433_if.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/pi4

Re: [PATCH RFC] stat.2: Document that stat can fail with EINTR

2017-12-03 Thread walter harms
Am 03.12.2017 01:23, schrieb Keno Fischer: > Particularly on network file systems, a stat call may require > submitting a message over the network and waiting interruptably > for a reply. > > Signed-off-by: Keno Fischer > --- > > The catalyst for this patch was me experiencing EINTR errors whe

Linux 4.15-rc2

2017-12-03 Thread Linus Torvalds
It's Sunday, but a few hours earlier than usual, since I'm on the east coast, three hours ahead of my normal release schedule. It's a slightly bigger rc2 than I would have wished for, but this early in the release process I don't worry about it. The appended shortlog gives the details, it's fixes

Re: [GIT PULL] revert ARM SCPI changes for v4.15-rc1

2017-12-03 Thread Heiner Kallweit
Am 03.12.2017 um 02:04 schrieb Olof Johansson: > On Fri, Dec 01, 2017 at 11:53:05AM -0800, Kevin Hilman wrote: >> Arnd, Olof, >> >> These ARM SCPI changes caused SCPI regressions resulting in CPUfreq >> failures on most Amlogic SoCs (found by kernelci.org.) >> >> Unfortunately, this was not caught

Re: [PATCH v5 net-next,mips 6/7] netdev: octeon-ethernet: Add Cavium Octeon III support.

2017-12-03 Thread David Miller
From: David Daney Date: Fri, 1 Dec 2017 15:18:06 -0800 > +static char *mix_port; > +module_param(mix_port, charp, 0444); > +MODULE_PARM_DESC(mix_port, "Specifies which ports connect to MIX > interfaces."); > + > +static char *pki_port; > +module_param(pki_port, charp, 0444); > +MODULE_PARM_DESC

Re: [PATCH v6 0/2] memory: Introduce ti-emif-sram driver

2017-12-03 Thread Tony Lindgren
* santosh.shilim...@oracle.com [171203 04:03]: > > > On 11/30/17 2:56 PM, Dave Gerlach wrote: > > This is a resend of v5 of this series found here [1]. It introduces > > relocatable PM handlers for the emif that are copied to sram and > > run from there during low power mode entry. > > > > The

Re: [alsa-devel] [PATCH v4 03/15] soundwire: Add Master registration

2017-12-03 Thread Vinod Koul
On Fri, Dec 01, 2017 at 04:10:55PM -0600, Pierre-Louis Bossart wrote: > On 12/1/17 3:56 AM, Vinod Koul wrote: > >A Master registers with SoundWire bus and scans the firmware provided > > nitpick: is the 'register' correct? You create a bus instance for each > hardware master interface. Or is my br

Re: WARNING in kvm_arch_vcpu_ioctl_run (2)

2017-12-03 Thread Dmitry Vyukov
On Mon, Nov 20, 2017 at 10:19 AM, Wanpeng Li wrote: > Hi Dmitry, > 2017-11-20 12:09 GMT+08:00 Wanpeng Li : >> 2017-11-18 4:22 GMT+08:00 syzbot >> : >>> Hello, >>> >>> syzbot has tested the proposed patch but the reproducer still triggered >>> crash: >>> WARNING in kvm_arch_vcpu_ioctl_run >>> >>> V

Re: [alsa-devel] [PATCH v4 04/15] soundwire: Add MIPI DisCo property helpers

2017-12-03 Thread Vinod Koul
On Fri, Dec 01, 2017 at 04:49:01PM -0600, Pierre-Louis Bossart wrote: > >+int sdw_master_read_prop(struct sdw_bus *bus) > >+{ > >+struct sdw_master_prop *prop = &bus->prop; > >+struct fwnode_handle *link; > >+unsigned int count = 0; > >+char name[32]; > >+int nval, i; > >+ > >+

Re: [PATCH 4/6] staging: pi433: Rename enum optionOnOff in rf69_enum.h

2017-12-03 Thread Marcus Wolf
Am 03.12.2017 um 17:17 schrieb Simon Sandström: Renames the enum optionOnOff and its values optionOn, optionOff to enum option_on_off and OPTION_ON, OPTION_OFF. Fixes checkpatch.pl warnings: "Avoid CamelCase: , , ". Signed-off-by: Simon Sandström --- drivers/staging/pi433/pi433_if.c | 34 +

[PATCH][next] x86/mm: make function clear_non_loaded_ctxs static

2017-12-03 Thread Colin King
From: Colin Ian King The function clear_non_loaded_ctxs is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: arch/x86/mm/tlb.c:37:6: warning: symbol 'clear_non_loaded_ctxs' was not declared. Should it be static? Signed-off-by: Colin Ian Ki

Re: [alsa-devel] [PATCH v4 06/15] soundwire: Add IO transfer

2017-12-03 Thread Vinod Koul
On Fri, Dec 01, 2017 at 05:27:31PM -0600, Pierre-Louis Bossart wrote: > >+static inline int find_response_code(enum sdw_command_response resp) > >+{ > >+switch (resp) { > >+case SDW_CMD_OK: > >+return 0; > >+ > >+case SDW_CMD_IGNORED: > >+return -ENODATA; > >+ >

Re: [PATCH v3 1/6] perf: prepare perf_event.h for new types perf_kprobe and perf_uprobe

2017-12-03 Thread Alexei Starovoitov
On Thu, Nov 30, 2017 at 03:50:18PM -0800, Song Liu wrote: > Two new perf types, perf_kprobe and perf_uprobe, will be added to allow > creating [k,u]probe with perf_event_open. These [k,u]probe are associated > with the file decriptor created by perf_event_open, thus are easy to > clean when the fil

Re: [alsa-devel] [PATCH v4 08/15] soundwire: Add Slave status handling helpers

2017-12-03 Thread Vinod Koul
On Fri, Dec 01, 2017 at 05:36:47PM -0600, Pierre-Louis Bossart wrote: > >+/* called with bus_lock held */ > >+static int sdw_get_device_num(struct sdw_slave *slave) > >+{ > >+int bit; > >+ > >+bit = find_first_zero_bit(slave->bus->assigned, SDW_MAX_DEVICES); > >+if (bit == SDW_MAX_DEVI

Re: [alsa-devel] [PATCH v4 12/15] soundwire: cdns: Add sdw_master_ops and IO transfer support

2017-12-03 Thread Vinod Koul
On Fri, Dec 01, 2017 at 06:02:24PM -0600, Pierre-Louis Bossart wrote: > > > struct sdw_cdns { > > struct device *dev; > > struct sdw_bus bus; > > unsigned int instance; > >+u32 response_buf[0x80]; > > last nit-pick: use a #define for the size. okay last one huh :) yeah will add.

Re: [alsa-devel] [PATCH v4 09/15] soundwire: Add slave status handling

2017-12-03 Thread Vinod Koul
On Fri, Dec 01, 2017 at 05:52:03PM -0600, Pierre-Louis Bossart wrote: > >+status = sdw_read(slave, SDW_DP0_INT); > >+if (status < 0) { > >+dev_err(slave->bus->dev, > >+"SDW_DP0_INT read failed:%d", status); > >+

Re: [alsa-devel] [PATCH v4 00/15] soundwire: Add a new SoundWire subsystem

2017-12-03 Thread Vinod Koul
On Fri, Dec 01, 2017 at 06:24:10PM -0600, Pierre-Louis Bossart wrote: > On 12/1/17 3:56 AM, Vinod Koul wrote: > >This patch series adds a new SoundWire subsystem which implements a > >new MIPI bus protocol 'SoundWire'. > > Sorry for the late feedback Vinod and team. > > Overall the code looks ver

Use-after-free with deferred driver probing and __initconst

2017-12-03 Thread Dan Aloni
Hi all, [[ CC'ed: folks relating to the original __*_refok family of attributes, deferred probing, Open Firmware maintainer, drivers/base/ maintainer, kernel harderning, LKML ]] It seems that it is possible to cause a use-after-free in the base driver platform code using a set of combined circums

Re: [PATCH 2/2] TESTING! KVM: x86: add invalidate_range mmu notifier

2017-12-03 Thread Andrea Arcangeli
On Fri, Dec 01, 2017 at 04:15:37PM +0100, Paolo Bonzini wrote: > On 30/11/2017 19:05, Radim Krčmář wrote: > > Does roughly what kvm_mmu_notifier_invalidate_page did before. > > > > I am not certain why this would be needed. It might mean that we have > > another bug with start/end or just that I

Re: [PATCH 1/2] KVM: x86: fix APIC page invalidation

2017-12-03 Thread Andrea Arcangeli
On Thu, Nov 30, 2017 at 07:05:45PM +0100, Radim Krčmář wrote: > Implementation of the unpinned APIC page didn't update the VMCS address > cache when invalidation was done through range mmu notifiers. > This became a problem when the page notifier was removed. > > Re-introduce the arch-specific hel

Re: [PATCH] refcount_t: documentation for memory ordering differences

2017-12-03 Thread Randy Dunlap
On 12/02/2017 10:20 PM, Andrea Parri wrote: > On Fri, Dec 01, 2017 at 12:34:23PM -0800, Randy Dunlap wrote: >> On 11/29/2017 04:36 AM, Elena Reshetova wrote: >>> Some functions from refcount_t API provide different >>> memory ordering guarantees that their atomic counterparts. >>> This adds a docum

Re: [PATCH 1/5] bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type

2017-12-03 Thread Alexei Starovoitov
On Fri, Dec 01, 2017 at 03:19:04PM +0100, Hendrik Brueckner wrote: > Commit 0515e5999a466dfe ("bpf: introduce BPF_PROG_TYPE_PERF_EVENT > program type") introduced the bpf_perf_event_data structure which > exports the pt_regs structure. This is OK for multiple architectures > but fail for s390 and

Re: [PATCH v2] NTB: ntb_perf: Add full multi-port NTB API support

2017-12-03 Thread kbuild test robot
Hi Serge, I love your patch! Yet something to improve: [auto build test ERROR on v4.15-rc1] [cannot apply to ntb/ntb-next next-20171201] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Serge-Sem

Re: [PATCH v2] NTB: ntb_perf: Add full multi-port NTB API support

2017-12-03 Thread kbuild test robot
Hi Serge, I love your patch! Perhaps something to improve: [auto build test WARNING on v4.15-rc1] [cannot apply to ntb/ntb-next next-20171201] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ser

Re: [PATCH v2 3/3] i2c: at91: added slave mode support

2017-12-03 Thread Ludovic Desroches
Hi Juergen, On Thu, Nov 09, 2017 at 06:22:29PM +0100, Juergen Fitschen wrote: > Slave mode driver is based on the concept of i2c-designware driver. > Sorry to be so long to answer you. I would like to test it before acking it. Unfortunately, I didn't have the time to perform all the tests I have

[GIT] Networking

2017-12-03 Thread David Miller
1) Various TCP control block fixes, including one that crashes with SELINUX, from David Ahern and Eric Dumazet. 2) Fix ACK generation in rxrpc, from David Howells. 3) ipvlan doesn't set the mark properly in the ipv4 route lookup key, from Gao Feng. 4) SIT configuration doesn't take on the

  1   2   3   4   >