[PATCH 3/9] ARM: zynq: DT: Add DDRC node

2014-08-20 Thread Soren Brinkmann
Add the DDR controller to the Zynq devicetree. Signed-off-by: Soren Brinkmann --- arch/arm/boot/dts/zynq-7000.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi index 6cc83d4c6c76..587cadcf7001 100644 ---

[PATCH 0/9] Zynq PM updates

2014-08-20 Thread Soren Brinkmann
Hi, I'm working on some PM-related updates and suspend for Zynq (for the interested, a branch with all patches is found here: https://github.com/sorenb-xlnx/linux-xlnx/commits/suspend). This series consists of the rather unproblematic parts that affect Zynq only and have no further dependencies.

Re: [PATCH] firmware: Automatically pull missing FW files

2014-08-20 Thread David Woodhouse
On Wed, 2014-08-20 at 12:21 -0700, Tadeusz Struk wrote: > Hi David, > On 08/20/2014 11:34 AM, David Woodhouse wrote: > > I'm not sure I understand. Precisely what fails? > > I clone a subsystem, configure it to use > CONFIG_EXTRA_FIRMWARE="qat_895xcc.bin", type make && make install and get: > >

Re: nohz fail (was: perf related boot hang.)

2014-08-20 Thread Catalin Iacob
I've also just hit what seems to be the same panic in 3.17-rc1 (ignore the 1 local patch, it's an unrelated change in a comment) twice in less than 1 hour. Hitting this twice in a short amount of time seems to be proof that the 3.17 merge window made it trigger more often. Both times I was running

