Re: [PATCH v2] Add ltc3562 voltage regulator driver

2014-11-03 Thread Mark Brown
On Mon, Nov 03, 2014 at 03:48:56PM +0100, Mike Looijmans wrote: > On 11/03/2014 01:09 PM, Mark Brown wrote: > >No function calls, just use regulators_node. What is unclear about the > >functionality? > I don't understand what you mean by "regulators_node". > "grep -R regulators_node *" in the

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Johannes Weiner
Hi Joonsoo, On Mon, Nov 03, 2014 at 05:02:08PM +0900, Joonsoo Kim wrote: > On Sat, Nov 01, 2014 at 11:15:54PM -0400, Johannes Weiner wrote: > > Memory cgroups used to have 5 per-page pointers. To allow users to > > disable that amount of overhead during runtime, those pointers were > > allocated

Re: [PATCH v2 1/2] ALSA: echoaudio: add reference of struct echoaudio

2014-11-03 Thread Joe Perches
On Mon, 2014-11-03 at 15:17 +0100, Takashi Iwai wrote: > At Mon, 3 Nov 2014 16:04:12 +0530, > Sudip Mukherjee wrote: > > > > added reference of struct echoaudio to free_firmware function. > > this structure will be later used to get a reference of the card > > when converting snd_printk to dev_*

Re: [PATCH 0/1] Compact interface for Device-Tree

2014-11-03 Thread Arnd Bergmann
On Friday 31 October 2014 23:53:28 Rafael J. Wysocki wrote: > On Saturday, November 01, 2014 05:13:45 AM Rob Herring wrote: > > On Fri, Oct 31, 2014 at 6:59 AM, Gilad Avidov > > wrote: > > > > > > Device-Tree compact API > > > > > > > > > Common code seen in driver’s

Re: [PATCH 2/4] input: touchscreen: ti_am335x_tsc: Remove udelay in interrupt handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Vignesh R wrote: > From: Brad Griffis > > TSC interrupt handler had udelay to avoid reporting of false pen-up > interrupt to user space. This patch implements workaround suggesting in > Advisory 1.0.31 of silicon errata for am335x, thus eliminating udelay > and touchscreen

Re: [PATCH 2/2] perf: Userspace software event and ioctl

2014-11-03 Thread Pawel Moll
On Mon, 2014-11-03 at 14:48 +, Tomeu Vizoso wrote: > On 29 September 2014 17:53, Pawel Moll wrote: > > On Mon, 2014-09-29 at 16:32 +0100, Peter Zijlstra wrote: > >> Also none of the many words above describe > >> PERF_SAMPLE_USERSPACE_EVENT(), wth is that about? > > > > Hopefully description

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-03 Thread Rafael J. Wysocki
On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: > > On 11/1/14 4:11, Grant Likely wrote: > > On Tue, 28 Oct 2014 22:59:57 +0100 > > , "Rafael J. Wysocki" > > wrote: > >> On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: > >>> acpi_dev_add_driver_gpios() makes it

stmmac: potential circular locking dependency

2014-11-03 Thread Emilio López
Hi everyone, I was playing with iperf on my Cubietruck today when I hit this lockdep report/breakage on stmmac. It seems to be fairly reproducible by 1) Being on a GbE network 2) "iperf -s" on the stmmmac device 3) "iperf -c -d -P 5" on some other device on the LAN Here it goes:

Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-03 Thread Namhyung Kim
On Mon, Nov 3, 2014 at 10:54 PM, Jiri Olsa wrote: > On Mon, Nov 03, 2014 at 04:27:52PM +0900, Namhyung Kim wrote: > > SNIP > >> # >> # Overhead Command Shared ObjectSymbol >> # ... ... >>

Re: [PATCH 1/8] perf tools: Preparation for compressed kernel module support

2014-11-03 Thread Namhyung Kim
Hi Jiri, On Mon, Nov 3, 2014 at 10:51 PM, Jiri Olsa wrote: > On Mon, Nov 03, 2014 at 04:27:51PM +0900, Namhyung Kim wrote: > > SNIP > >> +static int decompress_dummy(const char *input __maybe_unused, >> + int output __maybe_unused) >> +{ >> + return -1; >> +} >> + >>

Re: [PATCH] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail

2014-11-03 Thread Felipe Balbi
On Mon, Nov 03, 2014 at 11:24:02AM +0200, Mika Westerberg wrote: > On Fri, Oct 31, 2014 at 11:45:09AM -0700, David Cohen wrote: > > > I think adding the module exit + allowing this driver to be a module > > > would be a good approach. Then we don't need to force generic x86 kernel > > > binaries

