Linux 4.14.4

2017-12-05 Thread Greg KH
I'm announcing the release of the 4.14.4 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 browser:

Re: [RFC 00/19] KVM: s390/crypto/vfio: guest dedicated crypto adapters

2017-12-05 Thread Cornelia Huck
On Mon, 27 Nov 2017 19:39:32 -0500 Tony Krowiak wrote: > On 11/22/2017 08:47 AM, Cornelia Huck wrote: > > On Tue, 21 Nov 2017 11:08:01 -0500 > > Tony Krowiak wrote: > > > > > >> I am not quite sure what you are asking, but I'll attempt

[PATCH v2 2/5] ARM: dts: imx53: add srtc node

2017-12-05 Thread linux-kernel-dev
From: Patrick Bruenn rtc-mxc_v2 driver will add support for the i.MX53 SRTC Signed-off-by: Patrick Bruenn --- To: Shawn Guo To: Sascha Hauer (maintainer:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE) Cc:

Re: [PATCH v2 3/5] rtc: mxc_v2: add driver for i.MX53 SRTC

2017-12-05 Thread Fabio Estevam
On Tue, Dec 5, 2017 at 12:06 PM, wrote: > From: Patrick Bruenn > > Add RTC_DRV_MXC_V2 config option > > Signed-off-by: Patrick Bruenn You should add the Kconfig as part of the patch that introduces the driver.

Re: [PATCH] pata_pdc2027x: Fix coding sytle error

2017-12-05 Thread Bartlomiej Zolnierkiewicz
On Tuesday, December 05, 2017 03:02:13 PM Bartlomiej Zolnierkiewicz wrote: > On Saturday, November 25, 2017 04:04:07 PM Arvind Yadav wrote: > > Fix these checkpatch.pl error: > > ERROR: space prohibited before open square bracket '['. > > > > ERROR: space prohibited after that '~' (ctx:WxW) > > +

Re: [RFC 19/19] s390/facilities: enable AP facilities needed by guest

2017-12-05 Thread Tony Krowiak
On 12/05/2017 02:52 AM, Harald Freudenberger wrote: On 12/02/2017 02:30 AM, Tony Krowiak wrote: On 11/03/2017 04:47 AM, Christian Borntraeger wrote: On 11/02/2017 07:49 PM, Tony Krowiak wrote: On 11/02/2017 11:53 AM, Christian Borntraeger wrote: On 11/02/2017 04:36 PM, Tony Krowiak wrote:

Re: [PATCH v4 2/5] media: dt-bindings: Add bindings for TDA1997X

2017-12-05 Thread Sakari Ailus
On Wed, Nov 29, 2017 at 01:19:54PM -0800, Tim Harvey wrote: > Cc: Rob Herring > Cc: Sakari Ailus > Signed-off-by: Tim Harvey Acked-by: Sakari Ailus -- Sakari Ailus e-mail: sakari.ai...@iki.fi

Re: [PATCH 06/11] change memory_is_poisoned_16 for aligned error

2017-12-05 Thread Liuwenliang (Abbott Liu)
On Nov 23, 2017 20:30 Russell King - ARM Linux [mailto:li...@armlinux.org.uk] wrote: >On Thu, Oct 12, 2017 at 11:27:40AM +, Liuwenliang (Lamb) wrote: >> >> - I don't understand why this is necessary. memory_is_poisoned_16() >> >> already handles unaligned addresses? >> >> >> >> - If

RE: [PATCH v2 2/5] ARM: dts: imx53: add srtc node

