[PATCH v2] kbuild: fix if_change and friends to consider argument order

2016-05-06 Thread Masahiro Yamada
Currently, arg-check is implemented as follows: arg-check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \ $(filter-out $(cmd_$@), $(cmd_$(1))) ) This does not care about the order of arguments that appear in $(cmd_$(1)) and $(cmd_$@). So, if_changed and friends never r

Re: [PATCH v6 6/9] rtc: max8997: Check for ERRNO of regmap_irq_get_virq()

2016-05-06 Thread Alexandre Belloni
On 06/05/2016 at 09:27:13 +0200, Krzysztof Kozlowski wrote : > The regmap_irq_get_virq() can return zero or negative ERRNO, so it is > insufficient to check only for non-zero value. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Alexandre Belloni > --- > drivers/rtc/rtc-max8997.c | 2 +- > 1

[tip:sched/urgent] sched/fair: Fix !CONFIG_SMP kernel cpufreq governor breakage

2016-05-06 Thread tip-bot for Rafael J. Wysocki
Commit-ID: 536bd00cdbb7b908573e5a93bae67b64cbae60d8 Gitweb: http://git.kernel.org/tip/536bd00cdbb7b908573e5a93bae67b64cbae60d8 Author: Rafael J. Wysocki AuthorDate: Fri, 6 May 2016 14:58:43 +0200 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:45:34 +0200 sched/fair: Fix !CONFIG_

[tip:x86/boot] x86/KASLR: Build identity mappings on demand

2016-05-06 Thread tip-bot for Kees Cook
Commit-ID: 3a94707d7a7bb1eb82acae5fbc035247dd1ba8a5 Gitweb: http://git.kernel.org/tip/3a94707d7a7bb1eb82acae5fbc035247dd1ba8a5 Author: Kees Cook AuthorDate: Fri, 6 May 2016 15:01:35 -0700 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:38:39 +0200 x86/KASLR: Build identity mappin

[tip:efi/core] efi/capsule: Move 'capsule' to the stack in efi_capsule_supported()

2016-05-06 Thread tip-bot for Matt Fleming
Commit-ID: fb7a84cac03541f4da18dfa25b3f4767d4efc6fc Gitweb: http://git.kernel.org/tip/fb7a84cac03541f4da18dfa25b3f4767d4efc6fc Author: Matt Fleming AuthorDate: Fri, 6 May 2016 22:39:29 +0100 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:06:13 +0200 efi/capsule: Move 'capsule' t

[tip:x86/boot] x86/boot: Simplify pointer casting in choose_random_location()

2016-05-06 Thread tip-bot for Borislav Petkov
Commit-ID: 549f90db68c9f8e21a40ec21c8047441984e7164 Gitweb: http://git.kernel.org/tip/549f90db68c9f8e21a40ec21c8047441984e7164 Author: Borislav Petkov AuthorDate: Fri, 6 May 2016 13:50:15 +0200 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:38:38 +0200 x86/boot: Simplify pointer

[tip:x86/boot] x86/KASLR: Improve comments around the mem_avoid[] logic

2016-05-06 Thread tip-bot for Kees Cook
Commit-ID: ed09acde44e301b5c13755ab84821fa44b188b5e Gitweb: http://git.kernel.org/tip/ed09acde44e301b5c13755ab84821fa44b188b5e Author: Kees Cook AuthorDate: Fri, 6 May 2016 12:44:59 -0700 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:38:38 +0200 x86/KASLR: Improve comments arou

[tip:x86/boot] x86/boot: Clean up indenting for asm/boot.h

2016-05-06 Thread tip-bot for Kees Cook
Commit-ID: 8665e6ff2107204f981ba8f9ee37085a003fc9e9 Gitweb: http://git.kernel.org/tip/8665e6ff2107204f981ba8f9ee37085a003fc9e9 Author: Kees Cook AuthorDate: Fri, 6 May 2016 15:01:33 -0700 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:38:39 +0200 x86/boot: Clean up indenting for

[tip:x86/boot] x86/boot: Split out kernel_ident_mapping_init()

2016-05-06 Thread tip-bot for Yinghai Lu
Commit-ID: cf4fb15b3110df070fe9829a1ef38fef8316fb90 Gitweb: http://git.kernel.org/tip/cf4fb15b3110df070fe9829a1ef38fef8316fb90 Author: Yinghai Lu AuthorDate: Fri, 6 May 2016 15:01:34 -0700 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:38:39 +0200 x86/boot: Split out kernel_iden

[tip:efi/core] efivarfs: Make efivarfs_file_ioctl() static

2016-05-06 Thread tip-bot for Peter Jones
Commit-ID: 6c5450ef66816216e574885cf8d3ddb31ef77428 Gitweb: http://git.kernel.org/tip/6c5450ef66816216e574885cf8d3ddb31ef77428 Author: Peter Jones AuthorDate: Fri, 6 May 2016 22:39:31 +0100 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:06:13 +0200 efivarfs: Make efivarfs_file_i

[tip:efi/core] efi: Merge boolean flag arguments

