Re: [PATCH] memcg: remove KMEM_ACCOUNTED_ACTIVATED

2013-12-02 Thread Glauber Costa
On Mon, Dec 2, 2013 at 11:21 PM, Vladimir Davydov wrote: > On 12/02/2013 10:26 PM, Glauber Costa wrote: >> >> On Mon, Dec 2, 2013 at 10:15 PM, Michal Hocko wrote: >>> >>> [CCing Glauber - please do so in other posts for kmem related changes] >>> >>> On Mon 02-12-13 17:08:13, Vladimir Davydov

Re: [PATCH] HID: logitech-dj: add HIDRAW dependency in Kconfig

2013-12-02 Thread Jiri Kosina
On Tue, 3 Dec 2013, Olivier Gay wrote: > hid-logitech-dj.c driver needs hidraw to work correctly. Without > hidraw, hid-logitech-dj.c fails during probe() and Logitech > Unifying devices HID reports aren't recognized. > > Signed-off-by: Olivier Gay > Signed-off-by: Nestor Lopez Casado >

Re: linux-next: manual merge of the akpm-current tree with Linus' tree

2013-12-02 Thread Richard Weinberger
Am Montag, 2. Dezember 2013, 23:31:31 schrieb Andrew Morton: > On Tue, 03 Dec 2013 08:16:04 +0100 Richard Weinberger wrote: > > Andrew, > > > > Am Dienstag, 3. Dezember 2013, 12:52:19 schrieb Stephen Rothwell: > > > Hi Andrew, > > > > > > Today's linux-next merge of the akpm-current tree got a

Re: [PATCH v10 7/7] thermal:exynos:boost: Automatic enable/disable of BOOST feature (at Exynos4412)

2013-12-02 Thread Lukasz Majewski
Hi Eduardo, > On 05-11-2013 13:26, Lukasz Majewski wrote: > > This patch provides auto disable/enable operation for boost. It > > uses already present thermal infrastructure to provide boost > > hysteresis. A special set of TMU data has been defined for > > Exynos4412, which is only considered

Re: linux-next: manual merge of the akpm-current tree with Linus' tree

2013-12-02 Thread Andrew Morton
On Tue, 03 Dec 2013 08:16:04 +0100 Richard Weinberger wrote: > Andrew, > > Am Dienstag, 3. Dezember 2013, 12:52:19 schrieb Stephen Rothwell: > > Hi Andrew, > > > > Today's linux-next merge of the akpm-current tree got a conflict in > > arch/um/kernel/sysrq.c between commit 8ed12fcc194d ("um:

[PATCH 3/7] perf tools: Use asprintf instead of malloc plus snprintf

2013-12-02 Thread Adrian Hunter
asprintf is equivalent to malloc plus snprintf so use it because it is simpler. Signed-off-by: Adrian Hunter --- tools/perf/util/srcline.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tools/perf/util/srcline.c b/tools/perf/util/srcline.c index d11aefb..4c8e816

[PATCH 4/7] perf tools: Retain bfd reference to lookup source line numbers

2013-12-02 Thread Adrian Hunter
Closng and re-opening for every lookup when using libbfd to lookup source file name and line number is very very slow. Instead keep the reference on struct dso. Signed-off-by: Adrian Hunter --- tools/perf/util/dso.c | 1 + tools/perf/util/dso.h | 3 +++ tools/perf/util/srcline.c | 36

[PATCH 2/7] perf script: Add an option to print the source line number

2013-12-02 Thread Adrian Hunter
Add field 'srcline' that displays the source file name and line number associated with the sample ip. The information displayed is the same as from addr2line. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-script.txt | 2 +- tools/perf/builtin-script.c | 29

Re: linux-next: manual merge of the akpm-current tree with Linus' tree

2013-12-02 Thread Richard Weinberger
Andrew, Am Dienstag, 3. Dezember 2013, 12:52:19 schrieb Stephen Rothwell: > Hi Andrew, > > Today's linux-next merge of the akpm-current tree got a conflict in > arch/um/kernel/sysrq.c between commit 8ed12fcc194d ("um: Rename > print_stack_trace to do_stack_trace") from Linus' tree and commit >

[PATCH 7/7] perf tools: Do not disable source line lookup just because of 1 failure

2013-12-02 Thread Adrian Hunter
Looking up an ip's source file name and line number does not succeed always. Current logic disables the lookup for a dso entirely on any failure. Change it so that disabling never happens if there has ever been a successful lookup for that dso but disable if the first 123 lookups fail.

[PATCH 1/7] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-02 Thread Adrian Hunter
perf_event__preprocess_sample() is called in process_sample_event(). Instead of calling it again in perf_evsel__print_ip(), pass though the resultant addr_location. Signed-off-by: Adrian Hunter --- tools/perf/builtin-script.c | 11 ++- tools/perf/util/session.c | 33

