Re: [PATCH v3 3/5] char: ti-usim: Add driver for USIM module on AM43xx

2014-05-29 Thread Satish Patel
On 5/29/2014 9:23 PM, Greg Kroah-Hartman wrote: On Thu, May 29, 2014 at 03:35:37PM +0530, Satish Patel wrote: +enum usim_card_mode { + USIM_CARD_MODE_ASYNC = 0, /* asynchronous mode */ + USIM_CARD_MODE_SYNC_TYPE1, /* synchronous mode: Type 1 */ +

[PATCH 1/2] hugetlb: restrict hugepage_migration_support() to x86_64

2014-05-29 Thread Naoya Horiguchi
Curretly hugepage migration is available for all archs which support pmd-level hugepage, but testing is done only for x86_64 and there're bugs for other archs. So to avoid breaking such archs, this patch limits the availability strictly to x86_64 until developers of other archs get interested in

[PATCH 2/2] hugetlb: rename hugepage_migration_support() to ..._supported()

2014-05-29 Thread Naoya Horiguchi
We already have a function named hugepage_supported(), and the similar name hugepage_migration_support() is a bit unconfortable, so let's rename it hugepage_migration_supported(). Signed-off-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com --- include/linux/hugetlb.h | 4 ++-- mm/hugetlb.c

Re: Unionmount and overlayfs testsuite

2014-05-29 Thread Sedat Dilek
On Thu, May 29, 2014 at 10:59 PM, David Howells dhowe...@redhat.com wrote: Sedat Dilek sedat.di...@gmail.com wrote: Fixable in your testsuite? Done and pushed. Thanks. I still see lots of... umount: /mnt: not mounted ...and impermissible.test fails here... *** *** ./run.sh

Re: Unionmount and overlayfs testsuite

2014-05-29 Thread Sedat Dilek
On Fri, May 30, 2014 at 6:15 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Thu, May 29, 2014 at 10:59 PM, David Howells dhowe...@redhat.com wrote: Sedat Dilek sedat.di...@gmail.com wrote: Fixable in your testsuite? Done and pushed. Thanks. I still see lots of... umount: /mnt: not

Re: [PATCH 0/3] staging: comedi: addi_apci_1564: prepare for adding Change-of-State interrupt support

2014-05-29 Thread Chase Southwood
Hi Greg, On Sat, May 24, 2014 at 5:23 PM, Chase Southwood chase.southw...@gmail.com wrote: This patchset adds the required subdevice for supporting DI COS interrupts, as well as introducing a driver-specific private data struct that will make the COS interrupt operations much more

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 7:12 PM, Minchan Kim minc...@kernel.org wrote: Interim report, And result is as follows, It reduce about 800-byte compared to my first report but still stack usage seems to be high. Really needs diet of VM functions. Yes. And in this case uninlining things might

[PATCH 0/6] staging: comedi: addi_apci_1564: fix Change-of-State interrupt functionality.

2014-05-29 Thread Chase Southwood
This patchset introduces a new private data struct for this driver, adds all of the code required to support Change-of-State interrupts for the digital input subsystem, and finally focuses and fixes apci1564_interrupt() to service this type of interrupt correctly. Chase Southwood (6): staging:

[PATCH 2/6] staging: comedi: addi_apci_1564: remove use of devpriv-b_OutputMemoryStatus

2014-05-29 Thread Chase Southwood
This member of the private data struct is only set at one location in the entire driver, and then never even used for anything. Let's just remove its use. Signed-off-by: Chase Southwood chase.southw...@gmail.com Cc: Ian Abbott abbo...@mev.co.uk Cc: H Hartley Sweeeten hswee...@visionengravers.com

[PATCH 1/6] staging: comedi: addi_apci_1564: remove send_sig() use

2014-05-29 Thread Chase Southwood
The addi-data drivers use send_sig() to let the user know when an interrupt has occurred. The standard way to do this in the comedi subsystem is to have a subdevice that supports asynchronous commands and use comedi_event() to signal the user. Remove the send_sig() usage in this driver.

[PATCH 4/6] staging: comedi: addi_apci_1564: add a subdevice for Change-of-State interrupt support

2014-05-29 Thread Chase Southwood
This board supports an interrupt that can be generated by an AND/OR combination of 16 of the input channels. Create a separate subdevice to handle this interrupt. Signed-off-by: Chase Southwood chase.southw...@gmail.com Cc: Ian Abbott abbo...@mev.co.uk Cc: H Hartley Sweeten

[PATCH 5/6] staging: comedi: addi_apci_1564: hook-up the interrupt subdevice

2014-05-29 Thread Chase Southwood
The board supported by this driver can generate an interrupt based on the state of input channels 0-15. The apci1564_di_config() function is used to configure which inputs are used to generate the interrupt. Currently this function is broken since it does not follow the comedi API for insn_config

[PATCH 3/6] staging: comedi: addi_apci_1564: introduce apci1564_private struct

2014-05-29 Thread Chase Southwood
The addi_private struct defined in addi-data/addi_common.h is very bloated and contains many fields which addi_apci_1564 does not require. In the interest of eventually removing this driver's dependency on addi_common.h, we can create a private data struct specifically for addi_apci_1564

Re: Unionmount and overlayfs testsuite

2014-05-29 Thread J. R. Okajima
J. R. Okajima: - readlink.test, fs_op readlink $file -R $testdir/direct_dir_sym100 ${termslash:+-E EINVAL} It expects $testdir/direct_dir_sym100. Does it mean UnionMount converts the target path? For example, - /u = /rw + /ro - /rw/symlinkA doesn't exist - /ro/symlinkA

[PATCH 6/6] staging: comedi: addi_apci_1564: cleanup v_ADDI_Interrupt()

2014-05-29 Thread Chase Southwood
Move the function apci1564_interrupt() from hwdrv_apci1564.c to addi_apci_1564.c. On moving, for now just strip out all of the code for interrupts that the driver does not yet support at this time. Rename the variable ui_InterruptStatus_1564 to ctrl, and change the return from IRQ_RETVAL(1) to

Re: [RFC PATCH 3/3] clk: tegra: Implement Tegra124 shared/cbus clks

2014-05-29 Thread Mike Turquette
Quoting Nishanth Menon (2014-05-29 16:22:45) On 05/26/2014 08:07 AM, Thierry Reding wrote: On Wed, May 14, 2014 at 12:35:18PM -0700, Mike Turquette wrote: Quoting Thierry Reding (2014-05-14 07:27:40) [...] As for shared clocks I'm only aware of one use-case, namely EMC scaling. Using

Re: [PATCH 18/27] perf tools: Add callback function to hist_entry_iter

2014-05-29 Thread Namhyung Kim
On Thu, 29 May 2014 15:16:51 +0200, Jiri Olsa wrote: On Thu, May 29, 2014 at 12:58:21PM +0900, Namhyung Kim wrote: +static int hist_iter__report_callback(struct hist_entry_iter *iter, + struct addr_location *al, void *arg) +{ +int err = 0; +struct

Re: fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s! [systemd-udevd:1667]

2014-05-29 Thread Al Viro
On Thu, May 29, 2014 at 12:14:51PM -0700, Linus Torvalds wrote: Yeah, I don't think you can reproduce that, but I guess renaming directories into each other (two renames needed) could trigger an ABBA deadlock by changing the topological order of dentry/parent. I suspect there's no way in

Re: [PATCH v4 2/3] mfd: intel_soc_pmic: Crystal Cove support

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 7:49 PM, Lee Jones wrote: On Thu, 29 May 2014, Zhu, Lejun wrote: This patch provides chip-specific support for Crystal Cove. Crystal Cove is the PMIC in Baytrail-T platform. (...) +enum crystal_cove_irq { +PWRSRC_IRQ = 0, +THRM_IRQ, +BCU_IRQ, +ADC_IRQ, +

Re: [PATCH v4 3/3] mfd: intel_soc_pmic: Build files

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 7:43 PM, Lee Jones wrote: This patch adds Intel SoC PMIC support to the build files. These changes shouldn't really be in a separate patch. I'll move them into the first (core.c) patch. Best Regards Lejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH v4 1/3] mfd: intel_soc_pmic: Core driver

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 7:40 PM, Lee Jones wrote: [...] +static int intel_soc_pmic_find_gpio_irq(struct device *dev) +{ +struct gpio_desc *desc; +int irq; + +desc = devm_gpiod_get_index(dev, KBUILD_MODNAME, 0); What does KBUILD_MODNAME translate to? It translates into

Re: [PATCHSET 00/27] perf tools: Add support to accumulate hist periods (v11)

2014-05-29 Thread Namhyung Kim
On Thu, 29 May 2014 15:59:00 +0200, Jiri Olsa wrote: On Thu, May 29, 2014 at 12:58:03PM +0900, Namhyung Kim wrote: Hello, This is a new attempt to implement cumulative hist period report. This work begins from Arun's SORT_INCLUSIVE patch [1] but I completely rewrote it from scratch. This

Re: fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s! [systemd-udevd:1667]

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 9:50 PM, Al Viro v...@zeniv.linux.org.uk wrote: BTW, how serious is the problem with __lockref_is_dead(dentry-d_lockref) with only -d_parent-d_lock held? From my reading of lib/lockref.c it should be safe - we only do lockref_mark_dead() with -d_parent-d_lock held,

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 9:21 PM, Greg KH wrote: On Thu, May 29, 2014 at 02:26:55PM +0530, Satish Patel wrote: On 5/29/2014 12:14 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: +/** + * struct sc_phy - The basic smart card phy structure + * + * @dev: phy device + *

Re: [PATCH] clk: exynos5420: Keep aclk66_peric enabled during boot

2014-05-29 Thread Tomasz Figa
Hi, On 30.05.2014 00:29, Mike Turquette wrote: Quoting Doug Anderson (2014-05-29 14:21:36) Right now if you've got earlyprintk enabled on exynos5420-peach-pit then you'll get a hang on boot. Here's why: 1. The i2c-s3c2410 driver will probe at subsys_initcall. It will enable its clock

Re: [PATCH v11 0/3] Exynos 5410 support

2014-05-29 Thread Tomasz Figa
Hi Andreas, On 29.05.2014 20:00, Andreas Färber wrote: [snip] Some of the low-hanging fruit like no heartbeat/SD LEDs, no RTC, no usb3503 and thus no network I'm already looking into myself. For now I'm putting everything into the SMDK .dts, but I guess we'll need to split off -odroidxu.dts

Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table

2014-05-29 Thread George Spelvin
Olay, recompiled with the acpi-cpufreq driver, so the performance governor actually works, pegging the frequency at 3900 MHz. Existing (old) code: [ 455.641397] [ 455.641397] testing speed of crc32c [ 455.641403] test 0 ( 16 byte blocks, 16 bytes per update, 1 updates): 73

Re: [PATCH v4 00/16] PCI/iommu: Fix DMA alias problems

2014-05-29 Thread Andrew Cooks
On Thu, May 29, 2014 at 4:29 AM, Bjorn Helgaas bhelg...@google.com wrote: On Thu, May 22, 2014 at 05:07:23PM -0600, Alex Williamson wrote: For testing, this version can be found in my git tree: git://github.com/awilliam/linux-vfio.git dma-alias-v4 Please report any issues. v4: - Change

Re: [PATCH v2 03/18] PCI: designware: Configuration space should be specified in 'reg'

2014-05-29 Thread Kishon Vijay Abraham I
Hi, On Thursday 29 May 2014 10:02 PM, Murali Karicheri wrote: On 5/29/2014 2:38 AM, ABRAHAM, KISHON VIJAY wrote: The configuration address space has so far been specified in *ranges*, however it should be specified in *reg* making it a platform MEM resource. Hence used

Re: [PATCHv5 2/4] mailbox: Introduce framework for mailbox

2014-05-29 Thread Jassi Brar
On Thu, May 29, 2014 at 9:13 PM, Matt Porter mpor...@linaro.org wrote: On Fri, May 16, 2014 at 07:03:25PM +0530, Jassi Brar wrote: On 15 May 2014 19:57, Arnd Bergmann a...@arndb.de wrote: On Thursday 15 May 2014 11:41:00 Jassi Brar wrote: ... +struct mbox_controller { + struct

[PATCH 1/3] lib: crc32: Greatly shrink CRC combining code

2014-05-29 Thread George Spelvin
There's no need for a full 32x32 matrix, when rows before the last are just shifted copies of the rows after them. There's still room for improvement (especially on X86 processors with CRC32 and PCLMUL instructions), but this is a large step in the right direction. The internal primitive is now

[PATCH 2/3] lib: crc32: mark test data __initconst

2014-05-29 Thread George Spelvin
From 1ecab5281e3cfc8c2a61648410c8b25ba2654fcb Mon Sep 17 00:00:00 2001 From: George Spelvin li...@horizon.com Date: Thu, 29 May 2014 00:08:03 -0400 Subject: [PATCH 2/3] lib: crc32: mark test data __initconst So it gets discarded after the selftest. Signed-off-by: George Spelvin li...@horizon.com

[PATCH 3/3] lib: crc32: Add some additional __pure annotations

2014-05-29 Thread George Spelvin
In case they help the compiler. Signed-off-by: George Spelvin li...@horizon.com --- As long as I'm messing with it. I also have a large patch to do this to a number of lib/ headers if anyone wants. Redundant extern removed to keep things within 80 columns. include/linux/crc32.h | 6 +++---

Re: [PATCH 0/2] x86,vdso: vdso build fixes and improvements

2014-05-29 Thread Stephen Rothwell
Hi Andy, On Thu, 29 May 2014 15:49:52 -0700 Andy Lutomirski l...@amacapital.net wrote: On Thu, May 29, 2014 at 3:41 PM, Paul Gortmaker paul.gortma...@windriver.com wrote: On 14-05-29 05:57 PM, Andy Lutomirski wrote: Patch 1 causes make;make to behave similarly to make if vdso2c fails.

Re: [RFC/PATCH 0/2] perf tools: Factor sort elide

2014-05-29 Thread Namhyung Kim
On Fri, 23 May 2014 17:15:45 +0200, Jiri Olsa wrote: hi, factoring the elide code to make perf_hpp__should_skip function cheap call/check again. Both look good to me! Acked-by: Namhyung Kim namhy...@kernel.org Also I was wondering.. do we want to get rid of sort_entry structs in favor of

Re: [PATCH 2/2] serial: imx: disable the receiver ready interrupt for imx_stop_rx

2014-05-29 Thread Dirk Behme
On 23.05.2014 06:32, Huang Shijie wrote: This patch disables the receiver ready interrupt for imx_stop_rx. It reduces the interrupt numbers when the uart is going to close or suspend. Signed-off-by: Huang Shijie b32...@freescale.com --- drivers/tty/serial/imx.c |4 1 files changed,

Re: [PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-29 Thread Dave Young
Ccing Simon. Simon, appologize for not ccing you about this kernel patch. I see you have applied the userspace patch for checking sysfs runtime existance. The userspace patch depends on this patch but it is not harmful even without this kernel patch. So applying the userspace patch before this

Re: [PATCH] staging: android: fix Missing a blank line after declarations warnings

2014-05-29 Thread Scott Weir
On Wed, May 28, 2014 at 02:30:27PM -0700, Greg KH wrote: On Wed, May 28, 2014 at 06:52:51PM +1000, Scott Weir wrote: This patch corrects coding style issue: WARNING: Missing a black line after declarations Signed-off-by: Scott Weir sjw0...@gmail.com ---

Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Ming Lei
On Fri, May 30, 2014 at 11:35 AM, Jens Axboe ax...@kernel.dk wrote: On 2014-05-29 21:34, Ming Lei wrote: On Fri, May 30, 2014 at 11:19 AM, Jens Axboe ax...@kernel.dk wrote: On 2014-05-29 20:49, Ming Lei wrote: Firstly, it isn't necessary to hold lock of vblk-vq_lock when notifying

Re: [PATCH 3.14 000/140] 3.14.5-stable review

2014-05-29 Thread NeilBrown
On Wed, 28 May 2014 21:32:19 -0700 Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.5 release. > There are 140 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. >

Re: [PATCH v2] /proc/pid/status: show all sets of pid according to ns

2014-05-29 Thread Vasily Kulikov
On Wed, May 28, 2014 at 23:27 +0400, Pavel Emelyanov wrote: > On 05/28/2014 10:28 PM, Vasily Kulikov wrote: > > On Wed, May 28, 2014 at 16:44 +0400, Pavel Emelyanov wrote: > > It will be simplier > > to parse the file -- if 'ns_ids' file contains some ID then this ID for > > every ns can be

Re: [PATCH] Provide additional sample information to Python scripts

2014-05-29 Thread Namhyung Kim
Hi Joseph, Sorry for late review, this looks very useful.. But please send a separate email for each patch and make it inlined (not attached) in the next version. On Thu, 03 Apr 2014 10:57:39 +0200, Joseph Schuchart wrote: [SNIP] > static void python_process_tracepoint(struct perf_sample

Re: Resume from suspend broken in 3.15. (bisected)

2014-05-29 Thread Dan Carpenter
On Wed, May 28, 2014 at 08:26:53PM -0400, Alex Deucher wrote: > On Wed, May 28, 2014 at 7:49 PM, Ken Moffat wrote: > > On Wed, May 28, 2014 at 06:25:21PM +0100, Ken Moffat wrote: > >> Hi Daniel, > >> > > > > [ correcting details, confirming that reverting this does fix the > > problem, adding

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Minchan Kim
On Wed, May 28, 2014 at 12:06:58PM -0400, Johannes Weiner wrote: > On Wed, May 28, 2014 at 07:13:45PM +1000, Dave Chinner wrote: > > On Wed, May 28, 2014 at 06:37:38PM +1000, Dave Chinner wrote: > > > [ cc XFS list ] > > > > [and now there is a complete copy on the XFs list, I'll add my 2c] > >

[PATCH net-next v2] mrf24j40: add managed API's provided by device layer

2014-05-29 Thread Varka Bhadram
forgot to use devm_* for spi buff. sorry for that. -Varka Bhadram Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf24j40.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/net/ieee802154/mrf24j40.c

Re: [PATCH] bio: decrease bi_iter.bi_size by len in the fail path

2014-05-29 Thread Jet Chen
On 05/29/2014 01:44 AM, Ming Lei wrote: On Thu, May 29, 2014 at 1:21 AM, Maurizio Lombardi wrote: Hi Ming, On Thu, May 29, 2014 at 12:59:19AM +0800, Ming Lei wrote: Actually, the correct thing may be like what did in the attached patch, as Maurizio discussed with me[1]. Very interestingly,

[PATCH 2/3] hwmon: (iManager2) Add support for IT8516/18/28

2014-05-29 Thread Wei-Chun Pan
Advantech's new module comes equipped with "iManager" - an embedded controller (EC), providing embedded features for system integrators to increase reliability and simplify integration. This patch add the MFD driver for enabling Advantech iManager V2.0 chipset. Available functions

[PATCH 3/3] i2c: iManager2: add support for IT8516/18/28

2014-05-29 Thread Wei-Chun Pan
Advantech's new module comes equipped with "iManager" - an embedded controller (EC), providing embedded features for system integrators to increase reliability and simplify integration. This patch add the MFD driver for enabling Advantech iManager V2.0 chipset. Available functions

[PATCH 1/3] mfd: iManager2: Add support for IT8516/18/28

2014-05-29 Thread Wei-Chun Pan
Advantech's new module comes equipped with "iManager" - an embedded controller (EC), providing embedded features for system integrators to increase reliability and simplify integration. This patch add the MFD driver for enabling Advantech iManager V2.0 chipset. Available functions

Re: [PATCH 01/27] mtd: nand: introduce function to fix a common bug in most nand-drivers not showing a device in sysfs

2014-05-29 Thread Artem Bityutskiy
On Wed, 2014-05-28 at 23:09 +0200, Alexander Holler wrote: > I'm very sorry, but I find such discussions extremly tiresome. Why discussing then at all, just go ahead and to something else. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] vmalloc: use rcu list iterator to reduce vmap_area_lock contention

2014-05-29 Thread Joonsoo Kim
Richard Yao reported a month ago that his system have a trouble with vmap_area_lock contention during performance analysis by /proc/meminfo. Andrew asked why his analysis checks /proc/meminfo stressfully, but he didn't answer it. https://lkml.org/lkml/2014/4/10/416 Although I'm not sure that

[PATCH] CMA: use MIGRATE_SYNC in alloc_contig_range()

2014-05-29 Thread Joonsoo Kim
Before commit 'mm, compaction: embed migration mode in compact_control' from David is merged, alloc_contig_range() used sync migration, instead of sync_light migration. This doesn't break anything currently because page isolation doesn't have any difference with sync and sync_light, but it could

[PATCH] CMA: correct unlock target

2014-05-29 Thread Joonsoo Kim
'cma: Remove potential deadlock situation' introduces per cma area mutex for bitmap management. It is good, but there is one mistake. When we can't find appropriate area in bitmap, we release cma_mutex global lock rather than cma->lock and this is a bug. So fix it. Signed-off-by: Joonsoo Kim

Re: [PATCH net-next v1] mrf24j40: add managed API's provided by device layer

2014-05-29 Thread Tushar Behera
On Thu, May 29, 2014 at 10:10:21AM +0530, Varka Bhadram wrote: > Hi, > Previous patch having bug in using managed API's. I fixed that. > > Regards, > Varka Bhadram. Only add relevant commit message here, no need to add 'Hi' and 'Regards'. Something like ... "Added devres managed APIs" >

[PATCH 3/3] phy: sun4i-usb: Use PTR_ERR_OR_ZERO

2014-05-29 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat Cc: Hans de Goede Cc: Maxime Ripard --- drivers/phy/phy-sun4i-usb.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c index

[PATCH 1/3] phy: exynos-dp-video: Use PTR_ERR_OR_ZERO

2014-05-29 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat Cc: Jingoo Han --- drivers/phy/phy-exynos-dp-video.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-exynos-dp-video.c b/drivers/phy/phy-exynos-dp-video.c index

[PATCH 2/3] phy: exynos-mipi-video: Use PTR_ERR_OR_ZERO

2014-05-29 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat Cc: Sylwester Nawrocki --- drivers/phy/phy-exynos-mipi-video.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-exynos-mipi-video.c b/drivers/phy/phy-exynos-mipi-video.c index

Re: [PATCH] CMA: use MIGRATE_SYNC in alloc_contig_range()

2014-05-29 Thread Minchan Kim
On Thu, May 29, 2014 at 03:25:50PM +0900, Joonsoo Kim wrote: > Before commit 'mm, compaction: embed migration mode in compact_control' > from David is merged, alloc_contig_range() used sync migration, > instead of sync_light migration. This doesn't break anything currently > because page isolation

[RFC] Per-user namespace process accounting

2014-05-29 Thread Marian Marinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have the following proposition. Number of currently running processes is accounted at the root user namespace. The problem I'm facing is that multiple containers in different user namespaces share the process counters. So if containerX

[PATCH v4 09/11] drm: sti: add Mixer

2014-05-29 Thread Benjamin Gaignard
Mixer hardware IP is responsible of mixing the different inputs layers. Z-order is managed by the mixer. We could 2 mixers: one for main path and one for auxillary path Mixers are part of Compositor hardware block Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/Makefile| 1 +

[PATCH v4 07/11] drm: sti: add GDP layer

2014-05-29 Thread Benjamin Gaignard
Generic Display Pipeline are one of the compositor input sub-devices. GDP are dedicated to graphic input like RGB plans. GDP is part of Compositor hardware block which will be introduce later. A sti_layer structure is used to abstract GDP calls from Compositor. Signed-off-by: Benjamin Gaignard

[PATCH v4 00/11] Add DRM for stih4xx platforms

2014-05-29 Thread Benjamin Gaignard
This series of patches add the support of DRM/KMS drivers for STMicroelectronics chipsets stih416 and stih407. version 4: - Remove depency between TVout it subdevices HDMI and HDA - Rework and simplify VTG and VTAC code - Fix numbers of typo and indentation -

[PATCH v4 11/11] drm: sti: Add DRM driver itself

2014-05-29 Thread Benjamin Gaignard
Make the link between all the hardware drivers and DRM/KMS interface. Create the driver itself and make it register all the sub-components. Use GEM CMA helpers for buffer allocation. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/Kconfig | 8 +

[PATCH v4 08/11] drm: sti: add VID layer

2014-05-29 Thread Benjamin Gaignard
VIDeo plug are one of the compositor input sub-devices. VID are dedicated to video inputs like YUV plans. Like GDP, VID are part of Compositor hardware block and use sti_layer structure to provide an abstraction for Compositor calls. Signed-off-by: Benjamin Gaignard ---

[PATCH v4 10/11] drm: sti: add Compositor

2014-05-29 Thread Benjamin Gaignard
Compositor control all the input sub-device (VID, GDP) and the mixer(s). It is the main entry point for composition. Layer interface is used to control the abstracted layers. Add debug in mixer, GDP and VID Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/Kconfig | 1 +

[PATCH v4 04/11] drm: sti: add HDMI driver

2014-05-29 Thread Benjamin Gaignard
Add driver for HDMI output. HDMI PHY registers are mixed into HDMI device registers and their is only one IRQ for all this hardware block. That is why PHYs aren't using phy framework but only a thin hdmi_phy_ops structure with start and stop functions. This patch introduce sti_connector structure

[PATCH v2 15/18] ARM: dts: dra7: Add dt data for PCIe controller

2014-05-29 Thread Kishon Vijay Abraham I
Added dt data for PCIe controller. This node contains dt data for both the DRA7 part of designware controller and for the designware core. The documention for this node can be found @ ../bindings/pci/ti-pci.txt. Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Kumar Gala

[PATCH v2 04/18] PCI: designware: use untranslated address while programming ATU

2014-05-29 Thread Kishon Vijay Abraham I
In DRA7, the cpu sees 32bit address, but the pcie controller can see only 28bit address. So whenever the cpu issues a read/write request, the 4 most significant bits are used by L3 to determine the target controller. For example, the cpu reserves 0x2000_ - 0x2FFF_ for PCIe controller but

[PATCH v2 02/18] phy: pipe3: insert delay to enumerate in GEN2 mode

2014-05-29 Thread Kishon Vijay Abraham I
8-bit delay value (0xF1) is required for GEN2 devices to be enumerated consistently. Added an API to be called from PHY drivers to set this delay value and called it from PIPE3 driver to set the delay value. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Roger Quadros ---

[PATCH v2 00/18] PCIe support for DRA7xx

2014-05-29 Thread Kishon Vijay Abraham I
This patch series adds support for PCIe in DRA7xx including drivers and dt data. PCIe in DRA7xx uses desingware IP and hence this re-uses the pcie desingware driver (pcie-designware.c) by Jingoo. The last couple of patches are marked as *TEMP* since the TI reset driver [1] is not yet merged and

[TEMP PATCH v2 17/18] PCI: host: pcie-dra7xx: use reset framework APIs to reset PCIe

2014-05-29 Thread Kishon Vijay Abraham I
Get reset nodes from dt and use reset framework APIs to reset PCIe. This is needed since reset is handled by the SoC. Cc: Dan Murphy Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/ti-pci.txt |4 drivers/pci/host/pci-dra7xx.c| 10

[PATCH v2 16/18] ARM: OMAP: Enable PCI for DRA7

2014-05-29 Thread Kishon Vijay Abraham I
Now that we have added PCIe driver for DRA7 SOCs, enable PCI on DRA7 SOCs. Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Kumar Gala Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git

[TEMP PATCH v2 18/18] ARM: dts: dra7: Add *resets* property for PCIe dt node

2014-05-29 Thread Kishon Vijay Abraham I
Added *resets* and *reset-names* properies for PCIe dt node. The documention for this node can be found @ ../bindings/pci/ti-pci.txt. Cc: Dan Murphy Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH V2] staging: dgap: implement proper error handling in dgap_firmware_load()

2014-05-29 Thread Dan Carpenter
On Thu, May 29, 2014 at 09:17:09AM +0900, DaeSeok Youn wrote: > Hi, Dan. > > 2014-05-28 19:11 GMT+09:00 Dan Carpenter : > > On Wed, May 28, 2014 at 06:29:38PM +0900, DaeSeok Youn wrote: > >> > In your patch it has: > >> > + dgap_tty_uninit(brd, false); > >> > > >> > But it should only be

[PATCH v2 10/18] ARM: dts: dra7xx-clocks: Add missing 32khz clocks used for PHY

2014-05-29 Thread Kishon Vijay Abraham I
Added missing 32khz clock used by PCIe PHY. The documention for this node can be found @ ../bindings/clock/ti/gate.txt. Cc: Tony Lindgren Cc: Rajendra Nayak Cc: Tero Kristo Cc: Paul Walmsley Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Kumar Gala Signed-off-by:

[PATCH v2 13/18] ARM: dts: dra7xx-clocks: Add missing clocks for second PCIe PHY instance

2014-05-29 Thread Kishon Vijay Abraham I
Added missing clocks used by second instance of PCIe PHY. The documention for this nodes can be found @ ../bindings/clock/ti/gate.txt. Cc: Rajendra Nayak Cc: Tero Kristo Cc: Paul Walmsley Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Kumar Gala Signed-off-by:

[PATCH v2 14/18] ARM: dts: dra7: Add dt data for PCIe PHY

2014-05-29 Thread Kishon Vijay Abraham I
Added dt data for PCIe PHY as a child node of ocp2scp3. The documention for this node can be found @ ../bindings/phy/ti-phy.txt. Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Kumar Gala Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi | 39

[PATCH v2 12/18] ARM: dts: dra7xx-clocks: rename pcie clocks to accommodate second PHY instance

2014-05-29 Thread Kishon Vijay Abraham I
There are two instances of PCIe PHY in DRA7xx. So renamed optfclk_pciephy_32khz, optfclk_pciephy_clk and optfclk_pciephy_div_clk to optfclk_pciephy1_32khz, optfclk_pciephy1_clk and optfclk_pciephy1_div_clk respectively. This is needed for adding the clocks for second PCIe PHY instance. Cc:

Re: [RFC PATCH v2 1/1] rename {before/after}_atomic_{inc/dec} to {before/after}_atomic

2014-05-29 Thread Peter Zijlstra
On Thu, May 29, 2014 at 12:28:10AM -0400, Pranith Kumar wrote: > There is no reason to have separete barriers for atomic_inc and atomic_dec. > All the architectures use the same barriers for both. > > We can simplify it and just have {before/after}_atomic after renaming. > > I used

[PATCH v2 11/18] ARM: dts: dra7: Add dt data for PCIe PHY control module

2014-05-29 Thread Kishon Vijay Abraham I
Added dt data for PCIe PHY control module used by PCIe PHY. The documention for this node can be found @ ../bindings/phy/ti-phy.txt Cc: Tony Lindgren Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Kumar Gala Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi | 17

[PATCH v2 05/18] PCI: host: pcie-dra7xx: add support for pcie-dra7xx controller

2014-05-29 Thread Kishon Vijay Abraham I
Added support for pcie controller in dra7xx. This driver re-uses the designware core code that is already present in kernel. Cc: Jason Gunthorpe Cc: Bjorn Helgaas Cc: Mohit Kumar Cc: Jingoo Han Cc: Marek Vasut Cc: Arnd Bergmann Signed-off-by: Kishon Vijay Abraham I ---

Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table

2014-05-29 Thread Jan Beulich
>>> "George Spelvin" 05/28/14 11:47 PM >>> >Jan Beulich wrote: >> "George Spelvin" 05/28/14 4:40 PM >>> Jan: Is support for SLE10's pre-2.18 binutils still required? >>> Your PEXTRD fix was only a year ago, so I expect, but I wanted to ask. > >> I'd much appreciate if I would be able to build

[PATCH v2 07/18] ARM: dts: DRA7: Change the parent of apll_pcie_in_clk_mux to dpll_pcie_ref_m2ldo_ck

2014-05-29 Thread Kishon Vijay Abraham I
From: Keerthy Change the parent of apll_pcie_in_clk_mux to dpll_pcie_ref_m2ldo_ck from dpll_pcie_ref_ck. Cc: Rajendra Nayak Cc: Tero Kristo Cc: Paul Walmsley Signed-off-by: Keerthy Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7xx-clocks.dtsi |2 +- 1 file changed, 1

[PATCH v2 08/18] arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phy

2014-05-29 Thread Kishon Vijay Abraham I
Added hwmod data for pcie1 and pcie2 phy present in DRA7xx SOC. Also added the missing CLKCTRL OFFSET macro and CONTEXT OFFSET macro for pcie1 phy and pcie2 phy. Cc: Tony Lindgren Cc: Russell King Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/cm2_7xx.h |4 ++

[PATCH v2 09/18] arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystems

2014-05-29 Thread Kishon Vijay Abraham I
Added hwmod data for pcie1 and pcie2 subsystem present in DRA7xx SOC. Cc: Tony Lindgren Cc: Russell King Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 55 + 1 file changed, 55 insertions(+) diff --git

[PATCH v2 06/18] ARM: dts: DRA7: Add divider table to optfclk_pciephy_div clock

2014-05-29 Thread Kishon Vijay Abraham I
From: Keerthy Add divider table to optfclk_pciephy_div clock. The Documentation for divider clock can be found at ../clock/ti/divider.txt Cc: Rajendra Nayak Cc: Tero Kristo Cc: Paul Walmsley Signed-off-by: Keerthy Signed-off-by: Kishon Vijay Abraham I ---

[PATCH v2 03/18] PCI: designware: Configuration space should be specified in 'reg'

2014-05-29 Thread Kishon Vijay Abraham I
The configuration address space has so far been specified in *ranges*, however it should be specified in *reg* making it a platform MEM resource. Hence used 'platform_get_resource_*' API to get configuration address space in the designware driver. Cc: Jason Gunthorpe Cc: Bjorn Helgaas Cc: Mohit

Re: [PATCH] CMA: use MIGRATE_SYNC in alloc_contig_range()

2014-05-29 Thread Joonsoo Kim
On Thu, May 29, 2014 at 03:35:05PM +0900, Minchan Kim wrote: > On Thu, May 29, 2014 at 03:25:50PM +0900, Joonsoo Kim wrote: > > Before commit 'mm, compaction: embed migration mode in compact_control' > > from David is merged, alloc_contig_range() used sync migration, > > instead of sync_light

[PATCH 1/3] init/calibrate.c: convert printk(KERN_NOTICE to pr_notice

2014-05-29 Thread Fabian Frederick
Cc: Paul Gortmaker Cc: Andrew Morton --- init/calibrate.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/init/calibrate.c b/init/calibrate.c index 520702d..0d747bb 100644 --- a/init/calibrate.c +++ b/init/calibrate.c @@ -95,10 +95,8 @@ static

[PATCH v4 03/11] drm: sti: add VTAC drivers

2014-05-29 Thread Benjamin Gaignard
Video Traffic Advance Communication Rx and Tx drivers are designed for inter-die communication. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/Makefile | 3 +- drivers/gpu/drm/sti/sti_vtac.c | 211 + 2 files changed, 213 insertions(+), 1

Re: [RFC][PATCH 0/8] sched,idle: need resched polling rework

2014-05-29 Thread Peter Zijlstra
On Wed, May 28, 2014 at 05:01:41PM -0700, Andy Lutomirski wrote: > On Thu, May 22, 2014 at 6:09 AM, Peter Zijlstra wrote: > > On Thu, May 22, 2014 at 02:58:18PM +0200, Peter Zijlstra wrote: > >> --- > >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c > >> index 4ea7b3f1a087..a5da85fb3570

[PATCH 2/3] init/calibrate.c: use __func__ in logging

2014-05-29 Thread Fabian Frederick
-coalesce formats in all pr_info -use __func__ in pr_notice and pr_info (Calibrating delay -> calibrate_delay()). Cc: Paul Gortmaker Cc: Andrew Morton --- init/calibrate.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/init/calibrate.c

[PATCH v4 06/11] drm: sti: add TVOut driver

2014-05-29 Thread Benjamin Gaignard
TVout hardware block is responsible to dispatch the data flow coming from compositor block to any of the output (HDMI or Analog TV). It control when output are start/stop and configure according the require flow path. TVout is the parent of HDMI and HDA drivers and bind them at runtime.

[PATCH v2 01/18] phy: phy-omap-pipe3: Add support for PCIe PHY

2014-05-29 Thread Kishon Vijay Abraham I
PCIe PHY uses an external pll instead of the internal pll used by SATA and USB3. So added support in pipe3 PHY to use external pll. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Roger Quadros --- Documentation/devicetree/bindings/phy/ti-phy.txt |8 +- drivers/phy/phy-ti-pipe3.c

[PATCH v4 01/11] drm: sti: add bindings for DRM driver

2014-05-29 Thread Benjamin Gaignard
Add DRM/KMS driver bindings documentation. Describe the required properties for each of the hardware IPs drivers. Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/gpu/st,stih4xx.txt | 189 + 1 file changed, 189 insertions(+) create mode 100644

[PATCH v4 05/11] drm: sti: add HDA driver

2014-05-29 Thread Benjamin Gaignard
Add driver to support analog TV ouput. As HDMI driver HDA use sti_connector structure to provide helper functions. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/Makefile | 3 +- drivers/gpu/drm/sti/sti_hda.c | 723 ++ 2 files changed, 725

Re: [RFC] Implement Batched (group) ticket lock

2014-05-29 Thread Peter Zijlstra
On Wed, May 28, 2014 at 05:46:39PM +0530, Raghavendra K T wrote: > In virtualized environment there are mainly three problems > related to spinlocks that affect performance. > 1. LHP (lock holder preemption) > 2. Lock Waiter Preemption (LWP) > 3. Starvation/fairness > > Though ticketlocks solve

[PATCH 3/3] init/calibrate.c: no prefix in logging

2014-05-29 Thread Fabian Frederick
define pr_fmt without prefix to avoid any default prefix update Cc: Paul Gortmaker Cc: Andrew Morton --- init/calibrate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/calibrate.c b/init/calibrate.c index fb9be44..169e98d 100644 --- a/init/calibrate.c +++ b/init/calibrate.c @@

[PATCH v4 02/11] drm: sti: add VTG driver

2014-05-29 Thread Benjamin Gaignard
Video Time Generator drivers are used to synchronize the compositor and tvout hardware IPs by providing line count, sample count, synchronization signals (HSYNC, VSYNC) and top and bottom fields indication. VTG are used by pair for each data path (main or auxiliary) one for master and one for

Re: [PATCH v2 16/18] ARM: OMAP: Enable PCI for DRA7

2014-05-29 Thread Jingoo Han
On Thursday, May 29, 2014 3:38 PM, Kishon Vijay Abraham I wrote: > > Now that we have added PCIe driver for DRA7 SOCs, enable PCI on > DRA7 SOCs. > > Cc: Tony Lindgren > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Kumar Gala > Signed-off-by: Kishon Vijay Abraham I > --- >

<    5   6   7   8   9   10   11   12   13   14   >