Re: [alsa-devel] [PATCH 2/4] ASoC: simple-card: dynamically allocate the DAI link array

2014-02-25 Thread Jean-Francois Moine
On Mon, 24 Feb 2014 03:32:02 + li.xi...@freescale.com li.xi...@freescale.com wrote: @@ -20,7 +20,6 @@ struct simple_card_data { unsigned int daifmt; struct asoc_simple_dai cpu_dai; struct asoc_simple_dai codec_dai; - struct snd_soc_dai_link snd_link; };

Re: 3.13 i915 brightness settings broken when going from docked - undocked

2014-02-25 Thread Jani Nikula
On Thu, 20 Feb 2014, Paul Bolle pebo...@tiscali.nl wrote: On an (rather old) ThinkPad X41, which also uses i915, brightness adjustments stopped working altogether in v3.14-rc1 (I haven't used its docking station in the v3.14 release cycle). In v3.13.y things behave as expected. So perhaps

Re: [PATCH V5 0/4] ARM: shmobile: koelsch: Add USB support

2014-02-25 Thread Magnus Damm
On Mon, Feb 24, 2014 at 6:30 PM, vladimir.bari...@cogentembedded.com wrote: From: Valentine Barshak valentine.bars...@cogentembedded.com These patch series add the USBHS and PCI USB support to Koelsch board Changes in V5: * changed From filed to original author * removed commits

[PATCH V3 1/5] idle/cpuidle: Split cpuidle_idle_call main function into smaller functions

2014-02-25 Thread Daniel Lezcano
In order to allow better integration between the cpuidle framework and the scheduler, reducing the distance between these two sub-components will facilitate this integration by moving part of the cpuidle code in the idle task file and, because idle.c is in the sched directory, we have access to

[PATCH V3 4/5] idle: Move idle conditions in cpuidle_idle main function

2014-02-25 Thread Daniel Lezcano
This patch moves the condition before entering idle into the cpuidle main function located in idle.c. That simplify the idle mainloop functions and increase the readibility of the conditions to enter truly idle. This patch is code reorganization and does not change the behavior of the function.

[PATCH V3 2/5] cpuidle/idle: Move the cpuidle_idle_call function to idle.c

2014-02-25 Thread Daniel Lezcano
The cpuidle_idle_call does nothing more than calling the three individuals function and is no longer used by any arch specific code but only in the cpuidle framework code. We can move this function into the idle task code to ensure better proximity to the scheduler code. Signed-off-by: Daniel

[PATCH V3 3/5] idle: Reorganize the idle loop

2014-02-25 Thread Daniel Lezcano
Now that we have the main cpuidle function in idle.c, move some code from the idle mainloop to this function for the sake of clarity. That removes if then else indentation difficult to follow when looking at the code. This patch does not change the current behavior. Signed-off-by: Daniel Lezcano

[PATCH V3 5/5] idle: Add more comments to the code

2014-02-25 Thread Daniel Lezcano
The idle main function is a complex and a critical function. Added more comments to the code. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Nicolas Pitre n...@linaro.org --- Changelog: V2: * fixed typo in comment --- kernel/sched/idle.c | 43

[PATCH] Staging: comedi: addi-data: clean-up variable use in hwdrv_apci035.c

2014-02-25 Thread Chase Southwood
The static variable ui_Command is as of right now being cleared to a value of zero between everytime that it writes to a port and then takes a new value from a port. Seems like this zeroing is unnecessary, so we can just remove these lines. Signed-off-by: Chase Southwood

Re: [PATCH 1/2] hwmon: (lm90) split setshow temp as common codes

2014-02-25 Thread Wei Ni
On 02/25/2014 02:32 PM, Guenter Roeck wrote: On 02/24/2014 10:21 PM, Wei Ni wrote: Split setshow temp codes as common functions, so we can use it directly when implement linux thermal framework. And handle error return value for the lm90_select_remote_channel and write_tempx, then set_temp8

Re: [PATCH 1/2] clk: ti: am335x: remove unecessary cpu0 clk node

2014-02-25 Thread Mike Turquette
Quoting Nishanth Menon (2014-01-29 10:19:16) cpu0 clock node has no functionality, since cpufreq-cpu0 is already capable of picking up the clock from dts. Signed-off-by: Nishanth Menon n...@ti.com Taken into clk-next! Regards, Mike --- drivers/clk/ti/clk-33xx.c |1 - 1 file

Re: [PATCH v2] xen-pciback: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-25 Thread Alexander Gordeev
On Mon, Feb 24, 2014 at 02:18:31PM -0500, Konrad Rzeszutek Wilk wrote: On Fri, Feb 21, 2014 at 05:53:40PM +0100, Alexander Gordeev wrote: As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be

Re: 3.13 i915 brightness settings broken when going from docked - undocked

2014-02-25 Thread Jani Nikula
On Sun, 23 Feb 2014, Josh Boyer jwbo...@fedoraproject.org wrote: On Thu, Feb 20, 2014 at 07:31:41PM -0500, Josh Boyer wrote: On Wed, Feb 19, 2014 at 9:20 PM, Josh Boyer jwbo...@fedoraproject.org wrote: Hi All, We've had a rather weird report[1] of the brightness adjustments being broken in a

Re: [PATCH v2 00/23] scsi: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-25 Thread Alexander Gordeev
On Mon, Feb 24, 2014 at 09:02:00AM +0100, Alexander Gordeev wrote: This series is against James Bottomley's SCSI tree [1], but it needs commit f7fc32c (PCI/MSI: Add pci_enable_msi_exact() and pci_enable_msix_exact()) from from Bjorn Helgaas's PCI tree [2]: The prerequisite commit 3ce4e86 is in

Re: [RFC patch 5/5] timerfd: Expose deferrable mode to user space

2014-02-25 Thread Richard Cochran
On Fri, Feb 21, 2014 at 05:56:18PM -, Thomas Gleixner wrote: Expose the deferrable timer mode to user space by adding a new TDF_TIMER_DEFERRABLE flag. The deferrable mode is available through the syscall timerfd_settime() by handing in TDF_TIMER_IS_DEFERRABLE via the 'flags' argument.

Re: [PATCH v8 06/14] CLK: TI: OMAP3: Get rid of unused USB Host dummy clocks

2014-02-25 Thread Mike Turquette
Quoting Roger Quadros (2014-02-20 03:40:01) The OMAP USB Host MFD driver no longer expects these non-existing clocks from the OMAP3 platform, so get rid of them. Looks good to me. Regards, Mike CC: Tero Kristo t-kri...@ti.com CC: Mike Turquette mturque...@linaro.org Signed-off-by: Roger

[PATCH 1/1] regulator: mc13xxx: check if DT is enabled

2014-02-25 Thread Philippe Rétornaz
This fix a regression on non-DT board booted with a DT enabled kernel Signed-off-by: Philippe Rétornaz philippe.retor...@epfl.ch --- drivers/regulator/mc13xxx-regulator-core.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/regulator/mc13xxx-regulator-core.c

[PATCH 2/3] cpufreq: Initialize policy before making it available for others to use

2014-02-25 Thread Viresh Kumar
Policy must be fully initialized before it is being made available for use by others. This patch moves some initialization code before making policy available for others. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq.c | 28 ++-- 1 file

[PATCH 3/3] cpufreq: initialize governor for a new policy under policy-rwsem

2014-02-25 Thread Viresh Kumar
policy-rwsem is used to lock access to all parts of code modifying struct cpufreq_policy but wasn't used on a new policy created from __cpufreq_add_dev(). Because of which if we call cpufreq_update_policy() repeatedly on one CPU and do offline/online of another CPU then we might see these

[PATCH 1/3] cpufreq: move call to __find_governor() to cpufreq_init_policy()

2014-02-25 Thread Viresh Kumar
We call __find_governor() during addition of first CPU of every policy to find the last governor used for this CPU before it was hotplugged-out. After that we call cpufreq_parse_governor() in cpufreq_init_policy() either with this governor or default governor. And right after that policy-governor

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-25 Thread Viresh Kumar
On 25 February 2014 01:53, Saravana Kannan skan...@codeaurora.org wrote: I was simplifying the scenario that causes it. We change the min/max using ADJUST notifiers for multiple reasons -- thermal being one of them. thermal/cpu_cooling is one example of it. Just to understand the clear

Re: [PATCH v8 03/14] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-02-25 Thread Lee Jones
Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 12 ++-- 1 file changed, 6 insertions(+), 6

Re: [cgroup/task_lock] INFO: suspicious RCU usage.

2014-02-25 Thread Li Zefan
On 2014/2/21 23:40, Tejun Heo wrote: Hello, On Fri, Feb 21, 2014 at 10:16:22AM +0800, Fengguang Wu wrote: commit fb47fea7a59cf3d6387c566084a6684b5005af83 Author: Tejun Heo t...@kernel.org AuthorDate: Thu Feb 13 15:16:35 2014 -0500 Commit: Tejun Heo t...@kernel.org CommitDate: Thu

Re: [PATCH 1/2] pinctrl: sh-pfc: r8a7790: Add alternative MSIOF pin groups

2014-02-25 Thread Linus Walleij
On Thu, Feb 20, 2014 at 8:53 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org Signed-off-by: Geert Uytterhoeven geert+rene...@linux-m68k.org Laurent, can I have your ACK/review on Geert's patches? Yours, Linus Walleij -- To unsubscribe

Re: [PATCH V1 1/3] include/linux/mfd/da9052/da9052: Add new BC chip

2014-02-25 Thread Lee Jones
Add the hash define for the new variant of the DA9053 PMIC called BC. Signed-off-by: Anthony Olech anthony.olech.opensou...@diasemi.com --- This patch is relative to linux-next repository tag next-20140219 This patch must be applied before the others in this patch series or the drivers

Re: [PATCH] net/usb: Add Lenovo ThinkPad OneLink GigaLAN USB ID to ax88179 driver

2014-02-25 Thread Bjørn Mork
Keith Packard kei...@keithp.com writes: Kyle McMartin says: lenovo_info, surely. Yeah, Daniel Stone caught the same bug. Not a big deal; the only difference between any of these elements is the string produced by the kernel. Yes, and that mess should really be cleaned up in this driver

Re: [PATCH 1/2] hwmon: (lm90) split setshow temp as common codes

2014-02-25 Thread Guenter Roeck
On 02/25/2014 12:21 AM, Wei Ni wrote: On 02/25/2014 02:32 PM, Guenter Roeck wrote: On 02/24/2014 10:21 PM, Wei Ni wrote: Split setshow temp codes as common functions, so we can use it directly when implement linux thermal framework. And handle error return value for the

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-25 Thread Heiko Carstens
On Mon, Feb 24, 2014 at 05:04:57PM -0500, Tom Rini wrote: On 02/24/2014 05:02 PM, Joe Perches wrote: On Mon, 2014-02-24 at 16:52 -0500, Tom Rini wrote: I've been lead to believe that most cases now people should be using regmap instead, which just leaves the case of having to match

Re: [PATCH V1 2/3] MFD: da9052: Add new DA9053 BC chip variant

2014-02-25 Thread Lee Jones
Add support for a new BC variant of the DA9053 PMIC. There is one difference between it and the AA, BA and BB. This patch also corrects a typing mistake in one of the BA name strings that was incorrectly typed as ab. Signed-off-by: Anthony Olech anthony.olech.opensou...@diasemi.com ---

Re: [PATCHSET v2 cgroup/for-3.15] cgroup: update task migration path

2014-02-25 Thread Li Zefan
On 2014/2/14 4:28, Tejun Heo wrote: Hello, This is v2 of update-task-migration-path patchset. Changes from v1[L] are * Rebased on top of [PATCH cgroup/for-3.14-fixes] cgroup: update cgroup_enable_task_cg_lists() to grab siglock *

[PATCH V2] cpufreq: Return error if -get() failed in cpufreq_update_policy()

2014-02-25 Thread Viresh Kumar
cpufreq_update_policy() calls cpufreq_driver-get() to get current frequency of a CPU and it is not supposed to fail or return zero. Return error in case that happens. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- V1-V2: - Fixed return error to EIO instead of EINVAL - Added WARN_ON() to

Do you need any Loan Low As 0.5% Apply. Email us @ { bridgefinanc...@qq.com }

2014-02-25 Thread Bridge Financial Group
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v8 03/14] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-02-25 Thread Roger Quadros
Hi, On 02/25/2014 10:52 AM, Lee Jones wrote: Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 12