2017-12-05 Thread Patrick Brünn
>From: Fabio Estevam [mailto:feste...@gmail.com] >Sent: Dienstag, 5. Dezember 2017 15:14 >On Tue, Dec 5, 2017 at 12:06 PM, wrote: > >> srtc: srtc@53fa4000 { >> - compatible = "fsl,imx53-rtc", >>

Re: [RFC 19/19] s390/facilities: enable AP facilities needed by guest

2017-12-05 Thread Pierre Morel
On 05/12/2017 15:04, Cornelia Huck wrote: On Tue, 5 Dec 2017 08:52:57 +0100 Harald Freudenberger wrote: On 12/02/2017 02:30 AM, Tony Krowiak wrote: I agree with your suggestion that defining a new CPU model feature is probably the best way to resolve this issue.

b1cbacc866 ("x86/smpboot: Do not use smp_num_siblings in .."): divide error: 0000 [#1] SMP DEBUG_PAGEALLOC

2017-12-05 Thread kernel test robot
af1ce560ddb31f7ec8323 -- git bisect bad 60f97903c07c2f9dec16f3434fa6bc8374553c75 # 07:54 B 0 1 15 0 Merge 'krzk/for-next' into devel-catchup-201712050639 git bisect bad c5ae250423192c95979baa9e26553078c6fbdb12 # 09:33 B 0 5 19 0 Merge 'linux-review/yuan-linyu/netlink-optimize-err

Re: [PATCH v2 1/2] of: overlay: Fix memory leak in of_overlay_apply() error path

2017-12-05 Thread Geert Uytterhoeven
Hi Frank, On Tue, Dec 5, 2017 at 3:07 AM, Frank Rowand wrote: > On 12/04/17 10:47, Geert Uytterhoeven wrote: >> If of_resolve_phandles() fails, free_overlay_changeset() is called in >> the error path. However, that function returns early if the list hasn't >> been initialized yet, before

Re: [PATCH] powerpc/xive: store server for masked interrupt in kvmppc_xive_set_xive()

2017-12-05 Thread Laurent Vivier
On 05/12/2017 04:05, Paul Mackerras wrote: > On Fri, Nov 24, 2017 at 07:38:13AM +1100, Benjamin Herrenschmidt wrote: >> On Thu, 2017-11-23 at 10:06 +0100, Laurent Vivier wrote: >>> This is needed to map kvmppc_xive_set_xive() behavior >>> to kvmppc_xics_set_xive(). >>> >>> As we store the server,

Re: [PATCH v3 3/9] drm: Add Content Protection property

2017-12-05 Thread Hans Verkuil
On 12/05/2017 06:15 AM, Sean Paul wrote: > This patch adds a new optional connector property to allow userspace to enable > protection over the content it is displaying. This will typically be > implemented > by the driver using HDCP. > > The property is a tri-state with the following values: >

Re: [PATCH 3/8] mfd: axp20x: probe axp20x_adc driver for AXP813

2017-12-05 Thread Maxime Ripard
On Mon, Dec 04, 2017 at 03:12:49PM +0100, Quentin Schulz wrote: > This makes the axp20x_adc driver probe with platform device id > "axp813-adc". > > Signed-off-by: Quentin Schulz > --- > drivers/mfd/axp20x.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

Re: [GIT PULL] hash addresses printed with %p

2017-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 05, 2017 at 01:14:34PM +0800, Dave Young wrote: > On 12/04/17 at 03:00pm, Greg Kroah-Hartman wrote: > > On Mon, Dec 04, 2017 at 12:51:13PM +, David Laight wrote: > > > From: Ard Biesheuvel > > > > Sent: 04 December 2017 10:03 > > > ... > > > > and uses __ATTR_RO() to emit

Re: BUG: KASAN: slab-out-of-bounds in perf_callchain_user+0x494/0x530

2017-12-05 Thread Namhyung Kim
Hello, On Thu, Nov 30, 2017 at 04:37:12PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Nov 30, 2017 at 09:20:26AM +0100, Peter Zijlstra escreveu: > > On Thu, Nov 30, 2017 at 10:32:19AM +0800, Fengguang Wu wrote: > > > Hello, > > > > > > FYI this happens in mainline kernel 4.15.0-rc1. > > >

[PATCH resend] arm: dts: ls1021a: add reboot node to .dtsi

2017-12-05 Thread Rasmus Villemoes
The LS1021A can be reset via the dcfg regmap in the same way as the arm64 layerscape SoCs, so add the corresponding DT node. Signed-off-by: Rasmus Villemoes --- arch/arm/boot/dts/ls1021a.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi

Re: [PATCH] scsi: csiostor: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-05 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in error message text. Applied to 4.16/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3 1/1] at24: support eeproms that do not auto-rollover reads.

2017-12-05 Thread Bartosz Golaszewski
2017-12-05 8:44 GMT+01:00 Sakari Ailus : > On Mon, Dec 04, 2017 at 05:24:33PM -0500, Sven Van Asbroeck wrote: >> > If this is truly specific to at24, then vendor prefix would be appropriate, >> > plus it'd go to an at24 specific binding file. However if it isn't I'd just >> > remove the above

Re: [PATCH 08/45] drivers: input: remove duplicate includes

2017-12-05 Thread Benjamin Tissoires
Hi, [adding Jiri, the HID maintainer in CC] On Tue, Dec 5, 2017 at 3:01 AM, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. > > Signed-off-by: Pravin Shedge > --- Acked-by:

[PATCH resend] arm: dts: ls1021a: Add label to USB controllers

2017-12-05 Thread Rasmus Villemoes
From: Esben Haabendal Add usb2 and usb3 labels to USB2 and USB3 controller device tree nodes, for easier modification in board dts files. Signed-off-by: Esben Haabendal Signed-off-by: Rasmus Villemoes --- arch/arm/boot/dts/ls1021a.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH] cpufreq: longhaul: Set transition_delay_us to 20 ms

2017-12-05 Thread Meelis Roos
> 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:

Re: [PATCH v2] sunxi-rsb: Include OF based modalias in device uevent

2017-12-05 Thread Maxime Ripard
On Tue, Dec 05, 2017 at 03:28:25PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Tue, Nov 28, 2017 at 11:47 PM, Maxime Ripard > wrote: > > On Mon, Nov 27, 2017 at 08:05:34PM +0100, Stefan Brüns wrote: > >> Include the OF-based modalias in the uevent sent when registering devices > >> on the sunxi RSB

Re: Regression in e1000e since Kernel 4.14.3

2017-12-05 Thread Gabriel C
On 05.12.2017 07:19, Greg KH wrote: On Tue, Dec 05, 2017 at 07:18:34AM +0100, Greg KH wrote: On Tue, Dec 05, 2017 at 12:47:10AM +0100, Gabriel C wrote: On 04.12.2017 23:10, rwar...@gmx.de wrote: Hallo someone and I got an regression with e1000e since kernel 4.14.3 and it seems there is

[PATCH resend] arm: dts: ls1021a: Specify interrupt-affinity for pmu node

2017-12-05 Thread Rasmus Villemoes
From: Esben Haabendal From: Esben Haabendal This avoids the warning hw perfevents: no interrupt-affinity property for /pmu, guessing. Signed-off-by: Esben Haabendal [RV: adapt commit log to the warning emitted in current mainline] Signed-off-by: Rasmus Villemoes ---

Re: [PATCH 6/8] mfd: axp20x: add battery power supply cell for AXP813

