[PATCH 1/3] PM / OPP: Add missing doc comments

2015-11-16 Thread Viresh Kumar
Few doc-style comments were missing, add them. Rearrange another one to match the sequence within the structure. Signed-off-by: Viresh Kumar --- drivers/base/power/opp/opp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/base/power/opp/opp.h b/drivers/base/power/o

[PATCH v1 1/2] enforce max/min time between commands

2015-11-16 Thread
In Processor Clocking Control specification v1.0 ,there are 2 definitions: 2.1.8 Minimum Time Between Commands 2.1.9 Maximum Time Between Commands that means 2 commands' interval should be located between Minimum Time Between Commands and Maximum Time Between Commands. 3.1 Get Average Frequency

[PATCH 2/3] PM / OPP: Parse 'opp-supported-hw' binding

2015-11-16 Thread Viresh Kumar
OPP bindings allow a platform to enable OPPs based on the version of the hardware they are used for. Add support to the OPP-core to parse these bindings, by introducing dev_pm_opp_{set|put}_supported_hw() APIs. Signed-off-by: Viresh Kumar --- drivers/base/power/opp/core.c | 153

[PATCH 3/3] PM / OPP: Parse 'opp--' bindings

2015-11-16 Thread Viresh Kumar
OPP bindings (for few properties) allow a platform to choose a value/range among a set of available options. The options are present as opp--, where the platform needs to supply the string. The OPP properties which allow such an option are: opp-microvolt and opp-microamp. Add support to the OPP-

Re: [PATCH] wireless: change cfg80211 regulatory domain info as debug messages

2015-11-16 Thread Johannes Berg
> So maybe add some wrapper that does a pr_info then > a pr_debug for the second and subsequent uses like: > That seems like a bad idea - one might be tricked into think that one saw the current data, but the actually current data is later hidden. johannes -- To unsubscribe from this list: send

[PATCH RESEND] arm64: berlin: add the pinctrl dependency for Marvell Berlin SoCs

2015-11-16 Thread Jisheng Zhang
This is to add the pinctrl dependency for Marvell Berlin SoCs. Signed-off-by: Jisheng Zhang Acked-by: Sebastian Hesselbarth Acked-by: Antoine Tenart Acked-by: Linus Walleij --- this small patch is missed: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-October/378638.html arch/ar

RE: [PATCH] ARM: use "depends on" for SoC configs instead of "if" after prompt

2015-11-16 Thread yamada.masahiro
Hi Arnd, > On Monday 16 November 2015 12:06:10 Masahiro Yamada wrote: > > Many ARM sub-architectures use prompts followed by "if" conditional, > > but it is wrong. > > > > Please notice the difference between > > > > config ARCH_FOO > > bool "Foo SoCs" if ARCH_MULTI_V7 > > > > an

[PATCH v1 2/2] retry 2 times when getting cpu frequency is zero

2015-11-16 Thread
when getting cpu frequency failures, it will retry 2 times at most. Signed-off-by: Pearson, Greg Signed-off-by: Zhang, Lin-Bao --- drivers/cpufreq/pcc-cpufreq.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/cpufreq/pcc-cpufreq.c b/drivers/cpufreq/pcc-cpufreq.c index c

[PATCH RESEND] arm: dts: berlin2q-marvell-dmp: remove broken-cd from eMMC node

2015-11-16 Thread Jisheng Zhang
The eMMC is non-removable so is marked with the non-removable DT property to avoid having to redetect it after a suspend/resume. But it also has the broken-cd property which is wrong since only one of the DT properties for card detection should be used Signed-off-by: Jisheng Zhang --- arch/arm/

Re: [PATCH] watchdog: tegra: Stop watchdog first if restarting

2015-11-16 Thread Thierry Reding
On Fri, Nov 13, 2015 at 11:52:30AM -0800, Guenter Roeck wrote: > On 11/09/2015 04:11 PM, Andrew Chew wrote: > >If we need to restart the watchdog due to someone changing the timeout > >interval, stop the watchdog before restarting it. Otherwise, the new > >timeout doesn't seem to take. > > > >Sign

Re: [RFC PATCH 1/2] genirq: Add runtime resume/suspend support for IRQ chips

2015-11-16 Thread Geert Uytterhoeven
Hi Jon, On Mon, Nov 16, 2015 at 11:34 AM, Jon Hunter wrote: > On 16/11/15 09:49, Geert Uytterhoeven wrote: >> On Mon, Nov 16, 2015 at 10:46 AM, Jon Hunter wrote: >>> On 13/11/15 20:01, Thomas Gleixner wrote: On Fri, 13 Nov 2015, Jon Hunter wrote: > On 12/11/15 23:20, Kevin Hilman wrote:

[PATCH RESEND] arm: dts: berlin2q: remove duplicated interrupt-parent