Re: [RFC PATCH v1 1/2] perf/sdt : Listing of SDT markers by perf

2014-02-25 Thread Hemant Kumar
On 02/25/2014 12:26 PM, Namhyung Kim wrote: Hi Hemant, On Mon, 24 Feb 2014 14:45:43 +0530, Hemant Kumar wrote: This patch enables perf to list the SDT markers present in a system. It looks in dsos given by ldconfig --print-cache and for other binaries, it looks into the PATH environment

RE: sisusb: Use static const, fix typo

2014-02-25 Thread David Laight
From: Joe Perches [ On Mon, 2014-02-24 at 10:26 +, David Laight wrote: From: Joe Perches Reduce text a bit by using static const. If you want to save a few bytes remove the pointers. (and the fixed RAM text to get below 7 chars). Hi David. eg: - const char

Re: [PATCH 2/4] net: rfkill: gpio: remove gpio names

2014-02-25 Thread Linus Walleij
On Fri, Feb 21, 2014 at 6:35 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/20/2014 06:55 PM, Chen-Yu Tsai wrote: That's correct. However using con_id to pass this results in different behavior across DT and ACPI. A better way is to export the labeling function so consumers can set

Re: [PATCH 1/1] regulator: mc13xxx: check if DT is enabled

2014-02-25 Thread Sachin Kamat
On 25 February 2014 14:17, Philippe Rétornaz philippe.retor...@epfl.ch wrote: This fix a regression on non-DT board booted with a DT enabled kernel Signed-off-by: Philippe Rétornaz philippe.retor...@epfl.ch --- drivers/regulator/mc13xxx-regulator-core.c |6 ++ 1 file changed, 6

Re: [PATCH] [RFC] time: Improve negative offset handling in timekeeping_inject_offset

2014-02-25 Thread Richard Cochran
On Fri, Feb 21, 2014 at 11:54:35PM +0100, Thomas Gleixner wrote: To be honest, it's not the prettiest thing, but timespec is not pretty to begin with. yes... Sure our normalize function can cope with that, but where is the point? and yes... Now if we allow that we also need to allow

[PATCH v2 0/1] arm64: make a single hook to syscall_trace() for all syscall features

2014-02-25 Thread AKASHI Takahiro
This patch makes it easy to add syscall related hooks, including ftrace, audit and seccomp, in syscall_trace() later. Those features will be implemented in separate patchsets, but it's safe to check for all TIF_* now because they can not be turned on anyway. Changes v1 - v2: * added a guard

[PATCH v2 1/1] arm64: make a single hook to syscall_trace() for all syscall features

2014-02-25 Thread AKASHI Takahiro
Currently syscall_trace() is called only for ptrace. With additional TIF_xx flags defined, it is now called in all the cases of audit, ftrace and seccomp in addition to ptrace. Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org Acked-by: Richard Guy Briggs r...@redhat.com ---

RE: [PATCH] net/usb: Add Lenovo ThinkPad OneLink GigaLAN USB ID to ax88179 driver

2014-02-25 Thread David Laight
From: Keith Packard The Lenovo OneLink dock includes a USB ethernet adapter using the AX88179 chip, but with a different USB ID. Add this new USB id to the driver so that it will autodetect the adapter correctly. Signed-off-by: Keith Packard kei...@keithp.com Tested-by: Carl Worth

Re: [PATCH v2 0/6] ARM: STi reset controller support

2014-02-25 Thread srinivas kandagatla
On 24/02/14 15:16, Philipp Zabel wrote: Hi Srinivas, Am Montag, den 24.02.2014, 14:03 + schrieb srinivas kandagatla: Thanks Philipp for your comments, On 24/02/14 10:33, Philipp Zabel wrote: Did Srini's explanations convinced you? If so, could you queue the series for v3.15? to be

[PATCH v2 0/1] audit: Add CONFIG_HAVE_ARCH_AUDITSYSCALL

2014-02-25 Thread AKASHI Takahiro
Currently AUDITSYSCALL has a long list of architecture depencency: depends on AUDIT (X86 || PARISC || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM AEABI !OABI_COMPAT) || ALPHA) The purpose of this patch is to replace it with HAVE_ARCH_AUDITSYSCALL for