2017-12-05 Thread Lee Jones
On Mon, 04 Dec 2017, Quentin Schulz wrote: > As axp20x-battery-power-supply now supports AXP813, add a cell for it. > > Signed-off-by: Quentin Schulz > --- > drivers/mfd/axp20x.c | 3 +++ > 1 file changed, 3 insertions(+) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee Jones

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

2017-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 05, 2017 at 01:20:02AM -0500, 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 >

Re: [PATCH] ARM: dts: sunxi: Convert to CCU index macros for HDMI controller

2017-12-05 Thread Maxime Ripard
Hi, On Mon, Dec 04, 2017 at 04:44:01PM +0800, Chen-Yu Tsai wrote: > When the HDMI controller device node was added, the needed PLL clock > macros were not exported. A separate patch addresses that, but it is > merged through a different tree. > > Now that both patches are in mainline proper, we

RE: [PATCH] Support TrackStick of Thinkpad L570

2017-12-05 Thread Masaki Ota
Hi, Pali, OK, I got it. So, the problem of structure will be solved next chance. Best Regards, Masaki Ota -Original Message- From: Pali Rohár [mailto:pali.ro...@gmail.com] Sent: Monday, December 04, 2017 6:51 PM To: 太田 真喜 Masaki Ota Cc: Masaki Ota <012ne...@gmail.com>;

Re: [PATCH] misc: rtsx: make several functions static

2017-12-05 Thread Lee Jones
On Mon, 04 Dec 2017, Colin King wrote: > From: Colin Ian King > > Several functions are local to the source and do not need to be in global > scope, so make them static. > > Cleans up sparse warnings: > symbol 'rtsx_pm_power_saving' was not declared. Should it be static? > symbol

Re: [PATCH][next] misc: rtsx: rts5260: make several functions static

2017-12-05 Thread Lee Jones
On Mon, 04 Dec 2017, Colin King wrote: > From: Colin Ian King > > Several functios are local to the source and do not need to be in global > scope, so make them static. > > Cleans up sparse warnings: > symbol 'rts5260_get_ocpstat' was not declared. Should it be static? > symbol

Re: [PATCH v2 2/2] arm64: allwinner: a64-sopine: Fix to use dcdc1 regulator instead of vcc3v3

2017-12-05 Thread Maxime Ripard
On Mon, Dec 04, 2017 at 10:23:07AM +0530, Jagan Teki wrote: > Since current tree support AXP803 regulators, > replace fixed regulator vcc3v3 with AXP803 dcdc1 regulator where ever > it need to replace. > > Tested mmc0 on sopine baseboard. > > Signed-off-by: Jagan Teki Queued as a fix, thanks

Re: [PATCH v2 1/2] arm64: dts: a64-olinuxino: Enable RTL8723BS WiFi

2017-12-05 Thread Maxime Ripard
On Mon, Dec 04, 2017 at 10:23:06AM +0530, Jagan Teki wrote: > Enable RTL8723BS WiFi chip on a64-olinuxino board: > - WiFi SDIO interface is connected to MMC1 > - WiFi REG_ON pin connected to gpio PL2: attach to mmc-pwrseq > - WiFi HOST_WAKE pin connected to gpio PL3 > > Signed-off-by: Jagan Teki

[f2fs-dev] [PATCH] f2fs: use unlikely for release case

2017-12-05 Thread LiFan
Since the variable release is only nonzero when another unlikely case occurs, use unlikely() on it seems logical. Signed-off-by: Fan li --- fs/f2fs/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 71fbba96..0f01af0 100644 ---

Re: [GIT PULL] hash addresses printed with %p

2017-12-05 Thread Dave Young
On 12/05/17 at 09:09am, Greg Kroah-Hartman wrote: > On Tue, Dec 05, 2017 at 01:14:34PM +0800, Dave Young wrote: > > On 12/04/17 at 03:00pm, Greg Kroah-Hartman wrote: > > > On Mon, Dec 04, 2017 at 12:51:13PM +, David Laight wrote: > > > > From: Ard Biesheuvel > > > > > Sent: 04 December 2017

[PATCH v2 3/3] mtd: nand: squash struct nand_buffers into struct nand_chip

2017-12-05 Thread Masahiro Yamada
struct nand_buffers is malloc'ed in nand_scan_tail() just for containing three pointers. Squash this struct into nand_chip. Move and rename as follows: chip->buffers->ecccalc -> chip->ecc.calc_buf chip->buffers->ecccode -> chip->ecc.code_buf chip->buffers->databuf ->

Re: [PATCH 0/3] thunderbolt fixes for v4.15-rc2

2017-12-05 Thread Mika Westerberg
On Fri, Dec 01, 2017 at 03:08:02PM +0300, Mika Westerberg wrote: > Hi Greg, > > Here are two Thunderbolt fixes and one related MAINTAINERS update for the > next -rc: > > - Use shorter path for force_power attribute in thunderbolt.rst > - Ring interrupts were not masked properly when Rx polling

[PATCH v2 1/3] mtd: nand: cafe: remove use of NAND_OWN_BUFFERS

2017-12-05 Thread Masahiro Yamada
This driver is the last/only user of NAND_OWN_BUFFERS. Boris suggested to remove this flag. Taking a closer look at this driver, it calls dma_alloc_coherent() for the concatenated area for the DMA bounce buffer + struct nand_buffers, but the latter does not need to be DMA-coherent;

[PATCH v2 2/3] mtd: nand: remove unused NAND_OWN_BUFFERS flag

