[PATCH 3.19-rc1 v14 3/8] arm: Remove DEBUG_LL_UART_NONE

2014-12-22 Thread Daniel Thompson
Only a very small handful of platforms support DEBUG_LL_UART_NONE but it lurks in the menus of every single platform config ready to break the build. This is an especial problem for defconfig/oldconfig since it is often selected by default. This patch solves the problem by removing this option.

Hi dear!!

2014-12-22 Thread Josephine Kuku
Hi Dear, May peace be with you. I am Miss Josephine. Actually, We may not known in person but relationship can start like this!. Please, I'm sorry if I am embarrassing you by my gesture. I really wish to be your friend, learn to know you and to have a place in your heart for an ideal

[PATCH v5 4/7] iio: da9150: Add DT binding documentation for GPADC

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson Acked-by: Jonathan Cameron --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt diff --git

Re: [PATCH v3 5/5] ASoC: dwc: Add documentation for I2S DT

2014-12-22 Thread Mark Brown
On Mon, Dec 22, 2014 at 03:51:38PM +, Andrew Jackson wrote: > On 12/22/14 14:26, Mark Brown wrote: > > This is a name based lookup of clocks but the code doesn't use > > apb_pclk at all; it needs to or the binding needs to say that apb_pclk > > must be the first listed clock (which would not

[PATCH v5 6/7] power: da9150: Add DT binding documentation for charger

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation/devicetree/bindings/power/da9150-charger.txt

[PATCH v5 5/7] power: Add support for DA9150 Charger

2014-12-22 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC Charger. Signed-off-by: Adam Thomson --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 666 + 3 files changed, 679 insertions(+)

[PATCH v5 7/7] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-12-22 Thread Adam Thomson
Signed-off-by: Adam Thomson Acked-by: Lee Jones --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..bd83dfc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3084,12 +3084,15 @@ S: Supported F: Documentation/hwmon/da90?? F:

[PATCH v5 1/7] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-12-22 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 +- drivers/mfd/da9150-core.c| 413

[PATCH v5 3/7] iio: Add support for DA9150 GPADC

2014-12-22 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 409 + 3 files changed, 419 insertions(+)

[PATCH v5 0/7] Add initial support for DA9150 Charger & Fuel-Gauge IC

2014-12-22 Thread Adam Thomson
This patch set adds initial support for the Dialog DA9150 Integrated Charger & Fuel-Gauge IC. The device also provides GPIO and GPADC functionality. In this patch set the following is provided: - MFD Core support and DT bindings documentation. - IIO GPADC support and DT bindings documentation.

[PATCH 2/7] mmu_notifier: keep track of active invalidation ranges v2

2014-12-22 Thread j . glisse
From: Jérôme Glisse The mmu_notifier_invalidate_range_start() and mmu_notifier_invalidate_range_end() can be considered as forming an "atomic" section for the cpu page table update point of view. Between this two function the cpu page table content is unreliable for the address range being

[PATCH 5/7] HMM: add per mirror page table.

2014-12-22 Thread j . glisse
From: Jérôme Glisse This patch add the per mirror page table. It also propagate CPU page table update to this per mirror page table using mmu_notifier callback. All update are contextualized with an HMM event structure that convey all information needed by device driver to take proper actions

[PATCH 4/7] HMM: add HMM page table.

2014-12-22 Thread j . glisse
From: Jérôme Glisse Heterogeneous memory management main purpose is to mirror a process address. To do so it must maintain a secondary page table that is use by the device driver to program the device or build a device specific page table. Radix tree can not be use to create this secondary page

[PATCH 6/7] HMM: add device page fault support.

2014-12-22 Thread j . glisse
From: Jérôme Glisse This patch add helper for device page fault. Device page fault helper will fill the mirror page table using the CPU page table all this synchronized with any update to CPU page table. Signed-off-by: Jérôme Glisse Signed-off-by: Sherry Cheung Signed-off-by: Subhash Gutti

[PATCH 3/7] HMM: introduce heterogeneous memory management.

2014-12-22 Thread j . glisse
From: Jérôme Glisse This patch only introduce core HMM functions for registering a new mirror and stopping a mirror as well as registering and unregistering a device. The lifecycle of HMM object is handled differently then one of mmu_notifier because unlike mmu_notifier there can be concurrent

[PATCH 1/7] mmu_notifier: add event information to address invalidation v6

2014-12-22 Thread j . glisse
From: Jérôme Glisse The event information will be useful for new user of mmu_notifier API. The event argument differentiate between a vma disappearing, a page being write protected or simply a page being unmaped. This allow new user to take different path for different event for instance on