[PATCH v2 1/1] audit: Add CONFIG_HAVE_ARCH_AUDITSYSCALL

2014-02-25 Thread AKASHI Takahiro
Currently AUDITSYSCALL has a long list of architecture depencency: depends on AUDIT (X86 || PARISC || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM AEABI !OABI_COMPAT) || ALPHA) The purpose of this patch is to replace it with HAVE_ARCH_AUDITSYSCALL for

Re: [PATCH v8 03/14] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-02-25 Thread Lee Jones
Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 12 ++-- 1 file changed, 6

[PATCH v5 0/3] arm64: Add audit support

2014-02-25 Thread AKASHI Takahiro
This patchset adds system call audit support on arm64. Both 32-bit (AUDIT_ARCH_ARM) and 64-bit tasks (AUDIT_ARCH_AARCH64) are supported. Since arm64 has the exact same set of system calls on LE and BE, we don't care about endianness (or more specifically __AUDIT_ARCH_64BIT bit in AUDIT_ARCH_*).

[PATCH v5 1/3] arm64: Add regs_return_value() in syscall.h

2014-02-25 Thread AKASHI Takahiro
This macro, regs_return_value, is used mainly for audit to record system call's results, but may also be used in test_kprobes.c. Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org Acked-by Will Deacon will.dea...@arm.com Acked-by: Richard Guy Briggs r...@redhat.com ---

