Re: [RFC PATCH 3/4] trace: Duplicate the output of the function trace logs to STM

2016-06-08 Thread Chunyan Zhang
On Tue, Jun 7, 2016 at 6:00 PM, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> This patch adds an output from Ftrace to STM. > > But does it? > >> That being said, >> Function trace messages would also be duplicated to STM

Re: [PATCH 01/20] [v2] x86, intel: Introduce macros for Intel family numbers

2016-06-08 Thread Ingo Molnar
* Dave Hansen wrote: > > Changes from v1: > * added acks from a few folks > * Took the redundant "MODEL_" out of the macro names (Suggested >by Borislav Petkov and acked by others) > > From: Dave Hansen > > If you are cc'd on this code,

[PATCH v2 1/2] phy: phy-qcom-ufs-qmp-14nm: Remove site specific OOM error message

2016-06-08 Thread Peter Griffin
kzalloc will issue its own error message including a dump_stack() so remote the site specific message. Signed-off-by: Peter Griffin --- v2: Add brackets so goto is not executed unconditionally (Baruch) --- drivers/phy/phy-qcom-ufs-qmp-14nm.c | 1 - 1 file changed, 1

Re: [PATCH 1/3] perf/x86/intel: output LBR support statement after validation

2016-06-08 Thread Andi Kleen
> Ok, so you're saying that syscall and int are not causing LBR callstack to > record an entry. If that is the case, then a rfi should not cause a pop of the > last LBR entry. Is that right? rfi = ? But likely yes. There shouldn't be any ring 0 branches in the callstack LBR, as long as the patch

[PATCH 1/2] topology/sysfs: provide drawer id and siblings attributes

2016-06-08 Thread Heiko Carstens
The s390 cpu topology gained another hierarchy level. The top level is now called drawer and contains several books. A book used to be the top level. In order to expose the cpu topology to user space allow to create new sysfs attributes dependent on CONFIG_SCHED_DRAWER which an architecture may

[PATCH v3 16/20] pwm: sti: Add support for PWM Capture IRQs

2016-06-08 Thread Lee Jones
Here we're requesting the PWM Capture IRQ and supplying the handler which will be called in the event of an IRQ fire to handle it. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 92 ++- 1 file changed, 91 insertions(+),

[PATCH v3 17/20] pwm: sti: Add PWM Capture call-back

2016-06-08 Thread Lee Jones
Once a PWM Capture has been initiated, the capture call enables a rising edge detection IRQ, then waits. Once each of the 3 phase changes have been recorded the thread then wakes. The remaining part of the call carries out the relevant calculations and passes back a formatted string to the

[PATCH perf/core v10 17/23] perf: probe-cache: Add for_each_probe_cache_entry() wrapper

2016-06-08 Thread Masami Hiramatsu
Add for_each_probe_cache_entry() wrapper macro for hiding list in probe_cache. Signed-off-by: Masami Hiramatsu --- Changes in v10: - Splitted from "perf probe: Allow wildcard for cached events" --- tools/perf/util/probe-file.c |8

[PATCH perf/core v10 21/23] perf probe: Support a special SDT probe format

2016-06-08 Thread Masami Hiramatsu
Support a special SDT probe format which can omit the '%' prefix only if the SDT group name starts with "sdt_". So, for example both of "%sdt_libc:setjump" and "sdt_libc:setjump" are acceptable for perf probe --add. Suggested-by: Brendan Gregg Signed-off-by: Masami

Re: [PATCH 02/10] x86, asm: use bool for bitops and other assembly outputs

2016-06-08 Thread H. Peter Anvin
On 06/08/16 02:20, Ingo Molnar wrote: > > Yeah, absolutely. I hate 'bool' with a vengence but if 'int' generates worse > code > with modern compilers then I'm not going to argue for worse code. Would a > 'char' > return type be very weird? > Yes. I have to admit I don't share your hatred

[PATCH] zram: add zpool support

2016-06-08 Thread Geliang Tang
This patch adds zpool support for zram, it will allow us to use both the zpool api and directly zsmalloc api in zram. Signed-off-by: Geliang Tang --- drivers/block/zram/zram_drv.c | 97 +++ drivers/block/zram/zram_drv.h | 5 +++ 2

[PATCH v3 08/20] pwm: Add PWM Capture support

2016-06-08 Thread Lee Jones
Supply a PWM Capture call-back Op in order to pass back information obtained by running analysis on PWM a signal. This would normally (at least during testing) be called from the Sysfs routines with a view to printing out PWM Capture data which has been encoded into a string. Signed-off-by: Lee

[PATCH] fsl/qe: Do not prefix header guard with CONFIG_

