Re: [PATCH 1/3] gpu: host1x: Add syncpoint base support

2013-10-11 Thread Arto Merilainen
On 10/11/2013 12:39 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Oct 09, 2013 at 02:54:08PM +0300, Arto Merilainen wrote: This patch adds support for hardware syncpoint bases. This creates a simple mechanism for waiting an operation to complete in the middle of the command

Re: [PATCH] drivers: misc: add gpio wakeup driver

2013-10-11 Thread Daniel Mack
Hi Linus, On 11.10.2013 13:11, Linus Walleij wrote: On Tue, Oct 1, 2013 at 3:55 PM, Daniel Mack zon...@gmail.com wrote: +Example: + + wake_up { + compatible = gpio-wakeup; + gpios = gpio0 19 0; + }; This will not work if that GPIO chip is not

[PATCH v4 15/17] clk: at91: add PMC clk device tree binding doc.

2013-10-11 Thread Boris BREZILLON
This patch adds new at91 clks dt bindings documentation. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- .../devicetree/bindings/clock/at91-clock.txt | 328 1 file changed, 328 insertions(+) create mode 100644

Re: [PATCH] i2c: exynos5: add High Speed I2C controller driver

2013-10-11 Thread Naveen Krishna Ch
On 8 September 2013 22:33, Wolfram Sang w...@the-dreams.de wrote: On Wed, Aug 21, 2013 at 02:54:37PM +0530, Naveen Krishna Ch wrote: Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. Highspeed mode is a minor change in the i2c protocol. Starts with 1.

[ANNOUNCE] util-linux v2.24-rc2

2013-10-11 Thread Karel Zak
The util-linux release v2.24-rc2 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.24/ Feedback and bug reports, as always, are welcomed. Karel Util-linux 2.24 Release Notes = This is the last release where the old non-libmount mount(8)

[PATCH 2/2] USB: ehci-msm: Add device tree support and binding information

2013-10-11 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Allows MSM EHCI controller to be specified via device tree. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/usb/msm-hsusb.txt | 17 + drivers/usb/host/ehci-msm.c| 15

[PATCH 1/2] ehci-msm: Remove global struct usb_phy variable

2013-10-11 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Use struct usb_hcd::phy to hold USB PHY instance. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/host/ehci-msm.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-msm.c

[PATCH] arm/arm64: remove atomic_clear_mask() in include/asm/atomic.h

2013-10-11 Thread Chen Gang
In current kernel wide source code, except other architectures, only s390 scsi drivers use atomic_clear_mask(), and arm/arm64 need not support s390 drivers. So remove atomic_clear_mask() from arm[64]/include/asm/atomic.h. Signed-off-by: Chen Gang gang.c...@asianux.com ---

[PATCH v4 14/17] clk: at91: add PMC smd clock

2013-10-11 Thread Boris BREZILLON
This patch adds at91 smd (Soft Modem) clock implementation using common clk framework. Not used by any driver right now. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/mach-at91/Kconfig |5 ++ drivers/clk/at91/Makefile |1 + drivers/clk/at91/clk-smd.c | 173

[PATCH v4 16/17] ARM: at91: move pit timer to common clk framework

2013-10-11 Thread Boris BREZILLON
Use device tree to get the source clock of the PIT (Periodic Interval Timer). If the clock is not found in device tree (or dt is not enabled) we'll try to get it using clk_lookup definitions. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com

Re: [PATCH 1/2] regulator: Remove max_uV from struct regulator_linear_range

2013-10-11 Thread Mark Brown
On Fri, Oct 11, 2013 at 09:30:24AM +0800, Axel Lin wrote: linear ranges means each range has linear voltage settings. So we can calculate max_uV for each linear range in regulator core rather than set the max_uV field in drivers. Applied both, thanks. signature.asc Description: Digital

[PATCH v4 17/17] ARM: at91: add new compatible strings for pmc driver

2013-10-11 Thread Boris BREZILLON
This patch adds new compatible string for PMC node to prepare the transition to common clk. These compatible string come from pmc driver in clk subsystem and are needed to provide new device tree compatibility with old at91 clks (device tree using common clks will use the new compatible strings).

Re: Kernel warning triggered with trinity on 3.12-rc4

2013-10-11 Thread Will Deacon
On Wed, Oct 09, 2013 at 02:37:41PM +0100, Benjamin LaHaise wrote: On Tue, Oct 08, 2013 at 03:52:17PM +0100, Will Deacon wrote: Hi guys, I've been running trinity on my ARMv7 Cortex-A15 system and managed to trigger the following kernel warning: Adding Kent to the list of recipients

Re: [PATCH v2 0/2] cpufreq: exynos: Fixes for v3.12

2013-10-11 Thread Rafael J. Wysocki
On Friday, October 11, 2013 01:22:57 PM Rafael J. Wysocki wrote: On Wednesday, October 09, 2013 02:08:41 PM Lukasz Majewski wrote: Attached commits provide cpufreq regression fixes for Trats and Trats2 Exynos4 boards. Since v3.12 Exynos4 uses common clock framework for clock manipulation.

