Re: [PATCH v9 04/16] iommu/exynos: allocate lv2 page table from own slab

2013-08-09 Thread Cho KyongHo
On Thu, 08 Aug 2013 16:00:18 +0200, Tomasz Figa wrote: On Thursday 08 of August 2013 18:38:04 Cho KyongHo wrote: Since kmalloc() does not guarantee that the allignment of 1KiB when it allocates 1KiB, it is required to allocate lv2 page table from own slab that guarantees alignment of 1KiB

Re: [PATCH v6 00/10] mtd: add datasheet's ECC information to nand_chip{}

2013-08-09 Thread Brian Norris
On 08/08/2013 08:58 PM, Artem Bityutskiy wrote: On Thu, 2013-08-08 at 16:06 -0700, Brian Norris wrote: On Thu, Aug 08, 2013 at 04:33:35PM +0800, Huang Shijie wrote: Hi Artem Brian: Hi Huang and others, On Thu, May 16, 2013 at 8:17 PM, Huang Shijieb32...@freescale.com wrote: 1.) Why add

[HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-09 Thread Thomas Richter
Hi Alan, hi Dominik, maybe you want me to help out a bit - I'm having trouble getting a Delock PCMCIA to USB-2 adapter to work under linux, with strange behavior in some situations. The trouble is that while I can *read* via fast (usb 2.0) transfers from the port, an ehci-triggered write just

Re: [PATCH v2 2/3] ARM: dt: t114 dalmore: add dt entry for nct1008

2013-08-09 Thread Wei Ni
On 08/09/2013 01:35 AM, Stephen Warren wrote: On 08/08/2013 12:56 AM, Wei Ni wrote: Enable thermal sensor nct1008 for t114 dalmore. It'd be best to remove this patch from the series; send one series to the LM90 maintainer with just the driver and DT binding changes, and another series to

Re: [PATCH 3/3] block: brd: Staticize 'rd_size'

2013-08-09 Thread Jingoo Han
On Friday, August 09, 2013 1:07 PM, Jingoo Han wrote: 'rd_size' is used only in this file. Fix the following sparse warning: drivers/block/brd.c:432:5: warning: symbol 'rd_size' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com ---

Re: [PATCH v2 3/3] Documentation: dt: hwmon: add OF document for lm90

2013-08-09 Thread Wei Ni
On 08/09/2013 01:37 AM, Stephen Warren wrote: On 08/08/2013 12:56 AM, Wei Ni wrote: Add OF document for lm90 in Documentation/devicetree/. diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/devicetree/bindings/hwmon/lm90.txt +Required node properties: +-

Re: [PATCH v2 2/3] ARM: dt: t114 dalmore: add dt entry for nct1008

2013-08-09 Thread Wei Ni
On 08/09/2013 05:33 AM, Guenter Roeck wrote: On 08/08/2013 01:40 PM, Stephen Warren wrote: On 08/08/2013 02:36 PM, Sergei Shtylyov wrote: Hello. On 08/08/2013 10:56 AM, Wei Ni wrote: Enable thermal sensor nct1008 for t114 dalmore. Signed-off-by: Wei Ni w...@nvidia.com ---

Re: [PATCH v9 06/16] ARM: dts: Add description of System MMU of Exynos SoCs

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 00:26:51 +0200, Tomasz Figa wrote: Hi KyongHo, On Thursday 08 of August 2013 18:38:35 Cho KyongHo wrote: Signed-off-by: Cho KyongHo pullip@samsung.com --- .../bindings/iommu/samsung,exynos4210-sysmmu.txt | 103 +++ arch/arm/boot/dts/exynos4.dtsi

linux-next: Tree for Aug 9

2013-08-09 Thread Stephen Rothwell
Hi all, Changes since 20130808: *crickets* I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git (patches at http://www.kernel.org/pub/linux/kernel/next/ ). If

Re: [PATCH 1/3] perf tools: Separate out GTK codes to libperf-gtk.so

2013-08-09 Thread Namhyung Kim
Hi Arnaldo, On Thu, 8 Aug 2013 12:21:16 -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 08, 2013 at 03:34:08PM +0900, Namhyung Kim escreveu: Separate out GTK codes to a shared object called libperf-gtk.so. This time only GTK codes are built with -fPIC and libperf remains as is.

[PATCH 3/3] f2fs: introduce cur_cp_versioin function to reduce code size

2013-08-09 Thread Jaegeuk Kim
This patch introduces a new inline function, cur_cp_version, to reduce redundant codes. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/checkpoint.c | 6 +++--- fs/f2fs/f2fs.h | 7 ++- fs/f2fs/file.c | 3 +-- fs/f2fs/recovery.c | 4 ++-- fs/f2fs/xattr.c | 2

[PATCH 1/3] f2fs: fix the use of XATTR_NODE_OFFSET

2013-08-09 Thread Jaegeuk Kim
This patch fixes the use of XATTR_NODE_OFFSET. o The offset should not use several MSB bits which are used by marking node blocks. o IS_DNODE should handle XATTR_NODE_OFFSET to avoid potential abnormality during the fsync call. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com ---

[PATCH v3 1/2] ALSA: Added jack detection KControl support

2013-08-09 Thread Felipe F. Tonello
From: Felipe F. Tonello e...@felipetonello.com This patch adds jack support for ALSA KControl. This support is necessary since the new kcontrol is used by user-space daemons, such as PulseAudio(=2.0), to do jack detection.) Also, HDA's CONFIG_SND_HDA_INPUT_JACK is disabled because it causes to

[PATCH 2/3] f2fs: fix inconsistency between xattr node blocks and its inode

2013-08-09 Thread Jaegeuk Kim
Previously xattr node blocks are stored to the COLD_NODE log, which means that our roll-forward mechanism doesn't recover the xattr node blocks at all. Only the direct node blocks in the WARM_NODE log can be recovered. So, let's resolve the issue simply by conducting checkpoint during fsync when

Re: [PATCH] netconsole: avoid a crash with multiple sysfs writers

2013-08-09 Thread Neil Horman
On Thu, Aug 08, 2013 at 09:14:31AM +0300, Dan Aloni wrote: On Thu, Aug 8, 2013 at 8:50 AM, Neil Horman nhor...@tuxdriver.com wrote: On Wed, Aug 07, 2013 at 12:02:44PM +0300, Dan Aloni wrote: [..] When my 'ifup eth' script was fired multiple times and ran concurrent o @@ -682,7

Re: [PATCH 13/18] MAINTAINERS: Update sirf patterns

2013-08-09 Thread Barry Song
2013/7/22 Joe Perches j...@perches.com: commit 3370dc916c (pinctrl:sirf:re-arch and add support for new SiRFatlas6 SoC) moved the files, update the patterns. Signed-off-by: Joe Perches j...@perches.com cc: Barry Song 21cn...@gmail.com cc: Linus Walleij linus.wall...@linaro.org Acked-by:

Re: [PATCH v2] drivers/crypto/nx: saves chaining value from co-processor

2013-08-09 Thread Benjamin Herrenschmidt
On Wed, 2013-08-07 at 18:15 -0500, Fionnuala Gunter wrote: This patch fixes a bug that is triggered when cts(cbc(aes)) is used with nx-crypto driver on input larger than 32 bytes. The chaining value from co-processor was not being saved. This value is needed because it is used as the IV by

[PATCH 3/3] perf tools: Run dynamic loaded GTK browser

2013-08-09 Thread Namhyung Kim
Run GTK hist and annotation browser using libdl. Cc: Andi Kleen a...@linux.intel.com Reviewed-by: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-annotate.c | 26 +++--- tools/perf/builtin-report.c | 16 ++--

[PATCH 0/3] perf ui/gtk: Separate out GTK code to a shared object (v4)

2013-08-09 Thread Namhyung Kim
Hi, This is v3 of gtk code separation patchset to reduce library dependencies of the perf executable. I only built libperf-gtk.so with -fPIC, and it's not linked to libperf at build time. All unresolved symbols used for perf should be resolved at runtime via perf executable (so libperf.a) - I

[PATCH 1/3] perf tools: Separate out GTK codes to libperf-gtk.so

2013-08-09 Thread Namhyung Kim
Separate out GTK codes to a shared object called libperf-gtk.so. This time only GTK codes are built with -fPIC and libperf remains as is. Cc: Andi Kleen a...@linux.intel.com Reviewed-by: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Makefile

[PATCH 2/3] perf tools: Setup GTK browser dynamically

2013-08-09 Thread Namhyung Kim
Call setup/exit GTK browser function using libdl. Cc: Andi Kleen a...@linux.intel.com Reviewed-by: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/gtk/gtk.h | 3 +++ tools/perf/ui/setup.c | 50 +++--

Re: [PATCH v2] drivers/crypto/nx: saves chaining value from co-processor

2013-08-09 Thread Herbert Xu
On Fri, Aug 09, 2013 at 04:25:04PM +1000, Benjamin Herrenschmidt wrote: On Wed, 2013-08-07 at 18:15 -0500, Fionnuala Gunter wrote: This patch fixes a bug that is triggered when cts(cbc(aes)) is used with nx-crypto driver on input larger than 32 bytes. The chaining value from co-processor

Re: [PATCH v9 07/16] iommu/exynos: support for device tree

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote: Hi KyongHo, On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote: This commit adds device tree support for System MMU. This also include the following changes and enhancements: * use managed device helper functions.

Re: [PATCH v2 0/2] drivers/crypto/nx: fixes when input data is too large

2013-08-09 Thread Herbert Xu
On Fri, Aug 02, 2013 at 12:09:50PM +, Marcelo Cerri wrote: This series of patches fixes two bugs that are triggered when the input data is too large. The first one is caused by the miscalculation of physical addresses and the second one by some limits that the co-processor has to the

Re: [PATCH v2 1/3] leds-pca9633: Add support for PCA9634

2013-08-09 Thread Ricardo Ribalda Delgado
Hello Bryan I understand your concerns, but I think that it is more practical to keep the old names. First of all there will be some defconfig that we will break with the new names, the same will happen with the platform data. I know that we don't have to support out of tree systems, but it wont

Re: [PATCH v2] drivers/crypto/nx: saves chaining value from co-processor

2013-08-09 Thread Herbert Xu
On Wed, Aug 07, 2013 at 06:15:50PM -0500, Fionnuala Gunter wrote: This patch fixes a bug that is triggered when cts(cbc(aes)) is used with nx-crypto driver on input larger than 32 bytes. The chaining value from co-processor was not being saved. This value is needed because it is used as the

[PATCH v3 0/4] PCA9633: Add support to PCA9634 and fix some problems

2013-08-09 Thread Ricardo Ribalda Delgado
Add Support for the PCA9634 chip. Simimart to the 9633, but with 8 outputs instead of 4. Fix bug when 2 chips where present on the system, the ledclass will fail and the chip wont probe. Protect ledout register with a mutex to support updates of more than leds at the same time v2: Contains

[PATCH v3 3/4] leds-pca9633: Add mutex to the ledout register

2013-08-09 Thread Ricardo Ribalda Delgado
To update an LED a register has to be read, updated and writen. If another LED whas been updated at the same time, this could lead into wrong updates. This patch addes a common mutex to all the leds of the same chip to protect the ledout register. Signed-off-by: Ricardo Ribalda Delgado

[PATCH v3 4/4] leds-pca9633: Rename to leds-pca963x

2013-08-09 Thread Ricardo Ribalda Delgado
The driver now supports the chips pca9633 and pca9634, therefore we rename the files to more genereic and meaningul names Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/leds/Kconfig |2 +- drivers/leds/Makefile |2

[PATCH v3 2/4] leds-pca9633: Unique naming of the LEDs

2013-08-09 Thread Ricardo Ribalda Delgado
If there is more than one pca963x chips on the system and there are some LEDs without platform_data names, the driver wont be able to provide unique naming to them. This will cause led_class_dev_register to fail, unregistering all the LEDs of the chip. This patch adds the i2c address to the name

[PATCH v3 1/4] leds-pca9633: Add support for PCA9634

2013-08-09 Thread Ricardo Ribalda Delgado
Add support for PCA9634 chip, which belongs to the same family as the 9633 but with support for 8 outputs instead of 4. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/leds/Kconfig|7 ++-- drivers/leds/leds-pca9633.c | 74

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-08-09 Thread Mike Galbraith
On Thu, 2013-08-08 at 23:02 +0800, ethan.zhao wrote: 在 2013-8-6,下午3:29,Mike Galbraith bitbuc...@online.de 写道: +int sched_needs_cpu(int cpu) +{ + return cpu_rq(cpu)-avg_idle sysctl_sched_migration_cost; +} + #else /* CONFIG_NO_HZ_COMMON */ static inline bool

Re: [ 000/102] 3.10.6-stable review

2013-08-09 Thread Guenter Roeck
On 08/08/2013 06:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.6 release. There are 102 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/8] Add all memory via sysfs probe interface at once