[PATCH 5/7] perf tools: Retain symbol source file name to lookup source line numbers

2013-12-02 Thread Adrian Hunter
Currently, lookup of an ip's source file name and line number is done using the dso file name. Instead retain the file name used to lookup the dso's symbols and use that. Signed-off-by: Adrian Hunter --- tools/perf/util/dso.c | 1 + tools/perf/util/dso.h | 1 + tools/perf/util/srcline.c

[PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-02 Thread Adrian Hunter
When using libbfd to lookup source filename and line number, libbfd does not need the symbol table. Removing the symbol table reading, doubles the speed of 'perf script' with the 'srcline' option. Signed-off-by: Adrian Hunter --- tools/perf/util/srcline.c | 53

[PATCH 0/7] perf script: Add an option to print the source line number

2013-12-02 Thread Adrian Hunter
Hi Here are some patches to add an option to perf script that will print the source file name and line number. Adrian Hunter (7): perf script: Do not call perf_event__preprocess_sample() twice) perf script: Add an option to print the source line number perf tools: Use asprintf

Re: [PATCH v3 07/15] KVM: MMU: introduce nulls desc

2013-12-02 Thread Xiao Guangrong
On 11/28/2013 04:53 PM, Xiao Guangrong wrote: > On 11/27/2013 03:31 AM, Marcelo Tosatti wrote: >> On Tue, Nov 26, 2013 at 11:21:37AM +0800, Xiao Guangrong wrote: >>> On 11/26/2013 02:12 AM, Marcelo Tosatti wrote: On Mon, Nov 25, 2013 at 02:29:03PM +0800, Xiao Guangrong wrote: >>> Also,

RE: [PATCHv6 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-12-02 Thread Li Xiubo
> > +"ftm0" (module clock), > > +"ftm0_counter" (counter clock), > > +- clocks : Must contain a clock specifier for each entry in > > +clock-names, > > + See clock/clock-bindings.txt for details of the property values. > > Note that the order is significant here, at least from the way

[PATCH 2/2] clocksource: sh_mtu2: remove unnecessary platform_set_drvdata()

2013-12-02 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han Acked-by: Simon Horman --- drivers/clocksource/sh_mtu2.c |1 - 1 file changed, 1 deletion(-) diff

[PATCH 1/2] clocksource: sh_tmu: remove unnecessary platform_set_drvdata()

2013-12-02 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han Acked-by: Simon Horman --- drivers/clocksource/sh_tmu.c |1 - 1 file changed, 1 deletion(-) diff

Re: [RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-02 Thread Hiroshi Doyu
On Mon, 2 Dec 2013 15:39:25 +0100 Rob Herring wrote: > On Mon, Dec 2, 2013 at 5:02 AM, Hiroshi Doyu wrote: > > Stephen Warren wrote @ Sun, 1 Dec 2013 20:00:09 > > +0100: > > > >> On 11/29/2013 04:46 AM, Hiroshi Doyu wrote: > >> ... > >> > Iterating over a property containing a list of

[PATCH 3/4] Regulators: TPS65218: Add Regulator driver for TPS65218 PMIC

2013-12-02 Thread Keerthy
This patch adds support for TPS65218 PMIC regulators. The regulators set consists of 6 DCDCs and 1 LDO. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Keerthy --- drivers/regulator/Kconfig |9 +

[PATCH 2/4] MFD: TPS65218: Add driver for the TPS65218 PMIC

2013-12-02 Thread Keerthy
The TPS65218 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Over Temperature warning and Shut down. This patch adds support for tps65218 mfd device. At this time only the regulator functionality

[PATCH 4/4] ARM: dts: AM437x: Add TPS65218 device tree nodes

2013-12-02 Thread Keerthy
Add TPS65218 device tree nodes. This patch is tested on am43x-epos-evm board. Signed-off-by: Keerthy --- arch/arm/boot/dts/am43x-epos-evm.dts | 41 ++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts

[PATCH 0/4] mfd: TPS65218: Add support for TPS65218 PMIC

2013-12-02 Thread Keerthy
The TPS65218 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Over Temperature warning and Shut down. This patch adds support for TPS65218 mfd device. At this time only the regulator functionality

[PATCH 1/4] mfd: DT bindings for TPS65218 PMIC

2013-12-02 Thread Keerthy
Add DT bindings for TPS65218 PMIC. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/tps65218.txt | 27 .../devicetree/bindings/regulator/tps65218.txt | 22 2 files changed, 49 insertions(+) create mode 100644

RE: [PATCH 1/1] ipmi: setting mod_timer for read_event_msg buffer cmd

2013-12-02 Thread Srinivas_G_Gowda
Dell - Internal Use - Confidential Hi Corey, > Unfortunately, that would start the timer unnecessarily. You don't want to > start timers unnecessarily in the kernel or the power management police will > come after you. I still see the issue after applying the patch. I have one

Re: [PATCH/RFC 17/17] tracing/uprobes: Add @+file_offset fetch method

2013-12-02 Thread Namhyung Kim
>> So do you want me to change to make it simpler without a fetch_param? > > Yes, yes. Assuming that you agree, of course. Okay, here goes v8 then. :) I also push it (with other changes come from Srikar) to the uprobe/fetch-v8 branch in my tree for your convenience. :) Thanks, Namhyung >From