2017-12-05 Thread Masahiro Yamada
The last/only user of NAND_OWN_BUFFERS (cafe_nand.c) has been reworked. This flag is no longer needed. Suggested-by: Boris Brezillon Signed-off-by: Masahiro Yamada --- Changes in v2: - Newly added drivers/mtd/nand/nand_base.c | 45

[PATCH v3 0/4] kaslr: add new parameter immovable_mem=nn[KMG]@ss[KMG] to make memory hotplug work well with kaslr

2017-12-05 Thread Chao Fan
Here is a problem: Here is a machine with several NUMA nodes and some of them are hot-pluggable. It's not good for kernel to be extracted in the memory region of movable node. But in current code, I print the address chosen by kaslr and found it may be placed in movable node sometimes. To solve

[PATCH] mtd: nand: cafe: clean up DMA address setup

2017-12-05 Thread Masahiro Yamada
Use macros from to make the code readable. The compiler warning will be kept suppressed. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/cafe_nand.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c

Re: [GIT PULL] hash addresses printed with %p

2017-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 05, 2017 at 04:45:37PM +0800, Dave Young wrote: > On 12/05/17 at 09:09am, Greg Kroah-Hartman wrote: > > On Tue, Dec 05, 2017 at 01:14:34PM +0800, Dave Young wrote: > > > On 12/04/17 at 03:00pm, Greg Kroah-Hartman wrote: > > > > On Mon, Dec 04, 2017 at 12:51:13PM +, David Laight

[PATCH v3 4/4] document: change the document for immovable_mem

2017-12-05 Thread Chao Fan
Add the document for the change of new parameter immovable_mem=nn[KMG]@ss[KMG]. Cc: linux-...@vger.kernel.org Cc: Jonathan Corbet Signed-off-by: Chao Fan --- Documentation/admin-guide/kernel-parameters.txt | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH 0/3] pwm: meson-axg: add pwm controller driver

2017-12-05 Thread Thierry Reding
On Mon, Dec 04, 2017 at 02:00:15PM +0800, Yixun Lan wrote: > This patch series try to add PWM controller driver for the > Amlogic's Meson-AXG SoC. Update the Clock sources, pin DT. > > Jian Hu (3): > dt-bindings: pwm: update bindings for the Meson-AXG > pwm: meson: add clock source

Re: [PATCH v2] mmap.2: MAP_FIXED updated documentation

2017-12-05 Thread Michal Hocko
On Mon 04-12-17 23:42:00, John Hubbard wrote: > On 12/04/2017 11:05 PM, Michal Hocko wrote: > > On Mon 04-12-17 18:14:18, John Hubbard wrote: > >> On 12/04/2017 02:55 AM, Cyril Hrubis wrote: > >>> Hi! > >>> I know that we are not touching the rest of the existing description for > >>> MAP_FIXED

Re: [PATCH 0/3] thunderbolt fixes for v4.15-rc2

2017-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 05, 2017 at 10:49:13AM +0200, Mika Westerberg wrote: > On Fri, Dec 01, 2017 at 03:08:02PM +0300, Mika Westerberg wrote: > > Hi Greg, > > > > Here are two Thunderbolt fixes and one related MAINTAINERS update for the > > next -rc: > > > > - Use shorter path for force_power attribute in

Re: [PATCH v4 02/10] pinctrl: axp209: add pinctrl features

2017-12-05 Thread Maxime Ripard
Hi, On Mon, Dec 04, 2017 at 09:07:52AM +0100, Quentin Schulz wrote: > >> +static int axp20x_pmx_set_mux(struct pinctrl_dev *pctldev, > >> +unsigned int function, unsigned int group) > >> +{ > >> + struct axp20x_gpio *gpio = pinctrl_dev_get_drvdata(pctldev); > >> +

[PATCH v3 1/4] kaslr: add immovable_mem=nn[KMG]@ss[KMG] to specify extracting memory

2017-12-05 Thread Chao Fan
In current code, kaslr may choose the memory region in movable nodes to extract kernel, which will make the nodes can't be hot-removed. To solve it, we can specify the memory region in immovable node. Create immovable_mem to store the regions in immovable_mem, where should be chosen by kaslr.

[PATCH v3 2/4] kaslr: calculate the memory region in immovable node

2017-12-05 Thread Chao Fan
If there is no immovable memory region specified, go on the old code. There are several conditons: 1. CONFIG_MEMORY_HOTPLUG is not specified to y. 2. immovable_mem= is not specified. Otherwise, calculate the intersecting between memmap entry and immovable memory. Signed-off-by: Chao Fan ---

[PATCH v3 3/4] kaslr: disable memory mirror feature when movable_node specified

2017-12-05 Thread Chao Fan
In kernel code, if movable_node specified, it will skip the mirror feature. So we should also skip mirror feature in kaslr. Signed-off-by: Chao Fan --- arch/x86/boot/compressed/kaslr.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] cpufreq: longhaul: Set transition_delay_us to 20 ms

2017-12-05 Thread Meelis Roos
> > 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:

[PATCH v2 4/5] x86/stacktrace: do not fail for ORC with regs on stack

2017-12-05 Thread Jiri Slaby
save_stack_trace_reliable now returns "non reliable" when there are kernel pt_regs on stack. This means an interrupt or exception happened somewhere down the route. It is a problem for frame pointer unwinder, because the frame might not have been set up yet when the irq happened, so the unwinder

[PATCH v2 1/5] x86/stacktrace: do now unwind after user regs