2015-11-16 Thread Jisheng Zhang
The default interrupt-parent has been set in the upper layer, apb@e8 and apb@fc for example. So if the interrupt-parent isn't changed, we don't need to set it again. This patch removes the dumplicated interrupt-parent settings. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.

Re: multi-codec support for arizona-ldo1 was Re: System with multiple arizona (wm5102) codecs

2015-11-16 Thread Mark Brown
On Mon, Nov 16, 2015 at 08:45:34AM +0100, Pavel Machek wrote: > > > Ok, so SND_SOC_DAPM_REGULATOR_SUPPLY() does not work, because I have > > > two regulators, right? Is there similar macro I can use? > > No? What would make you say that? > Plus, I'd expect to see some kind of "struct device" ar

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-16 Thread Kirill A. Shutemov
On Mon, Nov 16, 2015 at 07:32:20PM +0900, Minchan Kim wrote: > On Mon, Nov 16, 2015 at 10:45:22AM +0200, Kirill A. Shutemov wrote: > > On Mon, Nov 16, 2015 at 10:45:21AM +0900, Minchan Kim wrote: > > > During the test with MADV_FREE on kernel I applied your patches, > > > I couldn't see any problem

Re: [PATCH v4 09/24] regulator: pwm: use pwm_get/set_default_xxx() helpers where appropriate

2015-11-16 Thread Mark Brown
On Mon, Nov 16, 2015 at 09:56:32AM +0100, Boris Brezillon wrote: > +++ b/drivers/regulator/pwm-regulator.c > @@ -56,7 +56,7 @@ static int pwm_regulator_set_voltage_sel(struct > regulator_dev *rdev, > int dutycycle; > int ret; > > - pwm_reg_period = pwm_get_period(drvdata->pwm);

[tip:perf/urgent] tools: Actually install tmon in the install rule

2015-11-16 Thread tip-bot for Kamal Mostafa
Commit-ID: 836d525baada26e1a7462e87805337b9a9b729f6 Gitweb: http://git.kernel.org/tip/836d525baada26e1a7462e87805337b9a9b729f6 Author: Kamal Mostafa AuthorDate: Wed, 11 Nov 2015 14:25:33 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 12 Nov 2015 10:48:16 -0300 tools: Actual

[tip:perf/urgent] tools: Add a "make all" rule

2015-11-16 Thread tip-bot for Kamal Mostafa
Commit-ID: f6ba98c5dc78708cb7fd29950c4a50c4c7e88f95 Gitweb: http://git.kernel.org/tip/f6ba98c5dc78708cb7fd29950c4a50c4c7e88f95 Author: Kamal Mostafa AuthorDate: Wed, 11 Nov 2015 14:25:34 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 12 Nov 2015 18:58:10 -0300 tools: Add a

[tip:perf/urgent] perf symbols: Rebuild rbtree when adjusting symbols for kcore

2015-11-16 Thread tip-bot for Adrian Hunter
Commit-ID: 866548dd6e22c3795ae5146a9746a5cf659698f1 Gitweb: http://git.kernel.org/tip/866548dd6e22c3795ae5146a9746a5cf659698f1 Author: Adrian Hunter AuthorDate: Fri, 6 Nov 2015 15:59:29 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 12 Nov 2015 18:58:17 -0300 perf symbols:

[tip:perf/urgent] perf hists browser: Fix 'd' hotkey action to filter by DSO

2015-11-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fae00650f7910da7064f45d49c95df88fab816f6 Gitweb: http://git.kernel.org/tip/fae00650f7910da7064f45d49c95df88fab816f6 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 12 Nov 2015 15:59:26 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 12 Nov 2015 18:58:17 -0300 pe

[tip:perf/urgent] perf hists browser: The dso can be obtained from popup_action->ms.map->dso

2015-11-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b7f294b58adb02d928dccb04bd39cb789db09e1f Gitweb: http://git.kernel.org/tip/b7f294b58adb02d928dccb04bd39cb789db09e1f Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 12 Nov 2015 16:01:56 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 12 Nov 2015 18:58:18 -0300 pe

[PATCH] Doc: gpio: Fix typos in Documentation/gpio

2015-11-16 Thread Masanari Iida
This patch fix some spelling typos found in Documentation/gpio. Signed-off-by: Masanari Iida --- Documentation/gpio/consumer.txt| 4 ++-- Documentation/gpio/driver.txt | 6 +++--- Documentation/gpio/drivers-on-gpio.txt | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-)

[PATCH v2 PART-RESEND 0/2] berlin sdhci clock clean up

2015-11-16 Thread Jisheng Zhang
Add or fix the optional clock property, then remove the CLK_IGNORE_UNUSED flag for sdio clk(s). This is a partialy resend of http://lists.infradead.org/pipermail/linux-arm-kernel/2015-October/379457.html patch3, patch4 has been merged. Since v1: - remove the "mmc: sdhci-pxav3: fix optional clo

