Fwd: [linux-sunxi] Re: [PATCH v2 17/20] ARM: sunxi: Introduce Allwinner A23 support

2014-06-20 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 8:26 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Tue, Jun 17, 2014 at 10:52:54PM +0800, Chen-Yu Tsai wrote: The Allwinner A23 is a dual-core Cortex-A7-based SoC. It re-uses most of the IPs found in previous SoCs, notably the A31. Signed-off-by: Chen-Yu

Re: [linux-sunxi] Re: [PATCH v2 12/20] clk: sunxi: Add A23 APB0 support to sun6i-a31-apb0-clk

2014-06-20 Thread Chen-Yu Tsai
On Thu, Jun 19, 2014 at 5:28 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Thu, Jun 19, 2014 at 12:33:41PM +0800, Chen-Yu Tsai wrote: On Wed, Jun 18, 2014 at 6:26 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Tue, Jun 17, 2014 at 10:52:49PM +0800, Chen-Yu Tsai

Re: [PATCH] ARM: tegra: TN7: relax some regulators

2014-06-20 Thread Alexandre Courbot
On 06/20/2014 02:26 PM, Alexandre Courbot wrote: On 06/20/2014 02:56 AM, Mark Brown wrote: * PGP Signed by an unknown key On Thu, Jun 19, 2014 at 09:59:04AM -0600, Stephen Warren wrote: On 06/19/2014 01:49 AM, Alexandre Courbot wrote: Remove the regulator-always-on property from some

Re: [PATCH 0/3] Remove devm_request_and_ioremap()

2014-06-20 Thread Wolfram Sang
I already sent the same patch as one single patch to Greg Kroah-Hartman. [1] Also, it was accepted by Greg Kroah-Hartman. [2] Thank you. [1] https://lkml.org/lkml/2014/6/11/26 [2] https://lkml.org/lkml/2014/6/11/649 Yeah, I'll go apply that right now while I'm remembering it :) Yay,

[RFCv2 1/3] mm: Don't hide spin_lock in swap_info_get internal

2014-06-20 Thread Minchan Kim
Now, swap_info_get hides lock holding by doing it internally but releasing the lock so caller should release the lock. Normally, it's not a good pattern and I need to handle lock from caller in next patchset. Signed-off-by: Minchan Kim minc...@kernel.org --- mm/swapfile.c | 6 +- 1 file

[RFCv2 3/3] mm: Free reclaimed pages indepdent of next reclaim

2014-06-20 Thread Minchan Kim
Invalidate dirty/writeback page and file/swap I/O for reclaiming are asynchronous so that when page writeback is completed, it will be rotated back into LRU tail for freeing in next reclaim. But it would make unnecessary CPU overhead and more aging with higher priority of reclaim than necessary

[RFCv2 2/3] mm: Introduce atomic_remove_mapping

2014-06-20 Thread Minchan Kim
For release page from atomic context(ie, softirq), locks related to the work should be aware of that. There are two locks. One is mapping-tree_lock and the other is swap_info_struct-lock. The mapping-tree_lock is alreay aware of irq so it's no problem but swap_info_struct-lock isn't so

[RFCv2 0/3] free reclaimed pages by paging out instantly

2014-06-20 Thread Minchan Kim
Normally, I/O completed pages for reclaim would be rotated into inactive LRU tail without freeing. The why it works is we can't free page from atomic context(ie, end_page_writeback) due to vaious locks isn't aware of atomic context. So for reclaiming the I/O completed pages, we need one more

[GIT PULL] UniCore32 update for v3.16-rc1

2014-06-20 Thread guanxuetao
Hi Linus, This is unicore32 pull request for v3.16-rc1. This pull request includes bugfixes to make unicore32 successfully build under defconfig, and some changes for allmodconfig (though not finished). Please pull tags/for-linus with following updates. Thanks. Xuetao Guan -BEGIN PGP

Re: Arm Target System hangs on uart_open/uart_write

2014-06-20 Thread Abhijit Lamsoge
Hi All, This problem is fixed. By modifying driver code for setting driver-ports correctly, to the one allocated for uart port in uart_register_function. If this is not done, then once an FD for uart file is received, the cleanup, work is put into BH for processing, and then it does not know for

Re: [patch 09/13] irqchip: spear_shirq: Kill the clear_reg nonsense

2014-06-20 Thread Viresh Kumar
On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: None of the chips has a ACK register. I need to recheck on this after looking at datasheets. Arranging for them, will revert by tomorrow. The code brainlessly fiddles with the enable register, so it might even reenable

Re: [patch 13/13] irqchip: spear_shirq: Simplify register access code

