[PATCH 06/27] ARM: dts: omap3-beagle-xm: remove unneeded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap3-beagle-xm.dtb: "encoder@0 has a unit name, but no reg property" "encoder@0/ports/port@0/endpoint@0 has a unit name, but no reg property" "encoder@0/ports/port@1/endpoint@0 has a unit name, but no reg property" "connector@0 has a unit name, but

[PATCH 24/27] ARM: dts: am437x: cm-t43: remove unneded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for am437x-sbc-t43.dtb: "endpoint@0 has a unit name, but no reg property" "connector@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/am437x-sbc-t43.dts | 2 +- arch/arm/boot/dts/compulab-sb-som.

[PATCH 25/27] ARM: dts: omap5-cm-t54: remove unneded unit names and add reg properties

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap5-cm-t54.dtb: "connector@0 has a unit name, but no reg property" "encoder@0 has a unit name, but no reg property" "endpoint@0 has a unit name, but no reg property" "connector@1 has a unit name, but no reg property" Signed-off-by: Javier Martinez

[PATCH 18/27] ARM: dts: omap4-duovero-parlor: remove unneded unit name

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap4-duovero-parlor.dtb: "connector@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/omap4-duovero-parlor.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/

[PATCH 20/27] ARM: dts: omap4-sdp: remove unneded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap4-sdp.dtb and omap4-sdp-es23plus.dtb: "encoder@0 has a unit name, but no reg property" "endpoint@0 has a unit name, but no reg property" "connector@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/b

[PATCH 23/27] ARM: dts: am437x-gp-evm: remove unneded unit name

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for am437x-gp-evm.dtb: "endpoint@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/am437x-gp-evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am437x-gp-e

[PATCH 26/27] ARM: dts: omap5-board-common: remove unneded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap5-igep0050.dtb, omap5-sbc-t54.dtb and omap5-uevm.dtb: "connector@0 has a unit name, but no reg property" "endpoint@0 has a unit name, but no reg property" "encoder@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas

Re: [PATCH v3 5/8] rtc: ac100: Add clk output support