[PATCH v5 2/3] arm64: Add audit support

2014-02-25 Thread AKASHI Takahiro
On AArch64, audit is supported through generic lib/audit.c and compat_audit.c, and so this patch adds arch specific definitions required. Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org Acked-by Will Deacon will.dea...@arm.com Acked-by: Richard Guy Briggs r...@redhat.com ---

[PATCH v5 3/3] arm64: audit: Add audit hook in ptrace/syscall_trace

2014-02-25 Thread AKASHI Takahiro
This patch adds auditing functions on entry to or exit from every system call invocation. Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org Acked-by: Richard Guy Briggs r...@redhat.com --- arch/arm64/kernel/ptrace.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH v2 1/3] asm-generic: Add generic seccomp.h for secure computing mode 1

2014-02-25 Thread AKASHI Takahiro
Those values (__NR_seccomp_*) are used solely in secure_computing() to identify mode 1 system calls. If compat system calls have different syscall numbers, asm/seccomp.h may override them. Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org --- include/asm-generic/seccomp.h | 28

[PATCH v2 0/3] arm64: Add seccomp support

2014-02-25 Thread AKASHI Takahiro
This patch enables secure computing (system call filtering) on arm64. System calls can be allowed or denied by loaded bpf-style rules. Architecture specific part is to run secure_computing() on syscall entry and check the result. See [2/3] Prerequisites are: * arm64: Add audit support patch *