2017-12-05 Thread Jiri Slaby
Josh pointed out, that there is no way a frame can be after user regs. So remove the last unwind and the check. Signed-off-by: Jiri Slaby Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Josh Poimboeuf --- arch/x86/kernel/stacktrace.c | 9 - 1 file

[PATCH v2 3/5] x86/stacktrace: remove STACKTRACE_DUMP_ONCE from __save_stack_trace_reliable

2017-12-05 Thread Jiri Slaby
The stack unwinding can sometimes fail yet. Especially with the generated debug info. So do not yell at users -- live patching (the only user of this interface) will inform the user about the failure gracefully. Signed-off-by: Jiri Slaby Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin"

[PATCH v2 5/5] x86/stacktrace: orc, mark it as reliable

2017-12-05 Thread Jiri Slaby
In SUSE, we need a reliable stack unwinder for kernel live patching, but we do not want to enable frame pointers for performance reasons. So after the previous patches to make the ORC reliable, mark ORC as a reliable stack unwinder on x86. Signed-off-by: Jiri Slaby Cc: Josh Poimboeuf Cc: Thomas

Re: [PATCH v4 00/10] add pinmuxing support for pins in AXP209 and AXP813 PMICs

2017-12-05 Thread Maxime Ripard
On Sat, Dec 02, 2017 at 05:00:03PM +0100, Linus Walleij wrote: > On Fri, Dec 1, 2017 at 2:44 PM, Quentin Schulz > wrote: > > > The AXP209 and AXP813 PMICs have several pins (respectively 3 and 2) that > > can > > be used either as GPIOs or for other purposes (ADC or LDO here). > > > > We

[PATCH v2 2/5] x86/stacktrace: remove unwind_state->error

2017-12-05 Thread Jiri Slaby
Reorganize the unwinding in __save_stack_trace_reliable, so that we don't need to set another variable -- unwind_state->error. In case, unwinding fails, we fail after the for loop too. The only way to escape the loop successfully is via the 'if (user_mode(regs))' check now. Signed-off-by: Jiri

Re: [REGRESSION][v4.13.y][v4.14.y] scsi: libsas: allow async aborts

2017-12-05 Thread Fabian Grünbichler
On Fri, Nov 17, 2017 at 03:09:37PM +0100, Hannes Reinecke wrote: > On 11/16/2017 11:08 PM, Joseph Salisbury wrote: > > Hi Christoph, > > > > A kernel bug report was opened against Ubuntu [0].  After a kernel > > bisect, it was found that reverting the following commit resolved this bug: > > > >

Re: [PATCH 1/3] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-05 Thread Geert Uytterhoeven
Hi Rob, On Mon, Dec 4, 2017 at 10:17 PM, Rob Herring wrote: > On Mon, Dec 04, 2017 at 10:17:47AM +0100, Geert Uytterhoeven wrote: >> On Thu, Nov 30, 2017 at 2:29 PM, Geert Uytterhoeven >> wrote: >> > Certain EEPROMS have a size that is larger than the number of address >> > bytes would allow,

Re: [PATCH 1/3] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-05 Thread Geert Uytterhoeven
Hi Ivo, On Mon, Dec 4, 2017 at 11:00 PM, Ivo Sieben wrote: > 2017-12-04 10:17 GMT+01:00 Geert Uytterhoeven : >>> EEPROMs using 9 address bits are common (e.g. M95040, 25AA040/25LC040). >>> Do EEPROMs using 17 or 25 address bits, as mentioned in >>> include/linux/spi/eeprom.h, really exist? >>>

Re: [PATCH v2 0/4] lockdep/crossrelease: Apply crossrelease to page locks

2017-12-05 Thread Michal Hocko
On Mon 04-12-17 23:45:17, Matthew Wilcox wrote: > On Tue, Dec 05, 2017 at 03:19:46PM +0900, Byungchul Park wrote: > > On 12/5/2017 2:46 PM, Byungchul Park wrote: > > > On 12/5/2017 2:30 PM, Matthew Wilcox wrote: > > > > On Mon, Dec 04, 2017 at 02:16:19PM +0900, Byungchul Park wrote: > > > > > For

Re: [PATCH] irqchip/gic-v3: Fix the driver probe() fail due to disabled GICC entry

2017-12-05 Thread Marc Zyngier
On 04/12/17 14:04, Shanker Donthineni wrote: > Hi Thanks, > > On 12/04/2017 04:28 AM, Marc Zyngier wrote: >> On 03/12/17 23:21, Shanker Donthineni wrote: >>> As per MADT specification, it's perfectly valid firmware can pass >>> MADT table to OS with disabled GICC entries. ARM64-SMP code skips >>>

Re: Regression in e1000e since Kernel 4.14.3

2017-12-05 Thread Greg KH
On Tue, Dec 05, 2017 at 09:20:33AM +0100, Gabriel C wrote: > On 05.12.2017 07:19, Greg KH wrote: > > On Tue, Dec 05, 2017 at 07:18:34AM +0100, Greg KH wrote: > > > On Tue, Dec 05, 2017 at 12:47:10AM +0100, Gabriel C wrote: > > > > On 04.12.2017 23:10, rwar...@gmx.de wrote: > > > > > > > > > Hallo

Re: [PATCH 0/3] eeprom: at25: Add DT support for 25lc040