Re: [PATCH 1/2] ARM: dts: tegra: Header file for pinctrl constants

2013-12-02 Thread Laxman Dewangan
On Monday 02 December 2013 07:55 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Mon, Dec 02, 2013 at 07:25:01PM +0530, Laxman Dewangan wrote: + +/* Schmitt enable/disable */ +#define TEGRA_PIN_DRIVE_SCHMITT_DISABLE0 +#define

Re: [RFC] Packaging libtraceevent.so

2013-12-02 Thread Namhyung Kim
Hi Steve, (also add Jiri to CC list, hi!) On Mon, 2 Dec 2013 14:03:22 -0500, Steven Rostedt wrote: > Hi all! > > The question has recently come up in Fedora about packaging the > libtraceevent.so library. Currently there's 4 users of it: > > 1) perf > 2) trace-cmd > 3) powertop > 4)

Re: [PATCH 05/39] cpufreq: nforce2: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-02 Thread Viresh Kumar
On Tue, Dec 3, 2013 at 4:34 AM, Jingoo Han wrote: > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro > is not preferred. > > Signed-off-by: Jingoo Han > --- > drivers/cpufreq/cpufreq-nforce2.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH] befs : Add small_data support through xattr handlers

2013-12-02 Thread Fabian Frederick
Beos Filesystem stores small attributes in first inode block automagically read during lookup. Current driver implementation does nothing about it. Those attributes feature both window manager and user metadata. -This patch wakes up the small_data dump functionality when mounting in debug

[PATCH V5 1/2] cpufreq: Mark ARM drivers with CPUFREQ_NEED_INITIAL_FREQ_CHECK flag

2013-12-02 Thread Viresh Kumar
Sometimes boot loaders set CPU frequency to a value outside of frequency table present with cpufreq core. In such cases CPU might be unstable if it has to run on that frequency for long duration of time and so its better to set it to a frequency which is specified in frequency table. On some

[PATCH V5 2/2] cpufreq: Make sure CPU is running on a freq from freq-table

2013-12-02 Thread Viresh Kumar
Sometimes boot loaders set CPU frequency to a value outside of frequency table present with cpufreq core. In such cases CPU might be unstable if it has to run on that frequency for long duration of time and so its better to set it to a frequency which is specified in freq-table. This also makes

RE: [f2fs-dev] [PATCH 0/2] f2fs: remove debufs dir if debugfs_create_file() failed

2013-12-02 Thread Chao Yu
Hi Liu, You're right, we should release it instead of holding the resource with no use. And here are some comments as following. BTW, your patch is out of format. You'd better not let remote terminal or editor to instead tab with blanks in the patch. Thanks, Yu > -Original Message- >

Re: [PATCH V4 1/2] cpufreq: Mark x86 drivers with CPUFREQ_SKIP_INITIAL_FREQ_CHECK flag

2013-12-02 Thread Viresh Kumar
On 3 December 2013 04:03, Rafael J. Wysocki wrote: > On Monday, December 02, 2013 07:23:01 AM Dirk Brandewie wrote: >> Sorry for late response to these threads. Holiday weekend in the US. No issues. >> NAK for intel_pstate. The code that will use this flag also uses >> has_target() >> which

[PATCH] checkpatch: More comprehensive split strings warning

