Re: [PATCH] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-20 Thread Srikanth Thokala
Hi Arnd, On Fri, Jan 17, 2014 at 9:43 PM, Arnd Bergmann wrote: > On Thursday 16 January 2014, Srikanth Thokala wrote: >> @@ -0,0 +1,71 @@ >> +Xilinx AXI VDMA engine, it does transfers between memory and video devices. >> +It can be configured to have one channel or two channels. If configured >>

Re: [PATCH v2] Adding hyperv.h to uapi headers

2014-01-20 Thread Bjarke Istrup Pedersen
2014/1/20 KY Srinivasan : > > >> -Original Message- >> From: gurlige...@gmail.com [mailto:gurlige...@gmail.com] On Behalf Of Bjarke >> Istrup Pedersen >> Sent: Sunday, January 19, 2014 11:46 AM >> To: KY Srinivasan >> Cc: Linux Kernel Mailing List; Haiyang Zhang >> Subject: Re: [PATCH v2] A

Re: [PATCH] Adding makefile for tools/hv

2014-01-20 Thread Bjarke Istrup Pedersen
Adding Greg to CC list. /Bjarke 2014/1/19 Bjarke Istrup Pedersen : > Currently, there is no makefile for the Hyper-V tools. > This patch adds the missing makefile, and adds it to the main tools makefile. > > Signed-off-by: Bjarke Istrup Pedersen > --- > tools/Makefile| 11 ++- > too

Re: [PATCH] clk: export __clk_get_hw for re-use in others

2014-01-20 Thread SeongJae Park
On Mon, Jan 20, 2014 at 4:47 PM, Mike Turquette wrote: > On Sun, Jan 19, 2014 at 9:37 AM, Greg KH wrote: >> On Sun, Jan 19, 2014 at 02:55:07PM +0900, SeongJae Park wrote: >>> Following build comes while modprobe process: >>> > ERROR: "__clk_get_hw" [drivers/clk/clk-max77686.ko] undefined! >>> > m

Re: [PATCH 06/20] ARM64 / ACPI: Introduce some PCI functions when PCI is enabled

2014-01-20 Thread Hanjun Guo
On 2014-1-17 22:04, Arnd Bergmann wrote: > On Friday 17 January 2014, Hanjun Guo wrote: >> +++ b/arch/arm64/pci/Makefile >> @@ -0,0 +1 @@ >> +obj-y += pci.o >> diff --git a/arch/arm64/pci/pci.c b/arch/arm64/pci/pci.c >> new file mode 100644 >> index 000..4e46790 >> --- /dev/null

Re: [PATCH v16] dmaengine: Add MOXA ART DMA engine driver

2014-01-20 Thread Vinod Koul
On Fri, Jan 17, 2014 at 09:46:05AM +0100, Jonas Jensen wrote: > The MOXA ART SoC has a DMA controller capable of offloading expensive > memory operations, such as large copies. This patch adds support for > the controller including four channels. Two of these are used to > handle MMC copy on the UC

Re: [PATCH RFC 4/6] net: rfkill: gpio: add device tree support