2017-12-05 Thread Geert Uytterhoeven
Hi Rob, On Mon, Dec 4, 2017 at 10:22 PM, Rob Herring wrote: > On Thu, Nov 30, 2017 at 02:29:43PM +0100, Geert Uytterhoeven wrote: >> Some "atmel,at25" compatible SPI EEPROMs (e.g. Microchip 25lc040) use an >> odd number of address bits. This patch series adds support for >> instantiating such

Re: [PATCH] ARM: dts: sun8i: h3: enable USB OTG for NanoPi Neo board

2017-12-05 Thread Maxime Ripard
Hi, On Fri, Dec 01, 2017 at 11:49:42PM +0100, Krzysztof Adamski wrote: > Similarly to Orange Pi Zero, NanoPi Neo board has an USB OTG port with > an ID pin but with unpowered VBUS. This patch enables this port in > forced peripheral mode. > > Signed-off-by: Krzysztof Adamski > --- >

Re: [PATCH] drivers: pwm: pwm-atmel: implement suspend/resume functions

2017-12-05 Thread Thierry Reding
On Tue, Apr 11, 2017 at 11:53:11AM +0200, Boris Brezillon wrote: > On Tue, 11 Apr 2017 12:41:59 +0300 > m18063 wrote: > > > On 11.04.2017 11:56, Boris Brezillon wrote: > > > On Tue, 11 Apr 2017 11:22:39 +0300 > > > m18063 wrote: > > > > > >> Hi Boris, > > >> > > >> On 10.04.2017 17:35, Boris

Re: [PATCH] power: ltc2941-battery-gauge: Disable continuous monitoring on shutdown

2017-12-05 Thread Ladislav Michl
On Tue, Dec 05, 2017 at 08:10:27AM +0100, Mike Looijmans wrote: > On 01-12-17 16:42, Sebastian Reichel wrote: > > Hi, > > > > On Thu, Nov 23, 2017 at 03:41:05PM +0100, Mike Looijmans wrote: > > > The driver sets the fuel gauge to continuous monitoring on startup, for > > > the models that

Re: [PATCH 1/3] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-05 Thread Geert Uytterhoeven
Hi Rob, On Tue, Dec 5, 2017 at 9:57 AM, Geert Uytterhoeven wrote: > On Mon, Dec 4, 2017 at 10:17 PM, Rob Herring wrote: >> On Mon, Dec 04, 2017 at 10:17:47AM +0100, Geert Uytterhoeven wrote: >>> On Thu, Nov 30, 2017 at 2:29 PM, Geert Uytterhoeven >>> wrote: >>> > Certain EEPROMS have a size

Re: [PATCH v3 5/9] drm/i915: Add HDCP framework + base implementation

2017-12-05 Thread Ramalingam C
On Tuesday 05 December 2017 10:45 AM, Sean Paul wrote: This patch adds the framework required to add HDCP support to intel connectors. It implements Aksv loading from fuse, and parts 1/2/3 of the HDCP authentication scheme. Note that without shim implementations, this does not actually

[PATCH] perf evsel: Enable ignore_missing_thread for pid option

2017-12-05 Thread Mengting Zhang
While monitoring a multithread process with pid option, perf sometimes may return sys_perf_event_open failure with 3(No such process) if any of the process's threads die before we open the event. However, we want perf continue monitoring the remaining threads and do not exit with error. Here, the

Re: [PATCH v4 1/3] drm/bridge/synopsys: dsi: stop clobbering drvdata

2017-12-05 Thread Nickey Yang
Hi Philippe, On 2017年12月01日 18:07, Philippe CORNU wrote: Hi Nickey, On 12/01/2017 10:11 AM, Nickey Yang wrote: Hi Philippe, On 2017年12月01日 16:32, Philippe CORNU wrote: Dear Nickey, Many thanks for your patch. I am sorry to say that but you can not add my "Acked-by" to this patch because

Re: Regression in e1000e since Kernel 4.14.3

2017-12-05 Thread Gabriel C
On 05.12.2017 09:53, Greg KH wrote: On Tue, Dec 05, 2017 at 09:20:33AM +0100, Gabriel C wrote: On 05.12.2017 07:19, Greg KH wrote: On Tue, Dec 05, 2017 at 07:18:34AM +0100, Greg KH wrote: On Tue, Dec 05, 2017 at 12:47:10AM +0100, Gabriel C wrote: On 04.12.2017 23:10, rwar...@gmx.de wrote:

Re: possible deadlock in generic_file_write_iter (2)

2017-12-05 Thread Dmitry Vyukov
On Tue, Dec 5, 2017 at 5:58 AM, Byungchul Park wrote: > On 12/4/2017 5:33 PM, Jan Kara wrote: >> >> Hello, >> >> adding Peter and Byungchul to CC since the lockdep report just looks >> strange and cross-release seems to be involved. Guys, how did #5 get into >> the lock chain and what does

[PATCH] ARM: multi_v7_defconfig: Add configs for peripherals on Keystone2 SoCs

2017-12-05 Thread Vignesh R
Enable Cadence QSPI present on 66AK2G SoC and Keystone USB PHY driver for K2E. Signed-off-by: Vignesh R --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index

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

2017-12-05 Thread Kishon Vijay Abraham I
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. > > Please add a brief description to the log to describe the most salient > features.

[PATCH 0/17] scsi: arcmsr: add some driver options and support new adapter ARC-1884

2017-12-05 Thread Ching Huang
From: Ching Huang Hi Martin, Due to 4.16/scsi-queue conflict with 4.15-rc1, so I resubmit these patches again. The following patches apply to Linus' 4.15-rc1 tree. Patch 1: redefine ACB_ADAPTER_TYPE_A, _B, _C, _D and subsequent changes. Patch 2: simplify arcmsr_iop_init function. Patch 3:

