Re: [PATCH 01/10] perf evlist: Introduce perf_evlist__filter_pollfd method

2014-08-25 Thread Adrian Hunter
On 08/22/2014 11:59 PM, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > To remove all entries in evlist->pollfd[] that have revents matching at > least one of the bits in the specified mask. > > It'll adjust evlist->nr_fds to the number of unfiltered fds and will > return th

Re: [PATCH net-next 0/4] r8152: firmware support

2014-08-25 Thread David Miller
From: Hayes Wang Date: Mon, 25 Aug 2014 06:43:02 + > Except the step 3, 4, 6 and 7, the other steps depend on the > context of the firmware. That is, for different firmware, some > actions would be removed or added, and some settings would be > different. Especially the step 8, it often diffe

Re: [PATCH] arm64/crypto: remove redundant update of data

2014-08-25 Thread Ard Biesheuvel
On 24 August 2014 22:38, Colin King wrote: > From: Colin Ian King > > Originally found by cppcheck: > > [arch/arm64/crypto/sha2-ce-glue.c:153]: (warning) Assignment of > function parameter has no effect outside the function. Did you > forget dereferencing it? > > Updating data by blocks * SHA

Re: [PATCH 1/3] Adding Skyworks SKY81452 MFD driver

2014-08-25 Thread Gyungoh Yoo
Thank you for reviewing the patches. On Thu, Aug 21, 2014 at 10:45:02AM +0100, Lee Jones wrote: > When you send patch-sets, you should send them connected to one > another AKA threaded. That way, when we're reviewing we can look at > the other patches in the set for reference. See the man page f

[PATCHv3] ASoC: fsl-sai: rename big_endian_data to is_lsb_first.

2014-08-25 Thread Xiubo Li
Signed-off-by: Xiubo Li --- Documentation/devicetree/bindings/sound/fsl-sai.txt | 8 sound/soc/fsl/fsl_sai.c | 6 +++--- sound/soc/fsl/fsl_sai.h | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/de

[PATCH] staging:r8190_rtl8256: coding style: Fixed commenting style

2014-08-25 Thread Sanjeev Sharma
This is a patch to the r8190_rtl8256.c file that fixes commenting style Error Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8192u/r8190_rtl8256.c | 59 +--- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-25 Thread Takashi Iwai
At Sun, 24 Aug 2014 07:07:16 +0200, Andreas Mohr wrote: > > On Thu, Aug 21, 2014 at 01:29:03PM +0200, Takashi Iwai wrote: > > I did a quick hack and it seems working on my box. > > The patch is below. > > Thanks!! > > Further comments below. > > I will be testing this ASAP. > > +static bool use

RE: [PATCHv3] ASoC: fsl-sai: rename big_endian_data to is_lsb_first.

2014-08-25 Thread li.xi...@freescale.com
Hi all, Please ignore this patch. Have sent the wrong one. Thanks, BRs Xiubo > -Original Message- > From: Xiubo Li [mailto:li.xi...@freescale.com] > Sent: Monday, August 25, 2014 3:03 PM > To: broo...@kernel.org; nicoleots...@gmail.com; ti...@tabi.org; > lgirdw...@gmail.com; pe...@pe

[PATCH] tpm: fix interrupt timeouts

2014-08-25 Thread Scot Doyle
commit 4c663cfc523a88d97a8309b04a089c27dc57fd7e wait: fix false timeouts when using wait_event_timeout() changed the semantics of wait_event_interruptible_timeout so that a condition check is performed after timeout and 1 is returned if true. The TPM chip may not send interrupts even though t

