Re: [PATCH] Staging: cxt1e1: ossiRelease.c: fixed a coding style issue.

2013-07-08 Thread Greg KH
On Mon, Jul 08, 2013 at 07:40:17PM +0300, Aldo Iljazi wrote: > Fixed a coding style issue, specifically checkpatch.pl complain: > ossiRelease.c:27: WARNING: line over 80 characters And it's wrong, this fix is not the correct way to do this. I'd recommend just removing it entirely, as it doesn't

Re: [bisected] perf: yet another fuzzer triggered crash

2013-07-08 Thread Peter Zijlstra
On Mon, Jul 08, 2013 at 03:50:48PM +0200, Jiri Olsa wrote: > need to check if that does not break anything else ;-) Vince's test-case triggered the below; so there might still be a few loose ends. [ 324.983534] [ cut here ] [ 324.984420] WARNING: at

Re: dell_rbu: Select CONFIG_FW_LOADER_USER_HELPER explicitly

2013-07-08 Thread Greg KH
On Mon, Jul 08, 2013 at 11:05:20AM +0200, Takashi Iwai wrote: > The reason is that dell_rbu driver requires it. Without the kconfig > option, this driver won't work at all. So, it's a right fix for > dell_rbu. > > AFAIK, the consensus in the kernel side is that this too long fw > loading time

Re: [PATCH V5 0/5] Queue work on power efficient wq

2013-07-08 Thread Viresh Kumar
On 8 July 2013 21:27, Uwe Kleine-König wrote: > On Mon, Jul 08, 2013 at 09:17:01PM +0530, Viresh Kumar wrote: >> Well, big LITTLE still runs an SMP kernel :) and so has this flag set. > The 'S' is justified because cpu0 and cpu1 are of the same type? Are > there b.L systems that have only one

Re: perf: more ABI breakage

2013-07-08 Thread Peter Zijlstra
On Mon, Jul 08, 2013 at 11:24:18AM -0400, Vince Weaver wrote: > > I guess I should have been noisier about this at the time. > > Linux 3.9 came with commit >e259514eef764a5286873618e34c560ecb6cff13 > that enabled AMD fam15h Northbridge support, by exposing the events as > part of the core

Re: [PATCH v2] perf report/top: Add option to collapse undesired parts of call graph

2013-07-08 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 08, 2013 at 06:24:52PM +0200, Jiri Olsa escreveu: > On Mon, Jul 08, 2013 at 07:57:46AM -0400, Greg Price wrote: > > For example, in an application with an expensive function > > implemented with deeply nested recursive calls, the default > > call-graph presentation is dominated by the

[PATCH][v3.8.y] Drivers: hv: Execute shutdown in a thread context

2013-07-08 Thread Joseph Salisbury
Hello, Please consider including upstream commit: 3dd6cb497198a0533a2530b6a345c60c9a29b9bc in the next v3.8.y release. It was included upstream as of v3.9-rc1. It has been tested and confirmed to resolve http://bugs.launchpad.net/bugs/1180419 . commit 3dd6cb497198a0533a2530b6a345c60c9a29b9bc

Re: [PATCH 1/4] lkdtm: fix stack protector trigger

2013-07-08 Thread Greg Kroah-Hartman
On Mon, Jul 08, 2013 at 06:09:50AM -0700, Kees Cook wrote: > Hi, > > I'd like to get this series added to lkdtm. Can someone take a moment > to review or ack them? I don't see these in my queue at all, did you copy me the first time around on them? Care to resend them? Everything is on hold

[PATCH] Staging: cxt1e1: ossiRelease.c: fixed a coding style issue.

2013-07-08 Thread Aldo Iljazi
Fixed a coding style issue, specifically checkpatch.pl complain: ossiRelease.c:27: WARNING: line over 80 characters Signed-off-by: Aldo Iljazi --- drivers/staging/cxt1e1/ossiRelease.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/cxt1e1/ossiRelease.c

Re: [bisected] perf: yet another fuzzer triggered crash