2016-05-06 Thread tip-bot for Julia Lawall
Commit-ID: 1cfd63166c8e7494a1b457df9bb291a601091c26 Gitweb: http://git.kernel.org/tip/1cfd63166c8e7494a1b457df9bb291a601091c26 Author: Julia Lawall AuthorDate: Fri, 6 May 2016 22:39:30 +0100 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:06:13 +0200 efi: Merge boolean flag argum

[tip:efi/core] efibc: Fix excessive stack footprint warning

2016-05-06 Thread tip-bot for Jeremy Compostella
Commit-ID: 2e121d711a51f91e792595a05cf9ef6963cb8464 Gitweb: http://git.kernel.org/tip/2e121d711a51f91e792595a05cf9ef6963cb8464 Author: Jeremy Compostella AuthorDate: Fri, 6 May 2016 22:39:28 +0100 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:06:13 +0200 efibc: Fix excessive st

[tip:efi/core] efi/capsule: Make efi_capsule_pending() lockless

2016-05-06 Thread tip-bot for Matt Fleming
Commit-ID: 62075e581802ea1842d5d3c490a7e46330bdb9e1 Gitweb: http://git.kernel.org/tip/62075e581802ea1842d5d3c490a7e46330bdb9e1 Author: Matt Fleming AuthorDate: Fri, 6 May 2016 22:39:27 +0100 Committer: Ingo Molnar CommitDate: Sat, 7 May 2016 07:06:13 +0200 efi/capsule: Make efi_capsule

Re: [PATCH] sched/fair: Invoke cpufreq hooks for CONFIG_SMP unset

2016-05-06 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Fri, May 06, 2016 at 02:58:43PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Commit 34e2c555f3e1 (cpufreq: Add mechanism for registering utilization > > update callbacks) overlooked the fact that update_load_avg(), where > > CFS invokes cpufr

STRICTLY CONFIDENTIAL.

2016-05-06 Thread Acct. Dept. Bank Of China
I have important transaction for you as next of kin to claim US$8.37m email me at zhu.shu...@yahoo.com.hk so i can send you more details Thanks Mr.Zhu Shumin (Security Code 00746igit) = = = = = = = = = = = = = Move to inbox