2016-06-27 Thread Maxime Ripard
On Wed, Jun 22, 2016 at 06:11:55PM +0800, Chen-Yu Tsai wrote: > On Wed, Jun 22, 2016 at 6:02 PM, Maxime Ripard > wrote: > > Hi, > > > > On Mon, Jun 20, 2016 at 10:52:15AM +0800, Chen-Yu Tsai wrote: > >> + /* > >> + * The ADDA 4 MHz clock is from the codec side of the AC100, > >> + *

[PATCH 27/27] ARM: dts: am57xx: sbc-am57x: remove unneded unit name

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for am57xx-sbc-am57x.dtb: "endpoint@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/am57xx-sbc-am57x.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am57

[PATCH 21/27] ARM: dts: omap4-var-om44customboard: remove unneded unit name

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap4-var-dvk-om44.dtb and omap4-var-stk-om44.dtb: "connector@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/omap4-var-om44customboard.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

[PATCH 22/27] ARM: dts: am43xx-epos-evm: remove unneded unit name

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for am43xx-epos-evm.dtb: "endpoint@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/am43x-epos-evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am43x-ep

[PATCH 16/27] ARM: dts: sbc-t3x30: remove unneded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap3-sbc-t3517.dtb, omap3-sbc-t3530.dtb and omap3-sbc-t3730.dtb: "encoder@0 has a unit name, but no reg property" "endpoint@0 has a unit name, but no reg property" "connector@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Ca

[PATCH 03/27] ARM: dts: dm3730-torpedo-devkit: remove unneeded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings: "dmtimer-pwm@10 has a unit name, but no reg property" "display@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH 11/27] ARM: dts: omap3-ha-lcd: remove unneeded unit name

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap3-ha-lcd.dtb: "display@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/omap3-ha-lcd.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-ha-lcd.d

[PATCH 15/27] ARM: dts: omap3-pandora-common: remove unneded unit name

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap3-pandora-600mhz.dtb and omap3-pandora-1ghz.dtb: "connector@1 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/omap3-pandora-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 10/27] ARM: dts: omap3-gta04: remove unneeded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap3-gta04a3.dtb, omap3-gta04a4.dtb and omap3-gta04a5.dtb: "dmtimer-pwm@11 has a unit name, but no reg property" "connector@1 has a unit name, but no reg property" "endpoint@0 has a unit name, but no reg property" Signed-off-by: Javier Martinez Can

[PATCH 14/27] ARM: dts: omap3-overo-common-dvi: remove unneded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap3-overo-summit.dtb, omap3-overo-storm-tobi.dtb, omap3-overo-storm-summit.dtb and omap3-overo-tobi.dtb: "encoder@0 has a unit name, but no reg property" "endpoint@0 has a unit name, but no reg property" "connector@0 has a unit name, but no reg pro

[PATCH 05/27] ARM: dts: omap3-beagle: remove unneeded unit names

2016-06-27 Thread Javier Martinez Canillas
This patch fixes the following DTC warnings for omap3-beagle.dtb: "encoder@0 has a unit name, but no reg property" "encoder@0/ports/port@0/endpoint@0 has a unit name, but no reg property" "encoder@0/ports/port@1/endpoint@0 has a unit name, but no reg property" "connector@0 has a unit name, but no

[RFC v2 1/3] dma-buf/fence-array: add fence_is_array()

2016-06-27 Thread Gustavo Padovan
From: Gustavo Padovan Add helper to check if fence is array. Cc: Chris Wilson Cc: Christian König Signed-off-by: Gustavo Padovan --- include/linux/fence-array.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/linux/fence-array.h b/include/linux/fence-array.h index 86b

[RFC v2 0/3] dma-buf/sync_file: rework fences on struct sync_file

2016-06-27 Thread Gustavo Padovan
From: Gustavo Padovan Hi all, This is an attempt to improve fence support on Sync File. The basic idea is to have only sync_file->fence and store all fences there, either as normal fences or fence_arrays. That way we can remove some potential duplication when using fence_array with sync_file: th

[PATCH v5 5/5] block: remove ->driverfs_dev

2016-06-27 Thread Dan Williams
Now that all drivers that specify a ->driverfs_dev have been converted to device_add_disk(), the pointer can be removed from struct gendisk. Cc: Jens Axboe Cc: Ross Zwisler Reviewed-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn Signed-off-by: Dan Williams --- block/genhd.c |

[PATCH v5 4/5] block: convert to device_add_disk()

2016-06-27 Thread Dan Williams
For block drivers that specify a parent device, convert them to use device_add_disk(). This conversion was done with the following semantic patch: @@ struct gendisk *disk; expression E; @@ - disk->driverfs_dev = E; ... - add_disk(disk); + device_add_disk(E, disk);

[PATCH v5 1/5] block: introduce device_add_disk()

2016-06-27 Thread Dan Williams
In preparation for removing the ->driverfs_dev member of a gendisk, add an api that takes the parent device as a parameter to add_disk(). For now this maintains the status quo of WARN()ing on failure, but not return a error code. Reviewed-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn Re

[RFC v2 3/3] dma-buf/sync_file: rework fence storage in struct file

2016-06-27 Thread Gustavo Padovan
From: Gustavo Padovan Create sync_file->fence to abstract the type of fence we are using for each sync_file. If only one fence is present we use a normal struct fence but if there is more fences to be added to the sync_file a fence_array is created. This change cleans up sync_file a bit. We don'

[PATCH v5 2/5] mmc: move 'parent' tracking to mmc_blk_data

2016-06-27 Thread Dan Williams
In preparation for the removal of 'driverfs_dev' from 'struct gendisk', carry this data in mmc_blk_data. It is used for registration of parent disks and partitions. Cc: Ulf Hansson Cc: Bart Van Assche Signed-off-by: Dan Williams --- drivers/mmc/card/block.c |5 +++-- 1 file changed, 3 inse

[RFC v2 2/3] dma-buf/fence-array: add fence_array_teardown()

2016-06-27 Thread Gustavo Padovan
From: Gustavo Padovan As the array of fence callbacks held by an active struct fence_array each has a reference to the struct fence_array, when the owner of the fence_array is freed it must dispose of the callback references before it can free the fence_array. This can not happen simply during fe

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-27 Thread Stephen Boyd
Quoting Roger Quadros (2016-06-27 00:39:51) > Hi Stephen, > > On 26/06/16 08:56, Stephen Boyd wrote: > > Some Qualcomm PMICs have a misc device that performs USB id pin > > detection via an interrupt. When the interrupt triggers, we > > should read the interrupt line to see if it has gone high or

[PATCH v5 0/5] Introduce device_add_disk() to kill gendisk.driverfs_dev

2016-06-27 Thread Dan Williams
Changes since v4 [1]: 1/ Continue to populate ->driverfs_dev until the final removal so that there are no behavior changes in the middle of the series, for example in printk_all_partitions(). (Bart) 2/ Use more descriptive 'parent' variable name instead of 'dev' in ubd_kern.c to indicate the pare

Re: [RESEND][PATCH] device-tree: nexus7: Remove power gpio key entry and use pmic8xxx-pwrkey

2016-06-27 Thread Stephen Boyd
Quoting John Stultz (2016-06-22 16:45:50) > Since the pmic8xxx-pwrkey driver is already supported in the > qcom-apq8064.dtsi, and the pmic8xxx-pwrkey supports logic to > configure proper device shutdown when ps_hold goes low, it is > better to use that driver then a generic gpio button. > > Thus t

[PATCH net] bpf, perf: delay release of BPF prog after grace period

2016-06-27 Thread Daniel Borkmann
Commit dead9f29ddcc ("perf: Fix race in BPF program unregister") moved destruction of BPF program from free_event_rcu() callback to __free_event(), which is problematic if used with tail calls: if prog A is attached as trace event directly, but at the same time present in a tail call map used by an

[PATCH v5 3/5] um: track 'parent' device in a local variable

2016-06-27 Thread Dan Williams
In preparation for the removal of 'driverfs_dev' from 'struct gendisk' use a local variable to track the parented vs un-parented case in ubd_disk_register(). Cc: Jeff Dike Cc: Richard Weinberger Cc: Bart Van Assche Signed-off-by: Dan Williams --- arch/um/drivers/ubd_kern.c |5 +++-- 1 fil

Re: [PATCH v2 3/3] drivers core: allow id match override when manually binding driver

2016-06-27 Thread Michal Suchanek
On 27 June 2016 at 21:09, Greg Kroah-Hartman wrote: > On Mon, Jun 27, 2016 at 09:02:32PM +0200, Michal Suchanek wrote: >> The spi bus has no autodetection whatsoever. The 'detection' of the >> device that's suposed to be on the other side completely relies on user >> supplied information coming fr

Re: [RESEND PATCH v2 0/4] Add support i2s/spdif/gmac features for RK322x SoCs

2016-06-27 Thread Heiko Stuebner
Am Mittwoch, 22. Juni 2016, 11:16:49 schrieb Xing Zheng: > Hi, > We have the brother chipset product that RK3228 and RK3229, > They have many common configuration, but there are a number > of different features. In order to develop the future when they > are easy to distinguish, we need them to b

Re: [PATCH 3/6] Clocksource: add nuc970 clocksource driver

2016-06-27 Thread Daniel Lezcano
On 06/25/2016 12:37 PM, Wan Zongshun wrote: This patch is to add nuc970 clocksource driver support. Hi Wan, add a detailed description of how works this timer and its general design. If there is a pointer or a reference to a manual that would be awesome. Signed-off-by: Wan Zongshun ---

Re: [RFC PATCH 0/4] ARM: remove big.LITTLE switcher support

2016-06-27 Thread Nicolas Pitre
On Mon, 27 Jun 2016, Bartlomiej Zolnierkiewicz wrote: > Hi, > > It seems that in mainline kernel big.LITTLE switcher support > may be usable only on ARM Versatile Express TC2 platform > (but even this platform doesn't enable it in its defconfig). It is also used on some Samsung targets. > The f

Re: [PATCH] capabilities: add capability cgroup controller

2016-06-27 Thread Serge E. Hallyn
Quoting Tejun Heo (t...@kernel.org): > Hello, > > On Mon, Jun 27, 2016 at 3:10 PM, Topi Miettinen wrote: > > I'll have to study these more. But from what I saw so far, it looks to > > me that a separate tool would be needed to read taskstats and if that > > tool is not taken by distros, the users

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-06-27 Thread Sedat Dilek
On Mon, Mar 7, 2016 at 7:30 PM, Linus Torvalds wrote: > On Mon, Mar 7, 2016 at 10:07 AM, Alan Stern wrote: >> >> Of course, there are other ways to save a single flag value (such as >> setz). It's up to the compiler developers to decide what they think is >> best. > > Using 'setcc' to save eflag

Re: [PATCH] notifier: Fix soft lockup for notifier_call_chain().

2016-06-27 Thread Cong Wang
On Fri, Jun 24, 2016 at 7:46 PM, Ding Tianhong wrote: > diff --git a/kernel/notifier.c b/kernel/notifier.c > index fd2c9ac..9c30411 100644 > --- a/kernel/notifier.c > +++ b/kernel/notifier.c > @@ -92,6 +92,8 @@ static int notifier_call_chain(struct notifier_block **nl, > #endif >

Re: [PATCH] audit: catch errors from audit_filter_rules field checks

2016-06-27 Thread Paul Moore
On Thu, Jun 16, 2016 at 5:07 PM, Paul Moore wrote: > On Tue, Jun 14, 2016 at 5:03 PM, Richard Guy Briggs wrote: >> In the case of an error returned from a field check in an audit filter >> syscall rule, it is treated as a match and the rule action is honoured. >> >> This could cause a rule with a

[PATCH] rtc: adjust MAINTAINERS entry

2016-06-27 Thread Alexandre Belloni
Add missing files to the RTC entry of MAINTAINERS Signed-off-by: Alexandre Belloni --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 72c28f4520d5..e86cf021113c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9563,6 +9563,9 @@ F:Document

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-06-27 Thread Sedat Dilek
On Mon, Jun 27, 2016 at 9:50 PM, Sedat Dilek wrote: > On Mon, Mar 7, 2016 at 7:30 PM, Linus Torvalds > wrote: >> On Mon, Mar 7, 2016 at 10:07 AM, Alan Stern >> wrote: >>> >>> Of course, there are other ways to save a single flag value (such as >>> setz). It's up to the compiler developers to d

rc5+tip/master: Marking clocksource 'tsc' as unstable because the skew is too large:

2016-06-27 Thread Borislav Petkov
Hey Thomas, Just started seeing this now during testing of Rafael's s/r fix: [ 24.973955] clocksource: timekeeping watchdog on CPU3: Marking clocksource 'tsc' as unstable because the skew is too large: [ 24.987744] clocksource: 'acpi_pm' wd_now: 2df835 wd_last: a6bb64

Re: [PATCH v3] x86/power/64: Fix kernel text mapping corruption during image restoration (was: Re: ktime_get_ts64() splat during resume)

2016-06-27 Thread Borislav Petkov
On Mon, Jun 27, 2016 at 04:24:22PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: [PATCH v2] x86/power/64: Fix kernel text mapping corruption during > image restoration > > Logan Gunthorpe reports that hibernation stopped working reliably for > him after commit ab76f7b4ab23

[GIT PULL] kbuild regression fix

2016-06-27 Thread Michal Marek
Hi Linus, please pull this kbuild regression fix. The problem is that 9c8fa9bc08f6 ("kbuild: fix if_change and friends to consider argument order") fixed a potential missed rebuild, but this results in unnnecessary rebuilds with the packaging targets. Which is still more correct than the previous

Re: Regression in "kbuild: fix if_change and friends to consider argument order"

2016-06-27 Thread Michal Marek
Dne 26.6.2016 v 12:43 Thorsten Leemhuis napsal(a): > On 09.06.2016 01:29, Zanoni, Paulo R wrote: >> Em Ter, 2016-06-07 às 23:52 +0200, Michal Marek escreveu: >>> On Tue, Jun 07, 2016 at 02:10:28PM +, Zanoni, Paulo R wrote: >>> From b36fad65d61fffe4b662d4bfb1ed673c455a36a2 Mon Sep 17 00:00:00 >>

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-06-27 Thread Linus Torvalds
On Mon, Jun 27, 2016 at 12:50 PM, Sedat Dilek wrote: > > $ objdump -S clang-eflag.o > > clang-eflag.o: file format elf64-x86-64 > > > Disassembly of section .text: > > : >0: 55 push %rbp >1: 48 89 e5mov%rsp,%rbp >4:

[4.4.y] llvmlinux: Backport "x86/hweight: Get rid of the special calling convention"

2016-06-27 Thread Sedat Dilek
Hi, I backported the patch of Borislav Petkov from [1] to Linux v4.4.0 LTS and it fixes a long standing issue with llvmlinux. Hope the patch is correct. The patch I had in series is now obsolete. Thanks for the patch! Regards, - Sedat - [1] http://git.kernel.org/cgit/linux/kernel/git/tip/tip

Re: [PATCH v3 3/9] kexec_file: Factor out kexec_locate_mem_hole from kexec_add_buffer.

2016-06-27 Thread Dave Young
Please ignore previous reply, I mistakenly send a broken mail without subject, sorry about it. Resend the reply here. On 06/27/16 at 01:37pm, Thiago Jung Bauermann wrote: > Am Dienstag, 28 Juni 2016, 00:19:48 schrieb Dave Young: > > On 06/23/16 at 12:37pm, Thiago Jung Bauermann wrote: > > > Am Don

Re: [PATCH v4 3/3] acpi/pmic: Add support for PMIC regs operation region

2016-06-27 Thread Rafael J. Wysocki
On Monday, June 27, 2016 05:37:35 PM Heikki Krogerus wrote: > On Mon, Jun 27, 2016 at 03:25:11PM +0200, Rafael J. Wysocki wrote: > > On Mon, Jun 27, 2016 at 11:26 AM, Heikki Krogerus > > wrote: > > > Whoa! Hold on! > > > > > > On Thu, Jun 23, 2016 at 05:52:53PM -0700, Bin Gao wrote: > > >> Broxton

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-06-27 Thread Sedat Dilek
On Mon, Jun 27, 2016 at 10:14 PM, Linus Torvalds wrote: > On Mon, Jun 27, 2016 at 12:50 PM, Sedat Dilek wrote: >> >> $ objdump -S clang-eflag.o >> >> clang-eflag.o: file format elf64-x86-64 >> >> >> Disassembly of section .text: >> >> : >>0: 55 push

Re: [PATCH] ALSA: echoaudio: Fix memory allocation

2016-06-27 Thread Takashi Iwai
On Mon, 27 Jun 2016 21:06:51 +0200, Christophe JAILLET wrote: > > 'commpage_bak' is allocated with 'sizeof(struct echoaudio)' bytes. > We then copy 'sizeof(struct comm_page)' bytes in it. > On my system, smatch complains because one is 2960 and the other is 3072. > > This would result in memory c

Re: [PATCH v2 11/15] clk: sunxi-ng: Add N-M-factor clock support

2016-06-27 Thread Maxime Ripard
Hi, On Thu, Jun 09, 2016 at 09:41:01AM +0200, Jean-Francois Moine wrote: > On Tue, 7 Jun 2016 22:41:50 +0200 > Maxime Ripard wrote: > > > Introduce support for clocks that multiply and divide using linear factors. > > > > Signed-off-by: Maxime Ripard > > > > --- > > Changes from v1: > > -

Re: next build: 142 builds: 6 failed, 136 passed, 17 errors, 111 warnings (next-20160624)

2016-06-27 Thread Kevin Hilman
Arnd Bergmann writes: > On Friday, June 24, 2016 2:28:59 PM CEST kernelci. org bot wrote: [...] >> 1 .config:972:warning: override: NOHIGHMEM changes choice state >> 1 .config:971:warning: override: SLOB changes choice state >> 1 .config:969:warning: override: KERNEL_XZ cha

Re: [PATCH v2 3/3] drivers core: allow id match override when manually binding driver

2016-06-27 Thread Mark Brown
On Mon, Jun 27, 2016 at 09:40:38PM +0200, Michal Suchanek wrote: > No. It's for buses that have some inherent identification. It's not for > 1) generate random compatible and stick it in device tree Don't generate a random compatible, generate one that accurately describes your hardware. > also

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

2016-06-27 Thread Linus Torvalds
On Mon, Jun 27, 2016 at 1:27 PM, Sedat Dilek wrote: > > I just grepped for some "buzzwords" people gave me in this > email-thread and I was looking at (llvm.git HEAD - upcoming v3.9 > release) and found these comments in [1] > > > [1] > https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X

Re: [PATCH v2 1/3] spi: spidev: fix the check for spidev in dt

2016-06-27 Thread Mark Brown
On Mon, Jun 27, 2016 at 09:02:30PM +0200, Michal Suchanek wrote: > Also the spidev id match table is not compiled when !CONFIG_OF To repeat what I said last time we have stub defines for this stuff for a reason. > This does not work if you manage to convince the kernel to bind spidev > on a node

Re: [PATCH v2 00/15] clk: sunxi: introduce "modern" clock support

2016-06-27 Thread Maxime Ripard
On Tue, Jun 21, 2016 at 08:29:19PM +0200, Jean-Francois Moine wrote: > On Tue, 21 Jun 2016 16:47:52 +0200 > Maxime Ripard wrote: > > > > But I had some problems with some features as the 'mode select' in the > > > A83T MMC2 clock. > > > Also, I think that you did not go far enough in the changes.

[patch] qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag()

2016-06-27 Thread Dan Carpenter
There is a static checker warning here "warn: mask and shift to zero" and the code sets "ring" to zero every time. From looking at how QLCNIC_FETCH_RING_ID() is used in qlcnic_83xx_process_rcv_ring() the qlcnic_83xx_hndl() should be removed. Fixes: 4be41e92f7c6 ('qlcnic: 83xx data path routines')

[PATCH 02/18] perf tools: Update makefile message for installing slang devel package

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Neeraj Badlani In case of missing library (libslang), give hint to install library (libslang2-dev), since libslang-dev is not provided by Ubuntu. Signed-off-by: Neeraj Badlani Link: http://lkml.kernel.org/r/1467035997-9100-1-git-send-email-neerajbadl...@gmail.com [ removed excessive 'or'

[PATCH 05/18] perf tools: Add documentation for perf.data on disk format

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Add some documentation for the on disk format of perf.data. This is not documenting the actual perf events -- which are documented in perf_event.h -- but just the additional headers that perf record adds around them when writing the data to disk. Signed-off-by: Andi Kleen Cc: A

[PATCH 17/18] perf data ctf: Add '--all' option for 'perf data convert'

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan After this patch, 'perf data convert' convert comm events to output CTF stream. Result: # perf record -a sleep 1 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.378 MB perf.data (73 samples) ] # perf data convert --to-ctf ./out.ctf

[PATCH 13/18] perf data ctf: Pass convert options through opts structure

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan Following commits will add new option to 'perf data convert'. All options should be grouped into a structure and passed to low level converter (currently there's only one converter). Introduce data-convert.h and define 'struct perf_data_convert_opts' in it. Pass 'force' through op

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-27 Thread okaya
On 2016-06-27 16:04, Wim Osterholt wrote: On Mon, Jun 27, 2016 at 04:22:18AM -0400, ok...@codeaurora.org wrote: > However, an earlier try on my Inspiron 510m did not work. > I'll do a clean retry later today, just to make sure. Ok, let me know. I can post a clean patch series. I was trying to

[PATCH 18/18] perf data ctf: Generate fork and exit events to CTF output

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan If 'all' is selected, convert fork and exit events to output CTF stream. Signed-off-by: Wang Nan Acked-by: Jiri Olsa Cc: Zefan Li Cc: pi3or...@163.com Link: http://lkml.kernel.org/r/1466767332-114472-8-git-send-email-wangn...@huawei.com Signed-off-by: Arnaldo Carvalho de Melo

[PATCH 07/18] perf data convert: Include config.h header

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Otherwise some compiler might scream: $ make LIBBABELTRACE_DIR=/opt/libbabeltrace/ LIBBABELTRACE=1 BUILD: Doing 'make -j4' parallel build CC util/data-convert-bt.o util/data-convert-bt.c: In function ‘convert__config’: util/data-convert-bt.c:1299:19: error:

[PATCH 12/18] perf data ctf: Add value_set_string() helper

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan There are many value_set_##x helper for integer, but only for integer. This patch adds value_set_string() helper to help following commits create string fields. Signed-off-by: Wang Nan Acked-by: Jiri Olsa Cc: Zefan Li Cc: pi3or...@163.com Link: http://lkml.kernel.org/r/1466767

[PATCH 14/18] perf data ctf: Add 'all' option

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan If 'all' option is selected, 'perf data convert' should convert not only samples, but non-sample events such as comm and fork. Add this option in perf_data_convert_opts. Following commits will add cmdline option to select it. Signed-off-by: Wang Nan Acked-by: Jiri Olsa Cc: Zefan

[PATCH 09/18] perf record: Prepare reading from multiple evlists in record__mmap_read_all()

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan Following commits introduce new evlists to record. This patch adjusts record__mmap_read_all() and record__mmap_read(): converting original record__mmap_read_all() to record__mmap_read_evlist(), read from one evlist; makes record__mmap_read() reading from specific evlist. record__mm

[GIT PULL 00/18] perf/core improvements and fixes

2016-06-27 Thread Arnaldo Carvalho de Melo
/git/acme/linux.git tags/perf-core-for-mingo-20160627 for you to fetch changes up to 6d9c675078e697309c1c06a1051f01de8151c476: perf data ctf: Generate fork and exit events to CTF output (2016-06-27 15:50:23 -0300) perf/core

[PATCH 10/18] perf record: Prepare picking perf_event_mmap_page from multiple evlists

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan Following commits introduce new evlists to record. This patch adjusts record__pick_pc() and introduces perf_evlist__pick_pc() to read control page from one specific evlist. record__pick_pc() will be improved to search control page from multiple evlists. Signed-off-by: Wang Nan Cc

[PATCH 11/18] perf symbols: Use proper dso name for is_regular_file

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Marc reported use of uninitialized memory: > In commit "403567217d3f perf symbols: Do not read symbols/data from > device files" a check to uninitialzied memory was added. This leads to > the following valgrind output: > > ==24515== Syscall param stat(file_name) points to uninit

[PATCH 15/18] perf data ctf: Prepare collect non-sample events

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan Following commits are going to allow 'perf data convert' to collect not only samples, but also non-sample events like comm and fork. In this patch we count non-sample events using c.non_sample_count, and prepare to print number of both type of events like: # ~/perf data convert

[PATCH 16/18] perf data ctf: Generate comm event to CTF output

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan If 'all' is selected, convert comm event to output CTF stream. setup_non_sample_events() is called if non_sample is selected. It creates a comm_class for comm event. Use macros to generate and process_comm_event and add_comm_event. These macros can be reused for other non-sample

[PATCH 08/18] perf record: Move mmap setup block to separate function

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan Following commits introduce multiple evlists to record. This patch extracts perf_evlist__mmap_ex() processing to a new function, creates record__mmap() and record__mmap_evlist() to wrap perf_evlist__mmap_ex() and its error processing. They will be improvemented to create mmap for a

[PATCH 06/18] perf build: Add libbabeltrace to build-test

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Wang Nan 'make build-test' doesn't test LIBBABELTRACE=1. It misses a building failure caused by commit 41840d211c51 ("perf config: Move config declarations from util/cache.h to util/config.h"), breaks bisect. Add LIBBABELTRACE=1 to build-test. Signed-off-by: Wang Nan Cc: Jiri Olsa Cc: Z

Freeing alternatives sections after module init?

2016-06-27 Thread Jessica Yu
Hi Rusty, I noticed that the module loader keeps .altinstructions and .altinstr_replacement (which are normally freed after kernel init) in core memory after module init, so these sections are never freed for modules. In fact, the module loader seems to keep a number of sections normally marked

Re: next build: 142 builds: 6 failed, 136 passed, 17 errors, 111 warnings (next-20160624)

2016-06-27 Thread Arnd Bergmann
On Monday, June 27, 2016 1:30:17 PM CEST Kevin Hilman wrote: > Arnd Bergmann writes: > > > On Friday, June 24, 2016 2:28:59 PM CEST kernelci. org bot wrote: > > [...] > > >> 1 .config:972:warning: override: NOHIGHMEM changes choice state > >> 1 .config:971:warning: override: SLOB

[PATCH 03/18] perf annotate: Generalize handling of 'ret' instructions

2016-06-27 Thread Arnaldo Carvalho de Melo
From: "Naveen N. Rao" Introduce helper to detect 'ret' instructions and use the same in the TUI. A helper is needed since some architectures such as powerpc have more than one return instruction. Signed-off-by: Naveen N. Rao Cc: Ananth N Mavinakayanahalli Cc: Anton Blanchard Cc: Daniel Axtens

[PATCH 01/18] perf annotate: Remove unused hist_entry__annotate function

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Ravi Bangoria hist_entry__annotate looks part of API but I don't find any caller of this function. Removing it. Signed-off-by: Ravi Bangoria Cc: Ananth N Mavinakayanahalli Cc: Anton Blanchard Cc: Daniel Axtens Cc: Michael Ellerman Link: http://lkml.kernel.org/r/1466769240-12376-2-git

[PATCH 04/18] perf tools: Add more toolchain triplets

2016-06-27 Thread Arnaldo Carvalho de Melo
From: Ravi Bangoria Add few more triplets based on Fedora and Ubuntu binutils (cross tools). Before applying patch on x86: ( Install binutils-powerpc64-linux-gnu.x86_64 ) $ perf report -i perf.data.powerpc --vmlinux vmlinux.powerpc \ --objdump powerpc64-linux-gnu-objdump After applyi

Re: [PATCH v4] audit: add fields to exclude filter by reusing user filter

2016-06-27 Thread Richard Guy Briggs
On 2016-06-27 11:18, Paul Moore wrote: > On Fri, Jun 24, 2016 at 4:35 PM, Richard Guy Briggs wrote: > > RFE: add additional fields for use in audit filter exclude rules > > https://github.com/linux-audit/audit-kernel/issues/5 > > > > Re-factor and combine audit_filter_type() with audit_filter_user

Re: [PATCH v4 5/8] spi: add support for ACPI reconfigure notifications

2016-06-27 Thread Rafael J. Wysocki
On Mon, Jun 27, 2016 at 4:17 PM, Mark Brown wrote: > On Fri, Jun 17, 2016 at 02:52:13PM +0300, Octavian Purdila wrote: > >> This patch adds supports for SPI device enumeration and removal via >> ACPI reconfiguration notifications that are send as a result of an >> ACPI table load or unload operati

Re: [PATCH v2 2/3] spi: of: allow instantiating slaves without a driver

2016-06-27 Thread Mark Brown
On Mon, Jun 27, 2016 at 09:02:31PM +0200, Michal Suchanek wrote: > SPI slave devices are not created when looking up driver for the slave > fails. Create a device anyway so it can be manually bound to a driver. That's not what of_modalias_node() does, of_modalias_node() just mangles a compatible

Re: [PATCH 1/2] freezer, oom: check TIF_MEMDIE on the correct task

2016-06-27 Thread Rafael J. Wysocki
On Mon, Jun 27, 2016 at 2:15 PM, Michal Hocko wrote: > From: Michal Hocko > > freezing_slow_path is checking TIF_MEMDIE to skip OOM killed > tasks. It is, however, checking the flag on the current task rather than > the given one. This is really confusing because freezing() can be called > also o

RE: [PATCH v4 3/3] acpi/pmic: Add support for PMIC regs operation region

2016-06-27 Thread Gao, Bin
I'm fine with that. Thanks Rafael. -Bin -Original Message- From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Monday, June 27, 2016 1:29 PM To: Heikki Krogerus Cc: Rafael J. Wysocki; Bin Gao; Lu, Aaron; Gortmaker, Paul (Wind River); ACPI Devel Maling List; Linux Kernel Mailing Li

Re: [PATCH v3] mailbox: pcc: Support HW-Reduced Communication Subspace type 2

2016-06-27 Thread Rafael J. Wysocki
On Monday, June 27, 2016 11:27:42 AM Hoan Tran wrote: > Hi Jassi and Rafael, > > On Wed, Jun 15, 2016 at 9:19 AM, Prakash, Prashanth > wrote: > > > > > > On 6/9/2016 4:43 PM, Hoan Tran wrote: > >> Hi Prashanth, > >> > >> On Thu, Jun 9, 2016 at 3:25 PM, Prakash, Prashanth > >> wrote: > >>> > >>>

Re: tty/vt/keyboard: out of bounds access in do_compute_shiftstate

2016-06-27 Thread Dmitry Torokhov
On Sun, May 29, 2016 at 01:52:44PM -0400, Sasha Levin wrote: > Hi all, > > I've hit the following while fuzzing with syzkaller inside a KVM tools guest > running the latest -next kernel: > > [ 2662.777566] BUG: KASAN: global-out-of-bounds in > do_compute_shiftstate+0x161/0x370 at addr b2

Re: [4.4.y] llvmlinux: Backport "x86/hweight: Get rid of the special calling convention"

2016-06-27 Thread Sedat Dilek
> The patch I had in series is now obsolete. > That's the correct one. - Sedat - From 5a10fe05cb0b8169b7616f79471e50751f3222f5 Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Mon, 12 Oct 2015 09:39:28 +0200 Subject: [PATCH] x86/hweight: boot: llvmlinux: Workaround LLVM Bug PR9457 This workarou

Re: linux-next: Tree for Jun 27 (pinctrl && !CONFIG_OF)

2016-06-27 Thread Arnd Bergmann
On Monday, June 27, 2016 11:15:25 AM CEST Randy Dunlap wrote: > On 06/26/16 23:39, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20160624: > > > > on i386, when CONFIG_OF is not enabled ... > but OF_GPIO is enabled due to this in drivers/gpio/Kconfig: > > config OF_GPIO > de

[PATCH] mm: faster kmalloc_array(), kcalloc()

2016-06-27 Thread Alexey Dobriyan
When both arguments to kmalloc_array() or kcalloc() are known at compile time then their product is known at compile time but search for kmalloc cache happens at runtime not at compile time. Signed-off-by: Alexey Dobriyan --- include/linux/slab.h |2 ++ 1 file changed, 2 insertions(+) ---

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

2016-06-27 Thread Tai Nguyen
Signed-off-by: Tai Nguyen --- Documentation/perf/xgene-pmu.txt | 48 ++ drivers/perf/Kconfig |7 + drivers/perf/Makefile|1 + drivers/perf/xgene_pmu.c | 1359 ++ 4 files changed, 1415 insertions(+) create mode 100644 D

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

2016-06-27 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 v5 4/4] arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries

2016-06-27 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 fe30f76..62806e0 100644 --- a/arch/arm64/boot/dts/apm

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

2016-06-27 Thread Tai Nguyen
Signed-off-by: Tai Nguyen --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4978dc1..3bd4143 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8593,6 +8593,14 @@ L: linux-s...@vger.kernel.org S: Supported F: drivers/scsi/pm800

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

2016-06-27 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] net: ethernet: mvpp2: use phydev from struct net_device

2016-06-27 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phydev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet

[PATCH 2/2] net: ethernet: mvpp2: use phy_ethtool_{get|set}_link_ksettings

2016-06-27 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/marvell/mvpp2.c | 22 ++ 1 files changed, 2 insertions(+), 20 deletions(-) dif

Re: [PATCH v2 3/3] drivers core: allow id match override when manually binding driver

2016-06-27 Thread Greg Kroah-Hartman
On Mon, Jun 27, 2016 at 09:40:38PM +0200, Michal Suchanek wrote: > On 27 June 2016 at 21:09, Greg Kroah-Hartman > wrote: > > On Mon, Jun 27, 2016 at 09:02:32PM +0200, Michal Suchanek wrote: > >> The spi bus has no autodetection whatsoever. The 'detection' of the > >> device that's suposed to be o

Re: [1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-27 Thread Mario Limonciello
Andy, > (And I'm curious why 1.4.3 seems to have been pulled. Might it have > been this issue? For better or for worse, I upgraded in the narrow > window in which it was available on Dell's website.) It wasn't pulled in relation to this issue. It was something else. Nothing I'm aware of in th

Re: [PATCH 1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-27 Thread Andy Lutomirski
On Mon, Jun 27, 2016 at 10:55 AM, Andy Lutomirski wrote: > On 06/23/2016 01:31 AM, Allen Hung wrote: >> >> This reverts commit 25a84db15b3f ("HID: multitouch: enable palm rejection >> if device implements confidence usage") >> >> The commit enables palm rejection for Win8 Precision Touchpad device

<    1   2   3   4   5   6   7   8   9   >