[PATCH v2 2/3] arm64: Add seccomp support

2014-02-25 Thread AKASHI Takahiro
secure_computing() should always be called first in syscall_trace(), and if it returns non-zero, we should stop further handling. Then that system call may eventually fail, be trapped or the process itself be killed depending on loaded rules. Signed-off-by: AKASHI Takahiro

[PATCH v2 3/3] arm64: is_compat_task is defined both in asm/compat.h and linux/compat.h

2014-02-25 Thread AKASHI Takahiro
kernel/seccomp.c includes linux/compat.h and, indicrectly, asm/compat.h via asm/syscall.h. Due to the duplicated definitions of is_compat_task, compiling this file will fail in the case of !CONFIG_COMPAT. So this patch 1) removes is_compat_task() definition from asm/compat.h 2) replaces

Re: [PATCH 1/2] hwmon: (lm90) split setshow temp as common codes

2014-02-25 Thread Wei Ni
On 02/25/2014 04:57 PM, Guenter Roeck wrote: On 02/25/2014 12:21 AM, Wei Ni wrote: On 02/25/2014 02:32 PM, Guenter Roeck wrote: On 02/24/2014 10:21 PM, Wei Ni wrote: Split setshow temp codes as common functions, so we can use it directly when implement linux thermal framework. And handle

Re: [PATCH 01/11] ARM: shmobile: r8a7791 dtsi: Fix typo in msiof2 clock output name

2014-02-25 Thread Linus Walleij
On Thu, Feb 20, 2014 at 3:49 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org Introduced in commit cded80f869aef94853e056ab9c21e305b0c26138 (ARM: shmobile: r8a7791: Add MSIOF clocks in device tree). Signed-off-by: Geert Uytterhoeven

[PATCH v4 2/7] arm64: ftrace: Add dynamic ftrace support

2014-02-25 Thread AKASHI Takahiro
This patch allows dynamic ftrace if CONFIG_DYNAMIC_FTRACE is enabled. Here we can turn on and off tracing dynamically per-function base. On arm64, this is done by patching single branch instruction to _mcount() inserted by gcc -pg option. The branch is replaced to NOP initially at kernel start

[PATCH v4 5/7] arm64: ftrace: Add system call tracepoint

2014-02-25 Thread AKASHI Takahiro
This patch allows system call entry or exit to be traced as ftrace events, ie. sys_enter_*/sys_exit_*, if CONFIG_FTRACE_SYSCALLS is enabled. Those events appear and can be controlled under ${sysfs}/tracing/events/syscalls/ Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org ---

[PATCH v4 3/7] arm64: ftrace: Add CALLER_ADDRx macros

2014-02-25 Thread AKASHI Takahiro
CALLER_ADDRx returns caller's address at specified level in call stacks. They are used for several tracers like irqsoff and preemptoff. Strange to say, however, they are refered even without FTRACE. Please note that this implementation assumes that we have frame pointers. (which means kernel

[PATCH v4 4/7] ftrace: Add arm64 support to recordmcount

2014-02-25 Thread AKASHI Takahiro
Recordmcount utility under scripts is run, after compiling each object, to find out all the locations of calling _mcount() and put them into specific seciton named __mcount_loc. Then linker collects all such information into a table in the kernel image (between __start_mcount_loc and

[PATCH v4 7/7] arm64: add __ASSEMBLY__ in asm/insn.h

2014-02-25 Thread AKASHI Takahiro
Since insn.h is indirectly included in asm/entry-ftrace.S, we need to exclude some declarations by __ASSEMBLY__. Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org --- arch/arm64/include/asm/insn.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/insn.h

[PATCH v4 6/7] arm64: Add 'notrace' attribute to unwind_frame() for ftrace

2014-02-25 Thread AKASHI Takahiro
walk_stackframe() calls unwind_frame(), and if walk_stackframe() is notrace, unwind_frame() should be also notrace. Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org --- arch/arm64/kernel/stacktrace.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v8 03/14] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-02-25 Thread Roger Quadros
On 02/25/2014 11:18 AM, Lee Jones wrote: Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 12

Re: [PATCH 3.5 11/60] pinctrl: do not init debugfs entries for unimplemented functionalities

2014-02-25 Thread Linus Walleij
On Fri, Feb 21, 2014 at 2:00 PM, Luis Henriques luis.henriq...@canonical.com wrote: 3.5.7.31 -stable review patch. If anyone has any objections, please let me know. This was NACKed as stable patch by Greg so drop it if not too late. Yours, Linus Walleij -- To unsubscribe from this list:

[PATCH v4 0/7] arm64: Add ftrace support

2014-02-25 Thread AKASHI Takahiro
This patchset implements a function tracer on arm64. There was another implementation from Cavium network, but both of us agreed to use my patchset as future base. He is supposed to review this code, too. The only issue that I had some concern on was fault protection code in