Re: [PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-11-03 Thread Lee Jones
On Fri, 24 Oct 2014, Dmitry Eremin-Solenikov wrote: > Some boards with TC6393XB chip require full state restore during system > resume thanks to chip's VCC being cut off during suspend (Sharp SL-6000 > tosa is one of them). Failing to do so would result in ohci Oops on > resume due to internal

RE: [PATCH 1/1] perf tools: perf diff for different binaries

2014-11-03 Thread Liang, Kan
> > @@ -1164,6 +1164,9 @@ int cmd_diff(int argc, const char **argv, const > char *prefix __maybe_unused) > > if (setup_sorting() < 0) > > usage_with_options(diff_usage, options); > > > > + if (sort__has_sym_name) > > + tool.mmap2 = perf_event__process_mmap2; > > why

Re: [tip:x86/apic] x86, PCI, ACPI: Kill private function resource_to_addr() in arch/x86/pci/acpi.c

2014-11-03 Thread Borislav Petkov
On Mon, Nov 03, 2014 at 02:57:31AM -0800, tip-bot for Jiang Liu wrote: > Commit-ID: e22ce93870deae0e9a54e1539f0088538f187780 > Gitweb: http://git.kernel.org/tip/e22ce93870deae0e9a54e1539f0088538f187780 > Author: Jiang Liu > AuthorDate: Mon, 27 Oct 2014 13:21:34 +0800 > Committer: Thomas

[PATCH v4 01/14] regulator: Document binding for initial and suspend modes

2014-11-03 Thread Javier Martinez Canillas
Some regulators can run on different operating modes (opmodes). This allows systems to choose the most efficient opmode for each regulator. This patch builds on top of (291d761 regulator: Document binding for regulator suspend state for PM state) adding a regulator-initial-mode DT property to

[PATCH v4 04/14] regulator: of: Pass the regulator description in the match table

2014-11-03 Thread Javier Martinez Canillas
Drivers can use the of_regulator_match() function to parse the regulator init_data from DT. A match table is used to specify the name of the node containing the regulators, the device node and to return the init_data to the caller. But also the static regulator descriptor is needed to correctly

Re: [PATCH] compiler: Correct macro parameter expansion problem

2014-11-03 Thread Josh Triplett
On Mon, Nov 03, 2014 at 06:34:13AM -0800, Jeff Kirsher wrote: > From: Mark Rustad > > The macro __compiletime_error_fallback has an error in that it > lacks parens around the expansion of an expression. It also > lacks a conversion to a boolean value. The first problem can > result in a

Re: [PATCH v2] Add ltc3562 voltage regulator driver

2014-11-03 Thread Mike Looijmans
On 11/03/2014 01:09 PM, Mark Brown wrote: On Mon, Nov 03, 2014 at 09:10:08AM +0100, Mike Looijmans wrote: On 10/30/2014 05:51 PM, Mark Brown wrote: + np_child = of_get_child_by_name(np_regulators, + ltc3562_regulators[i].name); + if

Re: [PATCH v2 01/11] crypto: Documentation - crypto API high level spec

2014-11-03 Thread Herbert Xu
On Mon, Nov 03, 2014 at 03:18:29PM +0100, Stephan Mueller wrote: > > > > + * CRYPTO_ALG_TYPE_DIGESTRaw message digest > > > + * CRYPTO_ALG_TYPE_HASH Alias for CRYPTO_ALG_TYPE_DIGEST > > > + * CRYPTO_ALG_TYPE_SHASH Synchronous multi-block hash > > > + * CRYPTO_ALG_TYPE_AHASH

Re: [PATCH 2/2] perf: Userspace software event and ioctl

2014-11-03 Thread Tomeu Vizoso
On 29 September 2014 17:53, Pawel Moll wrote: > On Mon, 2014-09-29 at 16:32 +0100, Peter Zijlstra wrote: >> Also none of the many words above describe >> PERF_SAMPLE_USERSPACE_EVENT(), wth is that about? > > Hopefully description of the v2 makes better job in this: > >

[GIT PULL] pin control fixes for v3.18

2014-11-03 Thread Linus Walleij
Hi Linus, this kernel cycle has been calm for both pin control and GPIO so far but here are three pin control patches for you anyway, only really dealing with Baytrail. Please pull them in! Yours, Linus Walleij The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1:

Re: stmmac: potential circular locking dependency

2014-11-03 Thread Emilio López
El 03/11/14 a las 11:39, Giuseppe CAVALLARO escibió: Hello Emilio I have a subset of new patches to review and fix locks in the driver. I will plan to send them in the next days. Great then :) Please Cc: me on the patches when you send them Cheers, Emilio -- To unsubscribe from this list:

Re: [PATCH v2 01/11] crypto: Documentation - crypto API high level spec

2014-11-03 Thread Herbert Xu
On Mon, Nov 03, 2014 at 03:18:29PM +0100, Stephan Mueller wrote: > > > > + * CRYPTO_ALG_TYPE_CIPHERRaw block cipher > > > + * CRYPTO_ALG_TYPE_COMPRESS Compression > > > + * CRYPTO_ALG_TYPE_AEAD Authenticated Encryption with > Associated Data > > > (MAC) + *