2013-12-02 Thread Joe Perches
The current checkpatch test for split strings does not find several cases that should be found. For instance: diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c [] @@ -1868,7 +1865,8 @@ static void rs_rate_scale_perform(struct iwl_mvm *mvm,

Re: [PATCH 1/3] perf tools: Record total sampling time

2013-12-02 Thread Namhyung Kim
On Mon, 2 Dec 2013 17:24:59 -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 02, 2013 at 05:36:20PM +0100, Ingo Molnar escreveu: >> * Namhyung Kim wrote: >> > 2013-12-02 (월), 13:57 +0100, Ingo Molnar: >> > > So basically, in the end I think it should be possible to have the >> > > following

Re: [PATCH v6] of: add vendor prefix for GMT

2013-12-02 Thread Rob Herring
On Wed, Nov 13, 2013 at 4:59 AM, Wei Ni wrote: > Adding Global Mixed-mode Technology Inc. to the list > of devicetree vendor prefixes. > > Signed-off-by: Wei Ni > Acked-by: Stephen Warren > --- > .../devicetree/bindings/vendor-prefixes.txt|1 + > 1 file changed, 1 insertion(+)

Re: [PATCH 1/3] perf tools: Record total sampling time

2013-12-02 Thread Namhyung Kim
Hi Ingo, On Mon, 2 Dec 2013 17:36:20 +0100, Ingo Molnar wrote: > * Namhyung Kim wrote: > >> 2013-12-02 (월), 13:57 +0100, Ingo Molnar: >> > So basically, in the end I think it should be possible to have the >> > following behavior: >> > >> >perf record -a -e cycles sleep 1 >> > >> >

Re: [PATCH 3/3] usb: phy-generic: Add ULPI VBUS support

2013-12-02 Thread Chris Ruehl
On Tuesday, December 03, 2013 02:22 AM, Mark Rutland wrote: On Mon, Dec 02, 2013 at 07:05:19AM +, Chris Ruehl wrote: usb: phy-generic: Add ULPI VBUS support Some platforms need to set the VBUS parameters of the ULPI like ISP1504 which interact with overcurrent protection and power switch

Re: [PATCH] vmcore: call remap_pfn_range() separately for respective partial pages

2013-12-02 Thread HATAYAMA Daisuke
(2013/12/03 10:18), HATAYAMA Daisuke wrote: (2013/12/03 0:27), Vivek Goyal wrote: On Thu, Nov 28, 2013 at 05:48:02PM +0900, HATAYAMA Daisuke wrote: Hello Vivek, Here is a patch set for mmap failure for /proc/vmcore. Could you try to use this on the problematic system? This patch doesn't copy

Re: [PATCH] x86, efi: add efi_whitelist_table to use all efi variable storage

2013-12-02 Thread Yasuaki Ishimatsu
(2013/12/03 14:04), Matthew Garrett wrote: On Tue, Dec 03, 2013 at 01:49:04PM +0900, Yasuaki Ishimatsu wrote: What boot service is the "boot services" in these sentences? The environment prior to ExitBootServices() being called. I see. I'll check it. Thank, Yasuaki Ishimatsu -- To

[PATCH 2/2] autofs: use IS_ROOT to replace root dentry checks

2013-12-02 Thread Ian Kent
From: Rui Xiang Use the helper macro !IS_ROOT to replace parent != dentry->d_parent. Just clean up. Signed-off-by: Rui Xiang Acked-by: Ian Kent --- fs/autofs4/root.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index

Re: Re: [PATCH 1/2] perf probe: Improve error message when function not found

2013-12-02 Thread Masami Hiramatsu
(2013/12/02 23:52), David Ahern wrote: > On 12/1/13, 10:59 PM, Masami Hiramatsu wrote: >> (2013/12/02 9:07), David Ahern wrote: >>> When requesting a function from a userspace library the error message to >>> the user is less than helpful. e.g., >>> >>> perf probe -x

[PATCH 1/2] autofs: fix the return value of autofs4_fill_super

2013-12-02 Thread Ian Kent
From: Rui Xiang While kzallocing sbi/ino fails, it should return -ENOMEM. And it should return the err value from autofs_prepare_pipe. Signed-off-by: Rui Xiang Acked-by: Ian Kent --- fs/autofs4/inode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git

[PATCH 0/2] A couple of maintenance fixes for autofs

2013-12-02 Thread Ian Kent
Hi Andrew, Here are a couple of fixes for autofs. The first patch fixes a couple of potential incorrect error returns from autofs4_fill_super() so it's probably worthwhile to mege this sooner rather than later. The later is purely an improvement to using the IS_ROOT() macro. --- Rui Xiang

Re: [PATCH] x86, efi: add efi_whitelist_table to use all efi variable storage

2013-12-02 Thread Matthew Garrett
On Tue, Dec 03, 2013 at 01:49:04PM +0900, Yasuaki Ishimatsu wrote: > What boot service is the "boot services" in these sentences? The environment prior to ExitBootServices() being called. -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] x86, efi: add efi_whitelist_table to use all efi variable storage

2013-12-02 Thread Yasuaki Ishimatsu
(2013/12/03 12:45), Matthew Garrett wrote: The threshold of 5K is based on information we received from vendors. We won't be reducing it. Can you confirm that attempting to create a variable larger than the remaining space in boot services will trigger garbage collection? What boot service

Re: [PATCH 2/3] perf tools: Record sampling time for each entry