2014-06-20 Thread Viresh Kumar
On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: Index: linux/drivers/irqchip/spear-shirq.c -struct shirq_regs { - u32 enb_reg; - u32 reset_to_enb; I don't see something similar to 'reset_to_enb' is added again. AFAICT, this field is being used by two

[Patch] iommu/vt-d: fix bug in handling multiple RMRRs for the same PCI device

2014-06-20 Thread Jiang Liu
Function dmar_iommu_notify_scope_dev() makes a wrong assumption that there's one RMRR for each PCI device at most, which causes DMA failure on some HP platforms. So enhance dmar_iommu_notify_scope_dev() to handle multiple RMRRs for the same PCI device. Fixbug:

Re: [PATCHv2 00/18] perf tools: Factor ordered samples queue

2014-06-20 Thread Jiri Olsa
On Thu, Jun 19, 2014 at 11:54:40AM -0600, David Ahern wrote: On 6/19/14, 4:34 AM, Jiri Olsa wrote: I've skimmed through the patches. What happens if you are in the middle of a round and the max queue size is reached? half of the queue (time half) is flushed to make some free space right,

Re: [patch 08/13] irqchip: spear_shirq: Precalculate status mask

2014-06-20 Thread Viresh Kumar
On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: Calculate the status mask at compile time, not at runtime. Signed-off-by: Thomas Gleixner t...@linutronix.de --- drivers/irqchip/spear-shirq.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-)

Re: [RFC 1/2] pwrseq: Add subsystem to handle complex power sequences

2014-06-20 Thread Hans de Goede
Hi, On 06/19/2014 07:18 PM, Olof Johansson wrote: Hi, On Thu, Jun 19, 2014 at 6:04 AM, Ulf Hansson ulf.hans...@linaro.org wrote: The pwrseq subsystem handles complex power sequences, typically useful for subsystems that makes use of discoverable buses, like for example MMC and I2C.

[PATCH] ARM: nommu: Remove unnecessary prototype for kobjsize()

2014-06-20 Thread Tobias Klauser
The prototype for kobjsize() is already defined in linux/mm.h which is included where kobjsize() is used. Signed-off-by: Tobias Klauser tklau...@distanz.ch --- arch/arm/include/asm/pgtable-nommu.h |6 -- 1 file changed, 6 deletions(-) diff --git a/arch/arm/include/asm/pgtable-nommu.h

[PATCH] m68knommu: Remove unnecessary prototype for kobjsize()

2014-06-20 Thread Tobias Klauser
The prototype for kobjsize() is already defined in linux/mm.h which is included where kobjsize() is used. Signed-off-by: Tobias Klauser tklau...@distanz.ch --- arch/m68k/include/asm/pgtable_no.h |5 - 1 file changed, 5 deletions(-) diff --git a/arch/m68k/include/asm/pgtable_no.h

[PATCH RESEND] kprobes: be more permissive when user specifies both symbol name and address

2014-06-20 Thread Jianyu Zhan
Hi, I found that this patch wasn't merged into mainline during this merge window(maybe it wasn't cooked in any tree), while it has been acked-by for a couple of days. Ingo, would you mind queueing this one? Thanks. -8- Currently, if user specifies both symbol name and address, we just

Re: [PATCH 2/3] fork: reset mm-pinned_vm

2014-06-20 Thread Vladimir Davydov
On Thu, Jun 19, 2014 at 01:58:20PM -0700, Andrew Morton wrote: On Thu, 19 Jun 2014 13:07:47 +0400 Vladimir Davydov vdavy...@parallels.com wrote: mm-pinned_vm counts pages of mm's address space that were permanently pinned in memory by increasing their reference counter. The counter was

Re: [PATCH v2 16/20] mfd: sun6i-prcm: Add support for Allwinner A23 PRCM

2014-06-20 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 8:24 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Wed, Jun 18, 2014 at 09:29:53AM +0100, Lee Jones wrote: The Allwinner A23 SoC has a PRCM unit like the previous A31 SoC. The differences are the AR100 clock can no longer be modified, the APB0 clock

Re: [PATCH v5 01/15] thunderbolt: Add initial cactus ridge NHI support

2014-06-20 Thread Paul Bolle
). Signed-off-by: Andreas Noever andreas.noe...@gmail.com --- This patch landed in today's linux-next (next-20140620). [...] --- /dev/null +++ b/drivers/thunderbolt/Kconfig @@ -0,0 +1,12 @@ +menuconfig THUNDERBOLT + tristate Thunderbolt support for Apple devices + default no That should

Re: [PATCH linux-next] staging: r8192ee: Adapt flush function prototype

2014-06-20 Thread Vincent
On 06/20/2014 02:19 AM, Greg Kroah-Hartman wrote: (..) This doesn't apply as I think it's already done part of a merge... You are right, it seems to be in f9da455b93f6. Thanks for your concern! Best regards, V. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[GIT PULL] s390 patches for the 3.16-rc2

2014-06-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: A couple of bug fixes, a debug change for qdio, an update for the default config, and one small extension. The watchdog module

Re: [patch 2/2] dts: spear: Add missing i2c1 interrupt

2014-06-20 Thread Thomas Gleixner
On Fri, 20 Jun 2014, Viresh Kumar wrote: On Fri, Jun 20, 2014 at 3:26 AM, Thomas Gleixner t...@linutronix.de wrote: Signed-off-by: Thomas Gleixner t...@linutronix.de --- arch/arm/boot/dts/spear320.dtsi |5 + 1 file changed, 5 insertions(+) Index:

Re: [patch 2/2] clk: spear3xx: Set proper clock parent of uart1/2

2014-06-20 Thread Thomas Gleixner
On Fri, 20 Jun 2014, Viresh Kumar wrote: On Fri, Jun 20, 2014 at 3:22 AM, Thomas Gleixner t...@linutronix.de wrote: The uarts only work when the parent is ras_ahb_clk. The stale 3.5 based ST tree does this in the board file. Add it to the clk init function. Not pretty, but the mess there

[PATCH] mips: n32: use compat getsockopt syscall

2014-06-20 Thread Sorin Dumitru
Signed-off-by: Sorin Dumitru sdumi...@ixiacom.com --- arch/mips/kernel/scall64-n32.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S index c1dbcda..e543861 100644 --- a/arch/mips/kernel/scall64-n32.S +++

Re: [PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-20 Thread Xishi Qiu
On 2014/6/17 9:35, Xishi Qiu wrote: On 2014/6/16 20:50, Rafael Aquini wrote: On Mon, Jun 16, 2014 at 01:14:22PM +0200, Michal Hocko wrote: On Mon 16-06-14 17:24:38, Xishi Qiu wrote: When system(e.g. smart phone) running for a long time, the cache often takes a large memory, maybe the

Re: [3.13.y][SRU][PATCH 0/1] btrfs: fix defrag 32-bit integer overflow

2014-06-20 Thread Jiri Slaby
On 06/18/2014 07:23 PM, Joseph Salisbury wrote: BugLink: http://bugs.launchpad.net/bugs/1324953 Hello, Please consider including upstream commit c41570c9 in the next v3.13.y release. It was included upstream as of v3.14-rc2. It has been tested and confirmed to resolve

Re: [patch 09/13] irqchip: spear_shirq: Kill the clear_reg nonsense

2014-06-20 Thread Thomas Gleixner
On Fri, 20 Jun 2014, Viresh Kumar wrote: On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: None of the chips has a ACK register. I need to recheck on this after looking at datasheets. Arranging for them, will revert by tomorrow. The code brainlessly fiddles

Re: [RFC 1/2] pwrseq: Add subsystem to handle complex power sequences

2014-06-20 Thread Olof Johansson
On Fri, Jun 20, 2014 at 12:27 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 06/19/2014 07:18 PM, Olof Johansson wrote: Hi, On Thu, Jun 19, 2014 at 6:04 AM, Ulf Hansson ulf.hans...@linaro.org wrote: The pwrseq subsystem handles complex power sequences, typically useful for

Re: [ANNOUNCE] 3.12.22-rt33

2014-06-20 Thread Mike Galbraith
On Thu, 2014-06-19 at 09:44 -0400, Steven Rostedt wrote: On Thu, 19 Jun 2014 05:46:43 +0200 Mike Galbraith umgwanakikb...@gmail.com wrote: On Wed, 2014-06-18 at 20:12 -0400, Steven Rostedt wrote: Dear RT Folks, I'm pleased to announce the 3.12.22-rt33 stable release. Didn't we

Re: [PATCH 5/5] perf tools: Add report.show-headers config file option

2014-06-20 Thread Jiri Olsa
On Fri, Jun 20, 2014 at 08:46:58AM +0900, Namhyung Kim wrote: On Thu, 19 Jun 2014 18:58:15 +0200, Jiri Olsa wrote: On Thu, Jun 19, 2014 at 12:28:43PM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 19, 2014 at 09:56:44PM +0900, Namhyung Kim escreveu: 2014-06-19 (목), 13:41 +0200, Jiri

Re: [patch 13/13] irqchip: spear_shirq: Simplify register access code

2014-06-20 Thread Thomas Gleixner
On Fri, 20 Jun 2014, Viresh Kumar wrote: On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: Index: linux/drivers/irqchip/spear-shirq.c -struct shirq_regs { - u32 enb_reg; - u32 reset_to_enb; I don't see something similar to 'reset_to_enb' is added

[PATCH 2/2] ASoC: samsung: Extend snow driver to support MAX98091

2014-06-20 Thread Tushar Behera
Peach-pi board has MAX98091 CODEC. Extend snow machine driver to support this board. Signed-off-by: Tushar Behera tusha...@samsung.com --- Documentation/devicetree/bindings/sound/snow.txt |1 + sound/soc/samsung/snow.c |1 + 2 files changed, 2 insertions(+) diff

Re: [patch 08/13] irqchip: spear_shirq: Precalculate status mask

2014-06-20 Thread Thomas Gleixner
On Fri, 20 Jun 2014, Viresh Kumar wrote: On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: @@ -176,6 +186,7 @@ static struct spear_shirq spear320_shirq static struct spear_shirq spear320_shirq_intrcomm_ras = { .offset = 11, .nr_irqs

[PATCH 1/2] ASoC: max98090: Add max98091 compatible string

2014-06-20 Thread Tushar Behera
From: Wonjoon Lee woojoo@samsung.com The MAX98091 CODEC is the same as MAX98090 CODEC, but with an extra microphone. Existing driver for MAX98090 CODEC already has support for MAX98091 CODEC. Adding proper compatible string so that MAX98091 CODEC can be specified from device tree.

Re: [PATCH] ARM: perf: allow tracing with kernel tracepoints events

2014-06-20 Thread Jean Pihet
Hi Will, On 18 June 2014 14:53, Will Deacon will.dea...@arm.com wrote: Hi Jean, On Tue, Jun 17, 2014 at 06:11:05PM +0100, Jean Pihet wrote: When tracing with tracepoints events the IP and CPSR are set to 0, preventing the perf code to resolve the symbols: ./perf record -e kmem:kmalloc cal

Re: [PATCH 3/8] wlan-ng/prism2mgmt:checkpatch: Insert blank line

2014-06-20 Thread Dan Carpenter
On Thu, Jun 19, 2014 at 01:11:40PM -0700, j...@joshtriplett.org wrote: On Thu, Jun 19, 2014 at 09:20:15PM +0200, Johannes Stadlinger wrote: This patch inserts a blank line after a declaration to avoid checkpatch warning. Signed-off-by: Johannes Stadlinger johannes.stadlin...@fau.de

Contact me for more details.

2014-06-20 Thread MARTIN DESMOND
Hi friend. I want to transfer USD5.5Million into your account Contact me for more details. -- 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.org/majordomo-info.html Please read

Re: [RFC 1/2] pwrseq: Add subsystem to handle complex power sequences

2014-06-20 Thread Hans de Goede
Hi, On 06/20/2014 10:02 AM, Olof Johansson wrote: On Fri, Jun 20, 2014 at 12:27 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 06/19/2014 07:18 PM, Olof Johansson wrote: Hi, On Thu, Jun 19, 2014 at 6:04 AM, Ulf Hansson ulf.hans...@linaro.org wrote: The pwrseq subsystem handles

Re: [PATCH v2] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-20 Thread Will Deacon
On Thu, Jun 19, 2014 at 05:40:49PM +0100, Tomasz Figa wrote: On 19.06.2014 18:31, Doug Anderson wrote: My personal vote would be to submit a patch to change cycles_t to always be 32-bits. Given that 32-bits was fine for udelay() for ARM that seems sane and simple. If someone later comes

Re: slub/debugobjects: lockup when freeing memory

2014-06-20 Thread Thomas Gleixner
On Thu, 19 Jun 2014, Paul E. McKenney wrote: On Thu, Jun 19, 2014 at 11:32:41PM +0200, Thomas Gleixner wrote: On Thu, 19 Jun 2014, Paul E. McKenney wrote: On Thu, Jun 19, 2014 at 10:37:17PM +0200, Thomas Gleixner wrote: On Thu, 19 Jun 2014, Paul E. McKenney wrote: On Thu,

[PATCH] mmc: sdhci-pci: Quark SDIO host controller supporting

2014-06-20 Thread Chen, Alvin
From: Derek Browne derek.bro...@intel.com On Intel Quark, there is a SDIO host controller. This patch is added to enable the SDIO host controller. Signed-off-by: Derek Browne derek.bro...@intel.com Signed-off-by: Alvin (Weike) Chen alvin.c...@intel.com --- drivers/mmc/host/sdhci-pci.c | 12

[PATCH] mmc: sdhci-pci: Add support for Intel Quark SDIO host controller

2014-06-20 Thread Chen, Alvin
From: Alvin (Weike) Chen alvin.c...@intel.com Hi, Intel Quark consists of one SDIO host controller which can be PCI enumerated. SDHCI-PCI layer doesn't support it. Thus, we add support for Intel Quark SDIO as well. Derek Browne (1): Quark SDIO host controller drivers/mmc/host/sdhci-pci.c |

Re: [patch 08/13] irqchip: spear_shirq: Precalculate status mask

2014-06-20 Thread Viresh Kumar
On 20 June 2014 13:36, Thomas Gleixner t...@linutronix.de wrote: On Fri, 20 Jun 2014, Viresh Kumar wrote: On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: @@ -176,6 +186,7 @@ static struct spear_shirq spear320_shirq static struct spear_shirq

Re: [PATCH v3 01/05] staging: emxx_udc: Add Emma Mobile USB Gadget driver

2014-06-20 Thread Paul Bolle
. At this point DT bindings are clearly lacking and I doubt that the driver even can run with multiple instances (global variables, hurray!). Signed-off-by: Magnus Damm damm+rene...@opensource.se --- This patch appeared in linux-next (ie, next-20140620). [...] --- /dev/null +++ work/drivers/staging

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-20 Thread Daniel Vetter
On Fri, Jun 20, 2014 at 12:39 AM, H. Peter Anvin h...@zytor.com wrote: Aside: This is a pet peeve of mine and recently I've switched to rejecting all patch that have a BUG_ON, period. Please do, I have been for a few years now as well for the same reasons you cite. I'm actually concerned

Re: [patch 13/13] irqchip: spear_shirq: Simplify register access code

2014-06-20 Thread Viresh Kumar
On 20 June 2014 13:35, Thomas Gleixner t...@linutronix.de wrote: On Fri, 20 Jun 2014, Viresh Kumar wrote: On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: Index: linux/drivers/irqchip/spear-shirq.c -struct shirq_regs { - u32 enb_reg; - u32

Re: [PATCH] ARM64: implement TASK_SIZE_OF

2014-06-20 Thread Will Deacon
Hi Colin, On Wed, Jun 18, 2014 at 09:10:09PM +0100, Colin Cross wrote: include/linux/sched.h implements TASK_SIZE_OF as TASK_SIZE if it is not set by the architecture headers. TASK_SIZE uses the current task to determine the size of the virtual address space. On a 64-bit kernel this will

Re: [PATCH] arm64: add the ability to hook the fault code

2014-06-20 Thread Will Deacon
On Thu, Jun 19, 2014 at 11:54:56AM +0100, Neil Zhang wrote: Add the ability to hook the fault code for future use. Do you have a user for this in the kernel tree? I'd rather add the hook with the first user, if it doesn't exist already. Will -- To unsubscribe from this list: send the line

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-20 Thread Daniel Vetter
On Fri, Jun 20, 2014 at 1:42 AM, Greg KH gre...@linuxfoundation.org wrote: I'm actually concerned about this trend. Downgrading things to WARN_ON can allow a security bug in the kernel to continue to exist, for example, or make the error message disappear. A BUG_ON makes any error message

RE: [PATCH] arm64: add the ability to hook the fault code

2014-06-20 Thread Neil Zhang
-Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: 2014年6月20日 16:26 To: Neil Zhang Cc: Catalin Marinas; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: add the ability to hook the fault code On Thu, Jun 19, 2014

Re: Change gpio-reulator-probe() to use managed resources.

2014-06-20 Thread Rob Jones
On 19/06/14 18:57, Mark Brown wrote: On Thu, Jun 19, 2014 at 04:46:01PM +0100, Rob Jones wrote: Add new managed resource functions as needed to achieve this. Amend the following functions: You appear to have omitted the actual patch, I'm quoting the entire mail here. Please see

Re: [PATCH] arm64: add the ability to hook the fault code

2014-06-20 Thread Will Deacon
On Fri, Jun 20, 2014 at 09:33:59AM +0100, Neil Zhang wrote: -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: 2014年6月20日 16:26 To: Neil Zhang Cc: Catalin Marinas; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH]

[PATCH] staging: alarm-dev: Set the license to GPL

2014-06-20 Thread pramod . gurav . etc
From: Pramod Gurav pramod.gurav@gmail.com Adding GPL license to fix a warning while compiling as module. CC: Greg Kroah-Hartman g...@kroah.com CC: Brian Swetland swetl...@google.com Signed-off-by: Pramod Gurav pramod.gurav@gmail.com --- drivers/staging/android/alarm-dev.c |2 +- 1

Re: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-20 Thread Dan Carpenter
On Thu, Jun 19, 2014 at 06:34:36PM -0700, Haiyang Zhang wrote: @@ -589,7 +590,19 @@ void netvsc_linkstatus_callback(struct hv_device *device_obj, net_device = hv_get_drvdata(device_obj); rdev = net_device-extension; - rdev-link_state = status != 1; + switch

Re: [PATCH 0/3] Remove devm_request_and_ioremap()

2014-06-20 Thread Wolfram Sang
On Thu, Jun 19, 2014 at 07:59:57PM -0700, 'Greg Kroah-Hartman' wrote: On Fri, Jun 20, 2014 at 11:36:03AM +0900, Jingoo Han wrote: On Friday, June 20, 2014 3:49 AM, Wolfram Sang wrote: Pretty much a year ago, Tushar cleaned up a lot of deprecated uses of devm_request_and_ioremap, yet

[PATCH] VFS: mount must return EACCES, not EROFS

2014-06-20 Thread Philippe De Muyter
mount must return EACCES, not EROFS, when one attempts to mount a read-only filesystem in read-write mode, but the file-system layer only transmits the error given by the block layer, and many block drivers return EROFS in that case, so let's fix it in do_mount. Actually it is only a small

Re: [RFC Patch V2 15/16] pci, ioapic: kill ioapic PCI driver

2014-06-20 Thread Jiang Liu
Hi Bjorn, I should pay more attention to commit messages:) Then how about this description? -- PCI: Remove PCI ioapic driver To support IOAPIC hotplug on x86 and IA64 platforms, OS needs to figure out global interrupt

Re: [PATCH 0/3] Remove devm_request_and_ioremap()

2014-06-20 Thread Tushar Behera
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/20/2014 02:15 PM, Wolfram Sang wrote: On Thu, Jun 19, 2014 at 07:59:57PM -0700, 'Greg Kroah-Hartman' wrote: On Fri, Jun 20, 2014 at 11:36:03AM +0900, Jingoo Han wrote: On Friday, June 20, 2014 3:49 AM, Wolfram Sang wrote: Pretty much a

Re: [RFC Patch V2 15/16] pci, ioapic: kill ioapic PCI driver

2014-06-20 Thread Jiang Liu
On 2014/6/18 0:49, Bjorn Helgaas wrote: Your subject lines aren't even consistent in the same patch series. I suggest: PCI: Remove PCI ioapic driver On Mon, Jun 16, 2014 at 11:29 PM, Jiang Liu jiang@linux.intel.com wrote: Originally the ioapic PCI driver is designed to support

[GIT PULL] EFI urgent fix

2014-06-20 Thread Matt Fleming
Guys, Please pull the following compiler warning fix. Sorry, I've been pretty slow in getting this pull request sent. Multiple people have reported hitting it and I've now received 4 patches for the same warning, http://article.gmane.org/gmane.linux.kernel.efi/4024

Adel Group (asia) Ltd, a security equipment manufacturing company is interested in you to be their represent the company as a financial agent, to receive payment from their customers in your region.

2014-06-20 Thread mlongford
Regards, Eric Lawson Human Resource ADEL Group (Asia) LTD -- 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.org/majordomo-info.html Please read the FAQ at

RE: [PATCH] arm64: add the ability to hook the fault code

2014-06-20 Thread Neil Zhang
-Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: 2014年6月20日 16:40 To: Neil Zhang Cc: Catalin Marinas; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH] arm64: add the ability to hook the fault code On Fri, Jun 20, 2014

Re: [PATCH] firmware: fix the compiller warning

2014-06-20 Thread Matt Fleming
On Fri, 20 Jun, at 12:19:49PM, Ding Tianhong wrote: When I compile the kernel, found this warning: In file included from arch/arm64/kernel/efi-stub.c:44:0: arch/arm64/kernel/../../../drivers/firmware/efi/fdt.c: In function update_fdt:

[PATCH 5/6] thunderbolt: Use NULL instead of 0 in nhi.c

2014-06-20 Thread Sachin Kamat
'descriptors' is a pointer. Use NULL isntead of 0. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com --- drivers/thunderbolt/nhi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c index 346b41e7d5d1..0fc137af89f5

[PATCH 1/6] thunderbolt: Fix build error in eeprom.c

2014-06-20 Thread Sachin Kamat
Fixes the below error: drivers/thunderbolt/eeprom.c:407:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration] drivers/thunderbolt/eeprom.c:444:2: error: implicit declaration of function ‘kfree’ [-Werror=implicit-function-declaration] Signed-off-by: Sachin

[PATCH 4/6] thunderbolt: Use NULL instead of 0 in ctl.c

2014-06-20 Thread Sachin Kamat
The function returns a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com --- drivers/thunderbolt/ctl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c index

[PATCH 3/6] thunderbolt: Use NULL instead of 0 in switch.c

2014-06-20 Thread Sachin Kamat
The function returns a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com --- drivers/thunderbolt/switch.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/thunderbolt/switch.c b/drivers/thunderbolt/switch.c index

[PATCH 6/6] thunderbolt: Staticize nhi_ids

2014-06-20 Thread Sachin Kamat
'nhi_ids' is local to this file. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com --- drivers/thunderbolt/nhi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c index 0fc137af89f5..2054fbf8b382 100644 ---

[PATCH 2/6] thunderbolt: Fix build error in switch.c

2014-06-20 Thread Sachin Kamat
Fixes the below error: drivers/thunderbolt/switch.c:347:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration] drivers/thunderbolt/switch.c:381:2: error: implicit declaration of function ‘kcalloc’ [-Werror=implicit-function-declaration] Signed-off-by:

Re: [PATCH] staging: dgap: make dgap_found_board() return a brd pointer

2014-06-20 Thread Dan Carpenter
On Fri, Jun 20, 2014 at 02:19:58PM +0900, Daeseok Youn wrote: - rc = dgap_found_board(pdev, ent-driver_data, dgap_numboards); - if (rc) + brd = dgap_found_board(pdev, ent-driver_data, dgap_numboards); + if (IS_ERR(brd)) return rc; return

RE: [PATCH] ns: introduce getnspid syscall

2014-06-20 Thread chenhanx...@cn.fujitsu.com
-Original Message- From: Oleg Nesterov [mailto:o...@redhat.com] Sent: Thursday, June 19, 2014 1:58 AM To: Chen, Hanxiao/陈 晗霄 Cc: contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; Andrew Morton; Eric W. Biederman; Serge Hallyn; Daniel P. Berrange; Al Viro; David

Re: [PATCH] staging: dgap: make dgap_found_board() return a brd pointer

2014-06-20 Thread DaeSeok Youn
Hi, Dan. 2014-06-20 18:09 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: On Fri, Jun 20, 2014 at 02:19:58PM +0900, Daeseok Youn wrote: - rc = dgap_found_board(pdev, ent-driver_data, dgap_numboards); - if (rc) + brd = dgap_found_board(pdev, ent-driver_data, dgap_numboards); +

