Re: [PATCH net-next] bnxt: Don't print message, if DAC isn't connected on both ends

2017-12-07 Thread Thomas Bogendoerfer
On Thu, 7 Dec 2017 01:24:43 -0800 Michael Chan wrote: > On Thu, Dec 7, 2017 at 1:14 AM, Thomas Bogendoerfer > wrote: > > well, it will print the forced rate, if there is one configured and -1 > > otherwise, > > if the link is lost or will not come up because of a cable problem. I don't > >

[tip:x86/urgent] x86/smpboot: Do not use smp_num_siblings in __max_logical_packages calculation

2017-12-07 Thread tip-bot for Prarit Bhargava
Commit-ID: 947134d9b00f342415af7eddd42a5fce7262a1b9 Gitweb: https://git.kernel.org/tip/947134d9b00f342415af7eddd42a5fce7262a1b9 Author: Prarit Bhargava AuthorDate: Mon, 4 Dec 2017 11:45:21 -0500 Committer: Thomas Gleixner CommitDate: Thu, 7 Dec 2017 10:28:22 +0100 x86/smpboot: Do not

Re: [PATCH v2 04/11] staging: pi433: Rename enum optionOnOff in rf69_enum.h

2017-12-07 Thread Dan Carpenter
On Thu, Dec 07, 2017 at 12:17:32AM +0200, Marcus Wolf wrote: > To be honest, I am a little bit astonished about that question. Don't you do > a regression test after such a redesign? I would be a little bit afraid to > offer such redesign without testing. He probably doesn't have the hardware...

[tip:x86/urgent] x86/boot/compressed/64: Detect and handle 5-level paging at boot-time

2017-12-07 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 08529078d8d9adf689bf39cc38d53979a0869970 Gitweb: https://git.kernel.org/tip/08529078d8d9adf689bf39cc38d53979a0869970 Author: Kirill A. Shutemov AuthorDate: Mon, 4 Dec 2017 15:40:55 +0300 Committer: Thomas Gleixner CommitDate: Thu, 7 Dec 2017 10:34:39 +0100

[tip:x86/urgent] x86/boot/compressed/64: Print error if 5-level paging is not supported

2017-12-07 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 6d7e0ba2d2be9e50cccba213baf07e0e183c1b24 Gitweb: https://git.kernel.org/tip/6d7e0ba2d2be9e50cccba213baf07e0e183c1b24 Author: Kirill A. Shutemov AuthorDate: Mon, 4 Dec 2017 15:40:56 +0300 Committer: Thomas Gleixner CommitDate: Thu, 7 Dec 2017 10:36:26 +0100

[PATCH V2] cpufreq: longhaul: Revert transition_delay_us to 200 ms

2017-12-07 Thread Viresh Kumar
The commit e948bc8fbee0 ("cpufreq: Cap the default transition delay value to 10 ms") caused a regression on EPIA-M min-ITX computer where shutdown or reboot hangs occasionally with a print message like: longhaul: Warning: Timeout while waiting for idle PCI bus cpufreq: __target_index: Failed to

Re: [PATCH v1 1/2] ASoC: rsnd: ssi: fix race condition in rsnd_ssi_pointer_update

2017-12-07 Thread Kuninori Morimoto
Hi Jiada Thank you for your patch > Currently there is race condition between set of byte_pos and wrap > it around when new buffer starts. If .pointer is called in-between > it will result in inconsistent pointer position be returned > from .pointer callback. > > This patch increments buffer

staging: pi433: Plans from Smarthome-Wolf

2017-12-07 Thread Marcus Wolf
Am 06.12.2017 um 14:47 schrieb Dan Carpenter: > On Wed, Dec 06, 2017 at 11:11:27AM +0200, Marcus Wolf wrote: >> >> Since the rule for kernel development seems to be, not to care about future, >> most probably you patch is fine, anyway. >> > > Yeah. Deleting code if there is no user is required

[PATCH v3 0/4] Add coupled regulators mechanism

2017-12-07 Thread Maciej Purski
Hi all, this patchset adds a new mechanism to the framework - regulators' coupling. On Odroid XU3/4 and other Exynos5422 based boards there is a case, that different devices on the board are supplied by different regulators with non-fixed voltages. If one of these devices temporarily requires

Re: [PATCH net-next] bnxt: Don't print message, if DAC isn't connected on both ends

2017-12-07 Thread Michael Chan
On Thu, Dec 7, 2017 at 1:39 AM, Thomas Bogendoerfer wrote: > On Thu, 7 Dec 2017 01:24:43 -0800 > Michael Chan wrote: > >> On Thu, Dec 7, 2017 at 1:14 AM, Thomas Bogendoerfer >> wrote: >> > well, it will print the forced rate, if there is one configured and -1 >> > otherwise, >> > if the link

[PATCH v9 3/4] [media] platform: Add Synopsys DesignWare HDMI RX PHY e405 Driver

2017-12-07 Thread Jose Abreu
This adds support for the Synopsys DesignWare HDMI RX PHY e405. This phy receives and decodes HDMI video that is delivered to a controller. Main features included in this driver are: - Equalizer algorithm that chooses the phy best settings according to the detected HDMI cable