2013-12-02 Thread Namhyung Kim
Hi Arnaldo, On Mon, 2 Dec 2013 15:49:05 -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 02, 2013 at 11:57:44PM +0900, Namhyung Kim escreveu: >> 2013-12-02 (월), 09:39 -0300, Arnaldo Carvalho de Melo: >> > Em Mon, Dec 02, 2013 at 03:53:18PM +0900, Namhyung Kim escreveu: >> > > From: Namhyung

[RFC PATCH tip 3/5] Extended BPF (64-bit BPF) design document

2013-12-02 Thread Alexei Starovoitov
Signed-off-by: Alexei Starovoitov --- Documentation/bpf_jit.txt | 204 + 1 file changed, 204 insertions(+) create mode 100644 Documentation/bpf_jit.txt diff --git a/Documentation/bpf_jit.txt b/Documentation/bpf_jit.txt new file mode 100644 index

[RFC PATCH tip 2/5] Extended BPF JIT for x86-64

2013-12-02 Thread Alexei Starovoitov
Just-In-Time compiler that maps 64-bit BPF instructions to x86-64 instructions. Most BPF instructions have one to one mapping. Every BPF register maps to one x86-64 register: R0 -> rax R1 -> rdi R2 -> rsi R3 -> rdx R4 -> rcx R5 -> r8 R6 -> rbx R7 -> r13 R8 -> r14 R9 -> r15 FP -> rbp BPF calling

[RFC PATCH tip 0/5] tracing filters with BPF

2013-12-02 Thread Alexei Starovoitov
Hi All, the following set of patches adds BPF support to trace filters. Trace filters can be written in C and allow safe read-only access to any kernel data structure. Like systemtap but with safety guaranteed by kernel. The user can do: cat bpf_program > /sys/kernel/debug/tracing/.../filter if

[RFC PATCH tip 1/5] Extended BPF core framework

2013-12-02 Thread Alexei Starovoitov
Extended BPF (or 64-bit BPF) is an instruction set to create safe dynamically loadable filters that can call fixed set of kernel functions and take generic bpf_context as an input. BPF filter is a glue between kernel functions and bpf_context. Different kernel subsystems can define their own set

[RFC PATCH tip 4/5] use BPF in tracing filters

2013-12-02 Thread Alexei Starovoitov
Such filters can be written in C and allow safe read-only access to any kernel data structure. Like systemtap but with safety guaranteed by kernel. The user can do: cat bpf_program > /sys/kernel/debug/tracing/.../filter if tracing event is either static or dynamic via kprobe_events. The program

Re: Found it! (was Re: [3.10] Oopses in kmem_cache_allocate() via prepare_creds())

2013-12-02 Thread Al Viro
On Mon, Dec 02, 2013 at 06:58:57PM -0800, Linus Torvalds wrote: > In other words, it's unsafe to protect reference counts inside objects > with anything but spinlocks and/or atomic refcounts. Or you have to > have the lock *outside* the object you're protecting (which is often > what you want for

[RFC PATCH tip 5/5] tracing filter examples in BPF

2013-12-02 Thread Alexei Starovoitov
filter_ex1: filter that prints events for loobpack device only $ cat filter_ex1.bpf > /sys/kernel/debug/tracing/events/net/netif_receive_skb/filter $ echo 1 > /sys/kernel/debug/tracing/events/net/netif_receive_skb/enable $ ping -c1 localhost $ cat /sys/kernel/debug/tracing/trace_pip

Re: [PATCH 35/39] watchdog: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-02 Thread Guenter Roeck
On 12/02/2013 03:30 PM, Jingoo Han wrote: Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH RFC] timekeeping: Fix clock stability with nohz

2013-12-02 Thread John Stultz
On 12/02/2013 04:53 PM, John Stultz wrote: > On 11/20/2013 10:39 AM, Miroslav Lichvar wrote: >> On Mon, Nov 18, 2013 at 12:46:00PM -0800, John Stultz wrote: In a simulation with 1GHz TSC clock and 10Hz clock update the maximum error went down from 4.7 microseconds to 5.5 nanoseconds.

Re: [PATCH] ARM: dts: omap3-beagle: Fix USB host on beagle boards (for 3.13)

2013-12-02 Thread Laurent Pinchart
Hi Roger, On Monday 25 November 2013 15:55:45 Roger Quadros wrote: > Beagle (rev. C4) and Beagle-XM (all revs) need VAUX2 1.8V supply > for the USB PHY. > > As the generic PHY driver can't handle more than one supply > at the moment, we configure this supply to be always on. > This will cause a

Re: NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out

2013-12-02 Thread Ethan Zhao
Bjorn, Seems not the same bug as http://sourceforge.net/p/e1000/bugs/367/ , Nick is not running his kernel on bare metal, per the error log, he runs his kernel as HVM DomU guest or Dom0 on XEN ? so just a check of NULL will not fix that. Thanks, Ethan On Thu, Nov 21, 2013 at 5:22 AM, Bjorn

