Re: [Patch] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-09-23 Thread Jiang Liu
On 2014/9/23 17:43, Joe.C wrote: > On Mon, 2014-09-22 at 16:17 +0800, Jiang Liu wrote: >> @@ -388,7 +389,6 @@ EXPORT_SYMBOL_GPL(irq_create_direct_mapping); >> unsigned int irq_create_mapping(struct irq_domain *domain, >> irq_hw_number_t hwirq) >> { >> -unsigned

Re: linux-next: build failure after merge of the samsung tree

2014-09-23 Thread Stephen Rothwell
Hi Kukjin, On Wed, 24 Sep 2014 12:04:36 +0900 Kukjin Kim wrote: > > > After merging the samsung tree, today's linux-next build (arm > > multi_v7_defconfig) > > failed like this: > > > > arch/arm/boot/dts/exynos5250-snow.dts:13:46: fatal error: > > dt-bindings/clock/maxim,max77686.h: No such >

linux-next: manual merge of the tip tree with the audit tree

2014-09-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/x86/kernel/ptrace.c between commit 91397401bb50 ("ARCH: AUDIT: audit_syscall_entry() should not require the arch") from the audit tree and commit e0ffbaabc46d ("x86: Split syscall_trace_enter into two phases") from the tip

Re: [PATCH] dma: cppi41: Switch to using managed resource in probe

2014-09-23 Thread Kiran Padwal
On Tuesday 23 September 2014 09:10 PM, Vinod Koul wrote: > On Tue, Sep 23, 2014 at 06:20:46PM +0530, Kiran Padwal wrote: >> This change uses managed resource APIs to allocate resources such as, >> mem, irq in order to simplify the driver unload or failure cases. >> >> Signed-off-by: Kiran Padwal

Re: [PATCH v2 1/2] perf: Add sampling of the raw monotonic clock

2014-09-23 Thread Namhyung Kim
Hi Pawel, On Tue, 23 Sep 2014 18:03:06 +0100, Pawel Moll wrote: > This patch adds an option to sample raw monotonic clock > value with any perf event, with the the aim of allowing > time correlation between data coming from perf and > additional performance-related information generated in >

linux-next: manual merge of the tip tree with the audit tree

2014-09-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/x86/kernel/entry_64.S between commit b4f0d3755c5e ("audit: x86: drop arch from __audit_syscall_entry() interface") from the audit tree and commit 1dcf74f6edfc ("x86_64, entry: Use split-phase syscall_trace_enter for 64-bit

Re: [GIT PULL] qcom DT changes for v3.18-2

2014-09-23 Thread Olof Johansson
On Mon, Sep 22, 2014 at 03:15:47PM -0500, Kumar Gala wrote: > The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: > > Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) > > are available in the git repository at: > >

Re: [GIT PULL] qcom DT changes for v3.18

2014-09-23 Thread Olof Johansson
On Fri, Sep 12, 2014 at 02:40:41PM -0500, Kumar Gala wrote: > The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: > > Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) > > are available in the git repository at: > >

Re: [PATCH v2] soc: qcom: do not disable the iface clock in probe

2014-09-23 Thread Olof Johansson
On Tue, Sep 23, 2014 at 08:20:54PM +0100, Srinivas Kandagatla wrote: > since commit 31964ffebbb9 ("tty: serial: msm: Remove direct access to GSBI")' > serial hangs if earlyprintk are enabled. > > This hang is noticed only when the GSBI driver is probed and all the > earlyprintks before gsbi probe

Re: [GIT PULL] at91: drivers for 3.18 #2 (bis)

2014-09-23 Thread Olof Johansson
On Mon, Sep 15, 2014 at 06:12:43PM +0200, Nicolas Ferre wrote: > Arnd, Olof, Kevin, > > I re-send this pull-request with the work done by Maxime to take Arnd's > comments into annount: removal of the early_platform devices, and by keeping > the old mechanism with a function exported by the PIT

Re: [Patch] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-09-23 Thread Jiang Liu
Thanks Randy! I will fix these issues in next version. Regards! Gerry On 2014/9/23 1:30, Randy Dunlap wrote: > On 09/22/14 01:17, Jiang Liu wrote: >> --- >> Documentation/IRQ-domain.txt | 71 + >> include/linux/irq.h |3 + >> include/linux/irqdomain.h| 86 ++

Re: [PATCH] parisc:Remove unnecessary FIXMES in init.c

2014-09-23 Thread Guenter Roeck
On Tue, Sep 23, 2014 at 09:49:43PM -0400, Nicholas Krause wrote: > This removes the two fixmes in the file, init.c for compiler hints > for comments related to compiler hints in linux_gateway_page_addr > and map_hpux_gateway_page to change from FIXME to HINT in order > for people reading this code

Re: [PATCH] net_dma: fix memory leak in dma_pin_iocvec_pages