Re: Regression in e1000e since Kernel 4.14.3

2017-12-05 Thread Greg KH
On Tue, Dec 05, 2017 at 10:16:03AM +0100, Gabriel C wrote: > On 05.12.2017 09:53, Greg KH wrote: > > On Tue, Dec 05, 2017 at 09:20:33AM +0100, Gabriel C wrote: > > > On 05.12.2017 07:19, Greg KH wrote: > > > > On Tue, Dec 05, 2017 at 07:18:34AM +0100, Greg KH wrote: > > > > > On Tue, Dec 05, 2017

Re: [GIT PULL] hash addresses printed with %p

2017-12-05 Thread Dave Young
On 12/05/17 at 04:45pm, Dave Young wrote: > On 12/05/17 at 09:09am, Greg Kroah-Hartman wrote: > > On Tue, Dec 05, 2017 at 01:14:34PM +0800, Dave Young wrote: > > > On 12/04/17 at 03:00pm, Greg Kroah-Hartman wrote: > > > > On Mon, Dec 04, 2017 at 12:51:13PM +, David Laight wrote: > > > > >

Re: [linux-sunxi] [PATCH v4 09/10] ARM: dtsi: axp81x: add GPIO DT node

2017-12-05 Thread Chen-Yu Tsai
On Fri, Dec 1, 2017 at 9:44 PM, Quentin Schulz wrote: > This adds DT node for the GPIO/pinctrl part present in AXP813/AXP818. > > Signed-off-by: Quentin Schulz > --- > arch/arm/boot/dts/axp81x.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/axp81x.dtsi

Re: [PATCH] riscv/ftrace: Add basic support

2017-12-05 Thread Alan Kao
On Mon, Dec 04, 2017 at 03:05:09AM -0500, Steven Rostedt wrote: > On Mon, 4 Dec 2017 13:52:30 +0800 > Alan Kao wrote: > > > > > Note that the functions in both ftrace.c and setup.c should not be > > > > hooked with the compiler's -pg option: to prevent infinite self- > > > > referencing for the

Re: [GIT PULL] hash addresses printed with %p

2017-12-05 Thread Ard Biesheuvel
On 5 December 2017 at 08:52, Greg Kroah-Hartman wrote: > On Tue, Dec 05, 2017 at 04:45:37PM +0800, Dave Young wrote: >> On 12/05/17 at 09:09am, Greg Kroah-Hartman wrote: >> > On Tue, Dec 05, 2017 at 01:14:34PM +0800, Dave Young wrote: >> > > On 12/04/17 at 03:00pm, Greg Kroah-Hartman wrote: >> >

Re: [PATCH v4 10/10] ARM: dtsi: axp81x: set pinmux for GPIO0/1 when used as LDOs

2017-12-05 Thread Chen-Yu Tsai
On Fri, Dec 1, 2017 at 11:58 PM, Maxime Ripard wrote: > On Fri, Dec 01, 2017 at 02:44:51PM +0100, Quentin Schulz wrote: >> On AXP813/818, GPIO0 and GPIO1 can be used as LDO as (respectively) >> ldo_io0 and ldo_io1. >> >> Let's add the pinctrl properties to the said regulators. >> >>

[PATCH 1/17] scsi: arcmsr: redefine ACB_ADAPTER_TYPE_A, _B, _C, _D and subsequent changes.

2017-12-05 Thread Ching Huang
From: Ching Huang redefine ACB_ADAPTER_TYPE_A, _B, _C, _D and subsequent changes. Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-12-05 10:45:50.0 +0800 +++

Re: [PATCH v3 1/3] dt-bindings: hwrng: Add Samsung Exynos 5250+ True RNG bindings

2017-12-05 Thread Łukasz Stelmach
It was <2017-12-04 pon 14:13>, when Krzysztof Kozlowski wrote: > On Mon, Dec 4, 2017 at 1:53 PM, Łukasz Stelmach > wrote: >> Add binding documentation for the True Random Number Generator >> found on Samsung Exynos 5250+ SoCs. >> >> Signed-off-by: Łukasz Stelmach >> --- >>

[PATCH 2/17] scsi: arcmsr: simplify arcmsr_iop_init function

2017-12-05 Thread Ching Huang
From: Ching Huang simplify arcmsr_iop_init function Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2017-12-05 11:47:40.0 +0800 +++ b/drivers/scsi/arcmsr/arcmsr_hba.c 2017-12-05

Re: etnaviv: PHYS_OFFSET usage

2017-12-05 Thread Alexey Brodkin
Hi Lucas, On Wed, 2017-11-15 at 18:56 +0100, Lucas Stach wrote: > Am Mittwoch, den 15.11.2017, 17:36 + schrieb Alexey Brodkin: [snip] > I'm not keen on having a private memory region for the GPU. Normally we > just use the shared system CMA memory region (and we will point the > linear

Re: [GIT PULL] hash addresses printed with %p

2017-12-05 Thread Dave Young
On 12/05/17 at 09:52am, Greg Kroah-Hartman wrote: > On Tue, Dec 05, 2017 at 04:45:37PM +0800, Dave Young wrote: > > On 12/05/17 at 09:09am, Greg Kroah-Hartman wrote: > > > On Tue, Dec 05, 2017 at 01:14:34PM +0800, Dave Young wrote: > > > > On 12/04/17 at 03:00pm, Greg Kroah-Hartman wrote: > > > >