[GIT pull] locking fixes for 3.16

2014-06-20 Thread Thomas Gleixner
Linus, please pull the latest locking-urgent-for-linus.patch git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus.patch Another three patches to make the rtmutex code more robust. That's the last urgent fallout from the big futex/rtmutex

[PATCH] staging/cptm1217: fix checkpatch warnings about else clause

2014-06-20 Thread Evgeny Budilovsky
Signed-off-by: Evgeny Budilovsky bud...@gmail.com --- drivers/staging/cptm1217/clearpad_tm1217.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/staging/cptm1217/clearpad_tm1217.c b/drivers/staging/cptm1217/clearpad_tm1217.c index ca4c2c6..edf9ff2

[PATCH Resend 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults

2014-06-20 Thread Sachin Kamat
'ltc3589_reg_defaults' is local to this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com --- drivers/regulator/ltc3589.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/ltc3589.c b/drivers/regulator/ltc3589.c index

Re: [PATCH 1/3] perf timechart: implement IO mode

2014-06-20 Thread Stanislav Fomichev
It (and others below) should be 'rec_argc -= 4' - i.e. I still see the segfault. :) Damn, stupid me. Looks like this change should be applied to the exsting (for cpu and power events) boxes too. Care to send it as a separate fix? Yes, will add it as a first patch to the series, so it can be