Re: [PATCH] arm/arm64: remove atomic_clear_mask() in include/asm/atomic.h

2013-10-11 Thread Richard Weinberger
On Fri, Oct 11, 2013 at 1:47 PM, Chen Gang gang.c...@asianux.com wrote: In current kernel wide source code, except other architectures, only s390 scsi drivers use atomic_clear_mask(), and arm/arm64 need not support s390 drivers. So remove atomic_clear_mask() from arm[64]/include/asm/atomic.h.

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-11 Thread George Spelvin
There's places in the kernel that does for_each_cpu() that I'm sure you don't want to disable preemption for. Especially when you start having 4096 CPU machines! Er... why not? Seriously. If I have 4096 processors, and preemption is disabled on *one* of them for a long time, can't an urgent

[PATCH 1/2] i2c-mux-gpio: use gpio_set_value_cansleep()

2013-10-11 Thread Ionut Nicu
Some gpio chips may have get/set operations that can sleep. gpio_set_value() only works for chips which do not sleep, for the others we will get a kernel warning. Using gpio_set_value_cansleep() will work for both chips that do sleep and those who don't. Signed-off-by: Ionut Nicu

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-10-11 Thread Mark Salter
On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: @@ -110,6 +110,7 @@ SECTIONS */ INIT_TASK_DATA(THREAD_SIZE) NOSAVE_DATA + PAGE_ALIGNED_DATA(PAGE_SIZE) CACHELINE_ALIGNED_DATA(64)

Re: scsi-mq updated to latest linux-block/new-queue

2013-10-11 Thread Christoph Hellwig
On Thu, Oct 10, 2013 at 09:32:41PM +0200, Alexander Gordeev wrote: I wonder, if blk-mq- prefix should remain?.. This s code seems pretty much generic to me. Seems like nowdays you should just use the percpu-ida allocator directly, Shaohua Li hast just sent patches to switch blk-mq over to it as

[Resend PATCH 1/5] ACPI/Resource: Add memory prefetch check support

2013-10-11 Thread tianyu . lan
From: Lan Tianyu tianyu@intel.com This patch is to check mem address space's acpi resource caching ability and set prefetch flag of struct resource if it's prefetchable. Signed-off-by: Lan Tianyu tianyu@intel.com --- drivers/acpi/resource.c | 3 +++ 1 file changed, 3 insertions(+) diff

[Resend PATCH 2/5] ACPI/Resource: Add address translation support

2013-10-11 Thread tianyu . lan
From: Lan Tianyu tianyu@intel.com According ACPI 5.0 spec Section 19.1.8 For bridges, translate addresses across the bridge, this is the offset that must be added to the address on the secondary side to obtain the address on the primary side. Non-bridge devices must list 0. This patch is to

[Resend PATCH 0/5] ACPI/PCI: Parse PCI root bridge's ACPI resource via ACPI resource functions