2013-08-09 Thread Benjamin Herrenschmidt
On Tue, 2013-08-06 at 15:44 -0500, Nathan Fontenot wrote: I am planning on pulling the first two patches and sending them out separate from the patch set since they are really independent of the rest of the patch series. The remaining code I will send out for review and inclusion in

Re: [PATCH v6 00/10] mtd: add datasheet's ECC information to nand_chip{}

2013-08-09 Thread Artem Bityutskiy
On Thu, 2013-08-08 at 23:00 -0700, Brian Norris wrote: On 08/08/2013 08:58 PM, Artem Bityutskiy wrote: On Thu, 2013-08-08 at 16:06 -0700, Brian Norris wrote: On Thu, Aug 08, 2013 at 04:33:35PM +0800, Huang Shijie wrote: Hi Artem Brian: Hi Huang and others, On Thu, May 16, 2013 at

Re: [PATCH v2 1/3] hwmon: (lm90) Add power control

2013-08-09 Thread Wei Ni
On 08/08/2013 07:01 PM, Mark Brown wrote: * PGP Signed by an unknown key On Thu, Aug 08, 2013 at 02:56:29PM +0800, Wei Ni wrote: +mutex_lock(data-update_lock); + +if (is_enable) +ret = regulator_enable(data-lm90_reg); +else +ret =

