[PATCH] mtd: nand: omap2: Fix partition creation via cmdline mtdparts

2017-03-30 Thread Roger Quadros
commit c9711ec5250b ("mtd: nand: omap: Clean up device tree support") caused the parent device name to be changed from "omap2-nand.0" to ".nand" (e.g. 3000.nand on omap3 platforms). This caused mtd->name to be changed as well. This breaks partition creation via mtdparts passed by u-boot as it

Re: [PATCH v22 09/11] acpi/arm64: Add memory-mapped timer support in GTDT driver

2017-03-30 Thread Fu Wei
Hi Lorenzo, On 30 March 2017 at 00:47, Lorenzo Pieralisi wrote: > On Wed, Mar 22, 2017 at 12:31:20AM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> On platforms booting with ACPI, architected memory-mapped timers' >> configuration data is

Re: ZONE_NORMAL vs. ZONE_MOVABLE

2017-03-30 Thread Vlastimil Babka
On 03/20/2017 07:33 AM, Joonsoo Kim wrote: >> The fact sticky movable pageblocks aren't ideal for CMA doesn't mean >> they're not ideal for memory hotunplug though. >> >> With CMA there's no point in having the sticky movable pageblocks >> scattered around and it's purely a misfeature to use

Re: [REGRESSION][Stable][v3.12.y][v4.4.y][v4.9.y][v4.10.y][v4.11-rc1] scsi: storvsc: properly set residual data length on errors

2017-03-30 Thread Greg KH
On Tue, Mar 28, 2017 at 04:14:09PM +, Stephen Hemminger wrote: > I decided not to send it to stable since problem was only observed on > 4.11 but it is probably endemic to all GEN2 VM's So, what does this mean? What should stable@ do? Nothing? Ok, now dropped this from my patch queue :)

Re: [PATCH] x86/debug: define BUG() againfor !CONFIG_BUG

2017-03-30 Thread Arnd Bergmann
On Thu, Mar 30, 2017 at 9:47 AM, Ingo Molnar wrote: > > * Peter Zijlstra wrote: >> So should we then, for x86, disable BUG=n instead? > > Arnd, does CONFIG_BUG=n give any (marginal) text savings wrt. > CONFIG_BUG=y && CONFIG_BUG_VERBOSE=n? My patch makes

Re: [RFC][PATCH] exec: Don't wait for ptraced threads to be reaped.

2017-03-30 Thread Eric W. Biederman
Oleg Nesterov writes: > On 03/03, Eric W. Biederman wrote: >> @@ -1065,11 +1065,8 @@ static int de_thread(struct task_struct *tsk) >> } >> >> sig->group_exit_task = tsk; >> -sig->notify_count = zap_other_threads(tsk); >> -if (!thread_group_leader(tsk)) >> -

Re: [PATCH v3 3/7] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-03-30 Thread Linus Walleij
On Wed, Mar 29, 2017 at 5:56 PM, jacopo wrote: > I can try to give you a few reasons why I don't see those flags fit in > the pin configuration flags definition. > > *) those flags are used during pin multiplexing procedure only and that > procedure has a specific order to be

Re: [PATCH v2] staging: comedi: labpc: fix isadma dependency