[PATCH v4 12/14] regulator: max77802: Use unsigned int for modes in max77802_map_mode()

2014-11-03 Thread Javier Martinez Canillas
All function dealing with operating modes use unsigned int for modes so change max77802_map_mode() function signature for consistency. Signed-off-by: Javier Martinez Canillas --- drivers/regulator/max77802.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 08/14] regulator: max8660: zero-initialize regulator match table array

2014-11-03 Thread Javier Martinez Canillas
The struct of_regulator_match rmatch[] is declared as a non-static local variable so the structure members are not auto-initialized. Initialize the array at declaration time to avoid the structure members values to be indeterminate and have sane defaults instead. Signed-off-by: Javier Martinez

[PATCH v4 07/14] regulator: max77802: zero-initialize regulator match table

2014-11-03 Thread Javier Martinez Canillas
The struct of_regulator_match is declared as a non-static local variable so the structure members are not auto-initialized. Initialize the struct at declaration time to avoid the structure members values to be indeterminate and have sane defaults instead. Signed-off-by: Javier Martinez Canillas

[PATCH v4 09/14] regulator: s2mpa01: zero-initialize regulator match table array

2014-11-03 Thread Javier Martinez Canillas
The struct of_regulator_match rmatch[] is declared as a non-static local variable so the structure members are not auto-initialized. Initialize the array at declaration time to avoid the structure members values to be indeterminate and have sane defaults instead. Signed-off-by: Javier Martinez

[PATCH v4 11/14] regulator: max77802: Document binding for regulator operating modes

2014-11-03 Thread Javier Martinez Canillas
Some regulators from the max77802 PMIC support to be configured in one of two operating mode: Output ON (normal) and Output On Low Power Mode. Not all regulators support these two modes and for some of them, the mode can be changed while the system is running in normal operation while others only

[PATCH v4 06/14] regulator: max77686: zero-initialize regulator match table

2014-11-03 Thread Javier Martinez Canillas
The struct of_regulator_match is declared as a non-static local variable so the structure members are not auto-initialized. Initialize the struct at declaration time to avoid the structure members values to be indeterminate and have sane defaults instead. Signed-off-by: Javier Martinez Canillas

[PATCH v4 14/14] ARM: dts: Configure regulators for suspend on exynos Peach boards

2014-11-03 Thread Javier Martinez Canillas
The regulator core now has support to choose if a regulator has to be enabled or disabled during system suspend and also the supports changing the regulator operating mode during runtime and when the system enters into sleep mode. To lower power during suspend, configure the regulators state

Re: [PATCH] ARM: dts: dra7-evm: Keep all VDD rails always-on

2014-11-03 Thread Roger Quadros
Hi Nishant, On 10/21/2014 05:38 PM, Nishanth Menon wrote: > DRA7 Data Manual (SPRS857L - August 2014) section 4.1.1 states: "All > unused power supply balls must be supplied with the voltages specified > in the Section 5.2, Recommended Operating Conditions". > > This implies that all unused

[PATCH v4 03/14] regulator: of: Add regulator desc param to of_get_regulator_init_data()

2014-11-03 Thread Javier Martinez Canillas
The of_get_regulator_init_data() function is used to extract the regulator init_data but information on how to extract certain data is defined in the static regulator descriptor (e.g: how to map the hardware operating modes). Add a const struct regulator_desc * parameter to the function signature

[PATCH v4 02/14] regulator: Add function to map modes to struct regulator_desc

2014-11-03 Thread Javier Martinez Canillas
The regulator-initial-mode and regulator-mode DT properties allows to configure the regulator operating modes at startup or when a system enters into a susend state. But these properties use as valid values the operating modes supported by each device while the core deals with the standard

[PATCH v4 05/14] regulator: max1586: zero-initialize regulator match table array

2014-11-03 Thread Javier Martinez Canillas
The struct of_regulator_match rmatch[] is declared as a non-static local variable so the structure members are not auto-initialized. Initialize the array at declaration time to avoid the structure members values to be indeterminate and have sane defaults instead. Signed-off-by: Javier Martinez

[PATCH] hwmon: (pwm-fan) Fix suspend/resume behavior

2014-11-03 Thread Kamil Debski
The state of a PWM output is not clearly defined after resume. Some PWM drivers do not restore the duty cycle upon resume, thus it is necessary to manually restore the correct value. Signed-off-by: Kamil Debski --- drivers/hwmon/pwm-fan.c | 13 ++--- 1 file changed, 10 insertions(+),

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

2014-11-03 Thread Kamil Debski
Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. Signed-off-by: Kamil Debski --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts

[PATCH v4 10/14] regulator: of: Add support for parsing initial and suspend modes

2014-11-03 Thread Javier Martinez Canillas
Some regulators support their operating mode to be changed on startup or by consumers when the system is running while others only support their operating mode to be changed while the system has entered in a suspend state. The regulator Device Tree binding documents a set of properties to