2016-06-08 Thread Andreas Ziegler
The CONFIG_ prefix should only be used for options which can be configured through Kconfig and not for guarding headers. Signed-off-by: Andreas Ziegler --- include/soc/fsl/qe/qe_tdm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 3/5] Staging: comedi: das800: fix comment issue

2016-06-08 Thread Ian Abbott
On 08/06/16 06:30, Ravishankar Karkala Mallikarjunayya wrote: This fixes up a WARNING: 'Block comments use a trailing */ on a separate line'found by the checkpatch.pl tool Signed-off-by: Ravishankar Karkala Mallikarjunayya ---

[PATCH] drivers/net/fsl_ucc: Do not prefix header guard with CONFIG_

2016-06-08 Thread Andreas Ziegler
The CONFIG_ prefix should only be used for options which can be configured through Kconfig and not for guarding headers. Signed-off-by: Andreas Ziegler --- drivers/net/wan/fsl_ucc_hdlc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH V3 1/3] x86/ioapic: Support hot-removal of IOAPICs present during boot

2016-06-08 Thread Rui Wang
v3: Previous versions break mips. This version fixes it. IOAPICs present during system boot aren't added to ioapic_list, thus are unable to be hot-removed. Fix it by calling acpi_ioapic_add() during root bus enumeration. Signed-off-by: Rui Wang --- drivers/acpi/internal.h

Re: [PATCH 4/5] Staging: comedi: das800: Prefer unsigned int instead of unsigned

2016-06-08 Thread Ian Abbott
On 08/06/16 06:30, Ravishankar Karkala Mallikarjunayya wrote: This fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/das800.c |

[tip:x86/microcode] lib/cpio: Make find_cpio_data()'s offset arg optional

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 7557933e6b99d381c19b196901ed537b00f6d121 Gitweb: http://git.kernel.org/tip/7557933e6b99d381c19b196901ed537b00f6d121 Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:44 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:19

[tip:x86/microcode] x86/microcode: Propagate save_microcode_in_initrd() retval

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: fa6788b8c681ffe0a1bf9f99dddc2c447069241c Gitweb: http://git.kernel.org/tip/fa6788b8c681ffe0a1bf9f99dddc2c447069241c Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:46 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:20

[tip:x86/microcode] x86/microcode: Fix loading precedence

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 6c5456474e7f0b63be66d44b0595001e2a8b44d5 Gitweb: http://git.kernel.org/tip/6c5456474e7f0b63be66d44b0595001e2a8b44d5 Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:42 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:19

Re: [PATCH 5/5] Staging: comedi: dmm32at: Prefer using the BIT macro

2016-06-08 Thread Ian Abbott
On 08/06/16 06:30, Ravishankar Karkala Mallikarjunayya wrote: This fixes all occurences of (1< ---

[tip:x86/microcode] x86/microcode: Get rid of find_cpio_data()'s dummy offset arg

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 852ad5b94524fd76d49944b9db0a93f7c9ee5814 Gitweb: http://git.kernel.org/tip/852ad5b94524fd76d49944b9db0a93f7c9ee5814 Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:45 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:19

[PATCH v4 1/5] dt-bindings: mediatek: add descriptions for mediatek mt2701 iommu and smi

2016-06-08 Thread honghui.zhang
From: Honghui Zhang This patch defines the local arbitor port IDs for mediatek SoC MT2701 and add descriptions of binding for mediatek generation one iommu and smi. Signed-off-by: Honghui Zhang Acked-by: Rob Herring ---

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread Tony Lindgren
* Pali Rohár [160607 05:53]: > > Tony, what do you think about that patch? > > > > Tony, PING Yeah I don't know, AFAIK we don't have a generic way to force MUSB to change mode without ID pin. If you have figured something generic for that which does not actually tinker

[tip:x86/microcode] x86/microcode: Fix suspend to RAM with builtin microcode

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 4b703305d98bf7350d4b2953ee39a3aa2eeb1778 Gitweb: http://git.kernel.org/tip/4b703305d98bf7350d4b2953ee39a3aa2eeb1778 Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:43 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:19

[tip:x86/microcode] x86/microcode/intel: Rename load_microcode_early() to find_microcode_patch()

2016-06-08 Thread tip-bot for Borislav Petkov
Commit-ID: 9198251af1554c21fae8e43a940a8bed435ee1b3 Gitweb: http://git.kernel.org/tip/9198251af1554c21fae8e43a940a8bed435ee1b3 Author: Borislav Petkov AuthorDate: Mon, 6 Jun 2016 17:10:47 +0200 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:04:20

[tip:x86/urgent] x86/cpu/intel: Introduce macros for Intel family numbers

2016-06-08 Thread tip-bot for Dave Hansen
Commit-ID: 0cc6d9688e55d17c884e6bfdb0074b77d2945b1b Gitweb: http://git.kernel.org/tip/0cc6d9688e55d17c884e6bfdb0074b77d2945b1b Author: Dave Hansen AuthorDate: Thu, 2 Jun 2016 17:19:27 -0700 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:48:39

Re: [RESEND PATCH v2 0/6] vfio-pci: Add support for mmapping MSI-X table

2016-06-08 Thread Yongji Xie
Hi, Eric On 2016/6/8 15:41, Auger Eric wrote: Hi Yongji, Le 02/06/2016 à 08:09, Yongji Xie a écrit : Current vfio-pci implementation disallows to mmap the page containing MSI-X table in case that users can write directly to MSI-X table and generate an incorrect MSIs. However, this will

dell-smm-hwmon: security problems

2016-06-08 Thread Pali Rohár
Hello! Mario wrote me about two I think security problems in dell-smm-hwmon driver and I would like to ask you, how to fix them. 1) File /proc/i8k (exists only when kernel is compiled with CONFIG_I8K) exports DMI_PRODUCT_SERIAL and it can be read by ordinary user, without root permission.

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread Felipe Balbi
Hi, Tony Lindgren writes: > * Pali Rohár [160607 05:53]: >> > Tony, what do you think about that patch? >> > >> >> Tony, PING > > Yeah I don't know, AFAIK we don't have a generic way to > force MUSB to change mode without ID pin. If you have figured >