Re: [patch 00/13] irqchip: spear_shirq: Cleanup the bitrot

2014-06-20 Thread Viresh Kumar
On Fri, Jun 20, 2014 at 3:04 AM, Thomas Gleixner t...@linutronix.de wrote: The driver is broken for spear320 since commit 80515a5a(ARM: SPEAr3xx: shirq: simplify and move the shared irq multiplexor to DT). Clearly never tested on spear320. Aside of that it's an unreadable overengineered

Re: [PATCH 3/4] drivers/base: devres.c: use devm_kmemdup() from with devm_kstrdup()

2014-06-20 Thread Rob Jones
On 19/06/14 16:59, Joe Perches wrote: On Thu, 2014-06-19 at 16:46 +0100, Rob Jones wrote: Avoid code duplication by using devm_kmemdup() to copy data instead of having a separate loop within devm_kstrdup(). Reviewed-by: Ian Molton ian.mol...@codethink.co.uk Signed-off-by: Rob Jones

[PATCH V2] staging: dgap: make dgap_found_board() return a brd pointer

2014-06-20 Thread Daeseok Youn
Make dgap_found_board() return a brd pointer and that brd pointer assign to dgap_board[] in the end of the dgap_init_one(). Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- V2: change return value properly. update error handling, if one of functions in dgap_init_one() is failed, do