[PATCH 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-06 Thread Mario Limonciello
System with Type-C ports have a feature to expose an auxiliary persistent MAC address. This address is burned in at the factory. The intention of this address is to update the MAC address on Type-C docks containing an ethernet adapter to match the auxiliary address of the system connected to them

[PATCH 1/2] dell-smbios: Add a helper function for complex SMI requests

2016-05-06 Thread Mario Limonciello
More complex SMI requests can return data that exceeds the 4 32 byte arguments that are traditionally part of a request. To support more complex requests, the first input argument can be a 32 bit physical address with a buffer properly built in advance. This helper function prepares the buffer as

Re: [PATCH] sched/fair: Invoke cpufreq hooks for CONFIG_SMP unset

2016-05-06 Thread Peter Zijlstra
On Fri, May 06, 2016 at 02:58:43PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit 34e2c555f3e1 (cpufreq: Add mechanism for registering utilization > update callbacks) overlooked the fact that update_load_avg(), where > CFS invokes cpufreq utilization update hooks, becomes an

Re: [PATCH] perf/x86/intel/uncore: Fix CHA registers configuration procedure for Knights Landing platform

2016-05-06 Thread Ingo Molnar
* hchrzani wrote: > CHA events in Knights Landing platform require programming filter registers > properly. > Remote node, local node and NonNearMemCachable bits should be set to 1 at all > times. > > Fixes: 77af003 ('perf/x86/intel/uncore: Add Knights Landing uncore PMU > support') > Signed

Re: [PATCH 0/3] x86/KASLR: Build identity mappings on demand

2016-05-06 Thread Ingo Molnar
* Kees Cook wrote: > I'm going back to small steps. :) > > This series lets the x86_64 compressed boot environment build > page table identity mappings on demand. This will be used once > we begin randomizing the physical memory position beyond the > existing identity maps. This series was much

Re: [PATCH RFC 1/5] net: phy: sun8i-h3-ephy: Add bindings for Allwinner H3 Ethernet PHY

2016-05-06 Thread Chen-Yu Tsai
Hi, On Tue, Apr 12, 2016 at 9:38 AM, Chen-Yu Tsai wrote: > On Tue, Apr 12, 2016 at 3:23 AM, Florian Fainelli > wrote: >> On 04/04/16 09:22, Chen-Yu Tsai wrote: >>> The Allwinner H3 SoC incorporates an Ethernet PHY. This is enabled and >>> configured through a memory mapped hardware register. >>

Re: [v4.6-rc1 Regression] x86/topology: Create logical package id

2016-05-06 Thread Ingo Molnar
* Thomas Gleixner wrote: > > I was hoping to get your feedback, since you are the patch author. Do > > you think gathering any additional data will help diagnose this issue, > > or would it be best to submit a revert request? > > Yuck. That dies with a divide error. And that looks like XEN is

[PATCH 3/3] [media] s5p-mfc: fix a typo in s5p_mfc_dec

2016-05-06 Thread ayaka
It is a cosmetic commit. Signed-off-by: ayaka --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c index f2d6376..391ed9c 100644 --- a/driv

[PATCH 2/3] [media] s5p-mfc: remove unnecessary check in try_fmt

2016-05-06 Thread ayaka
We don't need to request the sizeimage or num_planes in try_fmt. Signed-off-by: ayaka --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c index a6

Re: [RESEND PATCH] [media] s5p-mfc: don't close instance after free OUTPUT buffers

2016-05-06 Thread ayaka
Please also notice those patches (A few patches make s5p-mfc work with Gstreamer) I resent to mail recently. Without them, the encoder won't work with Gstreamer either. I hope it will be merged as soon as possible. 在 2016年05月07日 06:11, Javier Martinez Canillas 写道: From: ayaka User-space ap

[PATCH 1/3] [media] s5p-mfc: Add handling of buffer freeing reqbufs request

2016-05-06 Thread ayaka
The encoder forget the work to call hardware to release its buffers. This patch came from chromium project. I just change its code style and make the API match with new kernel. Signed-off-by: ayaka --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 3 +++ 1 file changed, 3 insertions(+) diff --

[RESEND PATCH] [PATCH 0/3] A few patches make s5p-mfc work with Gstreamer

2016-05-06 Thread ayaka
A user-space application will follow the V4l2 document, but I meet a problem when I test it with Gstreamer. I look at the V4l2 document, the driver check the external setting which the document not cover, so that is what the second patch do. The first patch comes from chromium project, but I didn'

[tip:perf/core] perf trace: Move futex_op beautifier to tools/perf/trace/beauty/

2016-05-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d5d71e86d226abe7e08df5763127ed2bd07649a1 Gitweb: http://git.kernel.org/tip/d5d71e86d226abe7e08df5763127ed2bd07649a1 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 6 May 2016 12:45:25 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:59 -0300 perf

[tip:perf/core] perf trace: Move open_flags beautifier to tools/perf/trace/beauty/

2016-05-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8f48df69b4add63527cae646f2e40cf83c6ec0a0 Gitweb: http://git.kernel.org/tip/8f48df69b4add63527cae646f2e40cf83c6ec0a0 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 6 May 2016 10:02:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:58 -0300 perf

[tip:perf/core] perf trace: Move signum beautifier to tools/perf/trace/beauty/

2016-05-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 12199d8e20bb4a2ad164d2600bf199557d55c35c Gitweb: http://git.kernel.org/tip/12199d8e20bb4a2ad164d2600bf199557d55c35c Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 6 May 2016 09:58:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:57 -0300 perf

[tip:perf/core] perf stat: Add extra output of counter values with -vv

2016-05-06 Thread tip-bot for Andi Kleen
Commit-ID: 0b1abbf4a7d273a13065534d718661fc904703b9 Gitweb: http://git.kernel.org/tip/0b1abbf4a7d273a13065534d718661fc904703b9 Author: Andi Kleen AuthorDate: Wed, 27 Apr 2016 13:00:51 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:56 -0300 perf stat: Add ex

[tip:perf/core] perf script: Update export-to-postgresql to support callchain export

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 3521f3bc9dae4a79cfb9cc9ffcf6d961bbb7cbac Gitweb: http://git.kernel.org/tip/3521f3bc9dae4a79cfb9cc9ffcf6d961bbb7cbac Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:11 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:55 -0300 perf script: U

[tip:perf/core] perf script: Expose usage of the callchain db export via the python api

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 2c15f5eb04e9e7e19a2c8be6b50c63a4c6062a44 Gitweb: http://git.kernel.org/tip/2c15f5eb04e9e7e19a2c8be6b50c63a4c6062a44 Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:10 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:54 -0300 perf script: E

[tip:perf/core] perf script: Add call path id to exported sample in db export

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 568850eaad8cdd3783c3347623dfcad4f043cf1c Gitweb: http://git.kernel.org/tip/568850eaad8cdd3783c3347623dfcad4f043cf1c Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:09 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:53 -0300 perf script: A

Re: [PATCH v2] locking/rwsem: Add reader-owned state to the owner field

2016-05-06 Thread Ingo Molnar
* Waiman Long wrote: > On a 4-socket Haswell machine running on a 4.6-rc1 based kernel, the > fio test with multithreaded randrw and randwrite tests on the same > file on a XFS partition on top of a NVDIMM were run, the aggregated > bandwidths before and after the patch were as follows: > > T

[tip:perf/core] perf script: Enable db export to output sampled callchains

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 0a3eba3ad613fa9d5af754f7ae8c4b46047cb2a7 Gitweb: http://git.kernel.org/tip/0a3eba3ad613fa9d5af754f7ae8c4b46047cb2a7 Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:08 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:52 -0300 perf script: E

[tip:perf/core] perf tools: Refactor code to move call path handling out of thread-stack

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 451db12617bc6ff1bb8ed456ed4f257594134255 Gitweb: http://git.kernel.org/tip/451db12617bc6ff1bb8ed456ed4f257594134255 Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:07 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:43 -0300 perf tools: Re

[tip:perf/core] perf trace: Do not print raw args list for syscalls with no args

2016-05-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4c4d6e519091a3551a0ad2e2e8423d77f3000400 Gitweb: http://git.kernel.org/tip/4c4d6e519091a3551a0ad2e2e8423d77f3000400 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 5 May 2016 23:38:05 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 08:44:30 -0300 perf

[tip:perf/core] perf callchain: Fix incorrect ordering of entries

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 9919a65ec532799544dfdfd6df6f994b74c12b42 Gitweb: http://git.kernel.org/tip/9919a65ec532799544dfdfd6df6f994b74c12b42 Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:06 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 08:59:47 -0300 perf callchain

Re: [RFC PATCH 05/12] ARM: dts: exynos: Configure Exynos5410 pinctrl for eMMC and SD card

2016-05-06 Thread Alim Akhtar
Hi Krzysztof, On Tue, May 3, 2016 at 11:22 PM, Krzysztof Kozlowski wrote: > Configure the pinctrl for MMC0 (eMMC) and MMC2 (microSD card). > > Signed-off-by: Krzysztof Kozlowski > > --- > > I am not sure about sd0_rclk. Also I wonder whether this should go to > board DTS... > --- > arch/arm/boo

Re: [GIT PULL 00/11] perf/core improvements and fixes

2016-05-06 Thread Ingo Molnar
pub/scm/linux/kernel/git/acme/linux into perf/core > (2016-05-06 08:35:14 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-20160506 > > for you to fetch changes up to d5d71e86d2

[PATCH v2 1/3] input: rmi4: Move IRQ handling to rmi_driver

2016-05-06 Thread Bjorn Andersson
The attn IRQ is related to the chip, rather than the transport, so move all handling of interrupts to the core driver. This also makes sure that there are no races between interrupts and availability of the resources used by the core driver. Signed-off-by: Bjorn Andersson --- drivers/input/rmi4/

[PATCH v2 2/3] input: rmi4: Acquire and enable VDD and VIO supplies

2016-05-06 Thread Bjorn Andersson
For systems where the rmi4 device is not powered by always-on regulators we need to acquire handles to VDD and VIO and enable these. Signed-off-by: Bjorn Andersson --- Changes since v1: - Added patch 1 and 3 - Moved regulator handling to the core driver .../devicetree/bindings/input/rmi4/rmi_i

[PATCH v2 3/3] input: rmi4: Remove set_page() call before core is initialized

2016-05-06 Thread Bjorn Andersson
In the case of the chip not already being powered we can't call set_page() before we're letting the core driver enable power to the chip. Signed-off-by: Bjorn Andersson --- drivers/input/rmi4/rmi_i2c.c | 11 ++- drivers/input/rmi4/rmi_spi.c | 11 ++- 2 files changed, 4 insertions

[PATCH v2 0/3] input: rmi4: Regulator supply support

2016-05-06 Thread Bjorn Andersson
The first version of the regulator support patch suffered from being implemented in the transport driver, as a work around for resource availability racing (EPROBE_DEFER of the core driver) with the interrupt handler. After reconsidering the solutions discussed following that I concluded that the

Re: perf tools: add support for generating bpf prologue on powerpc

2016-05-06 Thread Michael Ellerman
On Thu, 2016-05-05 at 15:23:19 UTC, "Naveen N. Rao" wrote: > Generalize existing macros to serve the purpose. > > Cc: Wang Nan > Cc: Arnaldo Carvalho de Melo > Cc: Masami Hiramatsu > Cc: Ian Munsie > Cc: Michael Ellerman > Signed-off-by: Naveen N. Rao > --- > With this patch: > # ./perf

Re: [PATCH] ksm: fix conflict between mmput and scan_get_next_rmap_item

2016-05-06 Thread Hugh Dickins
On Fri, 6 May 2016, zhouchengming wrote: > On 2016/5/6 5:07, Andrew Morton wrote: > > On Thu, 5 May 2016 20:42:56 +0800 Zhou Chengming > > wrote: > > > > > A concurrency issue about KSM in the function scan_get_next_rmap_item. > > > > > > task A (ksmd):|task B (the mm'

Re: [PATCH] staging: gdm724x: fixing coding style problems listed by checkpatch

2016-05-06 Thread Greg KH
On Fri, May 06, 2016 at 06:46:32PM -0400, Bruno Carvalho wrote: > This patch is to fix some coding style issues pointed > by scripts/checkpatch.pl Which ones specifically? Please be descriptive, as other commits are for this driver, take a look at them for examples. And remember, only do one "ty

Re: [PATCH] ext4 crypto: migrate into vfs's crypto engine

2016-05-06 Thread Eric Biggers
Hi Jaegeuk, On Mon, Apr 25, 2016 at 05:15:36PM -0700, Jaegeuk Kim wrote: > This patch removes the most parts of internal crypto codes. > And then, it modifies and adds some ext4-specific crypt codes to use the > generic > facility. Except for the key name prefix issue that Ted pointed out, this

Re: [PATCH] libnvdimm, pfn: fix ARCH=alpha allmodconfig build failure

2016-05-06 Thread Guenter Roeck
On 05/06/2016 10:26 AM, Dan Williams wrote: I had relied on the kbuild robot for cross build coverage, however it only builds alpha_defconfig. Switch from HPAGE_SIZE to PMD_SIZE, which is more widely defined. Fixes: 658922e57b84 ("libnvdimm, pfn: fix memmap reservation sizing") Cc: Reported-by

[PATCH 08/10] staging: lustre: o2iblnd: remove last of kiblnd_tunables_fini

2016-05-06 Thread James Simmons
From: Amir Shehata The function kibnd_tunables_fini() no longer exist. Remove it from o2iblnd.h Signed-off-by: Amir Shehata Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7101 Reviewed-on: http://review.whamcloud.com/16367 Reviewed-by: Doug Oucharek Reviewed-

[PATCH 01/10] staging: lustre: lnet: use struct lnet_ioctl_config_data for NI bring up

2016-05-06 Thread James Simmons
From: Amir Shehata The LNet layer passes around the individual fields of struct lnet_ioctl_config_data for the case of NI bring up. To simplify the code lets just pass struct lnet_ioctl_config directly. Signed-off-by: Amir Shehata Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.in

[PATCH 07/10] staging: lustre: o2iblnd: per NI map-on-demand value

2016-05-06 Thread James Simmons
From: Amir Shehata Enables support of different map-on-demand values per NI. This is required to support OPA coexistence with MLX5 cards. MLX5 does not support FMR, which is enabled via map-on-demand. However OPA's performance is greatly enahanced when FMR is enabled. In order to enable coexi

[PATCH 10/10] staging: lustre: lnet: enable configuration per NI interface

2016-05-06 Thread James Simmons
From: Amir Shehata Add the ability to configure each NI interface at bring up. Also give the ability for user land utilities to query the configuration of each NI interface. Signed-off-by: Amir Shehata Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7101 Review

[PATCH 04/10] staging: lustre: o2iblnd: convert macros to inline functions

2016-05-06 Thread James Simmons
From: Amir Shehata Convert a few macros in o2iblnd.h to inline functions. Signed-off-by: Amir Shehata Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7101 Reviewed-on: http://review.whamcloud.com/16367 Reviewed-by: Doug Oucharek Reviewed-by: Olaf Weber Review

[PATCH 05/10] staging: lustre: o2iblnd: create default o2iblnd tunable settings

2016-05-06 Thread James Simmons
From: Amir Shehata Create and set the default o2iblnd tunables when the ko2iblnd module loads. Move kiblnd_tunables_setup() to when the NI iterface is initialized. Signed-off-by: Amir Shehata Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7101 Reviewed-on: htt

[PATCH 09/10] staging: lustre: o2iblnd: properly set ibr_why

2016-05-06 Thread James Simmons
From: Amir Shehata For the case of when the connections supported fragment count is smaller than what is supported locally only set ibr_why to IBLND_REJECT_RDMA_FRAGS if the ko2iblnd protocol verison is IBLND_MSG_VERSION. Signed-off-by: Amir Shehata Signed-off-by: James Simmons Intel-bug-id: h

[PATCH 03/10] staging: lustre: lnet: add per NI configuration structures

2016-05-06 Thread James Simmons
From: Amir Shehata Currently for LNet all hardware configuration is done with the modprobe configuration file. These settings are applied to all hardware instances for a node. That makes it impossible to configure two different pieces of infiniband hardware that require very different settings to

[PATCH 02/10] staging: lustre: lnet: use struct lnet_ioctl_config_data for NI query

2016-05-06 Thread James Simmons
From: Amir Shehata The functions used to query the NI state passes around the individual fields of struct lnet_ioctl_config_data. To simplify the code lets just pass struct lnet_ioctl_config directly. Signed-off-by: Amir Shehata Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.inte

[PATCH 06/10] staging: lustre: o2iblnd: use data in lnet_ni_t instead of kiblnd_tunables

2016-05-06 Thread James Simmons
From: Amir Shehata Currently the ko2iblnd creates a kib_tunable_t stucture to allow the ko2iblnd driver to access the module parameters throught the code. Some of those data fields also exist in lnet_ni_t. Migrate to using the lnet_ni_t data fields instead of kib_tunable_t. Signed-off-by: Amir S

[PATCH 00/10] staging: lustre: lnet: per NI map-on-demand value

2016-05-06 Thread James Simmons
Enables support of different map-on-demand values per NI. This is required to support OPA coexistence with MLX5 cards. MLX5 does not support FMR, which is enabled via map-on-demand. However OPA's performance is greatly enahanced when FMR is enabled. In order to enable coexistence of both of the

Re: [RESEND PATCH] [media] s5p-mfc: don't close instance after free OUTPUT buffers

2016-05-06 Thread Nicolas Dufresne
Thanks for re-submitting. See inline two typos to fix in teh comment. cheers, Nicolas Le vendredi 06 mai 2016 à 18:11 -0400, Javier Martinez Canillas a écrit : > From: ayaka > > User-space applications can use the VIDIOC_REQBUFS ioctl to determine if a > memory mapped, user pointer or DMABUF ba

Re: [PATCH v3 3/4] mfd: arizona: Switch to using clock driver for 32k clock

2016-05-06 Thread Stephen Boyd
On 01/08, Charles Keepax wrote: > Now we have a clock driver that can control the 32k clock use this > rather than directly controlling the 32k clock from the MFD device. > > Signed-off-by: Charles Keepax > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora

Re: [PATCH v3 2/4] clk: arizona: Add clock driver for the Arizona devices

2016-05-06 Thread Stephen Boyd
I've applied this to clk-next but still have a question, see below. On 01/08, Charles Keepax wrote: > diff --git a/drivers/clk/clk-arizona.c b/drivers/clk/clk-arizona.c > new file mode 100644 > index 000..eaf2877 > --- /dev/null > +++ b/drivers/clk/clk-arizona.c > + > +static int arizona_clk_o

Re: [PATCH v3 1/4] extcon: arizona: Remove enable/disable of 32k clock

2016-05-06 Thread Stephen Boyd
On 01/08, Charles Keepax wrote: > The 32k clock is unconditionally enabled by the MFD core so there is no > need to control it from the extcon device, so this patch removes the > control of the 32k clock. > > Signed-off-by: Charles Keepax > --- Applied to clk-next -- Qualcomm Innovation Center

Re: [PATCH v3 4/4] mfd: arizona: Add device tree binding documentation for new clock driver

2016-05-06 Thread Stephen Boyd
On 05/06/2016 05:47 PM, Stephen Boyd wrote: > On 01/08/2016 03:29 AM, Charles Keepax wrote: >> Specify the device tree binding for the input clocks to Arizona devices. >> >> Signed-off-by: Charles Keepax >> Acked-by: Rob Herring >> --- >> >> No changes since v2. >> >> Thanks, >> Charles >> >> Do

Re: [PATCH v3 4/4] mfd: arizona: Add device tree binding documentation for new clock driver

2016-05-06 Thread Stephen Boyd
On 01/08/2016 03:29 AM, Charles Keepax wrote: > Specify the device tree binding for the input clocks to Arizona devices. > > Signed-off-by: Charles Keepax > Acked-by: Rob Herring > --- > > No changes since v2. > > Thanks, > Charles > > Documentation/devicetree/bindings/mfd/arizona.txt | 7 ++

[PATCH] intel_pstate: Clean up intel_pstate_get()

2016-05-06 Thread Rafael J. Wysocki
From: Rafael J. Wysocki intel_pstate_get() contains a local variable that's initialized but never used and it can be written in fewer lines of code, so clean it up. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/intel_pstate.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletion

[PATCH v2] locking/rwsem: Add reader-owned state to the owner field

2016-05-06 Thread Waiman Long
Currently, it is not possible to determine for sure if a reader owns a rwsem by looking at the content of the rwsem data structure. This patch adds a new state RWSEM_READER_OWNED to the owner field to indicate that readers currently own the lock. This enables us to address the following 2 issues in

Re: [PATCH] debugobjects: insulate non-fixup logic related to static obj from fixup callbacks

2016-05-06 Thread kbuild test robot
Hi, [auto build test WARNING on next-20160506] [cannot apply to tip/timers/core rcu/rcu/next v4.6-rc6 v4.6-rc5 v4.6-rc4 v4.6-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/changbin-du

Re: [PATCH v10 2/3] clk: microchip: Add PIC32 clock driver

2016-05-06 Thread Stephen Boyd
Mostly nitpicks, although I'm worried about the iomem casting and addition stuff. I suppose if those are fixed up at some later time then I'm fine with this going through MIPS tree. On 03/23, Purna Chandra Mandal wrote: > +static int pbclk_set_rate(struct clk_hw *hw, unsigned long rate, > +

[PATCH 3/3] intel_pstate: Clean up get_target_pstate_use_performance()

2016-05-06 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The way the code in get_target_pstate_use_performance() is arranged and the comments in there are totally confusing, so modify them to reflect what's going on. The results of the computations should be the same as before. Signed-off-by: Rafael J. Wysocki --- drivers/cp

[PATCH 2/3] intel_pstate: Use sample.core_avg_perf in get_avg_pstate()

2016-05-06 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Notice that get_avg_pstate() can use sample.core_avg_perf instead of carrying the same division again, so make it do that. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/intel_pstate.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux-pm/dri

[PATCH 1/3] perf/x86/cqm,mbm: Store cqm,mbm count for all events when RMID is recycled

2016-05-06 Thread Vikas Shivappa
During RMID recycling, when an event loses the RMID we saved the counter for group leader but it was not being saved for all the events in an event group. This would lead to a situation where if 2 perf instances are counting the same PID one of them would not see the updated count which other perf

[PATCH 2/3] perf/x86/mbm: Fix mbm counting for RMID reuse

2016-05-06 Thread Vikas Shivappa
This patch tries to fix the issue where multiple perf instances try to monitor the same PID. MBM cannot count directly in the usual perf way of continuously adding the diff of current h/w counter and the prev count to the event->count because of some h/w dependencies: (1) the mbm h/w counters over

[PATCH 0/3] intel_pstate: Improvements related to the APERF/MPERF computation

2016-05-06 Thread Rafael J. Wysocki
Hi, As per the subject, on top of the current linux-next branch of linux-pm.git. Thanks, Rafael

[PATCH V2 0/3] Urgent fixes for Intel CQM/MBM counting

2016-05-06 Thread Vikas Shivappa
Sending some urgent fixes for the MBM(memory b/w monitoring) which is upstreamed from 4.6-rc1. Patches apply on 4.6-rc6. CQM and MBM counters reported some incorrect counts for different scenarios like interval mode or for multiple perf instances. A second attempt to send V2 as per Peter feedbac

[PATCH 1/3] intel_pstate: Clarify average performance computation

2016-05-06 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The core_pct_busy field of struct sample actually contains the average performace during the last sampling period (in percent) and not the utilization of the core as suggested by its name which is confusing. For this reason, change the name of that field to core_avg_perf

[PATCH 3/3] perf/x86/mbm: Fix mbm counting during RMID recycling

2016-05-06 Thread Vikas Shivappa
Continuing from the previous patch, this handles the recycling part of the counting. When an event loses RMID we need to update the event->count with total bytes till now and when an event gets a new RMID we need to update the event->prev_count to zero bytes as we start new counting. Signed-off-b

Re: [Intel-wired-lan] [PATCH] e1000e: prevent division by zero if TIMINCA is zero

2016-05-06 Thread Rustad, Mark D
Denys Vlasenko wrote: Users report that under VMWare, er32(TIMINCA) returns zero. This causes division by zero at init time as follows: ==>incvalue = er32(TIMINCA) & E1000_TIMINCA_INCVALUE_MASK; for (i = 0; i < E1000_MAX_82574_SYSTIM_REREADS; i++) {

Re: [PATCH 1/2] net: phy: add ethtool_phy_{get|set}_link_ksettings

2016-05-06 Thread Florian Fainelli
On 06/05/16 16:18, Philippe Reynes wrote: > The callback {get|set}_link_ksettings are often defined > in a very close way. There are mainly two differences in > those callback: > - the name of the netdev private structure > - the name of the struct phydev in the private structure > > We add two de

Re: [PATCH 05/11] pwm: tegra-dfll: Add driver for Tegra DFLL PWM controller

2016-05-06 Thread Stephen Warren
On 05/06/2016 05:15 PM, Stephen Boyd wrote: On 04/22, Thierry Reding wrote: On Fri, Apr 22, 2016 at 06:31:05PM +0800, Penny Chiu wrote: diff --git a/Documentation/devicetree/bindings/pwm/nvidia,tegra-dfll-pwm.txt b/Documentation/devicetree/bindings/pwm/nvidia,tegra-dfll-pwm.txt new file mode 1

[PATCH] debugobjects: insulate non-fixup logic related to static obj from fixup callbacks

2016-05-06 Thread changbin . du
From: "Du, Changbin" When activate a static object, we need make sure that the object is tracked in the object tracker. If it is a non-static object, then the activation illegal. In previous implementation, each subsystem need take care of this in their fixup callbacks. Actually we can put it in

[PATCH 2/2] net: ethernet: fec: use ethtool_phy_{get|set}_link_ksettings

2016-05-06 Thread Philippe Reynes
Use the generic ethtool_phy_{get|set}_link_ksettings to generate the callback for {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/freescale/fec_main.c | 25 ++--- 1 files changed, 2 insertions(+), 23 deletions(-) diff --git a/drivers/net/e

[PATCH 1/2] net: phy: add ethtool_phy_{get|set}_link_ksettings

2016-05-06 Thread Philippe Reynes
The callback {get|set}_link_ksettings are often defined in a very close way. There are mainly two differences in those callback: - the name of the netdev private structure - the name of the struct phydev in the private structure We add two defines ethtool_phy_{get|set}_link_ksettings to avoid writ

Re: [PATCH 05/11] pwm: tegra-dfll: Add driver for Tegra DFLL PWM controller

2016-05-06 Thread Stephen Boyd
On 04/22, Thierry Reding wrote: > On Fri, Apr 22, 2016 at 06:31:05PM +0800, Penny Chiu wrote: > > diff --git > > a/Documentation/devicetree/bindings/pwm/nvidia,tegra-dfll-pwm.txt > > b/Documentation/devicetree/bindings/pwm/nvidia,tegra-dfll-pwm.txt > > new file mode 100644 > > index 000..bd0d

[PATCH net-next 3/7] Driver: Vmxnet3: Allow variable length Transmit Data ring buffer

2016-05-06 Thread Shrikrishna Khare
Signed-off-by: Sriram Rangarajan Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_defs.h| 12 +++- drivers/net/vmxnet3/vmxnet3_drv.c | 55 ++- drivers/net/vmxnet3/vmxnet3_ethtool.c | 9 +++--- drivers/net/vmxnet3/vmxnet3_int.h | 7

[PATCH net-next 1/7] Driver: Vmxnet3: Prepare for version 3 changes

2016-05-06 Thread Shrikrishna Khare
Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/Makefile | 4 ++-- drivers/net/vmxnet3/upt1_defs.h | 4 ++-- drivers/net/vmxnet3/vmxnet3_defs.h| 9 ++--- drivers/net/vmxnet3/vmxnet3_drv.c | 22 +- drivers/net/vmxnet3/vmxnet3_ethtool.c |

[PATCH net-next 7/7] Driver: Vmxnet3: Update to Version 3

2016-05-06 Thread Shrikrishna Khare
Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_drv.c | 7 ++- drivers/net/vmxnet3/vmxnet3_int.h | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index fe1c6ad..5f98fb2 100644 --- a

[PATCH net-next 4/7] Driver: Vmxnet3: Add Receive Data Ring support

2016-05-06 Thread Shrikrishna Khare
Receive Data Ring buffer length is configurable via ethtool -G ethX rx-mini Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_defs.h| 14 +++- drivers/net/vmxnet3/vmxnet3_drv.c | 153 +++--- drivers/net/vmxnet3/vmxnet3_ethtool.c | 48 -

[PATCH net-next 0/7] Driver: Vmxnet3: Version 3

2016-05-06 Thread Shrikrishna Khare
This patchset upgrades Vmxnet3 to Version 3. Shrikrishna Khare (7): Driver: Vmxnet3: Prepare for version 3 changes Driver: Vmxnet3: Introduce generic command interface to configure the device Driver: Vmxnet3: Allow variable length Transmit Data ring buffer Driver: Vmxnet3: Add Receive

[PATCH net-next 5/7] Driver: Vmxnet3: Add support for get_coalesce, set_coalesce ethtool operations

2016-05-06 Thread Shrikrishna Khare
Signed-off-by: Keyong Sun Signed-off-by: Manoj Tammali Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_defs.h| 32 +++- drivers/net/vmxnet3/vmxnet3_drv.c | 47 drivers/net/vmxnet3/vmxnet3_ethtool.c | 135 ++ drivers/net

Re: [PATCH v7 7/9] clk: mediatek: Enable critical clocks for MT2701

2016-05-06 Thread Stephen Boyd
On 04/14, James Liao wrote: > Some system clocks should be turned on by default on MT2701. > This patch enable these clocks when related clocks have > been registered. > > Signed-off-by: James Liao > --- critical clks got merged now (sorry I'm slowly getting back to looking at patches). Please u

[PATCH net-next 2/7] Driver: Vmxnet3: Introduce generic command interface to configure the device

2016-05-06 Thread Shrikrishna Khare
Signed-off-by: Guolin Yang Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_defs.h | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/vmxnet3_defs.h b/drivers/net/vmxnet3/vmxnet3_defs.h index 8345e0c..a26a69d 100644 ---

[PATCH net-next 6/7] Driver: Vmxnet3: Introduce command to register memory region

2016-05-06 Thread Shrikrishna Khare
Signed-off-by: Guolin Yang Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_defs.h | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_defs.h b/drivers/net/vmxnet3/vmxnet3_defs.h index a0fdaac..a336b25 100644 --- a/drivers/net/vmxne

Re: [PATCH v7 4/9] clk: mediatek: Add MT2701 clock support

2016-05-06 Thread Stephen Boyd
On 04/14, James Liao wrote: > diff --git a/drivers/clk/mediatek/clk-mt2701.c > b/drivers/clk/mediatek/clk-mt2701.c > new file mode 100644 > index 000..b4db141 > --- /dev/null > +++ b/drivers/clk/mediatek/clk-mt2701.c > +static void __init mtk_infrasys_init(struct device_node *node) > +{ > +

[PATCH 2/2] net: Use ns_capable_noaudit() when determining net sysctl permissions

2016-05-06 Thread Tyler Hicks
The capability check should not be audited since it is only being used to determine the inode permissions. A failed check does not indicate a violation of security policy but, when an LSM is enabled, a denial audit message was being generated. The denial audit message caused confusion for some app

[PATCH 1/2] kernel: Add noaudit variant of ns_capable()

2016-05-06 Thread Tyler Hicks
When checking the current cred for a capability in a specific user namespace, it isn't always desirable to have the LSMs audit the check. This patch adds a noaudit variant of ns_capable() for when those situations arise. The common logic between ns_capable() and the new ns_capable_noaudit() is mov

[PATCH 0/2] Quiet noisy LSM denial when accessing net sysctl

2016-05-06 Thread Tyler Hicks
This pair of patches does away with what I believe is a useless denial audit message when a privileged process initially accesses a net sysctl. The bug was first discovered when running Go applications under AppArmor confinement. It can be triggered like so: $ echo "profile test { file, }" | su

Re: [PATCH v7 8/9] clk: mediatek: Add config options for MT2701 subsystem clocks

2016-05-06 Thread Stephen Boyd
On 04/14, James Liao wrote: > MT2701 subsystem clocks are optional and should be enabled only if > their subsystem drivers are ready to control these clocks. > > Signed-off-by: James Liao > --- Why is this patch split off from the patch that introduces the file? -- Qualcomm Innovation Center,

  1   2   3   4   5   6   7   >