[PATCH v4 13/14] regulator: max77802: Set regulator modes translation callback

2014-11-03 Thread Javier Martinez Canillas
The max77802 PMIC regulators output can be configured in one of two modes: Output ON (normal) and Output ON in Low Power Mode. Some of the regulators support their operating mode to be changed on startup or by consumers when the system is running while others only support their operating mode to

[PATCH v4 00/14] Add max77802 regulator operating mode support

2014-11-03 Thread Javier Martinez Canillas
Hello Mark, This is the fourth version of the series that adds operating modes support for the regulators in the max77802 PMIC. This version uses the standard suspend states bindings and the opmodes are parsed by the regulator core while drivers only define a translation function to map between

Re: [PATCH 1/1] devicetree: bindings: Add vendor prefix for Micron Technology Co., Ltd.

2014-11-03 Thread Rob Herring
On Mon, Nov 3, 2014 at 8:28 AM, bpqw wrote: >>This patch is used to add vendor prefix for >>Micron Technology Inc in the vendor-prefixes.txt file. > >>Micron Technology, Inc. is an American >>multinational corporation based in Boise, >>Idaho, best known for producing many forms >>of semiconductor

Re: stmmac: potential circular locking dependency

2014-11-03 Thread Giuseppe CAVALLARO
Hello Emilio I have a subset of new patches to review and fix locks in the driver. I will plan to send them in the next days. Sincerely Peppe On 11/3/2014 3:36 PM, Emilio López wrote: Hi everyone, I was playing with iperf on my Cubietruck today when I hit this lockdep report/breakage on

Re: [PATCH RFC v2 8/8] ARM: zynq: DT: Add pinctrl information