Re: [PATCH V2] staging: dgap: make dgap_found_board() return a brd pointer

2014-06-20 Thread Dan Carpenter
On Fri, Jun 20, 2014 at 06:21:50PM +0900, Daeseok Youn wrote: Make dgap_found_board() return a brd pointer and that brd pointer assign to dgap_board[] in the end of the dgap_init_one(). Signed-off-by: Daeseok Youn daeseok.y...@gmail.com Looks nice, thanks. Reviewed-by: Dan Carpenter

Re: [GIT PULL] EFI urgent fix

2014-06-20 Thread Catalin Marinas
On Fri, Jun 20, 2014 at 10:00:08AM +0100, Matt Fleming wrote: Please pull the following compiler warning fix. Sorry, I've been pretty slow in getting this pull request sent. Multiple people have reported hitting it and I've now received 4 patches for the same warning, BTW, one of them is not

Re: [PATCHv3 1/5] lib/genalloc.c: Add power aligned algorithm

2014-06-20 Thread Will Deacon
Hi Laura, On Tue, Jun 17, 2014 at 02:39:21AM +0100, Laura Abbott wrote: One of the more common algorithms used for allocation is to align the start address of the allocation to the order of size requested. Add this as an algorithm option for genalloc. Good idea, I didn't know this even

Re: [PATCHv3 2/5] lib/genalloc.c: Add genpool range check function

2014-06-20 Thread Will Deacon
On Tue, Jun 17, 2014 at 02:39:22AM +0100, Laura Abbott wrote: After allocating an address from a particular genpool, there is no good way to verify if that address actually belongs to a genpool. Introduce addr_in_gen_pool which will return if an address plus size falls completely within the

Re: [RFC PATCH v3] reset: Add a defer reset object to send board specific reset

2014-06-20 Thread Maxime Ripard
On Wed, Jun 18, 2014 at 09:37:53PM +0800, Houcheng Lin wrote: The Problem --- The reset signal on a hardware board is send either: - during machine initialization - during bus master's initialization In some hardware design, devices on bus need a non-standard and extra

Re: [RFC][PATCH] gpu:drm:i915:intel_detect_pch: back to check devfn instead of check class type

2014-06-20 Thread Chen, Tiejun
Just ping, any comments? Thanks Tiejun On 2014/6/19 17:53, Tiejun Chen wrote: Originally the reason to probe ISA bridge instead of Dev31:Fun0 is to make graphics device passthrough work easy for VMM, that only need to expose ISA bridge to let driver know the real hardware underneath. This is a

Re: [PATCH] Makefile: version.h macros KERNEL_EXTRAVERSION, LINUX_EXTRAVERSION_CODE