[PATCH v2 PART-RESEND 2/2] ARM: dts: berlin: add 2nd clock for BG2Q sdhci0 and sdhci1

2015-11-16 Thread Jisheng Zhang
Add the optional 2nd clock for BG2Q's sdhci0 and sdhci1. This would let the clock be disabled during runtime pm, so saves power a bit. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/berl

[PATCH v2 PART-RESEND 1/2] ARM: dts: berlin: correct BG2Q's sdhci2 2nd clock

2015-11-16 Thread Jisheng Zhang
The optional 2nd clock is CLKID_SDIO. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index 155430a..145dd33 100644 --- a/arch/arm/boot/dts/berli

Re: [PATCH v6 13/17] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-11-16 Thread Arnd Bergmann
On Monday 16 November 2015 10:16:35 Joseph Myers wrote: > On Sun, 15 Nov 2015, Chris Metcalf wrote: > > > I've added Rich, Paul, Joseph, and Mike to the cc's as they are probably > > a good subset of libc-alpha to help comment on these issues. My sense > > is that right now, it wouldn't be poss

Re: [PATCH] [media] i2c: constify v4l2_ctrl_ops structures

2015-11-16 Thread Lad, Prabhakar
On Fri, Nov 13, 2015 at 10:05 PM, Julia Lawall wrote: > These v4l2_ctrl_ops structures are never modified, like all the other > v4l2_ctrl_ops structures, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > Acked-by: Lad, Prabhakar Cheers, --Prabhak

[PATCH] Doc: ioctl: Fix typos in Documentation/ioctl

2015-11-16 Thread Masanari Iida
This patch fix some spelling typos in Documentation/ioctl. Signed-off-by: Masanari Iida --- Documentation/ioctl/botching-up-ioctls.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/ioctl/botching-up-ioctls.txt b/Documentation/ioctl/botching-up-ioctls.tx

Re: [PATCH] ARM: use "depends on" for SoC configs instead of "if" after prompt

2015-11-16 Thread Russell King - ARM Linux
On Mon, Nov 16, 2015 at 10:32:51AM +, yamada.masah...@socionext.com wrote: > Hi Arnd, > > > > On Monday 16 November 2015 12:06:10 Masahiro Yamada wrote: > > > Many ARM sub-architectures use prompts followed by "if" conditional, > > > but it is wrong. > > > > > > Please notice the difference

Re: [PATCH] PM / Domains: export pm_genpd_add_device symbol

2015-11-16 Thread Ulf Hansson
On 16 November 2015 at 10:07, Maruthi Srinivas Bayyavarapu wrote: > Drivers which can be built as loadable module needs > symbol - pm_genpd_add_device to be exported. Those drivers > create platform devices which comes under a powerdomain. Currently this API is used by a few SoCs that haven't yet

Re: [PATCH v5 4/7] usb: gadget: f_midi: fix leak on failed to enqueue out requests

2015-11-16 Thread Felipe Ferreri Tonello
Hi Robert, On 13/11/15 08:31, Robert Baldyga wrote: > Hi Felipe, > > On 11/10/2015 06:52 PM, Felipe F. Tonello wrote: >> This patch fixes a memory leak that occurs when an endpoint fails to enqueue >> the request. If that happens the complete function will never be called, thus >> never freeing t

[PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool

2015-11-16 Thread Peter Ujfalusi
f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a running transfer Fixed the memleak, but introduced another issue: the terminate_all callback might be called with interrupts disabled and the dma_free_coherent() is not allowed to be called when IRQs are disabled. Co

Re: [PATCH 3.2 00/60] 3.2.73-rc1 review

2015-11-16 Thread Ben Hutchings
On Sun, 2015-11-15 at 05:42 -0800, Guenter Roeck wrote: > On 11/14/2015 05:45 PM, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.73 > > release. > > There are 60 patches in this series, which will be posted as > > responses > > to this one.  If anyone has any issu

Re: [PATCH 2/2] drm/i915: Limit the busy wait on requests to 2us not 10ms!

2015-11-16 Thread Chris Wilson
On Mon, Nov 16, 2015 at 10:24:45AM +, Tvrtko Ursulin wrote: > > Hi, > > On 15/11/15 13:32, Chris Wilson wrote: > >When waiting for high frequency requests, the finite amount of time > >required to set up the irq and wait upon it limits the response rate. By > >busywaiting on the request compl

Re: [PATCH v6 13/17] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-11-16 Thread Joseph Myers
On Mon, 16 Nov 2015, Arnd Bergmann wrote: > Let's not get into the tv_nsec discussion today, that is not thankfully > not relevant for arm64 any more at this point. The system call ABI for > arm64/ilp32 is now the same as for any other 32-bit architecture using > the generic ABI, the question we'r

[PATCH RESEND 6/8] ARM: dts: berlin: enable wdt0 on the Google Chromecast

2015-11-16 Thread Jisheng Zhang
Enable wdt0 on the Google Chromecast to make use of the watchdog functionality. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts b/arch/arm/boot/dts/berlin2c

[PATCH RESEND 8/8] arm64: dts: berlin: enable wdt0 on the Marvell BG4CT STB board

2015-11-16 Thread Jisheng Zhang
Enable wdt0 on the Marvell BG4CT STB board to make use of the watchdog functionality. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/marvell/berlin4ct-stb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/berlin4ct-stb.dts b/arch/arm64/boot/dts/marvel

[PATCH RESEND 5/8] arm: dts: berlin: enable wdt0 on Sony NSZ-GS7

2015-11-16 Thread Jisheng Zhang
Enable wdt0 on Marvell Berlin BG2 based Sony NSZ-GS7 to make use of the watchdog functionality. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts b/arch/arm/boot/dts/berlin

[PATCH RESEND 1/8] arm: dts: berlin2q: add watchdog nodes

2015-11-16 Thread Jisheng Zhang
The Marvell Berlin BG2Q has 3 watchdogs which are compatible with the snps,dw-wdt driver sit in the sysmgr domain. This patch adds the corresponding device tree nodes. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.dtsi | 24 1 file changed, 24 insertions(+)

[PATCH RESEND 4/8] arm64: dts: berlin4ct: add watchdog nodes

2015-11-16 Thread Jisheng Zhang
The Marvell Berlin BG4CT has 3 watchdogs which are compatible with the snps,dw-wdt driver sit in the sysmgr domain. This patch adds the corresponding device tree nodes. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 24 1 file changed, 24 i

[PATCH RESEND 7/8] arm: dts: berlin: enable wdt0 on the Marvell BG2Q DMP

2015-11-16 Thread Jisheng Zhang
Enable wdt0 on the Marvell BG2Q DMP board to make use of the watchdog functionality. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts b/arch/arm/boot/dts/berlin2q-marvel

[PATCH RESEND 2/8] arm: dts: berlin2cd: add watchdog nodes

2015-11-16 Thread Jisheng Zhang
The Marvell Berlin BG2CD has 3 watchdogs which are compatible with the snps,dw-wdt driver sit in the sysmgr domain. This patch adds the corresponding device tree nodes. NOTE: although BG2CD doesn't have a HW sysmgr, but the sysmgr domain exists. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dt

[PATCH RESEND 3/8] arm: dts: berlin2: add watchdog nodes

2015-11-16 Thread Jisheng Zhang
The Marvell Berlin BG2 has 3 watchdogs which are compatible with the snps,dw-wdt driver sit in the sysmgr domain. This patch adds the corresponding device tree nodes. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2.dtsi | 24 1 file changed, 24 insertions(+)

[PATCH RESEND 0/8] {arm|arm64}: berlin: add watchdog support

2015-11-16 Thread Jisheng Zhang
In Marvell berlin SoCs, there are watchdogs which are compatible with the snps,dw-wdt driver. This series try to add watchdog support for them. Jisheng Zhang (8): arm: dts: berlin2q: add watchdog nodes arm: dts: berlin2cd: add watchdog nodes arm: dts: berlin2: add watchdog nodes arm64: dts

Re: [PATCH] lightnvm: change max_phys_sect to ushort

2015-11-16 Thread Thiago Farina
On Thu, Nov 12, 2015 at 4:35 PM, Matias Bjørling wrote: > The max_phys_sect variable is defined as a char. We do a boundary check > to maximally allow 256 physical page descriptors per command. As we are > not indexing from zero. This expression is always in false. Bump the > max_phys_sect to an u

Re: [PATCH] lightnvm: change max_phys_sect to ushort

2015-11-16 Thread Matias Bjørling
On 11/16/2015 12:18 PM, Thiago Farina wrote: On Thu, Nov 12, 2015 at 4:35 PM, Matias Bjørling wrote: The max_phys_sect variable is defined as a char. We do a boundary check to maximally allow 256 physical page descriptors per command. As we are not indexing from zero. This expression is always

Re: [PATCH 1/2] drm/i915: Break busywaiting for requests on pending signals

2015-11-16 Thread Chris Wilson
On Mon, Nov 16, 2015 at 09:54:10AM +, Tvrtko Ursulin wrote: > > Hi, > > On 15/11/15 13:32, Chris Wilson wrote: > >The busywait in __i915_spin_request() does not respect pending signals > >and so may consume the entire timeslice for the task instead of > >returning to userspace to handle the s

Re: [PATCH v7 0/4] KASAN for arm64

2015-11-16 Thread Suzuki K. Poulose
On 13/10/15 09:34, Catalin Marinas wrote: On Mon, Oct 12, 2015 at 06:52:56PM +0300, Andrey Ryabinin wrote: Andrey Ryabinin (3): arm64: move PGD_SIZE definition to pgalloc.h arm64: add KASAN support Documentation/features/KASAN: arm64 supports KASAN now Linus Walleij (1): ARM64: kasa

[PATCH] ixp4xx_eth: Delete an unnecessary check before the function call "dma_pool_destroy"

2015-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 16 Nov 2015 12:23:23 +0100 The dma_pool_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH v3] MMC/SDIO: enable SDIO device to suspend/resume asynchronously

