Linux 4.19.9

2018-12-13 Thread Greg KH
I'm announcing the release of the 4.19.9 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.88

2018-12-13 Thread Greg KH
diff --git a/Makefile b/Makefile index 322484348f3e..3fdee40861a1 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 87 +SUBLEVEL = 88 EXTRAVERSION = NAME = Petit Gorille diff --git

Linux 4.14.88

2018-12-13 Thread Greg KH
I'm announcing the release of the 4.14.88 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-13 Thread Tom Talpey
On 12/13/2018 7:43 AM, Jerome Glisse wrote: On Wed, Dec 12, 2018 at 08:20:43PM -0700, Jason Gunthorpe wrote: On Wed, Dec 12, 2018 at 07:01:09PM -0500, Jerome Glisse wrote: On Wed, Dec 12, 2018 at 04:37:03PM -0700, Jason Gunthorpe wrote: On Wed, Dec 12, 2018 at 04:53:49PM -0500, Jerome Glisse

Re: Linux 4.9.145

2018-12-13 Thread Greg KH
diff --git a/Makefile b/Makefile index c62b2b529724..1499c7ba2874 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 144 +SUBLEVEL = 145 EXTRAVERSION = NAME = Roaring Lionus @@ -512,13 +512,15 @@ endif ifeq ($(cc-name),clang) ifneq

Linux 3.18.129

2018-12-13 Thread Greg KH
I'm announcing the release of the 3.18.129 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: Linux 3.18.129