Re: [PATCH v1 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-20 Thread Andy Gross
On Tue, Aug 19, 2014 at 08:22:14PM +0300, Georgi Djakov wrote: > This patch adds support for the TLMM (Top-Level Mode Mux) block found > in the APQ8084 platform. Comment in-line > + PINCTRL_PIN(134, "GPIO_134"), > + PINCTRL_PIN(135, "GPIO_135"), > + PINCTRL_PIN(136, "GPIO_136"), >

Re: [PATCH v1 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-20 Thread Georgi Djakov
On 20.08.14 18:42, Andy Gross wrote: > On Tue, Aug 19, 2014 at 09:39:30PM -0700, Bjorn Andersson wrote: >> On Tue 19 Aug 10:22 PDT 2014, Georgi Djakov wrote: >> >>> This patch adds support for the TLMM (Top-Level Mode Mux) block found >>> in the APQ8084 platform. >>> >> [...] >>> + >>> +#define

Re: Loading initrd above 4G causes freeze on boot

2014-08-20 Thread Matt Fleming
[ Pulling in EDK2 folks for help ] On Wed, 20 Aug, at 08:53:45PM, Michael Brown wrote: > On 20/08/14 20:05, Mantas Mikulėnas wrote: > > > >I experimented with some things (like setting chunk size to a few kB > >to see if it hangs earlier or only at the very end; etc.), and finally > >found out

[PATCH] Documentation: remove outdated references to the linux-next wiki

2014-08-20 Thread Jim Davis
The linux-next wiki at http://linux.f-seidel.de/linux-next/pmwiki has been gone for several months now. Signed-off-by: Jim Davis --- Documentation/HOWTO| 1 - Documentation/development-process/2.Process| 4 Documentation/development-process/8.Conclusion | 4

Re: Handling commit change logs

2014-08-20 Thread Stephen Warren
On 08/20/2014 02:02 PM, Andreas Färber wrote: Hi Javier, Am 20.08.2014 17:39, schrieb Javier Martinez Canillas: As you already know when you apply a patch with git am, everything that is between a line with 3 dashes line (---) and the actual diff is omitted since that is where the generated

Re: [PATCH 1/1] spi: Remove unused definitions

2014-08-20 Thread Pavel Machek
On Wed 2014-08-06 14:27:20, valdis.kletni...@vt.edu wrote: > On Wed, 06 Aug 2014 13:53:17 -0400, Nick Krause said: > > Remove unused definition which cause the following warnings > > > > drivers/spi/spi-omap-100k.c:73:0: warning: "WRITE" redefined [enabled by > > default] > >

Re: [PATCH] x86: remove obsolete comment in uapi/e820.h

2014-08-20 Thread Ross Zwisler
On Mon, 2014-05-19 at 11:50 -0600, Ross Zwisler wrote: > A comment introduced by this commit: > > 028b785888c5 x86 boot: extend some internal memory map arrays to handle > larger EFI input > > had to do with some nested preprocessor directives. The directives were > split into separate

Re: [PATCH v2 5/5] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-20 Thread Stephen Warren
On 08/13/2014 06:41 AM, Mikko Perttunen wrote: This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra30, Tegra114 and Tegra124. The thermal reset only works when the thermal sensors are calibrated, so a soctherm

Re: [PATCH v2 1/5] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-20 Thread Stephen Warren
On 08/13/2014 06:41 AM, Mikko Perttunen wrote: Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant properties in the binding documentation. diff --git

Re: [PATCH v2] powerpc: booke_wdt: Fix build error as a module

2014-08-20 Thread Pranith Kumar
On Wed, Aug 20, 2014 at 4:10 PM, Guenter Roeck wrote: > On Wed, Aug 20, 2014 at 03:26:46PM -0400, Pranith Kumar wrote: >> Building booke_wdt fails when trying to build as a module as there is no >> early_param() in module. Fix by using module_param() instead of >> early_param(). >> >>

Re: [PATCH] carl9170: Replace rcu_dereference() with rcu_access_pointer()

2014-08-20 Thread Christian Lamparter
On Wednesday, August 20, 2014 08:32:11 PM Andreea Bernat wrote: > On Mon, Aug 18, 2014 at 09:29:36PM +0200, Christian Lamparter wrote: > > On Sunday, August 17, 2014 01:48:07 PM Andreea-Cristina Bernat wrote: > > > The rcu_dereference() call is used directly in a condition. > > > Since its return

Re: [PATCH v2 2/5] of: Add nvidia,controller-id property to Tegra I2C bindings

2014-08-20 Thread Stephen Warren
On 08/13/2014 06:41 AM, Mikko Perttunen wrote: Sometimes, hardware blocks want to issue requests to devices connected to I2C buses by itself. In such case, the bus the target device resides on must be configured into a register. For this purpose, each I2C controller has a defined ID known by the

Re: [PATCH] firmware: Automatically pull missing FW files

2014-08-20 Thread Valdis . Kletnieks
On Wed, 20 Aug 2014 12:21:23 -0700, Tadeusz Struk said: > Hi David, > On 08/20/2014 11:34 AM, David Woodhouse wrote: > > I'm not sure I understand. Precisely what fails? > > I clone a subsystem, configure it to use > CONFIG_EXTRA_FIRMWARE="qat_895xcc.bin", type make && make install and get: > >

Re: [PATCH 6/8] drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs

2014-08-20 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 19 August 2014 15:02:44 Philipp Zabel wrote: > Using the for_each_... macro should make the code a bit shorter and > easier to read. > > Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart > --- > drivers/gpu/drm/drm_of.c | 8 ++-- >

Re: [PATCH v2 1/5] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-20 Thread Stephen Warren
On 08/13/2014 06:41 AM, Mikko Perttunen wrote: Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant properties in the binding documentation. diff --git

Re: [PATCH 5/8] of: Add of_graph_get_port_by_id function

2014-08-20 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 19 August 2014 15:02:43 Philipp Zabel wrote: > This patch adds a function to get a port device tree node by port id, > or reg property value. > > Signed-off-by: Philipp Zabel > --- > drivers/of/base.c| 30 ++ >

Re: [PATCH v2] powerpc: booke_wdt: Fix build error as a module

2014-08-20 Thread Guenter Roeck
On Wed, Aug 20, 2014 at 03:26:46PM -0400, Pranith Kumar wrote: > Building booke_wdt fails when trying to build as a module as there is no > early_param() in module. Fix by using module_param() instead of early_param(). > > Signed-off-by: Pranith Kumar > CC: Guenter Roeck Looks good as far as I

Handling commit change logs (was: [PATCH v3 13/15] cpufreq: Add cpufreq driver for Tegra124)

2014-08-20 Thread Andreas Färber
Hi Javier, Am 20.08.2014 17:39, schrieb Javier Martinez Canillas: > As you already know when you apply a patch with git am, everything > that is between a line with 3 dashes line (---) and the actual diff is > omitted since that is where the generated diffstat is placed by git > format-patch. >

[PATCH] params: fix potential memory leak in add_sysfs_param()

2014-08-20 Thread Arjun Sreedharan
Do not leak memory when attrs is non NULL and krealloc() fails. Without temporary variable, reference to it is lost. Signed-off-by: Arjun Sreedharan --- kernel/params.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/kernel/params.c b/kernel/params.c index

Re: [PATCH 4/8] of: Add for_each_endpoint_of_node helper macro

2014-08-20 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 19 August 2014 15:02:42 Philipp Zabel wrote: > 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. I think

Re: [PATCH v3] arm/smp: Absorb boot_secondary()

2014-08-20 Thread Geert Uytterhoeven
Hi Arnd, On Wed, Aug 20, 2014 at 9:30 PM, Arnd Bergmann wrote: > On Wednesday 20 August 2014, Geert Uytterhoeven wrote: >> >> Ping? >> >> On Wed, Jul 9, 2014 at 5:01 PM, Geert Uytterhoeven >> wrote: >> > After becoming a mandatory function, boot_secondary() is no longer used >> > outside

Re: [PATCH 3.12 000/104] 3.12.27-stable review

2014-08-20 Thread Guenter Roeck
On Wed, Aug 20, 2014 at 09:54:59AM -0700, Guenter Roeck wrote: > On Wed, Aug 20, 2014 at 01:43:51PM +0200, Jiri Slaby wrote: > > This is the start of the stable review cycle for the 3.12.27 release. > > There are 104 patches in this series, all will be posted as a response > > to this one. If

Re: Loading initrd above 4G causes freeze on boot

2014-08-20 Thread Michael Brown
On 20/08/14 20:05, Mantas Mikulėnas wrote: On Wed, Aug 20, 2014 at 8:05 PM, Matt Fleming wrote: On Wed, 13 Aug, at 07:44:49PM, Matt Fleming wrote: At this point, I think modifying the max address is the best way to debug this further, and figure out what address causes the hang. Mantas,

Re: [PATCH 1/3] usb: add support for Diolan DLN-2 devices

2014-08-20 Thread Arnd Bergmann
On Wednesday 20 August 2014, Daniel Baluta wrote: > From: Octavian Purdila > > This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO > Master Adapter DLN-2. Details about the device can be found here: > > https://www.diolan.com/i2c/i2c_interface.html. > > Information about the USB

Re: [PATCH v3 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-20 Thread Stephen Warren
On 08/06/2014 04:25 AM, Mikko Perttunen wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Since both the Tegra DT patches and this driver all rely

Re: [PATCH 3/3] modsign: lookup lines ending in .ko in .mod files

2014-08-20 Thread Rusty Russell
Bertrand Jacquin writes: > This does the same as commit ef591a5 (scripts/Makefile.modpost: error > in finding modules from .mod files), but for scripts/Makefile.modsign > > Maybe we should also apply to Makefile.modsign and Makefile.modinst > the change applied to Makefile.modpost by commit

Re: [PATCH 0/4] module: add support for unsafe, tainting parameters

2014-08-20 Thread Rusty Russell
Daniel Vetter writes: > On Wed, Aug 13, 2014 at 10:25 PM, Rusty Russell wrote: >> Jani Nikula writes: >>> This is a generic version of Daniel's patch [1] letting us have unsafe >>> module parameters (experimental, debugging, testing, etc.) that taint >>> the kernel when set. Quoting Daniel, >>

Re: [PATCH 01/24] perf tools: Add a test for tracking with sched_switch

2014-08-20 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 15, 2014 at 10:08:36PM +0300, Adrian Hunter escreveu: > Add a test that checks that sched_switch events and > tracking events can be recorded for a workload using the > evsel->system_wide and evsel->tracking flags (respectively) > with other events sometimes enabled or disabled.

Re: [PATCH 2/3] kbuild: handle module compression while running 'make modules_install'.

2014-08-20 Thread Rusty Russell
Bertrand Jacquin writes: > Since module-init-tools (gzip) and kmod (gzip and xz) support compressed > modules, it could be useful to include a support for compressing modules > right after having them installed. Doing this in kbuild instead of per > distro can permit to make this kind of usage

Re: [PATCH 1/3] modinst: wrap long lines in order to enhance cmd_modules_install

2014-08-20 Thread Rusty Russell
Jim Davis writes: > On Tue, Aug 19, 2014 at 11:57 AM, Bertrand Jacquin wrote: >> Note: shouldn't we use 'install -D $(2)/$@ $@' instead of mkdir >> and cp ? > > Will an install with -D in that sense always be available? That's not > a flag in the original (BSD) program, and I did find one SPARC

Re: [PATCH v3 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-20 Thread Stephen Warren
On 08/06/2014 04:25 AM, Mikko Perttunen wrote: This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. diff --git a/arch/arm/boot/dts/tegra124-jetson-tk1.dts

Re: [PATCH v3 2/4] ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree

2014-08-20 Thread Stephen Warren
On 08/06/2014 04:25 AM, Mikko Perttunen wrote: This adds the soctherm thermal sensing and management unit to the Tegra124 device tree along with the four thermal zones corresponding to the four thermal sensors provided by soctherm. diff --git a/arch/arm/boot/dts/tegra124.dtsi

Re: [PATCH] drivers: pci: convert generic host controller to DT host bridge creation API

2014-08-20 Thread Arnd Bergmann
On Wednesday 20 August 2014, Liviu Dudau wrote: > That has been the general approach of my patchset up to v9. But, as Bjorn has > mentioned in his v8 review and I have put in my cover letter, the regular > aproach means that architectures that use pci_scan_root_bus() will have to > drop their one

Re: [PATCH v3 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-20 Thread Stephen Warren
On 08/06/2014 04:25 AM, Mikko Perttunen wrote: This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Acked-by: Stephen Warren -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH RFC 1/3] x86: Make page cache mode a real type

2014-08-20 Thread Toshi Kani
On Tue, 2014-08-19 at 15:25 +0200, jgr...@suse.com wrote: > From: Juergen Gross > > At the moment there are a lot of places that handle setting or getting > the page cache mode by treating the pgprot bits equal to the cache mode. > This is only true because there are a lot of assumptions about

Re: [PATCH v3 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-20 Thread Doug Anderson
Dmitry, On Wed, Aug 20, 2014 at 12:29 PM, Dmitry Torokhov wrote: > On August 20, 2014 1:54:11 PM CDT, Doug Anderson > wrote: >>On Wed, Aug 20, 2014 at 3:04 AM, Thierry Reding >> wrote: >>> On Tue, Aug 19, 2014 at 09:07:54AM -0700, Doug Anderson wrote: The rk3288 has the ability to invert

Re: [PATCH v3] arm/smp: Absorb boot_secondary()

2014-08-20 Thread Arnd Bergmann
On Wednesday 20 August 2014, Geert Uytterhoeven wrote: > > Ping? > > On Wed, Jul 9, 2014 at 5:01 PM, Geert Uytterhoeven > wrote: > > After becoming a mandatory function, boot_secondary() is no longer used > > outside arch/arm/kernel/smp.c. Hence remove its public prototype, and, > > as

Re: [PATCH v3 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-20 Thread Dmitry Torokhov
On August 20, 2014 1:54:11 PM CDT, Doug Anderson wrote: >On Wed, Aug 20, 2014 at 3:04 AM, Thierry Reding > wrote: >> On Tue, Aug 19, 2014 at 09:07:54AM -0700, Doug Anderson wrote: >>> The rk3288 has the ability to invert >>> + struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); >>> +

Re: [PATCH] eventpoll: fix uninitialized variable in epoll_ctl

2014-08-20 Thread Eric Wong
Nicolas Iooss wrote: > When calling epoll_ctl with operation EPOLL_CTL_DEL, structure epds is > not initialized but ep_take_care_of_epollwakeup reads its event field. > When this unintialized field has EPOLLWAKEUP bit set, a capability check > is done for CAP_BLOCK_SUSPEND in

[PATCH 2/4] mempolicy: change get_task_policy() to return default_policy rather than NULL

2014-08-20 Thread Oleg Nesterov
Every caller of get_task_policy() falls back to default_policy if it returns NULL. Change get_task_policy() to do this. Signed-off-by: Oleg Nesterov --- mm/mempolicy.c | 31 +-- 1 files changed, 13 insertions(+), 18 deletions(-) diff --git a/mm/mempolicy.c

[PATCH v2] powerpc: booke_wdt: Fix build error as a module

2014-08-20 Thread Pranith Kumar
Building booke_wdt fails when trying to build as a module as there is no early_param() in module. Fix by using module_param() instead of early_param(). Signed-off-by: Pranith Kumar CC: Guenter Roeck --- drivers/watchdog/booke_wdt.c | 28 +--- 1 file changed, 5

[PATCH 4/4] mempolicy: remove the "task" arg of vma_policy_mof() and simplify it

2014-08-20 Thread Oleg Nesterov
1. vma_policy_mof(task) is simply not safe unless task == current, it can race with do_exit()->mpol_put(). Remove this arg and update its single caller. 2. vma can not be NULL, remove this check and simplify the code. Signed-off-by: Oleg Nesterov --- include/linux/mempolicy.h |2 +-

[PATCH 3/4] mempolicy: sanitize the usage of get_task_policy()

2014-08-20 Thread Oleg Nesterov
Cleanup + preparation. Every user of get_task_policy() calls it unconditionally, even if it is not going to use the result. get_task_policy() is cheap but still this does not look clean, plus the code looks simpler if get_task_policy() is called only when this is really needed. Note: I hope this

[PATCH 1/4] mempolicy: change alloc_pages_vma() to use mpol_cond_put()

2014-08-20 Thread Oleg Nesterov
Trivial cleanup. alloc_pages_vma() can use mpol_cond_put(). Signed-off-by: Oleg Nesterov --- mm/mempolicy.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 8f5330d..c0c5d38 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@

Re: [PATCH] firmware: Automatically pull missing FW files

2014-08-20 Thread Tadeusz Struk
Hi David, On 08/20/2014 11:34 AM, David Woodhouse wrote: > I'm not sure I understand. Precisely what fails? I clone a subsystem, configure it to use CONFIG_EXTRA_FIRMWARE="qat_895xcc.bin", type make && make install and get: MK_FW firmware/qat_895xxc.bin.gen.S make[1]: *** No rule to make

[PATCH 0/4] mempolicy: get_task_policy() cleanups/preparations

2014-08-20 Thread Oleg Nesterov
On 08/20, Oleg Nesterov wrote: > > With this change the only user of proc_maps_private->task is > hold_task_mempolicy/release_task_mempolicy. I believe this code is buggy > and should die, but this needs the changes in mm/mempolicy.c. I belive that 9e7814404b77c3e8 "hold task->mempolicy while

Re: [PATCH v3 00/13] scsi: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-08-20 Thread Christoph Hellwig
On Wed, Aug 20, 2014 at 08:14:17PM +0100, Alexander Gordeev wrote: > > I've applied patches 1 to 7 to the drivers-for-3.18 branch. > > Thanks, Christoph! > > Not sure how to handle the rest, though. Chelsio driver has no > maintainers and none of be2iscsi, pmcraid and csiostor has been >

[PATCH v5] irqchip: gic: Allow gic_arch_extn hooks to call into scheduler

2014-08-20 Thread Stephen Boyd
Commit 1a6b69b6548c (ARM: gic: add CPU migration support, 2012-04-12) introduced an acquisition of the irq_controller_lock in gic_raise_softirq() which can lead to a spinlock recursion if the gic_arch_extn hooks call into the scheduler (via complete() or wake_up(), etc.). This happens because

Re: [PATCH] powerpc: booke_wdt: Fix build error as a module

2014-08-20 Thread Pranith Kumar
On Wed, Aug 20, 2014 at 3:18 PM, Pranith Kumar wrote: > On Wed, Aug 20, 2014 at 2:59 PM, Guenter wrote: >> >> Any reason for changing the default from false to true ? >> Unless you have a reaslly good reason, I don't think that is a good idea. > > I don't see where it was being set to false. It

Re: [PATCH] powerpc: booke_wdt: Fix build error as a module

2014-08-20 Thread Pranith Kumar
On Wed, Aug 20, 2014 at 2:59 PM, Guenter wrote: > On Wed, Aug 20, 2014 at 12:55:44PM -0400, Pranith Kumar wrote: >> Building booke_wdt fails when trying to build as a module as there is no >> early_param() in module. Fix by using module_param() instead of >> early_param(). >> >> Signed-off-by:

Re: [PATCH v4] irqchip: gic: Allow gic_arch_extn hooks to call into scheduler

2014-08-20 Thread Stephen Boyd
On 08/17/14 18:54, Jason Cooper wrote: > > Stephen, is the out of tree code that triggered this bound for mainline? > It's bound for mainline eventually. We're actively working on enabling more low power modes and when that happens we'll need this patch. We can always carry this patch for now if

pull request: bluetooth 2014-08-20

2014-08-20 Thread Johan Hedberg
Hi John, Here's a set of patches for the 3.17-rc series. It contains a connection reference counting fix for LE where a connection might stay up even though it should get disconnected. The other 802.15.4 6LoWPAN related patches were sent to the bluetooth tree by Alexander Aring and described as

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-20 Thread Alexandre Montplaisir
On 08/20/2014 05:28 AM, Jiri Olsa wrote: ok, easy enough ;-) so I'm guessing this governs the expected CTF layout for event/stream headers/contexts, right? Correct, if the domain is "kernel" we then assume that the rest of the trace contains the expected elements of a kernel trace. Of

Re: [PATCH v4] irqchip: gic: Allow gic_arch_extn hooks to call into scheduler

2014-08-20 Thread Stephen Boyd
On 08/17/14 17:17, Nicolas Pitre wrote: > On Sun, 17 Aug 2014, Russell King - ARM Linux wrote: > >> I have no problem with changing gic_raise_softirq() to use a different >> lock, which gic_migrate_target(), and gic_set_affinity() can also use. >> There's no need for horrid locking here, because

Re: [PATCH v3 00/13] scsi: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-08-20 Thread Alexander Gordeev
On Tue, Aug 19, 2014 at 10:00:47AM -0700, Christoph Hellwig wrote: > Thanks, > > I've applied patches 1 to 7 to the drivers-for-3.18 branch. Thanks, Christoph! Not sure how to handle the rest, though. Chelsio driver has no maintainers and none of be2iscsi, pmcraid and csiostor has been reviewed

Re: [PATCH] powerpc: booke_wdt: Fix build error as a module

2014-08-20 Thread Guenter
On Wed, Aug 20, 2014 at 12:55:44PM -0400, Pranith Kumar wrote: > Building booke_wdt fails when trying to build as a module as there is no > early_param() in module. Fix by using module_param() instead of early_param(). > > Signed-off-by: Pranith Kumar > CC: Guenter Roeck > --- >

Re: Loading initrd above 4G causes freeze on boot

2014-08-20 Thread Mantas Mikulėnas
On Wed, Aug 20, 2014 at 8:05 PM, Matt Fleming wrote: > On Wed, 13 Aug, at 07:44:49PM, Matt Fleming wrote: >> >> At this point, I think modifying the max address is the best way to >> debug this further, and figure out what address causes the hang. > > Mantas, did you manage to get to the bottom

[PATCH v4 1/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-20 Thread Doug Anderson
The rk3288 has the ability to invert the polarity of the PWM. Let's enable that ability. Note that this increases pwm_cells to 3 for rk3288. Signed-off-by: Doug Anderson --- Changes in v4: - Updated comment not to add caveats about pwm_cells 3. - rockchip_pwm_set_polarity() is now static. -

Re: amd_mce.c redundant if check?

2014-08-20 Thread Borislav Petkov
On Wed, Aug 20, 2014 at 11:18:21AM -0600, Adam Duskett wrote: > I have recently come upon this section of code in > arch/x86/kernel/cpu/mcheck/mce_amd.c that seems to be a redundant > unnecessary if check. > > > From line 170 - 176: > > if (tr->set_lvt_off) { > if (lvt_off_valid(tr->b,

[PATCH] toshiba_acpi.c - fix busted keyboard backlight logic

2014-08-20 Thread Valdis Kletnieks
Both the original and the first attempted patch managed to get the logic wrong. So we fix it so we only continue if sscanf returns exactly one value, and it has to be either 1 or 2. Apparently, programmers are getting out and hacking code without remembering de Morgan's Laws... Patch is against

[PATCH v4 3/4] ARM: dts: Add main PWM info to rk3288

2014-08-20 Thread Doug Anderson
This adds the PWM info (other than the VOP PWM) to the main rk3288 dtsi file. Signed-off-by: Caesar Wang Signed-off-by: Doug Anderson --- Changes in v4: - Add rockchip,grf to pwm nodes. Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288.dtsi | 72

[PATCH v4 0/4] PWM changes for rk3288-evb

2014-08-20 Thread Doug Anderson
These patches enable the PWM backlight for the rk3288-evb board. There were tested by watching the backlight grow from off to max with the following instructions: cd /sys/class/backlight/backlight*/ for i in $(seq 255); do echo $i > brightness; sleep .01; done The first patch switches PWM

Re: [PATCH v3 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-20 Thread Doug Anderson
Thierry, On Wed, Aug 20, 2014 at 3:04 AM, Thierry Reding wrote: > On Tue, Aug 19, 2014 at 09:07:54AM -0700, Doug Anderson wrote: >> The rk3288 has the ability to invert the polarity of the PWM. Let's >> enable that ability. >> >> To do this we increase the number of pwm_cells to 3 to allow

[PATCH v4 2/4] ARM: rockchip: rk3288: Switch to use the proper PWM IP

2014-08-20 Thread Doug Anderson
The rk3288 SoC has an option to switch all of the PWMs in the system between the old IP block and the new IP block. The rk3288 PWM driver is written for the new block, so make sure that we enable the new block in the GRF (general register file) when the PWM driver probes. We emulate the solution

[PATCH v4 4/4] ARM: dts: Enable PWM backlight on rk3288-evb

2014-08-20 Thread Doug Anderson
PWM0 is the PWM associated with the LCD backlight. Enable it. Signed-off-by: Doug Anderson --- Changes in v4: None Changes in v3: - Fix space to tab in 2 places in DTS. - Make sure PWM is upper case in prose. Changes in v2: None arch/arm/boot/dts/rk3288-evb.dtsi | 53

[tip:sched/core] sched: Add wrapper for checking task_struct:: on_rq

2014-08-20 Thread tip-bot for Kirill Tkhai
Commit-ID: da0c1e65b51a289540159663aa4b90ba2366bc21 Gitweb: http://git.kernel.org/tip/da0c1e65b51a289540159663aa4b90ba2366bc21 Author: Kirill Tkhai AuthorDate: Wed, 20 Aug 2014 13:47:32 +0400 Committer: Ingo Molnar CommitDate: Wed, 20 Aug 2014 14:52:59 +0200 sched: Add wrapper for

[tip:sched/core] sched: Remove double_rq_lock() from __migrate_task()

2014-08-20 Thread tip-bot for Kirill Tkhai
Commit-ID: a1e01829796aa7a993e28ffd7fee5c8d525be175 Gitweb: http://git.kernel.org/tip/a1e01829796aa7a993e28ffd7fee5c8d525be175 Author: Kirill Tkhai AuthorDate: Wed, 20 Aug 2014 13:47:50 +0400 Committer: Ingo Molnar CommitDate: Wed, 20 Aug 2014 14:53:02 +0200 sched: Remove

[tip:sched/core] sched/fair: Remove double_lock_balance() from active_load_balance_cpu_stop()

2014-08-20 Thread tip-bot for Kirill Tkhai
Commit-ID: e5673f280501298dbb56efa46e333cf64ee5080a Gitweb: http://git.kernel.org/tip/e5673f280501298dbb56efa46e333cf64ee5080a Author: Kirill Tkhai AuthorDate: Wed, 20 Aug 2014 13:48:01 +0400 Committer: Ingo Molnar CommitDate: Wed, 20 Aug 2014 14:53:03 +0200 sched/fair: Remove

[tip:sched/core] sched/fair: Remove double_lock_balance() from load_balance()

2014-08-20 Thread tip-bot for Kirill Tkhai
Commit-ID: 163122b7fcfa28c0e4a838fcc8043c616746802e Gitweb: http://git.kernel.org/tip/163122b7fcfa28c0e4a838fcc8043c616746802e Author: Kirill Tkhai AuthorDate: Wed, 20 Aug 2014 13:48:29 +0400 Committer: Ingo Molnar CommitDate: Wed, 20 Aug 2014 14:53:05 +0200 sched/fair: Remove

[tip:sched/core] sched: Teach scheduler to understand TASK_ON_RQ_MIGRATING state

2014-08-20 Thread tip-bot for Kirill Tkhai
Commit-ID: cca26e8009d1939a6a5bf0200d276fa26f03e536 Gitweb: http://git.kernel.org/tip/cca26e8009d1939a6a5bf0200d276fa26f03e536 Author: Kirill Tkhai AuthorDate: Wed, 20 Aug 2014 13:47:42 +0400 Committer: Ingo Molnar CommitDate: Wed, 20 Aug 2014 14:53:00 +0200 sched: Teach scheduler to

[tip:x86/uv] x86/apic/uv: Remove unnecessary #ifdef

2014-08-20 Thread tip-bot for Andreas Ruprecht
Commit-ID: 8091c1f8ea2374695c105591179b1269fb5f2fbb Gitweb: http://git.kernel.org/tip/8091c1f8ea2374695c105591179b1269fb5f2fbb Author: Andreas Ruprecht AuthorDate: Wed, 20 Aug 2014 10:16:01 +0200 Committer: Ingo Molnar CommitDate: Wed, 20 Aug 2014 15:05:30 +0200 x86/apic/uv: Remove

Re: [PATCH] firmware: Automatically pull missing FW files

2014-08-20 Thread David Woodhouse
On Wed, 2014-08-20 at 11:21 -0700, Tadeusz Struk wrote: > Hi, > When a binary FW file is not present in the firmware dir then the > build will fail. I'm not sure I understand. Precisely what fails? I don't like this patch very much. We should be removing the legacy firmware/ directory entirely,

[RFCv2 3/4] target: Add a user-passthrough backstore

2014-08-20 Thread Andy Grover
Add a LIO storage engine that presents commands to userspace for execution. This would allow more complex backstores to be implemented out-of-kernel, and also make experimentation a-la FUSE (but at the SCSI level -- "SUSE"?) possible. It uses a mmap()able UIO device per LUN to share a command

[RFCv2 4/4] target: Add documentation on the target userspace pass-through driver

2014-08-20 Thread Andy Grover
Describes the driver and its interface to make it possible for user programs to back a LIO-exported LUN. Signed-off-by: Andy Grover --- Documentation/target/tcmu-design.txt | 229 +++ 1 file changed, 229 insertions(+) create mode 100644

[RFCv2 0/4] Userspace pass-through storage engine (backend)

2014-08-20 Thread Andy Grover
Hi all, Here is version two of the userspace passthrough backstore code I've been working on. You can find some documentation on the design in last patch. Please let me know what you think about the design and the code. Thanks -- Andy Changes since version 1: * Use netlink for reporting device

[RFCv2 1/4] target: Remove unneeded check in sbc_parse_cdb

2014-08-20 Thread Andy Grover
The check of SCF_SCSI_DATA_CDB seems to be a remnant from before hch's refactoring of this function. There are no places where that flag is set that cmd->execute_cmd isn't also set. Signed-off-by: Andy Grover --- drivers/target/target_core_sbc.c | 2 +- 1 file changed, 1 insertion(+), 1

[RFCv2 2/4] uio: Export definition of struct uio_device

2014-08-20 Thread Andy Grover
In order to prevent a O(n) search of the filesystem to link up its uio node with its target configuration, TCMU needs to know the minor number that UIO assigned. Expose the definition of this struct so TCMU can access this field. Signed-off-by: Andy Grover --- drivers/uio/uio.c | 12

[PATCH] firmware: Automatically pull missing FW files

2014-08-20 Thread Tadeusz Struk
Hi, When a binary FW file is not present in the firmware dir then the build will fail. This patch enables auto-download any missing FW file for both shipped and external targets. Generated against linux-next. Signed-off-by: Tadeusz Struk --- firmware/Makefile | 25 +++-- 1

Re: [PATCH v2 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-08-20 Thread Felipe Balbi
On Wed, Jul 23, 2014 at 03:33:23PM +0100, Peter Griffin wrote: > > > > > + reset_control_assert(dwc3_data->rstc_pwrdn); > > > > > + > > > > > + pinctrl_pm_select_sleep_state(dev); > > > > pinctrl will select sleep and default states automatically for you. > > I've left this in v3, as

Re: [PATCH] Revert "platform/x86/toshiba-apci.c possible bad if test?"

2014-08-20 Thread Ari Sundholm
On Wed, 20 Aug 2014, Ari Sundholm wrote: > - if (sscanf(buf, "%i", ) != 1 || (mode != 2 || mode != 1)) > + if (sscanf(buf, "%i", ) != 1 && (mode != 2 || mode != 1)) > return -EINVAL; Note that the condition still looks wrong even after the revert, as (mode != 2 || mode !=

Re: Kernel crypto API: cryptoperf performance measurement

2014-08-20 Thread Milan Broz
On 08/20/2014 03:25 PM, Jussi Kivilinna wrote: >> One to four GB per second for XTS? 12 GB per second for AES CBC? Somehow >> that >> does not sound right. > > Agreed, those do not look correct... I wonder what happened there. On > new run, I got more sane results: Which cryptsetup version are

Re: [PATCH 0/7] usb-phy: samsung: Cleanup the unused drivers

2014-08-20 Thread Felipe Balbi
Hi, On Thu, Aug 14, 2014 at 07:53:53PM +0530, Vivek Gautam wrote: > - This series is based on 'usb-next' branch. > > Now that we have support for USB PHY controllers for Exynos SoC series, > we are free to remove the older usb-phy support. > In the process, we are removing the entire

Re: [PATCH 0/5] usb: phy: samsung: remove old USB PHY code

2014-08-20 Thread Felipe Balbi
Hi, On Thu, Aug 14, 2014 at 04:25:22PM +0200, Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patch series removes the old Samsung USB PHY drivers that > got replaced by the new ones using the generic PHY layer. > > Depends on: > - next-20140813 branch of linux-next kernel this thread seems to

Re: [PATCH v4 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-08-20 Thread Felipe Balbi
Hi, On Wed, Jul 30, 2014 at 04:28:09PM +0100, Peter Griffin wrote: > This patch adds the ST glue logic to manage the DWC3 HC > on STiH407 SoC family. It manages the powerdown signal, > and configures the internal glue logic and syscfg registers. > > Signed-off-by: Giuseppe Cavallaro >

Re: [PATCH 1/4] ARM: rockchip: rk3288: Switch to use the proper PWM IP

2014-08-20 Thread Heiko Stübner
Am Mittwoch, 20. August 2014, 09:27:02 schrieb Doug Anderson: > Heiko, > > On Wed, Aug 20, 2014 at 9:20 AM, Heiko Stübner wrote: > > Am Mittwoch, 20. August 2014, 08:55:09 schrieb Doug Anderson: > >> Thierry, > >> > >> On Wed, Aug 20, 2014 at 8:38 AM, Thierry Reding > >> > >> wrote: > >> > On

Re: [PATCH] mtd: nand: stm_nand_bch: add new driver

2014-08-20 Thread pekon
On Tuesday 19 August 2014 07:42 AM, Brian Norris wrote: On Wed, Aug 06, 2014 at 02:32:18AM +0530, pe...@pek-sem.com wrote: On Tuesday 05 August 2014 07:53 PM, Lee Jones wrote: On Thu, 03 Jul 2014, Gupta, Pekon wrote: + /* Load last page of block */ + offs = (loff_t)block <<

Re: [PATCH v4 2/3] usb: dwc3: dwc3-st: Add st-dwc3 devicetree bindings documentation

2014-08-20 Thread Felipe Balbi
On Wed, Jul 30, 2014 at 04:28:10PM +0100, Peter Griffin wrote: > This patch documents the device tree documentation required for > the ST usb3 controller glue layer found in STiH407 devices. > > Signed-off-by: Giuseppe Cavallaro > Signed-off-by: Peter Griffin > Acked-by: Lee Jones > --- >

Re: [PATCH v4 3/3] MAINTAINERS: Add dwc3-st.c file to ARCH/STI architecture

2014-08-20 Thread Felipe Balbi
On Wed, Jul 30, 2014 at 04:28:11PM +0100, Peter Griffin wrote: -ENOLOG > Signed-off-by: Peter Griffin > Acked-by: Lee Jones > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 702ca10..269ad3b 100644 > --- a/MAINTAINERS > +++

[PATCH] af_decnet: Use time_after_eq

2014-08-20 Thread Himangi Saraogi
The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. A simplified version of the Coccinelle semantic patch making this change is as follows: @change@ expression E1,E2,E3; @@ - jiffies - E1 >= (E2*E3) +

[PATCH] decnet: Use time_after_eq

2014-08-20 Thread Himangi Saraogi
The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. A simplified version of the Coccinelle semantic patch making this change is as follows: @change@ expression E1,E2; @@ - (jiffies - E1) >= E2 +

[PATCH] ipconfig: Use time_before

2014-08-20 Thread Himangi Saraogi
The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. A simplified version of the Coccinelle semantic patch making this change is as follows: @change@ expression E1,E2; @@ - jiffies - E1 < E2 + time_before(jiffies,

Re: [PATCH V3 0/6] namespaces: log namespaces per task

2014-08-20 Thread Nicolas Dichtel
Le 20/08/2014 18:25, Richard Guy Briggs a écrit : On 14/08/19, Eric W. Biederman wrote: Richard Guy Briggs writes: On 14/05/20, Richard Guy Briggs wrote: On 14/05/20, Eric Paris wrote: On Tue, 2014-05-20 at 09:12 -0400, Richard Guy Briggs wrote: The purpose is to track namespaces in use

[PATCH] dn_dev: Use time_before

2014-08-20 Thread Himangi Saraogi
The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. A simplified version of the Coccinelle semantic patch making this change is as follows: @change@ expression E1,E2; @@ ( - (jiffies - E1) < E2 +

Re: [PATCH] carl9170: Replace rcu_dereference() with rcu_access_pointer()

2014-08-20 Thread Andreea Bernat
On Mon, Aug 18, 2014 at 09:29:36PM +0200, Christian Lamparter wrote: > On Sunday, August 17, 2014 01:48:07 PM Andreea-Cristina Bernat wrote: > > The rcu_dereference() call is used directly in a condition. > > Since its return value is never dereferenced it is recommended to use > >

Re: [PATCH] Revert "platform/x86/toshiba-apci.c possible bad if test?"

2014-08-20 Thread Valdis . Kletnieks
On Wed, 20 Aug 2014 20:03:26 +0300, Ari Sundholm said: > From: Ari Sundholm > > This reverts commit bdc3ae7221213963f438faeaa69c8b4a2195f491. > + if (sscanf(buf, "%i", ) != 1 && (mode != 2 || mode != 1)) > return -EINVAL; I'm not convinced that's right either. If we come in

Re: [Xen-devel] [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.

2014-08-20 Thread Ian Campbell
On Wed, 2014-08-20 at 13:20 -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Aug 20, 2014 at 06:18:52PM +0100, Ian Campbell wrote: > > On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote: > > > The rest of the Xen device drivers use an module alias > > > to load devices when they shop up

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