2013-10-11 Thread tianyu . lan
From: Lan Tianyu tianyu@intel.com [Patch 1~2 and 4~5 of previous version weren't sent to maillist. So resend the patchset] This patchset is to add memory prefecth flag setting and address translation support in the ACPI resource function. Convert x86/iad64 PCI root bridge's ACPI resource to

[Resend PATCH 3/5] ACPI: Add new acpi_dev_resource_address_space_full() function

2013-10-11 Thread tianyu . lan
From: Lan Tianyu tianyu@intel.com Make acpi_dev_resource_address_space() to accept struct acpi_resource_address64 as param and rename it to *_full. This is for some cases that acpi address info is also needed after convert from acpi resouce to generic resource. Add

[Resend PATCH 4/5] X86/PCI/ACPI: Rework setup_resource() via functions ACPI resource functions

2013-10-11 Thread tianyu . lan
From: Lan Tianyu tianyu@intel.com Using ACPI resource functions to convert ACPI resource to generic resource instead of resource_to_addr(). Remove resource_to_addr(). Signed-off-by: Lan Tianyu tianyu@intel.com --- arch/x86/pci/acpi.c | 81

[Resend PATCH 5/5] IA64/PCI/ACPI: Rework PCI root bridge ACPI resource conversion

2013-10-11 Thread tianyu . lan
From: Lan Tianyu tianyu@intel.com Using ACPI resource functions to convert ACPI resource to generic resource Signed-off-by: Lan Tianyu tianyu@intel.com --- This patch just passes through compilation test due to no ia64 machine on hand. arch/ia64/pci/pci.c | 38

Re: [RFC/PATCH] ftrace: add set_graph_notrace filter

2013-10-11 Thread Steven Rostedt
On Fri, 11 Oct 2013 09:21:56 +0200 Heiko Carstens heiko.carst...@de.ibm.com wrote: Steven Rostedt noted that s390 is the only architecture which calls ftrace_push_return_trace() before ftrace_graph_entry() and therefore has I don't know if s390 is the only arch. I didn't finish reading all

[PATCH -tip ] [BUGFIX] perf probe: fix to initialize fname always before use it

2013-10-11 Thread Masami Hiramatsu
Fix perf probe --list to initialize fname local var always before use it. This may cause a SEGV if there is a probe which is in the function body but not in any inline function. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Paul

Re: [PATCH] UPROBES: Remove useless __weak attribute

2013-10-11 Thread Ralf Baechle
On Fri, Oct 11, 2013 at 06:21:28AM +0530, Srikar Dronamraju wrote: Will be nice to have another arch(mips) support for uprobes. It's basically ready to be merged - but it's triggering issues elsewhere in the kernel which I have to resolve first. The short version is that the memory special

[RFC PATCH 5/5] locks: show private lock types in /proc/locks

2013-10-11 Thread Jeff Layton
Show private locks in /proc/locks with a 'P' suffix. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/locks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/locks.c b/fs/locks.c index 3bde157..31abb70 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -2393,8 +2393,8 @@

[RFC PATCH 3/5] locks: skip FL_FILP_PRIVATE locks on close unless we're closing the correct filp

2013-10-11 Thread Jeff Layton
If the request has FL_CLOSE set, then we know we're releasing locks in response to a fd being closed. When iterating over locks, skip any locks that have FL_FILP_PRIVATE set and that don't have the same fl_file pointer. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/locks.c | 9 +

[RFC PATCH 4/5] locks: handle merging of locks when FL_FILP_PRIVATE is set

2013-10-11 Thread Jeff Layton
Since FL_FILP_PRIVATE locks have different semantics on close, we can't merge them with normal locks or with other FL_FILP_PRIVATE locks that were acquired on different file descriptors. Consolidate the logic that determines this into its own function. Signed-off-by: Jeff Layton

[RFC PATCH 1/5] locks: consolidate checks for compatible filp-f_mode values in setlk handlers

2013-10-11 Thread Jeff Layton
Add a wrapper around assign_type that does this instead of duplicating this check in two places. This also fixes a minor wart in the code where we continue referring to the struct flock after converting it to struct file_lock. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/locks.c | 61

[RFC PATCH 2/5] locks: add definitions for F_RDLCKP and F_WRLCKP

2013-10-11 Thread Jeff Layton
No arch seems to use these values for anything, so defining them globally should be ok. When they are specified, translate them into their non-P variants, and set the FL_FILP_PRIVATE flag to indicate that they should get the proper behavior on close. Signed-off-by: Jeff Layton jlay...@redhat.com

[RFC PATCH 0/5] locks: implement filp-private (aka UNPOSIX) locks

2013-10-11 Thread Jeff Layton
At LSF this year, there was a discussion about the wishlist for userland file servers. One of the things brought up was the goofy and problematic behavior of POSIX locks when a file is closed. Boaz started a thread on it here: http://permalink.gmane.org/gmane.linux.file-systems/73364

[PATCH] Export percpu-refcount functions

2013-10-11 Thread Matias Bjorling
ERROR: percpu_ref_kill_and_confirm [...] undefined! Working on a driver that needs them, but other modules might benefit as well. Matias Bjorling (1): percpu-refcount: Export symbols lib/percpu-refcount.c | 3 +++ 1 file changed, 3 insertions(+) -- 1.8.1.2 -- To unsubscribe from this

[PATCH] drm/tegra: Use dma_mapping API in mmap

2013-10-11 Thread Arto Merilainen
This far we have used the remap_pfn_range() function directly to map buffers to user space. Calling this function has worked as all memory allocations have been contiguous. However, the function must support also non-contiguous memory allocations as we later want to turn on IOMMU. This patch

Re: [BUG][PATCH][RFC] audit: hang up in audit_log_start executed on auditd

2013-10-11 Thread Toshiyuki Okajima (smtp-b.css)
Gao-san, (2013/10/11 18:33), Gao feng wrote: On 10/11/2013 09:36 AM, Toshiyuki Okajima wrote: Hi. The following reproducer causes auditd daemon hang up. (But the hang up is released after the audit_backlog_wait_time passes.) # auditctl -a exit,always -S all # reboot I reproduced the

[PATCH] percpu-refcount: Export symbols

2013-10-11 Thread Matias Bjorling
Need to be exported for being used within modules. Signed-off-by: Matias Bjorling m...@bjorling.me --- lib/percpu-refcount.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/percpu-refcount.c b/lib/percpu-refcount.c index 7deeb62..25b9ac7 100644 --- a/lib/percpu-refcount.c +++

Re: [PATCH] arm/arm64: remove atomic_clear_mask() in include/asm/atomic.h

2013-10-11 Thread Will Deacon
On Fri, Oct 11, 2013 at 01:08:17PM +0100, Richard Weinberger wrote: On Fri, Oct 11, 2013 at 1:47 PM, Chen Gang gang.c...@asianux.com wrote: In current kernel wide source code, except other architectures, only s390 scsi drivers use atomic_clear_mask(), and arm/arm64 need not support s390

Re: [PATCH -tip ] [BUGFIX] perf probe: fix to initialize fname always before use it

2013-10-11 Thread Masami Hiramatsu
Hi Arnaldo, I've found a bug in my previous patch which was already picked in the perf/urgent branch. The buggy commit id is e08cfd4bda7683cdbe6971c26cf23e2afdb1e7a8 And this is not related to the previous series of perf probe updates. Thank you, (2013/10/11 21:23), Masami Hiramatsu wrote:

Re: [RFC/PATCH] ftrace: add set_graph_notrace filter

2013-10-11 Thread Steven Rostedt
On Fri, 11 Oct 2013 17:19:46 +0900 Namhyung Kim namhy...@kernel.org wrote: Hi Steve, On Fri, 11 Oct 2013 00:17:17 -0400, Steven Rostedt wrote: Sorry for the very late reply, finally got some time to look at other peoples code. Thank you for taking your time to review this carefully. :)