2014-01-20 Thread Heikki Krogerus
Hi, On Sat, Jan 18, 2014 at 12:11:56AM +0100, Linus Walleij wrote: > On Fri, Jan 17, 2014 at 6:43 PM, Chen-Yu Tsai wrote: > > On Sat, Jan 18, 2014 at 12:47 AM, Arnd Bergmann wrote: > > >>> +- NAME_shutdown-gpios : GPIO phandle to shutdown control > >>> + (phandle must b

Re: [PATCH] gpio: mcp23s08: fix casting caused build warning

2014-01-20 Thread Linus Walleij
On Sat, Jan 18, 2014 at 5:53 AM, SeongJae Park wrote: > Signed-off-by: SeongJae Park Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.o

[PATCH] NFSv4.1: new layout stateid can not be overwrite by one out of date

2014-01-20 Thread shaobingqing
If initiate_file_draining returned NFS4ERR_DELAY, all the lsegs of a file might be released before the retrying cb_layout request arriving at the client. In this situation, layoutget request of the file will use open stateid to obtain a new layout stateid. And if the retrying cb_layout request arri

Re: [PATCH v4 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2014-01-20 Thread Linus Walleij
On Sat, Jan 18, 2014 at 3:56 AM, Matt Porter wrote: > I wonder if Linus would accept a rename at this point (too late for 3.14 > presumably, but for 3.15) of s/capri/bcm281xx throughout, bcm11351 for > the compatible string, as we have for the machine compatible, and also > BCM281XX for the Kconf

Re: [PATCH] pinctrl: capri: add dependency on OF

2014-01-20 Thread Linus Walleij
On Sat, Jan 18, 2014 at 12:27 AM, Stephen Warren wrote: > On 01/17/2014 04:13 PM, Linus Walleij wrote: >> On Sat, Jan 18, 2014 at 12:12 AM, Linus Walleij >> wrote: >>> On Fri, Jan 17, 2014 at 8:51 PM, Sherman Yin wrote: >>> Thanks for the fix, Linus. While we're visiting this config, shoul

Re: [PATCH] staging: lustre: fix GFP_ATOMIC macro usage

2014-01-20 Thread Marek Szyprowski
Hello, On 2014-01-17 15:33, Greg Kroah-Hartman wrote: On Fri, Jan 17, 2014 at 09:46:56AM +0100, Marek Szyprowski wrote: > GFP_ATOMIC is not a single gfp flag, but a macro which expands to the other > flags and LACK of __GFP_WAIT flag. To check if caller wanted to perform an > atomic allocation,

[PATCH] Staging : comedi : comedidev.h Fixed warning space coding style issue

2014-01-20 Thread Surendra Patil
Fixed a coding style issue,removed space after the function pointer name Signed-off-by: Surendra Patil --- drivers/staging/comedi/comedidev.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/comedi/comedidev.h b/drivers/stagi

Re: [PATCH v4 2/3] ata: ahci_platform: Manage SATA PHY

2014-01-20 Thread Roger Quadros
On 01/09/2014 05:00 PM, Tejun Heo wrote: > On Thu, Jan 09, 2014 at 05:07:29PM +0530, Roger Quadros wrote: >> I know it is pointless functionally, but it is just my preference >> aesthetically. >> >> Is it much of an issue if left as is? > > Yes. > OK. I'll send a v5. cheers, -roger -- To unsubsc

Re: [PATCH 06/20] ARM64 / ACPI: Introduce some PCI functions when PCI is enabled

2014-01-20 Thread Arnd Bergmann
On Monday 20 January 2014 16:08:01 Hanjun Guo wrote: > >> diff --git a/drivers/acpi/plat/arm-core.c b/drivers/acpi/plat/arm-core.c > >> index 3c8521d..1835b21 100644 > >> --- a/drivers/acpi/plat/arm-core.c > >> +++ b/drivers/acpi/plat/arm-core.c > >> @@ -100,6 +100,25 @@ int acpi_gsi_to_irq(u32 gsi

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

2014-01-20 Thread Peter Zijlstra
On Sun, Jan 19, 2014 at 11:45:43PM -0500, Len Brown wrote: > +static void mwait_idle(void) > +{ > + mwait_idle_with_hints(0, 0); > +} > + > > The reason the patch above will crash Core2 machines is because > core2 machines don't support mwait_idle_with_hints(). > > The calling sequence for

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

2014-01-20 Thread Peter Zijlstra
On Sun, Jan 19, 2014 at 08:00:19PM -0500, Len Brown wrote: > On Wed, Jan 15, 2014 at 10:58 PM, Stephen Rothwell > wrote: > > Hi all, > > > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > > failed like this: > > > > arch/x86/kernel/process.c: In function 'mwait_idle'

Re: [PATCH v2 5/9] nvme: Fix invalid call to irq_set_affinity_hint()

2014-01-20 Thread Alexander Gordeev
On Fri, Jan 17, 2014 at 03:01:10PM -0700, Keith Busch wrote: > >dev->entry[0].vector is initialized in nvme_dev_map(), and it's used > >for free_irq() above the area of your patch, so I don't think this is > >actually a bug, though it might be somewhat confusing. > > It is confusing, but there's a

Re: [PATCH net] tun: handle copy failure in tun_put_user()

2014-01-20 Thread Michael S. Tsirkin
On Sun, Jan 19, 2014 at 07:48:56PM -0800, David Miller wrote: > From: Jason Wang > Date: Mon, 20 Jan 2014 11:16:48 +0800 > > > This patch return the error code of copy helpers in tun_put_user() instead > > of > > ignoring them. > > > > Cc: Michael S. Tsirkin > > Signed-off-by: Jason Wang I'm

Re: [PATCH] x86, perf_p4: block PMIs on init to prevent a stream of unkown NMIs

2014-01-20 Thread Peter Zijlstra
On Fri, Jan 17, 2014 at 10:41:41AM -0500, Don Zickus wrote: > I could have removed the ENABLE bit too, but was worried it would impact > BIOS vendors secret ability to monitor cpu states. I figured the ability to > generate a PMI or not is not interesting to them and chose that route instead. Yo

[PATCH v3 6/9] nvme: Use pci_enable_msi_range() and pci_enable_msix_range()

2014-01-20 Thread Alexander Gordeev
As result deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev --- drivers/block/nvme-cor

Re: [PATCH V3 2/2] mm/memblock: Add support for excluded memory areas

2014-01-20 Thread Philipp Hachtmann
Am Fri, 17 Jan 2014 18:08:13 + schrieb "Strashko, Grygorii" : Hello Grygorii, > > The current patch seems to be overly complicated. > > The following patch contains only the nomap functionality without > > any cleanup and refactoring. I will post a V4 patch set which will > > contain this pat

[PATCH] nvme: Cleanup nvme_dev_start() and fix IRQ leak

2014-01-20 Thread Alexander Gordeev
This is an attempt to make handling of admin queue in a single scope. This update also fixes a IRQ leak in case nvme_setup_io_queues() failed to allocate enough iomem and bailed out with -ENOMEM errno. Signed-off-by: Alexander Gordeev --- drivers/block/nvme-core.c | 44 +++-

[PATCH] nvme: Cleanup nvme_dev_start()

2014-01-20 Thread Alexander Gordeev
This update fixes an oddity when a device is first added and then removed from dev_list in case of initialization failure, instead of just being added in case of success. Signed-off-by: Alexander Gordeev --- drivers/block/nvme-core.c | 19 --- 1 files changed, 8 insertions(+),

Re: [RFC PATCH 2/3] zram: introduce zram compressor operations struct

2014-01-20 Thread Sergey Senozhatsky
On (01/20/14 14:12), Minchan Kim wrote: > Date: Mon, 20 Jan 2014 14:12:33 +0900 > From: Minchan Kim > To: Sergey Senozhatsky > Cc: Jerome Marchand , Nitin Gupta , > linux-kernel@vger.kernel.org > Subject: Re: [RFC PATCH 2/3] zram: introduce zram compressor operations > struct > User-Agent: Mutt

Re: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Vinod Koul
On Fri, Jan 17, 2014 at 02:04:44PM +0800, Jingchang Lu wrote: > Add Freescale enhanced direct memory(eDMA) controller support. > This module can be found on Vybrid and LS-1 SoCs. > > Signed-off-by: Alison Wang > Signed-off-by: Jingchang Lu > Acked-by: Arnd Bergmann > --- > +struct fsl_edma_sw_

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

2014-01-20 Thread Sedat Dilek
://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/?id=next-20140120&qt=grep&q=mwait_idle [2] http://git.kernel.org/cgit/linux/kernel/git/sfr/next-fixes.git > -- > Cheers, > Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: s

Re: [PATCH] DMA: Freescale: change BWC from 256 bytes to 1024 bytes

2014-01-20 Thread Vinod Koul
On Thu, Jan 16, 2014 at 02:10:53PM +0800, hongbo.zh...@freescale.com wrote: > From: Hongbo Zhang > > Freescale DMA has a feature of BandWidth Control (ab. BWC), which is currently > 256 bytes and should be changed to 1024 bytes for best DMA throughput. > Changing BWC from 256 to 1024 will improve

Re: [PATCH v7 0/7] Add O_DENY* support for VFS and CIFS/NFS

2014-01-20 Thread Volker Lendecke
Hi! On Fri, Jan 17, 2014 at 02:07:05PM +0400, Pavel Shilovsky wrote: > If O_DENYDELETE flag is specified and the open succeded, > any further unlink operation will fail with -ESHAREDENIED > untill this open is closed. Now this flag is processed by > VFS and CIFS filesystem. NFS returns -EINVAL for

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

2014-01-20 Thread Sedat Dilek
> > Where is this fix? > ( Browsing Linux-next remote GIT repository online. ) > 2x NOPE for me. > > - Sedat - > > [1] > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/?id=next-20140120&qt=grep&q=mwait_idle > [2] http://git.kernel.org/cgit/l

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-20 Thread Hanjun Guo
On 2014-1-17 22:12, Arnd Bergmann wrote: > On Friday 17 January 2014, Hanjun Guo wrote: >> >> +/* >> + * Local interrupt controller address, >> + * GIC cpu interface base address on ARM/ARM64 >> + */ >> +static u64 acpi_lapic_addr __initdata; > > If it's cpu local, don't you need more than one a

Re: ALSA: hda - Fix possible races in HDMI driver - lockup on shutdown when radeon.audio=1 after using audacity

2014-01-20 Thread Takashi Iwai
At Sun, 19 Jan 2014 17:32:16 +1030, Arthur Marsh wrote: > > I have had reproducible lock-ups on shut-down (at the shutting down ALSA > stage) of my AMD64 machine (Asus M3A78Pro motherboard, BIOS 1701 > 01/27/2011, CPU AMD Athlon(tm) II X4 640 Processor) running the 64 bit > Linux kernel more re

[PATCH 0/5] Enabling the asynchronous threads for other phases

2014-01-20 Thread Liu, Chuansheng
Hello, This patch series are for enabling the asynchronous threads for the phases resume_noirq, resume_early, suspend_noirq and suspend_late. Just like commit 5af84b82701a and 97df8c12995, with async threads it will reduce the system suspending and resuming time significantly. With these patches

[PATCH 4/5] PM: Enabling the asyncronous threads for suspend_noirq

2014-01-20 Thread Liu, Chuansheng
From: "Liu, Chuansheng" Just like commit 5af84b82701a and 97df8c12995, using the asynchronous threads can improve the overall suspend_noirq time significantly. This patch is for suspend_noirq phase. Signed-off-by: Liu, Chuansheng --- drivers/base/power/main.c | 57 ++

[PATCH 1/5] PM: Adding two flags for async suspend_noirq and suspend_late

2014-01-20 Thread Liu, Chuansheng
From: "Liu, Chuansheng" The patch is one helper that adding two new flags for implementing async threads for suspend_noirq and suspend_late. Signed-off-by: Liu, Chuansheng --- drivers/base/power/main.c | 22 -- include/linux/pm.h|2 ++ 2 files changed, 22 inse

[PATCH 2/5] PM: Enabling the asynchronous threads for resume_noirq

2014-01-20 Thread Liu, Chuansheng
From: "Liu, Chuansheng" Just like commit 5af84b82701a and 97df8c12995, using the asynchronous threads can improve the overall resume_noirq time significantly. One typical case is: In resume_noirq phase and for the PCI devices, the function pci_pm_resume_noirq() will be called, and there is one d

[PATCH 3/5] PM: Enabling the asyncronous threads for resume_early

2014-01-20 Thread Liu, Chuansheng
From: "Liu, Chuansheng" Just like commit 5af84b82701a and 97df8c12995, using the asynchronous threads can improve the overall resume_early time significantly. This patch is for resume_early phase. Signed-off-by: Liu, Chuansheng --- drivers/base/power/main.c | 48

[GIT PULL] s390 patches for the 3.14 merge window

2014-01-20 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: The bulk of the s390 updates for v3.14. New features are the perf support for the CPU-Measurement Sample Facility and the EP11 sup

[PATCH 5/5] PM: Enabling the asyncronous threads for suspend_late

2014-01-20 Thread Liu, Chuansheng
From: "Liu, Chuansheng" Just like commit 5af84b82701a and 97df8c12995, using the asynchronous threads can improve the overall suspend_late time significantly. This patch is for suspend_late phase. Signed-off-by: Liu, Chuansheng --- drivers/base/power/main.c | 54

Re: [PATCH 1/3] mfd: Add realtek USB card reader driver

2014-01-20 Thread Roger
On 01/16/2014 05:35 PM, Lee Jones wrote: +static int rtsx_usb_bulk_transfer_sglist(struct rtsx_ucr *ucr, + unsigned int pipe, struct scatterlist *sg, int num_sg, + unsigned int length, unsigned int *act_len, int timeout) +{ + int ret; + + dev_dbg(&ucr->pusb_intf->d

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

2014-01-20 Thread H. Peter Anvin
On 01/20/2014 12:26 AM, Peter Zijlstra wrote: > On Sun, Jan 19, 2014 at 11:45:43PM -0500, Len Brown wrote: >> +static void mwait_idle(void) >> +{ >> + mwait_idle_with_hints(0, 0); >> +} >> + >> >> The reason the patch above will crash Core2 machines is because >> core2 machines don't support

Re: [PATCH 02/20] ARM64 : Add dummy asm/cpu.h

2014-01-20 Thread Hanjun Guo
On 2014-1-17 22:22, Sudeep Holla wrote: > On 17/01/14 12:24, Hanjun Guo wrote: >> ACPI requires a cpu.h, add a dummy one copied from arm. This will need >> updated or replaced as ACPI based cpu hotplug or cpu topology for armv8 >> is worked out. >> >> Signed-off-by: Graeme Gregory >> Signed-off-by

RE: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Jingchang Lu
> -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Monday, January 20, 2014 3:40 PM > To: Lu Jingchang-B35083 > Cc: dan.j.willi...@intel.com; a...@arndb.de; shawn@linaro.org; > pawel.m...@arm.com; mark.rutl...@arm.com; swar...@wwwdotorg.org; linux- > ker...@

[PATCH 0/2] serial: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
In a multiplatform scenario, it is possible that multiple serial drivers are part of the kernel. Currently the driver registration fails if multiple serial drivers with same default major/minor numbers are included in the kernel. A typical case is observed with amba-pl011 and samsung-uart drivers.

[PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
uart_register_driver call binds the driver to a specific device node through tty_register_driver call. This should typically happen during device probe call. In a multiplatform scenario, it is possible that multiple serial drivers are part of the kernel. Currently the driver registration fails if

[PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
uart_register_driver call binds the driver to a specific device node through tty_register_driver call. This should typically happen during device probe call. In a multiplatform scenario, it is possible that multiple serial drivers are part of the kernel. Currently the driver registration fails if

Re: [PATCH 18/20] clocksource / acpi: Add macro CLOCKSOURCE_ACPI_DECLARE

2014-01-20 Thread Hanjun Guo
On 2014-1-17 22:21, Arnd Bergmann wrote: > On Friday 17 January 2014, Hanjun Guo wrote: >> >> From: Amit Daniel Kachhap >> >> This macro does the same job as CLOCKSOURCE_OF_DECLARE. The device >> name from the ACPI timer table is matched with all the registered >> timer controllers and matching in

Re: [PATCH] Staging : comedi : comedidev.h Fixed warning space coding style issue

2014-01-20 Thread Dan Carpenter
On Mon, Jan 20, 2014 at 12:19:09AM -0800, Surendra Patil wrote: > Fixed a coding style issue,removed space after the function pointer name > > Signed-off-by: Surendra Patil > --- > drivers/staging/comedi/comedidev.h | 32 > 1 file changed, 16 insertions(+), 16 de

Re: [PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable()

2014-01-20 Thread Chen, Gong
On Fri, Jan 17, 2014 at 08:39:21AM -0500, Prarit Bhargava wrote: [...] > + > + if (!alloc_cpumask_var(&online_new, GFP_KERNEL)){ > + ret = -ENOMEM; > + goto out; > + } > + > + if (!alloc_cpumask_var(&affinity_new, GFP_KERNEL)) { > + ret = -ENOMEM; > +

Re: [PATCH resend 1/2] Documentation: move all DMA documentations into Documentaion/dma

2014-01-20 Thread Hongbo Zhang
On 01/20/2014 12:29 PM, Vinod Koul wrote: On Sat, Jan 18, 2014 at 11:59:13AM -0600, Rob Landley wrote: On 01/16/14 09:59, Vinod Koul wrote: On Thu, Jan 16, 2014 at 06:50:04PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Since there are already seven DMA documentations under t

Re: [PATCH v5 2/9] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-20 Thread Roger Quadros
On 01/10/2014 04:26 PM, Lee Jones wrote: > On Fri, 10 Jan 2014, Arnd Bergmann wrote: > >> On Friday 10 January 2014, Lee Jones wrote: - need_logic_fck = false; + /* Set all clocks as invalid to begin with */ + omap->ehci_logic_fck = omap->init_60m_fclk = ERR_PTR(-

Re: [PATCH v5 3/9] mfd: omap-usb-host: Update DT clock binding information

2014-01-20 Thread Roger Quadros
On 01/10/2014 12:11 PM, Lee Jones wrote: > On Thu, 09 Jan 2014, Roger Quadros wrote: > >> The omap-usb-host driver expects certained named clocks. >> Add this information to the DT binding document. >> >> Use clock names as per function for reference clocks. >> >> CC: Lee Jones >> CC: Samuel Orti

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

2014-01-20 Thread Peter Zijlstra
On Mon, Jan 20, 2014 at 12:56:47AM -0800, H. Peter Anvin wrote: > On 01/20/2014 12:26 AM, Peter Zijlstra wrote: > > On Sun, Jan 19, 2014 at 11:45:43PM -0500, Len Brown wrote: > >> +static void mwait_idle(void) > >> +{ > >> + mwait_idle_with_hints(0, 0); > >> +} > >> + > >> > >> The reason the

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

2014-01-20 Thread Mike Galbraith
BOOT on > >> Q6600 box. See below for an alternative. > >> > >> idle: kill unnecessary mwait_idle() resched IPIs > > > > OK, so despite even further discussion, I have applied this as a merge > > fix patch for today. Let me know when it is al

[PATCH TRIVIAL] memcg: remove unused code from kmem_cache_destroy_work_func

2014-01-20 Thread Vladimir Davydov
Signed-off-by: Vladimir Davydov --- mm/memcontrol.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 7f1a356..7f1511d 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -3311,11 +3311,9 @@ static void kmem_cache_destroy_work_f

Re: [PATCH 03/20] ARM64 / ACPI: Introduce the skeleton of _PDC related for ARM64

2014-01-20 Thread Hanjun Guo
On 2014-1-17 22:25, Sudeep Holla wrote: > On 17/01/14 12:24, Hanjun Guo wrote: >> The _PDC (Processor Driver Capabilities) object provides OSPM a >> mechanism to convey to the platform the capabilities supported >> by OSPM for processor power management. >> >> OSPM evaluates _PDC prior to evaluatin

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

2014-01-20 Thread H. Peter Anvin
On 01/20/2014 01:16 AM, Peter Zijlstra wrote: >> >> The difference is the STI! > > So do the local_irq_enable(); mwait_idle_with_hints(0,0); thing. > No, that doesn't work. The point of __sti_mwait() is that the STI is the instruction immediately before the MWAIT, just like the combination STI;

Re: [BUG] at drivers/md/raid5.c:291! kernel 3.13-rc8

2014-01-20 Thread Ian Kumlien
On mån, 2014-01-20 at 14:37 +1100, NeilBrown wrote: > On Mon, 20 Jan 2014 01:49:17 +0100 Ian Kumlien wrote: > > > On mån, 2014-01-20 at 11:38 +1100, NeilBrown wrote: > > > On Sun, 19 Jan 2014 23:00:23 +0100 Ian Kumlien > > > wrote: > > > > > > > Ok, so third try to actually email this... > >

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

2014-01-20 Thread Sedat Dilek
further discussion, I have applied this as a merge >> > fix patch for today. Let me know when it is all sorted out. >> > >> >> Where is this fix? > > If you pull next-20140120, the fix is in it. > >> ( Browsing Linux-next remote GIT repository online. ) >> 2x NOP

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

2014-01-20 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 01/20/2014 01:16 AM, Peter Zijlstra wrote: > >> > >> The difference is the STI! > > > > So do the local_irq_enable(); mwait_idle_with_hints(0,0); thing. > > > > No, that doesn't work. The point of __sti_mwait() is that the STI > is the instruction immediately be

[rcu] 878d7439d0: -100% softirqs.RCU

2014-01-20 Thread Fengguang Wu
Hi Eric, Just FYI, we noticed the below changes in old commit 878d7439d0 ("rcu: Fix batch-limit size problem") in test case will-it-scale/open1: 62da1921292ef78 878d7439d0f45a95869e41757 --- - 0.00 ~200% +60900.0% 1.22 ~18% TOTAL perf-profi

Re: [PATCH 07/20] ARM64 / ACPI: Enable ARM64 in Kconfig

2014-01-20 Thread Hanjun Guo
On 2014-1-17 22:34, Sudeep Holla wrote: > On 17/01/14 12:25, Hanjun Guo wrote: >> Add Kconfigs to build ACPI on ARM64, and make ACPI runable on ARM64. >> >> acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR >> depends on X86 || IA64, and implement it on ARM/ARM64 in the furt

Re: [PATCH net] tun: handle copy failure in tun_put_user()

2014-01-20 Thread Jason Wang
On 01/20/2014 04:43 PM, Michael S. Tsirkin wrote: > On Sun, Jan 19, 2014 at 07:48:56PM -0800, David Miller wrote: >> From: Jason Wang >> Date: Mon, 20 Jan 2014 11:16:48 +0800 >> >>> This patch return the error code of copy helpers in tun_put_user() instead >>> of >>> ignoring them. >>> >>> Cc: Mi

Re: [PATCH 01/20] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2014-01-20 Thread Hanjun Guo
On 2014-1-18 0:00, Bjorn Helgaas wrote: > [+cc Jens, James, Ben, Fujita (authors of PCI_DMA_BUS_IS_PHYS usage)] > > On Fri, Jan 17, 2014 at 5:24 AM, Hanjun Guo wrote: >> Not all the ARM64 targets that are using ACPI have PCI, so introduce >> some stub functions to make PCI optional for ACPI, and

Re: [PATCH net] tun: handle copy failure in tun_put_user()

2014-01-20 Thread Michael S. Tsirkin
On Mon, Jan 20, 2014 at 05:32:02PM +0800, Jason Wang wrote: > On 01/20/2014 04:43 PM, Michael S. Tsirkin wrote: > > On Sun, Jan 19, 2014 at 07:48:56PM -0800, David Miller wrote: > >> From: Jason Wang > >> Date: Mon, 20 Jan 2014 11:16:48 +0800 > >> > >>> This patch return the error code of copy hel

sigbus on memcpy despite calling mincore

2014-01-20 Thread Sandeep Joshi
Hi folks I have a program which is trying to read a page from the page cache for a certain file it calls mmap (PROT_NONE, MAP_SHARED |MAP_LOCKED). Then it calls mincore to check if the page is in memory If it does exist, it remaps the same offset using mmap(PROT_READ, MAP_SHARED|MAP_LOCKED) Af

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

2014-01-20 Thread Mike Galbraith
On Mon, 2014-01-20 at 10:25 +0100, Sedat Dilek wrote: > It's about the handling of fixes for -next. Ah, it was a gripe in query form. My bad. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo in

[GIT PULL] EDAC fixes for 3.14

2014-01-20 Thread Borislav Petkov
Hi Linus, please pull a bunch of enhancements/fixes from all around the world of EDAC. Thanks. -- The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/li

Re: [PATCH v3 16/24] drm/i2c: tda998x: add DT documentation

2014-01-20 Thread Jean-Francois Moine
On Sun, 19 Jan 2014 20:06:09 -0800 Olof Johansson wrote: > Hi, > > On Sun, Jan 19, 2014 at 10:58 AM, Jean-Francois Moine wrote: > > Signed-off-by: Jean-Francois Moine > > --- > > .../devicetree/bindings/drm/i2c/tda998x.txt| 24 > > ++ > > 1 file changed, 24 insert

Re: [PATCH v3] HID: New hid-cp2112 driver

2014-01-20 Thread Oliver Neukum
On Thu, 2014-01-16 at 15:52 -0600, David Barksdale wrote: > +enum { > + STATUS1_TIMEOUT_NACK = 0x00, > + STATUS1_TIMEOUT_BUS = 0x01, > + STATUS1_ARBITRATION_LOST = 0x02, > + STATUS1_READ_INCOMPLETE = 0x03, > + STATUS1_WRITE_INCOMPLETE = 0x04, > + STATUS1_SUCCESS = 0x05, > +

Re: [PATCH v7 0/7] Add O_DENY* support for VFS and CIFS/NFS

2014-01-20 Thread Pavel Shilovsky
2014/1/17 Frank Filz : > This looks wonderful and will be useful to the Ganesha user space NFS server > also. > > I do have a couple questions. > > 1. How will this interact with the idea of private locks from the patch set > Jeff Layton has been pushing? They don't touch each other. > > 2. If a

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

2014-01-20 Thread Peter Zijlstra
On Mon, Jan 20, 2014 at 01:23:00AM -0800, H. Peter Anvin wrote: > On 01/20/2014 01:16 AM, Peter Zijlstra wrote: > >> > >> The difference is the STI! > > > > So do the local_irq_enable(); mwait_idle_with_hints(0,0); thing. > > > > No, that doesn't work. The point of __sti_mwait() is that the STI

[PATCH] pwm: add support for Intel Low Power Subsystem PWM

2014-01-20 Thread Chew Chiau Ee
From: Mika Westerberg Add support for Intel Low Power I/O subsystem PWM controllers found on Intel BayTrail SoC. Signed-off-by: Mika Westerberg Signed-off-by: Chew, Kean Ho Signed-off-by: Chang, Rebecca Swee Fun Signed-off-by: Chew, Chiau Ee --- drivers/pwm/Kconfig| 10 +++ drivers/pw

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-01-20 Thread Russell King - ARM Linux
On Mon, Jan 20, 2014 at 02:32:35PM +0530, Tushar Behera wrote: > uart_register_driver call binds the driver to a specific device > node through tty_register_driver call. This should typically happen > during device probe call. > > In a multiplatform scenario, it is possible that multiple serial >

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-20 Thread Russell King - ARM Linux
On Mon, Jan 20, 2014 at 02:32:34PM +0530, Tushar Behera wrote: > uart_register_driver call binds the driver to a specific device > node through tty_register_driver call. This should typically happen > during device probe call. > > In a multiplatform scenario, it is possible that multiple serial >

Re: [RFC PATCH 2/3] zram: introduce zram compressor operations struct

2014-01-20 Thread Sergey Senozhatsky
On (01/20/14 14:12), Minchan Kim wrote: > Hello Sergey, > > I reviewed this patchset and I suggest somethings. > Please have a look and feedback to me. :) > > 1. Let's define new file zram_comp.c > 2. zram_comp includes following field >.create >.compress >.decompress. >.destroy >

[PATCH] NFSv4.1: PNFS_BLOCK_NONE_DATA should be handle properly in bl_add_merge_extent?

2014-01-20 Thread shaobingqing
In the current code, extents would not delete from the bl_extents list when lseg is removed from layout. Now one extent's lseg is deleted and its type is PNFS_BLOCK_NONE_DATA, while a layoutget request get a extent with the same range and its type is PNFS_BLOCK_NONE_DATA. In this situation the fu

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

2014-01-20 Thread Peter Zijlstra
On Mon, Jan 20, 2014 at 09:30:21AM +0100, Peter Zijlstra wrote: > Then make them so. The fact was that most of the mwait idle sites > were bloody broken. And the single mwait_idle_with_hints() function > presents a single nice function that does all the required magics. To stress this a bit more;

Re: Deadlock in do_page_fault() on ARM (old kernel)

2014-01-20 Thread Michal Hocko
On Wed 15-01-14 20:13:04, Alan Ott wrote: [...] > 2. __copy_to_user_memcpy() takes a read lock (down_read()) on This looks like a bug. copy_to_user_* shouldn't take mmap_sem at all Check the might_fault annotation used in generic code. Arm version of copy_to_user* doesn't seem to use the annotatio

Re: [PATCH v7 0/7] Add O_DENY* support for VFS and CIFS/NFS

2014-01-20 Thread Pavel Shilovsky
2014/1/20 Volker Lendecke : > Hi! > > On Fri, Jan 17, 2014 at 02:07:05PM +0400, Pavel Shilovsky wrote: >> If O_DENYDELETE flag is specified and the open succeded, >> any further unlink operation will fail with -ESHAREDENIED >> untill this open is closed. Now this flag is processed by >> VFS and CIF

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

2014-01-20 Thread H. Peter Anvin
On 01/20/2014 02:13 AM, Peter Zijlstra wrote: > On Mon, Jan 20, 2014 at 09:30:21AM +0100, Peter Zijlstra wrote: >> Then make them so. The fact was that most of the mwait idle sites >> were bloody broken. And the single mwait_idle_with_hints() function >> presents a single nice function that does al

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2014-01-20 Thread Russell King - ARM Linux
And another one using that evil mail-followup-to header: Mail-Followup-To: Pali Rohár , Anton Vorontsov , Michael Trimarchi , David Woodhouse , Tony Lindgren , Russell King , linux-kernel@vger.kernel.org, Linux OMAP Mailing List , freemangor.

Re: BUG: spinlock lockup

2014-01-20 Thread Will Deacon
On Sat, Jan 18, 2014 at 07:25:51AM +, naveen yadav wrote: > We are using 3.8.x kernel on ARM, We are facing soft lockup issue. > Following are the logs. Which CPU/SoC are you using? > BUG: spinlock lockup suspected on CPU#0, process1/525 > lock: 0xd8ac9a64, .magic: dead4ead, .owner: /-1, .ow

[PATCHv11 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu Acked-by: Arnd Bergmann --- changes in v11: Add dma device_slave_caps definition. changes in v10: define fsl_edma_mutex in f

Re: [PATCH v3] perf: add support for the xtensa architecture

2014-01-20 Thread Baruch Siach
Hi Ingo, On Mon, Jan 13, 2014 at 11:46:47AM +0100, Ingo Molnar wrote: > * Baruch Siach wrote: > > Tested using kernel tracepoints on a QEMU simulated environment. Kernel > > support > > for perf depends on the patch "xtensa: enable HAVE_PERF_EVENTS", which is > > scheduled for v3.14. Hardware pe

Re: [PATCH] x86: dma-mapping: fix GFP_ATOMIC macro usage

2014-01-20 Thread Marek Szyprowski
Hello, On 2014-01-17 11:49, Andy Whitcroft wrote: On Fri, Jan 17, 2014 at 8:46 AM, Marek Szyprowski wrote: > GFP_ATOMIC is not a single gfp flag, but a macro which expands to the other > flags and LACK of __GFP_WAIT flag. To check if caller wanted to perform an > atomic allocation, the code mus

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Vinod Koul
On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: > On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: > > On Mon, Dec 16, 2013 at 01:51:47PM +0530, Chew, Chiau Ee wrote: > > > > As mentioned by Andy, we are using *_noirq verion of suspend/resume PM > > > callback whereby the cal

Re: [PATCH 2/3] ptrace.2: add description for PTRACE_PEEKSIGINFO

2014-01-20 Thread Michael Kerrisk (man-pages)
Andrey, On 07/16/2013 10:19 AM, Andrey Vagin wrote: > Retrieve signals without removing them from a queue. > > Signed-off-by: Andrey Vagin > --- > man2/ptrace.2 | 39 +++ > 1 file changed, 39 insertions(+) > > diff --git a/man2/ptrace.2 b/man2/ptrace.2 > in

Re: [PATCH 3/3] ptrace.2: add description for PTRACE_{GET,SET}SIGMASK

2014-01-20 Thread Michael Kerrisk (man-pages)
On 07/16/2013 10:19 AM, Andrey Vagin wrote: > These two commands allow to examine and change mask of blocked signals. Thanks, Andrey. Applied. Cheers, Michael > Signed-off-by: Andrey Vagin > --- > man2/ptrace.2 | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git a/man2/

Re: [PATCH 8/25] drivers/dma: fix error return code

2014-01-20 Thread Vinod Koul
On Sun, Dec 29, 2013 at 11:47:23PM +0100, Julia Lawall wrote: > From: Julia Lawall > > Set the return variable to an error code as done elsewhere in the function. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > ( > i

Re: [PATCH v7 0/7] Add O_DENY* support for VFS and CIFS/NFS

2014-01-20 Thread Volker Lendecke
On Mon, Jan 20, 2014 at 02:20:43PM +0400, Pavel Shilovsky wrote: > > One question: If Samba wants to open a file for delete > > access, there's no corresponding flag in the open > > permissions. There can be the case where Samba wants to open > > *just* for future unlink, no read or write access re

Re: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Vinod Koul
On Mon, Jan 20, 2014 at 09:06:43AM +, Jingchang Lu wrote: > > > > -Original Message- > > From: Vinod Koul [mailto:vinod.k...@intel.com] > > Sent: Monday, January 20, 2014 3:40 PM > > To: Lu Jingchang-B35083 > > Cc: dan.j.willi...@intel.com; a...@arndb.de; shawn@linaro.org; > > paw

Re: MAINTAINERS tree branches [xen tip as an example]

2014-01-20 Thread David Vrabel
On 17/01/14 23:02, Luis R. Rodriguez wrote: > As per linux-next Next/Trees [0], and a recent January MAINTAINERS patch [1] > from David one of the xen development kernel git trees to track is > xen/git.git [2], this tree however gives has undefined references when doing a > fresh clone [shown below

[question] how to figure out OOM reason? should dump slab/vmalloc info when OOM?

2014-01-20 Thread Jianguo Wu
When OOM happen, will dump buddy free areas info, hugetlb pages info, memory state of all eligible tasks, per-cpu memory info. But do not dump slab/vmalloc info, sometime, it's not enough to figure out the reason OOM happened. So, my questions are: 1. Should dump slab/vmalloc info when OOM happen?

[PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Juri Lelli
From: Dario Faggioli Add in Documentation/scheduler/ some hints about the design choices, the usage and the future possible developments of the sched_dl scheduling class and of the SCHED_DEADLINE policy. Cc: bruce.ashfi...@windriver.com Cc: clau...@evidence.eu.com Cc: dar...@dvhart.com Cc: dhava

RE: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst [NEW HARDWARE]

2014-01-20 Thread David Laight
From: > On 01/17/2014 06:34 AM, David Laight wrote: > > > Can you try the patch I posted that stops the ownership on LINK TRBs > > being changed before that on the linked-to TRB? > > Sadly, the patch didn't fix the ASMedia lockup behavior, however :( > > I did notice that the lockup occurred on

[PATCH 1/2] f2fs: add help function META_MAPPING

2014-01-20 Thread Gu Zheng
Introduce help function META_MAPPING() to get the cache meta blocks' address space. Signed-off-by: Gu Zheng --- fs/f2fs/checkpoint.c |8 fs/f2fs/debug.c |4 ++-- fs/f2fs/f2fs.h |5 + fs/f2fs/node.c |2 +- fs/f2fs/segment.c|2 +- 5 files chang

Re: [PATCH v7 1/7] VFS: Introduce new O_DENY* open flags

2014-01-20 Thread Pavel Shilovsky
2014/1/17 One Thousand Gnomes : >> +#define ESHAREDENIED 258 /* File is locked with a sharelock */ > > Have you prepared C library patches to match this ? I don't have it for now. > > (and why not just use EPERM, it has the meaning you want already) We need to determine if we have a share re

[PATCH 2/2] f2fs: remove the orphan block page array

2014-01-20 Thread Gu Zheng
As the orphan_blocks may be max to 504, so it is not security and rigorous to store such a large array in the kernel stack as Dan Carpenter said. In fact, grab_meta_page has locked the page in the page cache, and we can use find_get_page() to fetch the page safely in the downstream, so we can remov

Re: [PATCH v2] dma: fix vchan_cookie_complete() debug print

2014-01-20 Thread Vinod Koul
On Mon, Dec 09, 2013 at 10:25:23AM +0100, Jonas Jensen wrote: > vchan_cookie_complete() is supposed to print the cookie value > but it's always zero because: > > dma_cookie_complete() is called prior to dev_vdbg() > > Move the call, place it after dev_vdbg(). > > Signed-off-by: Jonas Jensen App

  1   2   3   4   5   6   7   >