[PATCH] NULL pointer dereference in ecryptfs (ecryptfs_setxattr)

2014-09-23 Thread Priya Bansal
This patch fixes the issue which was found in ecryptfs_setxattr(). Previously, while trying to create a file when ecryptfs is mounted over ext4 filesystem with encrypted view enabled, the kernel crashes. the reason being the function fsstack_copy_attr_all was trying to access dentry->d_inode

Re: [RFC Part2 v1 01/21] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-09-23 Thread Yasuaki Ishimatsu
(2014/09/11 23:03), Jiang Liu wrote: > We plan to use hierarchy irqdomain to suppport CPU vector assignment, > interrupt remapping controller, IO-APIC controller, MSI interrupt > and hypertransport interrupt etc on x86 platforms. So extend irqdomain > interfaces to support hierarchy irqdomain. > >

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

2014-09-23 Thread Stephen Rothwell
Hi all, On Mon, 22 Sep 2014 14:06:45 +1000 Stephen Rothwell wrote: > > Hi all, > > After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > arch/x86/kvm/../../../virt/kvm/eventfd.c: In function > 'kvm_register_irq_ack_notifier': > arch/x86/kvm/../

[PATCH] usb: gadget: f_rndis: fix usb_interface_descriptor for rndis

2014-09-23 Thread Heiko Schocher
use the values for RNDIS over Ethernet as defined in http://www.usb.org/developers/defined_class (search for RDNIS): - baseclass: 0xef (miscellaneous) - subclass: 0x04 - protocol: 0x01 with this setings the file in Documentation/usb/linux.inf is obsolete. Signed-off-by: Heiko Schocher --- Cc:

Re: [PATCH 0/6] ARM: sunxi: Add basic support for Allwinner A80 SoC

2014-09-23 Thread Maxime Ripard
Hi Chen-Yu, On Sun, Sep 21, 2014 at 10:58:07PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This patch series adds very basic support for Allwinner's A80 SoC, > a big.LITTLE architecture with 4 Cortex-A7s and 4 Cortex-A15s. > > Development is done on the A80 Optimus Board, the defacto developme

RE: [PATCH] fbdev: fsl-sii902x: HDMI support for Freescale SoCs

2014-09-23 Thread li.xi...@freescale.com
Hi, [...] > >>> 4 files changed, 551 insertions(+) > >>> create mode 100644 Documentation/devicetree/bindings/video/fsl- > sii902x.txt > >>> create mode 100644 drivers/video/fbdev/fsl-sii902x.c > >> > >> I don't know how you picked the names of the people you sent this patch > >> to, but looks

[PATCH 2/5] DMA: Remove .owner field for driver

2014-09-23 Thread Kiran Padwal
There is no need to init .owner field. Based on the patch from Peter Griffin "mmc: remove .owner field for drivers using module_platform_driver" This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register a

Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-09-23 Thread Maxime Ripard
Hi, Thanks, a lot for your patches :) On Sun, Sep 21, 2014 at 10:58:10PM +0800, Chen-Yu Tsai wrote: > The Allwinner A80 is a new multi-purpose SoC with 4 Cortex-A7 and > 4 Cortex-A15 cores in a big.LITTLE architecture, and a 64-core > PowerVR G6230 GPU. > > Signed-off-by: Chen-Yu Tsai > --- >

Re: [PATCH 2/6] ARM: sunxi: Add debug uart used by sun9i (Allwinner A80)

2014-09-23 Thread Maxime Ripard
On Sun, Sep 21, 2014 at 10:58:09PM +0800, Chen-Yu Tsai wrote: > The uarts on sun9i are still compatible with the dw_8250, but are > located at different addresses. > > Signed-off-by: Chen-Yu Tsai > --- > arch/arm/Kconfig.debug | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a

Re: [PATCH 2/4] ACPI / platform: provide default DMA mask

2014-09-23 Thread Heikki Krogerus
On Tue, Sep 23, 2014 at 06:05:36PM +0200, Rafael J. Wysocki wrote: > On Tuesday, September 23, 2014 10:29:45 AM Felipe Balbi wrote: > > On Tue, Sep 23, 2014 at 05:17:03PM +0200, Rafael J. Wysocki wrote: > > > On Tuesday, September 23, 2014 09:52:21 AM Felipe Balbi wrote: > > > > On Tue, Sep 23, 201

RE: [PATCH] ata: Disabling the async PM for JMicron chips