2014-11-03 Thread Linus Walleij
On Sun, Nov 2, 2014 at 9:20 PM, Sören Brinkmann wrote: (...) > common { > groups = "uart1_10_grp"; > function = "uart1"; > bias-pull-up = <0>; > slew-rate = <0>; >

Re: [PATCH 00/12] Add kdbus implementation

2014-11-03 Thread One Thousand Gnomes
On Sat, 1 Nov 2014 18:21:30 -0700 Greg Kroah-Hartman wrote: > Here's some reasons why I feel it is better to have kdbus in the kernel > rather than trying to implement the same thing in a userspace daemon: No - these are reasons to have *something* in the kernel. I think it would be far more

Re: [PATCH] regulator: max77693: Fix use of uninitialized regulator config

2014-11-03 Thread Mark Brown
On Mon, Nov 03, 2014 at 03:07:05PM +0100, Krzysztof Kozlowski wrote: > Driver allocated on stack struct regulator_config but didn't initialize > it fully. Few fields (driver_data, ena_gpio) were left untouched. This > lead to using random ena_gpio values as GPIOs for max77693 regulators. Applied,

Re: [PATCH 04/13] autofs4 - change printks AUTOFS defined prints

2014-11-03 Thread Joe Perches
On Mon, 2014-11-03 at 17:20 +0800, Ian Kent wrote: > On Mon, 2014-11-03 at 00:25 -0800, Joe Perches wrote: > > On Mon, 2014-11-03 at 16:12 +0800, Ian Kent wrote: > > > Use the AUTOFS_*() print defines instead of raw printks. Hi again Ian > > It's probably better to simply use > > #define

[PATCH] compiler: Correct macro parameter expansion problem

2014-11-03 Thread Jeff Kirsher
From: Mark Rustad The macro __compiletime_error_fallback has an error in that it lacks parens around the expansion of an expression. It also lacks a conversion to a boolean value. The first problem can result in a mis-evaluation. The second problem can also result in an error if the value comes

[PATCH v6] kernel, add panic_on_warn

2014-11-03 Thread Prarit Bhargava
There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get a crash dump from a system. Sometimes this is easy to do, other times (such as in the case of a remote admin) it is not trivial to send new images to the user. A

RE: [PATCH 1/1] devicetree: bindings: Add vendor prefix for Micron Technology Co., Ltd.

2014-11-03 Thread bpqw
>This patch is used to add vendor prefix for >Micron Technology Inc in the vendor-prefixes.txt file. >Micron Technology, Inc. is an American >multinational corporation based in Boise, >Idaho, best known for producing many forms >of semiconductor devices. This includes DRAM, >SDRAM, flash

Re: [PATCH] Documentation: vm: Add 1GB large page support information

2014-11-03 Thread Luiz Capitulino
On Sat, 1 Nov 2014 01:01:57 +0900 Masanari Iida wrote: > This patch add 1GB large page support information on > x86_64 architecture in Documentation/vm/hugetlbpage.txt. > > Signed-off-by: Masanari Iida > --- > Documentation/vm/hugetlbpage.txt | 3 ++- > 1 file changed, 2 insertions(+), 1

[PATCH 1/1] devicetree: bindings: Add vendor prefix for Micron Technology Co., Ltd.

2014-11-03 Thread bpqw
This patch is used to add vendor prefix for Micron Technology Inc in the vendor-prefixes.txt file. Micron Technology, Inc. is an American multinational corporation based in Boise, Idaho, best known for producing many forms of semiconductor devices. This includes DRAM, SDRAM, flash memory,

Re: ceph: Deletion of unnecessary checks before two function calls

2014-11-03 Thread Ilya Dryomov
On Mon, Nov 3, 2014 at 4:27 PM, SF Markus Elfring wrote: >> dput() also checks for NULL argument, but the check is wrapped into >> unlikely(), which is why I presume it wasn't picked up. It would be >> great if you could improve your coccinelle script to handle >> {un,}likely() as well. > >

Re: [PATCH v2 01/11] crypto: Documentation - crypto API high level spec

2014-11-03 Thread Stephan Mueller
Am Montag, 3. November 2014, 08:34:39 schrieb Jonathan Corbet: Hi Jonathan, > On Sun, 02 Nov 2014 21:35:11 +0100 > > Stephan Mueller wrote: > > The design of the kernel crypto API as well as hints to program with > > the kernel crypto API are given. > > Cool to see this, thanks. Please

Re: A desktop environment[1] kernel wishlist

2014-11-03 Thread One Thousand Gnomes
> > It's a reasonable ask but answers even if available are likely > > to be things like "because GPE36" and GPE36 will just be some connection > > to something that could be anything from a lid switch to a light sensor > > or even a smart wifi chip deciding it wants the CPU to help out because >

Re: [PATCH v2 1/2] ALSA: echoaudio: add reference of struct echoaudio

2014-11-03 Thread Takashi Iwai
At Mon, 3 Nov 2014 16:04:12 +0530, Sudip Mukherjee wrote: > > added reference of struct echoaudio to free_firmware function. > this structure will be later used to get a reference of the card > when converting snd_printk to dev_* in the next patch of the series. > > Signed-off-by: Sudip

Re: [PATCH resent] ALSA: emu10k1: Deletion of unnecessary checks before three function calls

2014-11-03 Thread Takashi Iwai
At Mon, 03 Nov 2014 15:10:40 +0100, SF Markus Elfring wrote: > > > Your patch can't be applied cleanly due to your MUA breaking the > > lines. Please fix your MUA setup, or use an attachment if it's > > impossible, and resend the patch. > > Thanks for your feedback. > > Does this example show

Re: [PATCH v4 10/10] x86: Support compiling out userspace IO (iopl and ioperm)

2014-11-03 Thread Josh Triplett
On Mon, Nov 03, 2014 at 12:10:49PM +, One Thousand Gnomes wrote: > On Sun, 2 Nov 2014 09:33:01 -0800 > Josh Triplett wrote: > > > On the vast majority of modern systems, no processes will use the > > userspsace IO syscalls, iopl and ioperm. Add a new config option, > > CONFIG_X86_IOPORT, to

Re: [PATCH v4] media: spi: Add support for LMH0395

2014-11-03 Thread Hans Verkuil
On 11/03/2014 02:42 PM, Laurent Pinchart wrote: > On Monday 03 November 2014 14:36:26 Hans Verkuil wrote: >> On 11/03/2014 02:13 PM, Laurent Pinchart wrote: >>> Hi Jean-Michel, >>> >>> Thank you for the patch. >> >>> On Wednesday 10 September 2014 11:43:54 Jean-Michel Hautbois wrote: >> >>

Re: [PATCH resent] ALSA: emu10k1: Deletion of unnecessary checks before three function calls

2014-11-03 Thread SF Markus Elfring
> Your patch can't be applied cleanly due to your MUA breaking the > lines. Please fix your MUA setup, or use an attachment if it's > impossible, and resend the patch. Thanks for your feedback. Does this example show a conflict between long comments like "snd_emu10k1_ctl_private_free( ...

Re: [RFC] gpio: remove gpio_descs global array

2014-11-03 Thread Linus Walleij
On Sat, Nov 1, 2014 at 8:03 AM, Alexandre Courbot wrote: > The issue with this patch is its use of kzalloc() in gpiochip_add(), a > function potentially called during early boot, before kzalloc() becomes > usable. Hence its [RFC] status until we can find a solution for this or > agree that this

Re: [V9 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-03 Thread Marc Zyngier
On 03/11/14 09:50, Marc Zyngier wrote: >> @@ -843,10 +847,14 @@ static int gic_irq_domain_alloc(struct irq_domain >> *domain, unsigned int virq, >> unsigned int type = IRQ_TYPE_NONE; >> struct of_phandle_args *irq_data = arg; >> >> - ret = gic_irq_domain_xlate(domain,

Re: [PATCH v2 1/5] video: move mediabus format definition to a more standard place

2014-11-03 Thread Hans Verkuil
Hi Boris, Laurent, My apologies, I missed this patch when it was posted. First of all, please convert all existing kernel drivers that use V4L2_MBUS_FMT to the new macro. It's easy to automate, and I see no reason why we shouldn't do this. If you don't do that now, then we'll be stuck with two

[PATCH] regulator: max77693: Fix use of uninitialized regulator config

2014-11-03 Thread Krzysztof Kozlowski
Driver allocated on stack struct regulator_config but didn't initialize it fully. Few fields (driver_data, ena_gpio) were left untouched. This lead to using random ena_gpio values as GPIOs for max77693 regulators. On occasion these values could match real GPIO numbers leading to interfering with

Re: [PATCH] UBI: Block: Add blk-mq support

2014-11-03 Thread Ezequiel Garcia
On 11/03/2014 02:03 AM, Ming Lei wrote: > On Sun, Nov 2, 2014 at 9:00 PM, Richard Weinberger wrote: >> Convert the driver to blk-mq. > > It is always helpful to include some performance comparison data( > randrw, rw) between blk-mq and non-mq. > UBI block support is read-only for now so you'll

[PATCH V6] UBI: Extend UBI layer debug/messaging capabilities

2014-11-03 Thread Tanya Brokhman
If there is more then one UBI device mounted, there is no way to distinguish between messages from different UBI devices. Add device number to all ubi layer message types. The R/O block driver messages were replaced by pr_* since ubi_device structure is not used by it. Amended a bit by Artem.

Re: [PATCH 3.2 000/102] 3.2.64-rc1 review

2014-11-03 Thread Ben Hutchings
On Mon, 2014-11-03 at 11:32 +0100, Guillaume Nault wrote: > On Sat, Nov 01, 2014 at 10:28:02PM +, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.64 release. > > There are 102 patches in this series, which will be posted as responses > > to this one. If

Re: udev/hwdb support in pciutils (Re: [PATCH RESEND][pciutils] libpci: pci_id_lookup - add udev/hwdb support)

2014-11-03 Thread Tom Gundersen
Hi Martin, On Sat, Nov 1, 2014 at 6:51 PM, Martin Mares wrote: > The support for hwdb has finally landed in mainline pciutils. > > I have modified your patch to bring it closer to the rest of device > naming logic. Namely: Great! Thanks for merging this, and for working on it. > Aside of the

Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-03 Thread Jiri Olsa
On Mon, Nov 03, 2014 at 04:27:52PM +0900, Namhyung Kim wrote: SNIP > # > # Overhead Command Shared ObjectSymbol > # ... ... > .. > # > >0.04%

Re: [PATCH 1/8] perf tools: Preparation for compressed kernel module support

2014-11-03 Thread Jiri Olsa
On Mon, Nov 03, 2014 at 04:27:51PM +0900, Namhyung Kim wrote: SNIP > +static int decompress_dummy(const char *input __maybe_unused, > + int output __maybe_unused) > +{ > + return -1; > +} > + > +static const struct { > + const char *fmt; > + int

Re: [PATCH 3.2 091/102] KVM: x86: Emulator fixes for eip canonical checks on near branches

2014-11-03 Thread Ben Hutchings
On Sun, 2014-11-02 at 10:44 +0200, Nadav Amit wrote: > Sorry, but this patch is incomplete due to a bug. > The following patch - http://www.spinics.net/lists/kvm/msg109664.html - is > needed as well (on top of the previous one). Thanks, I've added that (commit 7e466f6c). Ben. > Nadav > >

Re: [PATCH] leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors

2014-11-03 Thread Linus Walleij
On Fri, Oct 31, 2014 at 12:40 PM, Mika Westerberg wrote: > Commit 21f2aae91e902aad ("leds: leds-gpio: Add support for GPIO > descriptors") already converted most of the driver to use GPIO descriptors. > What is still missing is the platform specific hook gpio_blink_set() and > board files which

Re: [PATCH 3.2 087/102] nEPT: Nested INVEPT

2014-11-03 Thread Ben Hutchings
On Sun, 2014-11-02 at 10:03 +0100, Paolo Bonzini wrote: > You can just use the same scheme as your patch 88/102: Why is that? Why should I not use the upstream version? Ben. > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > index 685b8448d6e2..bd8cc9055fe2 100644 > ---

Re: [PATCH V2] kernel, add bug_on_warn

2014-11-03 Thread Prarit Bhargava
On 10/30/2014 08:25 PM, Rusty Russell wrote: > Prarit Bhargava writes: >> On 10/22/2014 12:27 AM, Rusty Russell wrote: >>> Prarit Bhargava writes: There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get a

Re: [PATCH v4] media: spi: Add support for LMH0395

2014-11-03 Thread Laurent Pinchart
On Monday 03 November 2014 14:36:26 Hans Verkuil wrote: > On 11/03/2014 02:13 PM, Laurent Pinchart wrote: > > Hi Jean-Michel, > > > > Thank you for the patch. > > > On Wednesday 10 September 2014 11:43:54 Jean-Michel Hautbois wrote: > > > >> +static int lmh0395_s_routing(struct v4l2_subdev

Re: [PATCH v2 3/4] regulator: fixed: Use gpio_is_valid

2014-11-03 Thread Markus Pargmann
On Mon, Oct 13, 2014 at 04:47:33PM +0200, Mark Brown wrote: > On Wed, Oct 08, 2014 at 03:47:07PM +0200, Markus Pargmann wrote: > > Use gpio_is_valid instead of an explicit comparison with 0. > > > > Signed-off-by: Markus Pargmann > > --- > > drivers/regulator/fixed.c | 2 +- > > 1 file changed,

Re: [PATCH v4] media: spi: Add support for LMH0395

2014-11-03 Thread Hans Verkuil
On 11/03/2014 02:13 PM, Laurent Pinchart wrote: > Hi Jean-Michel, > > Thank you for the patch. > > On Wednesday 10 September 2014 11:43:54 Jean-Michel Hautbois wrote: > >> +static int lmh0395_s_routing(struct v4l2_subdev *sd, u32 input, u32 output, >> +u32 config)

Re: [PATCH v2 01/11] crypto: Documentation - crypto API high level spec

2014-11-03 Thread Jonathan Corbet
On Sun, 02 Nov 2014 21:35:11 +0100 Stephan Mueller wrote: > The design of the kernel crypto API as well as hints to program with > the kernel crypto API are given. Cool to see this, thanks. Please forgive me if I go into full grumpy editor mode here. There's a lot of good information here,

Re: [PATCH] kernel, add panic_on_warn

2014-11-03 Thread Prarit Bhargava
On 10/30/2014 09:58 PM, Hedi Berriche wrote: > On Thu, Oct 30, 2014 at 17:06 Prarit Bhargava wrote: > | There have been several times where I have had to rebuild a kernel to > | cause a panic when hitting a WARN() in the code in order to get a crash > | dump from a system. Sometimes this is

Re: [PATCH 1/1] x86: Surface Pro 3 Type Cover 3

2014-11-03 Thread Jiri Kosina
On Fri, 31 Oct 2014, Alan Wu wrote: > From: alanwu > > Surface Pro 3 Type Cover that works with Ubuntu (and possibly Arch) from this > thread. Both trackpad and keyboard work after compiling my own kernel. > http://ubuntuforums.org/showthread.php?t=2231207=2=44910e0c56047e4f93dfd9fea58121ef >

Re: ceph: Deletion of unnecessary checks before two function calls

2014-11-03 Thread SF Markus Elfring
> dput() also checks for NULL argument, but the check is wrapped into > unlikely(), which is why I presume it wasn't picked up. It would be > great if you could improve your coccinelle script to handle > {un,}likely() as well. Thanks for your suggestion. Should I consider any more fine-tuning

Re: [PATCH 6/8] regulator: max77686: Add external GPIO control

2014-11-03 Thread Mark Brown
On Mon, Nov 03, 2014 at 01:07:02PM +0100, Krzysztof Kozlowski wrote: > On pią, 2014-10-31 at 10:32 +, Mark Brown wrote: > > We could always add a callback for the driver to handle any custom > > properties... one of the advantages of an OS like Linux is that we can > > improve the core code.

Re: [PATCH 2/4] pinctrl: add helpers for group based drivers

2014-11-03 Thread Linus Walleij
On Thu, Oct 30, 2014 at 8:48 PM, Antoine Tenart wrote: > Maybe the of_pinctrl_utils_node_is_mux/config() solution is more > appropriate to avoid having a confusing function. Plus we would have a > dedicated of_pinctrl_utils_read_pins() function. > > I think I prefer the second solution because

Re: [PATCH v2 2/4] regulator: Set ena_gpio_initialized in regulator drivers

2014-11-03 Thread Markus Pargmann
Hi, Sorry for the delay, holiday and so on. On Mon, Oct 13, 2014 at 04:42:35PM +0200, Mark Brown wrote: > On Wed, Oct 08, 2014 at 03:47:06PM +0200, Markus Pargmann wrote: > > > --- a/drivers/regulator/max8952.c > > +++ b/drivers/regulator/max8952.c > > @@ -225,6 +225,8 @@ static int

Re: [PATCH] ACPI / GPIO: Driver GPIO mappings for ACPI GPIOs

2014-11-03 Thread Linus Walleij
On Sat, Oct 25, 2014 at 12:05 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Provide a way for device drivers using GPIOs described by ACPI > GpioIo resources in _CRS to tell the GPIO subsystem what names > (connection IDs) to associate with specific GPIO pins defined > in there. >

Re: [PATCH 1/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-03 Thread Mauro Carvalho Chehab
Em Sun, 12 Oct 2014 22:01:53 +0200 Beniamino Galvani escreveu: > Amlogic Meson SoCs include a infrared remote control receiver that can > operate in two modes: in "NEC" mode the hardware can decode frames > using the NEC IR protocol, while in "general" mode the receiver simply > reports the

Re: [PATCH v4] media: spi: Add support for LMH0395

2014-11-03 Thread Laurent Pinchart
Hi Jean-Michel, Thank you for the patch. On Wednesday 10 September 2014 11:43:54 Jean-Michel Hautbois wrote: > This device is a SPI based device from TI. > It is a 3 Gbps HD/SD SDI Dual Output Low Power > Extended Reach Adaptive Cable Equalizer. > > LMH0395 enables the use of up to two outputs.

Re: [PATCH 4/7] perf tools: Enhance the thread stack to output call/return data

2014-11-03 Thread Jiri Olsa
On Thu, Oct 30, 2014 at 04:09:45PM +0200, Adrian Hunter wrote: > Enhance the thread stack to output detailed information > about paired calls and returns. > > The enhanced processing consumes sample information via > thread_stack__process() and outputs information about > paired calls / returns

Re: [PATCH 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2014-11-03 Thread Lee Jones
On Mon, 03 Nov 2014, Andy Shevchenko wrote: > On Mon, 2014-11-03 at 15:39 +0800, Raymond Tan wrote: > > In Quark X1000, there's a single PCI device that provides both > > an I2C controller and a GPIO controller. This MFD driver will > > split the 2 devices for their respective drivers. > > > >

[PATCH V6 05/18] x86: Use new cache mode type in arch/x86/pci

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/pci/i386.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH V6 10/18] x86: Remove looking for setting of _PAGE_PAT_LARGE in pageattr.c

2014-11-03 Thread Juergen Gross
When modifying page attributes via change_page_attr_set_clr() don't test for setting _PAGE_PAT_LARGE, as this is - never done - PAT support for large pages is not included in the kernel up to now Signed-off-by: Juergen Gross --- arch/x86/mm/pageattr.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH V6 00/18] x86: Full support of PAT

2014-11-03 Thread Juergen Gross
The x86 architecture offers via the PAT (Page Attribute Table) a way to specify different caching modes in page table entries. The PAT MSR contains 8 entries each specifying one of 6 possible cache modes. A pte references one of those entries via 3 bits: _PAGE_PAT, _PAGE_PWT and _PAGE_PCD. The

[PATCH V6 04/18] x86: Use new cache mode type in drivers/video/fbdev/vermilion

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- drivers/video/fbdev/vermilion/vermilion.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[PATCH V6 08/18] x86: Use new cache mode type in mm/iomap_32.c

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. This requires to change io_reserve_memtype() as well. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/include/asm/pat.h | 2 +-

Re: [PATCH 1/7] perf tools: Add a thread stack for synthesizing call chains

2014-11-03 Thread Jiri Olsa
On Thu, Oct 30, 2014 at 04:09:42PM +0200, Adrian Hunter wrote: > Add a thread stack for synthesizing call chains from call > and return events. > > Signed-off-by: Adrian Hunter Acked-by: Jiri Olsa jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH V6 11/18] x86: Use new cache mode type in setting page attributes

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type in the functions for modifying page attributes. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/mm/pageattr.c | 52

[PATCH V6 06/18] x86: Use new cache mode type in arch/x86/mm/init_64.c

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/mm/init_64.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

[PATCH V6 07/18] x86: Use new cache mode type in asm/pgtable.h

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. This requires changing some callers of is_new_memtype_allowed() to be changed as well. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner ---

[PATCH V6 09/18] x86: Use new cache mode type in track_pfn_remap() and track_pfn_insert()

2014-11-03 Thread Juergen Gross
Instead of directly using the cache mode bits in the pte switch to using the cache mode type. As those are the main callers of lookup_memtype(), change this as well. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/mm/pat.c | 32

[PATCH V6 15/18] x86: Support PAT bit in pagetable dump for lower levels

2014-11-03 Thread Juergen Gross
Dumping page table protection bits is not correct for entries on levels 2 and 3 regarding the PAT bit, which is at a different position as on level 4. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner --- arch/x86/mm/dump_pagetables.c | 24

[PATCH V6 18/18] xen: Support Xen pv-domains using PAT

2014-11-03 Thread Juergen Gross
With the dynamical mapping between cache modes and pgprot values it is now possible to use all cache modes via the Xen hypervisor PAT settings in a pv domain. All to be done is to read the PAT configuration MSR and set up the translation tables accordingly. Signed-off-by: Juergen Gross

[PATCH V6 16/18] x86: Respect PAT bit when copying pte values between large and normal pages

2014-11-03 Thread Juergen Gross
The PAT bit in the ptes is not moved to the correct position when copying page protection attributes between entries of different sized pages. Translate the ptes according to their page size. Based-on-patch-by: Stefan Bader Signed-off-by: Juergen Gross Reviewed-by: Thomas Gleixner ---

<    3   4   5   6   7   8   9   10   11   12   >