[PATCH v9 1/4] dt-bindings: media: Document Synopsys DesignWare HDMI RX

2017-12-07 Thread Jose Abreu
Document the bindings for the Synopsys DesignWare HDMI RX. Signed-off-by: Jose Abreu Acked-by: Rob Herring (v8) Cc: Joao Pinto Cc: Rob Herring Cc: Mark Rutland Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Sylwester Nawrocki Cc: devicet...@vger.kernel.org --- Changes from v7: -

[PATCH v3 4/4] regulator: core: Balance coupled regulators voltages

2017-12-07 Thread Maciej Purski
On Odroid XU3/4 and other Exynos5422 based boards there is a case, that different devices on the board are supplied by different regulators with non-fixed voltages. If one of these devices temporarily requires higher voltage, there might occur a situation that the spread between two devices'

[PATCH v9 4/4] [media] platform: Add Synopsys DesignWare HDMI RX Controller Driver

2017-12-07 Thread Jose Abreu
This is an initial submission for the Synopsys DesignWare HDMI RX Controller Driver. This driver interacts with a phy driver so that a communication between them is created and a video pipeline is configured. The controller + phy pipeline can then be integrated into a fully featured system that

[PATCH v9 2/4] MAINTAINERS: Add entry for Synopsys DesignWare HDMI drivers

2017-12-07 Thread Jose Abreu
Add an entry for Synopsys DesignWare HDMI Receivers drivers and phys. Signed-off-by: Jose Abreu Cc: Joao Pinto --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7a52a66..a1675bc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13108,6

Re: [PATCH] mfd: Fix RTS5227 (and others) powermanagement

2017-12-07 Thread Lee Jones
On Wed, 06 Dec 2017, Hans de Goede wrote: > Commit 8275b77a1513 ("mfd: rts5249: Add support for RTS5250S power > saving") adds powersaving support for device-ids 5249 524a and 525a. > > But as a side effect it breaks ASPM support for all the other device-ids, > causing e.g. the Haswell CPU on a

[PATCH v9 0/4] Synopsys DesignWare HDMI Video Capture Controller + PHY

2017-12-07 Thread Jose Abreu
The Synopsys DesignWare HDMI RX controller is an HDMI receiver controller that is responsible to process digital data that comes from a phy. The final result is a stream of RAW video data that can then be connected to a video DMA, for example, and transfered into RAM so that it can be displayed.

[PATCH v3 2/4] regulator: bindings: Add properties for coupled regulators

2017-12-07 Thread Maciej Purski
Some regulators require keeping their voltage spread below defined max_spread. Add properties to provide information on regulators' coupling. Signed-off-by: Maciej Purski --- Documentation/devicetree/bindings/regulator/regulator.txt | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v3 3/4] regulator: core: Parse coupled regulators properties

2017-12-07 Thread Maciej Purski
On Odroid XU3/4 and other Exynos5422 based boards there is a case, that different devices on the board are supplied by different regulators with non-fixed voltages. If one of these devices temporarily requires higher voltage, there might occur a situation that the spread between devices' voltages

[PATCH v3 1/4] regulator: core: Move of_find_regulator_by_node() to of_regulator.c

2017-12-07 Thread Maciej Purski
As of_find_regulator_by_node() is an of function it should be moved from core to of_regulator.c. It provides better separation of device tree functions from the core and allows other of_functions in of_regulator to resolve device_node to regulator_dev. This will be useful for implementation of

Re: [PATCH] mm: terminate shrink_slab loop if signal is pending

2017-12-07 Thread Sergey Senozhatsky
On (12/06/17 11:20), Suren Baghdasaryan wrote: > Slab shrinkers can be quite time consuming and when signal > is pending they can delay handling of the signal. If fatal > signal is pending there is no point in shrinking that process > since it will be killed anyway. This change checks for pending

[PATCH v5 0/4] add clk controller driver for Meson-AXG SoC

2017-12-07 Thread Yixun Lan
Add driver for the clk controller which found in Meson AXG SoC Note, we deliberately create a seperate source file for the Meson AXG series, instead of sharing code with previous GXBB/GXL - the file axg.c It would help us maintaining the code more easily. Changes since v4 [4]: - use

[PATCH v5 4/4] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-12-07 Thread Yixun Lan
From: Qiufang Dai Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff

[PATCH v5 3/4] clk: meson-axg: add clock controller drivers

2017-12-07 Thread Yixun Lan
From: Qiufang Dai Add clock controller drivers for Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/Kconfig.platforms | 1 + drivers/clk/meson/Kconfig| 8 + drivers/clk/meson/Makefile | 1 + drivers/clk/meson/axg.c | 944

[PATCH v5 2/4] clk: meson-axg: add clocks dt-bindings required header

2017-12-07 Thread Yixun Lan
From: Qiufang Dai Add the required header for the clocks ID dt-bindings exported from various subsystem in the Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- include/dt-bindings/clock/axg-clkc.h | 71 1 file changed, 71