2014-09-23 Thread Liu, Chuansheng
> -Original Message- > From: Tejun Heo [mailto:hte...@gmail.com] On Behalf Of Tejun Heo > Sent: Tuesday, September 23, 2014 10:01 PM > To: Liu, Chuansheng > Cc: r...@rjwysocki.net; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; mister.free...@laposte.net; Zhang, Rui > Subject:

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

2014-09-23 Thread Dan Williams
On Tue, Sep 23, 2014 at 9:57 PM, Vinod Koul wrote: > 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_i

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

2014-09-23 Thread David Miller
From: Guenter Roeck Date: Tue, 23 Sep 2014 21:34:23 -0700 > 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 us

Re: [PATCH] net: stmmac: fix stmmac_pci_probe failed when CONFIG_HAVE_CLK is selected

2014-09-23 Thread Giuseppe CAVALLARO
On 9/23/2014 9:03 AM, Kweh, Hock Leong wrote: -Original Message- From: Giuseppe CAVALLARO [mailto:peppe.cavall...@st.com] Sent: Tuesday, September 23, 2014 2:10 PM the logic is: the priv->stmmac_clk must be always provided from the platform then we have two cases: 1) if priv->plat->clk_

Re: [PATCH v2 2/2] perf: Userspace event

2014-09-23 Thread Namhyung Kim
On Tue, 23 Sep 2014 18:03:07 +0100, Pawel Moll wrote: > This patch adds a new PERF_COUNT_SW_UEVENT software event > and a related PERF_SAMPLE_UEVENT sample. User can now > write to the the perf file descriptor, injecting such > event in the perf buffer. It seems the PERF_SAMPLE_UEVENT sample can b

Re: [PATCH v4 0/8] asm-generic/io.h overhaul

2014-09-23 Thread Thierry Reding
On Mon, Aug 25, 2014 at 01:26:33PM +0200, Thierry Reding wrote: > On Wed, Aug 13, 2014 at 12:28:50PM +0200, Thierry Reding wrote: > > From: Thierry Reding > > > > Hi, > > > > Here is the fourth version of a series that started out as an attempt to > > provide string versions of the read*() and w

[PATCH v2] zsmalloc: merge size_class to reduce fragmentation

2014-09-23 Thread Joonsoo Kim
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 constraint that each zspage has 4 pages at maximum. In this situation, we can see interesting aspect. Let's think about size_class for 1488,

[PATCH] pwm: atmel-pwm: fix calculation of prescale value

2014-09-23 Thread Nikolaus Voss
The prescale value used for calculating the period was incremented afterwards, thus the resulting prescale value is by one too high. This resulted in a pwm frequency only half as high as requested. This patch moves the 64 bit division out of the prescale loop to correct the above issue and make th

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 tre

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 > users

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 sys

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: > > git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-

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: > > git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-

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 tim

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 r

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 shouldn'

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 Doc

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 > http://git.k

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 additional

[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 deletio

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 com

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 woul

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 > > /pro

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

2014-09-23 Thread Kukjin Kim
_ops->op) ? firmware_ops->op(__VA_ARGS__) : (-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) > > ^ >

[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(-) diff

[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, Chri

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 schedu

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 >> +++ b/drivers/input/keyboard/cap

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. T

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, >> whic

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

2014-09-23 Thread Kukjin Kim
== -ENOSYS) > ^ > > Caused by 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 fr

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, ftr

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 device(ie

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 al

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 > --- > tools/perf/util/sess

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 >propagated

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 = watchdog_get_drvdata(wd

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 fast

[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 d030671f3f261e528

[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 .../devicetree/bindings/video/rockchi

[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 .../devicetree/bindings

[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 dev

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 w

[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 s

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 kern

[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 w

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 separate

[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 mounted

[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 write-congest

[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(-) d

[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 addres

[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 o

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 misbalanc

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 con

[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 H

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

2014-09-23 Thread Wang, Yalin
CPU: 17 PID: 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 EFLAG

[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 Kra

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 mak

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(&dw_wdt.restart_handler); + if (ret) + pr_warn("cannot register rest

[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 +- tools/perf/builtin-inject

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 un

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 fol

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 G

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 someon

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 the

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. > > > > Signed-off-by:

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 reso

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

2014-09-23 Thread Stephen Rothwell
ware_op(do_idle) == -ENOSYS) ^ 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 th

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 http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Makefile#n

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

  1   2   3   4   5   6   7   8   9   10   >