2017-03-30 Thread Ian Abbott
On 29/03/17 22:10, Arnd Bergmann wrote: When COMEDI_NI_LABPC is built-in and COMEDI_NI_LABPC_ISA is a loadable module, thhe ISA DMA code is not reachable by the common module, causing a link error: drivers/staging/built-in.o: In function `labpc_interrupt': ni_labpc_common.c:(.text+0x1d178):

Re: [PATCH v5 6/9] coresight: add support for CPU debug module

2017-03-30 Thread Suzuki K Poulose
On 30/03/17 02:03, Leo Yan wrote: On Wed, Mar 29, 2017 at 03:56:23PM +0100, Mike Leach wrote: [...] + /* +* Unfortunately the CPU cannot be powered up, so return +* back and later has no permission to access other +* registers. For this case, should set 'idle_constraint' +*

[PATCH v5 5/6] drm: bridge: dw-hdmi: Add Documentation on supported input formats

2017-03-30 Thread Neil Armstrong
This patch adds a new DRM documentation entry and links to the input format table added in the dw_hdmi header. Signed-off-by: Neil Armstrong --- Documentation/gpu/bridge/dw-hdmi.rst | 15 +++ Documentation/gpu/index.rst | 1 + 2 files changed, 16

[PATCH v5 6/6] drm: bridge: dw-hdmi: Move HPD handling to PHY operations

2017-03-30 Thread Neil Armstrong
The HDMI TX controller support HPD and RXSENSE signaling from the PHY via it's STAT0 PHY interface, but some vendor PHYs can manage these signals independently from the controller, thus these STAT0 handling should be moved to PHY specific operations and become optional. The existing STAT0 HPD and

Re: [PATCH] ACPI / gpio: do not fall back to parsing _CRS when we get a deferral

2017-03-30 Thread Linus Walleij
On Thu, Mar 23, 2017 at 9:21 PM, Dmitry Torokhov wrote: > If, while locating GPIOs by name, we get probe deferral, we should > immediately report it to caller rather than trying to fall back to parsing > unnamed GPIOs from _CRS block. > > Signed-off-by: Dmitry Torokhov

[PATCH] locking/ww_mutex: fix spelling mistake: "cylic" -> "cyclic"

2017-03-30 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in pr_err error message Signed-off-by: Colin Ian King --- kernel/locking/test-ww_mutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/locking/test-ww_mutex.c

Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link()

2017-03-30 Thread Adrian Hunter
On 30/03/17 11:56, Richard Weinberger wrote: > It is perfectly fine to link a tmpfile back using linkat(). > Since tmpfiles are created with a link count of 0 they appear > on the orphan list, upon re-linking the inode has to be removed > from the orphan list again. > > Cc:

[PATCH 1/6] KVM: nVMX: we support 1GB EPT pages

2017-03-30 Thread Paolo Bonzini
Large pages at the PDPE level can be emulated by the MMU, so the bit can be set unconditionally in the EPT capabilities MSR. The same is true of 2MB EPT pages, though all Intel processors with EPT in practice support those. Reviewed-by: David Hildenbrand Signed-off-by: Paolo

[PATCH] block/sed-opal: fix spelling mistake: "Lifcycle" -> "Lifecycle"

2017-03-30 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in pr_err error message Signed-off-by: Colin Ian King --- block/sed-opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/sed-opal.c b/block/sed-opal.c index

[PATCH 4.9 15/16] sched/rt: Add a missing rescheduling point

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 619bd4a71874a8fd78eb6ccf9f272c5e98bcc7b7 upstream. Since the change in commit: fd7a4bed1835 ("sched, rt: Convert switched_{from,

[PATCH 4.9 14/16] fscrypt: remove broken support for detecting keyring key revocation

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 1b53cf9815bb4744958d41f3795d5d5a1d365e2d upstream. Filesystem encryption ostensibly supported revoking a keyring key that had been used to "unlock"

[PATCH 4.9 07/16] c6x/ptrace: Remove useless PTRACE_SETREGSET implementation

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit fb411b837b587a32046dc4f369acb93a10b1def8 upstream. gpr_set won't work correctly and can never have been tested, and the correct behaviour is not clear

[PATCH 4.9 11/16] metag/ptrace: Preserve previous registers for short regset write

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit a78ce80d2c9178351b34d78fec805140c29c193e upstream. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers,

[PATCH 4.9 10/16] sparc/ptrace: Preserve previous registers for short regset write

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit d3805c546b275c8cc7d40f759d029ae92c7175f2 upstream. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers,

[PATCH 4.9 08/16] h8300/ptrace: Fix incorrect register transfer count

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit 502585c7555083d4a949c08350306b9ec196779e upstream. regs_set() and regs_get() are vulnerable to an off-by-1 buffer overrun if CONFIG_CPU_H8S is set,

Re: [kernel-hardening] [RFC v2][PATCH 02/11] lkdtm: add test for rare_write() infrastructure

2017-03-30 Thread Ian Campbell
On Wed, 2017-03-29 at 11:15 -0700, Kees Cook wrote: > diff --git a/drivers/misc/lkdtm_perms.c b/drivers/misc/lkdtm_perms.c > index c7635a79341f..8fbadfa4cc34 100644 > --- a/drivers/misc/lkdtm_perms.c > +++ b/drivers/misc/lkdtm_perms.c > [...] > +/* This is marked __wr_rare, so it should ultimately

[PATCH 4.9 16/16] usb: musb: fix possible spinlock deadlock

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit bc1e2154542071e3cfe1734b143af9b8bdacf8bd upstream. The DSPS glue calls del_timer_sync() in its musb_platform_disable() implementation, which requires the caller to

[PATCH 4.9 04/16] KVM: x86: cleanup the page tracking SRCU instance

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 2beb6dad2e8f95d710159d5befb390e4f62ab5cf upstream. SRCU uses a delayed work item. Skip cleaning it up, and the result is use-after-free in the work

[PATCH 4.9 06/16] pinctrl: qcom: Dont clear status bit on irq_unmask

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Andersson commit a6566710adaa4a7dd5e0d99820ff9c9c30ee5951 upstream. Clearing the status bit on irq_unmask will discard any pending interrupt that did arrive

[PATCH 4.9 12/16] metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS

2017-03-30 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit 5fe81fe98123ce41265c65e95d34418d30d005d1 upstream. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill TXSTATUS, a

[PATCH 07/11] platform/x86: fujitsu-laptop: make disable_brightness_adjust a boolean

2017-03-30 Thread Michał Kępień
Due to the way the disable_brightness_adjust module parameter is currently handled in acpi_fujitsu_bl_add(), it can only be set to either 0 or 1, which effectively makes it a boolean. Emphasize that by changing module parameter type to bool. Do not announce parameter value in a debug message as

[PATCH 08/11] platform/x86: fujitsu-laptop: ignore errors when setting backlight power

2017-03-30 Thread Michał Kępień
Not all Fujitsu laptops support controlling backlight power through the FUJ02E3 ACPI device. Remove the debug message informing about a failed attempt to set backlight power as it may be confusing and the return value of call_fext_func() is logged anyway. Signed-off-by: Michał Kępień

[PATCH 00/11] fujitsu-laptop: backlight cleanup

2017-03-30 Thread Michał Kępień
This series introduces further changes to the way LCD backlight is handled by fujitsu-laptop. These changes include fixing a bug in code responsible for generating brightness-related input events, cleaning up handling of module parameters, reducing code duplication, removing superfluous debug

[PATCH 06/11] platform/x86: fujitsu-laptop: clean up use_alt_lcd_levels handling

2017-03-30 Thread Michał Kępień
The value of each module parameter can be changed on the fly via sysfs. However, the current way of handling use_alt_lcd_levels prevents the user from dynamically switching from a value of 0 or 1 back to autodetection as the latter is only performed upon ACPI device instantiation. Fix this by

Business Proposal Of $18,100,000.00

2017-03-30 Thread Mr Youichi Kanno
Dear Sir/Madam, My name is Youichi Kanno and I work in Audit & credit Supervisory role at The Norinchukin Bank, Japan.I am contacting you regarding the asset of a deceased client Mr. Grigor Kassan and I need your assistance to process the fund claims oF $18,100,000.00 (Eighteen Million, One

[PATCH 11/11] platform/x86: fujitsu-laptop: remove redundant fields from struct fujitsu_bl

2017-03-30 Thread Michał Kępień
The dev field of struct fujitsu_bl is assigned in acpi_fujitsu_bl_add(), but never used afterwards. brightness_changed is set in get_lcd_level() and then its value is only printed in a debug message, so it does not influence execution flow. Remove both fields as they are redundant. Update the

Re: [PATCH] serial: tegra: Map the iir register to default defines

2017-03-30 Thread Laxman Dewangan
On Thursday 30 March 2017 12:18 AM, Olliver Schinagl wrote: The tegra serial IP seems to be following the common layout and the interrupt ID's match up nicely. Replace the magic values to match the common serial_reg defines, with the addition of the Tegra unique End of Data interrupt.

Re: [PATCH v1 1/2] auxdisplay: Move panel.c to drivers/auxdisplay folder

2017-03-30 Thread Geert Uytterhoeven
On Fri, Mar 24, 2017 at 3:06 PM, Andy Shevchenko wrote: > It looks like panel.c belongs to auxdisplay subsystem. > > Move it to drivers/auxdisplay folder. > No functional changes intended. > > Signed-off-by: Andy Shevchenko

[PATCH 6/6] mm, memory_hotplug: remove unused cruft after memory hotplug rework

2017-03-30 Thread Michal Hocko
From: Michal Hocko arch_add_memory doesn't need for_device parameter anymore because devm_memremap_pages already does all what it needs to. zone_for_memory doesn't have any user anymore as well as the whole zone shifting infrastructure so drop them as well. Signed-off-by:

[PATCH 4/6] mm, memory_hotplug: use node instead of zone in can_online_high_movable

2017-03-30 Thread Michal Hocko
From: Michal Hocko the primary purpose of this helper is to query the node state so use the node id directly. This is a preparatory patch for later changes. Signed-off-by: Michal Hocko --- mm/memory_hotplug.c | 8 1 file changed, 4 insertions(+), 4

[PATCH] drivers: gpu: drm: i915L intel_lpe_audio: Fix kerneldoc comments

2017-03-30 Thread Tamara Diaconita
Add description for existing parameter 'pipe' to fix the build warning: ./drivers/gpu/drm/i915/intel_lpe_audio.c:342: warning: No description found for parameter 'pipe'. Signed-off-by: Tamara Diaconita --- drivers/gpu/drm/i915/intel_lpe_audio.c | 1 + 1 file changed,

Re: [PATCH] ARM: dts: da850: move spi0_cs3_pin pinconf node

2017-03-30 Thread Sekhar Nori
On Tuesday 28 March 2017 06:42 AM, David Lechner wrote: > This moves the spi0_cs3_pin pinconf node from the LEGO EV3 file to the > common DA850 include file. This node is applicable to any board, and > therefore belongs in the common file. > > Signed-off-by: David Lechner

Re: [PATCH 1/4] mm/vmalloc: allow to call vfree() in atomic context

2017-03-30 Thread Thomas Hellstrom
On 03/30/2017 12:27 PM, Andrey Ryabinin wrote: > Commit 5803ed292e63 ("mm: mark all calls into the vmalloc subsystem > as potentially sleeping") added might_sleep() to remove_vm_area() from > vfree(), and commit 763b218ddfaf ("mm: add preempt points into > __purge_vmap_area_lazy()") actually made

DRM: Component framework API support

2017-03-30 Thread Eugeniy Paltsev
Hi, I am trying to add support of new component framework API in ARC PGU driver. The point is that for now we have ARC PGU driver which works with adv7511 encoder. Both of them don't support component framework API. I had to add support of component framework based dw_hdmi encoder to ARC PGU

Re: [PATCH 2/3] pinctrl: Add pincontrol driver for ARTPEC-6 SoC

2017-03-30 Thread Linus Walleij
On Thu, Mar 30, 2017 at 1:33 PM, Jesper Nilsson wrote: > Add pinctrl driver support for the Axis ARTPEC-6 SoC. > There are only some pins that actually have different > functions available, but all can control bias (pull-up/-down) > and drive strength. > Code originally

[PATCH 05/16] fpga: intel: pcie: add chardev support for feature devices

2017-03-30 Thread Wu Hao
From: Xiao Guangrong For feature devices drivers, both the FPGA Management Engine (FME) and Accelerated Function Unit (AFU) driver need to expose user interfaces via the device file, for example, mmap and ioctls. This patch adds chardev support in the pcie driver

Re: [PATCH] serial: Do not treat the IIR register as a bitfield

2017-03-30 Thread kbuild test robot
Hi Olliver, [auto build test WARNING on tty/tty-testing] [also build test WARNING on v4.11-rc4 next-20170330] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Olliver-Schinagl/serial-Do-not-treat

[PATCH 08/16] fpga: intel: add FPGA Management Engine driver basic framework

2017-03-30 Thread Wu Hao
From: Kang Luwei The FPGA Management Engine (FME) provides power, thermal management, performance counters, partial reconfiguration and other functions. For each function, it is packaged into a private feature linked to the FME feature device in the 'Device Feature List'.

[PATCH 06/16] fpga: intel: pcie: adds fpga_for_each_port callback for fme device

2017-03-30 Thread Wu Hao
For FPGA Management Engine (FME), it requires fpga_for_each_port callback for actions on ports, so export this function from PCIe driver by adding the callback to the platform data. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebbers

Re: [BUG nohz]: wrong user and system time accounting

2017-03-30 Thread Wanpeng Li
2017-03-30 10:14 GMT+08:00 Luiz Capitulino : > On Thu, 30 Mar 2017 06:46:30 +0800 > Wanpeng Li wrote: > >> > So! Now we need to find a proper fix :o) >> > >> > Hmm, how bad would it be to revert to sched_clock() instead of jiffies in >> >

Re: [PATCH v2] selftests: create cpufreq kconfig fragments

2017-03-30 Thread Naresh Kamboju
+ Mailing list On 22 March 2017 at 09:44, Viresh Kumar wrote: > On 21-03-17, 21:06, naresh.kamb...@linaro.org wrote: >> From: Naresh Kamboju >> >> For the better test coverage of cpufreq driver code these extra >> configurations >> are

Re: [PATCH RESEND] mm/hugetlb: Don't call region_abort if region_chg fails

2017-03-30 Thread Dmitry Vyukov
On Wed, Mar 29, 2017 at 11:17 PM, Andrew Morton wrote: > On Wed, 29 Mar 2017 14:08:02 -0700 Mike Kravetz > wrote: > >> Resending because of typo in Andrew's e-mail when first sent >> >> Changes to hugetlbfs reservation maps is a two step

Re: [RFC][CFT][PATCHSET v1] uaccess unification

2017-03-30 Thread Martin Schwidefsky
On Wed, 29 Mar 2017 06:57:06 +0100 Al Viro wrote: > The patchset currently in vfs.git#work.uaccess is the result; > there's more work to do, but it takes care of a large part of the > problems. About 2.8KLoc removed, a lot of cruft is gone and semantics > is

[PATCH] drivers: iio: replace comma with a semicolon

2017-03-30 Thread Arushi Singhal
Replace a comma between expression statements by a semicolon. This changes the semantics of the code, but given the current indentation appears to be what is intended. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: // @r@ expression e1,e2;

Re: [PATCH v2] serdev: Replace serdev_device_write_buf with serdev_device_write

2017-03-30 Thread Andrey Smirnov
On Wed, Mar 29, 2017 at 2:25 PM, Rob Herring wrote: > On Wed, Mar 29, 2017 at 9:16 AM, Andrey Smirnov > wrote: >> On Tue, Mar 28, 2017 at 10:07 AM, Andy Shevchenko >> wrote: >>> On Tue, Mar 28, 2017 at 7:01 PM, Andrey Smirnov

Re: [RESEND PATCH v2 1/2] mfd: retu: Add OF device ID table

2017-03-30 Thread Rob Herring
On Wed, Mar 15, 2017 at 5:49 AM, Javier Martinez Canillas wrote: > The driver doesn't have a struct of_device_id table but supported devices > are registered via Device Trees. This is working on the assumption that a > I2C device registered via OF will always match a

[tip:x86/asm 3/3] lib/bug.c:135: undefined reference to `__start___bug_table'