Re: [Intel-gfx] BUG: sleeping function called from invalid context on 3.10.10-rt7

2013-10-11 Thread Steven Rostedt
On Fri, 11 Oct 2013 12:18:00 +0200 Sebastian Andrzej Siewior bige...@linutronix.de wrote: * Mario Kleiner | 2013-09-26 18:16:47 [+0200]: Good! I will do that. Thanks for clarifying the irq and constraints on raw locks in the other thread. Are there any suggestions for now?

[PATCH] ARM: davinci: usb: provide minimal support for da850. (v2)

2013-10-11 Thread Paul Chavent
As for the da830 and hawk boards, the da850 can provide minimalist usb 1.1 implementation without enabling usb gadget and inventra HC. This patch is inspired by the hawk board implementation. Signed-off-by: Paul Chavent paul.chav...@onera.fr --- arch/arm/mach-davinci/board-da850-evm.c | 135

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-11 Thread Peter Zijlstra
On Thu, Oct 10, 2013 at 11:49:15AM -0700, Linus Torvalds wrote: On Thu, Oct 10, 2013 at 11:34 AM, Peter Zijlstra pet...@infradead.org wrote: But my point is that even though there aren't many of these today; with the growing number of cpus in 'commodity' hardware you want to move away

[PATCH v2 0/6] ARM: at91: use new at91 clks for samad3 SoCs

2013-10-11 Thread Boris BREZILLON
Hello, This patch series moves sama5d3 SoCs and boards to the new at91 clk framework (based on common clk framework). This patch series depends on following patch series: 1) ARM: at91/dt: split sama5d3 definition (v1) 3) ARM: at91: move to common clk framework (v4) Best Regards, Boris Changes

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-11 Thread Steven Rostedt
On 11 Oct 2013 08:14:57 -0400 George Spelvin li...@horizon.com wrote: There's places in the kernel that does for_each_cpu() that I'm sure you don't want to disable preemption for. Especially when you start having 4096 CPU machines! Er... why not? Seriously. If I have 4096 processors,

[PATCH v2 1/6] ARM: at91: prepare sama5 dt boards transition to common clk

2013-10-11 Thread Boris BREZILLON
This patch prepare the transition to common clk for sama5 dt boards by replacing the timer init callback. Clocks registration cannot be done in early init callback (as formerly done by the old clk implementation) because it requires dynamic allocation which is not ready yet during early init. In

[PATCH] cpupower: Fix segfault due to incorrect getopt_long arugments

2013-10-11 Thread Josh Boyer
If a user calls 'cpupower set --perf-bias 15', the process will end with a SIGSEGV in libc because cpupower-set passes a NULL optarg to the atoi call. This is because the getopt_long structure currently has all of the options as having an optional_argument when they really have a required

[PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-11 Thread Paul Chavent
The PPS_FETCH ioctl is blocking still the reception of a PPS event. But, in some case, one may immediately need the last event date. This patch allow to get the result of PPS_FETCH if the device has the O_NONBLOCK flag set. Signed-off-by: Paul Chavent paul.chav...@onera.fr Acked-by: Rodolfo

[PATCH v2 2/6] ARM: at91: prepare common clk transition for sama5d3 SoC

2013-10-11 Thread Boris BREZILLON
This patch encloses sama5d3 old clk registration in #if defined(CONFIG_OLD_CLK_AT91) #endif sections. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/mach-at91/sama5d3.c |6 +- 1 file changed, 5 insertions(+), 1

[PATCH v2 3/6] ARM: at91/dt: define sama5d3 clocks

2013-10-11 Thread Boris BREZILLON
Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/sama5d3.dtsi | 331 ++- arch/arm/boot/dts/sama5d3_can.dtsi | 18 ++

Re: [PATCH 1/2] tty/hvc_console: Add DTR/RTS callback to handle HUPCL control

2013-10-11 Thread Hendrik Brueckner
Hi Benjamin, On Fri, Oct 11, 2013 at 06:15:11PM +1100, Benjamin Herrenschmidt wrote: On Tue, 2013-07-02 at 17:07 +0200, Hendrik Brueckner wrote: Introduce a new callback to explicitly handle the HUPCL termios control flag. This prepares for a follow-up commit for the hvc_iucv device

[PATCH v2 4/6] ARM: at91/dt: define sama5d3xek's main clk frequency

2013-10-11 Thread Boris BREZILLON
Define the main clock frequency for the new main clock node in sama5d3xcm.dtsi. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d3xcm.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v2 5/6] ARM: at91: move sama5d3 SoC to common clk