2018-12-13 Thread Greg KH
diff --git a/Makefile b/Makefile index 9060189af162..7c4915be1414 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 128 +SUBLEVEL = 129 EXTRAVERSION = NAME = Diseased Newt @@ -759,6 +759,9 @@ KBUILD_CFLAGS += $(call

Re: Linux 4.4.167

2018-12-13 Thread Greg KH
diff --git a/Makefile b/Makefile index 64521458d35e..6b30551caee4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 166 +SUBLEVEL = 167 EXTRAVERSION = NAME = Blurry Fish Butt @@ -793,6 +793,9 @@ KBUILD_CFLAGS += $(call

Linux 4.9.145

2018-12-13 Thread Greg KH
I'm announcing the release of the 4.9.145 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.167

2018-12-13 Thread Greg KH
I'm announcing the release of the 4.4.167 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] arm64: invalidate TLB before turning MMU on

2018-12-13 Thread Qian Cai
On Thu, 2018-12-13 at 11:10 +0530, Bhupesh Sharma wrote: > Hi Qian Cai, > > On Thu, Dec 13, 2018 at 10:53 AM Qian Cai wrote: > > > > On this HPE Apollo 70 arm64 server with 256 CPUs, triggering a crash > > dump just hung. It has 4 threads on each core. Each 2-core share a same > > L1 and L2

Re: [PATCH V7 0/10] KVM: X86: Introducing ROE Protection Kernel Hardening

2018-12-13 Thread Stecklina, Julian
Ahmed, On Fri, 2018-12-07 at 14:47 +0200, Ahmed Abd El Mawgood wrote: > The reason why it would be better to implement this from inside kvm: instead > of > (host) user space is the need to access SPTEs to modify the permissions, while > mprotect() from user space can work in theory. It will

Re: [PATCH v4 4/5] scsi: hisi_sas: Add support for DIF feature for v3 hw

2018-12-13 Thread John Garry
On 13/12/2018 02:20, Martin K. Petersen wrote: John, Hi Martin, +static void fill_prot_v3_hw(struct scsi_cmnd *scsi_cmnd, + struct hisi_sas_protect_iu_v3_hw *prot) +{ + u8 prot_type = scsi_get_prot_type(scsi_cmnd); + u8 prot_op =

Re: use generic DMA mapping code in powerpc V4

2018-12-13 Thread Christian Zigotzky
On 13 December 2018 at 12:25PM, Christoph Hellwig wrote: On Thu, Dec 13, 2018 at 12:19:26PM +0100, Christian Zigotzky wrote: I tried it again but I get the following error message: MODPOST vmlinux.o arch/powerpc/kernel/dma-iommu.o: In function `.dma_iommu_get_required_mask': (.text+0x274):

Re: [PATCH] gnss: sirf: fix activation retry handling

2018-12-13 Thread Johan Hovold
On Sun, Dec 09, 2018 at 08:58:02PM +0100, Andreas Kemnade wrote: > Hi, > > On Wed, 5 Dec 2018 11:21:49 +0100 > Johan Hovold wrote: > > > Fix activation helper which would return -ETIMEDOUT even if the last > > retry attempt was successful. > > > > Also change the semantics of the retries

Re: [PATCH v3 6/8] perf cs-etm: Treat NO_SYNC element as trace discontinuity

2018-12-13 Thread leo . yan
On Thu, Dec 13, 2018 at 10:26:33AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Dec 13, 2018 at 10:21:26AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Dec 13, 2018 at 09:09:49PM +0800, leo@linaro.org escreveu: > > > Thanks a lot for helping. If you prefer me to resend the patch

Re: [PATCH v2 2/3] spi: meson-axg: enhance output enable feature

2018-12-13 Thread Sunny Luo
Hi Jerome, On 2018/12/13 17:04, Jerome Brunet wrote: On Thu, 2018-12-13 at 16:39 +0800, Sunny Luo wrote: The SPICC controller in Meson-AXG is capable of driving the CLK/MOSI/SS signal lines through the idle state (between two transmission operation), which avoid the signals floating in

Re: [PATCH 05/11] staging: iio: adc: ad7606: Add support for threaded irq

2018-12-13 Thread Dan Carpenter
On Thu, Dec 13, 2018 at 02:46:17PM +0200, Stefan Popa wrote: > +static int ad7606_buffer_predisable(struct iio_dev *indio_dev) > +{ > + struct ad7606_state *st = iio_priv(indio_dev); > + int ret; > + > + reinit_completion(>completion); > + gpiod_set_value(st->gpio_convst, 1); > +

Re: [PATCH 1/8] mfd: axp20x: name voltage ramping define properly

2018-12-13 Thread Lee Jones
On Thu, 13 Dec 2018, Mark Brown wrote: > On Mon, Dec 10, 2018 at 08:42:12PM +0200, Priit Laes wrote: > > > Signed-off-by: Olliver Schinagl > > Signed-off-by: Priit Laes > > Acked-for-MFD-by: Lee Jones > > What's going on with this patch? Will you be applying it or is this an > ack for it to

[RESEND PATCH v2] megaraid: fix out-of-bound array accesses

2018-12-13 Thread Qian Cai
UBSAN reported those with MegaRAID SAS-3 3108, [ 77.467308] UBSAN: Undefined behaviour in drivers/scsi/megaraid/megaraid_sas_fp.c:117:32 [ 77.475402] index 255 is out of range for type 'MR_LD_SPAN_MAP [1]' [ 77.481677] CPU: 16 PID: 333 Comm: kworker/16:1 Not tainted 4.20.0-rc5+ #1 [

Re: [PATCH v3 6/8] perf cs-etm: Treat NO_SYNC element as trace discontinuity

2018-12-13 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 13, 2018 at 10:21:26AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Dec 13, 2018 at 09:09:49PM +0800, leo@linaro.org escreveu: > > Thanks a lot for helping. If you prefer me to resend the patch set, > > also let me know. > > I can fix it, here. Can I take a look at the

Re: [PATCH v13 1/6] x86/boot: Introduce kstrtoull() to boot directory instead of simple_strtoull()

2018-12-13 Thread Borislav Petkov
On Wed, Dec 12, 2018 at 04:03:12PM +0800, Baoquan He wrote: > Surely, using the old simple_strtoull() is fine too, we can take its > replacement into TODO list. Yes, that would be nice. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

Re: [PATCH v2 3/3] spi: meson-axg: add a linear clock divider support

2018-12-13 Thread Sunny Luo
Hi Neil, On 2018/12/13 16:55, Neil Armstrong wrote: Hi Sunny, On 13/12/2018 09:39, Sunny Luo wrote: The SPICC controller in Meson-AXG SoC is capable of using a linear clock divider to reach a much fine tuned range of clocks, while the old controller only use a power of two clock divider,

Re: [PATCH v3 6/8] perf cs-etm: Treat NO_SYNC element as trace discontinuity

2018-12-13 Thread leo . yan
On Thu, Dec 13, 2018 at 10:21:26AM -0300, Arnaldo Carvalho de Melo wrote: [...] > > > commit 148068b45fe2e93b19c06cfc1140ea12ca72eb59 > > > Author: Leo Yan > > > Date: Tue Dec 11 15:38:26 2018 +0800 > > > > > > perf cs-etm: Treat NO_SYNC element as trace discontinuity > > > > > >

RE: [PATCH 2/3] clk: imx: Build imx8mq clocks on arm64 only

2018-12-13 Thread Aisheng Dong
> -Original Message- > From: Abel Vesa > Sent: Thursday, December 13, 2018 9:18 PM > Subject: [PATCH 2/3] clk: imx: Build imx8mq clocks on arm64 only > > The composite-8m, frac and sccg clocks are not used by any arm32 IMX SoC, > therefore build them only on arm64. CONFIG_ARCH_MXC is

Re: usb: thoughts of adding more support for FT232H

2018-12-13 Thread Johan Hovold
Hi Song, Sorry about the late reply. On Thu, Dec 06, 2018 at 02:02:21PM +0800, Song Qiang wrote: > > On 12/5/18 11:17 PM, Anatolij Gustschin wrote: > > Hi, > > > > On Wed, 5 Dec 2018 22:10:40 +0800 > > Song Qiang songqiang1304...@gmail.com wrote: > > ... > >> I've been developing some iio

Re: [PATCH 0/3] i.MX8MQ build dependency fixes

2018-12-13 Thread Abel Vesa
On 18-12-13 13:17:40, Abel Vesa wrote: > These patches will probably have to be take through different > trees, but the order has to be kept otherwise this won't work. > > I can resend as separate patches (if necessary) as long as we can > get them in together. > Please ignore this patch

Re: [PATCH 02/11] staging: iio: adc: ad7606: Use SPDX identifier

2018-12-13 Thread Dan Carpenter
On Thu, Dec 13, 2018 at 02:46:14PM +0200, Stefan Popa wrote: > This patch replaces the license text at the top of ad7606 driver files > and instead adds SPDX GPL-2.0+ license identifier. > > Signed-off-by: Stefan Popa > --- > drivers/staging/iio/adc/ad7606.c | 5 ++--- >

Re: [PATCH v3 6/8] perf cs-etm: Treat NO_SYNC element as trace discontinuity

2018-12-13 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 13, 2018 at 09:09:49PM +0800, leo@linaro.org escreveu: > Hi Arnaldo, > > On Thu, Dec 13, 2018 at 09:41:54AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Thu, Dec 13, 2018 at 09:38:54AM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Tue, Dec 11, 2018 at 03:38:26PM +0800, Leo

[PATCH 3/3] arm64: Add i.MX8 boot necesarry configs to defconfig

2018-12-13 Thread Abel Vesa
The CONFIG_ARCH_MXC will enable all the i.MX8 SoC. Also add the FEC config for ethernet support, the serial and the pinctrl for i.MX8MQ. Signed-off-by: Abel Vesa --- arch/arm64/configs/defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/configs/defconfig

[PATCH 0/3] i.MX8MQ build dependency fixes

2018-12-13 Thread Abel Vesa
These patches will probably have to be take through different trees, but the order has to be kept otherwise this won't work. I can resend as separate patches (if necessary) as long as we can get them in together. Abel Vesa (3): arm64: Remove CONFIG_SOC_IMX8MQ and use ARCH_MXC instead clk:

[PATCH 2/3] clk: imx: Build imx8mq clocks on arm64 only

2018-12-13 Thread Abel Vesa
The composite-8m, frac and sccg clocks are not used by any arm32 IMX SoC, therefore build them only on arm64. CONFIG_ARCH_MXC is arm64 only, use that. Signed-off-by: Abel Vesa --- drivers/clk/imx/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 1/3] arm64: Remove CONFIG_SOC_IMX8MQ and use ARCH_MXC instead

2018-12-13 Thread Abel Vesa
To keep aligned with arm64, remove the unnecessary SOC_IMX8MQ and use ARCH_MXC instead. Signed-off-by: Abel Vesa --- arch/arm64/Kconfig.platforms | 8 arch/arm64/boot/dts/freescale/Makefile | 2 +- drivers/clk/imx/Makefile | 3 ++- drivers/phy/freescale/Kconfig

Re: [PATCH v9 0/7] KVM: x86: Allow Qemu/KVM to use PVH entry point

2018-12-13 Thread Paolo Bonzini
On 12/12/18 21:39, Borislav Petkov wrote: > On Tue, Dec 11, 2018 at 11:29:21AM -0800, Maran Wilson wrote: >> Is your question about what options you need to provide to Qemu? Or is your >> question about the SW implementation choices? >> >> Assuming the former... > Yeah, that's what I wanted to

Re: [PATCH] xen: xen-pciback: Reset MSI-X state when exposing a device

2018-12-13 Thread Chao Gao
On Thu, Dec 13, 2018 at 12:54:52AM -0700, Jan Beulich wrote: On 13.12.18 at 04:46, wrote: >> On Wed, Dec 12, 2018 at 08:21:39AM -0700, Jan Beulich wrote: >> On 12.12.18 at 16:18, wrote: On Wed, Dec 12, 2018 at 01:51:01AM -0700, Jan Beulich wrote: On 12.12.18 at 08:06,

Re: [PATCH v8 0/7] KVM: x86: Allow Qemu/KVM to use PVH entry point

2018-12-13 Thread Paolo Bonzini
On 12/12/18 19:09, Maran Wilson wrote: > On 12/6/2018 1:21 PM, Paolo Bonzini wrote: >> On 06/12/18 07:02, Maran Wilson wrote: >>> For certain applications it is desirable to rapidly boot a KVM virtual >>> machine. In cases where legacy hardware and software support within the >>> guest is not

Re: [PATCH v2 2/3] spi: meson-axg: enhance output enable feature

2018-12-13 Thread Sunny Luo
Hi Neil, On 2018/12/13 16:53, Neil Armstrong wrote: Hi Sunny, On 13/12/2018 09:39, Sunny Luo wrote: The SPICC controller in Meson-AXG is capable of driving the CLK/MOSI/SS signal lines through the idle state (between two transmission operation), which avoid the signals floating in unexpected

Re: [PATCH v2] sched/fair: fix 1 task per CPU

2018-12-13 Thread Peter Zijlstra
On Thu, Dec 13, 2018 at 12:04:20PM +0100, Vincent Guittot wrote: > On Thu, 13 Dec 2018 at 11:44, Peter Zijlstra wrote: > > > > On Mon, Sep 10, 2018 at 04:43:09PM +0200, Vincent Guittot wrote: > > > When CPUs have different capacity because of RT/DL tasks or > > > micro-architecture or max

Re: [PATCH v3 0/8] perf cs-etm: Correct packets handling

2018-12-13 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 12, 2018 at 11:45:44AM -0700, Mathieu Poirier escreveu: > On Tue, 11 Dec 2018 at 00:40, Leo Yan wrote: > > > > perf cs-etm module converts decoder elements to packets and then we have > > more context crossing packets to generate synthenize samples, finally > > perf tool can faciliate

Re: [PATCH v3 6/8] perf cs-etm: Treat NO_SYNC element as trace discontinuity

2018-12-13 Thread leo . yan
Hi Arnaldo, On Thu, Dec 13, 2018 at 09:41:54AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Dec 13, 2018 at 09:38:54AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Tue, Dec 11, 2018 at 03:38:26PM +0800, Leo Yan escreveu: > > > CoreSight tracer driver might insert barrier packet between

Re: [PATCH v2 1/1] mm, memory_hotplug: Initialize struct pages for the full memory section

2018-12-13 Thread Michal Hocko
On Wed 12-12-18 18:27:12, Mikhail Zaslonko wrote: > If memory end is not aligned with the sparse memory section boundary, the > mapping of such a section is only partly initialized. This may lead to > VM_BUG_ON due to uninitialized struct page access from > is_mem_section_removable() or

Re: [PATCH v5 02/12] gpu: ipu-csi: Swap fields according to input/output field types

2018-12-13 Thread Philipp Zabel
Hi Steve, On Tue, 2018-10-16 at 17:00 -0700, Steve Longerbeam wrote: > The function ipu_csi_init_interface() was inverting the F-bit for > NTSC case, in the CCIR_CODE_1/2 registers. The result being that > for NTSC bottom-top field order, the CSI would swap fields and > capture in top-bottom

Re: [PATCH v4 0/5] add PM functionality for act8945a PMIC

2018-12-13 Thread Claudiu.Beznea
Hi Mark, I saw that previous version of this series was applied to your tree just after I've send this new one. The only difference b/w them is in the documentation patch where I moved the new header. No functionality change. Sorry for the noise, Claudiu Beznea On 13.12.2018 14:49, Claudiu

Re: [PATCH v13 1/6] x86/boot: Introduce kstrtoull() to boot directory instead of simple_strtoull()

2018-12-13 Thread Borislav Petkov
On Wed, Dec 12, 2018 at 11:10:48AM +0800, Chao Fan wrote: > Introduce kstrtoull() from lib/kstrtox.c to boot directory so that code > in boot/ can use kstrtoull() and the old simple_strtoull() can be > replaced. > > Signed-off-by: Chao Fan > --- > arch/x86/boot/string.c | 137

[PATCH v4 1/6] regulator: act8945a-regulator: unlock expert registers

2018-12-13 Thread Claudiu.Beznea
From: Claudiu Beznea Unlock expert registers for act8945a. This is based on orginal work of Boris Brezillon at [1]. [1] https://www.spinics.net/lists/kernel/msg2942960.html Signed-off-by: Claudiu Beznea --- drivers/regulator/act8945a-regulator.c | 13 - 1 file changed, 12

[PATCH v4 3/6] regulator: act8945a-regulator: Implement PM functionalities

2018-12-13 Thread Claudiu.Beznea
From: Boris Brezillon The regulator supports a dedicated suspend mode. Implement the appropriate ->set_suspend_xx() hooks, add support for ->set_mode(), and provide basic PM ops functionalities to setup the regulator in a suspend state when the system is entering suspend. Signed-off-by: Boris

[PATCH v2 0/2] clk: Add driver and bindings for Fixed MMIO clock

2018-12-13 Thread Jan Kotas
This patchset adds a driver support for Fixed Memory Mapped IO clock. The driver reads a clock frequency value from a single 32-bit memory mapped register and registers it as a fixed rate clock. It can be useful for prototyping Linux on various hardware platforms. It is not intended to be used

[PATCH v4 4/6] regulator: act8945a-regulator: fix line over 80 chars warning

2018-12-13 Thread Claudiu.Beznea
From: Claudiu Beznea Fix line over 80 chars checkpatch.pl warning. Signed-off-by: Claudiu Beznea --- drivers/regulator/act8945a-regulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/act8945a-regulator.c b/drivers/regulator/act8945a-regulator.c

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Lucas Stach
Am Donnerstag, den 13.12.2018, 12:34 + schrieb Lorenzo Pieralisi: > On Thu, Dec 13, 2018 at 11:07:16AM +0100, Lucas Stach wrote: > > Am Donnerstag, den 13.12.2018, 09:57 + schrieb Richard Zhu: > > > Hi Lucas: > > > > > > > -Original Message- > > > > > > From: Lucas Stach

[PATCH v4 5/6] regulator: act8945a-regulator: add shutdown function

2018-12-13 Thread Claudiu.Beznea
From: Claudiu Beznea Implement shutdown method to make sure the PMIC will not enter the suspend state when the system is shutdown. This work is based on work done by Borris Brezillon on [1]. [1] https://www.spinics.net/lists/kernel/msg2942960.html Signed-off-by: Claudiu Beznea ---

[PATCH v2 2/2] clk: Add Fixed MMIO clock driver

2018-12-13 Thread Jan Kotas
This patch adds a driver for Fixed MMIO clock. The driver reads a clock frequency value from a single 32-bit memory mapped register and registers it as a fixed rate clock. It can be enabled with COMMON_CLK_FIXED_MMIO Kconfig option. Signed-off-by: Jan Kotas --- drivers/clk/Kconfig |

Re: [PATCH v2 2/3] spi: meson-axg: enhance output enable feature

2018-12-13 Thread Sunny Luo
Hi Mark, On 2018/12/13 19:53, Mark Brown wrote: On Thu, Dec 13, 2018 at 10:04:56AM +0100, Jerome Brunet wrote: On Thu, 2018-12-13 at 16:39 +0800, Sunny Luo wrote: writel_bits_relaxed(BIT(24), BIT(24), spicc->base + SPICC_TESTREG); + meson_spicc_oen_enable(spicc); + Any specific

[PATCH v4 6/6] ARM: dts: at91: sama5d2_xplained: Add proper regulator states for suspend-to-mem

2018-12-13 Thread Claudiu.Beznea
From: Boris Brezillon When entering suspend-to-mem, all PMIC outputs are disabled except VDDIODDR which is put in power saving mode, and whose voltage is increased (probably to counter the poor accuracy of power saving mode). Signed-off-by: Boris Brezillon [claudiu.bez...@microchip.com: use

[PATCH v4 2/6] regulator: add documentation for regulator modes and suspend states

2018-12-13 Thread Claudiu.Beznea
From: Claudiu Beznea Add documentation for regulator modes and suspend states. Signed-off-by: Claudiu Beznea --- .../bindings/regulator/act8945a-regulator.txt | 34 ++ .../regulator/active-semi,8945a-regulator.h| 30 +++ 2 files changed, 64

[PATCH v2 1/2] dt-bindings: clk: Add bindings for Fixed MMIO clock

2018-12-13 Thread Jan Kotas
This patch adds a DT binding documentation for Fixed Memory Mapped IO clocks. Signed-off-by: Jan Kotas --- .../devicetree/bindings/clock/fixed-mmio-clock.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644

[PATCH v4 0/5] add PM functionality for act8945a PMIC

2018-12-13 Thread Claudiu.Beznea
From: Claudiu Beznea This series implements PM functionality for act8945a PMIC and use that support on SAMA5D2 Xplained board. Changes in v4: - move dt-bindings/regulator/active-semi,8945a-regulator.h in documentation patch; driver uses macros included in this file; due to this documentation

[PATCH 02/11] staging: iio: adc: ad7606: Use SPDX identifier

2018-12-13 Thread Stefan Popa
This patch replaces the license text at the top of ad7606 driver files and instead adds SPDX GPL-2.0+ license identifier. Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/ad7606.c | 5 ++--- drivers/staging/iio/adc/ad7606.h | 3 +-- drivers/staging/iio/adc/ad7606_par.c | 5 ++---

[PATCH 10/11] staging: iio: adc: ad7606: Move out of staging

2018-12-13 Thread Stefan Popa
Move ad7606 ADC driver out of staging and into the mainline. Signed-off-by: Stefan Popa --- MAINTAINERS | 7 + drivers/iio/adc/Kconfig | 28 ++ drivers/iio/adc/Makefile | 3 + drivers/iio/adc/ad7606.c | 588

[PATCH 11/11] dt-bindings: iio: adc: Add docs for AD7606 ADC

2018-12-13 Thread Stefan Popa
Document support for AD7606 Analog to Digital Converter. Signed-off-by: Stefan Popa Reviewed-by: Rob Herring --- .../devicetree/bindings/iio/adc/adi,ad7606.txt | 65 ++ MAINTAINERS| 1 + 2 files changed, 66 insertions(+) create

[PATCH 08/11] staging: iio: adc: ad7606: Add OF device ID table

2018-12-13 Thread Stefan Popa
The driver does not have a struct of_device_id table, but supported devices are registered via Device Trees. This patch adds and OF device ID table. Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/ad7606_par.c | 10 ++ drivers/staging/iio/adc/ad7606_spi.c | 10 ++ 2 files

[PATCH 09/11] staging: iio: adc: ad7606: Misc style fixes (no functional change)

2018-12-13 Thread Stefan Popa
* Placed includes in alphabetical order * Added brackets around num and mask through out for AD760X_CHANNEL * Used single line comments where needed * Removed extra lines and spaces Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/ad7606.c | 27 ---

[PATCH 07/11] staging: iio: adc: ad7606: Use vendor prefix for DT properties

2018-12-13 Thread Stefan Popa
The 'adi' vendor prefix needs to be added to conversion-start, range, first-data and oversampling-ratio properties. Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/ad7606.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/staging/iio/adc/ad7606.c

[PATCH 04/11] staging: iio: adc: ad7606: Use devm functions in probe

2018-12-13 Thread Stefan Popa
Switch to devm version of request_irq, iio_triggered_buffer_setup, iio_device_register. To avoid potential ordering issues in probe, devm_add_action_or_reset() is used for the regulator_disable(). This simplifies the code and decreases the chance of bugs. Signed-off-by: Stefan Popa ---

[PATCH 06/11] staging: iio: adc: ad7606: Use find_closest() macro

2018-12-13 Thread Stefan Popa
When looking for the available scale or oversampling ratio, it is better to use the find_closest() macro. This simplifies the code and also does not require an exact value to be entered from the user space. Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/ad7606.c | 58

[PATCH 01/11] staging: iio: adc: ad7606: Simplify the Kconfing menu

2018-12-13 Thread Stefan Popa
There is no point in having three menu entries that can be selected individually. Instead, the SPI and parallel interfaces should select AD7606. Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/Kconfig | 24 +--- 1 file changed, 9 insertions(+), 15 deletions(-) diff

[PATCH 05/11] staging: iio: adc: ad7606: Add support for threaded irq

2018-12-13 Thread Stefan Popa
This patch replaces the use of a polling ring buffer with a threaded interrupt. Enabling the buffer sets the CONVST signal to high. When the rising edge of the CONVST is applied, BUSY signal goes logic high and transitions low at the end of the entire conversion process. The falling edge of the

[PATCH 03/11] staging: iio: adc: ad7606: Use wait-for-completion handler

2018-12-13 Thread Stefan Popa
This patch replaces the use of wait_event_interruptible() with wait_for_completion_timeout() when reading the result of a single conversion. In this way, if the interrupt never occurs, the program will not remain blocked. Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/ad7606.c | 14

[PATCH 00/11] staging: iio: ad7606: Move out of staging

2018-12-13 Thread Stefan Popa
This series attempts to clean up the driver according to the feedback received during review and finally moves it out of staging. Stefan Popa (11): staging: iio: adc: ad7606: Simplify the Kconfing menu staging: iio: adc: ad7606: Use SPDX identifier staging: iio: adc: ad7606: Use

Re: [PATCH v2] i2c: axxia: support sequence command mode

2018-12-13 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
Hi! On 13/12/2018 13:09, Adamski, Krzysztof (Nokia - PL/Wroclaw) wrote: > In order to comply with SMBus specification, the Axxia I²C module will > abort the multi message transfer if the delay between finishing sending > one message and starting another is longer than 25ms. Unfortunately it >

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-13 Thread Jerome Glisse
On Wed, Dec 12, 2018 at 08:20:43PM -0700, Jason Gunthorpe wrote: > On Wed, Dec 12, 2018 at 07:01:09PM -0500, Jerome Glisse wrote: > > On Wed, Dec 12, 2018 at 04:37:03PM -0700, Jason Gunthorpe wrote: > > > On Wed, Dec 12, 2018 at 04:53:49PM -0500, Jerome Glisse wrote: > > > > > Almost, we need some

Re: [PATCH] printk: Add caller information to printk() output.

2018-12-13 Thread Sergey Senozhatsky
On (12/13/18 13:18), Petr Mladek wrote: > > Sometimes we want to print a series of printk() messages to consoles > > without being disturbed by concurrent printk() from interrupts and/or > > other threads. But we can't enforce printk() callers to use their local > > buffers because we need to ask

Re: [PATCH v3 6/8] perf cs-etm: Treat NO_SYNC element as trace discontinuity

2018-12-13 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 13, 2018 at 09:38:54AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Dec 11, 2018 at 03:38:26PM +0800, Leo Yan escreveu: > > CoreSight tracer driver might insert barrier packet between different > > buffers, thus the decoder can spot the boundaries based on the barrier > >

Re: intel_pstate: Lowest frequency not reached with Intel i7-6700

2018-12-13 Thread Paul Menzel
Dear Rafael, On 12/13/18 11:39, Rafael J. Wysocki wrote: > On Thu, Dec 13, 2018 at 10:54 AM Paul Menzel wrote: >> On 12/13/18 00:06, Doug Smythies wrote: >>> On 2018.12.12 13:40 Paul Menzel wrote: >>> Using *powersave* as P-state selection algorithm, on an idle system >>> >>> Define "idle

Re: [PATCH V2] kernel/hung_task.c: Force console verbose before panic

2018-12-13 Thread Sergey Senozhatsky
On (12/13/18 01:51), Liu, Chuansheng wrote: > V1: console_verbose() is used instead of ignore_loglevel, > suggested by Sergey. > Tweak the function check_hung_task() suggested by > Tetsuo to make code more readable. > > V2: Petr suggests to make 2 patches: > One is addressing

Re: [RFC PATCH 1/3] config: provide a fragment to enable gdb for qemu

2018-12-13 Thread Mark Brown
On Thu, Dec 13, 2018 at 01:29:08PM +0100, Anders Roxell wrote: > Adding a fragment to make it easier to know what options is needed to > build a kernel to get the that you can debug in qemu. > @@ -0,0 +1,7 @@ > +# Enable debug info for gdb > +# CONFIG_COMPILE_TEST is not set >

Re: Can we drop upstream Linux x32 support?

2018-12-13 Thread Catalin Marinas
On Wed, Dec 12, 2018 at 10:03:30AM -0800, Andy Lutomirski wrote: > On Wed, Dec 12, 2018 at 8:52 AM Rich Felker wrote: > > On Wed, Dec 12, 2018 at 08:39:53AM -0800, Andy Lutomirski wrote: > > > I'm proposing another alternative. Given that x32 already proves that > > > the user bitness model

Re: [PATCH v3] mm, memcg: fix reclaim deadlock with writeback

2018-12-13 Thread Michal Hocko
On Thu 13-12-18 13:41:47, Kirill A. Shutemov wrote: > On Thu, Dec 13, 2018 at 10:22:21AM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > Liu Bo has experienced a deadlock between memcg (legacy) reclaim and the > > ext4 writeback > > task1: > > [] wait_on_page_bit+0x82/0xa0 > > []

Re: [PATCH v3 6/8] perf cs-etm: Treat NO_SYNC element as trace discontinuity

2018-12-13 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 11, 2018 at 03:38:26PM +0800, Leo Yan escreveu: > CoreSight tracer driver might insert barrier packet between different > buffers, thus the decoder can spot the boundaries based on the barrier > packet; the decoder is possible to hit a barrier packet and emit a > NO_SYNC element, then

Re: [PATCH 18/52] virtio-fs: Map cache using the values from the capabilities

2018-12-13 Thread Cornelia Huck
On Thu, 13 Dec 2018 13:24:31 +0100 David Hildenbrand wrote: > On 13.12.18 13:15, Dr. David Alan Gilbert wrote: > > * David Hildenbrand (da...@redhat.com) wrote: > >> On 13.12.18 11:00, Dr. David Alan Gilbert wrote: > >>> * David Hildenbrand (da...@redhat.com) wrote: > On 13.12.18

Re: [v7, PATCH 2/2] dt-binding: mediatek-dwmac: add binding document for MediaTek MT2712 DWMAC

2018-12-13 Thread Andrew Lunn
> +- mediatek,rx-delay-ps: RX clock delay macro value. Default is 0. > + It should be defined for rgmii/rgmii-txid/mii/rmii interface. > +Both delay properties need to be a multiple of 170 for fine-tune rgmii, > +range 0~31*170. > +Both delay properties need to be a multiple of 550 for

Re: [PATCH] drivers/base: use a worker for sysfs unbind

2018-12-13 Thread Daniel Vetter
On Thu, Dec 13, 2018 at 11:23 AM Rafael J. Wysocki wrote: > > On Thu, Dec 13, 2018 at 10:58 AM Daniel Vetter wrote: > > > > On Thu, Dec 13, 2018 at 10:38:14AM +0100, Rafael J. Wysocki wrote: > > > On Mon, Dec 10, 2018 at 9:47 AM Daniel Vetter > > > wrote: > > > > > > > > Drivers might want to

[PATCH 0/2] reset: socfpga, sunxi: declare _reset_init functions in header files

2018-12-13 Thread Philipp Zabel
Hi, this moves the socpfga_reset_init function declaration into a header file that is included by both mach-socfpga and reset-socfpga code, as suggested by Stephen. The second patch does the same for sun6i_reset_init. Since the socfpga patch avoids a (trivial) merge conflict with the arm-soc

[PATCH 2/2] reset: socfpga: declare socfpga_reset_init in a header file

2018-12-13 Thread Philipp Zabel
Avoid declaring extern functions in c files. To make sure function definition and usage don't get out of sync, declare socfpga_reset_init in a common header. Suggested-by: Stephen Rothwell Signed-off-by: Philipp Zabel --- arch/arm/mach-socfpga/socfpga.c | 3 +-- drivers/reset/reset-socfpga.c

[PATCH 1/2] reset: sunxi: declare sun6i_reset_init in a header file

2018-12-13 Thread Philipp Zabel
Avoid declaring extern functions in c files. To make sure function definition and usage don't get out of sync, declare sun6i_reset_init in a common header. Suggested-by: Stephen Rothwell Signed-off-by: Philipp Zabel --- arch/arm/mach-sunxi/sunxi.c | 2 +- drivers/reset/reset-sunxi.c | 1 +

Re: [v7, PATCH 1/2] net:stmmac: dwmac-mediatek: add support for mt2712

2018-12-13 Thread Andrew Lunn
Hi Biao > + case PHY_INTERFACE_MODE_RGMII: > + /* the PHY is not responsible for inserting any internal > + * delay by itself in PHY_INTERFACE_MODE_RGMII case, > + * so Ethernet MAC will insert delays for both transmit > + * and receive path

Re: [v2] PCI: imx: make msi work without pcieportbus

2018-12-13 Thread Lorenzo Pieralisi
On Thu, Dec 13, 2018 at 11:07:16AM +0100, Lucas Stach wrote: > Am Donnerstag, den 13.12.2018, 09:57 + schrieb Richard Zhu: > > Hi Lucas: > > > > > -Original Message- > > > > > From: Lucas Stach [mailto:l.st...@pengutronix.de] > > > Sent: 2018年12月13日 17:19 > > > > > > > To: Richard Zhu

Re: [PATCH 2/2] livepatch: handle kzalloc failure

2018-12-13 Thread Petr Mladek
t; Patch was compile tested with: x86_64_defconfig + FTRACE=y > FUNCTION_TRACER=y, EXPERT=y, LATENCYTOP=y, SAMPLES=y, SAMPLE_LIVEPATCH=y > (with a number of unrelated sparse warnings on symbols not being static) > > Patch is against 4.20-rc6 (localversion-next is next-20181213) > >

Re: [PATCH] drm/sun4i: fix HSYNC and VSYNC polarity

2018-12-13 Thread Giulio Benetti
Il 13/12/2018 12:58, Giulio Benetti ha scritto: Il 13/12/2018 04:08, Jonathan Liu ha scritto: Hi Giulio, On Wed, 12 Dec 2018 at 04:20, Giulio Benetti wrote: Hi Jonathan, Il 11/12/2018 11:49, Jonathan Liu ha scritto: Hi Giulio, On Thu, 6 Dec 2018 at 22:00, Giulio Benetti wrote: Hi

Re: [PATCH 1/2] livepatch: handle kzalloc failure

2018-12-13 Thread Petr Mladek
t; Patch is against 4.20-rc6 (localversion-next is next-20181213) > > samples/livepatch/livepatch-shadow-fix1.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/samples/livepatch/livepatch-shadow-fix1.c > b/samples/livepatch/livepatch-shadow-fix1.c > index 49b

Re: [PATCH 6/6] Drop flex_arrays

2018-12-13 Thread Xin Long
On Sat, Sep 8, 2018 at 1:57 AM Kent Overstreet wrote: > > All existing users have been converted to generic radix trees NAK, SCTP is still using flex_arrays, # grep flex_array net/sctp/* This patch will break the build. > > Signed-off-by: Kent Overstreet > Acked-by: Dave Hansen > --- >

[RFC PATCH 1/3] config: provide a fragment to enable gdb for qemu

2018-12-13 Thread Anders Roxell
Adding a fragment to make it easier to know what options is needed to build a kernel to get the that you can debug in qemu. First you need to start qemu with flags '-s -S' and then connect with gdb like below: $ gdb \ ./obj-dir/vmlinux -iex 'add-auto-load-safe-path \ ./obj-dir' -ex 'target

[RFC PATCH 3/3] arm64: add a new config option KTEST_RUNNABLE

2018-12-13 Thread Anders Roxell
With this new config option, we can boot a allmodconfig kernel in qemu. Config options SERIAL_AMBA_PL011, SERIAL_AMBA_PL011_CONSOLE, UNIX needs to be enabled in order to get a console. Options like CPU_BIG_ENDIAN, CMDLINE_FORCE, CMDLINE_OVERRIDE and HVC_DCC needs to be disabled. Co-developed-by:

[RFC PATCH 2/3] lib/ubsan: default UBSAN_ALIGNMENT to not set

2018-12-13 Thread Anders Roxell
When booting an allmodconfig kernel, there are a lot of false-positives. With a message like this 'UBSAN: Undefined behaviour in...' with a call trace that follows. Reworked so that when building a allmodconfig kernel that turns everything into '=m' or '=y' will turn off UBSAN_ALIGNMENT.

[RFC PATCH 0/3] Make allmodconfig boot in qemu-arm64

2018-12-13 Thread Anders Roxell
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -skj$(getconf _NPROCESSORS_ONLN) O=obj-arm64-next-20181213 allmodconfig kvm_guest.config qemu-gdb.config $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -skj$(getconf _NPROCESSORS_ONLN) O=obj-arm64-next-20181213 Image Before we do the same jo

Re: [PATCH 18/52] virtio-fs: Map cache using the values from the capabilities

2018-12-13 Thread David Hildenbrand
On 13.12.18 13:15, Dr. David Alan Gilbert wrote: > * David Hildenbrand (da...@redhat.com) wrote: >> On 13.12.18 11:00, Dr. David Alan Gilbert wrote: >>> * David Hildenbrand (da...@redhat.com) wrote: On 13.12.18 10:13, Dr. David Alan Gilbert wrote: > * David Hildenbrand (da...@redhat.com)

RE: KASAN: use-after-free Read in tipc_group_cong

2018-12-13 Thread Jon Maloy
> -Original Message- > From: Dmitry Vyukov > Sent: 13-Dec-18 04:47 > To: Jon Maloy > Cc: syzbot+9845fed98688e01f4...@syzkaller.appspotmail.com; David Miller > ; LKML ; netdev > ; syzkaller-bugs b...@googlegroups.com>; tipc-discuss...@lists.sourceforge.net; Ying Xue > > Subject: Re:

REPLY FOR CHARITY PROJECT.

2018-12-13 Thread Rebecca Johnson

Re: [PATCH 4.19 014/110] usb: xhci: Prevent bus suspend if a port connect change or polling state is detected

2018-12-13 Thread Mathias Nyman
On 13.12.2018 09:36, Greg Kroah-Hartman wrote: On Wed, Dec 12, 2018 at 11:53:34PM +0100, Thomas Zeitlhofer wrote: Hello, On Thu, Nov 29, 2018 at 03:11:45PM +0100, Greg Kroah-Hartman wrote: 4.19-stable review patch. If anyone has any objections, please let me know. -- From:

Re: [RESEND PATCH v3 3/3] regulator: mcp16502: add regulator driver for MCP16502

2018-12-13 Thread Andrei.Stefanescu
Hi Mark, On 12.12.2018 17:55, Mark Brown wrote: > On Wed, Dec 12, 2018 at 08:01:07AM +, andrei.stefane...@microchip.com > wrote: > >>> This puts the device into low power mode when the suspend function gets >>> called but this might not be safe - devices using the regulator may not >>> be

Re: [PATCH 3/3] epoll: use rwlock in order to reduce ep_poll_callback() contention

2018-12-13 Thread Roman Penyaev
On 2018-12-13 12:19, Andrea Parri wrote: On Thu, Dec 13, 2018 at 11:13:58AM +0100, Roman Penyaev wrote: On 2018-12-12 18:13, Andrea Parri wrote: > On Wed, Dec 12, 2018 at 12:03:57PM +0100, Roman Penyaev wrote: [...] > > +static inline void list_add_tail_lockless(struct list_head *new, > > +

<    3   4   5   6   7   8   9   10   11   >