Re: [PATCH v5 2/3] sched/cputime: Fix prev steal time accouting during cpu hotplug

2016-06-08 Thread Paolo Bonzini
On 08/06/2016 05:05, Wanpeng Li wrote: > From: Wanpeng Li > > Commit e9532e69b8d1 ("sched/cputime: Fix steal time accounting vs. CPU > hotplug") > set rq->prev_* to 0 after a cpu hotplug comes back in order to fix the > scenario: > > | steal is smaller than

Re: [Pv-drivers] [PATCH net v2] vmxnet3: segCnt can be 1 for LRO packets

2016-06-08 Thread Thomas Hellstrom
On 06/08/2016 08:13 AM, Shrikrishna Khare wrote: > The device emulation may send segCnt of 1 for LRO packets. > > Signed-off-by: Shrikrishna Khare > Signed-off-by: Jin Heo > > --- > v2: fix subject line > --- > drivers/net/vmxnet3/vmxnet3_drv.c | 2 +- >

Re: [BUG] Page allocation failures with newest kernels

2016-06-08 Thread Mel Gorman
On Tue, Jun 07, 2016 at 07:36:57PM +0200, Marcin Wojtas wrote: > Hi Mel, > > > > 2016-06-03 14:36 GMT+02:00 Mel Gorman : > > On Fri, Jun 03, 2016 at 01:57:06PM +0200, Marcin Wojtas wrote: > >> >> For the record: the newest kernel I was able to reproduce the dumps >

Re: [PATCH v1 08/10] Staging: comedi: Prefer unsigned int instead of unsigned in comedi_bond.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This is a patch to the comedi_bond.c file that fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya ---

[PATCH 3/3] clk: fixed-rate: Convert into a module platform driver

2016-06-08 Thread Ricardo Ribalda Delgado
Adds support for fixed-rate clock providers which have not been enabled via of_clk_init(). This is required by Device trees overlays that introduce clocks providers. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk-fixed-rate.c | 62

[PATCH 2/3] clk: fixed-factor: Convert into a module platform driver

2016-06-08 Thread Ricardo Ribalda Delgado
Adds support for fixed-factor clock providers which have not been enabled via of_clk_init(). This is required by Device trees overlays that introduce clocks providers. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk-fixed-factor.c | 66

[PATCH 1/3] clk: Add new function of_clk_is_provider()

2016-06-08 Thread Ricardo Ribalda Delgado
of_clk_is_provider() checks if a device_node has already been added to the clk provider list. This can be used to avoid adding the same clock provider twice. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk.c| 20

Re: [PATCH v3 2/2] ARM: at91/dt: sama5d2: Use new compatible for ohci node

2016-06-08 Thread Alexandre Belloni
On 08/06/2016 at 12:06:11 +0200, Nicolas Ferre wrote : > Le 08/06/2016 06:15, Wenyou Yang a écrit : > > Use compatible "atmel,sama5d2-ohci" to be capable of suspending > > ports while sleep to save the power consumption. > > > > Signed-off-by: Wenyou Yang > > --- > > > >

Re: [PATCH 3/4] dell-wmi: Add information about other WMI event codes

2016-06-08 Thread Gabriele Mazzotta
On 08/06/2016 08:02, mario_limoncie...@dell.com wrote: >> -Original Message- >> From: Pali Rohár [mailto:pali.ro...@gmail.com] >> Sent: Tuesday, June 7, 2016 6:00 PM >> To: Gabriele Mazzotta ; Limonciello, Mario >> >> Cc: Matthew Garrett