2017-03-30 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/asm head: 19d436268dde95389c616bb3819da73f0a8b28a8 commit: 19d436268dde95389c616bb3819da73f0a8b28a8 [3/3] debug: Add _ONCE() logic to report_bug() config: arm-efm32_defconfig (attached as .config) compiler:

Re: [RFC PATCH tip/master 2/3] kprobes: Allocate kretprobe instance if its free list is empty

2017-03-30 Thread Alban Crequy
On Thu, Mar 30, 2017 at 8:53 AM, Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > >> > So this is something I missed while the original code was merged, but the >> > concept >> > looks a bit weird: why do we do any "allocation" while a handler is >> >

Re: [PATCH v2 2/4] clk: rockchip: rk3228: make noc and some special clk as critical_clocks

2017-03-30 Thread Maxime Ripard
On Thu, Mar 30, 2017 at 03:10:24PM +0200, Heiko Stuebner wrote: > Am Donnerstag, 30. März 2017, 14:44:17 CEST schrieb Maxime Ripard: > > On Tue, Mar 28, 2017 at 06:06:52PM +0800, Elaine Zhang wrote: > > > Signed-off-by: Elaine Zhang > > > --- > > >

Re: [PATCH] selftests: gpio: add config fragment for gpio-mockup

2017-03-30 Thread Bamvor Zhang Jian
Hi, Fathi On 29 March 2017 at 02:41, Fathi Boudra wrote: > The gpio test requires to insert gpio-mockup module. > > Signed-off-by: Fathi Boudra > --- > tools/testing/selftests/gpio/config | 1 + > 1 file changed, 1 insertion(+) > create mode