RE: [PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-25 Thread Sharma, Sanjeev
Hello Lars, As per your suggestion Can I move complete Driver out of staging specially SPI ADC Driver. Regards Sanjeev Sharma -Original Message- From: Lars-Peter Clausen [mailto:l...@metafoo.de] Sent: Wednesday, August 20, 2014 12:20 PM To: sanjeev sharma Cc: Sharma, Sanjeev; ji...@ker

[PATCH] ASoC: fsl-sai: using 'lsb-first' property instead of 'big-endian-data'.

2014-08-25 Thread Xiubo Li
This property used for configuring whether the LSB or the MSB is transmitted first for the fifo data. Signed-off-by: Xiubo Li Cc: Nicolin Chen --- Documentation/devicetree/bindings/sound/fsl-sai.txt | 8 sound/soc/fsl/fsl_sai.c | 6 +++--- sound/soc/fsl/fsl_

[PATCHv4 3/4] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-25 Thread Chanwoo Choi
This patch add support for TRIM_RELOAD feature at Exynos3250. The TMu of Exynos3250 has two TRIMINFO_CON register and must need to set RELOAD bit before reading TRIMINFO register. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Cc: Zhang Rui Cc: Eduardo Valentin Cc: Amit Daniel Kachhap Re

[PATCHv4 0/4] thermal: exynos: Add support for TRIMINFO feature of Exynos3250

2014-08-25 Thread Chanwoo Choi
This patchset add the support of TRIMINFO_RELOAD feature for Exynos3250. But Exynos3250 has two TRIMINFO_CTRL register instead other Exynos has only one TRIMINFO_CTRL register. So, this patchset support the some Exynos SoC which has more than one TRIMINF_CTRL. Also, this patchset fix wrong value o

[PATCHv4 4/4] thermal: exynos: Remove duplicate code when reading triminfo register of Exynos5440

2014-08-25 Thread Chanwoo Choi
This patch remove simply duplicate code when reading triminfo register of Exynos5440. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Cc: Zhang Rui Cc: Eduardo Valentin Cc: Amit Daniel Kachhap Reviewed-by: Amit Daniel Kachhap --- drivers/thermal/samsung/exynos_tmu.c | 4 +--- 1 file ch

[PATCHv4 1/4] thermal: exynos: Fix wrong value of TRIMINFO_RELOAD_SHIFT

2014-08-25 Thread Chanwoo Choi
This patch fix wrong value of TRIMINFO_RELOAD_SHIFT. TRIMINFO_CONTROL register has 'RELOAD' field at [0] bit. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Cc: Zhang Rui Cc: Eduardo Valentin Cc: Amit Daniel Kachhap --- drivers/thermal/samsung/exynos_tmu_data.h | 2 +- 1 file changed, 1

[PATCHv4 2/4] thermal: exynos: Add support for many TRIMINFO_CTRL registers

2014-08-25 Thread Chanwoo Choi
This patch support many TRIMINFO_CTRL registers if specific Exynos SoC has one more TRIMINFO_CTRL registers. Also this patch uses proper 'RELOAD' shift/mask bit operation to set RELOAD feature instead of static value. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Cc: Zhang Rui Cc: Eduardo

Re: [PATCH V3 3/3] ARM: clk-imx6q: Add missing lvds and anaclk clock to the clock tree

2014-08-25 Thread Shengjiu Wang
On Mon, Aug 18, 2014 at 02:06:07PM +0800, Shawn Guo wrote: > On Mon, Aug 11, 2014 at 11:09:36AM +0800, Shengjiu Wang wrote: > > On Sat, Aug 09, 2014 at 09:58:42PM +0800, Shawn Guo wrote: > > > On Fri, Aug 08, 2014 at 03:02:49PM +0800, Shengjiu Wang wrote: > > > > @@ -176,8 +182,12 @@ static void __

Re: [PATCH 4/6] phy: remove the old lookup method

2014-08-25 Thread Vivek Gautam
Hi Heikki, On Thu, Aug 21, 2014 at 5:03 PM, Heikki Krogerus wrote: > The users of the old method are now converted to the new one. > > Signed-off-by: Heikki Krogerus > Tested-by: Vivek Gautam > --- > drivers/phy/phy-bcm-kona-usb2.c | 2 +- > drivers/phy/phy-core.c | 45 > ++

Re: [PATCH] edac, amd64_edac: Modify usage of amd64_read_dct_pci_cfg()

2014-08-25 Thread Borislav Petkov
On Mon, Aug 25, 2014 at 07:43:39AM +0200, Borislav Petkov wrote: > This is almost unreadable now with all the family checks everywhere. > You need to hide all that per-family logic And while you're at it, we're caching all required family info in the pvt, see per_family_init(), no need for using b

Re: [PATCH 1/2] HID: logitech-dj: prevent false errors to be shown

2014-08-25 Thread Jiri Kosina
On Fri, 22 Aug 2014, Benjamin Tissoires wrote: > Commit "HID: logitech: perform bounds checking on device_id early > enough" unfortunately leaks some errors to dmesg which are not real > ones: > - if the report is not a DJ one, then there is not point in checking > the device_id > - the receiver

Re: [PATCH 2/2] HID: logitech-dj: break out testing of validity of dj_device

2014-08-25 Thread Jiri Kosina
On Fri, 22 Aug 2014, Benjamin Tissoires wrote: > We can do once the test of the validity of the dj_device, which removes > some duplicated code in various functions. > > Signed-off-by: Benjamin Tissoires I will queue this cleanup for next merge window. Thanks. > --- > drivers/hid/hid-logitech

Re: [PATCH] mac80211: Parse IEEE80211_RADIOTAP_RATE on TX

2014-08-25 Thread Rostislav Lisovy
On Mon, 2014-07-21 at 12:20 +0200, Johannes Berg wrote: > On Thu, 2014-07-10 at 14:27 +0200, Rostislav Lisovy wrote: > > Add support for parsing radiotap field IEEE80211_RADIOTAP_RATE > > for transmitted frames. Use the provided datarate value in > > info->control.rates[] array so it will be used f

[PATCH net-next] r8152: check code with checkpatch.pl

2014-08-25 Thread Hayes Wang
626: CHECK: Alignment should match open parenthesis 646: CHECK: Alignment should match open parenthesis 655: CHECK: Alignment should match open parenthesis 695: CHECK: Alignment should match open parenthesis 729: CHECK: Alignment should match open parenthesis 739: CHECK: Alignment should matc

[PATCH] KVM: x86: fix xen guest panic due to lack of KVM_REQ_EVENT

2014-08-25 Thread Wanpeng Li
This patch fix bug https://bugzilla.kernel.org/show_bug.cgi?id=82211 (XEN) ..MP-BIOS bug: 8254 timer not connected to IO-APIC (XEN) ...trying to set up timer (IRQ0) through the 8259A ... failed. (XEN) ...trying to set up timer as Virtual Wire IRQ... failed. (XEN) ...trying to set up timer as ExtI

Re: [PATCH 1/2] HID: logitech-dj: prevent false errors to be shown

2014-08-25 Thread Markus Trippelsdorf
On 2014.08.25 at 02:50 -0500, Jiri Kosina wrote: > On Fri, 22 Aug 2014, Benjamin Tissoires wrote: > > > Commit "HID: logitech: perform bounds checking on device_id early > > enough" unfortunately leaks some errors to dmesg which are not real > > ones: > > - if the report is not a DJ one, then ther

[PATCHv2] watchdog: imx2_wdt: Convert to use regmap framework's endianness method.

2014-08-25 Thread Xiubo Li
Regmap framework will contain some patches to handle endianess, and there does not need any parsing of endianness DT properties of individual driver, so we can savely remove it here. Signed-off-by: Xiubo Li Cc: Markus Pargmann Reviewed-by: Guenter Roeck --- Changes in v2: - Remove useless head

Re: [PATCH 1/2] HID: logitech-dj: prevent false errors to be shown

2014-08-25 Thread Jiri Kosina
On Mon, 25 Aug 2014, Markus Trippelsdorf wrote: > > > Commit "HID: logitech: perform bounds checking on device_id early > > > enough" unfortunately leaks some errors to dmesg which are not real > > > ones: > > > - if the report is not a DJ one, then there is not point in checking > > > the devic

[PATCH v2] ray_cs: Add include guards

2014-08-25 Thread Rasmus Villemoes
The files ray_cs.h and rayctl.h both contain two thirds of what appears to be an include guard using the macro name RAYLINK_H (both lack the #define). Since RAYLINK_H is not defined anywhere, the #ifndefs are confusing no-ops. Add proper include guards using different macro names. Signed-off-by: R

Re: [PATCH v4] spi: spi-imx: add DMA support

2014-08-25 Thread Marek Vasut
On Saturday, August 23, 2014 at 02:13:55 AM, Robin Gong wrote: > After enable DMA Please also add a commit message which describes the change, not only some test results. [...] > @@ -911,6 +1194,13 @@ static int spi_imx_probe(struct platform_device > *pdev) goto out_put_per; > > spi_imx-

Re: [PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-25 Thread Lars-Peter Clausen
On 08/25/2014 09:17 AM, Sharma, Sanjeev wrote: Hello Lars, As per your suggestion Can I move complete Driver out of staging specially SPI ADC Driver. Only if they are cleaned up first. All of the drivers that are still in staging do have issues, otherwise we'd already had moved them. A few o

Re: [PATCH v5 1/3] usb: gadget: f_fs: fix the redundant ep files problem

2014-08-25 Thread Robert Baldyga
On 08/24/2014 04:14 PM, Michal Nazarewicz wrote: > On Thu, Aug 21 2014, Robert Baldyga wrote: >> Up to now, when endpoint addresses in descriptors were non-consecutive, >> there were created redundant files, which could cause problems in kernel, >> when user tryed to read/write to them. It was res

[PATCH v2] drivers: scsi: #define missing include guards

2014-08-25 Thread Rasmus Villemoes
The four files aha1542.h, aha1740.h, gvp11.h and mvme147.h under drivers/scsi/ contain two-thirds of an include guard, but do not #define the macro. Add those #defines. git grep says the macro names are not defined elsewhere. Signed-off-by: Rasmus Villemoes --- For good measure, here's a version

Re: [PATCH 0/7] MIPS: Move device-tree files to a common location

2014-08-25 Thread Arnd Bergmann
On Sunday 24 August 2014 18:43:35 Rob Herring wrote: > On Sat, Aug 23, 2014 at 11:14 AM, Olof Johansson wrote: > > On Sat, Aug 23, 2014 at 03:56:42PM +0200, Arnd Bergmann wrote: > >> > >> Another argument is that we plan to actually move all the dts files out of > >> the kernel into a separate pro

Re: [PATCH v3 04/11] lib/vsprintf: add %*pE[achnops] format specifier

2014-08-25 Thread Andy Shevchenko
On Wed, 2014-08-20 at 07:46 -0700, Joe Perches wrote: > On Wed, 2014-08-20 at 12:42 +0300, Andy Shevchenko wrote: > > This allows user to print a given buffer as an escaped string. The rules are > > applied according to an optional mix of flags provided by additional format > > letters. > > Thanks

Re: [PATCH 4/6] phy: remove the old lookup method

2014-08-25 Thread Heikki Krogerus
On Mon, Aug 25, 2014 at 01:11:34PM +0530, Vivek Gautam wrote: > Please squash the attached diff which removes the 'init_data' field > from some of the other instances > of devm_phy_create() in few other drivers. > This should prevent any build errors that i could see with multi_v7_defconfig. OK, I

[PATCH] perf symbols: symbol to section name mapping broken with debuginfo files

2014-08-25 Thread Anton Blanchard
elf_sec__is_a and elf_sec__name maps a symbol back to its section name. It does this by getting the Elf_Scn *, which contains an offset into the strings section. At the moment we use the Elf_Scn * from the runtime object and the section strings from the debuginfo object, which is wrong. They are n

Re: [PATCH v9 1/2] regulator: Add driver for max77802 PMIC PMIC regulators

2014-08-25 Thread Yuvaraj Cd
On Sat, Aug 23, 2014 at 3:45 AM, Doug Anderson wrote: > Hi, > > On Fri, Aug 22, 2014 at 3:02 PM, Javier Martinez Canillas > wrote: >> Hello Mark, >> >> On 08/22/2014 08:30 PM, Mark Brown wrote: >>> The problem is that one of these regulators is used as the vqmmc-supply (VCCQ/VDD_IO) so

Re: [PATCH 1/1] ath6kl: fix %d confusingly prefixed with 0x in format strings

2014-08-25 Thread Kalle Valo
Hans Wennborg writes: > Signed-off-by: Hans Wennborg Thanks, applied. -- Kalle Valo -- 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 t

[PATCH 1/2] perf powerpc: Skip callchain code must include util/debug.h

2014-08-25 Thread Anton Blanchard
Fix a compile error, the prototype for pr_debug could not be found. Signed-off-by: Anton Blanchard --- Index: b/tools/perf/arch/powerpc/util/skip-callchain-idx.c === --- a/tools/perf/arch/powerpc/util/skip-callchain-idx.c +++ b/tool

Re: [PATCH v4 3/4] zram: zram memory size limitation

2014-08-25 Thread David Horner
On Mon, Aug 25, 2014 at 12:37 AM, Minchan Kim wrote: > On Sun, Aug 24, 2014 at 11:40:50PM -0400, David Horner wrote: >> On Sun, Aug 24, 2014 at 7:56 PM, Minchan Kim wrote: >> > Hello David, >> > >> > On Fri, Aug 22, 2014 at 06:55:38AM -0400, David Horner wrote: >> >> On Thu, Aug 21, 2014 at 8:42

Re: [PATCH 01/11 v4] coresight: add CoreSight core layer framework

2014-08-25 Thread Thomas Petazzoni
Hello, On Wed, 20 Aug 2014 11:03:41 -0600, mathieu.poir...@linaro.org wrote: > diff --git a/drivers/coresight/Makefile b/drivers/coresight/Makefile > new file mode 100644 > index 000..fef87bc > --- /dev/null > +++ b/drivers/coresight/Makefile > @@ -0,0 +1,9 @@ > +# > +# Makefile for CoreSight

Re: [PATCH v4 3/4] zram: zram memory size limitation

2014-08-25 Thread Dongsheng Song
> +What: /sys/block/zram/mem_limit > +Date: August 2014 > +Contact: Minchan Kim > +Description: > + The mem_limit file is read/write and specifies the amount > + of memory to be able to consume memory to store store > + compressed

Re: [PATCH 4/6] phy: remove the old lookup method

2014-08-25 Thread Vivek Gautam
On Mon, Aug 25, 2014 at 1:47 PM, Heikki Krogerus wrote: > On Mon, Aug 25, 2014 at 01:11:34PM +0530, Vivek Gautam wrote: >> Please squash the attached diff which removes the 'init_data' field >> from some of the other instances >> of devm_phy_create() in few other drivers. >> This should prevent an

[PATCH 2/2] perf powerpc: Fix build issue when DWARF support is disabled

2014-08-25 Thread Anton Blanchard
The powerpc skip callchain code uses DWARF, so we must disable it if DWARF is disabled. Signed-off-by: Anton Blanchard --- Index: b/tools/perf/arch/powerpc/Makefile === --- a/tools/perf/arch/powerpc/Makefile +++ b/tools/perf/arch/po

Re: [PATCH 2/3] mm/slab_common: commonize slab merge logic

2014-08-25 Thread Joonsoo Kim
On Thu, Aug 21, 2014 at 09:22:35AM -0500, Christoph Lameter wrote: > On Thu, 21 Aug 2014, Joonsoo Kim wrote: > > > Slab merge is good feature to reduce fragmentation. Now, it is only > > applied to SLUB, but, it would be good to apply it to SLAB. This patch > > is preparation step to apply slab me

Re: [PATCH 1/3] mm/slab: use percpu allocator for cpu cache

2014-08-25 Thread Joonsoo Kim
On Thu, Aug 21, 2014 at 09:21:30AM -0500, Christoph Lameter wrote: > On Thu, 21 Aug 2014, Joonsoo Kim wrote: > > > So, this patch try to use percpu allocator in SLAB. This simplify > > initialization step in SLAB so that we could maintain SLAB code more > > easily. > > I thought about this a coup

Re: [PATCH 1/5] mm/slab_common: move kmem_cache definition to internal header

2014-08-25 Thread Joonsoo Kim
On Thu, Aug 21, 2014 at 04:27:52PM +0800, Zhang Yanfei wrote: > Hello Joonsoo, Hello. :) > > Seems like this is a cleanup patchset. I want to mention another > tiny cleanup here. I think these are not only cleanup but also build improvement. > You removed the "struct slab" before but it seems

[PATCH v3] drivers: usb: gadget: fusb300_udc.h: Fix typo in include guard

2014-08-25 Thread Rasmus Villemoes
Clearly this was meant to be an include guard, but a trailing underscore was missing. It has been this way since the file was introduced in 0fe6f1d1 ("usb: udc: add Faraday fusb300 driver"). Fixes: 0fe6f1d1 ("usb: udc: add Faraday fusb300 driver") Cc: Signed-off-by: Rasmus Villemoes --- Notes:

Re: [PATCH V2 1/1] netfilter/jump_label: HAVE_JUMP_LABEL instead of CONFIG_JUMP_LABEL

2014-08-25 Thread Pablo Neira Ayuso
On Fri, Aug 22, 2014 at 10:40:15AM +0800, Zhouyi Zhou wrote: > Use HAVE_JUMP_LABEL as elsewhere in the kernel to ensure > that the toolchain has the required support in addition to > CONFIG_JUMP_LABEL being set. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH] ARM: PCI: Use PCI_CLASS_* defines for PCI class

2014-08-25 Thread Rostislav Lisovy
On Mon, 2014-08-04 at 11:31 +0200, Rostislav Lisovy wrote: > On Sun, 2014-08-03 at 09:16 -0400, Sasha Levin wrote: > > > - /* FIXME: add defines for class 0x68000 and 0x80103 */ > > > if ((dev->class >> 8) == PCI_CLASS_BRIDGE_HOST || > > > - dev->class == 0x68000 || > > > -

[PATCH v2 1/1] ARM: exynos_defconfig: Enable options for display panel support

2014-08-25 Thread Javier Martinez Canillas
Many Exynos devices have a display panel. Most of them just have a simple panel while others have more complex configurations that requires an embedded DisplayPort (eDP) to LVDS bridges. This patch enables the following features to be built in the kernel image to suport both setups: - Direct Rend

[PATCH] regulator: Proofread documentation

2014-08-25 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- Documentation/power/regulator/consumer.txt | 7 --- Documentation/power/regulator/design.txt| 8 Documentation/power/regulator/machine.txt | 4 ++-- Documentation/power/regulator/overview.txt | 6 +++--- Documentation/power/regulator/regu

Re: [PATCH RESEND] usb: chipidea: msm: Use USB PHY API to control PHY state

2014-08-25 Thread Ivan T. Ivanov
On Tue, 2014-08-19 at 14:06 -0500, Felipe Balbi wrote: > On Fri, Aug 15, 2014 at 12:21:19PM +0300, Ivan T. Ivanov wrote: > > From: "Ivan T. Ivanov" > > > > PHY drivers keep track of the current state of the hardware, > > so don't change PHY settings under it. > > > > Signed-off-by: Ivan T. Ivano

[PATCH] Makefile: One last adjustment to relative paths

2014-08-25 Thread Boaz Harrosh
From: Boaz Harrosh I have one last problem when compiling under an IDE. This time it is when I compile linux under another Makefile with the use of make -C linux The make command is run from /home/boaz/dev/ What the IDE will see is: make[1]: Entering directory `/home/boaz/dev/linux-open-

Re: [PATCH] leds: make led_blink_set IRQ safe

2014-08-25 Thread Vincent Donnefort
On Sat, Aug 23, 2014 at 01:24:56PM -0400, Tejun Heo wrote: > Hello, > > On Fri, Aug 22, 2014 at 05:21:30PM -0700, Bryan Wu wrote: > > On Tue, Aug 19, 2014 at 6:51 PM, Hugh Dickins wrote: > > > On Tue, 19 Aug 2014, Vincent Donnefort wrote: > > > > > >> This patch introduces a work which take care

[3.11.y.z extended stable] Linux 3.11.10.15

2014-08-25 Thread Luis Henriques
I am announcing the release of the Linux 3.11.10.15 kernel. PLEASE NOTE: This is the LAST 3.11.y.z extended stable kernel release. The updated 3.11.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.11.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/li

Re: [PATCH] KVM: x86: fix xen guest panic due to lack of KVM_REQ_EVENT

2014-08-25 Thread Paolo Bonzini
Il 25/08/2014 09:58, Wanpeng Li ha scritto: > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > index c10408e..b7c0073 100644 > --- a/arch/x86/kvm/x86.c > +++ b/arch/x86/kvm/x86.c > @@ -4928,6 +4928,8 @@ static void toggle_interruptibility(struct kvm_vcpu > *vcpu, u32 mask) > if

Re: [PATCH] ARM: PCI: Use PCI_CLASS_* defines for PCI class

2014-08-25 Thread Yijing Wang
On 2014/8/25 16:39, Rostislav Lisovy wrote: > On Mon, 2014-08-04 at 11:31 +0200, Rostislav Lisovy wrote: >> On Sun, 2014-08-03 at 09:16 -0400, Sasha Levin wrote: - /* FIXME: add defines for class 0x68000 and 0x80103 */ if ((dev->class >> 8) == PCI_CLASS_BRIDGE_HOST || -

[PATCH v3 0/5] fs/seq_file: introduce seq_hex_dump() helper

2014-08-25 Thread Andy Shevchenko
This introduces a new helper and switches current users to use it. parisc and s390 weren't tested anyhow, the others are compile tested. Changelog v3: - append Mauro's Ack - rebase on top of recent linux-next Changelog v2: - append Acked-by and Reviewed-by tags - update commit messages in patche

[PATCH v3 1/5] seq_file: provide an analogue of print_hex_dump()

2014-08-25 Thread Andy Shevchenko
The new seq_hex_dump() is a complete analogue of print_hex_dump(). We have few users of this functionality already. It allows to reduce their codebase. Signed-off-by: Andy Shevchenko --- fs/seq_file.c| 35 +++ include/linux/seq_file.h | 4 2 fil

[PATCH v3 5/5] [S390] zcrypt: use seq_hex_dump() to dump buffers

2014-08-25 Thread Andy Shevchenko
Instead of custom approach let's use recently introduced seq_hex_dump() helper. Signed-off-by: Andy Shevchenko --- drivers/s390/crypto/zcrypt_api.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/s390/crypto/zcrypt_api.c b/drivers/s390/crypto/zcrypt_api.c in

[PATCH v3 2/5] saa7164: convert to seq_hex_dump()

2014-08-25 Thread Andy Shevchenko
Instead of custom approach let's use recently added seq_hex_dump() helper. Signed-off-by: Andy Shevchenko Reviewed-by: Steven Toth Acked-by: Mauro Carvalho Chehab --- drivers/media/pci/saa7164/saa7164-core.c | 31 --- 1 file changed, 4 insertions(+), 27 deletions(-)

[PATCH v3 4/5] parisc: use seq_hex_dump() to dump buffers

2014-08-25 Thread Andy Shevchenko
Instead of custom approach let's use recently introduced seq_hex_dump() helper. In one case it changes the output from to though it seems it pri

Re: kernel boot fail with efi earlyprintk (bisected)

2014-08-25 Thread Dave Young
On 08/25/14 at 06:34am, Zheng, Lv wrote: > Hi, > > > From: Dave Young [mailto:dyo...@redhat.com] > > Sent: Monday, August 25, 2014 2:07 PM > > To: Matt Fleming > > Cc: Zheng, Lv; Fleming, Matt; linux-...@vger.kernel.org; > > linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; de...@acpica.o

[PATCH v3 3/5] crypto: qat - use seq_hex_dump() to dump buffers

2014-08-25 Thread Andy Shevchenko
Instead of custom approach let's use recently introduced seq_hex_dump() helper. Signed-off-by: Andy Shevchenko Acked-by: Tadeusz Struk --- drivers/crypto/qat/qat_common/adf_transport_debug.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/crypto/qat

Re: [PATCH] KVM: x86: fix xen guest panic due to lack of KVM_REQ_EVENT

2014-08-25 Thread Wanpeng Li
Hi Paolo, On Mon, Aug 25, 2014 at 11:01:07AM +0200, Paolo Bonzini wrote: >Il 25/08/2014 09:58, Wanpeng Li ha scritto: >> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c >> index c10408e..b7c0073 100644 >> --- a/arch/x86/kvm/x86.c >> +++ b/arch/x86/kvm/x86.c >> @@ -4928,6 +4928,8 @@ static void

Re: [PATCH v9 1/2] regulator: Add driver for max77802 PMIC PMIC regulators

2014-08-25 Thread Javier Martinez Canillas
Hello Yuvaraj, On 08/25/2014 10:22 AM, Yuvaraj Cd wrote: >>> Good question. I'm not that familiar with the dw_mmc host controller nor >>> its driver implementation so I'll let Yuvaraj or Doug to answer that. > Well,here it goes! > 1. Power ON the board LDO4CTRL1[7:6] 11b > 2. dw_mmc driver enable

[PATCH v6 1/3] usb: gadget: f_fs: fix the redundant ep files problem

2014-08-25 Thread Robert Baldyga
Up to now, when endpoint addresses in descriptors were non-consecutive, there were created redundant files, which could cause problems in kernel, when user tried to read/write to them. It was result of fact that maximum endpoint address was taken as total number of endpoints in funciton. This patc

[PATCH v6 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-08-25 Thread Robert Baldyga
This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. Signed-off-by: Robert Baldyga Acked-by: Michal Nazarewicz --- drivers/usb/gadget/function/f_fs.c | 23 +++ include/uapi/linux/usb

Re: [PATCH] KVM: x86: fix xen guest panic due to lack of KVM_REQ_EVENT

2014-08-25 Thread Paolo Bonzini
Il 25/08/2014 11:08, Wanpeng Li ha scritto: > Hi Paolo, > On Mon, Aug 25, 2014 at 11:01:07AM +0200, Paolo Bonzini wrote: >> Il 25/08/2014 09:58, Wanpeng Li ha scritto: >>> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c >>> index c10408e..b7c0073 100644 >>> --- a/arch/x86/kvm/x86.c >>> +++ b/a

[PATCH v6 3/3] usb: gadget: f_fs: virtual endpoint address mapping

2014-08-25 Thread Robert Baldyga
This patch introduces virtual endpoint address mapping. It separates function logic form physical endpoint addresses making it more hardware independent. Following modifications changes user space API, so to enable them user have to switch on the FUNCTIONFS_VIRTUAL_ADDR flag in descriptors. Endpo

[PATCH v6 0/3] usb: gadget: f_fs: userspace API fixes and improvements

2014-08-25 Thread Robert Baldyga
This patchset contains changes in FunctionFS making it easier and safer to use. It fixes bug in endpoint files handling code, adds new ioctl allowing to obtain endpoint descriptor, and introduces virtual address mapping which allows to separate endpoint address space in function from physical endpo

Re: [PATCH v6 4/6] mfd: Add hi6421 PMIC core driver

2014-08-25 Thread Guodong Xu
Hi, Lee Thanks. I added for most of your comments. Some items, I have a different understanding. I added in below. On 08/20/2014 04:09 PM, Lee Jones wrote: > On Mon, 18 Aug 2014, Guodong Xu wrote: >> This adds driver to support HiSilicon Hi6421 PMIC. Hi6421 includes multi- >> functions, such as

Re: [alsa-devel] [PATCH v2 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-25 Thread Inha Song
Hi Lee, On Thu, 21 Aug 2014 13:12:19 +0100 Lee Jones wrote: > On Wed, 13 Aug 2014, Inha Song wrote: > > > Some boards need to set the INn_MODE[1:0] register to change > > the input signal patch. This wlf,inmode property is optional. > > If present values must be specified by the number of > > A

Re: [PATCH v7 1/8] clk: Add temporary mapping to the existing API

2014-08-25 Thread Sebastian Hesselbarth
On 08/21/2014 08:10 PM, Jason Cooper wrote: On Thu, Aug 21, 2014 at 11:04:48AM -0700, Tony Lindgren wrote: * Mike Turquette [140820 07:53]: Quoting Tomeu Vizoso (2014-08-18 08:30:27) To preserve git-bisectability, add aliases from the future provider API to the existing public API. Also incl

[PATCH V1] regulator: DA9211 : support device tree

2014-08-25 Thread James Ban
This is a patch for supporting device tree of DA9211/DA9213. Signed-off-by: James Ban --- This patch is relative to linux-next repository tag next-20140822. .../devicetree/bindings/regulator/da9211.txt | 58 + drivers/regulator/da9211-regulator.c | 85 +++

[alsa-devel] [RESEND PATCH v4 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-25 Thread Inha Song
This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song Reviewed-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++ 1 file cha

[alsa-devel] [RESEND PATCH v4 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-25 Thread Inha Song
Some boards need to set the INn_MODE[1:0] register to change the input signal patch. This wlf,inmode property is optional. If present, values must be specified less than or equal to the number of input singals. If values less than the number of input signals, elements that has not been specifed are

[alsa-devel] [RESEND PATCH v4 0/2] mfd: arizona: add support for INn_MODE register

2014-08-25 Thread Inha Song
This patch series add support for INn_MODE register control using platform data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Changes for v4 - Update document content for more clarity Changes for v3 - Change to use of_property_read_u32_a

Re: [hyperv] BUG at drivers/hv/channel.c:462 while changing MTU

2014-08-25 Thread Dan Carpenter
The code here is: drivers/hv/channel.c 460 BUG_ON(ret != 0); 461 t = wait_for_completion_timeout(&info->waitevent, 5*HZ); 462 BUG_ON(t == 0); So it calls BUG_ON() if the teardown takes more than 5 seconds. It's most likely that there is a race condition somewh

Re: [PATCH] KVM: x86: fix xen guest panic due to lack of KVM_REQ_EVENT

2014-08-25 Thread Wanpeng Li
Hi Paolo, On Mon, Aug 25, 2014 at 11:16:16AM +0200, Paolo Bonzini wrote: >Il 25/08/2014 11:08, Wanpeng Li ha scritto: >> Hi Paolo, >> On Mon, Aug 25, 2014 at 11:01:07AM +0200, Paolo Bonzini wrote: >>> Il 25/08/2014 09:58, Wanpeng Li ha scritto: diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x8

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-25 Thread Thierry Reding
On Fri, Aug 22, 2014 at 02:19:19PM +0100, Mark Rutland wrote: > On Thu, Aug 21, 2014 at 08:19:00PM +0100, Alexander Holler wrote: > > Am 21.08.2014 16:02, schrieb Thierry Reding: > > > > > Anyway, those are all fairly standard reasons for where deferred probe > > > triggers, and since I do like de

Re: [PATCH 06/10] perf evlist: Allow growing pollfd on add method

2014-08-25 Thread Jiri Olsa
On Fri, Aug 22, 2014 at 05:59:46PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > -void perf_evlist__add_pollfd(struct perf_evlist *evlist, int fd) > +int perf_evlist__add_pollfd(struct perf_evlist *evlist, int fd) > { > + /* > + * XXX: 64 is arbitrary, just not to call realloc at each f

Re: [PATCH 0/2] Add TLS record layer encryption module

2014-08-25 Thread Herbert Xu
On Thu, Jul 31, 2014 at 12:59:45PM -0700, Andy Lutomirski wrote: > > What is this used for? AF_ALG? I find it hard to believe that the > kernel will ever want to use this internally. There have been discussions over the years regarding implementing TLS/SSL in the kernel so it is not inconceivab

Re: [PATCH 3/9] pwm: lpss: use c99 initializers in structures

2014-08-25 Thread Thierry Reding
On Sat, Aug 23, 2014 at 01:20:25PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Use c99 initializers for structures. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @decl@ > identifier i1,fld; > type T; > fiel

Re: [PATCH 06/10] perf evlist: Allow growing pollfd on add method

2014-08-25 Thread Jiri Olsa
On Fri, Aug 22, 2014 at 05:59:46PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > -static int perf_evlist__alloc_pollfd(struct perf_evlist *evlist) > +static int perf_evlist__grow_pollfd(struct perf_evlist *evlist, int hint) > +{ > + int nr_fds_alloc = evlist->nr_fds_alloc + hint; > +

Re: [PATCH] staging:lustre:lnet: lib-md.c fix checkpath warnings and errors.

2014-08-25 Thread Dan Carpenter
On Mon, Aug 25, 2014 at 01:41:29AM +0800, Janet Liu wrote: > Sliences the following warning and error: > > WARNING: line over 80 characters > WARNING: space prohibited between function name and open parenthesis '(' > ERROR: do not use C99 // comments > ERROR: trailing statements should be

Re: [PATCH v3 13/17] arcmsr: fix ioctl data read/write error for adapter type C

2014-08-25 Thread Ching Huang
On Fri, 2014-08-22 at 18:00 +0200, Tomas Henzl wrote: > On 08/19/2014 09:17 AM, Ching Huang wrote: > > From: Ching Huang > > > > Rewrite ioctl entry and its relate function. > > This patch fix ioctl data read/write error and change data I/O access from > > byte to Dword. > > > > Signed-off-by: Ch

[3.17 REGRESSION FIX] Revert "ideapad-laptop: Disable touchpad interface on Yoga models"

2014-08-25 Thread Hans de Goede
I've received a bug report from a user that the touchpad control part of the ideapad-laptop ACPI interface does work for him on his "Lenovo Yoga 2 13", and that this patch causes a regression for him. Since it did not work for me when I had a "Lenovo Yoga 2 11" in my own hands (loaned from a frien

[PATCH -mm] prctl: PR_SET_MM -- Introduce PR_SET_MM_MAP operation, v4

2014-08-25 Thread Cyrill Gorcunov
During development of c/r we've noticed that in case if we need to support user namespaces we face a problem with capabilities in prctl(PR_SET_MM, ...) call, in particular once new user namespace is created capable(CAP_SYS_RESOURCE) no longer passes. A approach is to eliminate CAP_SYS_RESOURCE che

Re: [PATCH v2] intel_idle: add idle values for Cherrytrail/Braswell

2014-08-25 Thread Mika Westerberg
On Fri, Aug 22, 2014 at 10:06:21PM +0800, Li, Aubrey wrote: > On 2014/8/22 19:39, Mika Westerberg wrote: > > From: Mahesh Kumar P > > > > Cherrytrail/Braswell is a successor of Intel Baytrail but has slighly > > different CPU idle values and latencies. > > > > Signed-off-by: Kumar P Mahesh > >

Re: [PATCH 1/3 v4 RESEND] mfd: arizona: Export function to control subsystem DVFS

2014-08-25 Thread Richard Fitzgerald
On Thu, Aug 21, 2014 at 11:40:51AM +0100, Lee Jones wrote: > On Fri, 08 Aug 2014, Richard Fitzgerald wrote: > > > From: Richard Fitzgerald > > > > Moving this control from being a side-effect of the LDO1 > > regulator driver to a specific exported function. > > > > Signed-off-by: Richard Fitzge

Re: [PATCH] PWM: atmel: fix incorrect CDTY value after enabling or disabling

2014-08-25 Thread Thierry Reding
On Fri, Mar 14, 2014 at 08:05:31PM +0100, Alexandre Belloni wrote: > pwm-leds calls .config() and .disable() in a row. This exhibits that it may > happen that the channel gets disabled before CDTY has been updated with CUPD. > The issue gets quite worse with long periods. > So, ensure by reading IS

Re: [PATCHv4 2/4] thermal: exynos: Add support for many TRIMINFO_CTRL registers

2014-08-25 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, August 25, 2014 04:30:23 PM Chanwoo Choi wrote: > This patch support many TRIMINFO_CTRL registers if specific Exynos SoC > has one more TRIMINFO_CTRL registers. Also this patch uses proper 'RELOAD' > shift/mask bit operation to set RELOAD feature instead of static value. > > Signe

Re: [PATCH 8/9] video: fbdev: aty: use c99 initializers in structures

2014-08-25 Thread Dan Carpenter
On Sat, Aug 23, 2014 at 05:32:37PM +0200, Julia Lawall wrote: > > > > The closing brace should be in column 0 of the next line. Also, the > > final field initializer should have a comma after it. (Likewise for the > > remaining changes in this file.) > > In general, I haven't changed the presenc

Re: Oops: 17 SMP ARM (v3.16-rc2)

2014-08-25 Thread Russell King - ARM Linux
On Wed, Aug 13, 2014 at 01:39:27PM +, Mattis Lorentzon wrote: > All our tests seem to behave the same way on the Sabrelite as on our own > board. > A working theory is that the switch (3Com Switch 4400) triggers the > degeneration > of the network stack from which Linux does not seem to recov

Re: i915: Regression: +4W in idle power use on Macbook Pro 15 (late 2013)

2014-08-25 Thread Jani Nikula
On Fri, 22 Aug 2014, Eric Rannaud wrote: > Hi, > > Between 3.15.4 and 3.15.8, there was an increase in idle power consumption on > Apple Macbook Pro 15 (late 2013) on a freshly booted system (no wifi driver > loaded; brightness set to 4/100; X running; no desktop environment, except > Awesome), fr

Re: [PATCH 1/7] efi: move noefi early param code out of x86 arch code

2014-08-25 Thread Matt Fleming
On Thu, 14 Aug, at 05:26:38PM, Dave Young wrote: > Hi, > > I addressed several comments from Matt, Randy and Will in this post. > > Also rewrote the patch for efi=noruntime with using a generic param handling > function. > > CCed Xen and SGI people, removed rtc list in cc for [1-6]/7 patches Th

[PATCH 2/2] modpost: simplify file name generation of *.mod.c files

2014-08-25 Thread Mathias Krause
Avoid the variable length array (vla), just use PATH_MAX instead. This not only makes this code clang friedly, it also leads to a code size reduction: textdata bss dec hex filename 517652224 12416 66405 10365 scripts/mod/modpost.old 516772224 12416 66317

[PATCH 0/2] modpost: small size reduction

2014-08-25 Thread Mathias Krause
Hi Rusty, the following two patches lead to a small size reduction of modpost. Please apply! Thanks, Mathias Mathias Krause (2): modpost: reduce visibility of symbols and constify r/o arrays modpost: simplify file name generation of *.mod.c files scripts/mod/modpost.c | 25

  1   2   3   4   5   6   7   >