Re: [PATCH v3 1/2] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-06-08 Thread Nicolas Ferre
Le 08/06/2016 12:04, Nicolas Ferre a écrit : > Le 08/06/2016 06:15, Wenyou Yang a écrit : >> In order to the save power consumption, as a workaround, suspend >> forcibly the USB PORTA/B/C via set the SUSPEND_A/B/C bits of OHCI >> Interrupt Configuration Register in the SFRs while OHCI USB suspend.

Re: Files leak from nfsd in 4.7.1-rc1 (and more?)

2016-06-08 Thread Jeff Layton
On Tue, 2016-06-07 at 22:22 -0400, Oleg Drokin wrote: > On Jun 7, 2016, at 8:03 PM, Jeff Layton wrote: > > > > > That said, this code is quite subtle. I'd need to look over it in more > > > > detail before I offer up any fixes. I'd also appreciate it if anyone > > > > else wants to sanity check

Re: [PATCH v2 4/9] arm64: Add platform selection for BCM2835.

2016-06-08 Thread Catalin Marinas
On Sat, Jun 04, 2016 at 12:55:15PM -0700, Eric Anholt wrote: > Catalin Marinas writes: > > On Fri, Jun 03, 2016 at 08:18:23AM +0200, Gerd Hoffmann wrote: > >> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > >> index 7ef1d05..ea88402 100644 > >>

Re: [PATCH] watchdog: max77620: Add support for watchdog timer

2016-06-08 Thread Laxman Dewangan
Hi Guenter, Thanks for quick review. I will take care of most of comment. I have one query fr following comment. Thanks, Laxman On Tuesday 07 June 2016 11:26 PM, Guenter Roeck wrote: Hi, On Mon, Jun 06, 2016 at 05:22:44PM +0530, Laxman Dewangan wrote: + /* Stop watchodog */ + ret

Re: [PATCH v8 13/14] usb: gadget: udc: adapt to OTG core

2016-06-08 Thread Peter Chen
On Wed, Jun 08, 2016 at 10:32:19AM +0300, Roger Quadros wrote: > Hi, > > On 24/05/16 05:53, Peter Chen wrote: > > On Mon, May 23, 2016 at 01:36:51PM +0300, Roger Quadros wrote: > >> On 23/05/16 13:34, Jun Li wrote: > >>> Hi > >>> > -Original Message- > From: Roger Quadros

Re: [PATCH 3/3] iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code

2016-06-08 Thread Magnus Damm
Hi Laurent, On Wed, Jun 8, 2016 at 5:48 PM, Laurent Pinchart wrote: > Hi Geert, > > On Wednesday 08 Jun 2016 09:04:17 Geert Uytterhoeven wrote: >> On Wed, Jun 8, 2016 at 2:18 AM, Laurent Pinchart wrote: >> >> --- 0031/drivers/iommu/ipmmu-vmsa.c >> >> +++

[PATCH v9 07/14] usb: otg: get rid of CONFIG_USB_OTG_FSM in favour of CONFIG_USB_OTG

2016-06-08 Thread Roger Quadros
Let's use CONFIG_USB_OTG as a single config option to enable USB OTG and the OTG FSM. This makes things a lot less confusing. Update all users of CONFIG_USB_OTG_FSM to CONFIG_USB_OTG. Signed-off-by: Roger Quadros Acked-by: Peter Chen ---

[PATCH v9 05/14] usb: otg-fsm: move host controller operations into usb_otg->hcd_ops

2016-06-08 Thread Roger Quadros
This is to prevent missing symbol build error if OTG is enabled (built-in) and HCD core (CONFIG_USB) is module. Signed-off-by: Roger Quadros Acked-by: Peter Chen --- drivers/usb/chipidea/otg_fsm.c | 7 +++ drivers/usb/common/usb-otg-fsm.c | 15

Re: [PATCH v10 1/2] gpio: mmio: add DT support for memory-mapped GPIOs

2016-06-08 Thread Linus Walleij
On Fri, May 13, 2016 at 11:07 PM, Christian Lamparter wrote: > From: Álvaro Fernández Rojas > > This patch adds support for defining memory-mapped GPIOs which > are compatible with the existing gpio-mmio interface. The generic > library provides

[PATCH perf/core v10 08/23] perf probe: Use cache entry if possible

2016-06-08 Thread Masami Hiramatsu
From: Masami Hiramatsu Before analyzing debuginfo, try to find a corresponding entry from probe cache always. This does not depend on --cache, the --cache enables to store/update cache, but looking up the cache is always enabled. Signed-off-by: Masami Hiramatsu

[PATCH perf/core v10 06/23] perf probe-file: Introduce perf_cache interfaces