2013-10-11 Thread Boris BREZILLON
This patch removes the selection of AT91_USE_OLD_CLK when selecting sama5d3 SoC support. This will enable automatically enable COMMON_CLK_AT91 option and add support for at91 common clk implementation. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre

Re: [PATCH v10 11/12] tracing: fix tracing_snapshot kerneldoc

2013-10-11 Thread Masami Hiramatsu
(2013/10/11 9:48), Tom Zanussi wrote: The names of the functions are tracing_snapshot_*, not trace_snapshot_* - fix up the kerneldoc to avoid confusion. Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com It seems that this is not related this series. Please send it as a trivial fix patch

[PATCH v2 6/6] ARM: at91/dt: remove old clk material

2013-10-11 Thread Boris BREZILLON
This patch removes the old main clk node which is now useless as sama5d3 SoCs and boards are no longer compatible with the old at91 clk implementations. It also remove old clock definitions (clock definitions using at91 old clk framework). Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com

Re: kexec: Clearing registers just before jumping into purgatory

2013-10-11 Thread Vivek Goyal
On Fri, Oct 11, 2013 at 01:04:55PM +0200, Daniel Kiper wrote: [..] In theory you can swap between to kernels with the preserve_context case. Technically I like the ability but I don't know that it has ever achieved much uptake. I think that this is nice idea too. However, I have not

Re: [PATCH 15/31] mips/kvm: Exception handling to leave and reenter guest mode.

2013-10-11 Thread James Hogan
Hi David, I know it's been a while since you posted this patchset, but thought you might appreciate the feedback anyway. Some of my comments/suggestions relate to portability with MIPS32. I don't object if you respond to those by just adding depends on 64BIT so that I others can fix it up in

Re: [PATCH] drivers: misc: add gpio wakeup driver

2013-10-11 Thread Linus Walleij
On Fri, Oct 11, 2013 at 1:40 PM, Daniel Mack zon...@gmail.com wrote: Since what the driver will then eventually provide is to flag an IRQ line as wakeup, I wonder if this should not just simply go into the interrupt core, or atleast of/irq.c. But for that, the IRQ line must be requested

[PATCH] powerpc 8xx: Fixing memory init issue with CONFIG_PIN_TLB

2013-10-11 Thread Christophe Leroy
Activating CONFIG_PIN_TLB allows access to the 24 first Mbytes of memory at bootup instead of 8. It is needed for big kernels for instance when activating CONFIG_LOCKDEP_SUPPORT. This needs to be taken into account in init_32 too, otherwise memory allocation soon fails after startup.

Re: [PATCHSET 0/8] perf tools: Fix scalability problem on callchain merging (v5)

2013-10-11 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: Hi Jiri, On Fri, 11 Oct 2013 09:34:48 +0200, Jiri Olsa wrote: On Fri, Oct 11, 2013 at 07:58:29AM +0200, Ingo Molnar wrote: * Namhyung Kim namhy...@kernel.org wrote: Hello, This is a new version of callchain improvement patchset.

Re: [PATCH v10 12/12] tracing: define trace_dump_stack() if !CONFIG_STACKTRACE

2013-10-11 Thread Masami Hiramatsu
(2013/10/11 9:48), Tom Zanussi wrote: If CONFIG_STACKTRACE is turned off, trace_dump_stack() isn't defined, resulting in an 'undefined reference' error - define a stub to remedy that. Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com Hmm, what kernel config caused that error? It seems

Re: [PATCH v5] btrfs: Fix memory leakage in the tree-log.c

2013-10-11 Thread Stefan Behrens
On Thu, 10 Oct 2013 19:11:22 -0300, Geyslan G. Bem wrote: In add_inode_ref() function: Initializes local pointers. Reduces the logical condition with the __add_inode_ref() return value by using only one 'goto out'. Centralizes the exiting, ensuring the freeing of all used memory.

Re: [BUG] WARN_ON(!context) in drivers/pci/hotplug/acpiphp_glue.c

2013-10-11 Thread Steven Rostedt
On Fri, 11 Oct 2013 13:13:47 +0200 Rafael J. Wysocki r...@rjwysocki.net wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / hotplug / PCI: Accept coexistence with native PCIe hotplug Allow ACPIPHP (ACPI-based PCI hotplug) to handle event signaling for devices that

Re: [PATCH] arm/arm64: remove atomic_clear_mask() in include/asm/atomic.h

2013-10-11 Thread Richard Weinberger
Am 11.10.2013 14:28, schrieb Will Deacon: On Fri, Oct 11, 2013 at 01:08:17PM +0100, Richard Weinberger wrote: On Fri, Oct 11, 2013 at 1:47 PM, Chen Gang gang.c...@asianux.com wrote: In current kernel wide source code, except other architectures, only s390 scsi drivers use atomic_clear_mask(),

