[PATCH v4]Input: Add driver for Goodix GTx5 series touchscreen

2017-06-23 Thread Wang Yafei
This driver is for Goodix GTx5 series touchscreen controllers such as GT8589, GT7589. This driver designed with hierarchical structure, for that can be modified to support subsequent controllers easily. Some zones of the touchscreen can be set to buttons(according to the hardware). That is why it

Re: [PATCH v1 1/6] DT bindings: add bindings for ov965x camera module

2017-06-23 Thread H. Nikolaus Schaller
Hi Laurent, > Am 23.06.2017 um 13:58 schrieb Laurent Pinchart > : > > Hi Nikolaus, > > On Friday 23 Jun 2017 12:59:24 H. Nikolaus Schaller wrote: >> Am 23.06.2017 um 12:46 schrieb Andreas Färber : >>> Am 23.06.2017 um 12:25 schrieb H.

Re: [tip:x86/mm] x86/mmap, ASLR: Do not treat unlimited-stack tasks as legacy mmap

2017-06-23 Thread Oleg Nesterov
On 06/23, tip-bot for Michal Hocko wrote: > > We added a heuristics to treat applications with RLIMIT_STACK configured > to unlimited as legacy. This means: To me this also means a minor security problem. The comment above PER_CLEAR_ON_SETID says "must be cleared upon setuid or setgid exec", but

Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v23

2017-06-23 Thread Bob Liu
Hi, On Thu, May 25, 2017 at 1:20 AM, Jérôme Glisse wrote: > Patchset is on top of git://git.cmpxchg.org/linux-mmotm.git so i > test same kernel as kbuild system, git branch: > > https://cgit.freedesktop.org/~glisse/linux/log/?h=hmm-v23 > > Change since v22 is use of static

Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v23

2017-06-23 Thread Jerome Glisse
On Fri, Jun 23, 2017 at 11:00:37PM +0800, Bob Liu wrote: > Hi, > > On Thu, May 25, 2017 at 1:20 AM, Jérôme Glisse wrote: > > Patchset is on top of git://git.cmpxchg.org/linux-mmotm.git so i > > test same kernel as kbuild system, git branch: > > > >

Re: Sleeping BUG in khugepaged for i586

2017-06-23 Thread Larry Finger
On 06/23/2017 08:25 AM, Michal Hocko wrote: On Fri 23-06-17 15:13:45, Vlastimil Babka wrote: On 06/23/2017 02:08 PM, Michal Hocko wrote: On Thu 08-06-17 16:48:31, Michal Hocko wrote: On Wed 07-06-17 13:56:01, David Rientjes wrote: I suspect, so cond_resched seems indeed inappropriate on 32b

Re: [RFC PATCH v2] pci: Concurrency issue in NVMe Init through PCIe switch

2017-06-23 Thread Srinath Mannam
Hi Bjorn, On Mon, Jun 19, 2017 at 10:32 PM, Srinath Mannam wrote: > Hi Bjorn, > > Thank you for the feedback. > > On Fri, Jun 16, 2017 at 3:57 AM, Bjorn Helgaas wrote: >> Hi Srinath, >> >> On Tue, May 30, 2017 at 02:38:17PM +0530, Srinath Mannam

Re: [PATCH v3 05/11] x86/mm: Track the TLB's tlb_gen and update the flushing algorithm

2017-06-23 Thread Andy Lutomirski
On Fri, Jun 23, 2017 at 1:42 AM, Borislav Petkov wrote: > On Thu, Jun 22, 2017 at 11:08:38AM -0700, Andy Lutomirski wrote: >> Yes, I agree it's confusing. There really are three numbers. Those >> numbers are: the latest generation, the generation that this CPU has >> caught up

Re: [PATCH V3] tools/testing/selftests/sysctl: Add pre-check to the value of writes_strict

2017-06-23 Thread Shuah Khan
Hi Orson, On 06/22/2017 10:24 PM, Orson Zhai wrote: > Sysctl test will fail in some items if the value of /proc/sys/kernel > /sysctrl_writes_strict is 0 as the default value in kernel older than v4.5. > > Make this test more robust and compatible with older kernels by checking and > update

Re: [PATCH 3/9] regulator: mt6380: Add support for MT6380

2017-06-23 Thread Sean Wang
Hi Mark, appreciate your effort on reviewing those patches we'll make next version following your suggestion, here also adding some comments as inline to explain what thoughts in mind On Tue, 2017-06-06 at 19:22 +0100, Mark Brown wrote: > On Sat, Jun 03, 2017 at 01:55:44AM +0800,

[patch] obsoleted comment in show_map_vma()

2017-06-23 Thread Vasily Averin
After 1be7107 "mm: larger stack guard gap, between vmas" we do not hide stack guard page in /proc//maps Signed-off-by: Vasily Averin diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 520802d..b836fd6 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@

Re: [PATCH 0/3] Enable namespaced file capabilities

2017-06-23 Thread Serge E. Hallyn
Quoting Amir Goldstein (amir7...@gmail.com): > On Thu, Jun 22, 2017 at 9:59 PM, Stefan Berger > wrote: > > This series of patches primary goal is to enable file capabilities > > in user namespaces without affecting the file capabilities that are > > effective on the