[PATCH v2 12/15] mfd: menelaus: Switch all children to threaded_irq

2013-12-02 Thread Felipe Balbi
now that we have our own irq_chip, all children can use traditional request_threaded_irq(). While at that, also remove so functions which became unused. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 161 +++-- 1 file changed, 50

[PATCH v2 01/15] mfd: menelaus: Drop __exit section annotation

2013-12-02 Thread Felipe Balbi
we could build that as a driver. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index ad25bfa..975ff9e 100644 --- a/drivers/mfd/menelaus.c +++ b/drivers/mfd/menelaus.c

[PATCH v2 09/15] mfd: menelaus: Pass menelaus_chip pointer to get/set voltage

2013-12-02 Thread Felipe Balbi
those functions are static and can easily receive a menelaus_chip pointer argument. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 50 +++--- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/drivers/mfd/menelaus.c

[PATCH v2 08/15] mfd: menelaus: Pass menelaus_chip pointer to add/remove irq functions

2013-12-02 Thread Felipe Balbi
those functions are static and can receive a menelaus_chip pointer very easily. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 57 ++ 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/drivers/mfd/menelaus.c

[PATCH v2 07/15] mfd: menelaus: Limit the usage of the_menelaus

2013-12-02 Thread Felipe Balbi
pass a menelaus_chip pointer as argument to most functions so we can minimize the usage of the global the_menelaus pointer. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 265 ++--- 1 file changed, 142 insertions(+), 123 deletions(-) diff

[PATCH v2 05/15] mfd: menelaus: Use for_each_set_bit()

2013-12-02 Thread Felipe Balbi
that macro just helps removing some extra line of code and hides ffs() calls. while at that, also fix a variable shadowing bug where 'int irq' was being redeclared inside inner loop while it was also argument to interrupt handler. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 16

[PATCH v2 02/15] mfd: menelaus: Switch over to module_i2c_driver

2013-12-02 Thread Felipe Balbi
just a macro to remove some boilerplate code, no functional changes. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index 975ff9e..8bd97ca 100644

[PATCH v2 13/15] mfd: menelaus: Remove unnecessary definition

2013-12-02 Thread Felipe Balbi
menelaus_i2c_driver isn't referenced on probe, just remove that unnecessary line. No functional changes. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index 74eae19..c0219b7 100644 ---

[PATCH v2 03/15] mfd: menelaus: Convert to threaded irq

2013-12-02 Thread Felipe Balbi
we don't need that extra workqueue when we have generic threaded irq handlers support. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 29 - 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index

[PATCH v2 10/15] mfd: menelaus: Pass menelaus_chip argument to menelaus <-> time helpers

2013-12-02 Thread Felipe Balbi
time_to_menelaus() and menelaus_to_time() are static and can easily receive a struct menelaus_chip pointer argument. After this patch, the_menelaus is only used on exported functions which are currently being used by board-n8x0.c. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 17

RE: [PATCH] x86, efi: add efi_whitelist_table to use all efi variable storage

2013-12-02 Thread Matthew Garrett
The threshold of 5K is based on information we received from vendors. We won't be reducing it. Can you confirm that attempting to create a variable larger than the remaining space in boot services will trigger garbage collection?-- To unsubscribe from this list: send the line "unsubscribe

[PATCH v2 14/15] mfd: menelaus: IRQ is a requirement

2013-12-02 Thread Felipe Balbi
this driver needs IRQ to work, if client->irq isn't set properly, we won't work. Remove check around request_threaded_irq(). Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/mfd/menelaus.c

[PATCH v2 04/15] mfd: menelaus: Remove unnecessary loop

2013-12-02 Thread Felipe Balbi
we can let irqs refire and give the scheduler a chance to choose when we should be scheduled. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 43 +++ 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/drivers/mfd/menelaus.c

[PATCH v2 15/15] mfd: menelaus: Use devm_request_threaded_irq()

2013-12-02 Thread Felipe Balbi
by using devm_request_threaded_irq() we can drop a few extra lines of code and rely on device managed resources layer to free our IRQ for us. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git

[PATCH v2 11/15] mfd: menelaus: Start to use irqdomain

2013-12-02 Thread Felipe Balbi
introduce an irq_chip and irq_domain for menelaus driver. Following patches will convert uses to traditional request_threaded_irq(). while at that, some better error handling had to be added, so we could free irq descs we allocated. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 127

[PATCH v2 06/15] mfd: menelaus: Pass menelaus pointer as argument to enable/disable irq