[PATCH net-next] net: phy: meson-gxl: cleanup by defining the control registers

2017-12-05 Thread Jerome Brunet
From: Neil Armstrong Define registers and bits in meson-gxl PHY driver to make a bit more human friendly. No functional change Signed-off-by: Neil Armstrong Signed-off-by: Jerome Brunet --- drivers/net/phy/meson-gxl.c | 111 +--- 1 file changed, 93

Re: [patch 57/60] x86/mm/kpti: Add Kconfig

2017-12-05 Thread Thomas Gleixner
On Mon, 4 Dec 2017, Thomas Gleixner wrote: > On Mon, 4 Dec 2017, Andy Lutomirski wrote: > > On Mon, Dec 4, 2017 at 6:08 AM, Thomas Gleixner wrote: > > > --- a/security/Kconfig > > > +++ b/security/Kconfig > > > @@ -54,6 +54,16 @@ config SECURITY_NETWORK > > > implement socket and

[PATCH 3/17] scsi: arcmsr: add codes for ACB_ADAPTER_TYPE_E to support new adapter ARC-1884

2017-12-05 Thread Ching Huang
From: Ching Huang add codes for ACB_ADAPTER_TYPE_E to support new adapter ARC-1884 Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-08-03 18:54:46.0 +0800 +++

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

2017-12-05 Thread Laurent Pinchart
Hi Stephen, On Tuesday, 5 December 2017 04:45:50 EET Stephen Rothwell wrote: > Hi all, > > Commits > > 36a46da90212 ("drm: rcar-du: Add R8A7743 support") > cdd907001572 ("drm: rcar-du: Add R8A7745 support") > 7912dee7775e ("drm: rcar-du: Implement system suspend/resume support") >

Re: [linux-sunxi] [PATCH v4 09/10] ARM: dtsi: axp81x: add GPIO DT node

2017-12-05 Thread Maxime Ripard
Hi, On Tue, Dec 05, 2017 at 05:24:47PM +0800, Chen-Yu Tsai wrote: > On Fri, Dec 1, 2017 at 9:44 PM, Quentin Schulz > wrote: > > This adds DT node for the GPIO/pinctrl part present in AXP813/AXP818. > > > > Signed-off-by: Quentin Schulz > > --- > > arch/arm/boot/dts/axp81x.dtsi | 6 ++ > >

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

2017-12-05 Thread Dmitry Vyukov
On Mon, Dec 4, 2017 at 10:10 PM, Paul Moore wrote: >> Hi Paul, >> >> We are just rolling in the process. Feedback is much appreciated! >> >> The idea is that we need to know the title as it will appear in Linus >> tree and in other tested trees. It's also possible to override the >> title later,

[PATCH 4/17] scsi: arcmsr: enable host controller command queueu up to 1024

2017-12-05 Thread Ching Huang
From: Ching Huang update ARCMSR_MAX_OUTSTANDING_CMD and ARCMSR_MAX_FREECCB_NUM to 1024 Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-08-04 11:19:22.0 +0800 +++

Re: PROBLEM: Asus C201 video mode problems on HDMI hotplug (regression)

2017-12-05 Thread Laurent Pinchart
Hi Nick, On Tuesday, 5 December 2017 05:22:28 EET Nick Bowler wrote: > On 2017-12-04 21:34 +0200, Laurent Pinchart wrote: > > On Monday, 4 December 2017 21:30:01 EET Nick Bowler wrote: > >> On 2017-12-04 21:06 +0200, Laurent Pinchart wrote: > >>> As you reported that the PLL lock failure message

Re: possible deadlock in generic_file_write_iter (2)

2017-12-05 Thread Jan Kara
Hello Byungchul, On Tue 05-12-17 13:58:09, Byungchul Park wrote: > On 12/4/2017 5:33 PM, Jan Kara wrote: > >adding Peter and Byungchul to CC since the lockdep report just looks > >strange and cross-release seems to be involved. Guys, how did #5 get into > >the lock chain and what does

[PATCH] efi: add comment to avoid future expanding of sysfs systab

2017-12-05 Thread Dave Young
/sys/firmware/efi/systab shows several different values, it breaks sysfs one file one value design. But since there are already userspace tools depend on it eg. kexec-tools so add code comment to alert future expanding of this file. Signed-off-by: Dave Young --- drivers/firmware/efi/efi.c |

Re: [LTP] 3239b6f29b ("KEYS: return full count in keyring_read() if buffer is too small"): ltp.keyctl06.fail

2017-12-05 Thread Richard Palethorpe
Hello, Eric Biggers writes: > On Fri, Dec 01, 2017 at 10:40:12AM +0800, Fengguang Wu wrote: >> Hi Eric, >> >> We noticed LTP keyctl06 test regression in >> >> commit: 3239b6f29bdfb4b0a2ba59df995fc9e6f4df7f1f ("KEYS: return full count >> in keyring_read() if buffer is too small") >>

Re: [PATCH v2 1/3] mtd: nand: cafe: remove use of NAND_OWN_BUFFERS

2017-12-05 Thread Boris Brezillon
On Tue, 5 Dec 2017 17:47:14 +0900 Masahiro Yamada wrote: > This driver is the last/only user of NAND_OWN_BUFFERS. Boris suggested > to remove this flag. > > Taking a closer look at this driver, it calls dma_alloc_coherent() for > the concatenated area for the DMA bounce buffer + struct

<    8   9   10   11   12   13   14   15   16   17   >