2014-09-23 Thread Vinod Koul
On Wed, Sep 03, 2014 at 01:28:59PM +0400, Roman Gushchin wrote: > dma_pin_iovec_pages() calls get_user_pages() for each iovec. If > get_user_pages() returns a number smaller than the requested number, > dma_pin_iovec_pages() calls dma_unpin_iovec_pages(). It releases > previously allocated iovecs,

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread ashutosh dixit
On Tue, Sep 23 2014 at 09:59:32 PM, Andrew Morton wrote: > On Tue, 23 Sep 2014 21:51:09 -0700 ashutosh dixit > wrote: > >> On Tue, Sep 23 2014 at 05:58:19 PM, Peter Foley wrote: >> > On Tue, Sep 23, 2014 at 8:51 PM, Andrew Morton >> > wrote: >> >> Can't we just fix the Makefiles? Cook up a

Re: [PATCH v5 1/3] usb: gadget: Refactor request completion

2014-09-23 Thread Michal Sojka
Dear Felipe, On Wed, Sep 17 2014, Felipe Balbi wrote: > On Wed, Sep 17, 2014 at 09:21:11AM +0200, Michal Sojka wrote: >> All USB peripheral controller drivers called completion routines >> directly. This patch moves the completion call from drivers to >> usb_gadget_giveback_request(), in order to

Re: [PATCH 1/2] dmaengine: Add QCOM ADM DMA driver

2014-09-23 Thread Vinod Koul
On Tue, Sep 23, 2014 at 05:10:02PM -0500, Andy Gross wrote: > > > > > + break; > > > + default: > > > + achan->slave.src_maxburst = 0; > > > + achan->slave.dst_maxburst = 0; > > Why clear these for error cases > > With the return I

Re: [lxc-devel] device namespaces

2014-09-23 Thread Eric W. Biederman
riya khanna writes: > (Please pardon multiple emails, artifact of merging all separate > conversations) > > Thanks for your feedback! > > Letting the kernel know about what devices a container could access (based on > device cgroups) and having devtmpfs in the kernel create device nodes for a

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread Andrew Morton
On Tue, 23 Sep 2014 21:51:09 -0700 ashutosh dixit wrote: > On Tue, Sep 23 2014 at 05:58:19 PM, Peter Foley wrote: > > On Tue, Sep 23, 2014 at 8:51 PM, Andrew Morton > > wrote: > >> Can't we just fix the Makefiles? Cook up a rule which makes > >> headers_install (if needed) before building

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread ashutosh dixit
On Tue, Sep 23 2014 at 05:58:19 PM, Peter Foley wrote: > On Tue, Sep 23, 2014 at 8:51 PM, Andrew Morton > wrote: >> Can't we just fix the Makefiles? Cook up a rule which makes >> headers_install (if needed) before building Documentation/? > > Currently, the ordering is enforced by >

Re: [ PATCH ] Remove numa_balancing sysctl dependence on CONFIG_SCHED_DEBUG

2014-09-23 Thread Andi Kleen
John Blackwood writes: > numa: numa_balancing sysctl scope change > > Make the 'numa_balancing' sysctl parameter no longer dependent upon > CONFIG_SCHED_DEBUG so it can be used in non-debug kernels. Looks good. -Andi > > Signed-off-by: John Blackwood > > Index: b/kernel/sysctl.c >

RE: [PATCH] Export functions from pcie-designware

2014-09-23 Thread Mohit KUMAR DCG
Hello Bjorn, > -Original Message- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > Sent: Friday, September 19, 2014 10:46 AM > To: Mohit KUMAR DCG > Cc: Fabio Estevam; mat...@sai.msu.ru; Jingoo Han; linux- > p...@vger.kernel.org; linux-kernel; matwey.korni...@gmail.com > Subject: Re:

Re: mmotm 2014-09-22-16-57 uploaded

2014-09-23 Thread Guenter Roeck
On Tue, Sep 23, 2014 at 02:53:56PM -0700, Guenter Roeck wrote: > > > Neither of these patches enables CONFIG_NET. They just add dependencies. > > > This means CONFIG_NET is now disabled in at least 31 configurations where > it used to be enabled before (per my count), and there may be

[PATCH] x86: Fix section conflict for numachip

2014-09-23 Thread Andi Kleen
From: Andi Kleen A variable cannot be both __read_mostly and const. This is a meaningless combination. Just make it only const. This fixes the LTO build with numachip enabled. Signed-off-by: Andi Kleen --- arch/x86/kernel/apic/apic_numachip.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v7 0/3] Qualcomm Resource Power Manager driver

2014-09-23 Thread Bjorn Andersson
On Tue 23 Sep 01:17 PDT 2014, Srinivas Kandagatla wrote: > Hi Bjorn, > > Thankyou for the new patchset. > > I got few device-tree patches for apq8064 usb, sata, phy and hdmi which > depend on rpm header file. It will be nice to get this functionality > into 3.18. > We should be able to send