RE: [PATCH v3 3/7] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-03-30 Thread Chris Brandt
On Thursday, March 30, 2017, Linus Walleij wrote: > >> > +/* > >> > + * Pin is bi-directional. > >> > + * An alternate function that needs both input/output > >> > +functionalities shall > >> > + * be configured as bidirectional. > >> > + * Eg. SDA/SCL pins of an I2c interface. > >> > + */ > >> >

Re: [RFC][CFT][PATCHSET v1] uaccess unification

2017-03-30 Thread Alexey Dobriyan
[cc linux-kernel] On Thu, Mar 30, 2017 at 4:25 PM, Alexey Dobriyan wrote: >> void *to, const void *from, unsigned long size > > Type of the last argument should be "unsigned int", > for the following reasons: > * on x86_64 actual copying is done as 32-bit: types flip to

[PATCH v2] Extend pca9532 device tree support

2017-03-30 Thread Felix Brack
This patch extends the device tree support for the pca9532 by adding the leds 'default-state' property. Changes in v2: - remove prescaler and pwm configuration by none generic DT properties Signed-off-by: Felix Brack --- .../devicetree/bindings/leds/leds-pca9532.txt | 10

[PATCH] input: goodix: Poll the 'buffer status' bit before reading data

2017-03-30 Thread Paul Cercueil
The Goodix panel triggers an interrupt on touch events. However, its registers will contain the valid values a short time after the interrupt, and not when it's raised. At that moment, the 'buffer status' bit is set. Previously, if the 'buffer status' bit was not set when the registers were read,