2016-06-08 Thread Masami Hiramatsu
Introduce perf_cache object and interfaces to create, add entry, commit, and delete the object. perf_cache represents a file for the cached perf-probe definitions on one binary file or vmlinux which has its own build id. The probe cache file is located under the build-id cache directory of the

[PATCH perf/core v10 00/23] perf-probe --cache and SDT support

2016-06-08 Thread Masami Hiramatsu
Hi, Here is the 10th version of the patchset for probe-cache and initial SDT support. This version fixes a bug and split big patches into small subsets according to Namhyung's comment. Also I've added a testcase for SDT. In this version, the number of patches are increased, but basically, only

Re: Applied "spi: Add DMA support for spi_flash_read()" to the spi tree

2016-06-08 Thread Vignesh R
On Wednesday 08 June 2016 02:55 PM, Mark Brown wrote: > The patch > >spi: Add DMA support for spi_flash_read() > > has been applied to the spi tree at > >git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git > > All being well this means that it will be integrated into the

[PATCH perf/core v10 02/23] perf-probe: Fix to add NULL check for strndup

2016-06-08 Thread Masami Hiramatsu
Fix to add a NULL check for strndup when parsing probe trace command. Signed-off-by: Masami Hiramatsu --- Changes in v10: - Splited from "perf probe: Allow wildcard for cached events" --- tools/perf/util/probe-event.c |4 1 file changed, 4 insertions(+) diff

[PATCH perf/core v10 03/23] perf-buildid: Rename and export build_id_cache__cachedir()

2016-06-08 Thread Masami Hiramatsu
Rename and export build_id_cache__cachedir() for retrieving use of the path of cache directory for given build_id. Signed-off-by: Masami Hiramatsu --- Changes in v10: - Splited from "Add --cache option to cache the probe definitions" --- tools/perf/util/build-id.c | 12

[PATCH perf/core v10 04/23] perf probe: Add perf_probe_event__copy()

2016-06-08 Thread Masami Hiramatsu
Add perf_probe_event__copy() to copy perf_probe_event data structure and sub data structures under given source perf_probe_event. Signed-off-by: Masami Hiramatsu --- Changes in v10: - Splited from "Add --cache option to cache the probe definitions" ---

[PATCH perf/core v10 01/23] perf: util: Fix rm_rf() to handle non-regular files correctly

2016-06-08 Thread Masami Hiramatsu
Fix rm_rf() to handle non-regular files correctly. This fix includes two changes; - Fix to use lstat(3) instead of stat(3) since if the target file is a symbolic link, rm_rf() should unlink the symbolic link itself, not the file which pointed by the symlink. - Fix to unlink non-regular

[PATCH v3 13/20] pwm: sti: Supply PWM Capture register addresses and bit locations

2016-06-08 Thread Lee Jones
Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/pwm/pwm-sti.c b/drivers/pwm/pwm-sti.c index c4a34af..2f61e1e 100644 --- a/drivers/pwm/pwm-sti.c +++ b/drivers/pwm/pwm-sti.c @@ -22,26

[PATCH v3 12/20] pwm: sti: Only request clock rate when you need to

2016-06-08 Thread Lee Jones
In the original code the clock rate was only obtained during initialisation; however, the rate may change between then and its use. This patch ensures the correct rate is acquired just before use. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 16 1

[PATCH perf/core v10 13/23] perf buildid-cache: Scan and import user SDT events to probe cache

2016-06-08 Thread Masami Hiramatsu
From: Masami Hiramatsu perf buildid-cache --add scans given binary and add the SDT events to probe cache. "sdt_" prefix is appended for all SDT providers to avoid event-name clash with other pre-defined events. It is possible to use the cached SDT events as

[PATCH perf/core v10 10/23] perf probe: Remove caches when --cache is given

2016-06-08 Thread Masami Hiramatsu
From: Masami Hiramatsu perf-probe --del removes caches when --cache is given. Note that the delete pattern is not same as normal events. If you cached probes with event name, --del "eventname" works as expected. However, if you skipped it, the cached probes

[PATCH perf/core v10 15/23] perf-list: Show SDT and pre-cached events

2016-06-08 Thread Masami Hiramatsu
From: Masami Hiramatsu Show SDT and pre-cached events by perf-list with "sdt". This also shows the binary and build-id where the events are placed only when there are same name events on different binaries. e.g. # perf list sdt List of pre-defined

[PATCH perf/core v10 14/23] perf probe: Accept %sdt and %cached event name

2016-06-08 Thread Masami Hiramatsu
From: Masami Hiramatsu To improbe usability, support %[PROVIDER:]SDTEVENT format to add new probes on SDT and cached events. e.g. # perf probe -x /lib/libc-2.17.so %lll_lock_wait_private Added new event: sdt_libc:lll_lock_wait_private (on