2013-12-02 Thread Felipe Balbi
we want to, eventually, get rid of the global the_menelaus pointer, so let's start passing menelaus as argument to some function calls and slowly phase out the_menelaus global pointer. Signed-off-by: Felipe Balbi --- drivers/mfd/menelaus.c | 48

Re: [PATCH] PCI: export MSI mode using attributes, not kobjects

2013-12-02 Thread Greg KH
On Mon, Dec 02, 2013 at 06:24:06PM -0700, Bjorn Helgaas wrote: > On Fri, Nov 29, 2013 at 10:53 AM, Greg KH wrote: > > On Fri, Nov 29, 2013 at 10:41:37AM +0100, Veaceslav Falico wrote: > >> On Wed, Nov 27, 2013 at 10:46:52AM -0800, Greg Kroah-Hartman wrote: > >> >From: Greg Kroah-Hartman > >> > >

[PATCH] PCI: update MSI attribute file documentation

2013-12-02 Thread Greg KH
From: Greg Kroah-Hartman Now that the MSI modes are now attribute files in sysfs, not subdirectories, update the documentation to reflect this. Signed-off-by: Greg Kroah-Hartman diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index

[PATCH] gpio: rewrite gpiochip_offset_to_desc()

2013-12-02 Thread Alexandre Courbot
gpiochip_offset_to_desc() was using gpio_to_desc(), which directly addresses the global GPIO array we are hoping to get rid of someday. Reimplement it using the descriptor array of the chip itself, after checking the requested offset is within the valid bounds of the chip. Signed-off-by:

Re: [PATCH tty-next 0/4] tty: Fix ^C echo

2013-12-02 Thread Peter Hurley
On 12/02/2013 07:01 PM, One Thousand Gnomes wrote: I cc'd you because of your recent involvement in other tty patches/bug fixes and because it's your FIXME comment. Feel free to ignore and/or let me know you would prefer not to be bothered. It does seem horribly convoluted and likely to dig

Re: [PATCH] x86, efi: add efi_whitelist_table to use all efi variable storage

2013-12-02 Thread Yasuaki Ishimatsu
(2013/11/23 2:47), Matthew Garrett wrote: On Fri, 2013-11-22 at 15:29 +0900, Yasuaki Ishimatsu wrote: + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), + DMI_MATCH(DMI_PRODUCT_NAME, "PRIMEQUEST"), Can we guarantee that no Primequests have this issue? Can we

[PATCH v3] gpio: better lookup method for platform GPIOs

2013-12-02 Thread Alexandre Courbot
Change the format of the platform GPIO lookup tables to make them less confusing and improve lookup efficiency. The previous format was a single linked-list that required to compare the device name and function ID of every single GPIO defined for each lookup. Switch that to a list of per-device

