[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

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: 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: 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]

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

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

[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] 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: 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: [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] 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

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

2017-12-05 Thread kernel test robot
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-assignment/20171205-051606' into devel-catchup-201712050639 git bisect bad d45ca31b78f444ff0f7c

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

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

[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

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(+)

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 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.

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

[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 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 >>

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 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: [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: 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: [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] 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 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 ---

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:

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

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 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 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 >>>

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: [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- > > > >

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

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

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,

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

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: [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

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:

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: [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

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

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

[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

[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

[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: > > > >

[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

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

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 >>>

[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

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 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

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

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

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

[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

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

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: > > >

[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: 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

[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

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

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

[PATCH 5/17] scsi: arcmsr: replace constant ARCMSR_MAX_FREECCB_NUM by variable

2017-12-05 Thread Ching Huang
From: Ching Huang replace constant ARCMSR_MAX_FREECCB_NUM by variable acb->maxFreeCCB that was got from firmware Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h ---

Re: [PATCH] checkpatch: warn for use of %px

2017-12-05 Thread Tobin C. Harding
On Mon, Dec 04, 2017 at 11:24:24PM -0800, Joe Perches wrote: > On Tue, 2017-12-05 at 08:17 +1100, Tobin C. Harding wrote: > > Usage of the new %px specifier potentially leaks sensitive > > inforamtion. Printing kernel addresses exposes the kernel layout in > > information I don't understand this

[PATCH 9/17] scsi: arcmsr: add ACB_F_MSG_GET_CONFIG to acb->acb_flags for for message interrupt checking before schedule work for get device map

2017-12-05 Thread Ching Huang
From: Ching Huang add ACB_F_MSG_GET_CONFIG to acb->acb_flags for for message interrupt checking before schedule work for get device map Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h ---

Re: [PATCH 0/7 v2] net: Fix platform_get_irq's error checking

2017-12-05 Thread Sergei Shtylyov
On 12/5/2017 12:54 PM, Sergei Shtylyov wrote: The platform_get_irq() function returns negative number if an error occurs, Zero if No irq is found and positive number if irq gets successful.    No, returning 0 is not a failure indication anymore! It used to be but not any longer... And

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

2017-12-05 Thread Mike Looijmans
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 support this. When the board shuts down, the chip remains in that mode, causing a few mA

Re: net/wireless/shipped-certs.c:2:1: error: expected expression at end of input

2017-12-05 Thread Johannes Berg
On Tue, 2017-12-05 at 11:01 +0100, Paul Menzel wrote: > > > ``` > $ git describe > v4.15-rc2-79-gfd6d2e506ce6 > $ git log --oneline -1 > fd6d2e506ce6 Merge tag 'docs-4.15-fixes' of git://git.lwn.net/linux > $ time ARCH=i386 make deb-pkg -j50 > […] > net/wireless/shipped-certs.c:2:1: error:

Re: [PATCH] mtd: nand: squash struct nand_buffers into struct nand_chip

2017-12-05 Thread Masahiro Yamada
Hi Boris, 2017-12-04 18:10 GMT+09:00 Boris Brezillon : >> } >> >> if (!(chip->options & NAND_OWN_BUFFERS)) { >> - nbuf = kzalloc(sizeof(*nbuf), GFP_KERNEL); >> - if (!nbuf) >> + chip->ecccalc =

[PATCH 11/17] scsi: arcmsr: fix clear doorbell queue on ACB_ADAPTER_TYPE_B controller

2017-12-05 Thread Ching Huang
From: Ching Huang fix clear doorbell queue on ACB_ADAPTER_TYPE_B controller 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

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

2017-12-05 Thread Gary Lin
The series of patches introduce Security Version to EFI stub. Security Version is a monotonically increasing number and designed to prevent the user from loading an insecure kernel accidentally. The bootloader maintains a list of security versions corresponding to different distributions. After

Re: [RFC 0/3] Safe, dynamically (un)loadable LSMs

2017-12-05 Thread Sargun Dhillon
On Wed, Nov 29, 2017 at 6:28 PM, Casey Schaufler wrote: > On 11/26/2017 2:15 PM, Sargun Dhillon wrote: >> This patchset introduces safe dynamic LSM support. It does this via >> SRCU-protected security hooks. It also EXPORT_SYMBOL_GPLs the symbols >> required to perform

[PATCH] efi: move some sysfs files to be read-only by root

2017-12-05 Thread Greg Kroah-Hartman
Thanks to the scripts/leaking_addresses.pl script, it was found that some EFI values should not be readable by non-root users. So make them root-only, and to do that, add a __ATTR_RO_MODE() macro to make this easier, and use it in other places at the same time. Reported-by: Linus Torvalds

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

2017-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 05, 2017 at 05:24:10PM +0800, Dave Young wrote: > 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

Re: net/wireless/shipped-certs.c:2:1: error: expected expression at end of input

2017-12-05 Thread Paul Menzel
Dear Johannes, On 12/05/17 11:03, Johannes Berg wrote: On Tue, 2017-12-05 at 11:01 +0100, Paul Menzel wrote: ``` $ git describe v4.15-rc2-79-gfd6d2e506ce6 $ git log --oneline -1 fd6d2e506ce6 Merge tag 'docs-4.15-fixes' of git://git.lwn.net/linux $ time ARCH=i386 make deb-pkg -j50 […]

[PATCH] ARC: [plat-hsdk] Switch DisplayLink driver from fbdev to DRM

2017-12-05 Thread Alexey Brodkin
Currently there're 2 different implementations of the driver for DisplayLink USB2.0-to-HDMI/DVI adapters: older FBDEV and modern true DRM. We initially decided to use FBDEV version just because with it /dev/fbX is usable from user-space while in DRM version with DRM_FBDEV_EMULATION user-space

[PATCH] ARC: Force disable IOC if ioc_enable=0

2017-12-05 Thread Alexey Brodkin
U-Boot enables and uses IOC so if we don't want to use it in the kernel we need to _disable_ it for real. This is in comparison to what we do today based on "ioc_enable" flag - if it is set to 0 we just _dont_enable_ IOC which effectively keeps IOC alive and kicking. Signed-off-by: Alexey Brodkin

[PATCH 14/17] scsi: arcmsr: fix grammar error

2017-12-05 Thread Ching Huang
From: Ching Huang fix grammar error. 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:44:52.0 +0800 +++

[RFC PATCH] net: stmmac: enable EEE in MII, GMII or RGMII only

2017-12-05 Thread Jerome Brunet
Note in the databook - Section 4.4 - EEE : " The EEE feature is not supported when the MAC is configured to use the TBI, RTBI, SMII, RMII or SGMII single PHY interface. Even if the MAC supports multiple PHY interfaces, you should activate the EEE mode only when the MAC is operating with GMII, MII,

Re: [RFC PATCH 1/6] drm: Add Content Protection property

2017-12-05 Thread Pavel Machek
On Wed 2017-11-29 22:08:56, 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

Re: 4.15.0-rc1-next-20171201: WARNING: .... at net/mac80211/agg-tx.c:315

2017-12-05 Thread Kalle Valo
Pavel Machek writes: > This is quite annoying: repeated > > [ 4169.591529] ---[ end trace e65d97cf1d20b84d ]--- > [ 4169.591565] WARNING: CPU: 0 PID: 5472 at net/mac80211/agg-tx.c:315 > ___ieee80211_stop_tx_\ > ba_session+0x158/0x1f0 > > Hardware is thinkpad x60. Git blame says

Re: [PATCH] efi: move some sysfs files to be read-only by root

2017-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 05, 2017 at 10:16:56AM +, Ard Biesheuvel wrote: > On 5 December 2017 at 10:13, Greg Kroah-Hartman > wrote: > > Thanks to the scripts/leaking_addresses.pl script, it was found that > > some EFI values should not be readable by non-root users. > > > > So

[PATCH v2] efi: move some sysfs files to be read-only by root

2017-12-05 Thread Greg Kroah-Hartman
Thanks to the scripts/leaking_addresses.pl script, it was found that some EFI values should not be readable by non-root users. So make them root-only, and to do that, add a __ATTR_RO_MODE() macro to make this easier, and use it in other places at the same time. Reported-by: Linus Torvalds

Re: [PATCH] ASoC: atmel-classd: select correct Kconfig symbol

2017-12-05 Thread Arnd Bergmann
On Tue, Dec 5, 2017 at 11:57 AM, Alexandre Belloni wrote: > On 05/12/2017 at 11:09:38 +0100, Arnd Bergmann wrote: >> Commit 061981ff8cc8 ("ASoC: atmel: properly select dma driver state") >> changed the way that the dependencies are handled, but then the >>

[PATCH/RFC v2] leds: trigger: Introduce a NETDEV trigger

2017-12-05 Thread Ben Whitten
From: Ben Whitten This commit introduces a NETDEV trigger for named device activity. Available triggers are link, rx, and tx. Signed-off-by: Ben Whitten --- Changes in v2: Sort includes and redate documentation Correct licence Remove macro and

  1   2   3   4   5   6   7   8   9   10   >