2015-11-16 Thread Ulf Hansson
On 15 November 2015 at 14:53, Fu, Zhonghui wrote: > Now, PM core supports asynchronous suspend/resume mode for devices > during system suspend/resume, and the power state transition of one > device may be completed in separate kernel thread. PM core ensures > all power state transition timing depe

Re: Kernel 4.1 hang, apparently in __inet_lookup_established

2015-11-16 Thread Patrick Schaaf
On Sunday 15 November 2015 16:58:33 Grant Zhang wrote: > > Have you tried the two patches Eric mentioned? One of my 4.1.11 server > just hanged with very similar stack trace and I am wondering whether the > aforementioned patches would help. Sorry, Grant - I'm sticking to 3.14.xx for now. best r

Re: [PATCH] pstore: add support for 64 Bit address space

2015-11-16 Thread Wladislav Wiebe
Am 14.11.2015 um 00:46 schrieb EXT Kees Cook: On Fri, Nov 13, 2015 at 4:10 AM, Wiebe, Wladislav (Nokia - DE/Ulm) wrote: Some architectures has there reserved RAM in 64 Bit address space. Therefore converting mem_address module parameter to ullong. Signed-off-by: Wladislav Wiebe If this wor

Re: [PATCH v5 3/3] USB: serial: cp210x: Workaround cp2108 GET_LINE_CTL bug

2015-11-16 Thread Johan Hovold
On Wed, Oct 28, 2015 at 04:02:54PM -0500, Konstantin Shkolnyy wrote: > cp2108 GET_LINE_CTL returns the 16-bit value with the 2 bytes swapped. > However, SET_LINE_CTL functions properly. When the driver tries to modify > the register, it reads it, modifies some bits and writes back. Because the > re

Re: [PATCH 1/2] drm/i915: Break busywaiting for requests on pending signals

2015-11-16 Thread Tvrtko Ursulin
On 16/11/15 11:22, Chris Wilson wrote: On Mon, Nov 16, 2015 at 09:54:10AM +, Tvrtko Ursulin wrote: Hi, On 15/11/15 13:32, Chris Wilson wrote: The busywait in __i915_spin_request() does not respect pending signals and so may consume the entire timeslice for the task instead of returning t

Re: [PATCH v5 6/7] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface

2015-11-16 Thread Felipe Ferreri Tonello
Hi Clemens, On 13/11/15 08:11, Clemens Ladisch wrote: > Felipe Ferreri Tonello wrote: >> On 10/11/15 18:43, Sergei Shtylyov wrote: >>> On 11/10/2015 08:52 PM, Felipe F. Tonello wrote: @@ -75,6 +75,7 @@ struct f_midi { struct usb_ep*in_ep, *out_ep; struct snd_card

Re: Section mismatches in arch/powerpc/kernel/head_64.S

2015-11-16 Thread Denis Kirjanov
On 11/13/15, Laura Abbott wrote: > Hi, > > There seem to be section mismatches coming from head_64.S > > WARNING: vmlinux.o(.text+0x8994): Section mismatch in reference from the > variable __boot_from_prom to the function .init.text:prom_init() > The function __boot_from_prom() references > the fu

Re: [PATCH v6 13/17] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-11-16 Thread Arnd Bergmann
On Monday 16 November 2015 11:12:08 Joseph Myers wrote: > On Mon, 16 Nov 2015, Arnd Bergmann wrote: > > > Let's not get into the tv_nsec discussion today, that is not thankfully > > not relevant for arm64 any more at this point. The system call ABI for > > arm64/ilp32 is now the same as for any ot

[PATCH] arm64: dts: berlin: PSCI-1.0 support

2015-11-16 Thread Jisheng Zhang
The firmware can support PSCI-1.0 in fact. This change also enables suspend to ram on Marvell berlin arm64 SoC. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dt

Re: [PATCH v5 4/7] usb: gadget: f_midi: fix leak on failed to enqueue out requests

2015-11-16 Thread Robert Baldyga
On 11/16/2015 12:08 PM, Felipe Ferreri Tonello wrote: > Hi Robert, > > On 13/11/15 08:31, Robert Baldyga wrote: >> Hi Felipe, >> >> On 11/10/2015 06:52 PM, Felipe F. Tonello wrote: >>> This patch fixes a memory leak that occurs when an endpoint fails to enqueue >>> the request. If that happens the

[PATCH 1/7] phy: brcmstb-sata: add missing of_node_put

2015-11-16 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression c

[PATCH 5/7] phy: miphy28lp: add missing of_node_put

2015-11-16 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

[PATCH 6/7] phy: miphy365x: add missing of_node_put

2015-11-16 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

[PATCH 7/7] phy: cygnus: pcie: add missing of_node_put

2015-11-16 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression c

[PATCH 0/7] add missing of_node_put

2015-11-16 Thread Julia Lawall
The various for_each device_node iterators performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The complete semantic patch that finds this problem is (http://coccinelle.lip6.fr): // @r@ local idexpression n; expression e1,e2; iterator name for_each_node

[PATCH] Doc: f2fs: Fix typos in Documentation/filesystems/f2fs.txt

2015-11-16 Thread Masanari Iida
This patch fix some typos in Documentation/filesystems/f2fs.txt Signed-off-by: Masanari Iida --- Documentation/filesystems/f2fs.txt | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt index b102b43..

[PATCH 4/7] phy: rockchip-usb: add missing of_node_put

2015-11-16 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression c

[PATCH 3/7] phy: berlin-sata: add missing of_node_put

2015-11-16 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression c

[PATCH 2/7] phy: mt65xx-usb3: add missing of_node_put

2015-11-16 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a return from the middle of the loop requires an of_node_put. A simplified version of the semantic patch that finds this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-11-16 Thread Ulf Hansson
[...] >> Ahh, I see. >> >> It seems like a reasonable assumption that the controller can't cope >> with a higher clock rate than 100 MHz as "input" clock. That would >> then mean that there are different versions of the controller, as it >> seems like for some version it's fine with 200MHz and for

Re: [PATCH] [media] hdmi: added functions for MPEG InfoFrames

2015-11-16 Thread Thierry Reding
On Sat, Nov 14, 2015 at 07:38:19PM +0100, Enric Balletbo i Serra wrote: > The MPEG Source (MS) InfoFrame is in EIA/CEA-861B. It describes aspects of > the compressed video stream that were used to produce the uncompressed > video. > > The patch adds functions to work with MPEG InfoFrames. > > Sig

[PATCH] cxgb3: Delete unnecessary checks before the function call "kfree_skb"

2015-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 16 Nov 2015 12:46:41 +0100 The kfree_skb() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- driver

RE: [PATCH v8] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-16 Thread Bharat Kumar Gogada
> On Wed, Nov 11, 2015 at 12:03:39PM +0530, Bharat Kumar Gogada wrote: > > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > > > Signed-off-by: Bharat Kumar Gogada > > Signed-off-by: Ravi Kiran Gummaluri > > I acked v7. Please add acks when sending a new version. Hi Rob, I'm sorr

Re: [PATCH v6 13/17] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-11-16 Thread Joseph Myers
On Mon, 16 Nov 2015, Arnd Bergmann wrote: > There are two separate aspects here: > > a) leave out the support for all __off_t based syscalls (__ftruncate, >__lseek, __lxstat, __pread, __preadv, __pwrite, __pwritev, __truncate, >__xstat) as they are no longer needed, and change the handlin

Re: [PATCH 2/2] drm/i915: Limit the busy wait on requests to 2us not 10ms!

2015-11-16 Thread Tvrtko Ursulin
On 16/11/15 11:12, Chris Wilson wrote: On Mon, Nov 16, 2015 at 10:24:45AM +, Tvrtko Ursulin wrote: Hi, On 15/11/15 13:32, Chris Wilson wrote: When waiting for high frequency requests, the finite amount of time required to set up the irq and wait upon it limits the response rate. By busyw

[PATCH] mm, dax: fix DAX deadlocks (COW fault)

2015-11-16 Thread Yigal Korman
DAX handling of COW faults has wrong locking sequence: dax_fault does i_mmap_lock_read do_cow_fault does i_mmap_unlock_write Ross's commit[1] missed a fix[2] that Kirill added to Matthew's commit[3]. Original COW locking logic was introduced by Matthew here[4]. This should be app

Re: [PATCHv4 1/1] SCSI: hosts: update to use ida_simple for host_no management

2015-11-16 Thread Hannes Reinecke
On 11/13/2015 10:54 PM, Martin K. Petersen wrote: >> "Lee" == Lee Duncan writes: > >>> Well, I'm a bit worried about the loss of a monotonically increasing >>> host number from the debugging perspective. Right now, if you look >>> at any log, hostX always refers to one and only one incarnati

Re: [PATCH 2/3 v4] livepatch: add old_sympos as disambiguator field to klp_reloc

2015-11-16 Thread Petr Mladek
On Fri 2015-11-13 10:59:34, Josh Poimboeuf wrote: > On Fri, Nov 13, 2015 at 02:54:42PM +0100, Petr Mladek wrote: > > On Thu 2015-11-12 13:19:17, Josh Poimboeuf wrote: > > > On Thu, Nov 12, 2015 at 03:31:58PM +0100, Petr Mladek wrote: > > > > On Wed 2015-11-11 11:57:31, Josh Poimboeuf wrote: > > > >

Re: module: save load_info for livepatch modules

2015-11-16 Thread Miroslav Benes
On Fri, 13 Nov 2015, Jessica Yu wrote: > +++ Miroslav Benes [13/11/15 13:46 +0100]: > > On Fri, 13 Nov 2015, Miroslav Benes wrote: > > > > > As for load_info, I don't have a strong opinion whether to keep it for all > > > modules or for livepatch modules only. > > > > I have. We cannot keep it,

Re: [PATCH v6 13/17] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-11-16 Thread Arnd Bergmann
On Monday 16 November 2015 12:03:09 Joseph Myers wrote: > On Mon, 16 Nov 2015, Arnd Bergmann wrote: > > > There are two separate aspects here: > > > > a) leave out the support for all __off_t based syscalls (__ftruncate, > >__lseek, __lxstat, __pread, __preadv, __pwrite, __pwritev, __truncate

Re: [PATCH 1/3] PM / OPP: Add missing doc comments

2015-11-16 Thread Pavel Machek
On Mon 2015-11-16 16:07:26, Viresh Kumar wrote: > Few doc-style comments were missing, add them. Rearrange another one to > match the sequence within the structure. > > Signed-off-by: Viresh Kumar Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) h