Re: [PATCHSET 0/8] perf tools: Fix scalability problem on callchain merging (v5)

2013-10-11 Thread Peter Zijlstra
On Fri, Oct 11, 2013 at 02:59:35PM +0200, Ingo Molnar wrote: So, why not keep -g as a shortcut to whatever default call-graph profiling we want to provide (note, this does not mean it always has to be 'fp'), and use --call-graph for more specific variants? a .perfconfig value could even

Re: [PATCH 3/5] [media] s3c-camif: Use CONFIG_ARCH_S3C64XX to check for S3C64xx support

2013-10-11 Thread Sylwester Nawrocki
On 09/28/2013 08:21 PM, Tomasz Figa wrote: Since CONFIG_PLAT_S3C64XX is going to be removed, this patch modifies the Kconfig entry of s3c-camif driver to use the proper way of checking for S3C64xx support - CONFIG_ARCH_S3C64XX. Signed-off-by: Tomasz Figatomasz.f...@gmail.com Acked-by:

Re: cgroup_attach_task while_each_thread (Was: cgroup attach task - slogging cpu)

2013-10-11 Thread Li Zefan
On 2013/10/10 0:54, Oleg Nesterov wrote: And I am starting to think that this change should also fix the while_each_thread() problems in this particular case. In generak the code like rcu_read_lock(); task = find_get_task(...); rcu_read_unlock();

Re: [PATCH v5] btrfs: Fix memory leakage in the tree-log.c

2013-10-11 Thread Geyslan Gregório Bem
2013/10/11 Stefan Behrens sbehr...@giantdisaster.de: On Thu, 10 Oct 2013 19:11:22 -0300, Geyslan G. Bem wrote: In add_inode_ref() function: Initializes local pointers. Reduces the logical condition with the __add_inode_ref() return value by using only one 'goto out'. Centralizes the

[PATCH 2/2] ARM: SMMU: return NULL on error in arm_smmu_iova_to_phys

2013-10-11 Thread Antonios Motakis
The return value of arm_smmu_iova_to_phys is directly passed to the user of the IOMMU API via iommu_iova_to_phys; however the ARM SMMU driver returns -EINVAL on error, which is not consistent with the rest of the drivers implementing the IOMMU API. VFIO also relies on the call returning NULL when

[PATCH 1/2] ARM: SMMU: add devices attached to the SMMU to an IOMMU group

2013-10-11 Thread Antonios Motakis
IOMMU groups are expected by certain users of the IOMMU API, e.g. VFIO. Add new devices found by the SMMU driver to an IOMMU group to satisfy those users. Signed-off-by: Antonios Motakis a.mota...@virtualopensystems.com --- drivers/iommu/arm-smmu.c | 18 +- 1 file changed, 17

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-11 Thread Paul E. McKenney
On Thu, Oct 10, 2013 at 05:20:44PM -0700, Josh Triplett wrote: On Wed, Oct 09, 2013 at 05:28:33PM -0700, Paul E. McKenney wrote: On Wed, Oct 09, 2013 at 05:12:40PM -0700, Eric Dumazet wrote: On Wed, 2013-10-09 at 16:40 -0700, Josh Triplett wrote: that. Constructs like list_del_rcu

[PATCH v5 0/4] Fix Win8 backlight issue

2013-10-11 Thread Aaron Lu
v5: 1 Introduce video.use_native_backlight module parameter and set its value to false by default as suggested by Rafael. For Win8 systems which have broken ACPI video backlight control, the parameter can be set to 1 in kernel cmdline to skip registering ACPI video's backlight interface.

[PATCH v5 1/4] backlight: introduce backlight_device_registered