[PATCH v4 1/7] arm64: Add ftrace support

2014-02-25 Thread AKASHI Takahiro
This patch implements arm64 specific part to support function tracers, such as function (CONFIG_FUNCTION_TRACER), function_graph (CONFIG_FUNCTION_GRAPH_TRACER) and function profiler (CONFIG_FUNCTION_PROFILER). With 'function' tracer, all the functions in the kernel are traced with timestamps in

Re: [PATCH v8 06/14] CLK: TI: OMAP3: Get rid of unused USB Host dummy clocks

2014-02-25 Thread Roger Quadros
Hi Mike, On 02/25/2014 10:43 AM, Mike Turquette wrote: Quoting Roger Quadros (2014-02-20 03:40:01) The OMAP USB Host MFD driver no longer expects these non-existing clocks from the OMAP3 platform, so get rid of them. Looks good to me. Is it OK if I squash this patch with [1] and take it

[PATCH 0/12] Detaching mounts on unlink (for 3.15 v2)

2014-02-25 Thread Eric W. Biederman
After an interesting set of review comments this patchset is back with very modest changes. I spent quite a bit of timing trying to see if I could understand and possibly reproduce the poor issues reported by Fengguang Wu. Ultimately I wound up running dbench and will-it-scale/unlink2 on a

[PATCH 02/12] vfs: More precise tests in d_invalidate

2014-02-25 Thread Eric W. Biederman
The current comments in d_invalidate about what and why it is doing what it is doing are wildly off-base. Which is not surprising as the comments date back to last minute bug fix of the 2.2 kernel. The big fat lie of a comment said: If it's a directory, we can't drop it for fear of somebody

[PATCH 01/12] vfs: Document the effect of d_revalidate on d_find_alias

2014-02-25 Thread Eric W. Biederman
d_drop or check_submounts_and_drop called from d_revalidate can result in renamed directories with child dentries being unhashed. These renamed and drop directory dentries can be rehashed after d_materialise_unique uses d_find_alias to find them. Reviewed-by: Miklos Szeredi mik...@szeredi.hu

[PATCH 04/12] vfs: Keep a list of mounts on a mount point

2014-02-25 Thread Eric W. Biederman
To spot any possible problems call BUG if a mountpoint is put when it's list of mounts is not empty. Reviewed-by: Miklos Szeredi mik...@szeredi.hu Signed-off-by: Eric W. Biederman ebieder...@twitter.com --- fs/mount.h |2 ++ fs/namespace.c |6 ++ 2 files changed, 8

[PATCH 03/12] vfs: Don't allow overwriting mounts in the current mount namespace

2014-02-25 Thread Eric W. Biederman
In preparation for allowing mountpoints to be renamed and unlinked in remote filesystems and in other mount namespaces test if on a dentry there is a mount in the local mount namespace before allowing it to be renamed or unlinked. The primary motivation here are old versions of fusermount

Re: [PATCH 3/3] mfd: arizona: Use new regmap features for manual register patch

2014-02-25 Thread Charles Keepax
On Mon, Feb 24, 2014 at 04:10:42PM +, Lee Jones wrote: On the wm5102 the register patches are applied manually, rather than by the regmap core. This application is wrapped in calls to regcache_cache_bypass. However, this is dangerous as other threads may be accessing the hardware at

[PATCH 05/12] vfs: factor out lookup_mountpoint from new_mountpoint

2014-02-25 Thread Eric W. Biederman
I am shortly going to add a new user of struct mountpoint that needs to look up existing entries but does not want to create a struct mountpoint if one does not exist. Therefore to keep the code simple and easy to read split out lookup_mountpoint from new_mountpoint. Signed-off-by: Eric W.

Re: [PATCHv3] tty: Set correct tty name in 'active' sysfs attribute

2014-02-25 Thread David Herrmann
Hi On Tue, Feb 25, 2014 at 8:51 AM, Hannes Reinecke h...@suse.de wrote: On 02/24/2014 03:58 PM, David Herrmann wrote: Hi On Mon, Feb 24, 2014 at 3:50 PM, Hannes Reinecke h...@suse.de wrote: The 'active' sysfs attribute should refer to the currently active tty devices the console is running

[PATCH 06/12] vfs: Add a function to lazily unmount all mounts from any dentry.

2014-02-25 Thread Eric W. Biederman
The new function detach_mounts comes in two pieces. The first piece is a static inline test of d_mounpoint that returns immediately without taking any locks if d_mounpoint is not set. In the common case when mountpoints are absent this allows the vfs to continue running with it's same cacheline

Re: [PATCH 3.5 11/60] pinctrl: do not init debugfs entries for unimplemented functionalities