2013-07-08 Thread Peter Zijlstra
On Mon, Jul 08, 2013 at 03:50:48PM +0200, Jiri Olsa wrote: > patch below gets rid of the warning, and probably the > crash as well > > the reason seems to be when HW context is cloned based > on SW event that happened to get there because of the > HW leader, which got closed just before (fd[15]

Re: [PATCH net-next] net: rename low latency sockets functions to busy poll

2013-07-08 Thread Linus Torvalds
On Mon, Jul 8, 2013 at 6:20 AM, Eliezer Tamir wrote: > > - /* only if on, have sockets with POLL_LL and not out of time > */ > - if (ll_flag && can_ll && can_poll_ll(ll_start, ll_time)) > + /* only if found POLL_BUSY_LOOP sockets && not out of time */ >

RE: [PATCH] drivers/net: enic: release rtnl_lock on error-path

2013-07-08 Thread Neel Patel (neepatel)
Looks good. Thanks! -Original Message- From: Nishank Trivedi (nistrive) Sent: Monday, July 08, 2013 9:26 AM To: Konstantin Khlebnikov Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; Neel Patel (neepatel); Christian Benvenuti (benve) Subject: Re: [PATCH] drivers/net: enic:

Re: [PATCH] drivers/net: enic: release rtnl_lock on error-path

2013-07-08 Thread Nishank Trivedi
On 7/8/13 12:22 AM, Konstantin Khlebnikov wrote: enic_change_mtu_work() must call rtnl_unlock() on all exiting paths. Signed-off-by: Konstantin Khlebnikov Cc: Christian Benvenuti Cc: Roopa Prabhu Cc: Neel Patel Cc: Nishank Trivedi --- drivers/net/ethernet/cisco/enic/enic_main.c |2 ++

Re: Suspect loop in dmi_scan_machine()

2013-07-08 Thread Ben Hutchings
On Mon, Jul 08, 2013 at 05:49:14PM +0200, Jean Delvare wrote: > Hi Ben, > > I am looking at this commit of yours: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/firmware/dmi_scan.c?id=79bae42d51a5d498500c890c19ef76df41d2bf59 > > and am a little worried about

Re: [PATCH 1/2 v5] SELinux: Reduce overhead of mls_level_isvalid() function call

2013-07-08 Thread Paul Moore
On Friday, July 05, 2013 01:10:32 PM Waiman Long wrote: > On 06/11/2013 07:49 AM, Stephen Smalley wrote: > > On 06/10/2013 01:55 PM, Waiman Long wrote: ... > >> Signed-off-by: Waiman Long > > > > Acked-by: Stephen Smalley > > Thank for the Ack. Will that patch go into v3.11? [NOTE: I add

Re: [PATCH] clocksource/cadence_ttc: Reuse clocksource as sched_clock

2013-07-08 Thread Sören Brinkmann
On Fri, Jul 05, 2013 at 06:23:19PM +0200, Thomas Gleixner wrote: > On Fri, 5 Jul 2013, Sören Brinkmann wrote: > > On Fri, Jul 05, 2013 at 06:05:14PM +0200, Thomas Gleixner wrote: > > > On Fri, 5 Jul 2013, Sören Brinkmann wrote: > > > > On Fri, Jul 05, 2013 at 08:30:47AM +0200, Thomas Gleixner

Re: [PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-08 Thread Mark Brown
On Mon, Jul 08, 2013 at 03:29:50PM +0200, Richard Genoud wrote: > Signed-off-by: Richard Genoud > --- > arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ There was no binding document in your first patch - there should be one for any new DT bindings. signature.asc Description: Digital signature

Re: [RFC/PATCH 1/3] driver: spi: Modify core to compute the message length

2013-07-08 Thread Mark Brown
On Mon, Jul 08, 2013 at 07:12:58PM +0530, Sourav Poddar wrote: > Make spi core calculate the message length while > populating the other transfer parameters. This will > be useful in cases where controller driver need to configure its > framelength field without iterating through the linklist

Re: [PATCH v1 4/4] spi/xilinx: Use of_property_read_u32 for reading value from node

2013-07-08 Thread Mark Brown
On Mon, Jul 08, 2013 at 03:29:17PM +0200, Michal Simek wrote: > It simplifies driver probing. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v1 1/4] spi/xilinx: Remove CONFIG_OF from the driver

2013-07-08 Thread Mark Brown
On Mon, Jul 08, 2013 at 03:29:14PM +0200, Michal Simek wrote: > dev.of_node is in struct device all the time. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v1 2/4] spi/xilinx: Clean ioremap calling

2013-07-08 Thread Mark Brown
On Mon, Jul 08, 2013 at 03:29:15PM +0200, Michal Simek wrote: > devm_ioremap_resource() automatically checks that > struct resource is initialized. > Also group platform_get_resource() and devm_ioremap_resource() > together. > And remove mem resource from struct xilinx_spi. Applied, thanks.

Re: [PATCH v1 3/4] spi/xilinx: Simplify irq allocation

2013-07-08 Thread Mark Brown
On Mon, Jul 08, 2013 at 05:48:14PM +0200, Michal Simek wrote: > On 07/08/2013 04:49 PM, Mark Brown wrote: > > Is it definitely safe to leave the IRQ hanging around after the master > > has been freed - there's no possibility of a late error interrupt or > > something? > I think it is more

Re: [PATCH v2] perf report/top: Add option to collapse undesired parts of call graph

2013-07-08 Thread Jiri Olsa
On Mon, Jul 08, 2013 at 07:57:46AM -0400, Greg Price wrote: > On Sun, Jul 07, 2013 at 03:13:40PM +0200, Jiri Olsa wrote: > > On Mon, Jul 01, 2013 at 10:28:45AM -0400, Greg Price wrote: > > > For example, in an application with an expensive function > > > implemented with deeply nested recursive

[PATCH v2] x86, relocs: move ELF relocation handling to C

2013-07-08 Thread Kees Cook
Moves the relocation handling into C, after decompression. This requires that the decompressed size is passed to the decompression routine as well so that relocations can be found. Only kernels that need relocation support will use the code (currently just x86_32), but this is laying the ground

Re: [PATCH v2 0/3] pci: ACS fixes & quirks

2013-07-08 Thread Alex Williamson
Ping. Comments? On Thu, 2013-06-27 at 16:39 -0600, Alex Williamson wrote: > v2: > > Revised patch 1/ to match comments from Bjorn. PCIe event collectors > and PCIe-to-PCI bridges now indicate that they do not support ACS. > I've reached out to try to get clarification on this, but I think it's

[GIT PULL] VFIO for v3.11

2013-07-08 Thread Alex Williamson
Hi Linus, The following changes since commit 7d132055814ef17a6c7b69f342244c410a5e000f: Linux 3.10-rc6 (2013-06-15 11:51:07 -1000) are available in the git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v3.11 for you to fetch changes up to

[PATCH v2 11/11] spi: spi-ep93xx: use master->cur_msg for in-flight message

2013-07-08 Thread H Hartley Sweeten
Instead of carrying the in-flight message in the driver private data, use the cur_msg pointer that is already setup by the core. Signed-off-by: H Hartley Sweeten Cc: Ryan Mallon Cc: Mika Westerberg Cc: Mark Brown Cc: Grant Likely --- drivers/spi/spi-ep93xx.c | 88

RE: [PATCH v2 09/11] spi: spi-ep93xx: move the clock divider calcs into ep93xx_spi_chip_setup()

2013-07-08 Thread H Hartley Sweeten
On Monday, July 08, 2013 5:10 AM, Mark Brown wrote: > On Tue, Jul 02, 2013 at 10:10:29AM -0700, H Hartley Sweeten wrote: >> The divider values stored in the per chip data are only used to set the >> registers in the hardware to generate the desired SPI clock. Since these >> are calculated per

[PATCH v2 10/11] spi: spi-ep93xx: convert to the queued driver infrastructure

2013-07-08 Thread H Hartley Sweeten
The SPI core provides infrastructure for standard message queueing. Use that instead of handling it in the driver. Signed-off-by: H Hartley Sweeten Acked-by: Mika Westerberg Cc: Ryan Mallon Cc: Mark Brown Cc: Grant Likely --- drivers/spi/spi-ep93xx.c | 165

Re: [PATCH] writeback: Do not sort b_io list only because of block device inode

2013-07-08 Thread Jan Kara
On Mon 24-06-13 10:07:49, Jan Kara wrote: > It is very likely that block device inode will be part of BDI dirty list > as well. However it doesn't make sence to sort inodes on the b_io list > just because of this inode (as it contains buffers all over the device > anyway). So save some CPU cycles

Re: [PATCH V5 0/5] Queue work on power efficient wq

2013-07-08 Thread Uwe Kleine-König
On Mon, Jul 08, 2013 at 09:17:01PM +0530, Viresh Kumar wrote: > On 8 July 2013 21:07, Uwe Kleine-König wrote: > > This patch set hit my tree now. I wonder if it makes sense to make > > WQ_POWER_EFFICIENT_DEFAULT depend on SMP. (Oh wait, big.LITTLE isn't > > SMP, so probably there is a better

Re: [PATCH V2] ARM: tegra: enable gpio-keys on dalmore

2013-07-08 Thread Stephen Warren
On 07/06/2013 03:14 AM, Laxman Dewangan wrote: > Dalmore have the keys mounted on board which are connected > to different pins of Tegra. > > Add the keys entry in DTS file to enable key functionality. > This will enable KEY_POWER, KEY_HOME, KEY_VOLUMEUP and > KEY_VOLUMEDOWN. > diff --git

Re: [bisected] perf: yet another fuzzer triggered crash

2013-07-08 Thread Vince Weaver
On Mon, 8 Jul 2013, Jiri Olsa wrote: > On Wed, Jul 03, 2013 at 09:49:29AM +0200, Peter Zijlstra wrote: > > On Tue, Jul 02, 2013 at 11:15:59PM -0400, Vince Weaver wrote: > need to check if that does not break anything else ;-) I've applied your patch to stock 3.10 and am now unable to hang my

Suspect loop in dmi_scan_machine()

2013-07-08 Thread Jean Delvare
Hi Ben, I am looking at this commit of yours: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/firmware/dmi_scan.c?id=79bae42d51a5d498500c890c19ef76df41d2bf59 and am a little worried about the for loop in dmi_scan_machine() (non-EFI case): * The first iteration

Re: [PATCH v1 3/4] spi/xilinx: Simplify irq allocation

2013-07-08 Thread Michal Simek
On 07/08/2013 04:49 PM, Mark Brown wrote: > On Mon, Jul 08, 2013 at 03:29:16PM +0200, Michal Simek wrote: >> Use devm_request_irq() for irq allocation which >> simplify driver code. > >> @@ -495,7 +493,6 @@ static int xilinx_spi_remove(struct platform_device >> *pdev) >> struct xilinx_spi

Re: [PATCH V5 0/5] Queue work on power efficient wq

2013-07-08 Thread Viresh Kumar
On 8 July 2013 21:07, Uwe Kleine-König wrote: > This patch set hit my tree now. I wonder if it makes sense to make > WQ_POWER_EFFICIENT_DEFAULT depend on SMP. (Oh wait, big.LITTLE isn't > SMP, so probably there is a better symbol to depend on?) Well, big LITTLE still runs an SMP kernel :) and so

Re: [PATCH V5 0/5] Queue work on power efficient wq

2013-07-08 Thread Uwe Kleine-König
Hello, On Wed, Apr 24, 2013 at 05:12:52PM +0530, Viresh Kumar wrote: > This patchset was called: "Create sched_select_cpu() and use it for > workqueues" > for the first three versions. > > Earlier discussions over v3, v2 and v1 can be found here: > https://lkml.org/lkml/2013/3/18/364 >

Re: [PATCH] platform samsung-q10: use ACPI instead of direct EC calls

2013-07-08 Thread Matthew Garrett
On Wed, 2013-07-03 at 22:27 +0100, Frederick van der Wyck wrote: > +#define EC_HID "PNP0C09" This is probably wrong - you should be able to just use first_ec directly rather than probing yourself. > + for (i = 0; i < SAMSUNGQ10_BL_MAX_INTENSITY; i++) { > + status =

Re: [GIT PULL] Remove ARM local timer API

2013-07-08 Thread Stephen Boyd
On 06/27, Olof Johansson wrote: > On Tue, Jun 25, 2013 at 01:02:12PM -0700, Stephen Boyd wrote: > > Olof/Arnd, > > > > These patches remove the ARM local timer API. The ARM architected > > timers have already moved away from this API so this series > > migrates the rest of the users allowing us

managing out-of-tree deps for arm-soc in a single window was: Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-08 Thread Jason Cooper
On Mon, Jul 08, 2013 at 10:45:47AM +0200, Thomas Gleixner wrote: > On Sun, 7 Jul 2013, Jason Cooper wrote: > > On Sun, Jul 07, 2013 at 05:30:31PM +0200, Thomas Gleixner wrote: > > I don't mind delaying half of a series so the drivers/ portion can land > > in mainline, and the rest can land in the

[v3.10 regression] deadlock on cpu hotplug

2013-07-08 Thread Bartlomiej Zolnierkiewicz
Hi, Commit 2f7021a8 ("cpufreq: protect 'policy->cpus' from offlining during __gov_queue_work()") causes the following deadlock for me when using kernel v3.10 on ARM EXYNOS4412: [ 960.38] INFO: task kworker/0:1:34 blocked for more than 120 seconds. [ 960.385000] "echo 0 >

Re: [RESEND][PATCH] x86, relocs: move ELF relocation handling to C

2013-07-08 Thread Zhang Yanfei
On 07/08/2013 09:25 PM, Kees Cook wrote: > On Tue, Jul 2, 2013 at 8:22 PM, Zhang Yanfei > wrote: >> Hello Kees, >> >> On 07/03/2013 02:22 AM, Kees Cook wrote: >>> Moves the relocation handling into C, after decompression. This requires >>> that the decompressed size is passed to the

Re: [RFC][PATCH 3/4] tracing/kprobes: Fail to unregister if probe event files are open

2013-07-08 Thread Oleg Nesterov
On 07/08, Masami Hiramatsu wrote: > > (2013/07/06 2:26), Oleg Nesterov wrote: > (Perhaps, uprobes too.) Sure, uprobes needs all the same fixes, lets ignore it for now. > >> A safe way is to wait rcu always right after disable_*probe > >> in disable_trace_probe. If we have an unused link, we can

perf: more ABI breakage

2013-07-08 Thread Vince Weaver
I guess I should have been noisier about this at the time. Linux 3.9 came with commit e259514eef764a5286873618e34c560ecb6cff13 that enabled AMD fam15h Northbridge support, by exposing the events as part of the core CPU. Then Linux 3.10 changed this with

Re: [PATCH] perf tools: Fix boolean for NO_LIBPYTHON=1 NO_LIBPERL=1 build

2013-07-08 Thread Arnaldo Carvalho de Melo
Em Sun, Jul 07, 2013 at 03:55:39PM +0200, Jiri Olsa escreveu: > The build is broken for 'NO_LIBPYTHON=1 NO_LIBPERL=1' switches. > > The reason is that without perl and python support we > dont have TRUE/FALSE macro definitions in dso and vdso > objects (added there by commit 7821317). > > Using

Re: ath10k mailing list and new git tree

2013-07-08 Thread Kalle Valo
Sedat Dilek writes: > On Mon, Jul 8, 2013 at 4:17 PM, Kalle Valo wrote: >> Hi, >> >> we have a new mailing list for ath10k, please use that in the future >> instead of ath9k-devel: >> >> http://lists.infradead.org/mailman/listinfo/ath10k >> >> As ath10k is now in wireless-next please use the

Re: ath10k mailing list and new git tree

2013-07-08 Thread Sedat Dilek
On Mon, Jul 8, 2013 at 4:17 PM, Kalle Valo wrote: > Hi, > > we have a new mailing list for ath10k, please use that in the future > instead of ath9k-devel: > > http://lists.infradead.org/mailman/listinfo/ath10k > > As ath10k is now in wireless-next please use the new git tree which is > for both

Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Lars-Peter Clausen
On 07/08/2013 04:03 PM, Vinod Koul wrote: > On Mon, Jul 08, 2013 at 04:28:29PM +0200, Lars-Peter Clausen wrote: >> On 07/08/2013 03:40 PM, Vinod Koul wrote: >>> On Mon, Jul 08, 2013 at 02:01:35PM +0200, Lars-Peter Clausen wrote: On 07/08/2013 10:54 AM, Vinod Koul wrote: > +/* struct

Re: [PATCH v1 3/4] spi/xilinx: Simplify irq allocation

2013-07-08 Thread Mark Brown
On Mon, Jul 08, 2013 at 03:29:16PM +0200, Michal Simek wrote: > Use devm_request_irq() for irq allocation which > simplify driver code. > @@ -495,7 +493,6 @@ static int xilinx_spi_remove(struct platform_device *pdev) > struct xilinx_spi *xspi = platform_get_drvdata(pdev); > >

Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Vinod Koul
On Mon, Jul 08, 2013 at 04:28:29PM +0200, Lars-Peter Clausen wrote: > On 07/08/2013 03:40 PM, Vinod Koul wrote: > > On Mon, Jul 08, 2013 at 02:01:35PM +0200, Lars-Peter Clausen wrote: > >> On 07/08/2013 10:54 AM, Vinod Koul wrote: > >>> +/* struct dma_slave_caps - expose capabilities of a slave

[GIT PULL] ext3 fix & quota cleanup

2013-07-08 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus to get a fix of ext3 error reporting from fsync and a quota cleanup. Top of the tree is e628753. The full shortlog is: Dmitry Monakhov (1): ext3: Fix fsync error

Re: [alsa-devel] [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-08 Thread Lars-Peter Clausen
On 07/08/2013 03:29 PM, Richard Genoud wrote: [...] > +/* > + * Logic for a wm8731 as connected on a at91sam9x5 based board. > + */ > +static int at91sam9x5ek_wm8731_init(struct snd_soc_pcm_runtime *rtd) > +{ [...] > + codec_dai->driver->playback.rates &= SNDRV_PCM_RATE_8000 | > +

Re: [alsa-devel] [PATCH v2 3/5] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-08 Thread Mark Brown
On Mon, Jul 08, 2013 at 03:29:51PM +0200, Richard Genoud wrote: > The WM8731 codec on sam9x5ek board is on i2c, address 1A > > Signed-off-by: Richard Genoud Acked-by: Mark Brown This should go via arm-soc. signature.asc Description: Digital signature

Re: [RFC/PATCH 3/3] driver: spi: Add quad spi read support

2013-07-08 Thread Felipe Balbi
On Mon, Jul 08, 2013 at 07:13:00PM +0530, Sourav Poddar wrote: > Since, qspi controller uses quad read. > > Configuring the command register, if the transfer of data needs > quad lines. > > This patch has been done on top of the following patch[1], which is still > under review/comments. > This

Re: [PATCH] perf: fix interrupt handler timing harness

2013-07-08 Thread Dave Hansen
On 07/04/2013 03:30 PM, Stephane Eranian wrote: > There was an misunderstanding on the API of the do_div() > macro. It returns the remainder of the division and this > was not what the function expected leading to disabling the > interrupt latency watchdog. "Misunderstanding" is a very kind term

Re: [PATCHv3 2/3] drivers: spi: Add qspi flash controller

2013-07-08 Thread Felipe Balbi
Hi, On Mon, Jul 08, 2013 at 07:12:59PM +0530, Sourav Poddar wrote: > +static inline unsigned long dra7xxx_readl(struct dra7xxx_qspi *qspi, > + unsigned long reg) > +{ > + return readl(qspi->base + reg); > +} > + > +static inline void dra7xxx_writel(struct dra7xxx_qspi *qspi, > +

Re: [PATCH v6 3/5] vmcore: Introduce remap_oldmem_pfn_range()

2013-07-08 Thread Vivek Goyal
On Mon, Jul 08, 2013 at 11:28:39AM +0200, Michael Holzheu wrote: > On Mon, 08 Jul 2013 14:32:09 +0900 > HATAYAMA Daisuke wrote: > > > (2013/07/02 4:32), Michael Holzheu wrote: > > > For zfcpdump we can't map the HSA storage because it is only available > > > via a read interface. Therefore, for

Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Lars-Peter Clausen
On 07/08/2013 03:40 PM, Vinod Koul wrote: > On Mon, Jul 08, 2013 at 02:01:35PM +0200, Lars-Peter Clausen wrote: >> On 07/08/2013 10:54 AM, Vinod Koul wrote: >>> +/* struct dma_slave_caps - expose capabilities of a slave channel only >>> + * >>> + * @src_addr_widths: bit mask of src addr widths the

Re: [PATCH] kernel/smp.c: free related resources when failure occurs in hotplug_cfd()

2013-07-08 Thread Paul Gortmaker
[[PATCH] kernel/smp.c: free related resources when failure occurs in hotplug_cfd()] On 08/07/2013 (Mon 16:50) Chen Gang wrote: > When failure occurs in hotplug_cfd(), need release related resources, > or will cause memory leak. > > Also beautify the related code. No. Please do not mix real

Re: [PATCH 1/2 v5] SELinux: Reduce overhead of mls_level_isvalid() function call

2013-07-08 Thread Stephen Smalley
On 07/05/2013 01:10 PM, Waiman Long wrote: On 06/11/2013 07:49 AM, Stephen Smalley wrote: On 06/10/2013 01:55 PM, Waiman Long wrote: v4->v5: - Fix scripts/checkpatch.pl warning. v3->v4: - Merge the 2 separate while loops in ebitmap_contains() into a single one. v2->v3: - Remove

Re: [PATCH] locks: close potential race between setlease and open

2013-07-08 Thread Jeff Layton
On Mon, 8 Jul 2013 10:02:23 -0400 Bruce Fields wrote: > On Mon, Jul 08, 2013 at 09:30:55AM -0400, Jeff Layton wrote: > > As Al Viro points out, there is an unlikely, but possible race between > > opening a file and setting a lease on it. generic_add_lease is done with > > the i_lock held, but

Re: [PATCH v5 00/12] Lockless update of reference count protected by spinlock

2013-07-08 Thread Waiman Long
On 07/05/2013 04:33 PM, Thomas Gleixner wrote: On Fri, 5 Jul 2013, Waiman Long wrote: patch 1:Introduce the new lockref data structure patch 2:Enable x86 architecture to use the feature patch 3:Rename all d_count references to d_refcount And after that the mail

Re: [PATCH v5 01/12] spinlock: A new lockref structure for lockless update of refcount

2013-07-08 Thread Waiman Long
On 07/05/2013 02:59 PM, Thomas Gleixner wrote: On Fri, 5 Jul 2013, Waiman Long wrote: + * If the spinlock& reference count optimization feature is disabled, + * the spinlock and reference count are accessed separately on its own. + */ +struct lockref { + unsigned int refcnt;/*

Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Vinod Koul
On Mon, Jul 08, 2013 at 02:01:35PM +0200, Lars-Peter Clausen wrote: > On 07/08/2013 10:54 AM, Vinod Koul wrote: > > +/* struct dma_slave_caps - expose capabilities of a slave channel only > > + * > > + * @src_addr_widths: bit mask of src addr widths the channel supports > > + * @dstn_addr_widths:

[RFC] Ceph: Kernel client part of inline data support

2013-07-08 Thread Li Wang
This patch implements the kernel client part of inline data support, the algorithm is described below. This is a preliminarly implementation based on Linux kernel 3.8.3. State: CEPH_INLINE_MIGRATION: The file size has exceeded the threshold of inline, but MDS has the newest inline data

Re: [PATCH] locks: close potential race between setlease and open

2013-07-08 Thread Bruce Fields
On Mon, Jul 08, 2013 at 09:30:55AM -0400, Jeff Layton wrote: > As Al Viro points out, there is an unlikely, but possible race between > opening a file and setting a lease on it. generic_add_lease is done with > the i_lock held, but the inode->i_flock check in break_lease is > lockless. It's

Re: memcpy_fromio in dmi_scan.c

2013-07-08 Thread Jean Delvare
Hi Andrew, Sorry for the late reply. Le Thursday 25 April 2013 à 13:37 -0700, Andrew Morton a écrit : > So what's the fix? This? > > --- a/drivers/firmware/dmi_scan.c~a > +++ a/drivers/firmware/dmi_scan.c > @@ -500,9 +500,12 @@ void __init dmi_scan_machine(void) > goto

Re: [PATCH v2 0/5] Sound support for at91sam9x5-wm8731 based boards

2013-07-08 Thread Nicolas Ferre
on the generic dmaengine (topic/atmel branch on Mark's sound tree) and the SSC interrupts disabled (cf http://www.spinics.net/lists/arm-kernel/msg256901.html) Tested on at91sam9g35ek. patches applies on next-20130708 [I let the original signed-off from Nicolas and Uwe in place, I don't know if I should

Re: [bisected] perf: yet another fuzzer triggered crash

2013-07-08 Thread Jiri Olsa
On Wed, Jul 03, 2013 at 09:49:29AM +0200, Peter Zijlstra wrote: > On Tue, Jul 02, 2013 at 11:15:59PM -0400, Vince Weaver wrote: > > > > OK, I have bisected this problem to the following change: > > > > commit 8dc85d547285668e509f86c177bcd4ea055bcaaf > > Author: Peter Zijlstra > > Date: Thu

[RFC/PATCH 3/3] driver: spi: Add quad spi read support

2013-07-08 Thread Sourav Poddar
Since, qspi controller uses quad read. Configuring the command register, if the transfer of data needs quad lines. This patch has been done on top of the following patch[1], which is still under review/comments. This patch will also go changes, as the parent patch[1] does. [1]:

[PATCHv3 2/3] drivers: spi: Add qspi flash controller

2013-07-08 Thread Sourav Poddar
The patch add basic support for the quad spi controller. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface for accessing data form external spi devices. The patch will

[RFC/PATCH 1/3] driver: spi: Modify core to compute the message length

2013-07-08 Thread Sourav Poddar
Make spi core calculate the message length while populating the other transfer parameters. This will be useful in cases where controller driver need to configure its framelength field without iterating through the linklist again in the driver controller. Signed-off-by: Sourav Poddar ---

Re: [PATCH] perf: Avoid missing macros FALSE, TRUE outside ui/gtk/

2013-07-08 Thread Greg Price
On Mon, Jul 08, 2013 at 03:10:52PM +0200, Jiri Olsa wrote: > On Mon, Jul 08, 2013 at 08:11:50AM -0400, Greg Price wrote: > > We use these macros in a few files in ui/gtk/ and they work fine > > because GTK includes GLib which defines them, but here in util/ > > they break the build, at least on my

[PATCH 0/3] spi changes and ti quad spi controller.

2013-07-08 Thread Sourav Poddar
Add support for calculating message length in spi framework. Add support for quad spi controller. Patch 2 of this series had been posted before. Sending along with the series along with ather propsed change. Sourav Poddar (3): driver: spi: Modify core to compute the message length drivers:

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-08 Thread Christian Ruppert
On Mon, Jul 08, 2013 at 02:45:26PM +0300, Mika Westerberg wrote: > The DesignWare I2C controller has high count (HCNT) and low count (LCNT) > registers for each of the I2C speed modes (standard and fast). These > registers are programmed based on the input clock speed in the driver. > > However,

Re: [v2 PATCH 6/6] mfd: s2mps11: Add device tree support

2013-07-08 Thread Yadwinder Singh Brar
On Mon, Jul 8, 2013 at 6:58 PM, Mark Brown wrote: > On Sat, Jun 29, 2013 at 06:21:20PM +0530, Yadwinder Singh Brar wrote: >> This patch adds DT compatible string for s2mps11 and binding documentation. >> >> Signed-off-by: Yadwinder Singh Brar > > Reviewed-by: Mark Brown > > It looks like this

Re: [PATCH] c6x: remove unused parameter in Kconfig

2013-07-08 Thread Mark Salter
On Mon, 2013-07-08 at 07:09 +0200, Michael Opdenacker wrote: > This patch proposes to remove the TMS320C6X_CACHES_ON kernel configuration > parameter defined in arch/c6x/Kconfig, but used nowhere > in the makefiles and source code. > > Signed-off-by: Michael Opdenacker > --- Acked by: Mark

[PATCH] locks: close potential race between setlease and open

2013-07-08 Thread Jeff Layton
As Al Viro points out, there is an unlikely, but possible race between opening a file and setting a lease on it. generic_add_lease is done with the i_lock held, but the inode->i_flock check in break_lease is lockless. It's possible for another task doing an open to do the entire pathwalk and call

[PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-08 Thread Richard Genoud
From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its connections are a headphone jack and an Line input jack. [Richard: this is based on an old patch

[PATCH v2 0/5] Sound support for at91sam9x5-wm8731 based boards

2013-07-08 Thread Richard Genoud
on Mark's sound tree) and the SSC interrupts disabled (cf http://www.spinics.net/lists/arm-kernel/msg256901.html) Tested on at91sam9g35ek. patches applies on next-20130708 [I let the original signed-off from Nicolas and Uwe in place, I don't know if I should replace them by something like "orig

[PATCH v2 4/5] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-08 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH] ARM: tegra: enable palmas device for dalmore

2013-07-08 Thread Laxman Dewangan
Make the entry of Dalmore Power Management Unit device TPS65913 in dalmore DTS file. The Palma driver support this device. Enable following submodule of the TPS65913: - GPIO driver - RTC driver. - Power regulator driver. Signed-off-by: Laxman Dewangan --- arch/arm/boot/dts/tegra114-dalmore.dts

[PATCH v2 3/5] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-08 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index d107241..e6fb309 100644 ---

[PATCH v2 5/5] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-08 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index bd0f7b8..6684d4b 100644 ---

[PATCH v1 1/4] spi/xilinx: Remove CONFIG_OF from the driver

2013-07-08 Thread Michal Simek
dev.of_node is in struct device all the time. Signed-off-by: Michal Simek --- drivers/spi/spi-xilinx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c index 35503b4..f3de5e5 100644 --- a/drivers/spi/spi-xilinx.c +++

[PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters

2013-07-08 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++

[PATCH v1 3/4] spi/xilinx: Simplify irq allocation

2013-07-08 Thread Michal Simek
Use devm_request_irq() for irq allocation which simplify driver code. Signed-off-by: Michal Simek --- drivers/spi/spi-xilinx.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c index c99c37b..a6bb5b0

[PATCH v1 4/4] spi/xilinx: Use of_property_read_u32 for reading value from node

2013-07-08 Thread Michal Simek
It simplifies driver probing. Signed-off-by: Michal Simek --- drivers/spi/spi-xilinx.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c index a6bb5b0..07a7bca 100644 --- a/drivers/spi/spi-xilinx.c +++

[PATCH v1 2/4] spi/xilinx: Clean ioremap calling

2013-07-08 Thread Michal Simek
devm_ioremap_resource() automatically checks that struct resource is initialized. Also group platform_get_resource() and devm_ioremap_resource() together. And remove mem resource from struct xilinx_spi. Signed-off-by: Michal Simek --- drivers/spi/spi-xilinx.c | 13 - 1 file changed,

Re: [v2 PATCH 6/6] mfd: s2mps11: Add device tree support

2013-07-08 Thread Mark Brown
On Sat, Jun 29, 2013 at 06:21:20PM +0530, Yadwinder Singh Brar wrote: > This patch adds DT compatible string for s2mps11 and binding documentation. > > Signed-off-by: Yadwinder Singh Brar Reviewed-by: Mark Brown It looks like this should be OK to merge via the MFD tree separately to the

Re: [v2 PATCH 2/6] regulator: s2mps11: Implement set_ramp_rate callback for bucks

2013-07-08 Thread Mark Brown
On Sat, Jun 29, 2013 at 06:21:16PM +0530, Yadwinder Singh Brar wrote: > Implementing set_ramp_rate() and using standard constraints for getting > ramp_delay and ramp_disable, instead of getting it as s2mps11 specific data > through platform data, makes driver more compliant with framework and

[PATCH 2/3] ACPI / hotplug / PCI: Hotplug context objects for bridges and functions

2013-07-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki When either a new hotplug brigde or a new hotplug function is added by the ACPI-based PCI hotplug (acpiphp) code, attach a context object to its ACPI handle to store hotplug-related information in it. To start with, put the handle's bridge and function pointers into that

[PATCH 3/3] ACPI / hotplug / PCI: Unified notify handler for hotplug events

2013-07-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Using the hotplug context objects introduced previously rework the ACPI-based PCI hotplug (acpiphp) core code so that all notifications for ACPI device objects corresponding to the hotplug PCI devices are handled by one function, handle_hotplug_event(), which recognizes

[PATCH 1/3] ACPI / hotplug / PCI: Always return success after adding a function

2013-07-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki When a new ACPIPHP function is added by register_slot() and the notify handler cannot be installed for it, register_slot() returns an error status without cleaning up, which causes the entire namespace walk in acpiphp_enumerate_slots() to be aborted, although it still may

Re: [RESEND][PATCH] x86, relocs: move ELF relocation handling to C

2013-07-08 Thread Kees Cook
On Tue, Jul 2, 2013 at 8:22 PM, Zhang Yanfei wrote: > Hello Kees, > > On 07/03/2013 02:22 AM, Kees Cook wrote: >> Moves the relocation handling into C, after decompression. This requires >> that the decompressed size is passed to the decompression routine as >> well so that relocations can be

[PATCH 0/3] ACPI / hotplug / PCI: Rework of events handling

2013-07-08 Thread Rafael J. Wysocki
Hi, Yesterday I started looking into reworking acpiphp and the following is what I have at the moment, on top of 3.10 with my 3.11 material merged and the cleanups I posted yesterday: https://patchwork.kernel.org/patch/2824650/ https://patchwork.kernel.org/patch/2824649/ Eventually, I'm going

Re: [v2 PATCH 5/6] regulator: core: Remove redundant checks

2013-07-08 Thread Mark Brown
On Sat, Jun 29, 2013 at 06:21:19PM +0530, Yadwinder Singh Brar wrote: > In function _regulator_do_set_voltage(), old_selector gets intialised only > if (_regulator_is_enabled(rdev) && rdev->desc->ops->set_voltage_time_sel && > rdev->desc->ops->get_voltage_sel)) is true. Applied, thanks.

[PATCH net-next] net: rename low latency sockets functions to busy poll

2013-07-08 Thread Eliezer Tamir
Rename functions in include/net/ll_poll.h to busy wait. Clarify documentation about expected power use increase. Rename POLL_LL to POLL_BUSY_LOOP. Add need_resched() testing to poll/select busy loops. Note, that in select and poll can_busy_poll is dynamic and is updated continuously to reflect

Re: [v2 PATCH 1/6] regulator: core: Add support for disabling ramp delay

2013-07-08 Thread Mark Brown
On Sat, Jun 29, 2013 at 06:21:15PM +0530, Yadwinder Singh Brar wrote: > Some hardwares support disabling ramp delay, so adding ramp_disable flag to > constraints. It will be used to figure out whether ramp_delay in constraints > is explicitly set to zero or its unintialized (zero by default). >

Re: [RFC 1/2] usb/musb dma: add cppi41 dma driver

2013-07-08 Thread Sergei Shtylyov
Hello. On 08-07-2013 16:38, Sebastian Andrzej Siewior wrote: not using dmaengine and the network driver (cpsw) which is also using cppi 3.1 is having its own implementation of the cppi-dma part. So I think dma enggine implementation is a must here. Not at all. I'm not familiar with CPSW

<    1   2   3   4   5   6   7   8   9   10   >