2013-10-11 Thread Aaron Lu
Introduce a new API for modules to query if a specific type of backlight device has been registered. This is useful for some backlight device provider module(e.g. ACPI video) to know if a native control interface(e.g. the interface created by i915) is available and then do things accordingly(e.g.

[PATCH v5 3/4] ACPI / video: Do not register backlight if win8 and native interface exists

2013-10-11 Thread Aaron Lu
According to Matthew Garrett, Windows 8 leaves backlight control up to individual graphics drivers rather than making ACPI calls itself. There's plenty of evidence to suggest that the Intel driver for Windows [8] doesn't use the ACPI interface, including the fact that it's broken on a bunch of

[PATCH v5 2/4] ACPI / video: seperate backlight control and event interface

2013-10-11 Thread Aaron Lu
The backlight control and event delivery functionality provided by ACPI video module is mixed together and registered all during video device enumeration time. As a result, the two functionality are also removed together on module unload time or by the acpi_video_unregister function. The two

[PATCH v5 4/4] thinkpad-acpi: fix handle locate for video and query of _BCL

2013-10-11 Thread Aaron Lu
The tpacpi_acpi_handle_locate function makes use of acpi_get_devices to locate handle for ACPI video by HID, the problem is, ACPI video node doesn't really have HID defined(i.e. no _HID control method is defined for video device), so.. that function would fail. This can be solved by enhancing the

Re: NULL pointer dereference in autofs4_expire_wait

2013-10-11 Thread David Ahern
On 10/11/13 3:55 AM, Ian Kent wrote: On Fri, 2013-10-11 at 10:06 +0800, Ian Kent wrote: On Thu, 2013-10-10 at 17:22 -0600, David Ahern wrote: Running 3.12-rc3 just hit BUG in autofs4_expire_wait It doesn't look like this could be due to Al's change to the locking in autos4_wait() and that

Re: [PATCH v10 11/12] tracing: fix tracing_snapshot kerneldoc

2013-10-11 Thread Tom Zanussi
On Fri, 2013-10-11 at 21:50 +0900, Masami Hiramatsu wrote: (2013/10/11 9:48), Tom Zanussi wrote: The names of the functions are tracing_snapshot_*, not trace_snapshot_* - fix up the kerneldoc to avoid confusion. Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com It seems that this

Re: [Intel-gfx] BUG: sleeping function called from invalid context on 3.10.10-rt7

2013-10-11 Thread Sebastian Andrzej Siewior
On 10/11/2013 02:37 PM, Steven Rostedt wrote: On Fri, 11 Oct 2013 12:18:00 +0200 Sebastian Andrzej Siewior bige...@linutronix.de wrote: * Mario Kleiner | 2013-09-26 18:16:47 [+0200]: Good! I will do that. Thanks for clarifying the irq and constraints on raw locks in the other thread. Are

Re: [PATCH v10 12/12] tracing: define trace_dump_stack() if !CONFIG_STACKTRACE

2013-10-11 Thread Tom Zanussi
On Fri, 2013-10-11 at 22:00 +0900, Masami Hiramatsu wrote: (2013/10/11 9:48), Tom Zanussi wrote: If CONFIG_STACKTRACE is turned off, trace_dump_stack() isn't defined, resulting in an 'undefined reference' error - define a stub to remedy that. Signed-off-by: Tom Zanussi

Re: [PATCH 2/2] dma: calculate the data tranferred by 8250

2013-10-11 Thread Greg KH
On Fri, Oct 11, 2013 at 05:42:18PM -0400, Youquan Song wrote: When using UART transfers data by DMA mode, but it always shows 0 at /sys/class/dma/dma0chan*/bytes_transferred. Call the new function to calculate how many the data has been transferred after doing it by DMA mode. How nice,

Re: [PATCH 1/2] dma: Add interface to calculate data transferred

2013-10-11 Thread Greg KH
On Fri, Oct 11, 2013 at 05:42:17PM -0400, Youquan Song wrote: Currently, the DMA channel calculates its data transferred only at network device driver. When other devices like UART or SPI etc, transfers data by DMA mode, but it always shows 0 at /sys/class/dma/dma0chan*/bytes_transferred. Is

Re: [RFC PATCH 0/5] locks: implement filp-private (aka UNPOSIX) locks

2013-10-11 Thread Jeff Layton
On Fri, 11 Oct 2013 08:25:17 -0400 Jeff Layton jlay...@redhat.com wrote: At LSF this year, there was a discussion about the wishlist for userland file servers. One of the things brought up was the goofy and problematic behavior of POSIX locks when a file is closed. Boaz started a thread on it

Vážení E-mail užívate

2013-10-11 Thread webmail update 2013
Vážení E-mail užívateľa; Prekročili ste 23432 boxy nastaviť svoje Webová služba / Administrátor, a budete mať problémy pri odosielaní a prijímať e-maily, kým znova overiť. Musíte aktualizovať kliknutím na odkaz nižšie a vyplňte údaje pre overenie vášho účtu Prosím,kliknite: na odkaz nižšie

Re: [PATCH 2/5] usb: gadget: s3c-hsotg: support configurable UTMI PHY width

2013-10-11 Thread Felipe Balbi
Hi, On Thu, Oct 10, 2013 at 11:21:30PM -0400, Matt Porter wrote: On 10/10/2013 03:07 PM, Matt Porter wrote: On 10/10/2013 01:57 PM, Paul Zimmerman wrote: From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, October 10, 2013 10:46 AM On Thu, Oct 10, 2013 at 12:54:40PM -0400, Matt Porter

Re: [PATCH v3] USB: gadget: s3c-hsotg: add isochronous transfers support

2013-10-11 Thread Felipe Balbi
Hi, On Fri, Oct 11, 2013 at 08:23:35AM +0200, Robert Baldyga wrote: Hello, On 10/10/2013 06:04 PM, Felipe Balbi wrote: Hi, On Wed, Oct 09, 2013 at 08:41:57AM +0200, Robert Baldyga wrote: @@ -2616,14 +2630,19 @@ static int s3c_hsotg_ep_enable(struct usb_ep *ep,

Re: [PATCH V6 3/8] perf tools: add map__find_other_map_symbol()

2013-10-11 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 09, 2013 at 03:01:13PM +0300, Adrian Hunter escreveu: Add a function to find a symbol using an ip that might be on a different map. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Can you take a look at the following patch? Since we have an addr_map_symbol struct and the

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-11 Thread Dave Young
Matt, The kernel I referring is the boot kernel aka the 1st kernel, the boot loader is grub2 from Fedora 19. [sorry for top reply because of using webmail] - Original Message - From: Matt Fleming m...@console-pimps.org To: Dave Young dyo...@redhat.com Cc: Borislav Petkov

Re: [PATCH v10 04/12] tracing: Add 'snapshot' event trigger command

2013-10-11 Thread Masami Hiramatsu
(2013/10/11 9:48), Tom Zanussi wrote: /** + * tracing_alloc_snapshot - allocate snapshot buffer. + * + * This only allocates the snapshot buffer if it isn't already + * allocated - it doesn't also take a snapshot. + * + * This is meant to be used in cases where the snapshot buffer needs +

Re: [PATCH 3/5] usb: phy: add Broadcom Kona USB control driver

2013-10-11 Thread Matt Porter
On 10/10/2013 11:31 AM, Felipe Balbi wrote: Hi, On Mon, Oct 07, 2013 at 06:12:30AM -0400, Matt Porter wrote: Broadcom BCM281xx parts have a PHY control block that operates in conjunction with the DWC2 USB OTG. This driver exposes an API that allows control of power/reset for a connected USB

Re: [Intel-gfx] BUG: sleeping function called from invalid context on 3.10.10-rt7

2013-10-11 Thread Mario Kleiner
On 10/11/2013 03:30 PM, Sebastian Andrzej Siewior wrote: On 10/11/2013 02:37 PM, Steven Rostedt wrote: On Fri, 11 Oct 2013 12:18:00 +0200 Sebastian Andrzej Siewior bige...@linutronix.de wrote: * Mario Kleiner | 2013-09-26 18:16:47 [+0200]: Good! I will do that. Thanks for clarifying the irq

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-11 Thread George Spelvin
The problem is that the scheduler doesn't see that the current task has preemption disabled. It only looks at the priorities of the current task, and if it can preempt it, it will. It sets the NEED_RESCHED to the current task and waits for the preemption to schedule it out. Ah, got it. It's

Re: [PATCH 4/6] pinctrl: single: Add support for wake-up interrupts

2013-10-11 Thread Roger Quadros
On 10/11/2013 11:49 AM, Roger Quadros wrote: On 10/10/2013 07:00 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [131010 06:32]: I tried testing this with the USB EHCI driver, but I'm not getting wake up interrupts while the system is still running and only the EHCI controller is

Re: [PATCH] x86/efi: Add EFI framebuffer earlyprintk support

2013-10-11 Thread Matt Fleming
On Thu, 10 Oct, at 07:28:44PM, Ingo Molnar wrote: Btw., could we perhaps remap the whole framebuffer at init time, or is it too large? If early_ioremap() fails for whatever reason then that will emit a WARN_ON(), which will recurse in a fairly nasty way ... The framebuffer memory will be

Re: GPIO: Performance sensitive applications, gpiochip-level locking

2013-10-11 Thread Linus Walleij
On Mon, Sep 30, 2013 at 7:29 PM, Darren Hart dvh...@linux.intel.com wrote: I'm currently working with a graphics driver that makes use of 2 GPIO pins for EDID communication (clock and data). In order to coexist peacefully with the driver for the GPIO chip, it must use gpiolib to request the

Re: [PATCH v10 04/12] tracing: Add 'snapshot' event trigger command

2013-10-11 Thread Tom Zanussi
On Fri, 2013-10-11 at 22:47 +0900, Masami Hiramatsu wrote: (2013/10/11 9:48), Tom Zanussi wrote: /** + * tracing_alloc_snapshot - allocate snapshot buffer. + * + * This only allocates the snapshot buffer if it isn't already + * allocated - it doesn't also take a snapshot. + * + *

Re: [PATCH 2/2] USB: ehci-msm: Add device tree support and binding information

2013-10-11 Thread David Brown
On Fri, Oct 11, 2013 at 02:46:10PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com Allows MSM EHCI controller to be specified via device tree. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../devicetree/bindings/usb/msm-hsusb.txt | 17 +

Re: [PATCH 1/2] ehci-msm: Remove global struct usb_phy variable

2013-10-11 Thread David Brown
On Fri, Oct 11, 2013 at 02:46:09PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com Use struct usb_hcd::phy to hold USB PHY instance. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/host/ehci-msm.c |5 +++-- Acked-by: David Brown dav...@codeaurora.org

Re: [PATCH 34/34] mm: dynamically allocate page-ptl if it cannot be embedded to struct page

2013-10-11 Thread Christoph Lameter
On Thu, 10 Oct 2013, Kirill A. Shutemov wrote: Christoph Lameter wrote: On Thu, 10 Oct 2013, Kirill A. Shutemov wrote: +static inline bool ptlock_alloc(struct page *page) +{ + if (sizeof(spinlock_t) sizeof(page-ptl)) + return __ptlock_alloc(page); + return true; +}

<    8   9   10   11   12   13   14   15   16   17   >