Re: [PATCH v2 02/15] soc: qcom: add support to APR bus driver

2017-12-07 Thread Philippe Ombredanne
Srinivas, On Tue, Dec 5, 2017 at 11:17 PM, wrote: > From: Srinivas Kandagatla > > This patch adds support toi APR bus (Asynchronous Packet Router) driver. > ARP driver is made as a bus driver so that the apr devices can added removed > more dynamically depending on the state of the services on

Re: [PATCH v2] i2c: stm32: Fix copyrights

2017-12-07 Thread Wolfram Sang
On Thu, Nov 30, 2017 at 09:43:57AM +0100, Benjamin Gaignard wrote: > Uniformize STMicroelectronics copyrights headers > Add SPDX identifier > > Signed-off-by: Benjamin Gaignard > Acked-by: Alexandre TORGUE > CC: M'boumba Cedric Madianga I'd need an ack from M'boumba Cedric Madianga for this

[PATCH v5 1/4] dt-bindings: clock: add compatible variant for the Meson-AXG

2017-12-07 Thread Yixun Lan
Update the documentation to support clock driver for the Amlogic's Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [patch 43/60] x86/fixmap: Add debugstore entries to cpu_entry_area

2017-12-07 Thread Borislav Petkov
On Mon, Dec 04, 2017 at 03:07:49PM +0100, Thomas Gleixner wrote: > From: Thomas Gleixner > > The intel PEBS/BTS debug store is a design trainwreck as is expects virtual > addresses which must be visible in any execution context. Sure, what can possibly go wrong?! :-\ > So it is required to

Re: [PATCH v3 14/14] nubus: Add support for the driver model

2017-12-07 Thread Philippe Ombredanne
Finn, On Tue, Dec 5, 2017 at 7:20 AM, Finn Thain wrote: > This patch brings basic support for the Linux Driver Model to the > NuBus subsystem. > > For flexibility, the matching of boards with drivers is left up to the > drivers. This is also the approach taken by NetBSD. A board may have > many

Re: [PATCH v2 2/2] ASoC: rsnd: ssi: remove unnesessary period_pos

2017-12-07 Thread Kuninori Morimoto
Hi Jiada > Further more, if the passed 'byte' amount to > rsnd_ssi_pointer_update() is more than byte_per_period. > the calculation of next_period_byte isn't correct. Is it really happen ?? Basically, I have no objection about this patch, but this explanation is very strange for me... Best

Re: [PATCH] mm: terminate shrink_slab loop if signal is pending

2017-12-07 Thread Michal Hocko
On Thu 07-12-17 18:52:23, Sergey Senozhatsky wrote: > On (12/06/17 11:20), Suren Baghdasaryan wrote: > > Slab shrinkers can be quite time consuming and when signal > > is pending they can delay handling of the signal. If fatal > > signal is pending there is no point in shrinking that process > >

Re: [PATCH][next] HID: quirks: make array hid_quirks static

2017-12-07 Thread Jiri Kosina
On Mon, 4 Dec 2017, Colin King wrote: > From: Colin Ian King > > Array hid_quirks is local to the source and does not need to be in > global scope, so make it static. > > Cleans up sparse warning: > drivers/hid/hid-quirks.c:29:28: warning: symbol 'hid_quirks' was not > declared. Should it be

Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-07 Thread Jiri Kosina
On Tue, 5 Dec 2017, Tomasz Kramkowski wrote: > On Mon, Dec 04, 2017 at 08:55:50PM +, Tomasz Kramkowski wrote: > > +static void mouse_button_fixup(struct hid_device *hdev, > > + __u8 *rdesc, unsigned int *rsize, > > + int nbuttons) > > I've

Re: [PATCH 5/5] PCI: cadence: add EndPoint Controller driver for Cadence PCIe controller

2017-12-07 Thread Philippe Ombredanne
Cyrille, On Tue, Dec 5, 2017 at 10:19 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 01 December 2017 05:50 PM, Lorenzo Pieralisi wrote: >> On Thu, Nov 23, 2017 at 04:01:50PM +0100, Cyrille Pitchen wrote: >>> This patch adds support to the Cadence PCIe controller in endpoint mode. >> >>

Re: [PATCH] [linux][master][v1] misc: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-07 Thread Philippe Ombredanne
Daval, On Tue, Dec 5, 2017 at 12:43 PM, Dhaval Shah wrote: > Xilinx ZYNQMP VCU Init driver is based on the new LogiCoreIP design > created. This driver will provide the api which can be used > by the encoder and decoder driver to get the configured value. > > Signed-off-by: Dhaval Shah [] >

Re: [PATCH v2] HID: add quirk for another PIXART OEM mouse used by HP