[PATCH 2/3] tty: drop obsolete termios_locked comments

2017-03-30 Thread Johan Hovold
Drop comments about tty-driver termios_locked structures, which have been outdated since commit fe6e29fdb1a7 ("tty: simplify ktermios allocation"). Signed-off-by: Johan Hovold --- drivers/tty/tty_io.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

Re: [PATCHv2] phy: cpcap-usb: Add CPCAP PMIC USB support

2017-03-30 Thread Kishon Vijay Abraham I
Hi Tony, On Monday 27 March 2017 08:35 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [170326 23:27]: >> On Thursday 23 March 2017 05:16 AM, Tony Lindgren wrote: >>> +static const struct phy_ops ops = { >>> + .owner = THIS_MODULE, >>> +}; >> >> Given that this phy

[PATCH 5/6] mm, memory_hotplug: do not associate hotadded memory to zones until online

2017-03-30 Thread Michal Hocko
From: Michal Hocko The current memory hotplug implementation relies on having all the struct pages associate with a zone during the physical hotplug phase (arch_add_memory->__add_pages->__add_section->__add_zone). In the vast majority of cases this means that they are added to

[PATCH 1/6] mm: get rid of zone_is_initialized

2017-03-30 Thread Michal Hocko
From: Michal Hocko There shouldn't be any reason to add initialized when we can tell the same thing from checking whether there are any pages spanned to the zone. Remove zone_is_initialized() and replace it by zone_is_empty which can be used for the same set of tests. This