2014-06-20 Thread Michal Marek
Dne 19.6.2014 16:44, Kamal Mostafa napsal(a): Adds new macro KERNEL_EXTRAVERSION(a,b,c,d) and value LINUX_EXTRAVERSION_CODE to version.h, allowing ranged version checks of extended-stable versions that use a numeric EXTRAVERSION value. The new KERNEL_EXTRAVERSION(a,b,c,d) works like

Re: [PATCH] ARM: tegra: TN7: relax some regulators

2014-06-20 Thread Mark Brown
On Fri, Jun 20, 2014 at 03:44:46PM +0900, Alexandre Courbot wrote: dbabd624d regulator: palmas: Reemove open coded functions with helper functions Keerthy, Nishanth, could it be that there is still something wrong with the REGULATOR_LINEAR_RANGE() definitions? This seems to be the cause

[f2fs-dev] [PATCH v2 RESEND] f2fs: refactor flush_nat_entries codes for reducing NAT writes

2014-06-20 Thread Chao Yu
Although building NAT journal in cursum reduce the read/write work for NAT block, but previous design leave us lower performance when write checkpoint frequently for these cases: 1. if journal in cursum has already full, it's a bit of waste that we flush all nat entries to page for persistence,

Re: [PATCH] ARM: tegra: TN7: relax some regulators

2014-06-20 Thread Alexandre Courbot
On 06/20/2014 06:41 PM, Mark Brown wrote: * PGP Signed by an unknown key On Fri, Jun 20, 2014 at 03:44:46PM +0900, Alexandre Courbot wrote: dbabd624d regulator: palmas: Reemove open coded functions with helper functions Keerthy, Nishanth, could it be that there is still something wrong

Re: [PATCH] mips: n32: use compat getsockopt syscall

2014-06-20 Thread James Hogan
On 20/06/14 08:53, Sorin Dumitru wrote: Signed-off-by: Sorin Dumitru sdumi...@ixiacom.com A little more commit message wouldn't hurt. Did it break a particular program? It's consistent with compat_sys_socketcall(), include/uapi/asm/unistd.h, and commit 515c7af85ed9 (which does same thing for

[PATCH v4] ARM: add get_user() support for 8 byte types

2014-06-20 Thread Daniel Thompson
Recent contributions, including to DRM and binder, introduce 64-bit values in their interfaces. Common motivation example of this is to allow the same ABI for 32- and 64-bit userspaces (and therefore also a shared ABI for 32/64 hybrid userspaces). Anyhow, the developers would like to avoid gotchas

Re: [PATCH] net: filter: fix upper BPF instruction limit

2014-06-20 Thread Daniel Borkmann
Hi Kees, On 06/19/2014 01:28 AM, Kees Cook wrote: On Wed, Jun 18, 2014 at 4:19 PM, Alexei Starovoitov a...@plumgrid.com wrote: On Wed, Jun 18, 2014 at 3:55 PM, Kees Cook keesc...@chromium.org wrote: On Wed, Jun 18, 2014 at 3:48 PM, Alexei Starovoitov a...@plumgrid.com wrote: On Wed, Jun 18,

[PATCH 0/5] spi: sh-msiof: Add DMA support

2014-06-20 Thread Geert Uytterhoeven
This patch series refactors the Renesas MSIOF SPI driver and adds DMA support. [1/5] spi: sh-msiof: Add more register documentation [2/5] spi: sh-msiof: Extract sh_msiof_spi_{start,stop}() helpers [3/5] spi: sh-msiof: Improve transfer error handling [4/5] spi: sh-msiof: Refactor

[PATCH 5/5] spi: sh-msiof: Add DMA support

2014-06-20 Thread Geert Uytterhoeven
Add DMA support to the MSIOF driver using platform data. As MSIOF DMA is limited to 32-bit words (requiring byte/wordswapping for smaller wordsizes), and the group length is limited to 256 words, DMA is performed on two fixed pages, allocated and mapped at driver initialization time. Performance

Re: [PATCH] ARM: tegra: TN7: relax some regulators

2014-06-20 Thread Mark Brown
On Fri, Jun 20, 2014 at 02:26:43PM +0900, Alexandre Courbot wrote: So I can see three questions here: 1) Why does _regulator_enable() on vdd_1v8 return 0 while everything suggests that it is enabled (this regulator powers lot of devices, like eMMC, which are working fine). This may be an

[PATCH 2/5] spi: sh-msiof: Extract sh_msiof_spi_{start,stop}() helpers

2014-06-20 Thread Geert Uytterhoeven
Based on an old patch by Guennadi Liakhovetski g.liakhovet...@gmx.de Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- drivers/spi/spi-sh-msiof.c | 51 +- 1 file changed, 37 insertions(+), 14 deletions(-) diff --git

[PATCH 3/5] spi: sh-msiof: Improve transfer error handling

2014-06-20 Thread Geert Uytterhoeven
- Add a timeout when waiting for the transfer complete interrupt, - If sh_msiof_spi_stop() fails, there's no need to clear IER, as the interrupt handler has already done that, - Propagate transfer failures in sh_msiof_transfer_one(). Signed-off-by: Geert Uytterhoeven

  1   2   3   4   5   6   7   8   9   10   >