Re: [PATCH v6 00/10] mtd: add datasheet's ECC information to nand_chip{}

2013-08-09 Thread Brian Norris
On Fri, Aug 9, 2013 at 12:23 AM, Artem Bityutskiy dedeki...@gmail.com wrote: On Thu, 2013-08-08 at 23:00 -0700, Brian Norris wrote: On 08/08/2013 08:58 PM, Artem Bityutskiy wrote: There are few minor issues in aiaiai, which I can fix if you hit them and complain. Also, I did not invest much

[PATCH] regulator: core: Move list_voltage_{linear,linear_range,table} to helpers.c

2013-08-09 Thread Axel Lin
Move regulator_list_voltage_{linear,linear_range,table} helper functions to helpers.c. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/core.c| 86 - drivers/regulator/helpers.c | 86 + 2

Re: [PATCH] ACPI, cpu hotplug: move try_offline_node() after acpi_unmap_lsapic()

2013-08-09 Thread Tang Chen
On 08/07/2013 12:56 AM, Toshi Kani wrote: On Tue, 2013-08-06 at 19:11 +0900, Yasuaki Ishimatsu wrote: try_offline_node() checks that all cpus related with removed node have been removed by using cpu_present_bits. If all cpus related with removed node have been removed, try_offline_node() clears