2017-12-07 Thread Jiri Kosina
On Fri, 1 Dec 2017, Dave Young wrote: > This mouse keep disconnecting in runleve 3 like below, add it needs the > quirk to mute the anoying messages. > > [ 111.230555] usb 2-2: USB disconnect, device number 6 > [ 112.718156] usb 2-2: new low-speed USB device number 7 using xhci_hcd > [

[PATCH] kthread: finer-grained lockdep/cross-release completion

2017-12-07 Thread Daniel Vetter
Since -rc1 we're hitting a bunch of lockdep splats using the new cross-release stuff around the 2 kthread completions. In all cases they are because totally independent uses of kthread are mixed up by lockdep into the same locking class, creating artificial deadlocks. Fix this by converting

Re: [PATCH] media: platform: stm32: Adopt SPDX identifier

2017-12-07 Thread Philippe Ombredanne
On Tue, Dec 5, 2017 at 3:51 PM, Benjamin Gaignard wrote: > Add SPDX identifiers to files under stm32 directory > > Signed-off-by: Benjamin Gaignard > --- > drivers/media/platform/stm32/stm32-cec.c | 5 + > drivers/media/platform/stm32/stm32-dcmi.c | 2 +- > 2 files changed, 2

Re: [PATCH] iio: stm32: Adopt SPDX identifier

2017-12-07 Thread Philippe Ombredanne
On Tue, Dec 5, 2017 at 3:55 PM, Benjamin Gaignard wrote: > Add SPDX identifier in stm32's files in IIO directory > > Signed-off-by: Benjamin Gaignard > --- > drivers/iio/adc/stm32-adc-core.c| 14 +- > drivers/iio/adc/stm32-adc-core.h| 14 +- >

Re: [PATCH] media: platform: sti: Adopt SPDX identifier

2017-12-07 Thread Philippe Ombredanne
On Tue, Dec 5, 2017 at 3:52 PM, Benjamin Gaignard wrote: > Add SPDX identifiers to files under sti directory > > Signed-off-by: Benjamin Gaignard > --- > drivers/media/platform/sti/bdisp/bdisp-debug.c | 2 +- > drivers/media/platform/sti/bdisp/bdisp-filter.h | 2 +- >

[PATCH] kcov: fix comparison callback signature

2017-12-07 Thread Dmitry Vyukov
Fix a silly copy-paste bug. We truncated u32 args to u16. Fixes: ded97d2c2b2c ("kcov: support comparison operands collection") Signed-off-by: Dmitry Vyukov Cc: linux-kernel@vger.kernel.org Cc: linux...@kvack.org Cc: syzkal...@googlegroups.com Cc: Alexander Potapenko Cc: Vegard Nossum Cc:

Re: [PATCH] pwn: stm32: Adopt SPDX identifier

2017-12-07 Thread Philippe Ombredanne
On Tue, Dec 5, 2017 at 3:57 PM, Benjamin Gaignard wrote: > Add SPDX identifer > > Signed-off-by: Benjamin Gaignard > --- > drivers/pwm/pwm-stm32-lp.c | 3 +-- > drivers/pwm/pwm-stm32.c| 3 +-- > 2 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/pwm/pwm-stm32-lp.c

Re: [PATCH] mfd: stm32: Adopt SPDX identifier

2017-12-07 Thread Philippe Ombredanne
On Tue, Dec 5, 2017 at 3:58 PM, Benjamin Gaignard wrote: > Add SPDX identifier > > Signed-off-by: Benjamin Gaignard > --- > drivers/mfd/stm32-lptimer.c | 2 +- > drivers/mfd/stm32-timers.c| 2 +- > include/linux/mfd/stm32-lptimer.h | 2 +- > include/linux/mfd/stm32-timers.h | 2

Re: [PATCH v3 08/15] drm/sun4i: Add LVDS support

2017-12-07 Thread Philippe Ombredanne
On Tue, Dec 5, 2017 at 4:10 PM, Maxime Ripard wrote: > The TCON supports the LVDS interface to output to a panel or a bridge. > Let's add support for it. > > Signed-off-by: Maxime Ripard [] > --- /dev/null > +++ b/drivers/gpu/drm/sun4i/sun4i_lvds.c > @@ -0,0 +1,183 @@ > +/* > + * Copyright (C)

[PATCH 0/2] PCI: rcar: Misc error path fixes

2017-12-07 Thread Geert Uytterhoeven
Hi Simon, Lorenzo, Bjorn, This patch series fixes two issues in the error path for the R-Car PCIe host bridge driver. The first issue is triggered easily by not having a PCIe card inserted, and may cause a crash. Thanks! Geert Uytterhoeven (2): PCI: rcar: Fix use-after-free in probe

[PATCH 1/2] PCI: rcar: Fix use-after-free in probe error path

2017-12-07 Thread Geert Uytterhoeven
If CONFIG_DEBUG_SLAB=y, and no PCIe card is inserted, the kernel crashes during probe on r8a7791/koelsch: rcar-pcie fe00.pcie: PCIe link down Unable to handle kernel paging request at virtual address 6b6b6b6b (seeing this message requires earlycon and keep_bootcon). Indeed,

[PATCH 2/2] PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures

2017-12-07 Thread Geert Uytterhoeven
rcar_pcie_parse_request_of_pci_ranges() can fail and return an error code, but this is not checked nor handled. Fix this by adding the missing error handling. Fixes: 5d2917d469faab72 ("PCI: rcar: Convert to DT resource parsing API") Signed-off-by: Geert Uytterhoeven ---

Re: linux-next on Nokia N900: hang on boot

2017-12-07 Thread Pavel Machek
On Sat 2017-12-02 12:19:54, Pali Rohár wrote: > On Saturday 02 December 2017 11:14:56 Pavel Machek wrote: > > Hi! > > > > next from 2017-12-01 was tested. > > > > MMC is detected, but then I see wtl4030_bci: .. battery temperature > > out of range, and machine halts. This is just before

[PATCH] mm/slab: Do not hash pointers when debugging slab

2017-12-07 Thread Geert Uytterhoeven
If CONFIG_DEBUG_SLAB/CONFIG_DEBUG_SLAB_LEAK are enabled, the slab code prints extra debug information when e.g. corruption is detected. This includes pointers, which are not very useful when hashed. Fix this by using %px to print unhashed pointers instead. Fixes: ad67b74d2469d9b8 ("printk: hash

[PATCH] mm/slab: Merge adjacent debug sections

2017-12-07 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- mm/slab.c | 5 - 1 file changed, 5 deletions(-) diff --git a/mm/slab.c b/mm/slab.c index 70be5823227dcb3e..dd8c6d33f59a11d1 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1569,9 +1569,6 @@ static void dump_line(char *data, int offset, int limit)

[PATCH RESEND 0/4] i2c: mpc: Clean up clock selection

2017-12-07 Thread Arseny Solokha
This series cleans up I2C clock selection for Freescale/NXP MPC SoCs during the controller initialization for cases when clock settings are not to be preserved from the bootloader. Patch 1/4 fixes division by zero which happens during controller initialization when (1) clock frequency is not

[PATCH RESEND 2/4] i2c: mpc: unify obtaining the MPC8533/44 I2C clock prescaler w/ MPC8xxx

2017-12-07 Thread Arseny Solokha
Commit 8ce795cb0c6b ("i2c: mpc: assign the correct prescaler from SVR") introduced the common helper function for obtaining the actual clock prescaler value for MPC85xx. However, getting the prescaler for MPC8544 which depends on the SEC frequency ratio on this platform, has been always performed

[PATCH v6 0/5] scsi: ufs: add ufs driver code for Hisilicon Hi3660 SoC

2017-12-07 Thread Li Wei
This patchset adds driver support for UFS for Hi3660 SoC. It is verified on HiKey960 board. Li Wei (5): scsi: ufs: add Hisilicon ufs driver code dt-bindings: scsi: ufs: add document for hisi-ufs arm64: dts: add ufs dts node arm64: defconfig: enable configs for Hisilicon ufs arm64:

[PATCH v6 3/5] arm64: dts: add ufs dts node

2017-12-07 Thread Li Wei
arm64: dts: add ufs node for Hisilicon. Signed-off-by: Li Wei --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index

[PATCH v6 1/5] scsi: ufs: add Hisilicon ufs driver code

2017-12-07 Thread Li Wei
add Hisilicon ufs driver code. Signed-off-by: Li Wei Signed-off-by: Geng Jianfeng Signed-off-by: Zang Leigang Signed-off-by: Yu Jianfeng --- drivers/scsi/ufs/Kconfig| 9 + drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/ufs-hisi.c | 624

[PATCH] brcmsmac: use ARRAY_SIZE on rfseq_updategainu_events

2017-12-07 Thread Colin King
From: Colin Ian King Use the ARRAY_SIZE macro on rfseq_updategainu_events to determine size of the array. Improvement suggested by coccinelle. Signed-off-by: Colin Ian King --- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH v6 5/5] arm64: defconfig: enable f2fs and squashfs

2017-12-07 Thread Li Wei
Partitions in HiKey960 are formatted as f2fs and squashfs. f2fs is for userdata; squashfs is for system. Both partitions are required by Android. Signed-off-by: Li Wei Signed-off-by: Zhangfei Gao Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 8 1 file changed, 8

[PATCH v6 4/5] arm64: defconfig: enable configs for Hisilicon ufs

2017-12-07 Thread Li Wei
This enable configs for Hisilicon Hi UFS driver. Signed-off-by: Li Wei Signed-off-by: Zhangfei Gao Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

Re: [PATCH v5 0/5] In-kernel QMI helpers and sysmon

2017-12-07 Thread Philippe Ombredanne
On Tue, Dec 5, 2017 at 6:43 PM, Bjorn Andersson wrote: > This series introduces a helper library for drivers that needs to implement > clients or services in the kernel for communicating with QMI encoded messages. > > This is used by a set of drivers in order to implement control signaling that >

[PATCH v6 2/5] dt-bindings: scsi: ufs: add document for hisi-ufs

2017-12-07 Thread Li Wei
add ufs node document for Hisilicon. Signed-off-by: Li Wei --- Documentation/devicetree/bindings/ufs/ufs-hisi.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/ufs/ufs-hisi.txt diff --git

[PATCH RESEND 1/4] i2c: mpc: get MPC8xxx I2C clock prescaler before using it in calculations

2017-12-07 Thread Arseny Solokha
Obtaining the actual I2C clock prescaler value in mpc_i2c_setup_8xxx() only happens when the clock parameter is set to something other than MPC_I2C_CLOCK_LEGACY. When the clock parameter is exactly MPC_I2C_CLOCK_LEGACY, the prescaler parameter is used in arithmetic division as provided by the

[PATCH RESEND 3/4] i2c: mpc: fix PORDEVSR2 mask for MPC8533/44

2017-12-07 Thread Arseny Solokha
According to the reference manuals for the corresponding SoCs, SEC frequency ratio configuration is indicated by bit 26 of the POR Device Status Register 2. Consequently, SEC_CFG bit should be tested by mask 0x20, not 0x80. Testing the wrong bit leads to selection of wrong I2C clock prescaler on

[PATCH RESEND 4/4] i2c: mpc: always determine I2C clock prescaler at runtime

2017-12-07 Thread Arseny Solokha
Remove the facility for setting the prescaler value at compile time entirely. It was only used for two SoCs, duplicating the actual value for one of them and setting sometimes bogus value for another. Make all MPC8xxx SoCs obtain their actual I2C clock prescaler from a single place in the code.

Re: [PATCH v5 0/6] enable creating [k,u]probe with perf_event_open

2017-12-07 Thread Philippe Ombredanne
Song, On Wed, Dec 6, 2017 at 11:45 PM, Song Liu wrote: > Changes PATCH v4 to PATCH v5: > Remove PERF_PROBE_CONFIG_IS_RETPROBE from uapi, use PMU_FORMAT_ATTR > instead. > > Changes PATCH v3 to PATCH v4: > Remove uapi define MAX_PROBE_FUNC_NAME_LEN, use KSYM_NAME_LEN instead. > Add flag

Re: [RFC v3 PATCH 0/2] Introduce Security Version to EFI Stub

2017-12-07 Thread Gary Lin
On Thu, Dec 07, 2017 at 09:18:16AM +0100, Ingo Molnar wrote: > > * Gary Lin wrote: > > > On Thu, Dec 07, 2017 at 07:09:27AM +0100, Ingo Molnar wrote: > > > > > > * Gary Lin wrote: > > > > > > > On Wed, Dec 06, 2017 at 07:37:34PM +0100, Ingo Molnar wrote: > > > > > > > > > > * Gary Lin

[PATCH v9 13/13] MAINTAINERS: Add SLIMbus maintainer

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add myself as maintainer for slimbus. Signed-off-by: Srinivas Kandagatla Acked-by: Bjorn Andersson --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52fd76..f26bf2707709 100644 --- a/MAINTAINERS +++

Re: WireGuard Upstreaming Roadmap (November 2017)

2017-12-07 Thread Stefan Tatschner
Hi Jason, thanks for providing all these information. I am looking forward to the further development of wireguard! On Sat, Nov 11, 2017 at 5:48 AM, Jason A. Donenfeld wrote: > The current biggest blocker is issues with the crypto API. Before WireGuard > can go upstream, I intend to embark on a

Re: [PATCH 0/2] PCI: rcar: Misc error path fixes

2017-12-07 Thread Simon Horman
On Thu, Dec 07, 2017 at 11:15:18AM +0100, Geert Uytterhoeven wrote: > Hi Simon, Lorenzo, Bjorn, > > This patch series fixes two issues in the error path for the R-Car PCIe > host bridge driver. > > The first issue is triggered easily by not having a PCIe card inserted, > and may cause a

[PATCH v9 00/13] Introduce framework for SLIMbus device driver

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla Thanks for everyone who reviewed v8 patchset, here is v9 with review comments addressed. SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is

RE: [PATCH] [linux][master][v1] misc: Add Xilinx ZYNQMP VCU logicoreIP init driver

2017-12-07 Thread Dhaval Rajeshbhai Shah
> -Original Message- > From: Philippe Ombredanne [mailto:pombreda...@nexb.com] > Sent: Thursday, December 07, 2017 2:07 AM > To: Dhaval Rajeshbhai Shah > Cc: Arnd Bergmann ; Greg Kroah-Hartman > ; LKML ; > michal.si...@xilinx.com; Hyun Kwon ; Dhaval > Rajeshbhai Shah > Subject: Re:

Re: [PATCH] brcmsmac: use ARRAY_SIZE on rfseq_updategainu_events

2017-12-07 Thread Arend van Spriel
On 12/7/2017 11:20 AM, Colin King wrote: From: Colin Ian King Use the ARRAY_SIZE macro on rfseq_updategainu_events to determine size of the array. Improvement suggested by coccinelle. Acked-by: Arend van Spriel Signed-off-by: Colin Ian King ---

[PATCH v9 11/13] slimbus: qcom: Add Qualcomm Slimbus controller driver

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia This controller driver programs manager, interface, and framer devices for Qualcomm's slimbus HW block. Manager component currently implements logical address setting, and messaging interface. Interface device reports bus synchronization information, and framer device clocks

[PATCH v9 12/13] slimbus: qcom: Add runtime-pm support using clock-pause

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia Slimbus HW mandates that clock-pause sequence has to be executed before disabling relevant interface and core clocks. Runtime-PM's autosuspend feature is used here to enter/exit low power mode for Qualcomm's Slimbus controller. Autosuspend feature enables driver to avoid

[PATCH] usb: dwc3: of-simple: fix missing clk_disable_unprepare

2017-12-07 Thread Andreas Platschek
If of_clk_get() fails, the clean-up of already initialized clocks should be the same as when clk_prepare_enable() fails. Thus a clk_disable_unprepare() for each clock should be called before the clk_put(). Found by Linux Driver Verification project (linuxtesting.org). Fixes: 16adc674d0d6 ("usb:

[PATCH v9 02/13] dt-bindings: Add SLIMbus bindings

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. This patch adds device tree

[PATCH v9 09/13] slimbus: core: add common defines required for controllers

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds some common constant defines which are required for qcom slim controller driver. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/slimbus.h | 33 + 1 file changed, 33 insertions(+) diff --git

Re: [PATCH 2/3] pinctrl: sunxi: Disable strict mode for old pinctrl drivers

2017-12-07 Thread Ludovic Desroches
Hi, On Thu, Oct 05, 2017 at 10:54:07PM +0200, Maxime Ripard wrote: > Old pinctrl drivers will need to disable strict mode for various reasons, > among which: > - Some DT will still have a pinctrl group for each GPIO used, which will > be rejected by pin_request. While we could remove those

[PATCH v9 10/13] dt-bindings: Add qcom slimbus controller bindings

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia This patch add device tree bindings for Qualcomm slimbus controller. Signed-off-by: Sagar Dharia Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../devicetree/bindings/slimbus/slim-qcom-ctrl.txt | 39 ++ 1 file changed, 39

Re: [PATCH v2 02/15] soc: qcom: add support to APR bus driver

2017-12-07 Thread Srinivas Kandagatla
On 07/12/17 09:53, Philippe Ombredanne wrote: Srinivas, On Tue, Dec 5, 2017 at 11:17 PM, wrote: From: Srinivas Kandagatla This patch adds support toi APR bus (Asynchronous Packet Router) driver. ARP driver is made as a bus driver so that the apr devices can added removed more dynamically

[PATCH v9 08/13] regmap: add SLIMbus support

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to read/write SLIMbus value elements. Currently it only supports byte read/write. Adding this support in regmap would give codec drivers more flexibility when there are more than 2 control interfaces like SLIMbus, i2c. Without this patch each

[PATCH v9 07/13] slimbus: Add support for 'clock-pause' feature

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia Per SLIMbus specification, a reconfiguration sequence known as 'clock pause' needs to be broadcast over the bus while entering low- power mode. Clock-pause is initiated by the controller driver. To exit clock-pause, controller typically wakes up the framer device. Since wakeup

[PATCH v9 01/13] Documentation: Add SLIMbus summary

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. The summary of SLIMbus and API is

[PATCH v9 03/13] slimbus: Add SLIMbus bus type

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. SLIMbus uses

Re: [PATCH v6 1/5] scsi: ufs: add Hisilicon ufs driver code

2017-12-07 Thread Philippe Ombredanne
Dear Li, On Thu, Dec 7, 2017 at 11:20 AM, Li Wei wrote: > add Hisilicon ufs driver code. > > Signed-off-by: Li Wei > Signed-off-by: Geng Jianfeng > Signed-off-by: Zang Leigang > Signed-off-by: Yu Jianfeng [] > --- /dev/null > +++ b/drivers/scsi/ufs/ufs-hisi.c > @@ -0,0 +1,624 @@ > +/* > + *

[PATCH v9 06/13] slimbus: Add messaging APIs to slimbus framework

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus devices use value-element, and information elements to control device parameters (e.g. value element is used to represent gain for codec, information element is used to represent interrupt status for codec when codec interrupt fires). Messaging APIs are used to set/get

[PATCH v9 05/13] slimbus: core: add support to device tree helper

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to parse slim devices from device tree. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/slimbus/core.c

[PATCH v9 04/13] slimbus: core: Add slim controllers support

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia This patch adds support to slim controllers in the slim core, including some utility functions invoked by the controller and slim device drivers. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c| 306 ++

Re: [RFC v3 PATCH 0/2] Introduce Security Version to EFI Stub

2017-12-07 Thread Ingo Molnar
* Gary Lin wrote: > On Thu, Dec 07, 2017 at 09:18:16AM +0100, Ingo Molnar wrote: > > > > * Gary Lin wrote: > > > > > On Thu, Dec 07, 2017 at 07:09:27AM +0100, Ingo Molnar wrote: > > > > > > > > * Gary Lin wrote: > > > > > > > > > On Wed, Dec 06, 2017 at 07:37:34PM +0100, Ingo Molnar

Re: [PATCH v2] mfd: stm32: Adopt SPDX identifier

2017-12-07 Thread Lee Jones
On Tue, 05 Dec 2017, Benjamin Gaignard wrote: > Add SPDX identifier > > Signed-off-by: Benjamin Gaignard > --- > drivers/mfd/stm32-lptimer.c | 6 +- > drivers/mfd/stm32-timers.c| 4 +--- > include/linux/mfd/stm32-lptimer.h | 6 +- > include/linux/mfd/stm32-timers.h | 4

Re: [PATCH] tpm: return a TPM_RC_COMMAND_CODE response if a command isn't implemented

2017-12-07 Thread Jarkko Sakkinen
On Thu, Dec 07, 2017 at 03:32:16AM +0200, Jarkko Sakkinen wrote: > Reviewed-by: Jarkko Sakkinen > > /Jarkko ``` $ python -m unittest -v tpm2_smoke.SpaceTest.test_invalid_cc test_invalid_cc (tpm2_smoke.SpaceTest) ... ok -- Ran

Re: your mail

2017-12-07 Thread Greg Kroah-Hartman
On Thu, Dec 07, 2017 at 01:26:14AM -0800, Alexander Kappner wrote: > Date: Wed, 6 Dec 2017 15:28:37 -0800 > Subject: [PATCH] usb-core: Fix potential null pointer dereference in > xhci-debugfs.c Something went wrong here, resulting in an email with no subject. Can you fix this up and resend?

[PATCH] s390/decompressor: add fortify_panic as x86 has.

2017-12-07 Thread Michal Suchanek
Fix following error: LD arch/s390/boot/compressed/vmlinux drivers/s390/char/sclp_early_core.o: In function `memcpy': ../include/linux/string.h:340: undefined reference to `fortify_panic' make[4]: *** [../arch/s390/boot/compressed/Makefile:29: arch/s390/boot/compressed/vmlinux] Error 1

[PATCH] watchdog: core: make sure the watchdog_worker always works

2017-12-07 Thread Christophe Leroy
When running a command like 'chrt -f 99 dd if=/dev/zero of=/dev/null', the watchdog_worker fails to service the HW watchdog and the HW watchdog fires long before the watchdog soft timeout. At the moment, the watchdog_worker is invoked as a delayed work. Delayed works are handled by non realtime

Re: [PATCH v4 0/9] drm/i915: Implement HDCP

2017-12-07 Thread Jose Abreu
Hi Sean, On 07-12-2017 00:00, Sean Paul wrote: > Welcome to version 4 of the patchset. I think we're nearing the finish line > (hopefully) now. This set addresses the review feedback from v3. I applied > some > R-b's from v3 review, and converted others to Cc since other changes were made > to

Re: WARNING in x86_emulate_insn

2017-12-07 Thread Wanpeng Li
2017-12-07 15:52 GMT+08:00 Wanpeng Li : > 2017-12-07 15:49 GMT+08:00 蓝天宇 : >> Hi Dmitry: >> I tried to reproduce the issue via syz-execprog with attached >> reproducer on latest linux-next but it causes VM-entry failure due to >> invalid guest state... > > Because rflags is 0 in his program.

Re: [PATCH v2 0/4] i2c: pca-platform: additional improvements

2017-12-07 Thread Wolfram Sang
On Sun, Oct 29, 2017 at 06:29:18PM +0100, Wolfram Sang wrote: > On Wed, Jul 05, 2017 at 10:13:54PM +1200, Chris Packham wrote: > > This series addresses some of the points identified by Andy. The series is > > based on top of i2c/for-next. 2 of the patches from v1 have already been > > applied so

Re: [PATCH v2 2/2] clocksource: sprd: Add timer driver for Spreadtrum SC9860 platform

2017-12-07 Thread Daniel Lezcano
On 28/11/2017 03:45, Baolin Wang wrote: > The Spreadtrum SC9860 platform will use the architected timers as local > clock events, but we also need a broadcast timer device to wakeup the > cpus when the cpus are in sleep mode. > > Thus this patch registers the timer0 to be a broadcast timer

Re: PI futexes + lock stealing woes

2017-12-07 Thread Peter Zijlstra
On Wed, Dec 06, 2017 at 08:09:28PM -0600, Gratian Crisan wrote: > > Peter Zijlstra writes: > > > On Wed, Nov 29, 2017 at 11:56:05AM -0600, Julia Cartwright wrote: > > > >> fixup_owner() used to have additional seemingly relevant checks in place > >> that were removed 73d786bd043eb ("futex:

Re: [tip:x86/urgent] x86/boot/compressed/64: Detect and handle 5-level paging at boot-time

2017-12-07 Thread Kirill A. Shutemov
On Thu, Dec 07, 2017 at 01:40:42AM -0800, tip-bot for Kirill A. Shutemov wrote: > diff --git a/arch/x86/boot/compressed/pgtable_64.c > b/arch/x86/boot/compressed/pgtable_64.c > new file mode 100644 > index 000..b4469a3 > --- /dev/null > +++ b/arch/x86/boot/compressed/pgtable_64.c > @@ -0,0

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