Re: [PATCH v4 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-09-23 Thread Bjorn Andersson
On Mon 15 Sep 07:44 PDT 2014, Ivan T. Ivanov wrote: > This is the pinctrl, pinmux, pinconf and gpiolib driver for the > Qualcomm GPIO sub-function blocks found in the PMIC chips. > > Signed-off-by: Ivan T. Ivanov I think this looks pretty good, just some minor comments. Mostly on the future

Re: [PATCH 1/5] rhashtable: Remove gfp_flags from insert and remove functions

2014-09-23 Thread Eric W. Biederman
Thomas Graf writes: > On 09/15/14 at 05:35am, Eric Dumazet wrote: >> On Mon, 2014-09-15 at 14:18 +0200, Thomas Graf wrote: >> > As the expansion/shrinking is moved to a worker thread, no allocations >> > will be performed anymore. >> > >> >> You meant : no GFP_ATOMIC allocations ? >> >> I

Re: [PATCH] i2c: rk3x: adjust the LOW divison based on characteristics of SCL

2014-09-23 Thread Doug Anderson
Addy, On Tue, Sep 23, 2014 at 6:55 PM, Addy Ke wrote: > As show in I2C specification: > - Standard-mode: > the minimum HIGH period of the scl clock is 4.0us > the minimum LOW period of the scl clock is 4.7us > - Fast-mode: > the minimum HIGH period of the scl clock is 0.6us > the minimum

RE: [RESEND][PATCHv2 1/2] procfs: show hierarchy of pid namespace

2014-09-23 Thread Chen, Hanxiao
Hi, > -Original Message- > From: Mateusz Guzik [mailto:mgu...@redhat.com] > On Mon, Sep 22, 2014 at 05:53:33PM +0800, Chen Hanxiao wrote: > > This patch will show the hierarchy of pid namespace > > by /proc/pidns_hierarchy like: > > > > [root@localhost ~]#cat /proc/pidns_hierarchy > >

RE: linux-next: build failure after merge of the samsung tree

2014-09-23 Thread Kukjin Kim
_) : (-ENOSYS)) > > ^ > > arch/arm/mach-tegra/cpuidle-tegra114.c:52:6: note: in expansion of macro > > 'call_firmware_op' > > if (call_firmware_op(do_idle) == -ENOSYS) > > ^ > > > > Caused by commit f5217f3b9332 (

[PATCH] fs, LLVMLinux: Remove warning from COMPATIBLE_IOCTL

2014-09-23 Thread Behan Webster
From: Mark Charlebois cmd in COMPATIBLE_IOCTL is always a u32, so cast it so there isn't a warning about an overflow in XFORM. Signed-off-by: Mark Charlebois Signed-off-by: Behan Webster Acked-by: Arnd Bergmann --- fs/compat_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] arm, vt8500, LLVMLlinux: Use mcr instead of mcr% for mach-vt8500

2014-09-23 Thread Behan Webster
The ASM below does not compile with clang and is not the way that the mcr command is used in other parts of the kernel. arch/arm/mach-vt8500/vt8500.c:72:11: error: invalid % escape in inline assembly string asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0));

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Doug Anderson
Chris, On Tue, Sep 23, 2014 at 7:51 PM, Chris Zhong wrote: > > On 09/24/2014 10:13 AM, Doug Anderson wrote: >> >> Chris, >> >> On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong wrote: >>> >>> On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM,