[PATCH perf/core v10 19/23] perf probe: Search SDT/cached event from all probe caches

2016-06-08 Thread Masami Hiramatsu
Search SDT/cached event from all probe caches if user doesn't pass any binary. With this, we don't have to specify target binary for SDT and named cached events (which start with %). E.g. without this, a target binary must be passed with -x. # perf probe -x /usr/lib64/libc-2.20.so -a

[PATCH perf/core v10 16/23] perf-list: Skip SDTs placed in invalid binaries

2016-06-08 Thread Masami Hiramatsu
From: Masami Hiramatsu Skip SDTs placed in invalid (non-exist, or older version) binaries. Note that perf-probe --cache --list and perf-probe --cache --del still handle all the caches including invalid binaries. Signed-off-by: Masami Hiramatsu

[PATCH perf/core v10 12/23] perf probe: Add group name support

2016-06-08 Thread Masami Hiramatsu
From: Masami Hiramatsu Allow user to set group name for adding new event. Note that user must ensure that the group name doesn't conflict with existing group name carefully. E.g. Existing group name can conflict with other events. Especially, using the group name

[PATCH perf/core v10 11/23] perf/sdt: ELF support for SDT

2016-06-08 Thread Masami Hiramatsu
From: Hemant Kumar This patch serves the initial support to identify and list SDT events in binaries. When programs containing SDT markers are compiled, gcc with the help of assembler directives identifies them and places them in the section ".note.stapsdt". To find