[PATCH 2/6] mm, tile: drop arch_{add,remove}_memory

2017-03-30 Thread Michal Hocko
From: Michal Hocko these functions are unreachable because tile doesn't support memory hotplug becasuse it doesn't select ARCH_ENABLE_MEMORY_HOTPLUG nor it supports SPARSEMEM. This code hasn't been compiled for a while obviously because nobody has noticed that __add_pages has a

[PATCH 0/6] mm: make movable onlining suck less

2017-03-30 Thread Michal Hocko
Hi, I have posted a crude RFC for this rework [1] and there didn't seem any objections so I have split up the patch into smaller chunks which will make the review easier hopefully. Motivation: Movable onlining is a real hack with many downsides - mainly reintroduction of lowmem/highmem issues we

[PATCH 3/6] mm: remove return value from init_currently_empty_zone

2017-03-30 Thread Michal Hocko
From: Michal Hocko init_currently_empty_zone doesn't have any error to return yet it is still an int and callers try to be defensive and try to handle potential error. Remove this nonsense and simplify all callers. This patch shouldn't have any visible effect Signed-off-by:

[PATCH 10/16] fpga: intel: fme: add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2017-03-30 Thread Wu Hao
FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which need to be supported by all feature devices drivers including FME and AFU. Userspace application can use these ioctl interfaces to get the API info and check if specific extension is supported or not in current driver.

[PATCH 16/16] fpga: intel: afu: add FPGA_PORT_DMA_MAP/UNMAP ioctls support

2017-03-30 Thread Wu Hao
DMA memory regions are required for Accelerated Function Unit (AFU) usage. These two ioctls allow user space applications to map user memory regions for dma, and unmap them after use. Iova is returned from driver to user space application via FPGA_PORT_DMA_MAP ioctl. Application needs to unmap it

[PATCH 15/16] fpga: intel: afu: add user afu sub feature support

2017-03-30 Thread Wu Hao
From: Xiao Guangrong User Accelerated Function Unit sub feature exposes the MMIO region of the AFU. After valid green bitstream (GBS) is programmed and port is enabled, then this MMIO region could be accessed. This patch adds support to enumerate the AFU MMIO

[PATCH 14/16] fpga: intel: afu add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2017-03-30 Thread Wu Hao
FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which need to be supported by all feature devices drivers including FME and AFU. This patch implements above 2 ioctls in Intel FPGA Accelerated Function Unit (AFU) driver. Signed-off-by: Tim Whisonant

[PATCH 12/16] fpga: intel: add FPGA Accelerated Function Unit driver basic framework

2017-03-30 Thread Wu Hao
On Intel FPGA devices, the Accelerated Function Unit (AFU), can be reprogrammed for different functions. It connects to the FPGA infrastructure("blue bistream") via a Port. Port CSRs are implemented separately from the AFU CSRs to provide control and status of the Port. Once valid green bitstream

[PATCH 09/16] fpga: intel: fme: add header sub feature support

2017-03-30 Thread Wu Hao
From: Kang Luwei The header register set is always present for FPGA Management Engine (FME), this patch implements init and uinit function for header sub feature and introduce several read-only sysfs interfaces for the capability and status. Sysfs interfaces: *

Re: [PATCH 1/1] selftests: breakpoints: allow to cross-compile for aarch64/arm64

2017-03-30 Thread Naresh Kamboju
Hi Fathi, On 22 March 2017 at 23:34, Fathi Boudra wrote: > To build breakpoint_test_arm64, ARCH value is only tested for "aarch64". > It covers only the native build because it's computed from uname -m output. > For cross-compilation, ARCH is set to arm64 and prevent to

Re: [PATCH v2 2/4] clk: rockchip: rk3228: make noc and some special clk as critical_clocks

2017-03-30 Thread Maxime Ripard
On Tue, Mar 28, 2017 at 06:06:52PM +0800, Elaine Zhang wrote: > Signed-off-by: Elaine Zhang > --- > drivers/clk/rockchip/clk-rk3228.c | 30 +- > 1 file changed, 29 insertions(+), 1 deletion(-) > > diff --git

RE: [PATCH v3 1/2] net: phy: Fix PHY AN done state machine for interrupt driven PHYs

2017-03-30 Thread Madalin-Cristian Bucur
On March 27, 2017 2:59 PM, Roger Quadros wrote: > The Ethernet link on an interrupt driven PHY was not coming up if the > Ethernet cable was plugged before the Ethernet interface was brought up. > > The PHY state machine seems to be stuck from RUNNING to AN state > with no new interrupts from the

Re: [PATCH v2 2/4] clk: rockchip: rk3228: make noc and some special clk as critical_clocks