2014-02-25 Thread Luís Henriques
On Tue, Feb 25, 2014 at 10:24:00AM +0100, Linus Walleij wrote: On Fri, Feb 21, 2014 at 2:00 PM, Luis Henriques luis.henriq...@canonical.com wrote: 3.5.7.31 -stable review patch. If anyone has any objections, please let me know. This was NACKed as stable patch by Greg so drop it if not

[PATCH 07/12] vfs: Lazily remove mounts on unlinked files and directories.

2014-02-25 Thread Eric W. Biederman
With the introduction of mount namespaces and bind mounts it became possible to access files and directories that on some paths are mount points but are not mount points on other paths. It is very confusing when rm -rf somedir returns -EBUSY simply because somedir is mounted somewhere else.

Re: linux-next: Tree for Feb 17 (pinctrl-msm)

2014-02-25 Thread Linus Walleij
On Mon, Feb 24, 2014 at 7:41 PM, Josh Cartwright jo...@codeaurora.org wrote: On Mon, Feb 24, 2014 at 10:14:45AM -0800, Randy Dunlap wrote: Without too much effort, I can get this to fail just by making CONFIG_PINCTRL_MSM=m. handle_bad_irq isn't marked EXPORT_SYMBOL*, so hence the warning.

[PATCH 08/12] vfs: Remove unnecessary calls of check_submounts_and_drop

2014-02-25 Thread Eric W. Biederman
Now that check_submounts_and_drop can not fail and is called from d_invalidate there is no longer a need to call check_submounts_and_drom from filesystem d_revalidate methods so remove it. Reviewed-by: Miklos Szeredi mik...@szeredi.hu Signed-off-by: Eric W. Biederman ebied...@xmission.com ---

[PATCH 09/12] vfs: Merge check_submounts_and_drop and d_invalidate

2014-02-25 Thread Eric W. Biederman
Now that d_invalidate is the only caller of check_submounts_and_drop, expand check_submounts_and_drop inline in d_invalidate. Reviewed-by: Miklos Szeredi mik...@szeredi.hu Signed-off-by: Eric W. Biederman ebied...@xmission.com --- fs/dcache.c| 55

Re: [PATCH v8 01/14] mfd: omap-usb-host: Get clocks based on hardware revision

2014-02-25 Thread Roger Quadros
On 02/25/2014 11:37 AM, Lee Jones wrote: Not all revisions have all the clocks so get the necessary clocks based on hardware revision. This should avoid un-necessary clk_get failure messages that were observed earlier. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz

[PATCH 10/12] vfs: Make d_invalidate return void

2014-02-25 Thread Eric W. Biederman
Now that d_invalidate can no longer fail, stop returning a useless return code. For the few callers that checked the return code update remove the handling of d_invalidate failure. Reviewed-by: Miklos Szeredi mik...@szeredi.hu Signed-off-by: Eric W. Biederman ebied...@xmission.com ---

[PATCH 11/12] vfs: Remove d_drop calls from d_revalidate implementations

2014-02-25 Thread Eric W. Biederman
Now that d_invalidate always succeeds it is not longer necessary or desirable to hard code d_drop calls into filesystem specific d_revalidate implementations. Remove the unnecessary d_drop calls and rely on d_invalidate to drop the dentries. Using d_invalidate ensures that paths to mount points

[PATCH 12/12] proc: Update proc_flush_task_mnt to use d_invalidate

2014-02-25 Thread Eric W. Biederman
Now that d_invalidate always succeeds and flushes mount points use it in stead of a combination of shrink_dcache_parent and d_drop in proc_flush_task_mnt. This removes the danger of a mount point under /proc/pid/... becoming unreachable after the d_drop. Reviewed-by: Miklos Szeredi

Re: [PATCH v8 01/14] mfd: omap-usb-host: Get clocks based on hardware revision

2014-02-25 Thread Lee Jones
Not all revisions have all the clocks so get the necessary clocks based on hardware revision. This should avoid un-necessary clk_get failure messages that were observed earlier. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros

Re: [PATCH] regulator: core: allow enabling without enable op

2014-02-25 Thread Sachin Kamat
On 25 February 2014 12:27, Alexandre Courbot acour...@nvidia.com wrote: Commit 14c32a3ce6676265d7a27ea64a4d406e6dbad111 replaced direct uses of ops-enable by calls to _regulator_do_enable. This prevents a fixed regulators without a GPIO from being probed, since the former code checked the

Re: [PATCH 1/2] zram: avoid null access when fail to alloc meta

2014-02-25 Thread Jerome Marchand
On 02/25/2014 02:08 AM, Minchan Kim wrote: zram_meta_alloc could be failed so caller should check it. Otherwise, your system will be hang. Cc: sta...@vger.kernel.org Signed-off-by: Minchan Kim minc...@kernel.org Acked-by: Jerome Marchand jmarc...@redhat.com ---

Re: linux-next: Tree for Feb 17 (pinctrl-msm)