Re: [PATCH v2 2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-06-08 Thread Marc Zyngier
On 08/06/16 09:05, Shawn Lin wrote: > This patch adds Rockchip PCIe controller support found > on RK3399 Soc platform. > > Signed-off-by: Shawn Lin > > --- > > Changes in v2: > - remove phy related stuff and call phy API > - add new head file and define lots of macro

[PATCH v3 05/20] ARM: dts: STiH416: Declare PWM Capture data lines via Pinctrl

2016-06-08 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/stih416-pinctrl.dtsi b/arch/arm/boot/dts/stih416-pinctrl.dtsi index 051fc16..252b677 100644 ---

[PATCH v4 4/5] iommu/mediatek: add support for mtk iommu generation one HW

2016-06-08 Thread honghui.zhang
From: Honghui Zhang Mediatek SoC's M4U has two generations of HW architcture. Generation one uses flat, one layer pagetable, and was shipped with ARM architecture, it only supports 4K size page mapping. MT2701 SoC uses this generation one m4u HW. Generation two uses

[PATCH v4 3/5] memory/mediatek: add support for mt2701

2016-06-08 Thread honghui.zhang
From: Honghui Zhang Mediatek SMI has two generations of HW architecture, mt8173 uses the second generation of SMI HW while mt2701 uses the first generation HW of SMI. There's slight differences between the two generations, for generation 2, the register which control

[PATCH] iommu/mediatek: Do not call of_node_put in mtk_iommu_of_xlate

2016-06-08 Thread honghui.zhang
From: Honghui Zhang The device_node will be released in of_iommu_configure, it may be double released if call of_node_put in mtk_iommu_of_xlate. Signed-off-by: Honghui Zhang --- drivers/iommu/mtk_iommu.c | 1 - 1 file changed, 1

Re: [PATCH v3 1/2] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-06-08 Thread Nicolas Ferre
Le 08/06/2016 06:15, Wenyou Yang a écrit : > In order to the save power consumption, as a workaround, suspend > forcibly the USB PORTA/B/C via set the SUSPEND_A/B/C bits of OHCI > Interrupt Configuration Register in the SFRs while OHCI USB suspend. > > This suspend operation must be done before

[tip:x86/urgent] x86/cpu/intel: Introduce macros for Intel family numbers

2016-06-08 Thread tip-bot for Dave Hansen
Commit-ID: 970442c599b22ccd644ebfe94d1d303bf6f87c05 Gitweb: http://git.kernel.org/tip/970442c599b22ccd644ebfe94d1d303bf6f87c05 Author: Dave Hansen AuthorDate: Thu, 2 Jun 2016 17:19:27 -0700 Committer: Ingo Molnar CommitDate: Wed, 8 Jun 2016 11:59:09

Re: [PATCH] scripts/gdb: Add automatic path expansion when loading modules

2016-06-08 Thread Nikolay Borisov
On 06/08/2016 12:35 PM, Jan Kiszka wrote: > On 2016-06-07 23:26, Nikolay Borisov wrote: >> Python doesn't do automatic expansion of paths. In case one passes >> path of the from ~/foo/bar the gdb scripts won't automatically expand >> that and as a result the symbols files won't be loaded. Fix

Re: [PATCH v9 08/14] usb: otg: add OTG/dual-role core

2016-06-08 Thread Roger Quadros
Hi, On 08/06/16 12:53, Peter Chen wrote: > On Wed, Jun 08, 2016 at 12:03:40PM +0300, Roger Quadros wrote: >> +int usb_otg_unregister(struct device *dev) >> +{ >> +struct usb_otg *otg; >> + >> +mutex_lock(_list_mutex); >> +otg = usb_otg_get_data(dev); >> +if (!otg) { >> +

Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full dynticks CPU time accounting

2016-06-08 Thread Paolo Bonzini
On 08/06/2016 05:05, Wanpeng Li wrote: > From: Wanpeng Li > > This patch adds guest steal-time support to full dynticks CPU > time accounting. After the following commit: > > ff9a9b4c4334 ("sched, time: Switch VIRT_CPU_ACCOUNTING_GEN to jiffy > granularity") > > ...

Re: [PATCH v1 05/10] Staging: comedi: Fix comment issues in jr3_pci.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This is a patch to the jr3_pci.c file that fixes up a WARNING: 'Block comments use a trailing */ on a separate line' found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya ---

Re: [PATCH v1 04/10] Staging: comedi:Fix a warning issues in me_daq.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This is a patch to the me_daq.c file that fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya ---

[PATCH 1/3] perf unwind: Change macro names of perf register

2016-06-08 Thread He Kuang
Use macro name prefixed with "LIBUNWIND_ARCH" for better understanding that the regs used by callbacks of libunwind are arch specific. The real regs used should be defined in the wrapper file of "unwind-libunwind-local.c" for each supported arch. Signed-off-by: He Kuang ---

Re: [PATCH v1 06/10] Staging: comedi: Prefer using the BIT macro issue in das16.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This patch Replace all occurences of (1< ---

[PATCH 0/3] Convert clk-fixed into module platform driver

2016-06-08 Thread Ricardo Ribalda Delgado
When clock providers are added to the device tree after of_clk_init is called they are not added to the clock provider list. This makes that drivers such as i2c-xiic.c fail to init, as they may depend on the unadded clock provider. We first introduce a new function clk.c that will check if a

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread Pali Rohár
On Wednesday 08 June 2016 12:02:00 Felipe Balbi wrote: > Hi, > > Tony Lindgren writes: > > * Pali Rohár [160607 05:53]: > >> > Tony, what do you think about that patch? > >> > >> Tony, PING > > > > Yeah I don't know, AFAIK we don't have a generic way to

Re: [PATCH v1 07/10] Staging: comedi: fix BIT macro issue in das6402.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This patch Replace all occurences of (1<

Re: [PATCH v1 10/10] Staging: comedi: Used unsigned int instead of unsigned issue in jr3_pci.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This is a patch to the jr3_pci.c file that fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya ---

Re: [PATCH v1 09/10] Staging: comedi: Block comment issue fixed for das16m1.c

2016-06-08 Thread Ian Abbott
On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote: This is a patch to the das16m1.c file that fixes up a WARNING: 'Block comments use a trailing */ on a separate line' found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya ---

Re: [PATCH] mmc: core: Fix mmc_select_hs200() regression in v4.7-rc.

2016-06-08 Thread Peter Griffin
Hi Ulf, On Tue, 07 Jun 2016, Ulf Hansson wrote: > On 7 June 2016 at 15:57, Peter Griffin wrote: > > Hi Lee, > > > > On Tue, 07 Jun 2016, Lee Jones wrote: > > > >> On Tue, 07 Jun 2016, Peter Griffin wrote: > >> > >> > mmc_select_bus_width() returns bus width (4 or 8) on

Re: [PATCH V8 5/9] pci, acpi: add acpi hook to assign domain number.

2016-06-08 Thread Tomasz Nowicki
Hi Bjorn, On 08.06.2016 02:15, Bjorn Helgaas wrote: Hi Tomasz, On Mon, May 30, 2016 at 05:14:18PM +0200, Tomasz Nowicki wrote: PCI core code provides a config option (CONFIG_PCI_DOMAINS_GENERIC) that allows assigning the PCI bus domain number generically by relying on device tree bindings,

Re: [PATCH] scripts/gdb: Add automatic path expansion when loading modules

2016-06-08 Thread Jan Kiszka
On 2016-06-08 12:09, Nikolay Borisov wrote: > > > On 06/08/2016 12:35 PM, Jan Kiszka wrote: >> On 2016-06-07 23:26, Nikolay Borisov wrote: >>> Python doesn't do automatic expansion of paths. In case one passes >>> path of the from ~/foo/bar the gdb scripts won't automatically expand >>> that and

Re: [PATCH 4/4] mfd: db8500 stop passing around platform data

2016-06-08 Thread Lee Jones
On Tue, 10 May 2016, Arnd Bergmann wrote: > Except for the constant DB8500_PRCMU_FW_VERSION_OFFSET number, nothing > is ever passed through the platform data and used in a driver, so we > can simply stop passing it around. > > Signed-off-by: Arnd Bergmann > --- >

[PATCH 2/2] fuse: use list_first_entry

2016-06-08 Thread Geliang Tang
To make the intention clearer, use list_first_entry() instead of list_entry(). Signed-off-by: Geliang Tang --- fs/fuse/dev.c | 6 +++--- fs/fuse/file.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index

[PATCH 1/2] fuse: use list_first_entry_or_null

2016-06-08 Thread Geliang Tang
Use list_first_entry_or_null() instead of list_empty() and list_entry() to simplify the code. Signed-off-by: Geliang Tang --- fs/fuse/dev.c | 7 +++ fs/fuse/file.c | 9 - 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/fs/fuse/dev.c

Applied "spi: rockchip: Signal unfinished DMA transfers" to the spi tree

2016-06-08 Thread Mark Brown
The patch spi: rockchip: Signal unfinished DMA transfers has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Re: [PATCH] spi: rockchip: Signal unfinished DMA transfers

2016-06-08 Thread Mark Brown
On Wed, Jun 08, 2016 at 09:32:51AM +0200, Tomeu Vizoso wrote: > + /* successful DMA prepare means the transfer is in progress */ > + ret = ret ? ret : 1; Please write normal if statements so people can read the code more easily. signature.asc Description: PGP signature

Re: [PATCH v5 2/3] sched/cputime: Fix prev steal time accouting during cpu hotplug

2016-06-08 Thread Wanpeng Li
2016-06-08 18:01 GMT+08:00 Paolo Bonzini : > > > On 08/06/2016 05:05, Wanpeng Li wrote: >> From: Wanpeng Li >> >> Commit e9532e69b8d1 ("sched/cputime: Fix steal time accounting vs. CPU >> hotplug") >> set rq->prev_* to 0 after a cpu hotplug comes back

Re: [RFC PATCH 1/4] STM Ftrace: Adding generic buffer interface driver

2016-06-08 Thread Chunyan Zhang
On Tue, Jun 7, 2016 at 6:25 PM, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> This patch adds a driver that models itself as an stm_source and >> who's sole purpose is to export an interface to the rest of the >> kernel.

[tip:perf/core] perf/x86/cstate: Use Intel Model name macros

2016-06-08 Thread tip-bot for Dave Hansen
Commit-ID: bf4ad54199333d10c212499b57f26ffeb8222c81 Gitweb: http://git.kernel.org/tip/bf4ad54199333d10c212499b57f26ffeb8222c81 Author: Dave Hansen AuthorDate: Thu, 2 Jun 2016 17:19:40 -0700 Committer: Ingo Molnar CommitDate: Wed, 8 Jun

Re: [RFC PATCH 2/4] trace: Introduce an output interface from ftrace to STM

2016-06-08 Thread Chunyan Zhang
On Tue, Jun 7, 2016 at 6:04 PM, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> This patch is introducing a new function to print Ftrace messages >> to STM buffer when the traces happen. In order to reduce the >> effect on

[tip:perf/core] perf/x86/rapl: Add Skylake server model detection

2016-06-08 Thread tip-bot for Jacob Pan
Commit-ID: 348c5ac6c7dc117e1de095bf07c86c31101d56f3 Gitweb: http://git.kernel.org/tip/348c5ac6c7dc117e1de095bf07c86c31101d56f3 Author: Jacob Pan AuthorDate: Thu, 2 Jun 2016 17:19:53 -0700 Committer: Ingo Molnar CommitDate: Wed, 8 Jun

[tip:perf/core] perf/x86/msr: Add missing Intel models

2016-06-08 Thread tip-bot for Dave Hansen
Commit-ID: 5134596caee9e834d2486edc45efad4c9e6effc3 Gitweb: http://git.kernel.org/tip/5134596caee9e834d2486edc45efad4c9e6effc3 Author: Dave Hansen AuthorDate: Thu, 2 Jun 2016 17:19:35 -0700 Committer: Ingo Molnar CommitDate: Wed, 8 Jun

[tip:perf/core] perf/x86/uncore: Use Intel family name macros for uncore

2016-06-08 Thread tip-bot for Dave Hansen
Commit-ID: a07301ab3dabd1e31696c1bf1775aba24eb7573d Gitweb: http://git.kernel.org/tip/a07301ab3dabd1e31696c1bf1775aba24eb7573d Author: Dave Hansen AuthorDate: Thu, 2 Jun 2016 17:19:42 -0700 Committer: Ingo Molnar CommitDate: Wed, 8 Jun

<    3   4   5   6   7   8   9   10   11   12   >