Re: [PATCH] serial: imx: fix a possible NULL dereference

2015-11-16 Thread Uwe Kleine-König
Hello, On Thu, Nov 12, 2015 at 08:46:21AM +0100, LABBE Corentin wrote: > of_match_device could return NULL, and so cause a NULL pointer > dereference later. > > Signed-off-by: LABBE Corentin > --- > drivers/tty/serial/imx.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff

Re: [PATCH] usb: host: ohci-pxa27x: use of_property_read_bool()

2015-11-16 Thread Sergei Shtylyov
Hello. On 11/15/2015 5:29 PM, Saurabh Sengar wrote: for checking if a property is present or not, of_property_read_bool is more appropriate then of_get_property() s/then/than/. Signed-off-by: Saurabh Sengar [...] MBR, Sergei -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH] serial: imx: fix clk_prepare/unprepare usage

2015-11-16 Thread Uwe Kleine-König
On Thu, Nov 12, 2015 at 10:58:48AM +0100, Marcus Folkesson wrote: > clk_prepare/unprapare APIs are not allowed in atomic context, so > move prepare/unprepare to probe/remove and use clk_enable/disable > instead. > > Signed-off-by: Marcus Folkesson Do you see a problem? I don't claim your patch i

Re: [PATCH 4/4] m68knommu: Add missing initialization of max_pfn and {min,max}_low_pfn

2015-11-16 Thread Greg Ungerer
Hi Geert, On 15/11/15 21:04, Geert Uytterhoeven wrote: If max_pfn is not initialized, the block layer may use wrong DMA masks. Replace open-coded shifts by PFN_DOWN() while we're at it. Signed-off-by: Geert Uytterhoeven --- Compile-tested only. --- arch/m68k/kernel/setup_no.c | 9 ++---

[PATCH] rtlwifi: Delete unnecessary checks before the function call "kfree_skb"

2015-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 16 Nov 2015 13:12:25 +0100 The kfree_skb() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- driver

Re: module: save load_info for livepatch modules

2015-11-16 Thread Miroslav Benes
On Fri, 13 Nov 2015, Jessica Yu wrote: > +++ Miroslav Benes [13/11/15 13:56 +0100]: > > On Fri, 13 Nov 2015, Miroslav Benes wrote: > > > > > I agree this seems like the best approach. So if we preserve > > > mod_arch_syminfo (in case of s390) we should free it not in > > > module_finalize, but so

Re: [PATCH v4 09/24] regulator: pwm: use pwm_get/set_default_xxx() helpers where appropriate