HMM (Heterogeneous Memory Management) v7

2014-12-22 Thread j . glisse
So after PTO and before end of year frenzy here is an updated HMM patchset. While not reusing Linus page table design, i use something that is, in my view at least, close to it. Also i avoid pretending that this will be useful to other and move it to hmm specific code. There is a longer

Re: [PATCH trace-cmd V5 0/6] perf-probe: Bugfix and add new options for cache

2014-12-22 Thread Steven Rostedt
On Mon, 22 Dec 2014 12:47:36 -0500 Masami Hiramatsu wrote: > Hi, > > This is the version 5 series of virtio-trace for trace-cmd. > The previous series is here; https://lkml.org/lkml/2014/7/10/747 Thanks, I'll take a look at this. I don't think you wanted the cover subject. Also, the date on

Re: [RESEND PATCH] usb: gadget: at91_udc: move prepare clk into process context

2014-12-22 Thread Felipe Balbi
Hi, On Fri, Dec 19, 2014 at 02:18:31PM +, Luis Henriques wrote: > On Fri, Dec 19, 2014 at 03:08:15PM +0100, Nicolas Ferre wrote: > > Le 19/12/2014 15:02, Ronald Wahl a écrit : > > > On 19.12.2014 14:51, Luis Henriques wrote: > > >> Hi Felipe, > > >> > > >> On Thu, Nov 20, 2014 at 01:50:49PM

Re: [PATCH RESEND v4] sched/fair: Add advisory flag for borrowing a timeslice

2014-12-22 Thread Khalid Aziz
On 12/19/2014 04:57 PM, Thomas Gleixner wrote: On Fri, 19 Dec 2014, Khalid Aziz wrote: The queuing problem caused by a task taking a contended lock just before its current timeslice is up which userspace app wouldn't know about, is a real problem nevertheless. We know that already. My patch

Re: [PATCH 1/2] USB: gadget: udc: atmel: change setting for DMA

2014-12-22 Thread Felipe Balbi
On Thu, Dec 18, 2014 at 06:20:39PM +0100, Nicolas Ferre wrote: > Le 17/12/2014 10:18, Bo Shen a écrit : > > According to the datasheet, when transfer using DMA, the control > > setting for IN packet only need END_BUF_EN, END_BUF_IE, CH_EN, > > while for OUT packet, need more two bits END_TR_EN and

Re: [PATCH] usb: gadget: udc-core: call udc_stop() before gadget unbind

2014-12-22 Thread Felipe Balbi
On Mon, Dec 15, 2014 at 11:05:22AM +0100, Robert Baldyga wrote: > On 12/15/2014 06:13 AM, Peter Chen wrote: > > On Fri, Dec 12, 2014 at 02:17:28PM +0100, Robert Baldyga wrote: > >> As usb function drivers assumes that all usb request will be completed > >> before function unbind call, we should

Re: [PATCH] usb: gadget: udc-core: call udc_stop() before gadget unbind

2014-12-22 Thread Felipe Balbi
On Fri, Dec 12, 2014 at 02:17:28PM +0100, Robert Baldyga wrote: > As usb function drivers assumes that all usb request will be completed > before function unbind call, we should supply such behavior. In some > cases ep_disable() won't kill all request effectively, because some > IN requests can be

[PATCH v2 2/8] thermal: Provide stub for thermal_cdev_update() function

2014-12-22 Thread Lukasz Majewski
Odroid U3 fan can work without being registered as OF cooling device (with CONFIG_THERMAL_OF disabled). In this situation it can be controlled via PWM entry at /sys/class/hwmon/hwmon0/pwm1. Therefore, the thermal_cdev_update() function needs a stub to allow clean compilation. Signed-off-by:

[PATCH v2 6/8] hwmon: thermal: Extract __set_pwm() function to only modify PWM duty cycle

2014-12-22 Thread Lukasz Majewski
It was necessary to decouple code handling writing to sysfs from the one responsible for setting PWM of the fan. Due to that, new __set_pwm() method was extracted, which is responsible for only setting new PWM duty cycle. Signed-off-by: Lukasz Majewski --- Changes for v2: - None ---

[PATCH v2 8/8] hwmon: thermal: Code for using PWM FAN as a cooling device

2014-12-22 Thread Lukasz Majewski
The PWM FAN device can now be used as a thermal cooling device. Necessary infrastructure has been added in this commit. Signed-off-by: Lukasz Majewski --- Changes for v2: - Replace pwm_fan_cooling_states with pwm_fan_cooling_levels - Update ctx->pwm_fan_state when correct data from device tree

