[a9888889e36e] Task 02 result

2014-09-06 Thread Kroderia
vagrant@lucid32:~$ uname -r 3.17.0-rc3-00130-g86ba8b0 vagrant@lucid32:~$ ls /lib/modules/ 2.6.32-38-generic 3.17.0-rc3+ 3.17.0-rc3-00130-g86ba8b0 vagrant@lucid32:~$ ls /boot/ abi-2.6.32-38-generic memtest86+.bin config-2.6.32-38-generic System.map-2.6.32-38-generic c

[PATCH] staging: rtl8821ae: Fix sparse warning by making functions static.

2014-09-06 Thread Andreas Schlick
Signed-off-by: Andreas Schlick --- drivers/staging/rtl8821ae/rtl8821ae/hw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8821ae/rtl8821ae/hw.c b/drivers/staging/rtl8821ae/rtl8821ae/hw.c index 1aa1661..0539105 100644 --- a/drivers/staging/rtl8821ae

Re: [a9888889e36e] Task 02 result

2014-09-06 Thread Sudip Mukherjee
On Sat, Sep 06, 2014 at 04:16:17PM +0800, Kroderia wrote: > vagrant@lucid32:~$ uname -r > 3.17.0-rc3-00130-g86ba8b0 > vagrant@lucid32:~$ ls /lib/modules/ > 2.6.32-38-generic 3.17.0-rc3+ 3.17.0-rc3-00130-g86ba8b0 > vagrant@lucid32:~$ ls /boot/ > abi-2.6.32-38-generic memtest86+.bin

Re: [PATCH v2] crypto, dm: LLVMLinux: Remove VLAIS usage from dm-crypt

2014-09-06 Thread Milan Broz
On 09/06/2014 01:02 AM, beh...@converseincode.com wrote: > From: Jan-Simon Möller > > The use of variable length arrays in structs (VLAIS) in the Linux Kernel code > precludes the use of compilers which don't implement VLAIS (for instance the > Clang compiler). This patch instead allocates the ap

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

2014-09-06 Thread Mikko Perttunen
From: Mikko Perttunen 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 driver is also required. The

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

2014-09-06 Thread Mikko Perttunen
From: Mikko Perttunen 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 hardware. Add a property

[PATCH v3 3/5] ARM: tegra124: Add I2C controller ids to device tree

2014-09-06 Thread Mikko Perttunen
From: Mikko Perttunen I2C controller ids are required when programming hardware blocks that send messages to devices connected to an I2C bus, such as when the PMC sends a poweroff message to the PMIC. Add ids to all I2C controllers in Tegra124. Signed-off-by: Mikko Perttunen Reviewed-by: Wei Ni

[PATCH v3 0/5] Thermal reset support in PMC

2014-09-06 Thread Mikko Perttunen
Hi, this series adds support for hardware-triggered thermal reset to the PMC driver. Namely, it adds device tree properties for specifying the I2C command to be sent when thermtrip is triggered. It is to be noted that thermtrip won't be ever triggered without a soctherm driver to calibrate the sen

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

2014-09-06 Thread Mikko Perttunen
From: Mikko Perttunen 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. Signed-off-by: Mikko Perttunen Reviewed-by: Wei Ni Tested-by: Wei Ni --- v3 -

[PATCH v3 4/5] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-09-06 Thread Mikko Perttunen
From: Mikko Perttunen This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC by sending an I2C message to the PMIC. The entries specify the I2C message to be sent. Signed-off-by: Mikko Perttunen

[PATCH] staging: bcm: sort.c: fix coding style

2014-09-06 Thread Omar Sandoval
Fix checkpatch.pl "Alignment should match open parenthesis". Signed-off-by: Omar Sandoval --- drivers/staging/bcm/sort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm/sort.c b/drivers/staging/bcm/sort.c index d518c42..ca0b179 100644 --- a/drivers/sta

Re: [PATCH] efi: Resolve some shadow warnings

2014-09-06 Thread Matt Fleming
On Fri, 05 Sep, at 06:34:52PM, Jeff Kirsher wrote: > From: Mark Rustad > > It is a really bad idea to declare variables or parameters that > have the same name as common types. It is valid C, but it gets > surprising if a macro expansion attempts to declare an inner > local with that type. Change

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

2014-09-06 Thread Mikko Perttunen
From: Mikko Perttunen 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. Signed-off-by: Mikko Perttunen Reviewed-by: Wei Ni Tested-by: Wei Ni --- v4:

Re: [PATCH] efi: Resolve some shadow warnings

2014-09-06 Thread Jeff Kirsher
On Sat, 2014-09-06 at 10:03 +0100, Matt Fleming wrote: > On Fri, 05 Sep, at 06:34:52PM, Jeff Kirsher wrote: > > From: Mark Rustad > > > > It is a really bad idea to declare variables or parameters that > > have the same name as common types. It is valid C, but it gets > > surprising if a macro ex

Re: [GIT PULL] bcache changes for 3.17

2014-09-06 Thread Francis Moreau
On 09/05/2014 11:45 PM, Greg KH wrote: > On Fri, Sep 05, 2014 at 09:31:06AM +0200, Francis Moreau wrote: >> On 08/10/2014 09:54 AM, Peter Kieser wrote: >>> >>> On 2014-08-05 9:58 AM, Jens Axboe wrote: On 08/04/2014 10:33 PM, Kent Overstreet wrote: > Hey Jens, here's the pull request for 3.

