Re: [PATCH] capabilities: audit capability use

2016-07-11 Thread Tejun Heo
Hello, On Mon, Jul 11, 2016 at 02:14:31PM +0300, Topi Miettinen wrote: > [ 28.443674] audit: type=1327 audit(1468234333.144:520): > proctitle=6D6B6E6F64002F6465762F7A5F343639006300310032 > [ 28.465888] audit: type=1330 audit(1468234333.144:520): > cap_used=0800 > [ 28.482080] a

Re: [PATCH 14/14] PCI: xgene: make it explicitly non-modular

2016-07-11 Thread Duc Dang
On Sat, Jul 9, 2016 at 16:15 Paul Gortmaker wrote: > > [Re: [PATCH 14/14] PCI: xgene: make it explicitly non-modular] On 07/07/2016 > (Thu 15:42) Duc Dang wrote: > > > On Thu, Jul 7, 2016 at 3:35 PM, Tanmay Inamdar wrote: > > > > > > > > > On Sat, Jul 2, 2016 at 4:13 PM, Paul Gortmaker > > > wr

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-11 Thread James Simmons
> On Sun, Jul 10, 2016 at 07:14:18PM +0100, James Simmons wrote: > > > [ 111.210818] [] kiblnd_send+0x51d/0x9e0 [ko2iblnd] > > Mea culpa - in kiblnd_send() this > if (payload_kiov) > iov_iter_bvec(&from, ITER_BVEC | WRITE, > payload_kiov,

[PATCH] staging: lustre: o2iblnd: iov fixes for kiblnd_send

2016-07-11 Thread James Simmons
With the move to iov_iter handling two issues merged for the ko2iblnd driver. The first fix address a simple typo of the wrong flag being used with iov_iter_kvec. The second fix adds the payload offset to the payload size. Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/klnds/o2ibln

Re: [PATCH -next] bpf: make inode code explicitly non-modular

2016-07-11 Thread Daniel Borkmann
On 07/11/2016 06:51 PM, Paul Gortmaker wrote: The Kconfig currently controlling compilation of this code is: init/Kconfig:config BPF_SYSCALL init/Kconfig: bool "Enable bpf() system call" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of m

[PATCH v2 2/7] lib/dlock-list: Add __percpu modifier for parameters

2016-07-11 Thread Waiman Long
From: Boqun Feng Add __percpu modifier properly to help: 1. Differ pointers to actual structures with those to percpu structures, which could improve readability. 2. Prevent sparse from complaining about "different address spaces" Signed-off-by: Boqun Feng Signed-off-by: Wai

[PATCH v2 1/7] lib/dlock-list: Distributed and lock-protected lists

2016-07-11 Thread Waiman Long
Linked list is used everywhere in the Linux kernel. However, if many threads are trying to add or delete entries into the same linked list, it can create a performance bottleneck. This patch introduces a new list APIs that provide a set of distributed lists (one per CPU), each of which is protecte

[RFC PATCH v2 6/7] lib/persubnode: Introducing a simple per-subnode APIs

2016-07-11 Thread Waiman Long
The percpu APIs are extensively used in the Linux kernel to reduce cacheline contention and improve performance. For some use cases, the percpu APIs may be too fine-grain for distributed resources whereas a per-node based allocation may be too coarse as we can have dozens of CPUs in a NUMA node in

[PATCH v2 0/7] vfs: Use dlock list for SB's s_inodes list

2016-07-11 Thread Waiman Long
v1->v2: - Add a set of simple per-subnode APIs that is between percpu and per-node in granularity. - Make dlock list to use the per-subnode APIs so as to reduce the total number of separate linked list that needs to be managed and iterated. - There is no change in patches 1-5. This is

[RFC PATCH v2 7/7] lib/dlock-list: Use the per-subnode APIs for managing lists

2016-07-11 Thread Waiman Long
This patch modifies the dlock-list to use the per-subnode APIs to manage the distributed lists. As a result, the number of lists that need to be iterated in dlock_list_iterate() will be reduced at least by half making the iteration a bit faster. Signed-off-by: Waiman Long --- include/linux/dlock

[PATCH v2 3/7] fsnotify: Simplify inode iteration on umount

2016-07-11 Thread Waiman Long
From: Jan Kara fsnotify_unmount_inodes() played complex tricks to pin next inode in the sb->s_inodes list when iterating over all inodes. If we switch to keeping current inode pinned somewhat longer, we can make the code much simpler and standard. Signed-off-by: Jan Kara Signed-off-by: Waiman L

[PATCH v2 5/7] vfs: Use dlock list for superblock's inode list

2016-07-11 Thread Waiman Long
When many threads are trying to add or delete inode to or from a superblock's s_inodes list, spinlock contention on the list can become a performance bottleneck. This patch changes the s_inodes field to become a dlock list which is a distributed set of lists with per-list spinlocks. As a result,

[PATCH v2 4/7] vfs: Remove unnecessary list_for_each_entry_safe() variants

2016-07-11 Thread Waiman Long
From: Jan Kara evict_inodes() and invalidate_inodes() use list_for_each_entry_safe() to iterate sb->s_inodes list. However, since we use i_lru list entry for our local temporary list of inodes to destroy, the inode is guaranteed to stay in sb->s_inodes list while we hold sb->s_inode_list_lock. So

Re: [RESEND PATCH 1/5] lib/dlock-list: Distributed and lock-protected lists

2016-07-11 Thread Waiman Long
On 06/07/2016 04:13 PM, Andi Kleen wrote: On Tue, Jun 07, 2016 at 03:35:51PM -0400, Waiman Long wrote: Linked list is used everywhere in the Linux kernel. However, if many threads are trying to add or delete entries into the same linked list, it can create a performance bottleneck. This patch i

[tip:tmp.smp/hotplug 32/61] arch/x86/kvm/x86.c:5665:15: warning: unused variable 'cpu'

2016-07-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.smp/hotplug head: b0cafca43cf443e8134f60b19bc1efe4ddceb76f commit: 0579587ed3c87adbdbc6cf77daa7accc35871982 [32/61] KVM/x86: Remove superfluous SMP function call config: x86_64-randconfig-r0-07120052 (attached as .config) c

Re: bug in memcg oom-killer results in a hung syscall in another process in the same cgroup

2016-07-11 Thread Shayan Pooya
> > Could you post the stack trace of the hung oom victim? Also could you > post the full kernel log? Here is the stack of the process that lives (it is *not* the oom-victim) in a run with 100 processes and *without* strace: # cat /proc/7688/stack [] futex_wait_queue_me+0xc2/0x120 [] futex_wait+0

Re: [RFC PATCH 0/3] doc-rst: customize HTML (RTD) theme

2016-07-11 Thread Markus Heiser
Am 10.07.2016 um 12:06 schrieb Mauro Carvalho Chehab : > Em Sat, 9 Jul 2016 23:22:22 -0600 > Jonathan Corbet escreveu: > >> On Tue, 5 Jul 2016 14:55:09 -0300 >> Mauro Carvalho Chehab wrote: >> >>> I hope you don't mind. I'm merging those three patches on my tree >>> (for now, they're on an ex

Re: [PATCH v2 0/4] implement vcpu preempted check

2016-07-11 Thread Waiman Long
On 07/06/2016 02:52 AM, Peter Zijlstra wrote: On Tue, Jun 28, 2016 at 10:43:07AM -0400, Pan Xinhui wrote: change fomr v1: a simplier definition of default vcpu_is_preempted skip mahcine type check on ppc, and add config. remove dedicated macro. add one patch to drop overl

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-11 Thread Emmanuel Grumbach
On Mon, Jul 11, 2016 at 6:18 PM, Prarit Bhargava wrote: > > Didn't get any feedback or review comments on this patch. Resending ... > > P. This change is obviously completely broken. It simply disables the registration to thermal zone core. > > ---8<--- > > The iwlwifi driver implements a therm

Re: [PATCH 2/2] mm: refuse wrapped vm_brk requests

2016-07-11 Thread Kees Cook
On Mon, Jul 11, 2016 at 8:28 AM, Oleg Nesterov wrote: > I think both patches are fine, just a question. > > On 07/08, Kees Cook wrote: >> >> -static int do_brk(unsigned long addr, unsigned long len) >> +static int do_brk(unsigned long addr, unsigned long request) >> { >> struct mm_struct *m

[PATCH] iio: Add IIO support for the Measurement Computing CIO-DAC family

2016-07-11 Thread William Breathitt Gray
The Measurement Computing CIO-DAC is a family of 12-bit analog output devices. The analog outputs are from AD660BNs with each output buffered by an OP-27. Voltage ranges are configured via physical jumpers on the device. This driver does not support the devices' simulataneous update mode; the XFER

[PATCH] iommu/arm-smmu-v3: limit use of 2-level stream tables

2016-07-11 Thread Nate Watterson
In the current arm-smmu-v3 driver, all smmus that support 2-level stream tables are being forced to use them. This is suboptimal for smmus that support fewer stream id bits than would fill in a single second level table. This patch limits the use of 2-level tables to smmus that both support the fea

Re: linux-next: manual merge of the tip tree with the kspp tree

2016-07-11 Thread Kees Cook
On Mon, Jul 11, 2016 at 3:13 AM, Ingo Molnar wrote: > > * Stephen Rothwell wrote: > >> Hi all, >> >> Today's linux-next merge of the tip tree got a conflict in: >> >> arch/x86/kernel/x86_init.c >> >> between commit: >> >> 255303026193 ("x86: apply more __ro_after_init and const") >> >> from t

Re: [PATCH V8 1/2] regulator: Add document for MT6323 regulator

2016-07-11 Thread Mark Brown
On Mon, Jul 11, 2016 at 02:29:38PM +0200, John Crispin wrote: > This is a resend as V7 was dropped due to a merge order conflict. What were the dependencies and why will simply resending this resolve them? signature.asc Description: PGP signature

[PATCH RESEND 2/2] ARM: multi_v7_defconfig: Enable ARM_IMX6Q_CPUFREQ

2016-07-11 Thread Tuomas Tynkkynen
The Wandboard Quad can make use of the cpufreq support provided by the driver. Enable it and its dependency, REGULATOR_ANATOP, by default. Signed-off-by: Tuomas Tynkkynen --- Resent for the i.MX maintainers to apply. arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) d

[PATCH RESEND 1/2] ARM: multi_v7_defconfig: Enable AHCI_IMX

2016-07-11 Thread Tuomas Tynkkynen
The Wandboard Quad comes with a SATA port. Enable the IMX SATA driver by default to make it easy to have the root filesystem on it. Signed-off-by: Tuomas Tynkkynen --- Resent for the i.MX maintainers to apply. arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v7 3/4] perf: xgene: Add APM X-Gene SoC Performance Monitoring Unit driver

2016-07-11 Thread Tai Tri Nguyen
Hi Paul, Thanks for your comments. On Sat, Jul 9, 2016 at 5:00 PM, Paul Gortmaker wrote: > On Wed, Jul 6, 2016 at 8:07 PM, Tai Nguyen wrote: >> Signed-off-by: Tai Nguyen >> --- >> Documentation/perf/xgene-pmu.txt | 48 ++ >> drivers/perf/Kconfig |7 + >> drivers/perf/Makefil

RE: [PATCH v2] fsl-mc: add helper macro to determine if a device is of fsl_mc type

2016-07-11 Thread Stuart Yoder
> -Original Message- > From: Nipun Gupta [mailto:nipun.gu...@nxp.com] > Sent: Wednesday, June 29, 2016 12:15 PM > To: gre...@linuxfoundation.org; Stuart Yoder > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; Nipun Gupta > ; Bharat > Bhushan > Subject: [PATCH v2] fsl-mc:

Re: [PATCH] iio: Add IIO support for the Measurement Computing CIO-DAC family

2016-07-11 Thread Peter Meerwald-Stadler
> The Measurement Computing CIO-DAC is a family of 12-bit analog output > devices. The analog outputs are from AD660BNs with each output buffered > by an OP-27. Voltage ranges are configured via physical jumpers on the > device. > > This driver does not support the devices' simulataneous update m

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-11 Thread Prarit Bhargava
On 07/11/2016 02:00 PM, Emmanuel Grumbach wrote: > On Mon, Jul 11, 2016 at 6:18 PM, Prarit Bhargava wrote: >> >> Didn't get any feedback or review comments on this patch. Resending ... >> >> P. > > This change is obviously completely broken. It simply disables the > registration to thermal zon

Re: [PATCHv2 3/6] x86/arch_prctl/vdso: add ARCH_MAP_VDSO_*

2016-07-11 Thread Oleg Nesterov
On 07/10, Andy Lutomirski wrote: > > On Thu, Jul 7, 2016 at 4:11 AM, Dmitry Safonov wrote: > > On 07/06/2016 05:30 PM, Andy Lutomirski wrote: > >> > >> On Wed, Jun 29, 2016 at 3:57 AM, Dmitry Safonov > >> wrote: > >>> > >>> Add API to change vdso blob type with arch_prctl. > >>> As this is useful

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-11 Thread Grumbach, Emmanuel
On Mon, 2016-07-11 at 14:19 -0400, Prarit Bhargava wrote: > > On 07/11/2016 02:00 PM, Emmanuel Grumbach wrote: > > On Mon, Jul 11, 2016 at 6:18 PM, Prarit Bhargava > > wrote: > > > > > > Didn't get any feedback or review comments on this patch. > > > Resending ... > > > > > > P. > > > > This

Re: [PATCHv2 3/6] x86/arch_prctl/vdso: add ARCH_MAP_VDSO_*

2016-07-11 Thread Andy Lutomirski
On Mon, Jul 11, 2016 at 11:26 AM, Oleg Nesterov wrote: > On 07/10, Andy Lutomirski wrote: >> >> On Thu, Jul 7, 2016 at 4:11 AM, Dmitry Safonov >> wrote: >> > On 07/06/2016 05:30 PM, Andy Lutomirski wrote: >> >> >> >> On Wed, Jun 29, 2016 at 3:57 AM, Dmitry Safonov >> >> wrote: >> >>> >> >>> Add

[PATCH 3/3] crypto: Added Chelsio Menu to the Kconfig file

2016-07-11 Thread Yeshaswi M R Gowda
Adds the config entry for the Chelsio Crypto Driver, Makefile changes for the same. Signed-off-by: Yeshaswi M R Gowda --- drivers/crypto/Kconfig |2 ++ drivers/crypto/Makefile |1 + 2 files changed, 3 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index d77b

[PATCH 1/3] cxgb4: Add Chelsio LLD support Chelsio Crypto ULD

2016-07-11 Thread Yeshaswi M R Gowda
The Chelsio crypto driver is an Upper Layer Driver (ULD), making use of the Chelsio Lower Layer Driver (LLD - cxgb4). The LLD facilitates the basic infrastructure services of the ULD. These services include queue allocation, deallocation and registration with LLD. The queues are used for sending th

[PATCH 0/3] crypto/chcr: Add Chelsio Crypto Driver

2016-07-11 Thread Yeshaswi M R Gowda
Hi Herbert, This patch series contains 3 patches that add support for Chelsio's Crypto Hardware. The patch series has been created against Herbert Xu's tree (crypto-2.6). It includes patches for Chelsio Low Level Driver(cxgb4) and adds the new crypto Upper Layer Driver(chcr) under a new directory

[PATCH 2/3] chcr: Support for Chelsio's Crypto Hardware

2016-07-11 Thread Yeshaswi M R Gowda
The Chelsio's Crypto Hardware can perform the following operations: SHA1, SHA224, SHA256, SHA384 and SHA512, HMAC(SHA1), HMAC(SHA224), HMAC(SHA256), HMAC(SHA384), HAMC(SHA512), AES-128-CBC, AES-192-CBC, AES-256-CBC, AES-128-XTS, AES-256-XTS This patch implements the driver for above mentioned feat

Re: bug in memcg oom-killer results in a hung syscall in another process in the same cgroup

2016-07-11 Thread Shayan Pooya
>> Could you post the stack trace of the hung oom victim? Also could you >> post the full kernel log? With strace, when running 500 concurrent mem-hog tasks on the same kernel, 33 of them failed with: strace: ../sysdeps/nptl/fork.c:136: __libc_fork: Assertion `THREAD_GETMEM (self, tid) != ppid' f

Re: [PATCH 0/9] mm: Hardened usercopy

2016-07-11 Thread Kees Cook
On Sun, Jul 10, 2016 at 8:03 AM, PaX Team wrote: > i note that this analysis is also missing from this USERCOPY submission except > for stating what Kees assumed about USERCOPY (and apparently noone could be > bothered to read the original Kconfig help of it which clearly states that the > purpose

Re: [patch 59/66] rcu: Convert rcutree to hotplug state machine

2016-07-11 Thread Paul E. McKenney
On Mon, Jul 11, 2016 at 12:29:04PM -, Anna-Maria Gleixner wrote: > From: Thomas Gleixner > > Straight forward conversion to the state machine. Though the question arises > whether this needs really all these state transitions to work. > > Signed-off-by: Thomas Gleixner > Reviewed-by: Sebast

Re: [PATCH 0/9] mm: Hardened usercopy

2016-07-11 Thread Kees Cook
On Sun, Jul 10, 2016 at 8:38 AM, Andy Lutomirski wrote: > On Sun, Jul 10, 2016 at 5:03 AM, PaX Team wrote: >> On 10 Jul 2016 at 11:16, Ingo Molnar wrote: >> >>> * PaX Team wrote: >>> >>> > On 9 Jul 2016 at 14:27, Andy Lutomirski wrote: >>> > >>> > > I like the series, but I have one minor nit to

Re: [PATCH v1] module: Fully remove the kernel_module_from_file hook

2016-07-11 Thread Kees Cook
On Sat, Jul 9, 2016 at 2:19 PM, Mickaël Salaün wrote: > Fixes: a1db74209483 ("module: replace copy_module_from_fd with kernel > version") Oh, hrm, was that still in there? Thanks for the catch! Acked-by: Kees Cook -Kees > > Signed-off-by: Mickaël Salaün > Cc: Mimi Zohar > Cc: Kees Cook >

Re: [PART2 PATCH v3 06/11] iommu/amd: Adding GALOG interrupt handler

2016-07-11 Thread Radim Krčmář
2016-07-11 05:11-0500, Suravee Suthikulpanit: > From: Suravee Suthikulpanit > > This patch adds AMD IOMMU guest virtual APIC log (GALOG) handler. > When IOMMU hardware receives an interrupt targeting a blocking vcpu, > it creates an entry in the GALOG, and generates an interrupt to notify > the A

Re: [PATCH v2] cpufreq: powernv: Replacing pstate_id with frequency table index

2016-07-11 Thread Viresh Kumar
On 30-06-16, 11:53, Akshay Adiga wrote: > Refactoring code to use frequency table index instead of pstate_id. > This abstraction will make the code independent of the pstate values. > > - No functional changes > - The highest frequency is at frequency table index 0 and the frequency > decreases

Re: [patch 01/66] x86/vdso: Convert to hotplug state machine

2016-07-11 Thread Andy Lutomirski
On Mon, Jul 11, 2016 at 5:28 AM, Anna-Maria Gleixner wrote: > From: Sebastian Andrzej Siewior > > Install the callbacks via the state machine and let the core invoke > the callbacks on the already online CPUs. Acked-by: Andy Lutomirski

Re: [PATCH V8 1/2] regulator: Add document for MT6323 regulator

2016-07-11 Thread John Crispin
On 11/07/2016 20:08, Mark Brown wrote: > On Mon, Jul 11, 2016 at 02:29:38PM +0200, John Crispin wrote: > >> This is a resend as V7 was dropped due to a merge order conflict. > > What were the dependencies and why will simply resending this resolve > them? > Hi Mark, the dependency was the mt

Re: [PATCH 2/3] chcr: Support for Chelsio's Crypto Hardware

2016-07-11 Thread Joe Perches
On Mon, 2016-07-11 at 11:28 -0700, Yeshaswi M R Gowda wrote: > The Chelsio's Crypto Hardware can perform the following operations: > SHA1, SHA224, SHA256, SHA384 and SHA512, HMAC(SHA1), HMAC(SHA224), > HMAC(SHA256), HMAC(SHA384), HAMC(SHA512), AES-128-CBC, AES-192-CBC, > AES-256-CBC, AES-128-XTS, A

Re: [PATCH] iio: Add IIO support for the Measurement Computing CIO-DAC family

2016-07-11 Thread William Breathitt Gray
On Mon, Jul 11, 2016 at 08:18:28PM +0200, Peter Meerwald-Stadler wrote: > >> The Measurement Computing CIO-DAC is a family of 12-bit analog output >> devices. The analog outputs are from AD660BNs with each output buffered >> by an OP-27. Voltage ranges are configured via physical jumpers on the >>

Re: [PART2 PATCH v3 07/11] iommu/amd: Introduce amd_iommu_update_ga()

2016-07-11 Thread Radim Krčmář
2016-07-11 05:11-0500, Suravee Suthikulpanit: > From: Suravee Suthikulpanit > > Introduces a new IOMMU API, amd_iommu_update_ga(), which allows > KVM (SVM) to update existing posted interrupt IOMMU IRTE when > load/unload vcpu. > > Signed-off-by: Suravee Suthikulpanit > --- > diff --git a/drive

[PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings

2016-07-11 Thread Stephen Boyd
The drivers don't really need to know which PMIC they're for, so make a generic binding for them. This alleviates us from updating the drivers every time a new PMIC comes out. It's still recommended that we update the binding with new PMIC models and always specify the specific model for the MPPs a

Re: [PATCH] include: mman: Use bool instead of int for the return value of arch_validate_prot

2016-07-11 Thread Chen Gang
On 7/11/16 07:47, Dave Hansen wrote: > On 07/09/2016 09:29 AM, cheng...@emindsoft.com.cn wrote: >> -static inline int arch_validate_prot(unsigned long prot) >> +static inline bool arch_validate_prot(unsigned long prot) >> { >> if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT

Re: [Query] Preemption (hogging) of the work handler

2016-07-11 Thread Viresh Kumar
Hi Jan, On 11-07-16, 12:26, Jan Kara wrote: > Yes. We have similar problems as you observe on machines when they do a lot > of printing (usually due to device discovery or similar reasons). The > problem is not fully solved even upstream as Andrew is reluctant to merge > the patches. Sergey (added

[PATCH v8 4/4] arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries

2016-07-11 Thread Tai Nguyen
Signed-off-by: Tai Nguyen --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 58 ++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index 5147d76..1d57820 100644 --- a/arch/arm64/boot/dts/apm

[PATCH v8 1/4] MAINTAINERS: Add entry for APM X-Gene SoC PMU driver

2016-07-11 Thread Tai Nguyen
Signed-off-by: Tai Nguyen --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1209323..41938e7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -841,6 +841,13 @@ S: Supported F: drivers/net/ethernet/apm/xgene/ F: Documentation/devicetr

[PATCH v8 3/4] perf: xgene: Add APM X-Gene SoC Performance Monitoring Unit driver

2016-07-11 Thread Tai Nguyen
This patch adds a driver for the SoC-wide (AKA uncore) PMU hardware found in APM X-Gene SoCs. Signed-off-by: Tai Nguyen Reviewed-by: Mark Rutland --- Documentation/perf/xgene-pmu.txt | 48 ++ drivers/perf/Kconfig |7 + drivers/perf/Makefile|1 + drivers/perf/xg

Re: [PART2 PATCH v3 10/11] svm: Introduce AMD IOMMU avic_ga_log_notifier

2016-07-11 Thread Radim Krčmář
2016-07-11 05:11-0500, Suravee Suthikulpanit: > From: Suravee Suthikulpanit > > This patch introduces avic_ga_log_notifier, which will be called > by IOMMU driver whenever it handles the Guest vAPIC (GA) log entry. > > Signed-off-by: Suravee Suthikulpanit > --- > diff --git a/arch/x86/kvm/svm.c

[PATCH v8 0/4] perf: Add APM X-Gene SoC Performance Monitoring Unit driver

2016-07-11 Thread Tai Nguyen
In addition to the X-Gene ARM CPU performance monitoring unit (PMU), there are PMU for the SoC system devices such as L3 cache(s), I/O bridge(s), memory controller bridges and memory. These PMU devices are loosely architected to follow the same model as the PMU for ARM cores. Signed-off-by: Tai Ng

[PATCH v8 2/4] Documentation: Add documentation for APM X-Gene SoC PMU DTS binding

2016-07-11 Thread Tai Nguyen
Signed-off-by: Tai Nguyen Acked-by: Rob Herring --- .../devicetree/bindings/perf/apm-xgene-pmu.txt | 112 + 1 file changed, 112 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/apm-xgene-pmu.txt diff --git a/Documentation/devicetree/bindings/perf/

[PATCH 1/2] crypto: vmx - Adding asm subroutines for XTS

2016-07-11 Thread Paulo Flabiano Smorigo
This patch add XTS subroutines using VMX-crypto driver. It gives a boost of 20 times using XTS. These code has been adopted from OpenSSL project in collaboration with the original author (Andy Polyakov ). Signed-off-by: Leonidas S. Barbosa Signed-off-by: Paulo Flabiano Smorigo --- drivers/cry

[PATCH 2/2] crypto: vmx - Adding support for XTS

2016-07-11 Thread Paulo Flabiano Smorigo
From: "Leonidas S. Barbosa" This patch add XTS support using VMX-crypto driver. Signed-off-by: Leonidas S. Barbosa Signed-off-by: Paulo Flabiano Smorigo --- drivers/crypto/vmx/Makefile | 2 +- drivers/crypto/vmx/aes_xts.c | 187 +++ drivers/crypto/vm

[PATCH v2] ARM: dts: da850: Add new ECAP and EPWM bindings

2016-07-11 Thread Franklin S Cooper Jr
From: "Cooper Jr., Franklin" For some devices, the PWMSS is a parent of eCAP and ePWM and provided the functional clocks for those submodules. The ti,am33xx-ecap and ti,am33xx-ehrpwm were based on this parent child relationship where the functional clock would be grabbed from the module's parent.

RE: [Intel-wired-lan] [PATCH] net: ethernet: intel: fm10k: Remove create_workqueue

2016-07-11 Thread Singh, Krishneil K
-Original Message- From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Bhaktipriya Shridhar Sent: Wednesday, June 1, 2016 8:40 AM To: Kirsher, Jeffrey T Cc: Tejun Heo ; net...@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux-kernel@vger.kernel.or

Re: [PATCH V8 1/2] regulator: Add document for MT6323 regulator

2016-07-11 Thread Mark Brown
On Mon, Jul 11, 2016 at 08:55:24PM +0200, John Crispin wrote: > On 11/07/2016 20:08, Mark Brown wrote: > > On Mon, Jul 11, 2016 at 02:29:38PM +0200, John Crispin wrote: > >> This is a resend as V7 was dropped due to a merge order conflict. > > What were the dependencies and why will simply resend

Re: [PATCH v3 7/7] dynamic_debug: add jump label support

2016-07-11 Thread Andrew Morton
On Mon, 11 Jul 2016 09:18:21 -0400 Jason Baron wrote: > On 07/08/2016 05:41 PM, Andrew Morton wrote: > > On Wed, 6 Jul 2016 17:42:36 -0400 Jason Baron wrote: > > > >> Although dynamic debug is often only used for debug builds, sometimes its > >> enabled for production builds as well. Minimize i

Re: [PATCH v12 0/3] printk: Make printk() completely async

2016-07-11 Thread Viresh Kumar
On Fri, May 13, 2016 at 6:18 AM, Sergey Senozhatsky wrote: > Hello, > > no code changes, just refreshing the series so it'll be easier to > pick up. added Reviwed-by-s and corrected a typo spotted by Petr. > > This patch permits to change printk() to operate in completely > asynchronous mode: new

Re: [PATCH] capabilities: audit capability use

2016-07-11 Thread Topi Miettinen
On 07/11/16 16:05, Topi Miettinen wrote: > On 07/11/16 15:25, Serge E. Hallyn wrote: >> Quoting Topi Miettinen (toiwo...@gmail.com): >>> There are many basic ways to control processes, including capabilities, >>> cgroups and resource limits. However, there are far fewer ways to find >>> out useful

Re: [PATCH 3/3] crypto: Added Chelsio Menu to the Kconfig file

2016-07-11 Thread kbuild test robot
Hi, [auto build test WARNING on net-next/master] [also build test WARNING on v4.7-rc7 next-20160711] [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/Yeshaswi-M-R-Gowda/crypto-chcr-Add-Chelsio

Re: Hi, Ingo, would you please help drop the TSC MSR calibration patch

2016-07-11 Thread Ingo Molnar
* Jacob Pan wrote: > On Mon, 11 Jul 2016 07:59:19 -0700 > "Chen, Yu C" wrote: > > > Currently it is in your x86/timer tree: > > > > commit fc273eeef314cdaf0ac992b400d126f8184a4d1c > > Author: Len Brown > > Date: Fri Jun 17 01:22:49 2016 -0400 > > > > x86/tsc_msr: Extend to include Int

[tip:x86/timers] x86/tsc_msr: Remove irqoff around MSR-based TSC enumeration

2016-07-11 Thread tip-bot for Len Brown
Commit-ID: 02c0cd2dcf7fdc47d054b855b148ea8b82dbb7eb Gitweb: http://git.kernel.org/tip/02c0cd2dcf7fdc47d054b855b148ea8b82dbb7eb Author: Len Brown AuthorDate: Fri, 17 Jun 2016 01:22:50 -0400 Committer: Ingo Molnar CommitDate: Mon, 11 Jul 2016 21:30:12 +0200 x86/tsc_msr: Remove irqoff aro

[tip:x86/timers] x86/tsc: Enumerate SKL cpu_khz and tsc_khz via CPUID

2016-07-11 Thread tip-bot for Len Brown
Commit-ID: aa297292d708e89773b3b2cdcaf33f01bfa095d8 Gitweb: http://git.kernel.org/tip/aa297292d708e89773b3b2cdcaf33f01bfa095d8 Author: Len Brown AuthorDate: Fri, 17 Jun 2016 01:22:51 -0400 Committer: Ingo Molnar CommitDate: Mon, 11 Jul 2016 21:30:13 +0200 x86/tsc: Enumerate SKL cpu_khz

[tip:x86/timers] x86/tsc: Enumerate BXT tsc_khz via CPUID

2016-07-11 Thread tip-bot for Len Brown
Commit-ID: ff4c86635ee12461fd3bd911d7d5253394da8f9d Gitweb: http://git.kernel.org/tip/ff4c86635ee12461fd3bd911d7d5253394da8f9d Author: Len Brown AuthorDate: Fri, 17 Jun 2016 01:22:52 -0400 Committer: Ingo Molnar CommitDate: Mon, 11 Jul 2016 21:30:13 +0200 x86/tsc: Enumerate BXT tsc_khz

[PATCH -next] pnp: pnpbios: add header file to fix build errors

2016-07-11 Thread Randy Dunlap
^ Signed-off-by: Randy Dunlap --- drivers/pnp/pnpbios/core.c |1 + 1 file changed, 1 insertion(+) --- linux-next-20160711.orig/drivers/pnp/pnpbios/core.c +++ linux-next-20160711/drivers/pnp/pnpbios/core.c @@ -60,6 +60,7 @@ #include #include #include +#include #include #include

Re: [PATCH] bnxt_en: initialize rc to zero to avoid returning garbage

2016-07-11 Thread David Miller
From: Colin King Date: Fri, 8 Jul 2016 16:42:48 +0100 > From: Colin Ian King > > rc is not initialized so it can contain garbage if it is not > set by the call to bnxt_read_sfp_module_eeprom_info. Ensure > garbage is not returned by initializing rc to 0. > > Signed-off-by: Colin Ian King Ap

Regression in 4.7-rc7

2016-07-11 Thread Jens Axboe
Hi, Updated the laptop to -rc7 this morning, and it fails to boot. After bisecting it, this is the culprit: commit 45209046c47b93fadf26dc59a9da724f387b9cf2 Author: Lv Zheng Date: Tue Jul 5 13:53:12 2016 +0800 ACPICA: Namespace: Fix namespace/interpreter lock ordering There is a lo

Re: [PATCH net] udp: prevent bugcheck if filter truncates packet too much

2016-07-11 Thread David Miller
From: Michal Kubecek Date: Fri, 8 Jul 2016 17:52:33 +0200 (CEST) > If socket filter truncates an udp packet below the length of UDP header > in udpv6_queue_rcv_skb() or udp_queue_rcv_skb(), it will trigger a > BUG_ON in skb_pull_rcsum(). This BUG_ON (and therefore a system crash if > kernel is c

Re: [PATCH] mm: migrate: Use bool instead of int for the return value of PageMovable

2016-07-11 Thread Chen Gang
On 7/11/16 08:26, Minchan Kim wrote: > On Sat, Jul 09, 2016 at 11:55:04PM +0800, cheng...@emindsoft.com.cn wrote: >> From: Chen Gang >> >> For pure bool function's return value, bool is a little better more or >> less than int. >> >> And return boolean result directly, since 'if' statement is als

Re: [PATCH] capabilities: audit capability use

2016-07-11 Thread Topi Miettinen
On 07/11/16 17:09, Tejun Heo wrote: > Hello, > > On Mon, Jul 11, 2016 at 02:14:31PM +0300, Topi Miettinen wrote: >> [ 28.443674] audit: type=1327 audit(1468234333.144:520): >> proctitle=6D6B6E6F64002F6465762F7A5F343639006300310032 >> [ 28.465888] audit: type=1330 audit(1468234333.144:520): >

[patch for-4.7] mm, compaction: prevent VM_BUG_ON when terminating freeing scanner fix

2016-07-11 Thread David Rientjes
On Wed, 6 Jul 2016, Joonsoo Kim wrote: > > diff --git a/mm/compaction.c b/mm/compaction.c > > --- a/mm/compaction.c > > +++ b/mm/compaction.c > > @@ -1009,8 +1009,6 @@ static void isolate_freepages(struct compact_control > > *cc) > > block_end_pfn = block_start_pfn, >

Re: [PATCH v3 7/7] dynamic_debug: add jump label support

2016-07-11 Thread Jason Baron
On 07/11/2016 03:23 PM, Andrew Morton wrote: On Mon, 11 Jul 2016 09:18:21 -0400 Jason Baron wrote: On 07/08/2016 05:41 PM, Andrew Morton wrote: On Wed, 6 Jul 2016 17:42:36 -0400 Jason Baron wrote: Although dynamic debug is often only used for debug builds, sometimes its enabled for produc

[PATCH] scripts/recordmcount: improve EM_METAG define checks

2016-07-11 Thread Ross Burton
Current glibc (as of c10f90, soon to be 2.24) has an elf.h which defines EM_METAG but doesn't also define R_METAG_ADDR32 and _NONE. This results in recordmcount not defining any of the META symbols, and the compile failing. Handle this by checking each #define individually instead of assuming the

Re: [PATCH 0/6] scripts/gdb: Fixes for 4.7

2016-07-11 Thread Andrew Morton
On Mon, 11 Jul 2016 11:17:21 +0100 Kieran Bingham wrote: > Will this fixes series be able to make it for 4.7 ? Yup, I'll send them in this week. Sorry, I've been a bit laggy the past two weeks. Back up to speed now though.

Re: [PATCH] Revert "net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings"

2016-07-11 Thread David Miller
From: Philippe Reynes Date: Sat, 9 Jul 2016 00:54:47 +0200 > This reverts commit 4386f5662e63 ("net: ethernet: bcmgenet: use > phy_ethtool_{get|set}_link_ksettings") > > This patch is wrong, the function phy_ethtool_{get|set}_link_ksettings > don't check if the device is running, but the driver

Re: [PATCH 2/2] crypto: vmx - Adding support for XTS

2016-07-11 Thread Stephan Mueller
Am Montag, 11. Juli 2016, 16:07:40 CEST schrieb Paulo Flabiano Smorigo: Hi Paulo, > From: "Leonidas S. Barbosa" > > This patch add XTS support using VMX-crypto driver. > > Signed-off-by: Leonidas S. Barbosa > Signed-off-by: Paulo Flabiano Smorigo > --- > drivers/crypto/vmx/Makefile | 2 +

[ANNOUNCE] Git v2.9.1

2016-07-11 Thread Junio C Hamano
The latest maintenance release Git v2.9.1 is now available at the usual places. This release includes fixes to two bugs that have been reported on the list recently, among other changes: - v2.9.0 changed cloning of submodules in a top-level superproject that was cloned shallowly to explicitly

Re: [PATCH 0/6] scripts/gdb: Fixes for 4.7

2016-07-11 Thread Kieran Bingham
On 11/07/16 20:53, Andrew Morton wrote: > On Mon, 11 Jul 2016 11:17:21 +0100 Kieran Bingham > wrote: > >> Will this fixes series be able to make it for 4.7 ? > > Yup, I'll send them in this week. Sorry, I've been a bit laggy the > past two weeks. Back up to speed now though. No Worries, I sa

Re: [PATCH v2] relay: Add global mode support for buffer-only channels

2016-07-11 Thread Andrew Morton
On Mon, 11 Jul 2016 12:47:36 +0530 akash.g...@intel.com wrote: > From: Akash Goel > > The following patch added support to use channels with no associated files. > relay: add buffer-only channels; useful for early logging hm, 8 years ago. Normally we refer to previous commits using the f

Re: [PATCH 0/2 v3] Add pl031 RTC support for Hi6220

2016-07-11 Thread Arnd Bergmann
On Thursday, July 7, 2016 7:10:30 PM CEST Michael Turquette wrote: > Quoting Arnd Bergmann (2016-07-07 01:13:58) > > On Wednesday, July 6, 2016 5:19:53 PM CEST Michael Turquette wrote: > > > On Wed, Jul 6, 2016 at 12:38 AM, Arnd Bergmann wrote: > > > > On Wednesday, July 6, 2016 12:20:15 AM CEST J

[PATCH] acpi: make dock explicitly non-modular

2016-07-11 Thread Paul Gortmaker
The Kconfig for this file is: drivers/acpi/Kconfig:config ACPI_DOCK drivers/acpi/Kconfig: bool "Dock" ...and so it is not built as a module. Hence including module.h and everything that comes with it just for the no-op MODULE_LICENSE and friends is rather heavy handed. The license/author info

Re: [PATCH 2/2] kexec: add a pmd huge entry condition during the page table

2016-07-11 Thread Andrew Morton
On Mon, 11 Jul 2016 14:36:01 +0800 zhongjiang wrote: > From: zhong jiang > > when image is loaded into kernel, we need set up page table for it. > and all valid pfn also set up new mapping. it will set up a pmd huge > entry if pud_present is true. relocate_kernel points to code segment > can l

Re: [PATCH v3 13/14] clk: sunxi-ng: Add H3 clocks

2016-07-11 Thread Maxime Ripard
Hi Mike, On Fri, Jul 08, 2016 at 06:17:16PM -0700, Michael Turquette wrote: > Quoting Maxime Ripard (2016-07-08 14:35:06) > > Hi Mike, > > > > On Wed, Jul 06, 2016 at 07:33:08PM -0700, Michael Turquette wrote: > > > Hi Maxime, > > > > > > Quoting Maxime Ripard (2016-06-29 12:05:34) > > > > +stat

Re: [PATCH] nvme-loop: add configfs dependency

2016-07-11 Thread Arnd Bergmann
On Sunday, July 10, 2016 2:14:17 PM CEST Christoph Hellwig wrote: > On Thu, Jul 07, 2016 at 08:35:17AM -0600, Jens Axboe wrote: > > Thanks Arnd, applied. > > Actually I think we should replace the select with the depends. In > fact I though I had done that a while ago, but I must have messed it u

Re: [PATCH] dma-buf/sync_file: only enable fence signalling during wait

2016-07-11 Thread Gustavo Padovan
2016-07-10 Maarten Lankhorst : > Op 08-07-16 om 17:44 schreef Gustavo Padovan: > > From: Gustavo Padovan > > > > Signalling doesn't need to be enabled at sync_file creation, it is only > > required if userspace waiting the fence to signal through poll(). > > > > Thus we delay fence_add_callback()

Re: [PATCH 4.6 00/31] 4.6.4-stable review

2016-07-11 Thread Guenter Roeck
On Mon, Jul 11, 2016 at 01:04:35PM -0700, Kevin Hilman wrote: > kernelci.org bot writes: > > > stable-rc boot: 558 boots: 4 failed, 549 passed with 5 offline > > (v4.6.2-121-g6b5d7d0432d9) > > > > Full Boot Summary: > > https://kernelci.org/boot/all/job/stable-rc/kernel/v4.6.2-121-g6b5d7d0432d9

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-11 Thread Prarit Bhargava
On 07/11/2016 02:27 PM, Grumbach, Emmanuel wrote: > On Mon, 2016-07-11 at 14:19 -0400, Prarit Bhargava wrote: >> >> On 07/11/2016 02:00 PM, Emmanuel Grumbach wrote: >>> On Mon, Jul 11, 2016 at 6:18 PM, Prarit Bhargava >>> wrote: Didn't get any feedback or review comments on this patch.

Re: [PATCH V8 1/2] regulator: Add document for MT6323 regulator

2016-07-11 Thread John Crispin
On 11/07/2016 21:22, Mark Brown wrote: > On Mon, Jul 11, 2016 at 08:55:24PM +0200, John Crispin wrote: >> On 11/07/2016 20:08, Mark Brown wrote: >>> On Mon, Jul 11, 2016 at 02:29:38PM +0200, John Crispin wrote: > This is a resend as V7 was dropped due to a merge order conflict. > >>> What

[PATCH 2/2] clk: sunxi-ng: h3: Fix Kconfig symbol typo

2016-07-11 Thread Maxime Ripard
The Kconfig symbol for the sun8i SoC family was mistyped. Fix that. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 41e53e8d4d41..2afcbd39e41e 10064

[PATCH 1/2] clk: sunxi-ng: h3: Fix audio clock divider offset

2016-07-11 Thread Maxime Ripard
The code had a typo and got the wrong offset for the hardcoded divider, fix that. Signed-off-by: Maxime Ripard Reported-by: Jean-Francois Moine Reported-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/

[PATCH] fb: adv7393: Use IS_ENABLED() instead of checking for built-in or module

2016-07-11 Thread Javier Martinez Canillas
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either built-in or as a module, use that macro instead of open coding the same. Signed-off-by: Javier Martinez Canillas --- drivers/video/fbdev/bfin_adv7393fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH] iwlwifi: add missing type declaration

2016-07-11 Thread Arnd Bergmann
The iwl-debug.h header relies in implicit inclusion of linux/device.h and we get a lot of warnings without that: drivers/net/wireless/intel/iwlwifi/iwl-debug.h:44:23: error: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] vo

Re: [PATCH 1/5] workqueue: wq_pool_mutex protects the attrs-installation

2016-07-11 Thread Steven Rostedt
[ crickets ] -- Steve On Thu, 10 Mar 2016 16:44:11 -0500 Steven Rostedt (by way of Steven Rostedt ) wrote: > This patch was recently backported to 4.1.19, and when I merged it with -rt, > the following bug triggered: > > === > [ INFO: suspicious RCU usage. ] > 4.1.

<    1   2   3   4   5   6   7   8   9   >