Re: [PATCH 03/13] tracing/kprobes: Make stack and memory fetch functions static

2013-08-09 Thread Namhyung Kim
Hi Masami-san, On Mon, 05 Aug 2013 18:04:09 +0900, Masami Hiramatsu wrote: (2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com Those fetch functions need to be implemented differently for kprobes and uprobes. Since the symbol and deref fetch functions don't call

Re: [PATCH 1/2] kernel/sys.c: return the current gid when error occurs

2013-08-09 Thread Michael Kerrisk (man-pages)
On 08/09/13 02:59, Chen Gang wrote: On 08/08/2013 09:37 PM, Michael Kerrisk (man-pages) wrote: On 08/07/13 18:21, Oleg Nesterov wrote: On 08/06, Andy Lutomirski wrote: I assume that what the man page means is that the return value is whatever fsgid was prior to the call. On error, fsgid

Re: [PATCH] trivial: convert comma to semicolon

2013-08-09 Thread Richard Genoud
2013/8/8 Julia Lawall julia.law...@lip6.fr: From: Julia Lawall julia.law...@lip6.fr Replace a comma between expression statements by a semicolon. The rule is quite conservative in that it only finds cases where this pattern appears after a statement that ends with a semicolon, to ensure

Re: [PATCH v9 08/16] iommu/exynos: gating clocks of master H/W

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 00:45:17 +0200, Tomasz Figa wrote: Hi KyongHo, On Thursday 08 of August 2013 18:39:05 Cho KyongHo wrote: This patch gates clocks of master H/W as well as clocks of System MMU if master clocks are specified. Some Exynos SoCs (i.e. GScalers in Exynos5250) have

Re: [PATCH v9 03/16] iommu/exynos: fix page table maintenance

2013-08-09 Thread Tomasz Figa
Hi KyongHo, On Friday 09 of August 2013 13:15:20 Cho KyongHo wrote: On Thu, 08 Aug 2013 15:54:50 +0200, Tomasz Figa wrote: On Thursday 08 of August 2013 18:37:43 Cho KyongHo wrote: This prevents allocating lv2 page table for the lv1 page table entry ^ What this is this this about?

Re: [PATCH 06/18] ARM: IXP4xx: Switch to sched_clock_register()

2013-08-09 Thread Krzysztof Halasa
Stephen Boyd sb...@codeaurora.org writes: The 32 bit sched_clock interface now supports 64 bits. Upgrade to the 64 bit function to allow us to remove the 32 bit registration interface. Don't find anything wrong in this. Acked-by: Krzysztof Halasa k...@pm.waw.pl +++

Re: [PATCH v9 14/16] iommu/exynos: add support for power management subsystems.

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 01:03:05 +0200, Tomasz Figa wrote: Hi KyongHo, nit: Please drop the trailing dot at the end of patch subject. Oh. I didn't catch that. Thank you. On Thursday 08 of August 2013 18:41:17 Cho KyongHo wrote: This adds support for Advance Power Management and Runtime

[PATCH] kexec: Disable at runtime if the kernel enforces module signing

2013-08-09 Thread Matthew Garrett
kexec permits the loading and execution of arbitrary code in ring 0, which is something that module signing enforcement is meant to prevent. It makes sense to disable kexec in this situation. Signed-off-by: Matthew Garrett matthew.garr...@nebula.com --- include/linux/module.h | 4

Re: [PATCH v9 00/16] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-08-09 Thread Tomasz Figa
Hi KyongHo, On Friday 09 of August 2013 10:00:16 Cho KyongHo wrote: On Thu, 08 Aug 2013 14:13:57 +0200, Tomasz Figa wrote: Hi KyongHo, Just a little hint for future: To make reviewing your patches easier, please send all patches (01 and further) as a follow up (reply) to cover

Re: [ 045/102] Bluetooth: Fix invalid length check in l2cap_information_rsp()

2013-08-09 Thread Johan Hedberg
Hi Greg, On Thu, Aug 08, 2013, Greg Kroah-Hartman wrote: 3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jaganath Kanakkassery jaganat...@samsung.com commit da9910ac4a816b4340944c78d94c02a35527db46 upstream. The length check is

Re: [RFC 0/3] Add madvise(..., MADV_WILLWRITE)

2013-08-09 Thread Jan Kara
On Thu 08-08-13 15:58:39, Dave Hansen wrote: I was coincidentally tracking down what I thought was a scalability problem (turned out to be full disks :). I noticed, though, that ext4 is about 20% slower than ext2/3 at doing write page faults (x-axis is number of tasks):

Re: [PATCH v9 04/16] iommu/exynos: allocate lv2 page table from own slab

2013-08-09 Thread Tomasz Figa
Hi KyongHo, On Friday 09 of August 2013 14:58:49 Cho KyongHo wrote: On Thu, 08 Aug 2013 16:00:18 +0200, Tomasz Figa wrote: On Thursday 08 of August 2013 18:38:04 Cho KyongHo wrote: Since kmalloc() does not guarantee that the allignment of 1KiB when it allocates 1KiB, it is required to

Re: [PATCH v2 0/4] zcache: a compressed file page cache

2013-08-09 Thread Bob Liu
Another test case running sysbench only showed that the average time per request and transactions per second got around 7% faster! bootcmdline: mem=1G zcache.enabled=1 single sysbench --test=oltp --oltp-table-size=1500 --oltp-read-only=off \ --init-rng=on --num-threads=16 --max-requests=0 \

Re: ARM: AM335x: Reboot broken in 3.11

2013-08-09 Thread Lars Poeschel
Am Donnerstag, 8. August 2013, 15:50:18 schrieb Mark Jackson: Rebooting appears to have broken in 3.11 (at some point before rc1). Here is the console output:- [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 3.11.0-rc1-6-gf550793 (mpfj@mpfj-nanobone) (gcc

Re: [PATCH v9 06/16] ARM: dts: Add description of System MMU of Exynos SoCs

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 15:15:57 Cho KyongHo wrote: On Fri, 09 Aug 2013 00:26:51 +0200, Tomasz Figa wrote: Hi KyongHo, On Thursday 08 of August 2013 18:38:35 Cho KyongHo wrote: Signed-off-by: Cho KyongHo pullip@samsung.com ---

[PATCH] staging: gdm7240: a TTY rewrite according to the latest TTY APIs

2013-08-09 Thread Won Kang
Removed the old style reference countings and termios. Renamed variables to meaninful ones. Signed-off-by: Won Kang wonk...@gctsemi.com --- drivers/staging/gdm724x/gdm_tty.c | 294 ++--- drivers/staging/gdm724x/gdm_tty.h |5 +- 2 files changed, 142

[git pull] Please pull powerpc.git merge branch

2013-08-09 Thread Benjamin Herrenschmidt
Hi Linus ! Here are some powerpc fixes for you. This includes small series from Michael Neuling to fix a couple of nasty remaining problems with the new Power8 support, also targeted at stable 3.10, without which some new userspace accessible registers aren't properly context switched, and in

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-08-09 Thread Alexander Gordeev
On Mon, Jul 29, 2013 at 07:46:53AM -0400, Tejun Heo wrote: One thing which would probably be worthwhile tho is getting rid of the bitmap based qc tag allocator in libata. That one is just borderline stupid to keep around on any setup which is supposed to be scalable. Hi Tejun, How about this

Re: [PATCH v4 1/1] ASoc: kirkwood: add DT support to the mvebu audio subsystem

2013-08-09 Thread Sebastian Hesselbarth
On 08/08/2013 01:22 PM, Jean-Francois Moine wrote: This patch adds DT support to the audio subsystem of the mvebu family (Kirkwood, Dove, Armada 370). Signed-off-by: Jean-Francois Moine moin...@free.fr --- .../devicetree/bindings/sound/mvebu-audio.txt | 29 ++

RE: [PATCH v3 3/3] dma: Add Freescale eDMA engine driver support

2013-08-09 Thread Lu Jingchang-B35083
Hi, Vinod, Could you please help to review the Freescale eDMA driver support patch? Many thanks. Best Regards, Jingchang -Original Message- From: Lu Jingchang-B35083 Sent: Tuesday, August 06, 2013 2:05 PM To: vinod.k...@intel.com Cc: d...@fb.com; shawn@linaro.org;

[PATCH] dca: Staticize local symbol

2013-08-09 Thread Jingoo Han
This local symbol is used only in this file. Fix the following sparse warnings: drivers/dca/dca-core.c:273:4: warning: symbol 'dca_common_get_tag' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/dca/dca-core.c |2 +- 1 file changed, 1

Re: [PATCH v9 07/16] iommu/exynos: support for device tree

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 15:37:30 Cho KyongHo wrote: On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote: Hi KyongHo, On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote: This commit adds device tree support for System MMU. This also include the following changes and

Re: [PATCH v9 14/16] iommu/exynos: add support for power management subsystems.

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 16:49:43 Cho KyongHo wrote: On Fri, 09 Aug 2013 01:03:05 +0200, Tomasz Figa wrote: Hi KyongHo, nit: Please drop the trailing dot at the end of patch subject. Oh. I didn't catch that. Thank you. On Thursday 08 of August 2013 18:41:17 Cho KyongHo wrote:

Re: [PATCH v9 03/16] iommu/exynos: fix page table maintenance

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 09:47:28 +0200, Tomasz Figa wrote: Hi KyongHo, On Friday 09 of August 2013 13:15:20 Cho KyongHo wrote: On Thu, 08 Aug 2013 15:54:50 +0200, Tomasz Figa wrote: On Thursday 08 of August 2013 18:37:43 Cho KyongHo wrote: This prevents allocating lv2 page table for the

[PATCH 02/13] tracing/probes: Fix basic print type functions

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The print format of s32 type was ld and it's casted to long. So it turned out to print 4294967295 for -1 on 64-bit systems. Not sure whether it worked well on 32-bit systems. Anyway, it'd be better if we have exact format and type cast for each types on

[PATCH 11/13] tracing/kprobes: Add priv argument to fetch functions

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com This argument is for passing private data structure to each fetch function and will be used by uprobes. Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc:

[PATCH 08/13] tracing/kprobes: Move common functions to trace_probe.h

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The __get_data_size() and store_trace_args() will be used by uprobes too. Move them to a common location. Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc:

[PATCH 13/13] tracing/uprobes: Add support for full argument access methods

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Enable to fetch other types of argument for the uprobes. IOW, we can access stack, memory, deref, bitfield and retval from uprobes now. Original-patch-by: Hyeoncheol Lee cheol@lge.com Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar

[PATCH 12/13] tracing/uprobes: Add more fetch functions

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Implement uprobe-specific stack and memory fetch functions and add them to the uprobes_fetch_type_table. Other fetch fucntions will be shared with kprobes. Original-patch-by: Hyeoncheol Lee cheol@lge.com Cc: Masami Hiramatsu

[PATCH 09/13] tracing/kprobes: Integrate duplicate set_print_fmt()

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The set_print_fmt() functions are implemented almost same for [ku]probes. Move it to a common place and get rid of the duplication. Acked-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Cc: Oleg

[PATCH 07/13] tracing/uprobes: Convert to struct trace_probe

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Convert struct trace_uprobe to make use of the common trace_probe structure. Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc: zhangwei(Jovi) jovi.zhang...@huawei.com

[PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Fetching from user space should be done in a non-atomic context. So use a temporary buffer and copy its content to the ring buffer atomically. While at it, use __get_data_size() and store_trace_args() to reduce code duplication. Cc: Masami Hiramatsu

[PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v3)

2013-08-09 Thread Namhyung Kim
Hello, This patchset implements memory (address), stack[N], deference, bitfield and retval (it needs uretprobe tho) fetch methods for uprobes. It's based on the previous work [1] done by Hyeoncheol Lee. Now kprobes and uprobes have their own fetch_type_tables and, in turn, memory and stack

[PATCH 06/13] tracing/kprobes: Factor out struct trace_probe

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com There are functions that can be shared to both of kprobes and uprobes. Separate common data structure to struct trace_probe and use it from the shared functions. Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju

[PATCH 05/13] tracing/kprobes: Staticize stack and memory fetch functions

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Those fetch functions need to be implemented differently for kprobes and uprobes. Since the deref fetch functions don't call those directly anymore, we can make them static and implement them separately. Cc: Masami Hiramatsu

[PATCH 03/13] tracing/kprobes: Move fetch functions to trace_kprobe.c

2013-08-09 Thread Namhyung Kim
From: Hyeoncheol Lee cheol@lge.com Move kprobes-specific fetch functions to the trace_kprobe.c file. Also define kprobes_fetch_type_table in the .c file. This table is shared with uprobes for now, but the uprobes will get its own table in the later patch. This is a preparation for

[PATCH 04/13] tracing/kprobes: Add fetch{,_size} member into deref fetch method

2013-08-09 Thread Namhyung Kim
From: Hyeoncheol Lee cheol@lge.com The deref fetch methods access a memory region but it assumes that it's a kernel memory since uprobes does not support them. Add -fetch and -fetch_size member in order to provide a proper access methods for supporting uprobes. Cc: Masami Hiramatsu

[PATCH 01/13] tracing/uprobes: Fix a comment for uprobe registration syntax

2013-08-09 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The uprobe syntax requires an offset after a file path not a symbol. Reviewed-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc: zhangwei(Jovi) jovi.zhang...@huawei.com

Re: [PATCH v9 04/16] iommu/exynos: allocate lv2 page table from own slab

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 09:55:30 +0200, Tomasz Figa wrote: Hi KyongHo, On Friday 09 of August 2013 14:58:49 Cho KyongHo wrote: On Thu, 08 Aug 2013 16:00:18 +0200, Tomasz Figa wrote: On Thursday 08 of August 2013 18:38:04 Cho KyongHo wrote: Since kmalloc() does not guarantee that the

Re: [PATCH v9 06/16] ARM: dts: Add description of System MMU of Exynos SoCs

2013-08-09 Thread Cho KyongHo
On Fri, 09 Aug 2013 10:04:03 +0200, Tomasz Figa wrote: On Friday 09 of August 2013 15:15:57 Cho KyongHo wrote: On Fri, 09 Aug 2013 00:26:51 +0200, Tomasz Figa wrote: Hi KyongHo, On Thursday 08 of August 2013 18:38:35 Cho KyongHo wrote: Signed-off-by: Cho KyongHo

Re: [PATCH v4 1/1] ASoc: kirkwood: add DT support to the mvebu audio subsystem

2013-08-09 Thread Jean-Francois Moine
On Fri, 09 Aug 2013 10:23:50 +0200 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 08/08/2013 01:22 PM, Jean-Francois Moine wrote: This patch adds DT support to the audio subsystem of the mvebu family (Kirkwood, Dove, Armada 370). Signed-off-by: Jean-Francois Moine

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-08-09 Thread azurIt
Hi azur, here is the x86-only rollup of the series for 3.2. Thanks! Johannes Hi Johannes, i'm running kernel with this new patch for 1 day now without any problems! Will report back in few weeks or months or in case of any problems occures. Thank you! azur -- To unsubscribe from this

Re: [PATCH 02/13] tracing/probes: Fix basic print type functions

2013-08-09 Thread Masami Hiramatsu
(2013/08/09 17:44), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The print format of s32 type was ld and it's casted to long. So it turned out to print 4294967295 for -1 on 64-bit systems. Not sure whether it worked well on 32-bit systems. Anyway, it'd be better if we

Re: [PATCH v1 04/14] clk: Add set_rate_and_parent() op

2013-08-09 Thread James Hogan
Hi Stephen, On 25/07/13 01:43, Stephen Boyd wrote: Some of Qualcomm's clocks can change their parent and rate at the same time with a single register write. Add support for this hardware to the common clock framework by adding a new set_rate_and_parent() op. When the clock framework

Re: [PATCH 03/13] tracing/kprobes: Make stack and memory fetch functions static

2013-08-09 Thread Masami Hiramatsu
(2013/08/09 16:35), Namhyung Kim wrote: Hi Masami-san, On Mon, 05 Aug 2013 18:04:09 +0900, Masami Hiramatsu wrote: (2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com Those fetch functions need to be implemented differently for kprobes and uprobes. Since the

Re: [PATCH 04/13] tracing/kprobes: Add fetch{,_size} member into deref fetch method

2013-08-09 Thread Masami Hiramatsu
(2013/08/09 17:45), Namhyung Kim wrote: From: Hyeoncheol Lee cheol@lge.com The deref fetch methods access a memory region but it assumes that it's a kernel memory since uprobes does not support them. Add -fetch and -fetch_size member in order to provide a proper access methods for

Re: [PATCH 05/13] tracing/kprobes: Staticize stack and memory fetch functions

2013-08-09 Thread Masami Hiramatsu
(2013/08/09 17:45), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com Those fetch functions need to be implemented differently for kprobes and uprobes. Since the deref fetch functions don't call those directly anymore, we can make them static and implement them separately. Right

Re: [PATCH v4 1/1] ASoc: kirkwood: add DT support to the mvebu audio subsystem

2013-08-09 Thread Mark Brown
On Fri, Aug 09, 2013 at 10:23:50AM +0200, Sebastian Hesselbarth wrote: On 08/08/2013 01:22 PM, Jean-Francois Moine wrote: +i2s1: audio-controller@b4000 { +compatible = mrvl,mvebu-audio; +reg = 0xb4000 0x2210; +interrupts = 21, 22; +clocks = gate_clk 13; +clock-names =

[PATCH v2 00/20] mm, hugetlb: remove a hugetlb_instantiation_mutex

2013-08-09 Thread Joonsoo Kim
Without a hugetlb_instantiation_mutex, if parallel fault occur, we can fail to allocate a hugepage, because many threads dequeue a hugepage to handle a fault of same address. This makes reserved pool shortage just for a little while and this cause faulting thread to get a SIGBUS signal, although

[PATCH v2 19/20] mm, hugetlb: retry if failed to allocate and there is concurrent user

2013-08-09 Thread Joonsoo Kim
If parallel fault occur, we can fail to allocate a hugepage, because many threads dequeue a hugepage to handle a fault of same address. This makes reserved pool shortage just for a little while and this cause faulting thread who can get hugepages to get a SIGBUS signal. To solve this problem, we

[PATCH v2 17/20] mm, hugetlb: move up anon_vma_prepare()

2013-08-09 Thread Joonsoo Kim
If we fail with a allocated hugepage, we need some effort to recover properly. So, it is better not to allocate a hugepage as much as possible. So move up anon_vma_prepare() which can be failed in OOM situation. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/hugetlb.c

[PATCH v2 20/20] mm, hugetlb: remove a hugetlb_instantiation_mutex

2013-08-09 Thread Joonsoo Kim
Now, we have prepared to have an infrastructure in order to remove a this awkward mutex which serialize all faulting tasks, so remove it. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 0501fe5..f2c3a51 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c

Re: [PATCH 5/8] rcu: eliminate deadlock for rcu read site

2013-08-09 Thread Lai Jiangshan
On 08/09/2013 04:40 AM, Paul E. McKenney wrote: On Wed, Aug 07, 2013 at 06:25:01PM +0800, Lai Jiangshan wrote: Background) Although all articles declare that rcu read site is deadlock-immunity. It is not true for rcu-preempt, it will be deadlock if rcu read site overlaps with scheduler lock.

[PATCH v2 06/20] mm, hugetlb: return a reserved page to a reserved pool if failed

2013-08-09 Thread Joonsoo Kim
If we fail with a reserved page, just calling put_page() is not sufficient, because put_page() invoke free_huge_page() at last step and it doesn't know whether a page comes from a reserved pool or not. So it doesn't do anything related to reserved count. This makes reserve count lower than how we

[PATCH v2 18/20] mm, hugetlb: clean-up error handling in hugetlb_cow()

2013-08-09 Thread Joonsoo Kim
Current code include 'Caller expects lock to be held' in every error path. We can clean-up it as we do error handling in one place. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 7e9a651..8743e5c 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@

[PATCH v2 12/20] mm, hugetlb: remove vma_has_reserves()

2013-08-09 Thread Joonsoo Kim
vma_has_reserves() can be substituted by using return value of vma_needs_reservation(). If chg returned by vma_needs_reservation() is 0, it means that vma has reserves. Otherwise, it means that vma don't have reserves and need a hugepage outside of reserve pool. This definition is perfectly same

[PATCH v2 14/20] mm, hugetlb: call vma_needs_reservation before entering alloc_huge_page()

2013-08-09 Thread Joonsoo Kim
In order to validate that this failure is reasonable, we need to know whether allocation request is for reserved or not on caller function. So moving vma_needs_reservation() up to the caller of alloc_huge_page(). There is no functional change in this patch and following patch use this information.

[PATCH v2 13/20] mm, hugetlb: mm, hugetlb: unify chg and avoid_reserve to use_reserve

2013-08-09 Thread Joonsoo Kim
Currently, we have two variable to represent whether we can use reserved page or not, chg and avoid_reserve, respectively. With aggregating these, we can have more clean code. This makes no functinoal difference. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/hugetlb.c

[PATCH v2 15/20] mm, hugetlb: remove a check for return value of alloc_huge_page()

2013-08-09 Thread Joonsoo Kim
Now, alloc_huge_page() only return -ENOSPEC if failed. So, we don't worry about other return value. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/hugetlb.c b/mm/hugetlb.c index bc666cf..24de2ca 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -2544,7 +2544,6 @@

[PATCH v2 11/20] mm, hugetlb: make vma_resv_map() works for all mapping type

2013-08-09 Thread Joonsoo Kim
Util now, we get a resv_map by two ways according to each mapping type. This makes code dirty and unreadable. So unfiying it. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 869c3e0..e6c0c77 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -421,13

[PATCH v2 16/20] mm, hugetlb: move down outside_reserve check

2013-08-09 Thread Joonsoo Kim
Just move down outside_reserve check and don't check vma_need_reservation() when outside_resever is true. It is slightly optimized implementation. This makes code more readable. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 24de2ca..2372f75

  1   2   3   4   5   6   7   8   9   10   >