[PATCH v2 7/8] hwmon: thermal: Read PWM FAN configuration from device tree

2014-12-22 Thread Lukasz Majewski
Code for reading PWM FAN configuration data via device tree. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename pwm_fan_max_states to pwm_fan_cooling_levels - Moving pwm_fan_of_get_cooling_data() call after setting end enabling PWM FAN - pwm_fan_of_get_cooling_data() now can fail -

[PATCH v2 3/8] hwmon: dts: Doc: Add DTS doc to explain how to use PWM FAN as a cooling device

2014-12-22 Thread Lukasz Majewski
Several new properties to allow PWM fan working as a cooling device have been combined into this single commit. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename cooling-pwm-values to cooling-levels - Remove default-pulse-width property and stick to default hwmon policy ---

[PATCH v2 4/8] ARM: dts: Add pwm-fan node to the Odroid-U3 board

2014-12-22 Thread Lukasz Majewski
From: Kamil Debski Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. In addition, add the "pwm" label to the pwm@139D node in the exynos4412.dtsi. Signed-off-by: Kamil Debski [Rebased on the newest mainline by l.majew...@samsung.com] --- Changes since

[PATCH v2 5/8] hwmon: thermal: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2014-12-22 Thread Lukasz Majewski
With those bindings it is possible to use pwm-fan device available in Odroid U3 as a cooling device. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename cooling-pwm-values property to cooling-levels --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 33 ++- 1

[PATCH v2 1/8] thermal: Provide stub for thermal_of_cooling_device_register() function

2014-12-22 Thread Lukasz Majewski
Odroid U3 fan can work without being registered as OF cooling device (with CONFIG_THERMAL_OF disabled). In this situation it can be controlled via PWM entry at /sys/class/hwmon/hwmon0/pwm1. Therefore, the thermal_of_cooling_device_register() function needs a stub to allow clean compilation.

[PATCH v2 0/8] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2014-12-22 Thread Lukasz Majewski
Presented patches add support for Odroid's U3 optional CPU FAN, which uses PWM subsystem for low level control. After successful probe it registers itself as a cooling device for thermal subsystem. To preserve the ability to use this fan as a PWM device stubs for

Re: [PATCH 1/2] mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process being killed

2014-12-22 Thread Vladimir Davydov
On Mon, Dec 22, 2014 at 03:24:35PM +0100, Michal Hocko wrote: > On Sat 20-12-14 17:18:24, Vladimir Davydov wrote: > > On Sat, Dec 20, 2014 at 11:47:46AM +0100, Michal Hocko wrote: > > > On Fri 19-12-14 21:28:15, Vladimir Davydov wrote: > > > > So AFAIU the problem does exist. However, I think it

How are you?

2014-12-22 Thread Josephine Kuku
Hi Dear, May peace be with you. I am Miss Josephine. Actually, We may not known in person but relationship can start like this!. Please, I'm sorry if I am embarrassing you by my gesture. I really wish to be your friend, learn to know you and to have a place in your heart for an ideal

Re: System automatically wakes up because of Intel Rapid Start Technology

2014-12-22 Thread Matthew Garrett
On Mon, Dec 22, 2014 at 04:50:37PM +0100, Gabriele Mazzotta wrote: > On Monday 22 December 2014 14:59:49 Matthew Garrett wrote: > > Can you try this diff? > > Unfortunately it doesn't work (I made a change, see here below). Ok. Can you hack the resume path to dump the RTC registers on resume? I

Re: [PATCH] ARM: tegra: Use PMC scratch register 40 for tegra_resume() location store

2014-12-22 Thread Stephen Warren
On 12/21/2014 03:52 PM, Dmitry Osipenko wrote: Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed tegra_resume() location storing from late to early and as result broke suspend on tegra20. PMC scratch register 41 was used by tegra lp1 suspend core code for storing physical

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-12-22 Thread Bart Van Assche
On 12/02/14 17:35, Sabrina Dubroca wrote: > Hello, sorry for the delay. > > 2014-10-29, 20:36:03 +0100, Peter Zijlstra wrote: >> On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: >>> Yuck. No. You are just papering over the problem. >>> >>> What happens if you add 'threadirqs' to

[PATCH] staging: vt6656: Use ether_addr_copy() on vnt_private members.

2014-12-22 Thread Krzysztof Adamski
This patch fixes checkpatch.pl warning: WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) current_net_addr and permanent_net_addr members of vnt_private alignment is changed to at last 16 bits so that ether_addr_copy can be safely used on them. buf->data

Re: query on DWC3