2017-03-30 Thread Heiko Stuebner
Am Donnerstag, 30. März 2017, 14:44:17 CEST schrieb Maxime Ripard: > On Tue, Mar 28, 2017 at 06:06:52PM +0800, Elaine Zhang wrote: > > Signed-off-by: Elaine Zhang > > --- > > drivers/clk/rockchip/clk-rk3228.c | 30 +- > > 1 file changed, 29

Re: [PATCH net-next 1/9] net: dsa: mv88e6xxx: move PVT description in info

2017-03-30 Thread Andrew Lunn
On Wed, Mar 29, 2017 at 04:30:12PM -0400, Vivien Didelot wrote: > Not all Marvell switch chips feature a Cross-chip Port VLAN Table (PVT). > > Chips with a PVT use the same implementation, so a new mv88e6xxx_ops > member won't be necessary yet. Add a "pvt" boolean member to the > mv88e6xxx_info

Re: [BUG nohz]: wrong user and system time accounting

2017-03-30 Thread Mike Galbraith
On Thu, 2017-03-30 at 09:02 -0400, Rik van Riel wrote: > On Thu, 2017-03-30 at 14:51 +0200, Frederic Weisbecker wrote: > > Also, why does it raise power consumption issues? > > On a system without either nohz_full or nohz idle > mode, skewed ticks result in CPU cores waking up > at different

[PATCH 1/3] tty: close race between device register and open

2017-03-30 Thread Johan Hovold
The tty class device is currently not registered until after the character device has been registered thereby leaving a small window were a racing open could end up with a NULL tty->dev pointer due to the class-device lookup failing in alloc_tty_struct. Close this race by registering the class

[PATCH 0/3] tty: close registration race and add termios reset feature

2017-03-30 Thread Johan Hovold
The first patch in this series closes a race between tty device registration and tty open due to the character device being registered before the class device has been registered. The second patch removes some obsolete references to termios_locked, and the final patch makes sure that any saved

[PATCH 3/3] tty: reset termios state on device registration

2017-03-30 Thread Johan Hovold
Free any saved termios data when registering a tty device so that the termios state is reset when reusing a minor number. This is useful for hot-pluggable buses such as USB where it does not make much sense to reuse saved termios data from an unrelated device when a new device is later plugged

Re: DRM: Component framework API support

2017-03-30 Thread Jose Abreu
Hi Eugeniy, On 30-03-2017 13:05, Eugeniy Paltsev wrote: > Hi, > > I am trying to add support of new component framework API in ARC PGU driver. > The point is that for now we have ARC PGU driver which works with adv7511 > encoder. Both of them don't support component framework API. I had to add

Re: [RESEND PATCH 2/2] sched/fair: Optimize __update_sched_avg()

2017-03-30 Thread Peter Zijlstra
On Thu, Mar 30, 2017 at 02:16:58PM +0200, Peter Zijlstra wrote: > On Thu, Mar 30, 2017 at 04:21:08AM -0700, Paul Turner wrote: > > - The naming here is really ambiguous: > > "__accumulate_sum" -> "__accumulate_pelt_segments"? > > OK, I did struggle with that a bit too but failed to improve,