Re: [PATCH] security, crypto: LLVMLinux: Remove VLAIS from ima_crypto.c

2014-09-06 Thread Thomas Gleixner
On Fri, 5 Sep 2014, Behan Webster wrote: > On 09/05/14 17:18, Thomas Gleixner wrote: > > > Signed-off-by: Behan Webster > > > Signed-off-by: Mark Charlebois > > > Signed-off-by: Jan-Simon Möller > > This SOB chain is completely ass backwards. See Documentation/... > "The Signed-off-by: tag indic

[PATCH] staging/lustre: annotate lock/unlock in lov_stripe_lock / lov_stripe_unlock

2014-09-06 Thread Mostyn Bramley-Moore
Annotate the lock/unlock pair in lov_stripe_lock/lov_stripe_unlock to avoid sparse warning about a context imbalance. Part of the eudyptula challenge: http://eudyptula-challenge.org/ Signed-off-by: Mostyn Bramley-Moore --- drivers/staging/lustre/lustre/lov/lov_obd.c | 2 ++ 1 file changed, 2 ins

RE: [PATCH 1/3 v2] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-06 Thread Chen, Alvin
> > > > > > - irq_set_chained_handler(irq, dwapb_irq_handler); > > > - irq_set_handler_data(irq, gpio); > > > + if (!pp->irq_shared) { > > > + irq_set_chained_handler(pp->irq, dwapb_irq_handler); > > > + irq_set_handler_data(pp->irq, gpio); > > > + } else { > > > + /* > > >

Re: [PATCH 3.14-stable] usb: gadget: f_fs: drop duplicate usb_functionfs_descs_head declaration

2014-09-06 Thread Karol Lewandowski
On Fri, Sep 05, 2014 at 12:58:53PM -0700, Greg Kroah-Hartman wrote: OP here. > On Fri, Sep 05, 2014 at 09:04:44PM +0200, Karol Lewandowski wrote: > > Applicable for 3.14-stable only. > > > > This commit drops duplicate declaration of struct usb_functionfs_descs_head > > erronousely added in comm

[tip:timers/urgent] timekeeping: Update timekeeper before updating vsyscall and pvclock

2014-09-06 Thread tip-bot for Thomas Gleixner
Commit-ID: 9bf2419fa7bffa16ce58a4d5c20399eff8c970c9 Gitweb: http://git.kernel.org/tip/9bf2419fa7bffa16ce58a4d5c20399eff8c970c9 Author: Thomas Gleixner AuthorDate: Sat, 6 Sep 2014 12:24:49 +0200 Committer: Thomas Gleixner CommitDate: Sat, 6 Sep 2014 12:58:18 +0200 timekeeping: Update ti

[PATCH] regulator: tps65217: Remove spurious platform data check

2014-09-06 Thread Mark Brown
We should always be able to probe a regulator with no platform data. This will enable readback of current state, though no changes can be made to the device configuration. Signed-off-by: Mark Brown --- drivers/regulator/tps65217-regulator.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deleti

Re: [PATCH] drivers: media: radio: radio-miropcm20.c: include missing header file

2014-09-06 Thread Sudip Mukherjee
On Fri, Aug 29, 2014 at 01:38:01PM +0530, Sudip Mukherjee wrote: > with -Werror=implicit-function-declaration build failed with error : > error: implicit declaration of function 'inb' > error: implicit declaration of function 'outb' > > Reported-by: Jim Davis > Signed-off-by: Sudip Mukherjee > -

[PATCH] regulator: isl9305: Add Intersil ISL9305/H driver

2014-09-06 Thread Mark Brown
The ISL9305 and ISL9305H are mini-PMICs offering two DCDC regulators and two LDO regulators. While there are some register differences between them these do not affect the current Linux driver as the relevant features are not yet supported. Signed-off-by: Mark Brown --- .../devicetree/bindings/r

Re: [PATCH] iio: gyro: bmg160: only set power state if PM_RUNTIME is defined

2014-09-06 Thread Hartmut Knaack
Irina Tirdea schrieb: > When CONFIG_PM_RUNTIME is not defined and bmg160 tries to power > off the device, bmg160_set_power_state will call pm_runtime_put_autosuspend, > which is not implemented (wil return -ENOSYS). > > Only call bmg160_set_power_state when CONFIG_PM_RUNTIME is defined. Unless ther

Re: [PATCH] iio: magn: ak8975: fix unnecessary casting between char* and const char*

2014-09-06 Thread Hartmut Knaack
Irina Tirdea schrieb: > Use const char* instead of casting const char* to char*. > > Signed-off-by: Irina Tirdea > --- > drivers/iio/magnetometer/ak8975.c |8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/iio/magnetometer/ak8975.c > b/drivers/iio/magneto

Re: [PATCH v2 07/17] nfsd: don't keep a pointer to the lease in nfs4_file

2014-09-06 Thread Jeff Layton
On Fri, 5 Sep 2014 17:40:58 -0400 "J. Bruce Fields" wrote: > On Thu, Sep 04, 2014 at 08:38:33AM -0400, Jeff Layton wrote: > > Now that we don't need to pass in an actual lease pointer to > > vfs_setlease on unlock, we can stop tracking a pointer to the lease in > > the nfs4_file. > > > > Switch

Re: [PATCH] irq: gic-v3: Tag all low level accessors __maybey_unused

2014-09-06 Thread Mark Brown
On Sun, Aug 17, 2014 at 01:04:53PM -0400, Jason Cooper wrote: > On Wed, Jul 30, 2014 at 08:23:14PM +0100, Mark Brown wrote: > > From: Mark Brown > > This is only really needed for gic_write_sgi1r in the !SMP case since it > > is only referenced in the SMP initialisation code but it seems better t

[tip:x86/cleanups] x86/tty/serial/8250: Resolve missing-field-initializers warnings

2014-09-06 Thread tip-bot for Mark Rustad
Commit-ID: 9ea029f12aab2fa3f2913e67d17cc24801ba694e Gitweb: http://git.kernel.org/tip/9ea029f12aab2fa3f2913e67d17cc24801ba694e Author: Mark Rustad AuthorDate: Fri, 5 Sep 2014 19:55:49 -0700 Committer: Ingo Molnar CommitDate: Sat, 6 Sep 2014 10:20:53 +0200 x86/tty/serial/8250: Resolve m

[tip:x86/cleanups] x86/tty/serial/8250: Clean up the asm/ serial.h include file a bit

2014-09-06 Thread tip-bot for Ingo Molnar
Commit-ID: 196cf358422517b3ff3779c46a1f3e26fb084172 Gitweb: http://git.kernel.org/tip/196cf358422517b3ff3779c46a1f3e26fb084172 Author: Ingo Molnar AuthorDate: Sat, 6 Sep 2014 10:12:19 +0200 Committer: Ingo Molnar CommitDate: Sat, 6 Sep 2014 10:20:55 +0200 x86/tty/serial/8250: Clean up

[PATCH] xpad: sync device IDs with xboxdrv

2014-09-06 Thread Benjamin Valentin
The userspace xboxdrv driver knows some more device ids than the kernel. This patch adds the missing xbox gamepads from [1] to xpad.c [1] https://github.com/Grumbel/xboxdrv/blob/master/src/xpad_device.cpp Signed-off-by: Benjamin Valentin --- drivers/input/joystick/xpad.c | 33 ++

[PATCH v2] regulator: hi6421: Fix misleading comment

2014-09-06 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/hi6421-regulator.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/hi6421-regulator.c b/drivers/regulator/hi6421-regulator.c index e389920..156d0d1 100644 --- a/drivers/regulator/hi6421-regulator.c +++ b/

Re: [PATCH] irqchip: gic-v3: Only define gic_peek_irq() when building SMP

2014-09-06 Thread Mark Brown
On Sun, Aug 17, 2014 at 12:57:36PM -0400, Jason Cooper wrote: > On Sun, Jul 27, 2014 at 05:57:04PM +0100, Mark Brown wrote: > > From: Mark Brown > > If building with CONFIG_SMP disbled (for example, with allnoconfig) then > > GCC complains that the static function gic_peek_irq() is defined but no

[PATCH v2] efi: Resolve some shadow warnings

2014-09-06 Thread Jeff Kirsher
From: Mark Rustad It is a really bad idea to declare variables or parameters that have the same name as common types. It is valid C, but it gets surprising if a macro expansion attempts to declare an inner local with that type. Change the local names to eliminate the hazard. Change s16 => str16,

[PATCH] clk: samsung: exynos3250: fix mout_cam_blk parent list

2014-09-06 Thread Pankaj Dubey
As per user manual of Exynos3250 SRC_CAM can select div_cam_blk_320 if it's value is 0xC, so placing div_cam_blk_320 at proper index in parent list of mout_cam_blk. Signed-off-by: Pankaj Dubey --- drivers/clk/samsung/clk-exynos3250.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers

Re: [RFC PATCH 3/9] irq_work: Force raised irq work to run on irq work interrupt

2014-09-06 Thread Frederic Weisbecker
On Thu, Sep 04, 2014 at 08:11:37AM +0200, Peter Zijlstra wrote: > On Thu, Aug 21, 2014 at 04:52:51PM +0200, Frederic Weisbecker wrote: > > diff --git a/kernel/irq_work.c b/kernel/irq_work.c > > index e6bcbe7..17bd203 100644 > > --- a/kernel/irq_work.c > > +++ b/kernel/irq_work.c > > @@ -22,6 +22,7

Re: Linux 3.10.54

2014-09-06 Thread Markus Reichelt
* Greg KH wrote: > I'm announcing the release of the 3.10.54 kernel. These days I don't follow this list that closely anymore but I wonder why the following patch has not been included: md/raid6: avoid data corruption during recovery of double-degraded RAID6 http://git.kernel.org/cgit/linux/ker

Re: [PATCH v2] regulator: hi6421: Fix misleading comment

2014-09-06 Thread Mark Brown
On Sat, Sep 06, 2014 at 08:59:36PM +0800, Axel Lin wrote: > Signed-off-by: Axel Lin Applied, thanks. Please always send incremental patches. signature.asc Description: Digital signature

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-06 Thread Mark Brown
On Fri, Sep 05, 2014 at 11:05:37AM +0200, Anders Berg wrote: > Well, the problem with adding this to the spi-pl022 driver (as a > vendor specific extension) is that this IP block unfortunately isn't > distinguishable from the standard ARM PL022 implementation (same > values in the PrimeCell identi

Re: [PATCH v10 net-next 2/2] net: filter: split filter.h and expose eBPF to user space

2014-09-06 Thread Pablo Neira Ayuso
On Thu, Sep 04, 2014 at 10:17:18PM -0700, Alexei Starovoitov wrote: > allow user space to generate eBPF programs > > uapi/linux/bpf.h: eBPF instruction set definition > > linux/filter.h: the rest > > This patch only moves macro definitions, but practically it freezes existing > eBPF instruction

Re: [PATCH] arm64: LLVMLinux: Add missing abort() for AARCH64

2014-09-06 Thread Arnd Bergmann
On Friday 05 September 2014 16:21:42 beh...@converseincode.com wrote: > From: Mark Charlebois > > Add missing abort for arch aarch64. > > This patch makes the aarch64 kernel able to compile with gcc or clang. > > Signed-off-by: Mark Charlebois > Signed-off-by: Behan Webster You don't describ

Re: [PATCH] arm64: LLVMLinux: Provide __aeabi_* symbols which are needed for clang

2014-09-06 Thread Arnd Bergmann
On Friday 05 September 2014 16:23:14 beh...@converseincode.com wrote: > --- /dev/null > +++ b/arch/arm64/lib/eabi.c > @@ -0,0 +1,32 @@ > +/* > + * linux/lib/eabi.c Please don't put the file names in the files themselves, it's redundant and in this case actually wrong. > + * Copyright (C) 2012

Re: [PATCH v4] ASOC: dapm: add code to configure dai link parameters

2014-09-06 Thread Mark Brown
On Mon, Sep 01, 2014 at 09:56:53AM +0100, Nikesh Oswal wrote: > dai-link params for codec-codec links were fixed. The fixed > link between codec and another chip which may be another codec, > baseband, bluetooth codec etc may require run time configuaration > changes. This change provides an option

Re: [PATCH v6 0/4] APM X-Gene PCIe host controller

2014-09-06 Thread Bjorn Helgaas
On Fri, Sep 5, 2014 at 6:25 PM, Tanmay Inamdar wrote: > This patch adds support for AppliedMicro X-Gene PCIe host controller. The > driver is tested on X-Gene platform with different gen1/2/3 PCIe endpoint > cards. > > X-Gene PCIe controller driver has depedency on the pcie arm64 arch support. > L

Re: [PATCH] staging: bcm: sort.c: fix coding style

2014-09-06 Thread Matthias Beyer
Reviewed-by: Matthias Beyer On 06-09-2014 01:59:37, Omar Sandoval wrote: > Fix checkpatch.pl "Alignment should match open parenthesis". > > Signed-off-by: Omar Sandoval > --- > drivers/staging/bcm/sort.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/stag

Re: [PATCH v2.2 2/2] dt-bindings: Adding compatible attribute for SKY81452 regulator

2014-09-06 Thread Mark Brown
On Fri, Sep 05, 2014 at 10:55:07AM +0900, Gyungoh Yoo wrote: > On Mon, Sep 01, 2014 at 11:31:58AM +0100, Mark Brown wrote: > > Why is this a good idea - can this driver be used for anything other > > than a sky81452? > Yes. There is a possibility that this driver will be used by similar > device

Re: [PATCH] scsi_debug: deadlock between completions and surprise module removal

2014-09-06 Thread Douglas Gilbert
On 14-09-05 11:25 AM, Bart Van Assche wrote: On 09/05/14 15:56, Douglas Gilbert wrote: With scsi-mq I think many LLDs probably have a new race possibility between a surprise rmmod of the LLD and another thread presenting a new command at about the same time (or another thread's command completin

Let's Partner In Trust.

2014-09-06 Thread Ong Eng
I need your help to transfer funds to buy properties:Email:ongenghuat...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the F

Re: [PATCH] scsi_debug: deadlock between completions and surprise module removal

2014-09-06 Thread Christoph Hellwig
On Sat, Sep 06, 2014 at 10:40:06AM -0400, Douglas Gilbert wrote: > And they do call scsi_remove_host(). But they do that toward > the end of their clean-up. The problem that I observed has > already happened before that. > > IOW I think the QUEUE_FLAG_DYING state needs to be set and > acknowledged

Re: [PATCH v3 3/4] thermal: add more description for thermal-zones

2014-09-06 Thread Eduardo Valentin
Hello Wei, On Fri, Sep 05, 2014 at 05:41:12PM +0800, Wei Ni wrote: > Hi, Eduardo > > On 09/01/2014 06:26 PM, Wei Ni wrote: > > On 08/29/2014 07:32 PM, edubez...@gmail.com wrote: > >> Hello Wei, > >> > >> On Thu, Aug 28, 2014 at 11:03 PM, Wei Ni wrote: > >>> On 08/28/2014 09:21 PM, Eduardo Valen

Re: [PATCH] perf tools : adds support for native scripting

2014-09-06 Thread Milian Wolff
On Thursday 22 May 2014 04:24:11 Andi Kleen wrote: > Adrien BAK writes: > > As it is perf-script allows one to use perl or python scripts to parse > > perf events. > > The following proposal aimed to introduce support of .so files as scripts. > > This support allows for better performance when par

[PATCH 0/5] media: davinci: vpif fixes

2014-09-06 Thread Lad, Prabhakar
this patch series fixes several small issues in VPIF driver. Lad, Prabhakar (5): media: davinci: vpif_display: drop setting of vb2 buffer state to ACTIVE media: davinci: vpif_capture: drop setting of vb2 buffer state to ACTIVE media: videobuf2-core.h: add a helper to get status of

[PATCH 3/5] media: videobuf2-core.h: add a helper to get status of start_streaming()

2014-09-06 Thread Lad, Prabhakar
this patch adds a helper to get the status if start_streaming() was called successfully. Signed-off-by: Lad, Prabhakar Cc: Pawel Osciak Cc: Marek Szyprowski Cc: Kyungmin Park Cc: Hans Verkuil --- include/media/videobuf2-core.h | 9 + 1 file changed, 9 insertions(+) diff --git a/incl

[PATCH 5/5] media: davinci: vpif_capture: fix the check on suspend/resume callbacks

2014-09-06 Thread Lad, Prabhakar
It is possible to call STREAMON without having any buffers queued. So vb2_is_streaming() can return true without start_streaming() having been called. Only after at least one buffer has been queued will start_streaming be called. The check vb2_is_streaming() is incorrect as this would start the DM

[PATCH 1/5] media: davinci: vpif_display: drop setting of vb2 buffer state to ACTIVE

2014-09-06 Thread Lad, Prabhakar
this patch drops setting of vb2 buffer state to VB2_BUF_STATE_ACTIVE, as any buffer queued to the driver is marked ACTIVE by the vb2 core. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_display.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/media/platform

[PATCH 4/5] media: davinci: vpif_display: fix the check on suspend/resume callbacks

2014-09-06 Thread Lad, Prabhakar
It is possible to call STREAMON without having any buffers queued. So vb2_is_streaming() can return true without start_streaming() having been called. Only after at least one buffer has been queued will start_streaming be called. The check vb2_is_streaming() is incorrect as this would start the DM

[PATCH 2/5] media: davinci: vpif_capture: drop setting of vb2 buffer state to ACTIVE

2014-09-06 Thread Lad, Prabhakar
this patch drops setting of vb2 buffer state to VB2_BUF_STATE_ACTIVE, as any buffer queued to the driver is marked ACTIVE by the vb2 core. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/platform/

linux-next: Tree for Sep 5: build error due to 'ath5k: added debugfs file for dumping eeprom'

2014-09-06 Thread Guenter Roeck
I see the following build error on linux-next-20140905. Guenter --- Building alpha:allmodconfig ... failed Building sparc64:allmodconfig ... failed drivers/net/wireless/ath/ath5k/debug.c: In function 'open_file_eeprom': drivers/net/wireless/ath/ath5k/debug.c:933:2: error: implicit decla

Re: [PATCH] ARM: /proc/cpuinfo: Use DT machine name when possible

2014-09-06 Thread Andreas Färber
Am 05.09.2014 15:52, schrieb Pali Rohár: > On Friday 05 September 2014 15:45:42 Mark Rutland wrote: >> On Fri, Sep 05, 2014 at 12:38:40PM +0100, Pali Rohár wrote: >>> On Wednesday 18 June 2014 18:54:24 Pali Rohár wrote: Machine name from board description is some generic name on DT kernel

Re: [PATCH v4 1/4] thermal: rockchip: add driver for thermal

2014-09-06 Thread Eduardo Valentin
Hello Ceasar, On Wed, Sep 03, 2014 at 10:10:36AM +0800, Caesar Wang wrote: > Thermal is TS-ADC Controller module supports > user-defined mode and automatic mode. > > User-defined mode refers,TSADC all the control signals entirely by > software writing to register for direct control. > > Automaic

linux-next: Tree for Sep 5: build failure due to 'mm: introduce dump_vma'

2014-09-06 Thread Guenter Roeck
I see the following build failure in next-20140905. Guenter --- Building tile:tilegx_defconfig ... failed -- Error log: mm/page_alloc.c: In function 'dump_vma': mm/page_alloc.c:6742:46: error: 'pgprot_t' has no member named 'pgprot' make[1]: *** [mm/page_alloc.o] Error 1 make[1]: ***

Re: [Xen-devel] [PATCH] x86/xen: Fix 64bit kernel pagetable setup of PV guests

2014-09-06 Thread Stefan Bader
On 02.09.2014 13:01, David Vrabel wrote: > On 01/09/14 18:34, David Vrabel wrote: >> On 29/08/14 16:17, Stefan Bader wrote: >>> >>> This change might not be the fully correct approach as it basically >>> removes the pre-set page table entry for the fixmap that is compile >>> time set (level2_fixmap

Re: [RFC PATCH 3/9] irq_work: Force raised irq work to run on irq work interrupt

2014-09-06 Thread Peter Zijlstra
On Sat, Sep 06, 2014 at 03:35:15PM +0200, Frederic Weisbecker wrote: > You have a script that does that arch/*/include/asm/Kbuild edit for you right? > Is this something in scripts/ ? See commit b119fa61d440 ("locking/mcs: Order the header files in Kbuild of each architecture in alphabetical order

Re: linux-next: Tree for Sep 5: build failure due to 'mm: introduce dump_vma'

2014-09-06 Thread Guenter Roeck
On Sat, Sep 06, 2014 at 08:43:09AM -0700, Guenter Roeck wrote: > I see the following build failure in next-20140905. > > Guenter > > --- > > Building tile:tilegx_defconfig ... failed Also: Building powerpc:allmodconfig ... failed Building powerpc:ppc6xx_defconfig ... failed with the same erro

Re: linux-next: Tree for Sep 5: build failure due to 'mm: introduce dump_vma'

2014-09-06 Thread Sasha Levin
On 09/06/2014 11:43 AM, Guenter Roeck wrote: > I see the following build failure in next-20140905. > > Guenter Hey Guenter, Apologies for that. There is already a fix in -mm: http://ozlabs.org/~akpm/mmots/broken-out/introduce-dump_vma-fix-2.patch So -next would be fixed once -mm is pul

Re: [PATCH v10 net-next 2/2] net: filter: split filter.h and expose eBPF to user space

2014-09-06 Thread Alexei Starovoitov
On Sat, Sep 6, 2014 at 7:10 AM, Pablo Neira Ayuso wrote: > On Thu, Sep 04, 2014 at 10:17:18PM -0700, Alexei Starovoitov wrote: >> allow user space to generate eBPF programs >> >> uapi/linux/bpf.h: eBPF instruction set definition >> >> linux/filter.h: the rest >> >> This patch only moves macro defi

[PATCH 3/4] gpio: vf610: add gpiolib/IRQ chip driver for Vybird

2014-09-06 Thread Stefan Agner
Add a gpiolib and IRQ chip driver for Vybrid ARM SoC using the Vybrid's GPIO and PORT module. The driver is instanced once per each GPIO/PORT module pair and handles 32 GPIO's. Signed-off-by: Stefan Agner --- drivers/gpio/Kconfig | 7 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpi

[PATCH 4/4] ARM: dts: vf610: Use new GPIO support

2014-09-06 Thread Stefan Agner
Use GPIO support by adding SD card detection configuration and GPIO pinmux for Colibri's standard GPIO pins. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-colibri.dtsi | 8 arch/arm/boot/dts/vf610-twr.dts | 1 + arch/arm/boot/dts/vf610.dtsi | 1 + 3 files changed,

[PATCH 0/4] vf610: Add GPIO support

2014-09-06 Thread Stefan Agner
This patchset adds GPIO support for Vybrid. The first patch is a preparation patch which makes sure we can detect whether a pin is initialized by the pinmux subsystem or not. This is required since the gpio_request_enable/gpio_set_direction function need to know if the pins mux register offsets are

[PATCH 2/4] pinctrl: imx: add gpio pinmux support for vf610

2014-09-06 Thread Stefan Agner
Add pinmux support for GPIO for Vybrid (vf610) IOMUX controller. This is needed since direction configuration is not part of the GPIO module in Vybrid. Signed-off-by: Stefan Agner --- drivers/pinctrl/pinctrl-imx.c | 54 + drivers/pinctrl/pinctrl-imx.h

[PATCH 1/4] pinctrl: imx: detect uninitialized pins

2014-09-06 Thread Stefan Agner
The pinctrl driver initialized the register offsets for the pins with 0. On Vybrid an offset of 0 is a valid offset for the pinctrl mux register. So far, this was solved using the ZERO_OFFSET_VALID flag which allowed offsets of 0. However, this does not allow to verify whether a pins struct imx_pmx

Re: linux-next: Tree for Sep 5: build failure due to 'mm: introduce dump_vma'

2014-09-06 Thread Guenter Roeck
On 09/06/2014 08:47 AM, Sasha Levin wrote: On 09/06/2014 11:43 AM, Guenter Roeck wrote: I see the following build failure in next-20140905. Guenter Hey Guenter, Apologies for that. There is already a fix in -mm: No worries. http://ozlabs.org/~akpm/mmots/broken-out/introduce-dump_

[PATCH v2] Add support for always enabled watchdog timers to gpio_wdt driver

2014-09-06 Thread Evgeny Boger
From: Evgeny Boger Add option to use with watchdog timers which are always enabled in hardware, i.e. there is no way to enable/disable it via GPIO pin. The driver will start pinging WDT immediately upon loading and will continue to do so even after stopping the watchdog. Signed-off-by: Evgeny Bo

Re: [PATCH] Add support for always enabled watchdog timers

2014-09-06 Thread Evgeny Boger
On 08/23/2014 09:33 PM, Guenter Roeck wrote: On 08/23/2014 10:25 AM, Alexander Shiyan wrote: Sat, 23 Aug 2014 10:16:08 -0700 от Guenter Roeck : On 08/16/2014 05:45 PM, Evgeny Boger wrote: From: Evgeny Boger Add option to use with watchdog timers which are always enabled in hardware, i.e. the

Re: [RFC PATCH 3/9] irq_work: Force raised irq work to run on irq work interrupt

2014-09-06 Thread Frederic Weisbecker
On Sat, Sep 06, 2014 at 05:45:56PM +0200, Peter Zijlstra wrote: > On Sat, Sep 06, 2014 at 03:35:15PM +0200, Frederic Weisbecker wrote: > > You have a script that does that arch/*/include/asm/Kbuild edit for you > > right? > > Is this something in scripts/ ? > > See commit b119fa61d440 ("locking/m

[PATCH 0/4] tty: vt8500_serial: Changes for -next

2014-09-06 Thread Alexey Charkov
Hi all, This series introduces a bit of clean-up (reduce magic numbers) and new features for the VT8500 serial driver. Firstly, in a new generation of WonderMedia SoC's the UART module changed slightly, and now requires one more bit to be set in its line control register to function properly. Thi

[PATCH 3/4] tty: vt8500_serial: explicitly calculate base baud rate

2014-09-06 Thread Alexey Charkov
Current code relies on the UART clock pre-divisor to be already configured in the baud rate register. Calculate it in the driver and set explicitly instead, also return the "real" effective baud rate, which is generally slightly different from the requested value. While at this, also ensure that b

[PATCH 4/4] tty: vt8500_serial: add polled console functions

2014-09-06 Thread Alexey Charkov
This adds simple polling functions for single-character transmit and receive, as used by kgdb. Signed-off-by: Alexey Charkov --- drivers/tty/serial/vt8500_serial.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/t

[PATCH 2/4] tty: vt8500_serial: add missing support for RTS setting

2014-09-06 Thread Alexey Charkov
Signed-off-by: Alexey Charkov --- drivers/tty/serial/vt8500_serial.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index f225719..47e74f9 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial

[PATCH 1/4] tty: vt8500_serial: add support for UART in WM8880 chips

2014-09-06 Thread Alexey Charkov
Newer WonderMedia chips introduced another flag in the UART line control register, which controls whether RTS/CTS signalling should be handled in the driver or by the hardware itself. This patch ensures that the kernel can control RTS/CTS (including disabling it altogether) by forcing this flag to

Re: 回复: Re: 回复: Re: 回复: Re: 回复: Status of 'unicore32' architecture in Linux kernel

2014-09-06 Thread Guenter Roeck
On 09/04/2014 11:13 PM, Xuetao Guan wrote: - Guenter Roeck 写道: On 09/03/2014 01:32 AM, Xuetao Guan wrote: [ ... ] Please try the following patch. That seems to do it. I am sure it can be improved, but it is a start. Thanks, Guenter Thanks. I'll test it. BTW, Qemu codestyle is dif

ARM kirkwood: 1 Gb memory 25% unusable due to vmalloc region overlap

2014-09-06 Thread Jurriaan
I updated my Qnap TS-212 with 256 Mb memory to a new TS-221 with 1 Gb memory. On booting, I see that a large chunk of that new memory is not used by linux: [0.00] Booting Linux on physical CPU 0x0 [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys c

[PATCH 1/3] staging: lustre: fix function definition style

2014-09-06 Thread Spencer Baugh
Fix errors reported by checkpatch of this kind: ERROR: open brace '{' following function declarations go on the next line Signed-off-by: Spencer Baugh --- drivers/staging/lustre/lustre/include/lustre_import.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/st

[PATCH 2/3] staging: lustre: fix pointer whitespace style

2014-09-06 Thread Spencer Baugh
Fix errors reported by checkpatch of this kind: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Spencer Baugh --- drivers/staging/lustre/lustre/include/lustre_import.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/lustre_impo

[PATCH 3/3] staging: lustre: remove trailing whitespace

2014-09-06 Thread Spencer Baugh
Fix errors reported by checkpatch of this kind: ERROR: trailing whitespace Signed-off-by: Spencer Baugh --- drivers/staging/lustre/lustre/include/lustre_import.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/lustre_import.h b/dri

3.16.2: kernel BUG at fs/buffer.c:3018!

2014-09-06 Thread Toralf Förster
Well, definitely I made a mistake during my first attempts to mount a qcow2 image file via a loop devices - but the BUG shouldn't occur, or ? : System is a 32 bit stable Gentoo. ep 6 19:37:05 n22 kernel: kernel BUG at fs/buffer.c:3018! Sep 6 19:37:05 n22 kernel: invalid opcode: [#1] SMP

[PATCHv4 0/4] ARM: at91/tclib: fix segmentation fault

2014-09-06 Thread Gaël PORTAY
Hi every one, This set of patches fix a segmentation fault happening when kexec-ing kernel on an at91 platform (see backtrace below). While the previous kernel shuts down, the tcb_clksrc driver leaves its interruptions unmasked. When the new kernel initiliazes any tclib making use of a TC block,

[PATCHv4 2/4] ARM: at91/tclib: move initialization from alloc to probe

2014-09-06 Thread Gaël PORTAY
Move resource retrieval from atmel_tc_alloc to tc_probe to avoid lately reporting resource related issues when a TC block user request a TC block. Moreover, resources retrieval are usually done in the probe function, thus moving them add some consistency with other drivers. Initialization is done

[PATCHv4 3/4] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-09-06 Thread Gaël PORTAY
Shutdown properly the timer counter block by masking interruptions. Otherwise, a segmentation may happen when kexec-ing a new kernel (see backtrace below). An interruption may happen before the handler is set, leading to a kernel segmentation fault. Furthermore, we make sure the interruptions are

[PATCHv4 4/4] clocksource: tcb_clksrc: sanitize IRQ request

2014-09-06 Thread Gaël PORTAY
The clock is not unprepared in case of the request IRQ fails. Also update to request_irq. Signed-off-by: Gaël PORTAY Acked-by: Daniel Lezcano Acked-by: Boris Brezillon --- drivers/clocksource/tcb_clksrc.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/driver

[PATCHv4 1/4] ARM: at91/tclib: prefer using of devm_* functions

2014-09-06 Thread Gaël PORTAY
Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- drivers/misc/atmel_tclib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/misc/atmel_tclib.c b/drivers/misc/atmel_tclib.c index c8d8e38..b514a2d 100644 --- a/drivers/misc/atmel_tclib.c +++ b/driv

Re: linux-next: Tree for Sep 5: build error due to 'ath5k: added debugfs file for dumping eeprom'

2014-09-06 Thread Geert Uytterhoeven
On Sat, Sep 6, 2014 at 5:32 PM, Guenter Roeck wrote: > I see the following build error on linux-next-20140905. > > Guenter > > --- > > Building alpha:allmodconfig ... failed > Building sparc64:allmodconfig ... failed > > drivers/net/wireless/ath/ath5k/debug.c: In function 'open_file_eeprom': > dri

Re: [PATCH 2/3] staging: lustre: fix pointer whitespace style

2014-09-06 Thread Joe Perches
On Sat, 2014-09-06 at 13:38 -0400, Spencer Baugh wrote: > Fix errors reported by checkpatch of this kind: [] > diff --git a/drivers/staging/lustre/lustre/include/lustre_import.h > b/drivers/staging/lustre/lustre/include/lustre_import.h [] > @@ -103,9 +103,9 @@ enum lustre_imp_state { > }; > >

Re: ARM kirkwood: 1 Gb memory 25% unusable due to vmalloc region overlap

2014-09-06 Thread Russell King - ARM Linux
On Sat, Sep 06, 2014 at 07:32:07PM +0200, Jurriaan wrote: > I updated my Qnap TS-212 with 256 Mb memory to a new TS-221 with 1 Gb > memory. > > On booting, I see that a large chunk of that new memory is not used by > linux: > > [0.00] Booting Linux on physical CPU 0x0 > [0.00] Ini

[PATCH] memfd: Add memfd.h to uapi headers

2014-09-06 Thread Marcel Holtmann
It seems like a good idea to actually expose include/uapi/linux/memfd.h so that it gets installed and can be used by userspace. Signed-off-by: Marcel Holtmann --- include/uapi/linux/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild i

[BUG] perf tools: Demangle kernel and kernel module symbols too

2014-09-06 Thread Jiri Olsa
hi, Jan Stancek found test 1 breakage, probably caused by following patch: 950b8354716e perf tools: Demangle kernel and kernel module symbols too it seems to break test 1: --- [jolsa@krava perf]$ ./perf test -v 1 1: vmlinux symtab matches kallsyms: --- start --- test chi

Re: [PATCH] memfd: Add memfd.h to uapi headers

2014-09-06 Thread David Herrmann
Hi On Sat, Sep 6, 2014 at 8:40 PM, Marcel Holtmann wrote: > It seems like a good idea to actually expose include/uapi/linux/memfd.h > so that it gets installed and can be used by userspace. > > Signed-off-by: Marcel Holtmann Already in -mmots, will probably be pulled by Linus next week: http:/

Re: [PATCH -v4] x86: only load initrd above 4g on second try

2014-09-06 Thread Anders Darander
* Matt Fleming [140906 00:16]: > On Thu, 04 Sep, at 01:59:05PM, H. Peter Anvin wrote: > > I am fine with this patch, but at the same time I do want to note that > > there is an alternative to double-buffer the patch and/or (if that > > applies to the buggy BIOS) round up the size of the target b

Re: [PATCH] memfd: Add memfd.h to uapi headers

2014-09-06 Thread Marcel Holtmann
Hi David, >> It seems like a good idea to actually expose include/uapi/linux/memfd.h >> so that it gets installed and can be used by userspace. >> >> Signed-off-by: Marcel Holtmann > > Already in -mmots, will probably be pulled by Linus next week: > > http://ozlabs.org/~akpm/mmots/broken-out/s

Re: [PATCH v4 2/3] perf tools: parse the pmu event prefix and surfix

2014-09-06 Thread Jiri Olsa
On Tue, Sep 02, 2014 at 11:29:29AM -0400, kan.li...@intel.com wrote: > From: Kan Liang SNIP > + * Read the pmu events list from sysfs > + * Save it into kernel_pmu_events_list > + */ > +static void scan_kernel_pmu_events_list(void) > +{ > + > + struct perf_pmu *pmu = NULL; > + struct per

Re: [PATCH v4 2/3] perf tools: parse the pmu event prefix and surfix

2014-09-06 Thread Jiri Olsa
On Tue, Sep 02, 2014 at 11:29:29AM -0400, kan.li...@intel.com wrote: SNIP > { > YY_BUFFER_STATE buffer; > @@ -906,7 +1006,10 @@ int parse_events(struct perf_evlist *evlist, const char > *str) > }; > int ret; > > + /* scan kernel pmu events from sysfs */ > + scan_kern

  1   2   >