Re: [PATCH] Staging : rts5208 : checkpatch.pl fixes

2017-06-23 Thread Joe Perches
On Fri, 2017-06-23 at 15:55 +0200, Simo Koskinen wrote: > Fixed some issues reported by checkpatch.pl script. [] > diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c > index b8177f5..ceef5fc 100644 > --- a/drivers/staging/rts5208/rtsx.c > +++

Re: [PATCH 3/9] regulator: mt6380: Add support for MT6380

2017-06-23 Thread Mark Brown
On Fri, Jun 23, 2017 at 11:56:05PM +0800, Sean Wang wrote: > On Tue, 2017-06-06 at 19:22 +0100, Mark Brown wrote: > > > + return (regval & info->desc.enable_mask) ? > > > + REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; > > This isn't really a get_status() operation - it's just showing the

[PATCH v2] x86/intel_telemetry: Add debugfs entry for S0ix residency

2017-06-23 Thread Rajneesh Bhardwaj
This adds a debugfs consumer for the exported kernel API intel_pmc_read_s0ix_residency. This debugfs entry reads S0ix residency directly from the PMC hardware counters. TEST: - echo freeze > /sys/power/state - Wake the system, read the S0ix residency i.e. cat

Re: [PATCH 0/3] Enable namespaced file capabilities

2017-06-23 Thread Casey Schaufler
On 6/23/2017 9:30 AM, Serge E. Hallyn wrote: > Quoting Casey Schaufler (ca...@schaufler-ca.com): >> On 6/23/2017 9:00 AM, Serge E. Hallyn wrote: >>> Quoting Amir Goldstein (amir7...@gmail.com): On Thu, Jun 22, 2017 at 9:59 PM, Stefan Berger wrote: > This

Re: [PATCH 0/3] Enable namespaced file capabilities

2017-06-23 Thread James Bottomley
On Fri, 2017-06-23 at 11:30 -0500, Serge E. Hallyn wrote: > Quoting Casey Schaufler (ca...@schaufler-ca.com): > > Or maybe just security.ns.capability, taking James' comment into > > account. > > That last one may be suitable as an option, useful for his particular > (somewhat barbaric :) use

[PATCH] dell-wmi-led: Adjust instance of all wmi_evaluate_method calls to 0

2017-06-23 Thread Mario Limonciello
Pali recently noticed that WMI instances are zero indexed. The only reason that these calls all worked properly is because the ASL didn't verify the instance number. Signed-off-by: Louis Davis Signed-off-by: Mario Limonciello ---

Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver

2017-06-23 Thread Oleksij Rempel
On Wed, Jun 21, 2017 at 04:09:26PM -0500, Suman Anna wrote: > Hi Oleksij, > > On 06/19/2017 02:43 AM, Oleksij Rempel wrote: > > Hi, > > > > Thank you for your review! > > > > On 15.06.2017 21:01, Suman Anna wrote: > >> Hi Oleksij, > >> > >> On 06/14/2017 03:48 PM, Oleksij Rempel wrote: > >>>

[PATCH] x86/boot/string: Add missing strchr declaration

2017-06-23 Thread Tommy Nguyen
The Sparse static analyzer emits this warning: symbol 'strchr' was not declared. Should it be static? This patch adds the appropriate extern declaration to string.h to fix the warning. Signed-off-by: Tommy Nguyen --- arch/x86/boot/string.h | 1 + 1 file changed, 1

Re: [PATCH/RFC 9/9] perf record: Add --module-dir option

