[PATCH v2 4/5] dt-bindings: at24: extend the list of supported chips

2017-12-21 Thread Bartosz Golaszewski
Add other variants of at24 EEPROMs we support in the driver to the list of allowed compatible strings. Signed-off-by: Bartosz Golaszewski Reviewed-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/eeprom/at24.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Docu

[PATCH] [v4] kasan: rework Kconfig settings

2017-12-21 Thread Arnd Bergmann
We get a lot of very large stack frames using gcc-7.0.1 with the default -fsanitize-address-use-after-scope --param asan-stack=1 options, which can easily cause an overflow of the kernel stack, e.g. drivers/gpu/drm/i915/gvt/handlers.c:2434:1: warning: the frame size of 46176 bytes is larger than

[PATCH v2 3/5] dt-bindings: at24: fix formatting and style

2017-12-21 Thread Bartosz Golaszewski
Make formatting and style consistent for the entire document. This patch doesn't change the content of the binding. Signed-off-by: Bartosz Golaszewski Reviewed-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/eeprom/at24.txt | 24 +++ 1 file changed, 12 in

[PATCH v2 2/5] dt-bindings: at24: add a missing compatible

2017-12-21 Thread Bartosz Golaszewski
"atmel,spd" is reported by checkpatch as undocumented in the device tree bindings. Add it to the list of supported compatible strings. Signed-off-by: Bartosz Golaszewski Reviewed-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/eeprom/at24.txt | 1 + 1 file changed, 1 insertio

[PATCH v2 1/5] dt-bindings: at24: consistently document the compatible property

2017-12-21 Thread Bartosz Golaszewski
Current description of the compatible property for at24 is quite vague. Specify an exact list of accepted compatibles and document the - now deprecated - strings which were previously used in device tree files. Signed-off-by: Bartosz Golaszewski Reviewed-by: Javier Martinez Canillas --- Docume

Re: [PATCH v17 0/5] ZII RAVE platform driver

2017-12-21 Thread Guenter Roeck
On 12/21/2017 01:30 AM, Pavel Machek wrote: Everyone: This patch series is v17 of the driver for supervisory processor found on RAVE series of devices from ZII. Supervisory processor is a PIC microcontroller connected to various electrical subsystems on RAVE devices whose firmware implements pro

[PATCH v2 0/5] eeprom: at24: device tree support fixes

2017-12-21 Thread Bartosz Golaszewski
The first three patches fix certain issues with the DT binding document. The last two extend the device tree support in the driver with more at24 EEPROM variants. v1 -> v2: - remove any implementation details from patch 1/5 Bartosz Golaszewski (5): dt-bindings: at24: consistently document the

Re: [PATCH 5/7] blk-mq: remove REQ_ATOM_COMPLETE usages from blk-mq

2017-12-21 Thread Tejun Heo
Hello, On Thu, Dec 21, 2017 at 11:56:49AM +0800, jianchao.wang wrote: > It's worrying that even though the blk_mark_rq_complete() here is intended to > synchronize with > timeout path, but it indeed give the blk_mq_complete_request() the capability > to exclude with > itself. Maybe this capabil

Re: [PATCH 0/5] eeprom: at24: device tree support fixes

2017-12-21 Thread Bartosz Golaszewski
2017-12-21 14:08 GMT+01:00 Bartosz Golaszewski : > The first three patches fix certain issues with the DT binding > document. > > The last two extend the device tree support in the driver with more > at24 EEPROM variants. > > Bartosz Golaszewski (5): > dt-bindings: at24: consistently document the

[PATCH] driver: input :touchscreen :Modify Raydium Firmware update input file

2017-12-21 Thread jeffrey.lin
Modify update firmware to accept alternative file name Signed-off-by: jeffrey.lin --- drivers/input/touchscreen/raydium_i2c_ts.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/raydium_i2c_ts.c b/drivers/input/touchscreen/raydium_i2c_ts.

Re: [PATCH 1/2] livepatch: Remove immediate feature

2017-12-21 Thread Miroslav Benes
On Thu, 21 Dec 2017, Petr Mladek wrote: > On Wed 2017-12-20 11:09:37, Josh Poimboeuf wrote: > > On Wed, Dec 20, 2017 at 03:35:12PM +0100, Petr Mladek wrote: > > > On Fri 2017-12-08 18:25:22, Miroslav Benes wrote: > > > > immediate flag has been used to disable per-task consistency and patch > > >