RE: [PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-23 Thread chen.f...@freescale.com
Thanks a lot, Hans. I know the reason that you use vm_iomap_memory() instead of remap_pfn_range(). But according to my analysis, the sanity check is not suitable for v4l2 buffers mapping. You can check the code logic to see this. Migration to vb2 is not a quick job and it is not on our

Re: [PATCH v2 1/2] cap1106: Add support for various cap11xx devices

2014-09-23 Thread Matt Ranostay
On Mon, Sep 22, 2014 at 11:46 PM, Daniel Mack wrote: > On 09/23/2014 06:04 AM, Matt Ranostay wrote: >> diff --git a/drivers/input/keyboard/cap1106.c >> b/drivers/input/keyboard/cap1106.c >> index d70b65a..07f9e88 100644 >> --- a/drivers/input/keyboard/cap1106.c >> +++

Re: FIX Me in pgtable.h

2014-09-23 Thread Laura Abbott
On 9/23/2014 6:04 AM, nick wrote: Greetings Arm Maintainers, I am wondering about the fix me in pgtable.h for define kern_addr_valid and how to set it to a correct value as you state that this needs to be fixed as the defined macro is still 1. This is probably incorrect and should be changed.

Re: [PATCH v3 3/3] cpuset: PF_SPREAD_PAGE and PF_SPREAD_SLAB should be atomic flags

2014-09-23 Thread Zefan Li
于 2014/9/24 6:10, David Rientjes wrote: > On Tue, 23 Sep 2014, Zefan Li wrote: > >> When we change cpuset.memory_spread_{page,slab}, cpuset will flip >> PF_SPREAD_{PAGE,SLAB} bit of tsk->flags for each task in that cpuset. >> This should be done using atomic bitops, but currently we don't, >>

RE: linux-next: build failure after merge of the samsung tree

2014-09-23 Thread Kukjin Kim
commit f5217f3b9332 ("ARM: EXYNOS: add AFTR mode support to > firmware do_idle method"). OK, I'll revert it firstly. Thanks. > > I have used the samsung tree from next-20140923 for today. OK. - Kukjin -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH v2 3/3] cpuset: PF_SPREAD_PAGE and PF_SPREAD_SLAB should beatomic flags

2014-09-23 Thread Zefan Li
On 2014/9/23 18:55, Tetsuo Handa wrote: > Zefan Li wrote: >> Tetsuo reported a hard-to-reproduce kernel crash on RHEL6, which happend > > s/happend/happened/ > >> @@ -1972,6 +1973,14 @@ static inline void memalloc_noio_restore(unsigned int >> flags) >> TASK_PFA_TEST(NO_NEW_PRIVS, no_new_privs)

Re: [RFC][PATCH] ftracetest: Add a couple of ftrace test cases

2014-09-23 Thread Masami Hiramatsu
(2014/09/24 6:38), Steven Rostedt wrote: > > [ > Masami, I took two of my test scripts and added some basic comments Thanks! > to them and copied them pretty much unchanged into a ftrace directory > under test.d. Is this fine, or is there more massaging I need to do > to them? Yeah,

Re: [PATCH v1 2/5] mm: add full variable in swap_info_struct

2014-09-23 Thread Dan Streetman
On Sun, Sep 21, 2014 at 8:03 PM, Minchan Kim wrote: > Now, swap leans on !p->highest_bit to indicate a swap is full. > It works well for normal swap because every slot on swap device > is used up when the swap is full but in case of zram, swap sees > still many empty slot although backed

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Chris Zhong
On 09/24/2014 10:13 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong wrote: On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong wrote: Get voltage & duty table from device tree might be better, other platforms can

Re: [PATCH] perf: Use ACCESS_ONCE() instead of volatile cast

2014-09-23 Thread Namhyung Kim
Hi Pranith, On Tue, 23 Sep 2014 10:55:08 -0400, Pranith Kumar wrote: > Use ACCESS_ONCE() instead of the cast to volatile and read. This is just a > style > change which is reader friendly. > > Signed-off-by: Pranith Kumar Acked-by: Namhyung Kim Thanks, Namhyung > --- >

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Peter Chen
On Tue, Sep 23, 2014 at 07:37:25PM +0200, Arnd Bergmann wrote: > On Tuesday 23 September 2014 11:55:15 Felipe Balbi wrote: > > On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote: > > > On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote: > > > > On Tue, Sep 23, 2014 at 12:39:04PM

Re: [PATCH v4] kvm: Fix page ageing bugs

2014-09-23 Thread Wanpeng Li
Hi Andres, On Mon, Sep 22, 2014 at 02:54:42PM -0700, Andres Lagar-Cavilla wrote: >1. We were calling clear_flush_young_notify in unmap_one, but we are >within an mmu notifier invalidate range scope. The spte exists no more >(due to range_start) and the accessed bit info has already been

RE: [PATCH v2] watchdog: imx2_wdt: Add power management support.

2014-09-23 Thread li.xi...@freescale.com
Hi, [...] > > +#ifdef CONFIG_PM_SLEEP > > +/* Disable watchdog if it is active or non-active but still running */ > > +static int imx2_wdt_suspend(struct device *dev) > > +{ > > + struct watchdog_device *wdog = dev_get_drvdata(dev); > > + struct imx2_wdt_device *wdev =

Re: [PATCH 2/2] perf callchain: Use global caching provided by libunwind

2014-09-23 Thread Namhyung Kim
Hi Arun, On Tue, 23 Sep 2014 14:01:22 +, Arun Sharma wrote: > On 9/23/14, 12:00 PM, Namhyung Kim wrote: > >> +unw_set_caching_policy(addr_space, UNW_CACHE_GLOBAL); > > The result is a bit surprising for me. In micro benchmarking (eg: > Lperf-simple), the per-thread policy is generally

[GIT PULL REQUEST] late md/raid1 bug fixes for 3.17

2014-09-23 Thread NeilBrown
Hi Linus, it is amazing how much easier it is to find bugs when you know one is there. Two bug reports resulted in finding 7 bugs!! All are tagged for -stable. Those that can't cause (rare) data corruption, cause lockups. Thanks, NeilBrown The following changes since commit

[PATCH v5 3/3] dt-bindings: video: Add documentation for rockchip vop

2014-09-23 Thread Mark yao
This adds binding documentation for Rockchip SoC VOP driver. Signed-off-by: Mark Yao --- Changes in v2: - rename "lcdc" to "vop" - add vop reset - add iommu node - add port for display-subsystem Changes in v3: None Changes in v4: None Changes in v5: None

[PATCH v5 2/3] dt-bindings: video: Add for rockchip display subsytem

2014-09-23 Thread Mark yao
This add a display subsystem comprise the all display interface nodes. Signed-off-by: Mark Yao --- Changes in v2: - add DRM master device node to list all display nodes that comprise the graphics subsystem. Changes in v3: None Changes in v4: None Changes in v5: None

[PATCH v5 1/3] drm/rockchip: Add basic drm driver

2014-09-23 Thread Mark yao
This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark yao --- Changes in v2: - use the component framework to defer main drm driver probe until all VOP devices have been probed. - use dma-mapping API with ARM_DMA_USE_IOMMU, create dma mapping by master

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Doug Anderson
Chris, On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong wrote: > > On 09/24/2014 07:43 AM, Doug Anderson wrote: >> >> Chris, >> >> On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong wrote: >>> >>> Get voltage & duty table from device tree might be better, other >>> platforms can also use this >>> driver

[PATCH v5 0/3] Add drm driver for Rockchip Socs

2014-09-23 Thread Mark yao
This a series of patches is a DRM Driver for Rockchip Socs, add support for vop devices. Future patches will add additional encoders/connectors, such as eDP, HDMI. The basic "crtc" for rockchip is a "VOP" - Video Output Processor. the vop devices found on Rockchip rk3288 Soc, rk3288 soc have two

Re: [PATCH v3] power: reset: use restart_notifier mechanism for msm-poweroff

2014-09-23 Thread Pramod Gurav
Hi Kumar, On 23-09-2014 11:18 PM, Kumar Gala wrote: > > On Sep 23, 2014, at 1:28 AM, Pramod Gurav > wrote: > >> +linux-arm-msm >> On Tuesday 23 September 2014 11:38 AM, Pramod Gurav wrote: >>> This change replaces use of arm_pm_restart with recently introduced >>> reset mechanism in Linux

[PATCH 1/1] kvm, mem-hotplug: Add arch specific mmu notifier to handle apic access migration.

2014-09-23 Thread Tang Chen
Hi Paolo, I'm not sure if this patch is following your comment. Please review. And all the other comments are followed. If this patch is OK, I'll send v8 soon. Thanks. We are handling "L1 and L2 share one apic access page" situation when migrating apic access page. We should do some handling

Re: [PATCH 0/5] Remove possible deadlocks in nfs_release_page() - V3

2014-09-23 Thread Trond Myklebust
On Tue, Sep 23, 2014 at 9:28 PM, NeilBrown wrote: > This set includes acked-by's from Andrew and Peter so it should be > OK for all five patches to go upstream through the NFS tree. > > I split the congestion tracking patch out from the wait-for-PG_private > patch as they are conceptually

[PATCH 3/5] NFS: avoid deadlocks with loop-back mounted NFS filesystems.

2014-09-23 Thread NeilBrown
Support for loop-back mounted NFS filesystems is useful when NFS is used to access shared storage in a high-availability cluster. If the node running the NFS server fails, some other node can mount the filesystem and start providing NFS service. If that node already had the filesystem NFS

[PATCH 5/5] NFS/SUNRPC: Remove other deadlock-avoidance mechanisms in nfs_release_page()

2014-09-23 Thread NeilBrown
Now that nfs_release_page() doesn't block indefinitely, other deadlock avoidance mechanisms aren't needed. - it doesn't hurt for kswapd to block occasionally. If it doesn't want to block it would clear __GFP_WAIT. The current_is_kswapd() was only added to avoid deadlocks and we have a new

[PATCH 4/5] NFS: avoid waiting at all in nfs_release_page when congested.

2014-09-23 Thread NeilBrown
If nfs_release_page() is called on a sequence of pages which are all in the same file which is blocked on COMMIT, each page could contribute a 1 second delay which could be come excessive. I have seen delays of as much as 208 seconds. To keep the delay to one second, mark the bdi as

[PATCH 2/5] MM: export page_wakeup functions

2014-09-23 Thread NeilBrown
This will allow NFS to wait for PG_private to be cleared and, particularly, to send a wake-up when it is. Signed-off-by: NeilBrown Acked-by: Andrew Morton --- include/linux/pagemap.h | 10 -- mm/filemap.c|8 ++-- 2 files changed, 10 insertions(+), 8 deletions(-)

[PATCH 0/5] Remove possible deadlocks in nfs_release_page() - V3

2014-09-23 Thread NeilBrown
This set includes acked-by's from Andrew and Peter so it should be OK for all five patches to go upstream through the NFS tree. I split the congestion tracking patch out from the wait-for-PG_private patch as they are conceptually separate. This set continues to perform well in my tests and

[PATCH 1/5] SCHED: add some "wait..on_bit...timeout()" interfaces.

2014-09-23 Thread NeilBrown
In commit c1221321b7c25b53204447cff9949a6d5a7c sched: Allow wait_on_bit_action() functions to support a timeout I suggested that a "wait_on_bit_timeout()" interface would not meet my need. This isn't true - I was just over-engineering. Including a 'private' field in wait_bit_key instead

Re: linux-next: build warning after merge of the net tree

2014-09-23 Thread David Miller
From: Stephen Rothwell Date: Wed, 24 Sep 2014 07:23:06 +1000 > Dave, this is a bit slack of you since I reported that problem a week > ago in the net tree and yet it has not been completely fixed before you > asked Linus to pull your tree :-( There were build failures I saw due to some

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Alex Deucher
On Mon, Sep 22, 2014 at 5:20 PM, C Bergström wrote: > For clarity - My testing and the patch is required when the Intel driver > isn't being used at all. After I finish some other testing I can see if > bumblebee and intel driver + this patch will play nicely. > > How is a laptop with dual VGA

[PATCH] i2c: rk3x: adjust the LOW divison based on characteristics of SCL

2014-09-23 Thread Addy Ke
As show in I2C specification: - Standard-mode: the minimum HIGH period of the scl clock is 4.0us the minimum LOW period of the scl clock is 4.7us - Fast-mode: the minimum HIGH period of the scl clock is 0.6us the minimum LOW period of the scl clock is 1.3us - Fast-mode plus: the minimum

RE: Boot failure caused by "mm/cma.c: free the reserved memblock when free cma pages"

2014-09-23 Thread Wang, Yalin
D: 1 Comm: swapper/0 Not tainted 3.17.0-rc6-next-20140923-sasha-00037-gc40eca4 #1213 [2.438701] task: 88076d7d ti: 880048d4 task.ti: 880048d4 [2.438701] RIP: memblock_isolate_range (mm/memblock.c:624) [2.438701] RSP: :880048d43cf8 EFLAGS: 0001028

[PATCH] parisc:Remove unnecessary FIXMES in init.c

2014-09-23 Thread Nicholas Krause
This removes the two fixmes in the file, init.c for compiler hints for comments related to compiler hints in linux_gateway_page_addr and map_hpux_gateway_page to change from FIXME to HINT in order for people reading this code to understand that these are compiler hints. Signed-off-by: Nicholas

Re: [PATCH v12 10/12] PCI: Assign unassigned bus resources in pci_scan_root_bus()

2014-09-23 Thread Liviu Dudau
On Tue, Sep 23, 2014 at 07:41:35PM -0600, Bjorn Helgaas wrote: > On Tue, Sep 23, 2014 at 7:18 PM, Liviu Dudau wrote: > > On Tue, Sep 23, 2014 at 08:01:12PM +0100, Liviu Dudau wrote: > >> If the firmware has not assigned all the bus resources and > >> we are not just probing the PCIe busses, it

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Chris Zhong
On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong wrote: Get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong Reviewed-by: Doug Anderson I finally

Re: [PATCH v12 10/12] PCI: Assign unassigned bus resources in pci_scan_root_bus()

2014-09-23 Thread Bjorn Helgaas
On Tue, Sep 23, 2014 at 7:18 PM, Liviu Dudau wrote: > On Tue, Sep 23, 2014 at 08:01:12PM +0100, Liviu Dudau wrote: >> If the firmware has not assigned all the bus resources and >> we are not just probing the PCIe busses, it makes sense to >> assign the unassigned resources in pci_scan_root_bus().

Re: [PATCH v2 2/2] watchdog: dw_wdt: add restart handler support

2014-09-23 Thread Guenter Roeck
On 09/23/2014 06:11 PM, Jisheng Zhang wrote: [ ... ] + dw_wdt.restart_handler.notifier_call = dw_wdt_restart_handle; + dw_wdt.restart_handler.priority = 128; + ret = register_restart_handler(_wdt.restart_handler); + if (ret) + pr_warn("cannot register

[PATCH] perf tools: modify error code when perf_session__new() fail.

2014-09-23 Thread Taeung Song
Because perf_session__new() could fail for more reasons than just ENOMEM, I modified error code(ENOMEM or EINVAL) into -1. Signed-off-by: Taeung Song --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +- tools/perf/builtin-evlist.c| 2 +-

Re: [PATCH] lib: string.c: Added a funktion function strzcpy

2014-09-23 Thread Andi Kleen
On Wed, Sep 24, 2014 at 12:13:36AM +0200, Rickard Strandqvist wrote: > Added a function strzcpy which works the same as strncpy, > but guaranteed to produce the trailing null character. Do we really need the bizarre strncpy padding semantics for anything? Why not just use strlcpy? -Andi -- To

Re: [PATCH RFC] virtio_pci: fix virtio spec compliance on restore

2014-09-23 Thread Ben Hutchings
On Tue, 2014-09-23 at 13:32 +0300, Michael S. Tsirkin wrote: > On restore, virtio pci does the following: > + set features > + init vqs etc - device can be used at this point! > + set ACKNOWLEDGE,DRIVER and DRIVER_OK status bits > > This is in violation of the virtio spec, which > requires the

Re: [PATCH v12 10/12] PCI: Assign unassigned bus resources in pci_scan_root_bus()

2014-09-23 Thread Liviu Dudau
On Tue, Sep 23, 2014 at 08:01:12PM +0100, Liviu Dudau wrote: > If the firmware has not assigned all the bus resources and > we are not just probing the PCIe busses, it makes sense to > assign the unassigned resources in pci_scan_root_bus(). > > Cc: Bjorn Helgaas > Cc: Arnd Bergmann > Cc: Jason

Re: [PATCH v5 1/4] ftracetest: Initial commit for ftracetest

2014-09-23 Thread Masami Hiramatsu
(2014/09/23 22:36), Steven Rostedt wrote: > For future reference: > > On Mon, 22 Sep 2014 23:42:50 + > Masami Hiramatsu wrote: > >> ftracetest is a collection of testcase shell-scripts for ftrace. >> To avoid regressions of ftrace, these testcases check correct >> ftrace behaviors. If

Re: [PATCH v12 05/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-09-23 Thread Bjorn Helgaas
On Tue, Sep 23, 2014 at 7:12 PM, Liviu Dudau wrote: > On Tue, Sep 23, 2014 at 06:22:53PM -0600, Bjorn Helgaas wrote: >> [+cc Andrew] >> >> On Tue, Sep 23, 2014 at 08:01:07PM +0100, Liviu Dudau wrote: >> > The ranges property for a host bridge controller in DT describes >> > the mapping between

Re: [PATCH v2 2/2] watchdog: dw_wdt: add restart handler support

2014-09-23 Thread Jisheng Zhang
Dear Guenter, On Tue, 23 Sep 2014 11:31:59 -0700 Guenter Roeck wrote: > On Tue, Sep 23, 2014 at 03:42:12PM +0800, Jisheng Zhang wrote: > > The kernel core now provides an API to trigger a system restart. > > Register with it to support restarting the system via. watchdog. > > > >

Re: [PATCH v12 05/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-09-23 Thread Liviu Dudau
On Tue, Sep 23, 2014 at 06:22:53PM -0600, Bjorn Helgaas wrote: > [+cc Andrew] > > On Tue, Sep 23, 2014 at 08:01:07PM +0100, Liviu Dudau wrote: > > The ranges property for a host bridge controller in DT describes > > the mapping between the PCI bus address and the CPU physical address. > > The

linux-next: build failure after merge of the samsung tree

2014-09-23 Thread Stephen Rothwell
^ Caused by commit f5217f3b9332 ("ARM: EXYNOS: add AFTR mode support to firmware do_idle method"). I have used the samsung tree from next-20140923 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

Re: [PATCH 2/2] perf callchain: Use global caching provided by libunwind

2014-09-23 Thread Namhyung Kim
On Tue, 23 Sep 2014 21:53:43 +0900, Namhyung Kim wrote: > On Tue, Sep 23, 2014 at 9:28 PM, Jiri Olsa wrote: >> On Tue, Sep 23, 2014 at 03:30:28PM +0900, Namhyung Kim wrote: >>> The libunwind provides two caching policy which are global and >>> per-thread. As perf unwinds callchains in a single

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread Peter Foley
On Tue, Sep 23, 2014 at 8:51 PM, Andrew Morton wrote: > Can't we just fix the Makefiles? Cook up a rule which makes > headers_install (if needed) before building Documentation/? Currently, the ordering is enforced by

RE: [PATCH 1/3] gpio: sch: Consolidate similar algorithms

2014-09-23 Thread Chang, Rebecca Swee Fun
> -Original Message- > From: 'Mika Westerberg' [mailto:mika.westerb...@linux.intel.com] > Sent: 22 September, 2014 5:25 PM > To: Chang, Rebecca Swee Fun > Cc: Linus Walleij; linux-g...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/3] gpio: sch: Consolidate similar

Re: [PATCH 1/3 v2] drivers/bus: Added Freescale Management Complex APIs

2014-09-23 Thread Kim Phillips
On Fri, 19 Sep 2014 17:49:39 -0500 "J. German Rivera" wrote: > +int mc_get_version(struct fsl_mc_io *mc_io, struct mc_version *mc_ver_info) ... > + err = mc_send_command(mc_io, ); > + if (err) > + return err; > + > + DPMNG_RSP_GET_VERSION(cmd, mc_ver_info);

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread Andrew Morton
On Tue, 23 Sep 2014 19:47:11 -0400 Peter Foley wrote: > On Tue, Sep 23, 2014 at 7:38 PM, Andrew Morton > wrote: > > This build error is caused by compiling mpssd prior to `make > > headers_install'. > > > > There's really no reason to check the kernel version. If someone > > transplants mpssd

Re: [PATCH] workqueue: show the pool ID of the default pwq's pool in the pool_ids file

2014-09-23 Thread Lai Jiangshan
On 09/23/2014 10:38 PM, Tejun Heo wrote: > On Mon, Sep 22, 2014 at 04:04:37PM +0800, Lai Jiangshan wrote: >> It seems incomplete if the pool_ids file doesn't include the default >> pwq's pool. Add it and the result: >> >> # cat pool_ids >> 0:9 1:10 >> default:8 > > Hmmm? default pwq is used

Re: [PATCH] zsmalloc: merge size_class to reduce fragmentation

2014-09-23 Thread Joonsoo Kim
On Tue, Sep 23, 2014 at 03:25:55PM -0700, Andrew Morton wrote: > On Tue, 23 Sep 2014 17:30:11 +0900 Joonsoo Kim wrote: > > > zsmalloc has many size_classes to reduce fragmentation and they are > > in 16 bytes unit, for example, 16, 32, 48, etc., if PAGE_SIZE is 4096. > > And, zsmalloc has

Re: [PATCH] ARM: shmobile: Remove ARCH_HAS_OPP completely

2014-09-23 Thread Simon Horman
On Tue, Sep 23, 2014 at 10:27:37AM +0200, Geert Uytterhoeven wrote: > On Tue, Sep 23, 2014 at 10:08 AM, Paul Bolle wrote: > > The Kconfig symbol ARCH_HAS_OPP became redundant in v3.16: commit > > 049d595a4db3 ("PM / OPP: Make OPP invisible to users in Kconfig") > > removed the only dependency

Re: linux-next: build warning after merge of the net tree

2014-09-23 Thread Stephen Rothwell
Hi all, On Wed, 24 Sep 2014 07:23:06 +1000 Stephen Rothwell wrote: > > On Tue, 23 Sep 2014 16:59:59 +0200 Michal Marek wrote: > > > > On 2014-09-18 02:35, Randy Dunlap wrote: > > > On 09/17/14 17:32, Stephen Rothwell wrote: > > >> Hi all, > > >> > > >> After merging the net tree, today's

[PATCH 0/4] toshiba_acpi: Return codes cleanup

2014-09-23 Thread Azael Avalos
Up for review. This series of patches are a cleanup thee Toshiba configuration interface return codes (unification), as well as changing the returned type of the HCI/SCI read/write functions from acpi_status to u32, since the "status" was never checked on most of the functions. I would like

[PATCH 4/4] toshiba_acpi: Adapt functions to the changes made to HCI/SCI

2014-09-23 Thread Azael Avalos
The previous patch changed the return type for the HCI/SCI read/write functions. This patch adapts the code for that change, as now the "result" parameter is returned by those functions, instead of the ACPI status call. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 77

[PATCH 1/4] toshiba_acpi: Rename hci_raw to tci_raw

2014-09-23 Thread Azael Avalos
The function name hci_raw was used before to reflect a raw (read/write) call to the Toshiba's Hardware Configuration Interface (HCI), however, since the introduction of the System Configuration Interface (SCI), that "name" no longer applies. This patch changes the name of that function to tci_raw

[PATCH 3/4] toshiba_acpi: Change HCI/SCI functions return code type

2014-09-23 Thread Azael Avalos
Currently the HCI/SCI read/write functions are returning the status of the ACPI call and also assigning the returned value of the HCI/SCI function. This patch changes such functions, returning the value of the HCI/SCI function instead of the ACPI call status. The next patch will change all the

[PATCH 2/4] toshiba_acpi: Unify return codes prefix to from HCI/SCI to TOS

2014-09-23 Thread Azael Avalos
The return codes are split in between HCI/SCI prefixes, but they are shared (used) by both interfaces, mixing hci_read/write calls with SCI_* return codes, and sci_read/write calls with HCI_* ones. This patch changes the prefix of the return codes definitions, dropping the HCI/SCI naming and

Re: [PATCH v12 05/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-09-23 Thread Bjorn Helgaas
[+cc Andrew] On Tue, Sep 23, 2014 at 08:01:07PM +0100, Liviu Dudau wrote: > The ranges property for a host bridge controller in DT describes > the mapping between the PCI bus address and the CPU physical address. > The resources framework however expects that the IO resources start > at a pseudo

Re: [PATCH] perf tools: Fix line number in the config file error message

2014-09-23 Thread Namhyung Kim
Hi Jiri, On Tue, 23 Sep 2014 13:56:56 +0200, Jiri Olsa wrote: > On Tue, Sep 23, 2014 at 10:01:39AM +0900, Namhyung Kim wrote: >> Hello, >> >> This is patchset to add new callchain related config options so that >> users don't need to pass their preference to the cmdline everytime. >> >>

[PATCH v5 2/2] iio/adc: add support for axp288 adc

2014-09-23 Thread Jacob Pan
Platform driver for X-Powers AXP288 ADC, which is a sub-device of the customized AXP288 PMIC for Intel Baytrail-CR platforms. GPADC device enumerates as one of the MFD cell devices. It uses IIO infrastructure to communicate with userspace and consumer drivers. Usages of ADC channels include

[PATCH v5 1/2] mfd/axp20x: extend axp20x to support axp288 pmic

2014-09-23 Thread Jacob Pan
X-Powers AXP288 is a customized PMIC for Intel Baytrail-CR platforms. Similar to AXP202/209, AXP288 comes with USB charger, more LDO and BUCK channels, and AD converters. It also provides extended status and interrupt reporting capabilities than the devices currently supported in axp20x.c. In

[PATCH v5 0/2] Initial support for XPowers AXP288 PMIC

2014-09-23 Thread Jacob Pan
X-Powers AXP288 is a customized PMIC found on some Intel Baytrail-CR platforms. It comes with sub-functions such as USB charging, fuel gauge, ADC, and many LDO and BUCK channels. By extending the existing AXP20x driver, this patchset adds basic support for AXP288 PMIC with ADC as one MFD cell

Re: [PATCH v4 1/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-09-23 Thread Dmitry Torokhov
Hi Dudley, On Fri, Aug 22, 2014 at 04:41:07PM +0800, Dudley Du wrote: > Dmitry, > > Thanks for your feedback. > > Thanks, > Dudley > > > -Original Message- > > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > > Sent: Friday, August 22, 2014 2:21 AM > > To: Dudley Du > > Cc:

Re: [patch] mm, slab: initialize object alignment on cache creation

2014-09-23 Thread David Rientjes
On Tue, 23 Sep 2014, Christoph Lameter wrote: > > The proper alignment defaults to BYTES_PER_WORD and can be overridden by > > SLAB_RED_ZONE or the alignment specified by the caller. > > Where does it default to BYTES_PER_WORD in __kmem_cache_create? > Previous to commit 4590685546a3

  1   2   3   4   5   6   7   8   9   10   >