Re: [PATCH v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-02 Thread Bo Shen
Hi Thierry, On 12/02/2013 06:59 PM, Thierry Reding wrote: On Mon, Nov 18, 2013 at 05:13:21PM +0800, Bo Shen wrote: [...] diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c [...] +/* Max value for duty and period Block comments should be of this form: /* * Max

linux-next: Tree for Dec 3

2013-12-02 Thread Stephen Rothwell
Hi all, Changes since 20131202: The wireless-next tree gained conflicts against the wireless tree. The sound-asoc tree gained a conflict against the slave-dma tree. The akpm-current tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 2063 2264 files

Re: [PATCH] sysfs: add necessary Null check in sysfs_do_create_link_sd

2013-12-02 Thread Rui Xiang
On 2013/12/3 10:47, Greg Kroah-Hartman wrote: > On Tue, Dec 03, 2013 at 09:38:47AM +0800, Rui Xiang wrote: >> While target_sd or sd are null, it won't need sysfs_put and >> should return -ENOENT directly. Here add null check for >> target_sd and sd. >> >> Signed-off-by: Rui Xiang >> --- >>

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-02 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at

Re: [PATCH 3.12 000/212] 3.12.3-stable review

2013-12-02 Thread Greg Kroah-Hartman
On Mon, Dec 02, 2013 at 06:46:29PM -0800, Guenter Roeck wrote: > On Mon, Dec 02, 2013 at 11:13:11AM -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.12.3 release. > > There are 212 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 3.4 00/60] 3.4.72-stable review

2013-12-02 Thread Greg Kroah-Hartman
On Mon, Dec 02, 2013 at 06:50:45PM -0800, Guenter Roeck wrote: > On 12/02/2013 11:05 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.72 release. > > There are 60 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: make oldnoconfig fix?

2013-12-02 Thread Rob Landley
On 11/11/2013 12:55:37 PM, David Cohen wrote: On 11/11/2013 10:13 AM, Yann E. MORIN wrote: David, All, Hi Yann, On 2013-11-11 10:11 -0800, David Cohen spake thusly: Is there a plan to fix 'make oldnoconfig' option? I currently have need to it :) I've tracked a thread fixing 'make

Re: Found it! (was Re: [3.10] Oopses in kmem_cache_allocate() via prepare_creds())

2013-12-02 Thread Linus Torvalds
Once more on this issue, because I've been unable to stop thinking about it, and noticed that it's actually even subtler than I thought initially. On Mon, Dec 2, 2013 at 8:00 AM, Linus Torvalds wrote: > > All our reference counting etc seems right, but we have one very > subtle bug: on the

Re: [BUG] perf stat: explicit grouping yields unexpected results

2013-12-02 Thread Stephane Eranian
On Mon, Dec 2, 2013 at 4:23 PM, Andi Kleen wrote: >> Something like below? user space supply buffer for error string. > > That would work, although I was thinking of making it a more > generic mechanism (store it into task_struct, have a extra > syscall to retrieve) > I don't understand why this

Re: [PATCH 3.4 00/60] 3.4.72-stable review

2013-12-02 Thread Guenter Roeck
On 12/02/2013 11:05 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.72 release. There are 60 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3/3] usb: phy-generic: Add ULPI VBUS support

2013-12-02 Thread Chris Ruehl
On Tuesday, December 03, 2013 02:22 AM, Mark Rutland wrote: On Mon, Dec 02, 2013 at 07:05:19AM +, Chris Ruehl wrote: usb: phy-generic: Add ULPI VBUS support Some platforms need to set the VBUS parameters of the ULPI like ISP1504 which interact with overcurrent protection and power switch

Re: [PATCH 3.12 000/212] 3.12.3-stable review

2013-12-02 Thread Guenter Roeck
On Mon, Dec 02, 2013 at 11:13:11AM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.12.3 release. > There are 212 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 7/10] ACPI / hotplug: Move container-specific code out of the core

2013-12-02 Thread Yasuaki Ishimatsu
(2013/11/29 22:08), Rafael J. Wysocki wrote: On Friday, November 29, 2013 11:36:55 AM Yasuaki Ishimatsu wrote: Hi Rafael, Hi, Replying to this mail may be wrong. OK, so this particular patch doesn't break things any more? Yes. Do you remember following your patch?

Re: [PATCH] sysfs: add necessary Null check in sysfs_do_create_link_sd

2013-12-02 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 09:38:47AM +0800, Rui Xiang wrote: > While target_sd or sd are null, it won't need sysfs_put and > should return -ENOENT directly. Here add null check for > target_sd and sd. > > Signed-off-by: Rui Xiang > --- > fs/sysfs/symlink.c | 6 -- > 1 file changed, 4

Re: [PATCH 20/39] net: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-02 Thread Jingoo Han
On Tuesday, December 03, 2013 11:37 AM, Stephen Hemminger wrote: > On Tue, 03 Dec 2013 08:19:25 +0900 > Jingoo Han wrote: > > > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro > > is not preferred. > > > > Signed-off-by: Jingoo Han > > Perhaps a little more explanation why it is

Re: [PATCH 10/39] hwmon: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-02 Thread Guenter Roeck
On 12/02/2013 03:10 PM, Jingoo Han wrote: Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han Applied to hwmon-next Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] x86: mcheck: call put_device on device_register failure

2013-12-02 Thread Chen, Gong
On Sat, Nov 30, 2013 at 12:12:14PM +0100, Borislav Petkov wrote: > Date: Sat, 30 Nov 2013 12:12:14 +0100 > From: Borislav Petkov > To: Levente Kurusa > Cc: Ingo Molnar , Thomas Gleixner , > Tony Luck , "H. Peter Anvin" , > x...@kernel.org, EDAC , LKML > > Subject: Re: [PATCH] x86: mcheck:

Re: [PATCH] blackfin: Kill CONFIG_MTD_PARTITIONS

2013-12-02 Thread Steven Miao
Applied. Thanks! On Wed, Nov 27, 2013 at 9:21 AM, Eunbong Song wrote: > > This patch removes CONFIG_MTD_PARTITIONS in config files for blackfin. > Because CONFIG_MTD_PARTITIONS was removed by commit > 6a8a98b22b10f1560d5f90aded4a54234b9b2724. > > > Signed-off-by: Eunbong Song > --- >

Re: [PATCH 20/39] net: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-02 Thread Stephen Hemminger
On Tue, 03 Dec 2013 08:19:25 +0900 Jingoo Han wrote: > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro > is not preferred. > > Signed-off-by: Jingoo Han Perhaps a little more explanation why it is not preferred. Not everyone tracks LKML or the PCI list. -- To unsubscribe from this

  1   2   3   4   5   6   7   8   9   10   >