[tip:x86/asm 3/3] bug.c:undefined reference to `__start___bug_table'

2017-03-30 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/asm head: 19d436268dde95389c616bb3819da73f0a8b28a8 commit: 19d436268dde95389c616bb3819da73f0a8b28a8 [3/3] debug: Add _ONCE() logic to report_bug() config: c6x-evmc6678_defconfig (attached as .config) compiler: c6x-elf-gcc

Re: [PATCH 1/3] pinctrl: Add bindings for ARTPEC-6 pinmux

2017-03-30 Thread Linus Walleij
On Thu, Mar 30, 2017 at 1:27 PM, Jesper Nilsson wrote: > Add the bindings for the pinmux functions in the > ARTPEC-6 SoC, including bias and drive strength. > > Signed-off-by: Jesper Nilsson Pretty much ideal bindings. Just giving some slack

Re: [PATCH v3 0/5] ATA/ARM: convert ARM/DaVinci to use libata PATA drivers

2017-03-30 Thread Sekhar Nori
On Wednesday 29 March 2017 09:05 PM, Tejun Heo wrote: > On Fri, Mar 24, 2017 at 04:38:24PM +0100, Bartlomiej Zolnierkiewicz wrote: >> On Thursday, March 23, 2017 07:27:05 PM Sekhar Nori wrote: >>> On Wednesday 22 March 2017 11:50 PM, Bartlomiej Zolnierkiewicz wrote: Hi, This

Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link()

2017-03-30 Thread Adrian Hunter
On 30/03/17 13:23, Richard Weinberger wrote: > Am 30.03.2017 um 11:49 schrieb Richard Weinberger: >> Am 30.03.2017 um 11:32 schrieb Adrian Hunter: diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index 0858213a4e63..0139155045fe 100644 --- a/fs/ubifs/dir.c +++ b/fs/ubifs/dir.c

[PATCH 00/16] Intel FPGA Device Drivers

2017-03-30 Thread Wu Hao
Hi All, Here is a patch-series adding drivers for Intel FPGA devices. The Intel FPGA driver provides interfaces for userspace applications to configure, enumerate, open, and access FPGA accelerators on platforms equipped with Intel(R) FPGA solutions and enables system level management functions

Re: [PATCH 0/2] ARM: am335x-icev2: Add ethernet support

2017-03-30 Thread Roger Quadros
Hi Tony & Dave, On 13/03/17 15:42, Roger Quadros wrote: > Hi, > > This series adds ethernet support to am335x-icev2 board. > > The ethernet PHYs on the board need an explicit GPIO reset pulse > to ensure they bootstrap to the correct mode. Without the > GPIO reset they just don't work. > >

Re: [RFC PATCH] x86_64/mm/boot: Fix kernel_ident_mapping_init() failure for kexec

2017-03-30 Thread Xunlei Pang
On 03/30/2017 at 07:21 PM, Xunlei Pang wrote: > On 03/24/2017 at 08:04 PM, Kirill A. Shutemov wrote: >> On Mon, Mar 20, 2017 at 02:11:31PM +0800, Xunlei Pang wrote: >>> I found that the kdump is broken on linux-4.11.0-rc2+ >> That's actually tip tree or linux-next. The problematic change is not in

Re: [BUG nohz]: wrong user and system time accounting

2017-03-30 Thread Frederic Weisbecker
On Thu, Mar 30, 2017 at 06:27:31AM +0200, Mike Galbraith wrote: > On Wed, 2017-03-29 at 16:08 -0400, Rik van Riel wrote: > > > A random offset, or better yet a somewhat randomized > > tick length to make sure that simultaneous ticks are > > fairly rare and the vtime sampling does not end up > >

Re: [PATCH v1 1/2] auxdisplay: Move panel.c to drivers/auxdisplay folder

2017-03-30 Thread Willy TARREAU
On Thu, Mar 30, 2017 at 02:27:06PM +0300, Andy Shevchenko wrote: > On Mon, 2017-03-27 at 11:01 +0200, Willy TARREAU wrote: > > On Mon, Mar 27, 2017 at 10:26:07AM +0200, Geert Uytterhoeven wrote: > > > On Mon, Mar 27, 2017 at 10:11 AM, Willy TARREAU > > m> wrote: > > > > On

Re: [PATCH v2] net: netfilter: remove unused variable

2017-03-30 Thread Simon Horman
On Wed, Mar 29, 2017 at 08:27:52PM +0530, Arushi Singhal wrote: > This patch uses the following coccinelle script to remove > a variable that was simply used to store the return > value of a function call before returning it: > > @@ > identifier len,f; > @@ > > -int len; > ... when != len >

Re: [BUG nohz]: wrong user and system time accounting

2017-03-30 Thread Mike Galbraith
On Thu, 2017-03-30 at 14:40 +0200, Frederic Weisbecker wrote: > On Thu, Mar 30, 2017 at 09:58:44AM +0800, Wanpeng Li wrote: > > There is such a feature skew_tick currently, refer to commit > > 5307c9556bc (tick: add tick skew boot option), w/ skew_tick=1 boot > > parameter, the bug disappear,

[PATCH] dpaa_eth: use AVOIDBLOCK for Tx confirmation queues

2017-03-30 Thread Madalin Bucur
The AVOIDBLOCK flag determines the Tx confirmation queues processing to be redirected to any available CPU when the current one is slow in processing them. This may result in a higher Tx confirmation interrupt count but may reduce pressure on a certain CPU that with the previous setting would

Re: [PATCH net-next 2/9] net: dsa: mv88e6xxx: use 4-bit port for PVT data

2017-03-30 Thread Andrew Lunn
On Wed, Mar 29, 2017 at 04:30:13PM -0400, Vivien Didelot wrote: > The Cross-chip Port Based VLAN Table (PVT) supports two indexing modes, > one using 5-bit for device and 4-bit for port, the other using 4-bit for > device and 5-bit for port, configured via the Global 2 Misc register. > > Only 4

Re: [PATCH 3/3] [media] cobalt: Use v4l2_calc_timeperframe helper

2017-03-30 Thread Hans Verkuil
Hi Jose, On 21/03/17 12:49, Jose Abreu wrote: > Currently, cobalt driver always returns 60fps in g_parm. > This patch uses the new v4l2_calc_timeperframe helper to > calculate the time per frame value. I can verify that g_parm works, so: Tested-by: Hans Verkuil

[PATCH 2/3] pinctrl: Add pincontrol driver for ARTPEC-6 SoC

2017-03-30 Thread Jesper Nilsson
Add pinctrl driver support for the Axis ARTPEC-6 SoC. There are only some pins that actually have different functions available, but all can control bias (pull-up/-down) and drive strength. Code originally written by Chris Paterson. Signed-off-by: Jesper Nilsson ---

  1   2   3   4   5   6   7   8   9   10   >