2015-11-16 Thread Boris Brezillon
Hi Mark, On Mon, 16 Nov 2015 10:55:58 + Mark Brown wrote: > On Mon, Nov 16, 2015 at 09:56:32AM +0100, Boris Brezillon wrote: > > > +++ b/drivers/regulator/pwm-regulator.c > > @@ -56,7 +56,7 @@ static int pwm_regulator_set_voltage_sel(struct > > regulator_dev *rdev, > > int dutycycle; >

Re: multi-codec support for arizona-ldo1 was Re: System with multiple arizona (wm5102) codecs

2015-11-16 Thread Pavel Machek
Hi! > > > Every single sound driver gets this right, none of them assume the name > > > is global. What makes you say that they assume names are global? > > > Ok, so you are saying that if I fix mfd initialization, sound will > > automagically switch from global regulators to device-specific > >

git pull request for IPMI for 4.4

2015-11-16 Thread Corey Minyard
Well, I missed the merge window because I wasn't paying close enough attention. These changes are small and one fixes a moderately significant bug. They have been in linux-next for a while without issue. The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: Linux 4.4-rc

Re: [PATCH 1/2] MIPS: bmips: Add bcm63168-l1 interrupt controller

2015-11-16 Thread Jonas Gorski
Hi, On Sun, Nov 15, 2015 at 5:51 PM, Simon Arlott wrote: > Add device tree binding for the BCM63168 interrupt controller. Well, that's what I get for waiting for -rc1, I also planned to submit irqchip drivers[1] for bcm63xx/bmips for the next window ;p. > > This controller is similar to the SM

Re: [PATCH v6 13/17] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-11-16 Thread Joseph Myers
On Mon, 16 Nov 2015, Arnd Bergmann wrote: > > It's not a matter of leaving anything out - these would simply use 64-bit > > off_t (__off_t and __off64_t would be the same type) and the *64 versions > > would be aliases, exactly the same as on 64-bit architectures. (And > > _FILE_OFFSET_BITS ha

[PATCH] ixp4xx_hss: Delete an unnecessary check before the function call "dma_pool_destroy"

2015-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 16 Nov 2015 13:30:37 +0100 The dma_pool_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] f2fs: fix memory leak of kobject in error path of fill_super

2015-11-16 Thread Chao Yu
f2fs_sb_info::s_kobj should be released in error path of fill_super, otherwise it will lead to memory leak. This bug was found by kmemleak: dmesg: kmemleak: 2 new suspected memory leaks (see /sys/kernel/debug/kmemleak) cat /sys/kernel/debug/kmemleak unreferenced object 0x8800838dc358 (size 8

Re: [PATCH 1/7] ipc/shm: is_file_shm_hugepages can be boolean

2015-11-16 Thread Michal Hocko
On Mon 16-11-15 14:51:20, Yaowei Bai wrote: > This patch makes is_file_shm_hugepages return bool to improve > readability due to this particular function only using either > one or zero as its return value. yes it makes sense here. > No functional change. > > Signed-off-by: Yaowei Bai Acked-by

Re: [PATCH 2/7] mm/hugetlb: is_file_hugepages can be boolean

2015-11-16 Thread Michal Hocko
On Mon 16-11-15 14:51:21, Yaowei Bai wrote: > This patch makes is_file_hugepages return bool to improve > readability due to this particular function only using either > one or zero as its return value. > > This patch also removed the if condition to make is_file_hugepages > return directly. > >

Re: [PATCH 3/7] mm/memblock: memblock_is_memory/reserved can be boolean

2015-11-16 Thread Michal Hocko
On Mon 16-11-15 14:51:22, Yaowei Bai wrote: > This patch makes memblock_is_memory/reserved return bool to improve > readability due to this particular function only using either > one or zero as its return value. > > No functional change. > > Signed-off-by: Yaowei Bai Acked-by: Michal Hocko >

Re: [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function

2015-11-16 Thread Michal Hocko
On Mon 16-11-15 14:51:24, Yaowei Bai wrote: > Since commit a0b8cab3 ("mm: remove lru parameter from __pagevec_lru_add > and remove parts of pagevec API") there's no user of this function anymore, > so remove it. > > Signed-off-by: Yaowei Bai Acked-by: Michal Hocko > --- > include/linux/mmzone

Re: [PATCH 7/7] mm/mmzone: refactor memmap_valid_within

2015-11-16 Thread Michal Hocko
On Mon 16-11-15 14:51:26, Yaowei Bai wrote: [...] > @@ -72,16 +72,10 @@ struct zoneref *next_zones_zonelist(struct zoneref *z, > } > > #ifdef CONFIG_ARCH_HAS_HOLES_MEMORYMODEL > -int memmap_valid_within(unsigned long pfn, > +bool memmap_valid_within(unsigned long pfn, >

[PATCH 00/13] perf tools: bpf: Improve BPF program ability

2015-11-16 Thread Wang Nan
Resend patch set in [1] with sereval improvements based on Arnaldo's suggestions. This patch set is based on Arnaldo's perf/core. Patch 1/13 - 2/13 should have already been collected by Arnaldo but I can't find them in his repository, so I resend them. Patch 3/13 - 6/13 are improved according to

[PATCH 01/13] perf probe: Fix memory leaking on faiulre by clearing all probe_trace_events

2015-11-16 Thread Wang Nan
From: Masami Hiramatsu Fix memory leaking on failure path in debuginfo__find_trace_events() which frees an array of probe_trace_events but doesn't clear all allocated sub-structures and strings. So, before doing zfree(tevs), clear all the array elements which can have allocated resources. Signed

[PATCH 05/13] perf tools: Introduce strtobool() to string.c

2015-11-16 Thread Wang Nan
This patch clones strtobool() from kernel's string.c to perf's string.c, then add the function entry to tools/perf/util/include/linux/string.h. string.h in perf utils doesn't have #ifdef guard. This patch fixes it. This is preparation for enforcing BPF program configuration, which would allow con

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