RE: [PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-21 Thread David Laight
From: Crt Mori > Sent: 21 December 2017 13:18 ... > > unsigned int i; > > i can be u8. And I will still use explicit typing. u8 will add extra code, unsigned int is good. 'x' needs to be u32, 'y' and 'b' could be larger. I was testing in userspace. ... > This part above looks like FLS I

RE: [PATCH 0/3] RapidIO: Tsi721-DMA: Adjustments for five function implementations

2017-12-21 Thread Bounine, Alexandre
Acked-by: Alexandre Bounine -Original Message- From: SF Markus Elfring [mailto:elfr...@users.sourceforge.net] Sent: Friday, December 15, 2017 11:33 AM To: kernel-janit...@vger.kernel.org; Bounine, Alexandre ; Matt Porter Cc: LKML Subject: [PATCH 0/3] RapidIO: Tsi721-DMA: Adjustments

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-21 Thread weiping zhang
2017-12-21 21:00 GMT+08:00 Bruno Wolff III : > After today, I won't have physical access to the problem machine until > January 2nd. So if you guys have any testing suggestions I need them soon if > they are to get done before my vacation. > I do plan to try booting to level 1 to see if I can get a

Re: [PATCH 0/2] platform/x86: silead_dmi: Add entries for 2 Chuwi tablets

2017-12-21 Thread Andy Shevchenko
On Wed, Dec 20, 2017 at 11:47 PM, Darren Hart wrote: > On Wed, Dec 20, 2017 at 11:30:07AM +0100, Hans de Goede wrote: >> Hi Andy, et al, >> >> Here are 2 patches to add entries for 2 more Chuwi tablet models to >> silead_dmi.c. Note that these are for 2 different tablets, even though >> the entrie

Re: [PATCH v2 2/5] dt-bindings: at24: add a missing compatible

2017-12-21 Thread Andy Shevchenko
On Thu, Dec 21, 2017 at 3:48 PM, Bartosz Golaszewski wrote: > "atmel,spd" is reported by checkpatch as undocumented in the device > tree bindings. Add it to the list of supported compatible strings. > "atmel,24c00", > "atmel,24c01", > "atmel,24c02", > +"atmel,sp

Re: [PATCH v2 1/5] dt-bindings: at24: consistently document the compatible property

2017-12-21 Thread Andy Shevchenko
On Thu, Dec 21, 2017 at 3:48 PM, Bartosz Golaszewski wrote: > Current description of the compatible property for at24 is quite vague. > > Specify an exact list of accepted compatibles and document the - now > deprecated - strings which were previously used in device tree files. > + will still wo

Re: [PATCH v3 2/5] drm/tegra: Restore opaque and drop alpha formats on Tegra20/30

2017-12-21 Thread Thierry Reding
On Thu, Dec 21, 2017 at 01:38:31AM +0300, Dmitry Osipenko wrote: > On 21.12.2017 01:23, Dmitry Osipenko wrote: > > On 21.12.2017 01:02, Thierry Reding wrote: > >> On Thu, Dec 21, 2017 at 12:05:40AM +0300, Dmitry Osipenko wrote: > >>> On 20.12.2017 23:16, Thierry Reding wrote: > On Wed, Dec 20,

Re: [PATCH v2 4/5] dt-bindings: at24: extend the list of supported chips

2017-12-21 Thread Andy Shevchenko
On Thu, Dec 21, 2017 at 3:48 PM, Bartosz Golaszewski wrote: > Add other variants of at24 EEPROMs we support in the driver to the > list of allowed compatible strings. > "atmel,24c00", > "atmel,24c01", > +"atmel,24cs01", > "atmel,24c02", > +"atmel,24cs02"

Re: [PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-21 Thread Peter Zijlstra
On Thu, Dec 21, 2017 at 01:56:55PM +, David Laight wrote: > > This part above looks like FLS > It also does the rest of the required shifts. Still, fls() + shift is way faster on hardware that has an fls instruction. Writing out that binary search doesn't make sense.

Re: [PATCH v2 5/5] eeprom: at24: extend the list of chips supported in DT

2017-12-21 Thread Andy Shevchenko
On Thu, Dec 21, 2017 at 3:48 PM, Bartosz Golaszewski wrote: > Add all supported at24 variants to the of_match table. > > Signed-off-by: Bartosz Golaszewski > Reviewed-by: Javier Martinez Canillas Same comment as for previous patch. It would be really easier to read and catch if you order by in

Re: [PATCH v20 3/7 RESEND] xbitmap: add more operations

2017-12-21 Thread Matthew Wilcox
First of all, the test-suite doesn't build, so I don't know whether you ran it or not. Then I added the xb_find_set() call below, and it fails the assert, so you should probably fix that. diff --git a/lib/xbitmap.c b/lib/xbitmap.c index f03a0f9f9e29..b29af08a7597 100644 --- a/lib/xbitmap.c +++ b

ptrace versus setuid changes in 4.14?

2017-12-21 Thread Tom Horsley
On my fedora 26 box with a 4.13 kernel, when a process under ptrace control did an exec of a setuid program, the program lost all of its setuid privileges and ptrace could operate on it like a normal program. Experimental evidence seems to indicate that on fedora 27 with a 4.14 kernel, ptrace cann

Re: [PATCH v2 2/5] dt-bindings: at24: add a missing compatible

2017-12-21 Thread Bartosz Golaszewski
2017-12-21 15:08 GMT+01:00 Andy Shevchenko : > On Thu, Dec 21, 2017 at 3:48 PM, Bartosz Golaszewski wrote: >> "atmel,spd" is reported by checkpatch as undocumented in the device >> tree bindings. Add it to the list of supported compatible strings. > >> "atmel,24c00", >> "atmel,24

Re: [PATCH v2 2/3] phy: core: Drop unused runtime PM APIs

2017-12-21 Thread Ulf Hansson
On 21 December 2017 at 13:24, Yoshihiro Shimoda wrote: > >> From: Ulf Hansson, Sent: Thursday, December 21, 2017 7:58 PM >> >> On 21 December 2017 at 11:33, Yoshihiro Shimoda >> wrote: >> > Hi Ulf-san, >> > >> >> -Original Message- >> >> From: Ulf Hansson, Sent: Wednesday, December 20, 20

Re: [PATCH v2 2/5] dt-bindings: at24: add a missing compatible

2017-12-21 Thread Andy Shevchenko
On Thu, Dec 21, 2017 at 4:18 PM, Bartosz Golaszewski wrote: > 2017-12-21 15:08 GMT+01:00 Andy Shevchenko : >> On Thu, Dec 21, 2017 at 3:48 PM, Bartosz Golaszewski wrote: >>> "atmel,spd" is reported by checkpatch as undocumented in the device >>> tree bindings. Add it to the list of supported comp

Re: proc_flush_task oops

2017-12-21 Thread Dave Jones
On Thu, Dec 21, 2017 at 12:38:12PM +0200, Alexey Dobriyan wrote: > On 12/21/17, Eric W. Biederman wrote: > > I have stared at this code, and written some test programs and I can't > > see what is going on. alloc_pid by design and in implementation (as far > > as I can see) is always single th

Re: [PATCH] ARM: dts: imx: Add memory node unit name

2017-12-21 Thread Marco Franchi
Hi Lothar, 2017-12-21 6:07 GMT-02:00 Lothar Waßmann : > Hi, > > On Wed, 6 Dec 2017 13:59:49 -0200 Marco Franchi wrote: >> Fix the following warnings from dtc by adding the unit name to memory >> nodes: >> >> Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, >> but no unit

Re: [PATCH net-next v4 0/6] net: tcp: sctp: dccp: Replace jprobe usage with trace events

2017-12-21 Thread Masami Hiramatsu
On Wed, 20 Dec 2017 22:12:38 -0500 Steven Rostedt wrote: > On Thu, 21 Dec 2017 11:36:57 +0900 > Masami Hiramatsu wrote: > > > On Wed, 20 Dec 2017 14:24:24 -0500 (EST) > > David Miller wrote: > > > > > From: David Miller > > > Date: Wed, 20 Dec 2017 14:20:40 -0500 (EST) > > > > > > > From:

Re: [PATCH RFC 0/7] KVM: nVMX: enlightened VMCS initial implementation

2017-12-21 Thread Paolo Bonzini
On 21/12/2017 13:50, Vitaly Kuznetsov wrote: > I'm back with (somewhat frustrating) results (E5-2603): v4 (that would be Broadwell)? > 1) Windows on Hyper-V (no nesting): 1350 cycles > > 2) Windows on Hyper-V on Hyper-V: 8600 > > 3) Windows on KVM (no nesting): 1150 cycles > > 4) Windows on H

Re: [PATCH v20 3/7 RESEND] xbitmap: add more operations

2017-12-21 Thread Tetsuo Handa
Matthew Wilcox wrote: > > +/** > > + * xb_find_set - find the next set bit in a range of bits > > + * @xb: the xbitmap to search from > > + * @offset: the offset in the range to start searching > > + * @size: the size of the range > > + * > > + * Returns: the found bit or, @size if no set bit is fo

Re: [PATCH v3 2/5] drm/tegra: Restore opaque and drop alpha formats on Tegra20/30

2017-12-21 Thread Dmitry Osipenko
On 21.12.2017 17:10, Thierry Reding wrote: > On Thu, Dec 21, 2017 at 01:38:31AM +0300, Dmitry Osipenko wrote: >> On 21.12.2017 01:23, Dmitry Osipenko wrote: >>> On 21.12.2017 01:02, Thierry Reding wrote: On Thu, Dec 21, 2017 at 12:05:40AM +0300, Dmitry Osipenko wrote: > On 20.12.2017 23:16

[PATCH 2/2] clocksource/drivers/timer-of: Add kernel documentation

2017-12-21 Thread Daniel Lezcano
The current code has no comment, neither function description. Fix this by adding a kernel doc format for the function description. Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-of.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers

[PATCH 1/2] clocksource/drivers/timer-of: Fix function names

2017-12-21 Thread Daniel Lezcano
All the functions are not prefixed with 'timer_of_', fix the naming in order to have the code consistent. Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-of.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/clocksourc

Re: [PATCH v17 0/5] ZII RAVE platform driver

2017-12-21 Thread Pavel Machek
On Thu 2017-12-21 05:49:59, Guenter Roeck wrote: > On 12/21/2017 01:30 AM, Pavel Machek wrote: > >>Everyone: > >> > >>This patch series is v17 of the driver for supervisory processor found > >>on RAVE series of devices from ZII. Supervisory processor is a PIC > >>microcontroller connected to variou

[PATCH net-next v4.1 5/6] net: dccp: Add DCCP sendmsg trace event

2017-12-21 Thread Masami Hiramatsu
Add DCCP sendmsg trace event (dccp/dccp_probe) for replacing dccpprobe. User can trace this event via ftrace or perftools. Signed-off-by: Masami Hiramatsu --- Changes in v4.1 - Fix to add local directory to include for trace.h. Thanks Steven! --- net/dccp/Makefile |3 ++ net/dccp/p

RE: [PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-21 Thread David Laight
From: Peter Zijlstra > Sent: 21 December 2017 14:12 ... > > > This part above looks like FLS > > It also does the rest of the required shifts. > > Still, fls() + shift is way faster on hardware that has an fls > instruction. > > Writing out that binary search doesn't make sense. If the hardware

Re: stable-rc/linux-4.9.y build: 183 builds: 179 failed, 4 passed, 179 errors (v4.9.71-115-gd4b9c892aea4)

2017-12-21 Thread gregkh
On Thu, Dec 21, 2017 at 12:33:45PM +0100, Arnd Bergmann wrote: > On Thu, Dec 21, 2017 at 12:06 PM, kernelci.org bot wrote: > > stable-rc/linux-4.9.y build: 183 builds: 179 failed, 4 passed, 179 errors > > (v4.9.71-115-gd4b9c892aea4) > > > > Full Build Summary: > > https://kernelci.org/build/stab

Re: [PATCH v1 3/3] x86/mm: Encrypt the initrd earlier for BSP microcode update

2017-12-21 Thread Borislav Petkov
On Thu, Dec 07, 2017 at 05:34:10PM -0600, Tom Lendacky wrote: > Currently the BSP microcode update code examines the initrd very early > in the boot process. If SME is active, the initrd is treated as being > encrypted but it has not been encrypted (in place) yet. Update the > early boot code tha

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-21 Thread Ray Strode
Hi, On Wed, Dec 20, 2017 at 11:44 AM Max Staudt wrote: > It'd be nice to see this bug fixed, as it happens only occasionally (as is > the nature of a > race condition), and was thus really hard to debug. I'm sure it can drive > people insane, > as they try to find out whether they've disabled C

RE: [PATCH 0/7] RapidIO: Adjustments for some function implementations

2017-12-21 Thread Bounine, Alexandre
Acked-by: Alexandre Bounine -Original Message- From: SF Markus Elfring [mailto:elfr...@users.sourceforge.net] Sent: Friday, December 15, 2017 5:27 AM To: kernel-janit...@vger.kernel.org; Bounine, Alexandre ; Matt Porter Cc: LKML Subject: [PATCH 0/7] RapidIO: Adjustments for some funct

Re: [PATCH v5 4/5] DTS: gta04: add uart2 child node for w2sg00x4

2017-12-21 Thread Tony Lindgren
* H. Nikolaus Schaller [171130 23:52]: > GTA04 has a W2SG0004/84 connected to UART2 of the OMAP3 > processor. A GPIO can pulse the on/off toggle switch. > > The VSIM regulator is used to power on/off the LNA of an external > active GPS antenna so that a driver can turn the LNA off if GPS is > not

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Maxime Ripard
Hi Kyle, On Tue, Dec 19, 2017 at 03:05:23PM -0600, kevan...@ksu.edu wrote: > Allwinner a83t has a 1 KB sid block with efuse for security rootkey and > thermal calibration data, add node to describe it. > > a83t-sid is not currently supported by nvmem/sunxi-sid, but it is > supported in an externa

Re: [PATCH 1/2] livepatch: Remove immediate feature

2017-12-21 Thread Petr Mladek
Hello, it seems that we are going to use this patch (I agree). Therefore I am going to review the content. On Fri 2017-12-08 18:25:22, Miroslav Benes wrote: > immediate flag has been used to disable per-task consistency and patch > all tasks immediately. It could be useful if the patch doesn't ch

known bad patch in -mm tree was Re: [PATCH 2/2] mmap.2: MAP_FIXED updated documentation

2017-12-21 Thread Pavel Machek
Hi! > >>> And if Michal doesn't want to touch this patch any more, I'm happy to > >>> do the search/replace/resend. :P > >> > >> Something with the prefix MAP_FIXED_ seems to me obviously desirable, > >> both to suggest that the function is similar, and also for easy > >> grepping of the source co

Re: [PATCH v2 2/5] dt-bindings: at24: add a missing compatible

2017-12-21 Thread Bartosz Golaszewski
2017-12-21 15:25 GMT+01:00 Andy Shevchenko : > On Thu, Dec 21, 2017 at 4:18 PM, Bartosz Golaszewski wrote: >> 2017-12-21 15:08 GMT+01:00 Andy Shevchenko : >>> On Thu, Dec 21, 2017 at 3:48 PM, Bartosz Golaszewski wrote: "atmel,spd" is reported by checkpatch as undocumented in the device

Re: [PATCH 2/3] MIPS: Add barrier between dcache & icache flushes

2017-12-21 Thread James Hogan
On Thu, Dec 21, 2017 at 11:16:03AM +, Matt Redfearn wrote: > Index-based cache operations may be arbitrarily reordered by out of > order CPUs. Thus code which writes back the dcache & then invalidates > the icache using indexed cache ops must include a barrier between > operating on the 2 cache

[PATCH] virt: vbox: use %pR format for printing resource_size_t

2017-12-21 Thread Arnd Bergmann
resource_size_t may be larger than pointers depending on configuration, so we can run into this build warning: drivers/virt/vboxguest/vboxguest_linux.c: In function 'vbg_pci_probe': drivers/virt/vboxguest/vboxguest_linux.c:295:4: error: cast to pointer from integer of different size [-Werror=int-

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

2017-12-21 Thread Philippe CORNU
Hi Nickey, On 12/12/2017 02:10 AM, Nickey Yang wrote: > From: Brian Norris > > Bridge drivers/helpers shouldn't be clobbering the drvdata, since a > parent driver might need to own this. Instead, let's return our > 'dw_mipi_dsi' object and have callers pass that back to us for removal. > > Sig

Re: [v4.14-rt][report] arm: run: stress-ng --class os --all 0 -t 5m

2017-12-21 Thread Daniel Wagner
Hi Grygorii, On 12/20/2017 01:33 AM, Grygorii Strashko wrote: > I've run test few times - can't see "WARNING: possible circular locking > dependency detected" > any more. Below warning happened once. > > [ 3091.593894] [ cut here ] > [ 3091.593909] WARNING: CPU: 0 PID: 1

Re: [GIT PULL] tee async tee supplicant communication for v4.16

2017-12-21 Thread Arnd Bergmann
On Wed, Nov 29, 2017 at 11:27 AM, Jens Wiklander wrote: > > Enable async communication with tee supplicant > > This pull request enables asynchronous communication with TEE supplicant > by introducing meta parameters in the user spa

[PATCH 0/2] Add EHCI/OHCI nodes for V3s and Lichee Pi Zero

2017-12-21 Thread Icenowy Zheng
As the PHY dual-route property is added to 4.15-rc, the EHCI/OHCI nodes are now necessary. Please apply these patches to 4.15, Thanks! Icenowy Zheng (2): ARM: sun8i: v3s: add EHCI/OHCI0 device nodes ARM: sun8i: v3s: enable EHCI/OHCI for Lichee Pi Zero arch/arm/boot/dts/sun8i-v3s-licheepi-ze

[PATCH 1/2] ARM: sun8i: v3s: add EHCI/OHCI0 device nodes

2017-12-21 Thread Icenowy Zheng
The USB PHY 0 on V3s SoC can also be routed to a pair of EHCI/OHCI controllers. Add the device nodes for the controllers. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-v3s.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b

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

2017-12-21 Thread Arnd Bergmann
On Fri, Nov 24, 2017 at 5:27 PM, Javier Martinez Canillas wrote: > The at24 driver allows to register I2C EEPROM chips using different vendor > and devices, but the I2C subsystem does not take the vendor into account > when matching using the I2C table since it only has device entries. > > But whe

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

2017-12-21 Thread Arnd Bergmann
On Fri, Nov 24, 2017 at 5:27 PM, Javier Martinez Canillas wrote: > The at24 driver allows to register I2C EEPROM chips using different vendor > and devices, but the I2C subsystem does not take the vendor into account > when matching using the I2C table since it only has device entries. > > But whe

[PATCH 2/2] ARM: sun8i: v3s: enable EHCI/OHCI for Lichee Pi Zero

2017-12-21 Thread Icenowy Zheng
As the USB port on Lichee Pi Zero works in the OTG mode, enable the EHCI/OHCI controllers for it. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts b/arch/arm/b

Re: known bad patch in -mm tree was Re: [PATCH 2/2] mmap.2: MAP_FIXED updated documentation

2017-12-21 Thread Michal Hocko
On Thu 21-12-17 15:59:07, Pavel Machek wrote: > Hi! > > > >>> And if Michal doesn't want to touch this patch any more, I'm happy to > > >>> do the search/replace/resend. :P > > >> > > >> Something with the prefix MAP_FIXED_ seems to me obviously desirable, > > >> both to suggest that the function

Re: [PATCH RFC 0/7] KVM: nVMX: enlightened VMCS initial implementation

2017-12-21 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > On 21/12/2017 13:50, Vitaly Kuznetsov wrote: >> I'm back with (somewhat frustrating) results (E5-2603): > > v4 (that would be Broadwell)? > Sorry, v3, actually. Haswell. (the first one supporting vmcs shadowing afaiu). >> 1) Windows on Hyper-V (no nesting): 1350 cycles >

Re: [PATCH v2] devres: use MACRO instead of function for devm_ioremap

2017-12-21 Thread Greg KH
On Thu, Dec 21, 2017 at 07:50:16PM +0800, Yisheng Xie wrote: > Hi Greg, > > On 2017/12/19 18:52, Yisheng Xie wrote: > > Hi Greg, > > > > On 2017/12/19 16:46, Greg KH wrote: > >> On Sat, Nov 25, 2017 at 05:23:33PM +0800, Yisheng Xie wrote: > >>> Default ioremap is ioremap_nocache, so devm_ioremap

Re: [PATCH V4 net-next 00/17] add some features and fix some bugs for HNS3 driver

2017-12-21 Thread David Miller
I'm not looking at this patch series until you sort out your full name properly. Thank you.

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

2017-12-21 Thread Arnd Bergmann
On Fri, Nov 24, 2017 at 5:27 PM, Javier Martinez Canillas wrote: > The at24 driver allows to register I2C EEPROM chips using different vendor > and devices, but the I2C subsystem does not take the vendor into account > when matching using the I2C table since it only has device entries. > > But whe

Re: [PATCH V3 net-next 00/17] add some features and fix some bugs for HNS3 driver

2017-12-21 Thread David Miller
From: "lipeng (Y)" Date: Thu, 21 Dec 2017 14:57:02 +0800 > have checked with him, and will fix his name spelling to "Mingguang > Qu". So now all of your colleagues will use "Familyname Surname" or "Surname Familyname" format, yet you will stick with this "Familynamesurname" one word thing? What

Re: [PATCH] ARM: make ARCH_S3C24XX select USE_OF and clean-up boot/dts/Makefile

2017-12-21 Thread Arnd Bergmann
On Mon, Nov 27, 2017 at 3:19 AM, Masahiro Yamada wrote: > ARCH_S3C24XX is a very exceptional platform that some DT files in > arch/arm/boot/dts/, but does not select USE_OF. > > All the other platforms with DT files correctly select USE_OF > directly or indirectly (Most of them are either ARCH_MUL

Re: linux-next: Signed-off-by missing for commit in the scsi tree

2017-12-21 Thread James Bottomley
On Thu, 2017-12-21 at 22:05 +1100, Stephen Rothwell wrote: > Hi Martin, > > On Wed, 20 Dec 2017 21:12:41 -0500 "Martin K. Petersen" s...@oracle.com> wrote: > > > > > > chenxiang, > > > > > > > > John is on vacation. I have checked it and please add a > > > "Signed-off-by: Xiang Chen " or let

Re: [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support

2017-12-21 Thread Tony Lindgren
* Kishon Vijay Abraham I [171219 01:34]: > Add properties to enable PCIe x2 lane mode since all dra7 > based SoCs support x2 lane mode. > > However only dra76-evm has a slot which can support x2 lane > cards. Hence only enable x2 lane mode in dra76-evm. > (am571x-idk can support x2 lane mode but

Re: [PATCH 2/2] livepatch: Allow loading modules on architectures without HAVE_RELIABLE_STACKTRACE

2017-12-21 Thread Petr Mladek
On Fri 2017-12-08 18:25:23, Miroslav Benes wrote: > Now that immediate feature was removed, it is not possible to load > livepatch modules on architectures without HAVE_RELIABLE_STACKTRACE. Fix > it by removing guilty check in klp_register_patch(). > > The architectures without HAVE_RELIABLE_STACK

Re: [PATCH 1/2] ARM: sun8i: v3s: add EHCI/OHCI0 device nodes

2017-12-21 Thread Maxime Ripard
Hi, On Thu, Dec 21, 2017 at 11:05:36PM +0800, Icenowy Zheng wrote: > The USB PHY 0 on V3s SoC can also be routed to a pair of EHCI/OHCI > controllers. > > Add the device nodes for the controllers. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i-v3s.dtsi | 19 ++

Re: [PATCH v2 0/4] arm64: defconfig: enable additional led triggers

2017-12-21 Thread Arnd Bergmann
On Wed, Dec 6, 2017 at 9:57 AM, Amit Kucheria wrote: > (Adding Arnd) > > Now that the merge window rush has abated, can you please apply this > trivial series? > > On Mon, Nov 6, 2017 at 12:38 PM, Amit Kucheria > wrote: >> This patchset enables the kernel panic and disk-activity trigger for LEDs

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-21 Thread Philip Müller
Hi Max, from Manjaro-side we have implemented it now in our v4.14 kernel series and started to test out some themes. Current progress and feedback may be found in our forum: https://forum.manjaro.org/t/bootsplash-provided-by-the-kernel/34467 Best, Philip

Re: [PATCH 1/3] MIPS: c-r4k: instruction_hazard should immediately follow cache op

2017-12-21 Thread James Hogan
On Thu, Dec 21, 2017 at 11:16:02AM +, Matt Redfearn wrote: > During ftrace initialisation, placeholder instructions in the prologue > of every kernel function not marked "notrace" are replaced with nops. > After the instructions are written (to the dcache), flush_icache_range() > is used to ens

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Kyle Evans
On Thu, Dec 21, 2017 at 8:55 AM, Maxime Ripard wrote: > Hi Kyle, > > On Tue, Dec 19, 2017 at 03:05:23PM -0600, kevan...@ksu.edu wrote: >> Allwinner a83t has a 1 KB sid block with efuse for security rootkey and >> thermal calibration data, add node to describe it. >> >> a83t-sid is not currently su

Re: [PATCH v2] livepatch: add locking to force and signal functions

2017-12-21 Thread Petr Mladek
On Thu 2017-12-21 14:40:43, Miroslav Benes wrote: > klp_send_signals() and klp_force_transition() do not acquire klp_mutex, > because it seemed to be superfluous. A potential race in > klp_send_signals() was harmless and there was nothing in > klp_force_transition() which needed to be synchronized.

[PATCH v2 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-21 Thread Aleksandar Markovic
From: Paul Burton Document a binding for the MIPS Cluster Power Controller (CPC) which simply allows the device tree to specify where the CPC registers are located. Signed-off-by: Paul Burton Signed-off-by: Aleksandar Markovic --- Documentation/devicetree/bindings/misc/mti,mips-cpc.txt | 8 ++

[PATCH v2 0/2] MIPS: Augment CPC support

2017-12-21 Thread Aleksandar Markovic
From: Aleksandar Markovic v1->v2: - corrected wording in commit messages and documentation text - expanded cover letter to better explain the context of proposed changes - rebased to the latest code This series is based on two patches from the larger series submitted some ti

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-21 Thread Bruno Wolff III
On Thu, Dec 21, 2017 at 22:01:33 +0800, weiping zhang wrote: Hi, how do you do bisect ?build all kernel commit one by one ? as you did before: https://bugzilla.redhat.com/show_bug.cgi?id=1520982 I just did the one bisect using Linus' tree. After each build, I would do a test boot and see if

[PATCH v2 2/2] MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()

2017-12-21 Thread Aleksandar Markovic
From: Paul Burton Reading mips_cpc_base value from the DT allows each platform to define it according to its needs. This is especially convenient for MIPS_GENERIC kernel where this kind of information should be determined in runtime. Use mti,mips-cpc compatible string with just a reg property to

Re: [PATCH 0/2] Add EHCI/OHCI nodes for V3s and Lichee Pi Zero

2017-12-21 Thread Maxime Ripard
On Thu, Dec 21, 2017 at 11:05:35PM +0800, Icenowy Zheng wrote: > As the PHY dual-route property is added to 4.15-rc, the EHCI/OHCI nodes > are now necessary. > > Please apply these patches to 4.15, Thanks! There's no reason to have it merged in 4.15. It's not a regression, so 4.15 should work jus

Re: [RFC PATCH] mm: memcontrol: memory+swap accounting for cgroup-v2

2017-12-21 Thread Shakeel Butt
On Thu, Dec 21, 2017 at 5:37 AM, Tejun Heo wrote: > Hello, Shakeel. > > On Wed, Dec 20, 2017 at 05:15:41PM -0800, Shakeel Butt wrote: >> Let's say we have a job that allocates 100 MiB memory and suppose 80 >> MiB is anon and 20 MiB is non-anon (file & kmem). >> >> [With memsw] Scheduler sets the m

Re: [PATCH 1/2] ARM: sun8i: v3s: add EHCI/OHCI0 device nodes

2017-12-21 Thread Maxime Ripard
On Thu, Dec 21, 2017 at 11:05:36PM +0800, Icenowy Zheng wrote: > The USB PHY 0 on V3s SoC can also be routed to a pair of EHCI/OHCI > controllers. > > Add the device nodes for the controllers. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i-v3s.dtsi | 19 +++ >

Re: [PATCH 1/3] MIPS: c-r4k: instruction_hazard should immediately follow cache op

2017-12-21 Thread Matt Redfearn
Hi James, On 21/12/17 15:14, James Hogan wrote: On Thu, Dec 21, 2017 at 11:16:02AM +, Matt Redfearn wrote: During ftrace initialisation, placeholder instructions in the prologue of every kernel function not marked "notrace" are replaced with nops. After the instructions are written (to the

[PATCH v2 0/3] trace-cmd: Integrate stack tracer status in 'stat'

2017-12-21 Thread Vladislav Valtchev (VMware)
This short patch series makes trace-cmd stat aware of the stack tracer: now, when the stack tracker is ON, the stat command will report that. Vladislav Valtchev (VMware) (3): trace-cmd: Make read_proc() to return int status via OUT arg trace-cmd: Remove the die() call from read_proc() trace-

[PATCH v2 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2017-12-21 Thread Vladislav Valtchev (VMware)
This patch changes both the implementation and the interface of read_proc() in trace-stack.c. First, it makes the function to read a string from the proc file and then parse it as an integer using strtol(). Then, it makes the function to return the integer read from the proc file using the int *sta

[PATCH v2 3/3] trace-cmd: Making stat to report when the stack tracer is ON

2017-12-21 Thread Vladislav Valtchev (VMware)
trace-cmd stat is a handy way for users to see what tracing is currently going on, but currently it does not say anything about the stack tracing. This patch makes the command to show a message when the stack tracer is ON. Signed-off-by: Vladislav Valtchev (VMware) --- trace-cmd.h | 2 ++ trac

Re: [PATCH] arm64: defconfig: enable CONFIG_UNIPHIER_EFUSE

2017-12-21 Thread Arnd Bergmann
On Mon, Dec 11, 2017 at 5:16 PM, Masahiro Yamada wrote: > FW: Arnd and Olof, > > > This patch looks trivial enough. > > The reason for not-apply is > probably because this patch was sent to Catalin and Will > without Arnd and Olof even CC'ed. > > > > Arnd, Olof, > Please consider to apply it. > >

[PATCH v2 2/3] trace-cmd: Remove the die() call from read_proc()

2017-12-21 Thread Vladislav Valtchev (VMware)
As trace-stack.c's read_proc() function is going to be used by trace-cmd stat, we don't want it to make the program die in case something went wrong. Therefore, this simple patch makes read_proc() to just return -1 in case the proc file was empty or read() failed with an error, instead of using die

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Maxime Ripard
Hi, On Thu, Dec 21, 2017 at 09:19:24AM -0600, Kyle Evans wrote: > On Thu, Dec 21, 2017 at 8:55 AM, Maxime Ripard > wrote: > > Hi Kyle, > > > > On Tue, Dec 19, 2017 at 03:05:23PM -0600, kevan...@ksu.edu wrote: > >> Allwinner a83t has a 1 KB sid block with efuse for security rootkey and > >> therma

Re: [PATCH] ARM: dts: aspeed-g4: Correct VUART IRQ number

2017-12-21 Thread Arnd Bergmann
On Mon, Dec 18, 2017 at 10:00 AM, Cédric Le Goater wrote: > On 12/15/2017 06:33 AM, Joel Stanley wrote: >> This should have always been 8. >> >> Fixes: db4d6d9d80fa ("ARM: dts: aspeed: Correctly order UART nodes") >> Cc: sta...@vger.kernel.org >> Signed-off-by: Joel Stanley > > Reviewed-by: Cédri

Re: [PATCH 1/9] dt-bindings: ti-sysc: Update binding for timers and capabilities

2017-12-21 Thread Tony Lindgren
* Rob Herring [171220 18:13]: > On Sat, Dec 16, 2017 at 11:22:22AM -0800, Tony Lindgren wrote: > > I was planning to have "ti,sysc-delay-us" only in the driver, but > > the same IP needs it set on dm814x while not on omap4 for OTG > > for example. I could add SoC specific quirks to the driver > >

Re: [PATCH] kvm: x86: fix RSM when PCID is non-zero

2017-12-21 Thread Andy Lutomirski
On Thu, Dec 21, 2017 at 3:56 AM, Paolo Bonzini wrote: > rsm_load_state_64() and rsm_enter_protected_mode() load CR3, then > CR4 & ~PCIDE, then CR0, then CR4. > > However, setting CR4.PCIDE fails if CR3[11:0] != 0. It's probably easier > in the long run to replace rsm_enter_protected_mode() with a

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Kyle Evans
On Thu, Dec 21, 2017 at 9:26 AM, Maxime Ripard wrote: > Hi, > > On Thu, Dec 21, 2017 at 09:19:24AM -0600, Kyle Evans wrote: >> On Thu, Dec 21, 2017 at 8:55 AM, Maxime Ripard >> wrote: >> > Hi Kyle, >> > >> > On Tue, Dec 19, 2017 at 03:05:23PM -0600, kevan...@ksu.edu wrote: >> >> Allwinner a83t ha

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-21 Thread weiping zhang
2017-12-21 23:18 GMT+08:00 Bruno Wolff III : > On Thu, Dec 21, 2017 at 22:01:33 +0800, > weiping zhang wrote: >> >> Hi, >> how do you do bisect ?build all kernel commit one by one ? >> as you did before: >> https://bugzilla.redhat.com/show_bug.cgi?id=1520982 > > > I just did the one bisect using

Re: [PATCH 1/3] MIPS: c-r4k: instruction_hazard should immediately follow cache op

2017-12-21 Thread James Hogan
On Thu, Dec 21, 2017 at 03:19:35PM +, Matt Redfearn wrote: > Hi James, > > On 21/12/17 15:14, James Hogan wrote: > > On Thu, Dec 21, 2017 at 11:16:02AM +, Matt Redfearn wrote: > >> During ftrace initialisation, placeholder instructions in the prologue > >> of every kernel function not mark

[PATCH 8/8] staging: lustre: Align backslashes in multi-line macros

2017-12-21 Thread Fabian Huegel
This patch right aligns all backslashes in multi-line macros in obd_class.h for better readability. Signed-off-by: Fabian Huegel Signed-off-by: Christoph Volkert --- drivers/staging/lustre/lustre/include/obd_class.h | 166 +++--- 1 file changed, 83 insertions(+), 83 deletions(-)

[PATCH 7/8] staging: lustre: Align struct member identifiers

2017-12-21 Thread Fabian Huegel
This patch properly left aligns all member identifiers in every struct defined in obd_class.h for better readability. Signed-off-by: Fabian Huegel Signed-off-by: Christoph Volkert --- drivers/staging/lustre/lustre/include/obd_class.h | 44 +++ 1 file changed, 22 insertions(+

Re: [PATCH] arm64: defconfig: Select schedutil as default cpufreq governor

2017-12-21 Thread Arnd Bergmann
On Mon, Dec 18, 2017 at 5:29 AM, Viresh Kumar wrote: > On 15-12-17, 15:50, Catalin Marinas wrote: >> On Thu, Nov 16, 2017 at 11:51:36AM +0530, Viresh Kumar wrote: >> > Currently performance governor is getting selected by default, which is >> > surely not a very good choice as its pretty much powe

[PATCH 4/8] staging: lustre: Fix comment style

2017-12-21 Thread Fabian Huegel
Most multi-line comments started on the first line, but the preferred linux kernel style is to start multi-line comments on the second line. Some comments became less readable after the change, so we changed them to single-line comments. Signed-off-by: Fabian Huegel Signed-off-by: Christoph Volke

Re: [RFC PATCH] mm: memcontrol: memory+swap accounting for cgroup-v2

2017-12-21 Thread Shakeel Butt
> The swap (and its performance) is and should be transparent > to the job owners. Please ignore this statement, I didn't mean to claim on the independence of job performance and underlying swap performance, sorry about that. I meant to say that the amount of anon memory a job can allocate should

Re: [PATCH] fixdep: exit with error code in error branches of do_config_file()

2017-12-21 Thread Nicholas Mc Guire
On Wed, Dec 20, 2017 at 09:27:02PM +0100, Lukas Bulwahn wrote: > do_config_file() should exit with an error code, and not return if it fails > as then the error in do_config_file() would go unnoticed in the current > code and allow the build to continue. The exit with error code will make > the bui

[PATCH 1/8] staging: lustre: Enclose complex macros in parentheses

2017-12-21 Thread Fabian Huegel
Checkpatch wants complex macros to be enclosed in parentheses, so we put parentheses around these four macros. Signed-off-by: Fabian Huegel Signed-off-by: Christoph Volkert --- drivers/staging/lustre/lustre/include/obd_class.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH 3/8] staging: lustre: Remove DECLARE_LU_VARS macro

2017-12-21 Thread Fabian Huegel
This macro was only used in four places to declare two variables. It saved one line of code, but in our opinion hurt readability. So we removed the macro, substituting every occurrence with the declaration of the two variables (like the preprocessor would have done). Signed-off-by: Fabian Huegel

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