2014-02-25 Thread Linus Walleij
On Mon, Feb 24, 2014 at 8:28 PM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: This comes from the request of having everything as a module, to reduce the size of the multi-platform ARM builds. I would say that the important part related to that would be to keep the platform specific

Re: [PATCH 00/10] pinctrl: mvebu: remove hard-coded addresses from Dove pinctrl

2014-02-25 Thread Linus Walleij
On Mon, Feb 24, 2014 at 7:10 PM, Jason Cooper ja...@lakedaemon.net wrote: Sebastian, Linus, I've now created mvebu/pinctrl-dove for this series. It's based on v3.14-rc1, and depends on mvebu/pinctrl (which depends on mvebu/pinctrl-3xx). I've kept this series in a separate branch in case

Re: [PATCH] pinctrl: pfc: r8a7791: add mux data for IIC(B) cores

2014-02-25 Thread Linus Walleij
On Sun, Feb 23, 2014 at 1:38 PM, Wolfram Sang w...@the-dreams.de wrote: From: Wolfram Sang w...@sang-engineering.com Signed-off-by: Wolfram Sang w...@sang-engineering.com Applied with Laurent's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH] Staging: comedi: Fix line length exceeding 80 characters

2014-02-25 Thread Ian Abbott
On 2014-02-24 16:49, Monam Agarwal wrote: Signed-off-by: Monam Agarwal monamagarwal...@gmail.com --- drivers/staging/comedi/comedi_fops.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index

Re: [PATCH v2 0/6] ARM: STi reset controller support

2014-02-25 Thread Philipp Zabel
Hi Srinivas, Am Dienstag, den 25.02.2014, 09:08 + schrieb srinivas kandagatla: On 24/02/14 15:16, Philipp Zabel wrote: Hi Srinivas, Am Montag, den 24.02.2014, 14:03 + schrieb srinivas kandagatla: Thanks Philipp for your comments, On 24/02/14 10:33, Philipp Zabel wrote: Did

Re: [PATCH 20/22] qla2xxx: Use pci_enable_msix_range()

2014-02-25 Thread Saurav Kashyap
Looks good to me. Acked-by: Saurav Kashyap saurav.kash...@qlogic.com As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range()

Re: [PATCH] ARM: tegra: add device tree for SHIELD

2014-02-25 Thread Arend van Spriel
On 02/25/2014 03:13 AM, Alexandre Courbot wrote: +/* Wifi */ +sdhci@7800 { +status = okay; +bus-width = 4; +broken-cd; +keep-power-in-suspend; +cap-sdio-irq; Is non-removable better than broken-cd, or are they entirely unrelated?

Re: [PATCH v4 2/8] at91: pinctrl: don't request GPIOs used for interrupts but lock them as IRQ

2014-02-25 Thread Jean-Jacques Hiblot
Hi Linus, 2014-02-24 14:25 GMT+01:00 Linus Walleij linus.wall...@linaro.org: On Wed, Feb 12, 2014 at 11:06 AM, Jean-Jacques Hiblot jjhib...@traphandler.com wrote: During the xlate stage of the DT interrupt parsing, the at91 pinctrl driver requests the GPIOs that are described as interrupt

Re: [PATCH] Staging: comedi: addi-data: clean-up variable use in hwdrv_apci035.c

2014-02-25 Thread Ian Abbott
On 2014-02-25 08:15, Chase Southwood wrote: The static variable ui_Command is as of right now being cleared to a value of zero between everytime that it writes to a port and then takes a new value from a port. Seems like this zeroing is unnecessary, so we can just remove these lines. The

Re: [PATCH] Staging: comedi: Fix line length exceeding 80 characters

2014-02-25 Thread Joe Perches
On Tue, 2014-02-25 at 09:46 +, Ian Abbott wrote: On 2014-02-24 16:49, Monam Agarwal wrote: [] diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c [] @@ -1481,7 +1481,8 @@ static int do_cmd_ioctl(struct comedi_device *dev, async-cmd.data =

Re: [PATCH v8 02/14] mfd: omap-usb-host: Always fail on clk_get() error

2014-02-25 Thread Lee Jones
Be more strict and always fail on clk_get() error. For OMAP3 platforms, get the 120MHz EHCI clock by its proper name 'usbhost_120m_fck' instead of its alias 'ehci_logic_fck'. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros

Re: [PATCH 3/3] mfd: arizona: Use new regmap features for manual register patch

2014-02-25 Thread Lee Jones
On the wm5102 the register patches are applied manually, rather than by the regmap core. This application is wrapped in calls to regcache_cache_bypass. However, this is dangerous as other threads may be accessing the hardware at the same time as the pm_runtime operations and if they

[PATCH 1/2] regulator: dummy: Should be always-on

2014-02-25 Thread Markus Pargmann
Regulator dummy does not have any enable operations. So it is always_on. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/regulator/dummy.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c index

  1   2   3   4   5   6   7   8   9   10   >