2017-06-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 23, 2017 at 02:48:27PM +0900, Namhyung Kim escreveu: > Currently perf only searches module binaries on the canonical > directory (/lib/modules/`uname -r`). But sometimes user needs to load > local modules. These cannot be copied to the build-id cache since long > name (i.e. real

Re: [PATCH 01/11] net: phy: Add rockchip phy driver support

2017-06-23 Thread Florian Fainelli
On 06/22/2017 09:41 PM, David Wu wrote: > Support internal ephy currently. > > Signed-off-by: David Wu > --- > drivers/net/phy/Kconfig| 4 ++ > drivers/net/phy/Makefile | 1 + > drivers/net/phy/rockchip.c | 94 > ++ >

[PATCH 2/4] sched: simplify wake_affine for single socket case

2017-06-23 Thread riel
From: Rik van Riel Then this_cpu and prev_cpu are in the same socket, select_idle_sibling will do its thing regardless of the return value of wake_affine. Just return true and don't look at all the other things. Signed-off-by: Rik van Riel ---

[PATCH 4/4] sched,fair: remove effective_load

2017-06-23 Thread riel
From: Rik van Riel The function effective_load was only used by the NUMA balancing code, and not by the regular load balancing code. Now that the NUMA balancing code no longer uses it either, get rid of it. Signed-off-by: Rik van Riel --- kernel/sched/fair.c

[PATCH 0/4] NUMA improvements with task wakeup and load balancing

2017-06-23 Thread riel
With these patches, and Peter Zijlstra's select_idle_sibling scalability improvement, Jirka has seen these performance gains on a 4.11 kernel: NAS shows improvements in range 20-100% SPECjbb2005 shows improvements around 6-8% in the single instance mode SPECjvm2008 - improvements around 10%

[PATCH 1/4] sched,numa: override part of migrate_degrades_locality when idle balancing

2017-06-23 Thread riel
From: Rik van Riel Several tests in the NAS benchmark seem to run a lot slower with NUMA balancing enabled, than with NUMA balancing disabled. The slower run time corresponds with increased idle time. Overriding the final test of migrate_degrades_locality (but still doing the

Re: linux-next: build failure after merge of most trees

2017-06-23 Thread David Miller
From: Date: Fri, 23 Jun 2017 06:46:53 + > I will insert this before Nicholas' series. Thank you.

Re: [PATCH v2] mfd: Add driver for RAVE Supervisory Processor

2017-06-23 Thread Andrey Smirnov
On Tue, Jun 20, 2017 at 1:19 AM, Lee Jones wrote: > On Mon, 12 Jun 2017, Andrey Smirnov wrote: > >> Add a driver for RAVE Supervisory Processor, an MCU implementing >> varoius bits of housekeeping functionality (watchdoging, backlight >> control, LED control, etc) on RAVE

Re: [PATCH v3 10/11] x86/mm: Enable CR4.PCIDE on supported systems

2017-06-23 Thread Andy Lutomirski
On Fri, Jun 23, 2017 at 4:50 AM, Borislav Petkov wrote: > On Tue, Jun 20, 2017 at 10:22:16PM -0700, Andy Lutomirski wrote: >> We can use PCID if the CPU has PCID and PGE and we're not on Xen. >> >> By itself, this has no effect. The next patch will start using >> PCID. >> >> Cc:

[PATCH v2 2/3] crypto: ccp - Introduce the AMD Secure Processor device

2017-06-23 Thread Brijesh Singh
The CCP device is part of the AMD Secure Processor. In order to expand the usage of the AMD Secure Processor, create a framework that allows functional components of the AMD Secure Processor to be initialized and handled appropriately. Signed-off-by: Brijesh Singh ---

[PATCH v2 3/3] crypto: cpp - Abstract interrupt registeration

2017-06-23 Thread Brijesh Singh
The CCP and PSP devices part of AMD Secure Procesor may share the same interrupt. Hence we expand the SP device to register a common interrupt handler and provide functions to CCP and PSP devices to register their interrupt callback which will be invoked upon interrupt. Signed-off-by: Brijesh

[PATCH v2 0/3] Introduce AMD Secure Processor device

2017-06-23 Thread Brijesh Singh
CCP device (drivers/crypto/ccp/ccp.ko) is part of AMD Secure Processor, which is not dedicated solely to crypto. The AMD Secure Processor includes CCP and PSP (Platform Secure Processor) devices. This patch series adds a framework that allows functional component of the AMD Secure Processor to be

Re: [PATCH v2] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Srinivas Pandruvada
On Fri, 2017-06-23 at 15:37 +, mario.limoncie...@dell.com wrote: [...] > > > > +#define ACPI_LPS0_SCREEN_ON4 > > +#define ACPI_LPS0_ENTRY5 > > +#define ACPI_LPS0_EXIT 6 > The spec you shared also defines device constraints (function 1). It > would be very  >

Re: [PATCH/RFC 4/9] perf symbols: Load kernel module symbols ASAP

2017-06-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 23, 2017 at 02:48:22PM +0900, Namhyung Kim escreveu: > When loading kernel symbols from /proc/kallsyms, it might have different > addresses for modules. We should honor the mmap event recorded in a > perf.data so load the module symbols when it sees the event so that it > cannot be

Re: [PATCH 27/27] kernfs, sysfs, cgroup: Support fs_context [ver #5]

2017-06-23 Thread David Howells
Tejun Heo wrote: > > Make kernfs support superblock creation/mount/remount with fs_context. > > > > This requires that sysfs and cgroup, which are built on kernfs, be made to > > support fs_context also. > > Can you please include a brief rationale for doing this and include a

Re: seccomp ptrace selftest failures with 4.4-stable [Was: Re: LTS testing with latest kselftests - some failures]

2017-06-23 Thread Shuah Khan
On 06/22/2017 10:02 PM, Sumit Semwal wrote: > Hi Shuah, > > On 23 June 2017 at 01:53, Shuah Khan wrote: >> Hi Tom, >> >> On 06/22/2017 01:48 PM, Tom Gall wrote: >>> Hi >>> >>> On Thu, Jun 22, 2017 at 2:06 PM, Shuah Khan wrote: On 06/22/2017 11:50 AM,

Re: [PATCH 1/2] gdb/scripts: lx-dmesg: Cast log_buf to void* for addr fetch

2017-06-23 Thread Jan Kiszka
On 2017-06-23 16:20, Leonard Crestez wrote: > In some cases it is possible for the str() conversion here to throw > encoding errors because log_buf might not point to valid ascii. For > example: > > (gdb) python print str(gdb.parse_and_eval("log_buf")) > Traceback (most recent call last): >

Re: [PATCH] selftests: fix memory-hotplug test

2017-06-23 Thread Shuah Khan
Hi Po-Hsu Lin, On 06/18/2017 09:04 PM, Po-Hsu Lin wrote: Please split the typo correction and fixes. Please send a patch for each individual fix. I am seeing several fixes bundled in this one single patch. > Typo correction for hotpluggable_offline_memory() function> Check for > hot-pluggable

[PATCH v2 1/3] crypto: ccp - Use devres interface to allocate PCI/iomap and cleanup

2017-06-23 Thread Brijesh Singh
Update pci and platform files to use devres interface to allocate the PCI and iomap resources. Also add helper functions to consolicate module init, exit and power mangagement code duplication. Signed-off-by: Brijesh Singh --- drivers/crypto/ccp/ccp-dev-v3.c | 8 +++

[PATCH v8 2/3] clk: qcom: Add regmap mux-div clocks support

2017-06-23 Thread Georgi Djakov
Add support for hardware that can switch both parent clock and divider at the same time. This avoids generating intermediate frequencies from either the old parent clock and new divider or new parent clock and old divider combinations. Signed-off-by: Georgi Djakov ---

[PATCH v8 3/3] mailbox: qcom: Add support for APCS clock controller

2017-06-23 Thread Georgi Djakov
Add a driver for the APCS clock controller. It is part of the APCS hardware block, which among other things implements also a combined mux and half integer divider functionality. It can choose between a fixed-rate clock or the dedicated APCS (A53) PLL. The source and the divider can be set both at

Re: [PATCH 0/3] Enable namespaced file capabilities

2017-06-23 Thread Serge E. Hallyn
Quoting Casey Schaufler (ca...@schaufler-ca.com): > On 6/23/2017 9:00 AM, Serge E. Hallyn wrote: > > Quoting Amir Goldstein (amir7...@gmail.com): > >> On Thu, Jun 22, 2017 at 9:59 PM, Stefan Berger > >> wrote: > >>> This series of patches primary goal is to enable file

Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-23 Thread Alex Williamson
On Fri, 23 Jun 2017 10:31:28 +0200 Gerd Hoffmann wrote: > On Fri, 2017-06-23 at 15:49 +0800, Zhi Wang wrote: > > Hi: > >  Thanks for the discussions! If the userspace application has  > > already maintained a LRU list, it looks like we don't need > > generation  > >

Re: [PATCH/RFC 5/9] perf symbols: Fixup the end address of kernel map properly

2017-06-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 23, 2017 at 02:48:23PM +0900, Namhyung Kim escreveu: > When /proc/kallsyms is used for kernel address, addresses in module can > be changed when the module is reloaded. So if one did perf record with > some module and then for some reason reload the module. Then perf > report might

Re: [PATCH v2 07/11] drm: sun4i: add support for the TV encoder in H3 SoC

2017-06-23 Thread Maxime Ripard
On Tue, Jun 13, 2017 at 05:51:42PM +0800, Icenowy Zheng wrote: > > > 于 2017年6月13日 GMT+08:00 下午3:44:32, Maxime Ripard > 写到: > >On Sun, Jun 11, 2017 at 02:43:42PM +0800, icen...@aosc.io wrote: > >> 在 2017-06-07 17:38,Maxime Ripard 写道: > >> > On Mon, Jun 05, 2017

Re: [PATCH v2 1/3] input: sun4i-a10-lradc-keys: Add support for A83T

2017-06-23 Thread Maxime Ripard
On Thu, Jun 22, 2017 at 12:50:47PM +0800, Ziping Chen wrote: > 2017-06-22 4:35 GMT+08:00 Maxime Ripard : > > > On Tue, Jun 20, 2017 at 09:44:43PM +0800, Ziping Chen wrote: > > > From: Ziping Chen > > > > > > Allwinner A83T SoC has a low

Re: [PATCH 2/2] drm/stm: Fixup for "drm/stm: ltdc: Add panel-bridge support"

2017-06-23 Thread Philippe CORNU
On 06/22/2017 07:56 PM, Eric Anholt wrote: > Signed-off-by: Eric Anholt > --- > > This fixup would be squashed into patch 1 of your series. Hi Eric, and many thanks for the two patches, I will follow your suggestion for the v5 serie. By the way, do you have more comments on

Re: [PATCH v1 1/6] DT bindings: add bindings for ov965x camera module

2017-06-23 Thread Andreas Färber
Am 23.06.2017 um 16:53 schrieb H. Nikolaus Schaller: > Hi Laurent, > >> Am 23.06.2017 um 13:58 schrieb Laurent Pinchart >> : >> >> Hi Nikolaus, >> >> On Friday 23 Jun 2017 12:59:24 H. Nikolaus Schaller wrote: >>> Am 23.06.2017 um 12:46 schrieb Andreas Färber

Re: [kernel-hardening] [PATCH 2/4] arm64: Reduce ELF_ET_DYN_BASE

2017-06-23 Thread Ard Biesheuvel
On 23 June 2017 at 14:02, Kees Cook wrote: > On Fri, Jun 23, 2017 at 6:52 AM, Kees Cook wrote: >> On Thu, Jun 22, 2017 at 11:57 PM, Ard Biesheuvel >> wrote: >>> Hi Kees, >>> >>> On 22 June 2017 at 18:06, Kees Cook

[PATCH v3] clocksource/drivers/tcb_clksrc: make IO endian agnostic

2017-06-23 Thread Alexandre Belloni
Now that AVR32 is gone, we can use the proper IO accessors that are correctly handling endianness. Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre --- Changes in v3: - rebased on top of tip/timers/core - Added

[PATCH] writeback: Simplify wb_stat_sum

2017-06-23 Thread Nikolay Borisov
wb_stat_sum disables interrupts and calls __wb_stat_sum which eventually calls __percpu_counter_sum. However, the percpu routine is already irq-safe. Simplify the code a bit by making wb_stat_sum directly call percpu_counter_sum_positive and not disable interrupts. Also remove the now-uneeded

Re: [PATCH kernel 0/3 REPOST] vfio-pci: Add support for mmapping MSI-X table

2017-06-23 Thread Alex Williamson
On Fri, 23 Jun 2017 15:06:37 +1000 Alexey Kardashevskiy wrote: > On 23/06/17 07:11, Alex Williamson wrote: > > On Thu, 15 Jun 2017 15:48:42 +1000 > > Alexey Kardashevskiy wrote: > > > >> Here is a patchset which Yongji was working on before > >> leaving IBM

[ANNOUNCE] libgpiod v0.3

2017-06-23 Thread Bartosz Golaszewski
libgpiod v0.3 has been released and is available from github[1]. This will be the last release in the 0.x series as I now want to introduce backwards-incompatible changes in the API that will fix certain bad design issues. New features: - gpiomon can now watch multiple lines at the same time and

[PATCH 1/1] spi: atmel: fix corrupted data issue on SAM9 family SoCs

2017-06-23 Thread Cyrille Pitchen
This patch disables the use of the DMA for data transfer and forces the use of PIO transfers instead as a quick fixup to solve the cache aliasing issue on ARM9 based cores, which embeds a VIVT data cache. Indeed in the case of VIVT data caches, it is not safe to call dma_map_*() functions to map

Re: [PATCH v3] selftests: lib: Skip tests on missing test modules

2017-06-23 Thread Shuah Khan
Hi Sumit, On 06/19/2017 10:48 PM, Sumit Semwal wrote: > With older kernels, printf.sh and bitmap.sh fail because they can't find > the respective test modules they are looking for. > > Use modprobe dry run to check for missing test_XXX module. Error out with > the same error code as

Re: [PATCH V2] kernel/watchdog: fix spurious hard lockups

2017-06-23 Thread Don Zickus
On Fri, Jun 23, 2017 at 10:01:55AM +0200, Thomas Gleixner wrote: > On Thu, 22 Jun 2017, Don Zickus wrote: > > On Wed, Jun 21, 2017 at 11:53:57PM +0200, Thomas Gleixner wrote: > > > On Wed, 21 Jun 2017, kan.li...@intel.com wrote: > > > > We now have more and more systems where the Turbo range is

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-23 Thread Luis R. Rodriguez
On Wed, Jun 21, 2017 at 09:49:35AM +0900, AKASHI Takahiro wrote: > On Tue, Jun 20, 2017 at 07:22:19PM +0200, Luis R. Rodriguez wrote: > > On Tue, Jun 20, 2017 at 09:27:45AM -0700, Vikram Mulukutla wrote: > > > > > > perhaps a light > > > internal rework inside firmware_class might be more

Re: [PATCH] qla2xxx: Protect access to qpair members with qpair->qp_lock (fwd)

2017-06-23 Thread Julia Lawall
tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Johannes-Thumshirn/qla2xxx-Protect-access-to-qpair-members-with-qpair-qp_lock/20170623-123844 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next :: bra

Re: WARN_ON_ONCE() in process_one_work()?

2017-06-23 Thread Paul E. McKenney
On Wed, Jun 21, 2017 at 08:30:35AM -0700, Paul E. McKenney wrote: > On Tue, Jun 20, 2017 at 09:45:23AM -0700, Paul E. McKenney wrote: > > On Sun, Jun 18, 2017 at 06:40:00AM -0400, Tejun Heo wrote: > > > Hello, > > > > > > On Sat, Jun 17, 2017 at 10:31:05AM -0700, Paul E. McKenney wrote: > > > >

[PATCH 3/4] sched,numa: implement numa node level wake_affine

2017-06-23 Thread riel
From: Rik van Riel Since select_idle_sibling can place a task anywhere on a socket, comparing loads between individual CPU cores makes no real sense for deciding whether to do an affine wakeup across sockets, either. Instead, compare the load between the sockets in a similar

Re: [PATCH 0/3] Enable namespaced file capabilities

2017-06-23 Thread Serge E. Hallyn
Quoting Casey Schaufler (ca...@schaufler-ca.com): > On 6/23/2017 9:30 AM, Serge E. Hallyn wrote: > > Quoting Casey Schaufler (ca...@schaufler-ca.com): > >> Or maybe just security.ns.capability, taking James' comment into account. > > That last one may be suitable as an option, useful for his

Re: [PATCH 0/5] Last bits for initial 5-level paging enabling

2017-06-23 Thread Kirill A. Shutemov
On Fri, Jun 23, 2017 at 11:06:01AM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > As Ingo requested I've split and updated last two patches for my previous > > patchset. > > > > Please review and consider applying. > > > > Kirill A. Shutemov

[PATCH][ext4-next] ext4: ensure error return ret is zero on successful return

2017-06-23 Thread Colin King
From: Colin Ian King The error return ret is not set on a successful return path and so it returns a garbage value. Ensure it is is set to zero on a successful return. Detected by CoverityScan, CID#1446616 ("Uninitialized scalar variable") Fixes: 3499c0fb822d ("quota:

Re: [PATCH v4 1/4] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-23 Thread Mark Rutland
Hi, As a heads-up, it looks like something is mangling these patches. I see that the @@ lines in patches are line-wrapped, which from git am's PoV means the patches are corrupt. On Wed, Jun 21, 2017 at 06:39:24PM +0300, Alexey Budankov wrote: > diff --git a/kernel/events/core.c

Re: [PATCH v1 1/6] DT bindings: add bindings for ov965x camera module

2017-06-23 Thread H. Nikolaus Schaller
Hi, > Am 23.06.2017 um 16:57 schrieb Andreas Färber : > > Am 23.06.2017 um 16:53 schrieb H. Nikolaus Schaller: >> Hi Laurent, >> >>> Am 23.06.2017 um 13:58 schrieb Laurent Pinchart >>> : >>> >>> Hi Nikolaus, >>> >>> On Friday 23 Jun 2017

Re: [PATCH v3 06/11] x86/mm: Rework lazy TLB mode and TLB freshness tracking

2017-06-23 Thread Andy Lutomirski
On Fri, Jun 23, 2017 at 6:34 AM, Boris Ostrovsky wrote: > >> diff --git a/arch/x86/xen/mmu_pv.c b/arch/x86/xen/mmu_pv.c >> index 1d7a7213a310..f5df56fb8b5c 100644 >> --- a/arch/x86/xen/mmu_pv.c >> +++ b/arch/x86/xen/mmu_pv.c >> @@ -1005,8 +1005,7 @@ static void

Re: [PATCH 1/1] spi: atmel: fix corrupted data issue on SAM9 family SoCs

2017-06-23 Thread Nicolas Ferre
On 23/06/2017 at 17:39, Cyrille Pitchen wrote: > This patch disables the use of the DMA for data transfer and forces the > use of PIO transfers instead as a quick fixup to solve the cache aliasing > issue on ARM9 based cores, which embeds a VIVT data cache. > > Indeed in the case of VIVT data

Re: [PATCH 2/2] scripts/gdb: lx-dmesg: Use errors=replace for decoding

2017-06-23 Thread Jan Kiszka
On 2017-06-23 16:20, Leonard Crestez wrote: > It is never desirable lx-dmesg to fail on string decoding errors, not > even if the log buffer is corrupt. > > Signed-off-by: Leonard Crestez > --- > scripts/gdb/linux/dmesg.py | 4 ++-- > 1 file changed, 2 insertions(+), 2

[PATCH 1/3] arm64: dts: rockchip: Update CPU regulator voltage ranges for Gru

2017-06-23 Thread Brian Norris
From: Matthias Kaehlcke Gru derivatives besides Kevin have slightly different voltage ranges for their CPU regulators. Let's keep the base Gru file accurate and let Kevin override. Signed-off-by: Matthias Kaehlcke Signed-off-by: Brian Norris

[PATCH 2/3] arm64: dts: rockchip: Use vctrl regulators for dynamic CPU voltages on Gru/Kevin

2017-06-23 Thread Brian Norris
From: Matthias Kaehlcke The Gru device tree currently contains entries for the regulators ppvar_bigcpu, ppvar_litcpu, ppvar_gpu and ppvar_centerlogic; however, the regulators have not been made, due to the lack of binding and driver support for keeping the over-voltage

[PATCH 3/3] arm64: dts: rockchip: set rk3399 dynamic CPU power coefficients

2017-06-23 Thread Brian Norris
Provide the dynamic power coefficient of the big and little CPU clusters. These numbers are currently in use on the Samsung Chromebook Plus ("Kevin"). The power allocator thermal governor doesn't know how to do anything if it doesn't get power parameters from its cooling devices (in this case,

[PATCH 1/2] gdb/scripts: lx-dmesg: Cast log_buf to void* for addr fetch

2017-06-23 Thread Leonard Crestez
In some cases it is possible for the str() conversion here to throw encoding errors because log_buf might not point to valid ascii. For example: (gdb) python print str(gdb.parse_and_eval("log_buf")) Traceback (most recent call last): File "", line 1, in UnicodeEncodeError: 'ascii' codec can't

Re: [PATCH v2 1/3] input: sun4i-a10-lradc-keys: Add support for A83T

2017-06-23 Thread Ziping Chen
2017-06-23 22:46 GMT+08:00 Maxime Ripard : > On Thu, Jun 22, 2017 at 12:50:47PM +0800, Ziping Chen wrote: >> 2017-06-22 4:35 GMT+08:00 Maxime Ripard : >> >> > On Tue, Jun 20, 2017 at 09:44:43PM +0800, Ziping Chen wrote: >> > >

Re: [PATCH 0/3] properly account for stack randomization and guard gap

2017-06-23 Thread Rik van Riel
On Fri, 2017-06-23 at 10:35 +0200, Ingo Molnar wrote: > * r...@redhat.com wrote: > > > When RLIMIT_STACK is larger than the minimum gap enforced by > > mmap_base(), it is possible for the kernel to place the mmap > > area where the stack wants to grow, resulting in the stack > >

[PATCH] KVM: arm/arm64: Handle hva aging while destroying the vm

2017-06-23 Thread Alexander Graf
If we want to age an HVA while the VM is getting destroyed, we have a tiny race window during which we may end up dereferencing an invalid kvm->arch.pgd value. CPU0 CPU1 kvm_age_hva() kvm_mmu_notifier_release()

RE: [PATCH v2] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Mario.Limonciello
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Friday, June 23, 2017 8:15 AM > To: Linux ACPI > Cc: Linux PM ; Andy Shevchenko > ; Darren Hart

Applied "spi: atmel: fix corrupted data issue on SAM9 family SoCs" to the spi tree

2017-06-23 Thread Mark Brown
The patch spi: atmel: fix corrupted data issue on SAM9 family SoCs has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

[PATCH v8 0/3] Add support for Qualcomm A53 CPU clock

2017-06-23 Thread Georgi Djakov
This patchset adds support for the A53 CPU clock and allows scaling of the CPU frequency on msm8916 based platforms. Changes since v7 (https://lkml.org/lkml/2016/10/31/296) * Add the APCS clock controller to the APCS driver to expose both the mailbox and clock controller functionality as

[PATCH v8 1/3] clk: qcom: Add A53 PLL support

2017-06-23 Thread Georgi Djakov
The CPUs on Qualcomm MSM8916-based platforms are clocked by two PLLs, a primary (A53) CPU PLL and a secondary fixed-rate GPLL0. These sources are connected to a mux and half-integer divider, which is feeding the CPU cores. This patch adds support for the primary CPU PLL which generates the higher

Re: [PATCH v3 4/4] kmod: throttle kmod thread limit

2017-06-23 Thread Luis R. Rodriguez
On Thu, Jun 22, 2017 at 05:19:36PM +0200, Petr Mladek wrote: > On Fri 2017-05-26 14:12:28, Luis R. Rodriguez wrote: > > --- a/kernel/kmod.c > > +++ b/kernel/kmod.c > > @@ -163,14 +163,11 @@ int __request_module(bool wait, const char *fmt, ...) > > return ret; > > > > if

Re: [PATCH 0/3] Enable namespaced file capabilities

2017-06-23 Thread Casey Schaufler
On 6/23/2017 9:00 AM, Serge E. Hallyn wrote: > Quoting Amir Goldstein (amir7...@gmail.com): >> On Thu, Jun 22, 2017 at 9:59 PM, Stefan Berger >> wrote: >>> This series of patches primary goal is to enable file capabilities >>> in user namespaces without affecting the

[PATCH] x86: Remove unnecessary return from void function

2017-06-23 Thread Anton Vasilyev
The patch removes unnecessary return from void function. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev --- arch/x86/include/asm/paravirt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 3/9] regulator: mt6380: Add support for MT6380

2017-06-23 Thread Sean Wang
On Fri, 2017-06-23 at 17:14 +0100, Mark Brown wrote: > On Fri, Jun 23, 2017 at 11:56:05PM +0800, Sean Wang wrote: > > On Tue, 2017-06-06 at 19:22 +0100, Mark Brown wrote: > > > > > + return (regval & info->desc.enable_mask) ? > > > > + REGULATOR_STATUS_ON :

Re: [RFC PATCH 0/4] Support for metadata specific accounting

2017-06-23 Thread David Sterba
On Thu, Jun 22, 2017 at 11:08:49AM -0400, Josef Bacik wrote: > On Thu, Jun 22, 2017 at 05:23:20PM +0300, Nikolay Borisov wrote: > > This series is a report of Josef's original posting [1]. I've included > > fine-grained changelog in each patch with my changes. Basically, I've > > forward > >

Re: New NTB API Issue

2017-06-23 Thread Logan Gunthorpe
On 23/06/17 07:18 AM, Allen Hubbe wrote: > By "remote" do you mean the source or destination of a write? Look at how these calls are used in ntb_transport and ntb_perf: They both call ntb_peer_mw_get_addr to get the size of the BAR. The size is sent via spads to the other side. The other side

Re: [PATCH][ext4-next] ext4: ensure error return ret is zero on successful return

2017-06-23 Thread Tahsin Erdogan
On Fri, Jun 23, 2017 at 7:58 AM, Colin King wrote: > The error return ret is not set on a successful return path and > so it returns a garbage value. Ensure it is is set to zero on > a successful return. Thanks for catching this bug! Reviewed-by: Tahsin Erdogan

Re: [PATCH 18/20] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2017-06-23 Thread James Morse
Hi Yury, On 04/06/17 13:00, Yury Norov wrote: > ILP32 has context-related structures different from both aarch32 and > aarch64/lp64. In this patch compat_arch_ptrace() renamed to > compat_a32_ptrace(), and compat_arch_ptrace() only makes choice between > compat_a32_ptrace() and new

[PATCH v1] xen/input: add multi-touch support

2017-06-23 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Extend xen_kbdfront to provide multi-touch support to unprivileged domains. Signed-off-by: Oleksandr Andrushchenko --- Changes since initial: - use input_set_capability instead of setting flags

linux-next: BUG: Bad page state in process ip6tables-save pfn:1499f4

2017-06-23 Thread Andrei Vagin
Hello, We run CRIU tests for linux-next and today they triggered a kernel bug. I want to mention that this kernel is built with kasan. This bug was triggered in travis-ci. I can't reproduce it on my host. Without kasan, kernel crashed but it is impossible to get a kernel log for this case. [

[PATCH] nvme: explicitly disable APST on quirked devices

2017-06-23 Thread Kai-Heng Feng
A user reports APST is enabled, even when the NVMe is quirked or with option "default_ps_max_latency_us=0". The current logic will not set APST if the device is quirked. But the NVMe in question will enable APST automatically. Separate the logic "apst is supported" and "to enable apst", so we

[PATCH] RAS: Fix an error checking test in 'create_debugfs_nodes()'

2017-06-23 Thread Christophe JAILLET
'decay' is kwown to be not NULL at this point. 'count' should be tested instead. Fixes: 011d82611172 ("RAS: Add a Corrected Errors Collector") Signed-off-by: Christophe JAILLET --- drivers/ras/cec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] compiler, clang: Add always_inline attribute to inline

2017-06-23 Thread Sodagudi Prasad
On 2017-06-22 02:43, Mark Rutland wrote: On Tue, Jun 20, 2017 at 04:12:32PM -0700, David Rientjes wrote: On Tue, 20 Jun 2017, Mark Rutland wrote: > As with my reply to David, my preference would be that we: > > 1) Align compiler-clang.h with the compiler-gcc.h inlining behaviour, so >that

RE: linux-next: build failure after merge of most trees

2017-06-23 Thread yamada.masahiro
Hi Stephen, > -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Friday, June 23, 2017 3:43 PM > To: David Miller > Cc: npig...@gmail.com; linux-n...@vger.kernel.org; > linux-kernel@vger.kernel.org; Yamada, Masahiro/山田 真弘 >

[PATCH] crypto: brcm - Fix SHA3-512 algorithm failure

2017-06-23 Thread Raveendra Padasalagi
In Broadcom SPU driver, due to missing break statement in spu2_hash_xlate() while mapping SPU2 equivalent SHA3-512 value, -EINVAL is chosen and hence leading to failure of SHA3-512 algorithm. This patch fixes the same. Signed-off-by: Raveendra Padasalagi

Re: [PATCH v9 3/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126

2017-06-23 Thread Geetha Akula
On Thu, Jun 22, 2017 at 11:52 PM, Will Deacon wrote: > Hi Geetha, > > On Thu, Jun 22, 2017 at 05:35:38PM +0530, Geetha sowjanya wrote: >> From: Geetha Sowjanya >> >> Cavium ThunderX2 SMMU doesn't support MSI and also doesn't have unique irq

[PATCH v2] f2fs: introduce reserved_blocks in sysfs

2017-06-23 Thread Chao Yu
In this patch, we add a new sysfs interface, with it, we can control number of reserved blocks in system which could not be used by user, it enable f2fs to let user to configure for adjusting over-provision ratio dynamically instead of changing it by mkfs. So we can expect it will help to reserve

RE: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent > systems > > From: Rafael J. Wysocki > > Some recent Dell laptops, including the XPS13 model numbers 9360 and > 9365,

Re: linux-next: build failure after merge of most trees

2017-06-23 Thread Stephen Rothwell
Hi all, On Thu, 22 Jun 2017 10:56:48 -0400 (EDT) David Miller wrote: > > Feel free to merge it into your series: > > > sparc64: Use indirect calls in hamming weight stubs. > > Otherwise, depending upon link order, the branch relocation > limits could

[PATCH v9 3/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126

2017-06-23 Thread Geetha sowjanya
From: Geetha Sowjanya Cavium ThunderX2 SMMU doesn't support MSI and also doesn't have unique irq lines for gerror, eventq and cmdq-sync. New named irq "combined" is set as a errata workaround, which allows to share the irq line by register single irq handler for

[PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group

2017-06-23 Thread Arvind Yadav
File size before: textdata bss dec hex filename 11058 816 24 118982e7a drivers/staging/unisys/visorbus/visorchipset.o File size After adding 'const': textdata bss dec hex filename 11122 752 24 118982e7a

  1   2   3   4   5   6   7   8   9   10   >