2014-12-22 Thread Felipe Balbi
Hi again, On Mon, Dec 22, 2014 at 10:11:23AM -0600, Felipe Balbi wrote: > (please don't top-post) > > On Sun, Dec 14, 2014 at 08:39:18AM +0530, sundeep subbaraya wrote: > > Hi Paul, > > > > As per my understanding, for BULK OUT we do queue a request with 512 > > bytes length since we do not >

Re: System automatically wakes up because of Intel Rapid Start Technology

2014-12-22 Thread Matthew Garrett
Oh, ha, wonderful. I'll nail something together and send it upstream. The RTC maintainers may have opinions on how to do this cleanly, so we'll see how that goes. -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: query on DWC3

2014-12-22 Thread Felipe Balbi
Hi, (please don't top-post) On Sun, Dec 14, 2014 at 08:39:18AM +0530, sundeep subbaraya wrote: > Hi Paul, > > As per my understanding, for BULK OUT we do queue a request with 512 > bytes length since we do not sometimes we _do_ know the size. In case of Mass Storage, we _know_ that the first

Re: System automatically wakes up because of Intel Rapid Start Technology

2014-12-22 Thread Gabriele Mazzotta
On Monday 22 December 2014 16:50:37 Gabriele Mazzotta wrote: > On Monday 22 December 2014 14:59:49 Matthew Garrett wrote: > > Can you try this diff? > > Unfortunately it doesn't work (I made a change, see here below). I take a better look at the code and noticed a couple of mistakes in your, but

Re: [Xen-devel] Testing preemptibility test in xen_setup_cpu_clockevents()

2014-12-22 Thread David Vrabel
On 22/12/14 15:53, Boris Ostrovsky wrote: > With 250a1ac685f (x86, smpboot: Remove pointless preempt_disable() in > native_smp_prepare_cpus()) HVM guests no longer boot since we are > hitting BUG_ON(preemptible()) in xen_setup_cpu_clockevents(). > > I don't think we need this test (PV or HVM), do

[PATCH] staging: vt6656: whitespace checkpatch warning fix.

2014-12-22 Thread Krzysztof Adamski
This fixes following checkpatch.pl error: ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Krzysztof Adamski --- drivers/staging/vt6656/rxtx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c

Re: [PATCH v4] tools lib traceevent: Add support for IP address formats

2014-12-22 Thread David Ahern
any other comments on this one? On 12/18/14 7:11 PM, David Ahern wrote: Add helpers for the following kernel formats: %pi4 print an IPv4 address with leading zeros %pI4 print an IPv4 address without leading zeros %pi6 print an IPv6 address without colons %pI6 print an IPv6 address

Re: [PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-22 Thread Alan Stern
On Mon, 22 Dec 2014, Wu Liang feng wrote: > The EHCI controller doesn't properly detect the case when "The" EHCI controller? I don't know what EHCI controller you're talking about, but my controllers don't have any trouble detecting device removal during suspend. > a device is removed during

Re: Cleaning up the KVM clock

2014-12-22 Thread Andy Lutomirski
On Mon, Dec 22, 2014 at 5:34 AM, Marcelo Tosatti wrote: > On Sat, Dec 20, 2014 at 07:31:19PM -0800, Andy Lutomirski wrote: >> I'm looking at the vdso timing code, and I'm puzzled by the pvclock >> code. My motivation is comprehensibility, performance, and >> correctness. >> >> # for i in `seq

Re: [PATCH 2/3] usb: dwc3: add Fujitsu Specific Glue layer

2014-12-22 Thread Felipe Balbi
Hi, On Tue, Dec 16, 2014 at 10:10:27AM +0800, Sneeker Yeh wrote: > This patch adds support for Synopsis DesignWare USB3 IP Core found > on Fujitsu Socs. > > Signed-off-by: Sneeker Yeh > --- > .../devicetree/bindings/usb/fujitsu-dwc3.txt | 25 +++ > drivers/usb/dwc3/Kconfig

[RFC PATCH] [media] coda: Use S_PARM to set nominal framerate for h.264 encoder

2014-12-22 Thread Philipp Zabel
The encoder needs to know the nominal framerate for the constant bitrate control mechanism to work. Currently the only way to set the framerate is by using VIDIOC_S_PARM on the output queue. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-common.c | 29

Re: [PATCH v3 4/5] ASoC: dwc: Add devicetree support for Designware I2S

2014-12-22 Thread Andrew Jackson
On 12/22/14 14:10, Mark Brown wrote: > On Fri, Dec 19, 2014 at 04:18:08PM +, Andrew Jackson wrote: > >> +union snd_dma_data { >> +struct i2s_dma_data pd; >> +struct snd_dmaengine_dai_dma_data dt; >> +}; >> + > > This is a driver local union with a very generic name, it seems likely >

Re: fs: proc: gpf in find_entry

2014-12-22 Thread Eric W. Biederman
Andrey Ryabinin writes: > 2014-12-22 17:37 GMT+03:00 Sasha Levin : >> Hi all, >> >> While fuzzing with trinity inside a KVM tools guest running the latest -next >> kernel, I've stumbled on the following spew: >> >> [ 2015.960381] general protection fault: [#1] PREEMPT SMP KASAN > > Actually

Re: [PATCH v2 4/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2014-12-22 Thread Philipp Zabel
Hi Russell, On Sat, Dec 20, 2014 at 03:52:54PM +, Russell King - ARM Linux wrote: > On Thu, Dec 18, 2014 at 06:00:23PM -0800, Steve Longerbeam wrote: > > Ask the IPU display interface, via ipu_di_adjust_videomode(), to > > adjust a video mode to meet any DI restrictions. The function takes >

Testing preemptibility test in xen_setup_cpu_clockevents()

2014-12-22 Thread Boris Ostrovsky
With 250a1ac685f (x86, smpboot: Remove pointless preempt_disable() in native_smp_prepare_cpus()) HVM guests no longer boot since we are hitting BUG_ON(preemptible()) in xen_setup_cpu_clockevents(). I don't think we need this test (PV or HVM), do we? -boris -- To unsubscribe from this list:

Re: [PATCH v3 5/5] ASoC: dwc: Add documentation for I2S DT

2014-12-22 Thread Andrew Jackson
On 12/22/14 14:26, Mark Brown wrote: > On Fri, Dec 19, 2014 at 04:18:09PM +, Andrew Jackson wrote: > >> Add documentation for Designware I2S hardware block. The block requires >> two clocks (one for audio sampling, the other for APB) and DMA channels >> for receive and transmit. > > You

Re: System automatically wakes up because of Intel Rapid Start Technology

2014-12-22 Thread Gabriele Mazzotta
On Monday 22 December 2014 14:59:49 Matthew Garrett wrote: > Can you try this diff? Unfortunately it doesn't work (I made a change, see here below). > diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c > index 5b2e761..637f980 100644 > --- a/drivers/rtc/rtc-cmos.c > +++

Re: 3.19.0-rc1 nouvea build failure on GeForce GT 610 only

2014-12-22 Thread Sid Boyce
On 22/12/14 13:54, Paul Bolle wrote: On Mon, 2014-12-22 at 14:37 +0100, Paul Bolle wrote: On Mon, 2014-12-22 at 13:01 +, Sid Boyce wrote: CHK kernel/config_data.h CC [M] drivers/gpu/drm/nouveau/core/engine/dmaobj/nvd0.o drivers/gpu/drm/nouveau/core/engine/dmaobj/nvd0.c: In

Re: [PATCH 06/28] dma: drop owner assignment from platform_drivers

2014-12-22 Thread Vinod Koul
On Sun, Dec 21, 2014 at 10:14:27PM +0100, Wolfram Sang wrote: > This platform_driver does not need to set an owner, it will be populated by > the > driver core. > After susbstem name if fixed Acked-by: Vinod Koul -- ~Vinod > Signed-off-by: Wolfram Sang > --- > Generated with coccinelle.

Re: [PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2014-12-22 Thread Felipe Balbi
On Tue, Dec 16, 2014 at 10:10:28AM +0800, Sneeker Yeh wrote: > Synopsis DesignWare USB3 IP Core integrated with a config-free > phy needs special handling during device disconnection to avoid > the host controller dying. > > This quirk makes sure PORT_CSC is cleared after the disable slot >

Re: [PATCH 2a/3] mmc: core: Allow host driver to provide isr for card-detect interrupts.

2014-12-22 Thread Ulf Hansson
On 20 December 2014 at 00:07, NeilBrown wrote: > One of the reasons omap_hsmmc doesn't use the slot-gpio library > is that it has some non-standard functionality in the card-detect > interrupt service routine. > > To make it possible for omap_hsmmc (and maybe others) to be converted > to use

[PATCH] dma-mapping: fix debug print to display correct dma_pfn_offset

2014-12-22 Thread Murali Karicheri
fix the dev_dbg to display the offset which is the calculated dma_pfn_offset value and set later in the code. Signed-off-by: Murali Karicheri --- drivers/of/platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/platform.c b/drivers/of/platform.c index

Re: [PATCH] dma: imx-dma.c: Remove unused function

2014-12-22 Thread Vinod Koul
On Sun, Dec 21, 2014 at 06:18:22PM +0100, Rickard Strandqvist wrote: > Remove the function is_imx21_dma() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > Please ensure you use *right* subsystem name Applied, thanks --

Re: fs: proc: gpf in find_entry

2014-12-22 Thread Eric W. Biederman
Sasha Levin writes: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel, I've stumbled on the following spew: Weird. > 2b:*42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) > <-- trapping instruction %rax == 0 %r13 ==

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

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit ac931f87a647ca156f65a4c00e7297165e4fa2d8: perf: Fix building warning on ARM 32 (2014-12-19 13:09:43 +0100) are available in the git repository at:

[PATCH 02/10] perf mem: Move the mem_operations global to struct perf_mem

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Just like the other parameters, grouping it on the builtin-mem specific config area: struct perf_mem. Acked-by: Stephane Eranian Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Ingo Molnar Cc: Jiri Olsa Cc: Joe Mario Cc: Namhyung Kim Cc: Peter Zijlstra

[PATCH 04/10] perf hists: Rename hist_entry__free to __delete

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo No logic changes, just to be consistent. Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 06/10] perf report: Get rid of report__inc_stat()

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The report__inc_stat() function collects the number of hist entries in the session in order to calculate the max size of the progess bar. It'd be better if it does it during the addition of hist entries so that it can be used by other places too. Signed-off-by: Namhyung Kim

[PATCH 07/10] perf report: Show progress bar for output resorting

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Sometimes it takes a long time to resort hist entries for output in case of a large data file. Show a progress bar window and inform user. Signed-off-by: Namhyung Kim Cc: Adrian Hunter Cc: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Peter Zijlstra Cc: Stephane

Re: fs: proc: gpf in find_entry

2014-12-22 Thread Andrey Ryabinin
2014-12-22 17:37 GMT+03:00 Sasha Levin : > Hi all, > > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel, I've stumbled on the following spew: > > [ 2015.960381] general protection fault: [#1] PREEMPT SMP KASAN Actually this is NULL-ptr dereference. Since

[PATCH 09/10] perf callchain: Append callchains only when requested

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The perf report --children can be called with callchain disabled so no need to append callchains. Actually the root of callchain tree is not initialized properly in this case. Signed-off-by: Namhyung Kim Cc: Adrian Hunter Cc: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa

[PATCH 03/10] perf tools: Remove EOL whitespaces

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Janitorial stuff: boredom moment. Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 08/10] perf ui/tui: Print backtrace symbols when segfault occurs

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The output will look like below. (I added an error into ui__init() for the test). $ perf report perf: Segmentation fault backtrace perf[0x503781] /usr/lib/libc.so.6(+0x33b20)[0x7f1a14f04b20] perf(ui__init+0xd5)[0x503645]

[PATCH 10/10] perf tools: Remove some unused functions from color.c

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Rickard Strandqvist Removes some functions that are not used anywhere: color_parse_mem() color_parse() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul

[PATCH 05/10] perf hists: Introduce function for deleting/removing hist_entry

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The code being used when decaying and deleting entries from a hists instance was the same, provide a function to avoid code dup. Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith

[PATCH 01/10] perf mem: Enable sampling loads and stores simultaneously

2014-12-22 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian This patch modifies perf mem to default to sampling loads and stores simultaneously. It could only do one or the other before yet there was no hardware restriction preventing simultaneous collection. With this patch, one run is sufficient to collect both. It is still

Re: [PATCH] dma-mapping: tidy up dma_parms default handling

2014-12-22 Thread Vinod Koul
On Fri, Dec 19, 2014 at 05:39:09PM +, Robin Murphy wrote: > Many DMA controllers and other devices set max_segment_size to > indicate their scatter-gather capability, but have no interest in > segment_boundary_mask. However, the existence of a dma_parms structure > precludes the use of any

Re: [RFC PATCH 15/17] fs: use helper bio_add_page() instead of open coding on bi_io_vec

2014-12-22 Thread Dave Kleikamp
On 12/22/2014 05:48 AM, Dongsu Park wrote: > From: Kent Overstreet > > Call pre-defined helper bio_add_page() instead of open coding for > iterating through bi_io_vec[]. Doing that, it's possible to make some > parts in filesystems and mm/page_io.c simpler than before. > > Signed-off-by: Kent

[PATCH v2 1/2] staging: skein: Fixing trailing whitespace error

2014-12-22 Thread mathieu . poirier
From: Mathieu Poirier Signed-off-by: Mathieu Poirier --- drivers/staging/skein/skein_generic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/skein/skein_generic.c b/drivers/staging/skein/skein_generic.c index 85bd7d0168b0..899078f1b8bc 100644 ---

[PATCH v2 0/2] staging: skein: Fixing various coding style problems

2014-12-22 Thread mathieu . poirier
From: Mathieu Poirier This patchset is fixing miscellaneous coding style problems as reported by checkpatch. More interesting is the removal of 'do {} while (0) loop' statements for single line macros. The following provides a guarantee the semantic of the object code hasn't been altered by

[PATCH v2 2/2] staging: skein: Fixing single statement macro checkpatch warning

2014-12-22 Thread mathieu . poirier
From: Mathieu Poirier WARNING: Single statement macros should not use a do {} while (0) loop Signed-off-by: Mathieu Poirier --- drivers/staging/skein/skein_block.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/staging/skein/skein_block.c

Re: [PATCH] tools: perf: util: color.c: Remove some unused functions

2014-12-22 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 22, 2014 at 12:05:12PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Dec 22, 2014 at 03:56:10PM +0100, Jiri Olsa escreveu: > > On Sat, Dec 20, 2014 at 01:51:05PM +0100, Rickard Strandqvist wrote: > > > Removes some functions that are not used anywhere: > > > color_parse_mem()

[PATCH v6 3/3] of: Add of_graph_get_port_by_id function

2014-12-22 Thread Philipp Zabel
This patch adds a function to get a port device tree node by port id, or reg property value. Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart --- drivers/of/base.c| 26 ++ include/linux/of_graph.h | 7 +++ 2 files changed, 33 insertions(+) diff

[PATCH v6 2/3] of: Add for_each_endpoint_of_node helper macro

2014-12-22 Thread Philipp Zabel
Note that while of_graph_get_next_endpoint decrements the reference count of the child node passed to it, of_node_put(child) still has to be called manually when breaking out of the loop. Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart --- include/linux/of_graph.h | 11 +++ 1

Re: [PATCH] dmaengine: rcar-dmac: fix platform_no_drv_owner.cocci warnings

2014-12-22 Thread Vinod Koul
On Thu, Dec 18, 2014 at 12:15:56PM +0800, kbuild test robot wrote: > drivers/dma/sh/rcar-dmac.c:1490:3-8: No need to set .owner here. The core > will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

[PATCH v6 1/3] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint

2014-12-22 Thread Philipp Zabel
Decrementing the reference count of the previous endpoint node allows to use the of_graph_get_next_endpoint function in a for_each_... style macro. All current users of this function that pass a non-NULL prev parameter (that is, soc_camera and imx-drm) are changed to not decrement the passed prev

[PATCH v6 0/3] Add of-graph helpers to loop over endpoints and find ports by id

2014-12-22 Thread Philipp Zabel
Hi, next try for v3.20. After the merge window we have a few new users of of_graph_get_next_endpoint, could I please get some acks from the respective maintainers for this to go in through Grant's tree? This series converts all existing users of of_graph_get_next_endpoint that pass a non-NULL

Re: [PATCH] regulator: rt5033-regulator: Use regulator_nodes/of_match in the descriptor

2014-12-22 Thread Mark Brown
On Thu, Dec 18, 2014 at 08:13:36PM +0900, Beomho Seo wrote: > This patch is add regulator_nodes/of_match in the regulator descriptor > for using information from DT instead of sppecific codes. > drivers/regulator/rt5033-regulator.c |8 +++- > 1 file changed, 7 insertions(+), 1

Re: [PATCHv2 0/8] perf tools: Add perf data CTF conversion

2014-12-22 Thread Jiri Olsa
On Thu, Dec 11, 2014 at 04:12:21PM +0100, Jiri Olsa wrote: > hi, > this is follow up on original RFC patchset: > http://marc.info/?t=14073273564=1=2 > > Basically we are adding 'perf data convert' command to > allow conversion of perf data file into CTF [1] data. > > v2 changes: > -

Re: [PATCH v4] i8k: Autodetect maximal fan speed and fan RPM multiplier

2014-12-22 Thread Pali Rohár
On Sunday 21 December 2014 20:51:14 Guenter Roeck wrote: > On 12/21/2014 09:23 AM, Pali Rohár wrote: > > This patch adds new function i8k_get_fan_nominal_speed() for > > doing SMM call which will return nominal fan RPM for > > specified fan speed. It returns nominal RPM value at which > > fan

Re: [PATCH] tools: lib: traceevent: event-parse.c: Remove some unused functions

2014-12-22 Thread Jiri Olsa
On Mon, Dec 22, 2014 at 12:52:10PM -0200, Arnaldo Carvalho de Melo wrote: > Em Sat, Dec 20, 2014 at 01:45:41PM +0100, Rickard Strandqvist escreveu: > > Removes some functions that are not used anywhere: > > pevent_get_any_field_val() pevent_get_common_field_val() > > pevent_event_fields()

Re: [PATCH v3 2/5] ASoC: dwc: Iterate over all channels

2014-12-22 Thread Mark Brown
On Fri, Dec 19, 2014 at 04:18:06PM +, Andrew Jackson wrote: > From: Andrew Jackson > > The Designware core can be configured with up to four stereo channels. > Each stereo channel is individually configured so, when the driver's > hw_params call is made, each requested stereo channel has to

Re: [PATCH] tools: perf: util: color.c: Remove some unused functions

2014-12-22 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 22, 2014 at 03:56:10PM +0100, Jiri Olsa escreveu: > On Sat, Dec 20, 2014 at 01:51:05PM +0100, Rickard Strandqvist wrote: > > Removes some functions that are not used anywhere: > > color_parse_mem() color_parse() > > > > This was partially found by using a static code analysis program

mm: NULL ptr deref in unlink_file_vma

2014-12-22 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel, I've stumbled on the following spew: [ 432.376425] BUG: unable to handle kernel NULL pointer dereference at 0038 [ 432.378876] IP: down_write (./arch/x86/include/asm/rwsem.h:105

Re: [PATCH] dmaengine: rcar-dmac: Handle hardware descriptor allocation failure

2014-12-22 Thread Vinod Koul
On Wed, Dec 17, 2014 at 06:24:06PM +0530, Vinod Koul wrote: > On Wed, Dec 17, 2014 at 01:57:30AM +0200, Laurent Pinchart wrote: > > Do you mean that every Intel employee needs to resubscribe to all vger > > mailing > > list once a year ? :-o > Unfortuntely yes... :( I need to set my infradead

Re: System automatically wakes up because of Intel Rapid Start Technology

2014-12-22 Thread Matthew Garrett
Can you try this diff? diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c index 5b2e761..637f980 100644 --- a/drivers/rtc/rtc-cmos.c +++ b/drivers/rtc/rtc-cmos.c @@ -48,6 +48,7 @@ struct cmos_rtc { struct device *dev; int irq; struct

Re: [PATCH] tools: perf: util: color.c: Remove some unused functions

2014-12-22 Thread Jiri Olsa
On Sat, Dec 20, 2014 at 01:51:05PM +0100, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > color_parse_mem() color_parse() > > This was partially found by using a static code analysis program called > cppcheck. and partially removed ;-) [jolsa@krava perf]$ make

Re: [PATCH] tools: perf: util: color.c: Remove some unused functions

2014-12-22 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 22, 2014 at 11:53:58AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Dec 22, 2014 at 11:50:13AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Sat, Dec 20, 2014 at 01:51:05PM +0100, Rickard Strandqvist escreveu: > > > Removes some functions that are not used anywhere: > > >

Re: [PATCH] tools: perf: util: color.c: Remove some unused functions

2014-12-22 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 22, 2014 at 11:50:13AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Sat, Dec 20, 2014 at 01:51:05PM +0100, Rickard Strandqvist escreveu: > > Removes some functions that are not used anywhere: > > color_parse_mem() color_parse() > > > > This was partially found by using a static code

Re: [PATCH] tools: lib: traceevent: event-parse.c: Remove some unused functions

2014-12-22 Thread Arnaldo Carvalho de Melo
Em Sat, Dec 20, 2014 at 01:45:41PM +0100, Rickard Strandqvist escreveu: > Removes some functions that are not used anywhere: > pevent_get_any_field_val() pevent_get_common_field_val() > pevent_event_fields() pevent_event_common_fields() pevent_list_events() > pevent_print_event()

Re: [PATCH] tools: perf: util: color.c: Remove some unused functions

2014-12-22 Thread Arnaldo Carvalho de Melo
Em Sat, Dec 20, 2014 at 01:51:05PM +0100, Rickard Strandqvist escreveu: > Removes some functions that are not used anywhere: > color_parse_mem() color_parse() > > This was partially found by using a static code analysis program called > cppcheck. Thanks, applied. > Signed-off-by: Rickard

Re: [PATCH 7/7] perf tools: Set attr.task bit for a tracking event

2014-12-22 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 22, 2014 at 01:44:15PM +0900, Namhyung Kim escreveu: > The perf_event_attr.task bit is to track task (fork and exit) events > but it missed to be set by perf_evsel__config(). While it was not a > problem in practice since setting other bits (comm/mmap) ended up > being in same result,

<    1   2   3   4   5   6   7   8   9   10   >