[PATCH v2 06/23] csiostor: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 07/23] fnic: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 08/23] hpsa: Fallback to MSI rather than to INTx if MSI-X failed

2014-02-24 Thread Alexander Gordeev
Currently the driver falls back to INTx mode when MSI-X initialization failed. This is a suboptimal behaviour for chips that also support MSI. This update changes that behaviour and falls back to MSI mode in case MSI-X mode initialization failed. Signed-off-by: Alexander Gordeev Cc: "Stephen M. C

[PATCH v2 17/23] pm8001: Fix invalid return when request_irq() failed

2014-02-24 Thread Alexander Gordeev
When a call to request_irq() failed pm8001_setup_msix() still returns the success. This udate fixes the described misbehaviour. Signed-off-by: Alexander Gordeev Cc: xjtu...@gmail.com Cc: lindar_...@usish.com Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org Acked-by: Jack Wang --- dr

[PATCH v2 18/23] pm8001: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 09/23] hpsa: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 23/23] vmw_pvscsi: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

Re: [PATCH RESEND] bug: When !CONFIG_BUG, simplify WARN_ON_ONCE and family

2014-02-24 Thread Arnd Bergmann
On Saturday 22 February 2014, Josh Triplett wrote: > When !CONFIG_BUG, WARN_ON and family become simple passthroughs of their > condition argument; however, WARN_ON_ONCE and family still have > conditions and a boolean to detect one-time invocation, even though the > warning they'd emit doesn't exi

Re: [PATCH 2/3] x86/hash: swap parameters of crc32_u32()

2014-02-24 Thread Jan Beulich
>>> On 22.02.14 at 13:09, Daniel Borkmann wrote: > On 02/21/2014 11:33 AM, Jan Beulich wrote: >> ... to match its two callers (i.e. the alternative would have been to >> swap the arguments at the call sites). >> >> Signed-off-by: Jan Beulich >> Cc: Francesco Fusco >> Cc: Daniel Borkmann >> Cc:

[PATCH v2 22/23] qla4xxx: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH 6/6] USB: gadget: mv_udc: fix corner case for missiong dTD

2014-02-24 Thread Neil Zhang
When the missing dTD issue is triggerred, queue_dtd may prime the new request instead of the missing dTD. We can just add the request to the queue end and jump out if there are more than one request in the queue already. Signed-off-by: Neil Zhang --- drivers/usb/gadget/mv_udc_core.c | 12 +

[PATCH 3/6] usb: gadget: mv_udc: clear corresponding interrupt when flush fifo

2014-02-24 Thread Neil Zhang
The interruts are useless when this endpoint is going to be flushed. Especially in the enumeration phase, let's take get device description for example. 1. Device doesn't ACK the status package from host in time due to irq is disabled by some module. 2. Host find no ACK in time, and send another re

[PATCH 1/6] usb: gadget: mv_udc: remove redundant pull up in udc_start

2014-02-24 Thread Neil Zhang
Romove redundant pull up in udc_start since function udc_bind_to_driver in udc-core.c will do it for us. Signed-off-by: Neil Zhang --- drivers/usb/gadget/mv_udc_core.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c ind

[PATCH 2/6] usb: gadget: mv_udc: disable HW zlt for ep0

2014-02-24 Thread Neil Zhang
Hardware zlt will try to send the zero length packet automatically when the data transferd is multiple times of max packet, this will cause issues on Windows. So let's disable HW zlt by default. Signed-off-by: Neil Zhang --- drivers/usb/gadget/mv_udc_core.c |2 +- 1 file changed, 1 insertion

[PATCH 4/6] usb: gadget: mv_udc: check endpoint before queue dtd

2014-02-24 Thread Neil Zhang
There is a corner case that endpoint is disabled by system shutdown between check ep->desc and hold spin lock in mv_ep_queue. In this case ep->ep.desc will be NULL and occur kernel panic when access it in build_dtd. Signed-off-by: Neil Zhang --- drivers/usb/gadget/mv_udc_core.c |8

[PATCH 5/6] USB: gadget: mv_udc: workaroud for missing dTD

2014-02-24 Thread Neil Zhang
There is an issue with the add dTD tripwire semaphore (ATDTW bit in USBCMD register) that can cause the controller to ignore a dTD that is added to a primed endpoint. When this happens, the software can read the tripwire bit and the status bit at '1' even though the endpoint is unprimed. After exe

[PATCH 0/6] bug fix for mv_udc_core.c

2014-02-24 Thread Neil Zhang
This patch set is mainly for bug fix. Neil Zhang (6): usb: gadget: mv_udc: remove redundant pull up in udc_start usb: gadget: mv_udc: disable HW zlt for ep0 usb: gadget: mv_udc: clear corresponding interrupt when flush fifo usb: gadget: mv_udc: check endpoint before queue dtd USB: gadget

Re: [PATCH V4 3/4] ARM: shmobile: koelsch: Add USBHS and internal PCI USB support

2014-02-24 Thread Magnus Damm
Hi Vladimir, On Mon, Feb 24, 2014 at 4:34 PM, Vladimir Barinov wrote: > Hello Magnus, > > Thank you for the quick response. > > > On 02/24/2014 07:52 AM, Magnus Damm wrote: >> >> +static int usbhs_hardware_init(struct platform_device *pdev) >> +{ >> + struct usbhs_private *priv = usbhs_get_

[PATCH v2 20/23] pmcraid: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 21/23] qla2xxx: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Log

Re: [PATCH] staging: ced401: remove redundant spin_unlock

2014-02-24 Thread Dan Carpenter
On Mon, Feb 24, 2014 at 09:51:35AM +0900, Daeseok Youn wrote: > >From 5e737e8211cd1f83488e484c088befc5feb755a9 Mon Sep 17 00:00:00 2001 > From: Daeseok Youn > Date: Mon, 24 Feb 2014 09:17:41 +0900 > Subject: [PATCH] staging: ced401: remove redundant spin_unlock Don't send this header. We get eve

[PATCH v2 19/23] pmcraid: Get rid of a redundant assignment

2014-02-24 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: Anil Ravindranath Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/pmcraid.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index be8ce54..c06af7f 100644 --

[patch] sched: don't use nutty scale_rt_power() output

2014-02-24 Thread Mike Galbraith
Hi Peter, I wonder if the below makes sense for mainline. Background: I received some rather surprising news recently, a user of old 2.6.32 kernels regularly receive log spam stemming from old 208 day era warnings/protections inserted to prevent explosions from what was at the time unknown bad ju

[PATCH v2 11/23] lpfc: Remove superfluous call to pci_disable_msix()

2014-02-24 Thread Alexander Gordeev
There is no need to call pci_disable_msix() in case the previous call to pci_enable_msix() failed Signed-off-by: Alexander Gordeev Cc: James Smart Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org Acked-by: James Smart --- drivers/scsi/lpfc/lpfc_init.c |9 ++--- 1 files cha

[PATCH v2 14/23] megaraid: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 16/23] mpt3sas: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 15/23] mpt2sas: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

Re: [PATCH 07/10] spi: sh-msiof: Add support for R-Car H2 and M2

2014-02-24 Thread Magnus Damm
Hi Geert, On Mon, Feb 24, 2014 at 4:39 PM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Mon, Feb 24, 2014 at 3:45 AM, Magnus Damm wrote: >> On Fri, Feb 21, 2014 at 1:13 AM, Geert Uytterhoeven >> wrote: >>> On Thu, Feb 20, 2014 at 4:41 PM, Magnus Damm wrote: On thing stuck out a bit with

[PATCHSET 0/8] perf tools: Update on filtered entries' percentage output (v5)

2014-02-24 Thread Namhyung Kim
Hello, I added --percentage option to perf report to control display of percentage of filtered entries. usage: perf report [] --percentage how to display percentage of filtered entries "relative" means it's relative to filtered entries only so that the sum of

[PATCH 4/8] perf top: Add --percentage option

2014-02-24 Thread Namhyung Kim
The --percentage option is for controlling overhead percentage displayed. It can only receive either of "relative" or "absolute". Move the parser callback function into a common location since it's used by multiple commands now. For more information, please see previous commit same thing done to

Re: [PATCH] Staging: comedi: Fix coding style issue in poc.c This is a patch to remove unneccessary space after function pointer name found with checkpatch.pl

2014-02-24 Thread Dan Carpenter
Subject is still messed up. Send the email to yourself first and then to the list until you figure it out. (hint add a blank line). regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majord

[PATCH 7/8] perf ui/tui: Add 'F' hotkey to toggle percentage output

2014-02-24 Thread Namhyung Kim
Add 'F' hotkey to toggle relative and absolute percentage of filtered entries. Suggested-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c index c42

Re: [PATCH v2 4/9] ipr: Use pci_enable_msi_range() and pci_enable_msix_range()

2014-02-24 Thread Alexander Gordeev
On Thu, Jan 30, 2014 at 03:06:30PM +0100, Alexander Gordeev wrote: > On Wed, Jan 29, 2014 at 02:26:52PM +0100, Alexander Gordeev wrote: > > > Do you want me to rediff your patches on top of this one, > > > or do you want to keep the entire MSI series together > > > and do the rediff? Otherwise the

[PATCH 8/8] perf tools: Show absolute percentage by default

2014-02-24 Thread Namhyung Kim
Now perf report will show absolute percentage on filter entries by default. Suggested-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/util/symbol.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index f2382f2ff2f0..46e2ede12c51 10

[PATCH v2 01/23] be2iscsi: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-24 Thread Viresh Kumar
On 24 February 2014 13:12, Srivatsa S. Bhat wrote: > On 02/24/2014 12:27 PM, Saravana Kannan wrote: >> The existing code sets the per CPU policy to a non-NULL value before all >> the steps performed during the hotplug online path is done. Specifically, >> this is done before the policy min/max, go

[PATCH 6/8] perf tools: Add hist.percentage config option

2014-02-24 Thread Namhyung Kim
Add hist.percentage option for setting default value of the symbol_conf.filter_relative. It affects the output of various perf commands (like perf report, top and diff) only if filter(s) applied. An user can write .perfconfig file like below to show absolute percentage of filtered entries by defa

[PATCH 5/8] perf diff: Add --percentage option

2014-02-24 Thread Namhyung Kim
The --percentage option is for controlling overhead percentage displayed. It can only receive either of "relative" or "absolute" and affects -c delta output only. For more information, please see previous commit same thing done to "perf report". Cc: Jiri Olsa Signed-off-by: Namhyung Kim --- t

[PATCH 2/8] perf hists: Add support for showing relative percentage

2014-02-24 Thread Namhyung Kim
When filtering by thread, dso or symbol on TUI it also update total period so that the output shows different result than no filter - the percentage changed to relative to filtered entries only. Sometimes this is not desired since users might expect same results with filter. So new filtered_* fie

[PATCH 1/8] perf tools: Count periods of filtered entries separately

2014-02-24 Thread Namhyung Kim
Currently if a sample was filtered by command line option, it just dropped. But this affects final output in that the percentage can be different since the filtered entries were not included to the total. But user might want to see the original percentages when filter applied so add new total_fil

[PATCH 0/7] Cpuidle: Minor fixes

2014-02-24 Thread Tuukka Tikkanen
This set of patches makes some minor changes to menu governor and the poll idle state. Patch 1 is simply a rename of a variable to make the name better represent the contained information. Patch 2 fixes calculating actual residency in cases where the entered state is different from the state deci

[PATCH 5/7] Cpuidle: Move perf multiplier calculation out of the selection loop

2014-02-24 Thread Tuukka Tikkanen
The menu governor performance multiplier defines a minimum predicted idle duration to latency ratio. Instead of checking this separately in every iteration of the state selection loop, adjust the overall latency restriction for the whole loop if this restriction is tighter than what is set by the Q

[PATCH 3/7] Cpuidle: Ensure menu coefficients stay within domain

2014-02-24 Thread Tuukka Tikkanen
The menu governor uses coefficients as one method of actual idle period length estimation. The coefficients are, as detailed below, multipliers giving expected idle period length from time until next timer expiry. The multipliers are supposed to have domain of (0..1]. The coefficients are fraction

[PATCH 3/8] perf report: Add --percentage option

2014-02-24 Thread Namhyung Kim
The --percentage option is for controlling overhead percentage displayed. It can only receive either of "relative" or "absolute". "relative" means it's relative to filtered entries only so that the sum of shown entries will be always 100%. "absolute" means it retains the original value before an

[PATCH 7/7] Cpuidle: poll state can measure residency

2014-02-24 Thread Tuukka Tikkanen
For some platforms, a poll state is inserted in the cpuidle driver states. The flags for the state do not indicate that timekeeping is not affected. As the state does not do anything apart from calling cpu_relax(), the times returned by ktime_get should remain valid. Add the missing flag. Signed-o

[PATCH v2 10/23] isci: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 12/23] lpfc: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 13/23] megaraid: Fail resume if MSI-X re-initialization failed

2014-02-24 Thread Alexander Gordeev
Currently the driver fails to analize MSI-X re-enablement status on resuming and always assumes the success. This update checks the MSI-X initialization result and fails to resume if MSI-Xs re-enablement failed. Signed-off-by: Alexander Gordeev --- drivers/scsi/megaraid/megaraid_sas_base.c |

[PATCH v2 05/23] csiostor: Remove superfluous call to pci_disable_msix()

2014-02-24 Thread Alexander Gordeev
There is no need to call pci_disable_msix() in case the previous call to pci_enable_msix() failed Signed-off-by: Alexander Gordeev Cc: Naresh Kumar Inna Cc: Arvind Bhushan Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/csiostor/csio_isr.c |4 +--- 1 files cha

RE: [PATCH RESEND v2 1/3] usb: chipidea: msm: Add device tree binding information

2014-02-24 Thread Peter Chen
> +CI13xxx (Chipidea) USB controllers > + > +Required properties: > +- compatible: should contain "qcom,ci-hdrc" > +- reg: offset and length of the register set in the memory map > +- interrupts: interrupt-specifier for the controller interrupt. > +- usb-phy: phandle for the PHY

[PATCH v2 04/23] bfa: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
As result of 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() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Sign

[PATCH v2 03/23] bfa: Cleanup bfad_setup_intr() function

2014-02-24 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: Anil Gurumurthy Cc: Vijaya Mohan Guvva Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/bfa/bfad.c | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/

[PATCH v2 00/23] scsi: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-24 Thread Alexander Gordeev
Hello! This series is against James Bottomley's SCSI tree [1], but it needs commit f7fc32c ("PCI/MSI: Add pci_enable_msi_exact() and pci_enable_msix_exact()") from from Bjorn Helgaas's PCI tree [2]: 1. git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next 2. git://git.kernel.org/pu

Re: [PATCH] avr32: remove cpu_data macro to fix compiles

2014-02-24 Thread Wolfram Sang
On Mon, Feb 24, 2014 at 08:28:20AM +0100, Hans-Christian Egtvedt wrote: > Around Sat 22 Feb 2014 09:28:27 +0100 or thereabout, Wolfram Sang wrote: > > Having cpu_data as a parameterless macro can easily cause build failures > > because it can be a variable name like in linux/pm_domain.h [1]. So, >

[PATCH v2 02/23] bfa: Do not call pci_enable_msix() after it failed once

2014-02-24 Thread Alexander Gordeev
Function pci_enable_msix() should not be called in case it threw a negative errno from a previous call. Signed-off-by: Alexander Gordeev Cc: Anil Gurumurthy Cc: Vijaya Mohan Guvva Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/bfa/bfad.c | 48 ++

Re: [PATCH 04/11] ARM: shmobile: lager legacy: Add MSIOF support

2014-02-24 Thread Geert Uytterhoeven
Hi Magnus, On Mon, Feb 24, 2014 at 3:09 AM, Magnus Damm wrote: > On Fri, Feb 21, 2014 at 1:18 AM, Geert Uytterhoeven > wrote: >> On Thu, Feb 20, 2014 at 4:48 PM, Magnus Damm wrote: >>> Since only MSIOF1 is used on Lager (correct me if i'm wrong), isn't it >>> best to omit the unused resources f

INFO: rcu_preempt self-detected stall on CPU with 3.10 kernel

2014-02-24 Thread wyang
Hi Paul, I ran into a cpu stall warning in a MIPS board with 3.10 kernel, I noted you push a patch(c896054f) to reduce default RCU CPU stall warning timeout to 21s. why is it 21s? what decide this time? seems this time is too short for MIPS, can I retore it to 60s? Do you give me any suggesti

Re: [PATCH V4 3/4] ARM: shmobile: koelsch: Add USBHS and internal PCI USB support

2014-02-24 Thread Vladimir Barinov
Hi Magnus, On 02/24/2014 12:05 PM, Magnus Damm wrote: Hi Vladimir, On Mon, Feb 24, 2014 at 4:34 PM, Vladimir Barinov wrote: Hello Magnus, Thank you for the quick response. On 02/24/2014 07:52 AM, Magnus Damm wrote: +static int usbhs_hardware_init(struct platform_device *pdev) +{ +

Re: [PATCH] mm: swap: Use swapfiles in priority order

2014-02-24 Thread Hugh Dickins
On Sun, 16 Feb 2014, Weijie Yang wrote: > On Fri, Feb 14, 2014 at 9:10 PM, Christian Ehrhardt > wrote: > > Weijie Yang gmail.com> writes: > > > >> > >> On Thu, Feb 13, 2014 at 6:42 PM, Mel Gorman suse.de> wrote: > > [...] > >> > - for (type = swap_list.next; type >= 0 && wrapped < 2; type

Re: [PATCHv6 3/6] zram: factor out single stream compression

2014-02-24 Thread Sergey Senozhatsky
Hello Minchan, thanks for your review. On (02/24/14 11:31), Minchan Kim wrote: > Hello Sergey, > > On Fri, Feb 21, 2014 at 02:50:40PM +0300, Sergey Senozhatsky wrote: > > This is preparation patch to add multi stream support to zcomp. > > > > Introduce struct zcomp_strm_single and a set of func

Re: [PATCH 1/4] net: rfkill: gpio: remove unused and obsoleteplatform parameters

2014-02-24 Thread Heikki Krogerus
On Sat, Feb 22, 2014 at 11:32:04PM +0100, Marc Dietrich wrote: > On Friday 21 February 2014 16:23:49 Heikki Krogerus wrote: > > On Fri, Feb 21, 2014 at 02:55:14PM +0100, Marc Dietrich wrote: > > > arch/arm/mach-tegra/board-paz00.c is still using platform data. Is there > > > some prerequisite patch

[PATCH] Staging: comedi: Fix coding style issue in poc.c

2014-02-24 Thread David Roddick
This is a patch to remove unneccessary space after function pointer name found with checkpatch.pl Signed-off-by: David Roddick --- drivers/staging/comedi/drivers/poc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/poc.c b/drivers/st

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-24 Thread skannan
Srivatsa S. Bhat wrote: > On 02/24/2014 12:27 PM, Saravana Kannan wrote: >> The existing code sets the per CPU policy to a non-NULL value before all >> the steps performed during the hotplug online path is done. >> Specifically, >> this is done before the policy min/max, governors, etc are initial

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-24 Thread skannan
Viresh Kumar wrote: > On 24 February 2014 13:12, Srivatsa S. Bhat > wrote: >> On 02/24/2014 12:27 PM, Saravana Kannan wrote: >>> The existing code sets the per CPU policy to a non-NULL value before >>> all >>> the steps performed during the hotplug online path is done. >>> Specifically, >>> this

Re: [PATCH 1/4] net: rfkill: gpio: remove unused andobsoleteplatform parameters

2014-02-24 Thread Marc Dietrich
Hi, Am Montag, 24. Februar 2014, 10:38:20 schrieb Heikki Krogerus: > On Sat, Feb 22, 2014 at 11:32:04PM +0100, Marc Dietrich wrote: > > On Friday 21 February 2014 16:23:49 Heikki Krogerus wrote: > > > On Fri, Feb 21, 2014 at 02:55:14PM +0100, Marc Dietrich wrote: > > > > arch/arm/mach-tegra/board-

[PATCH 10/10] pinctrl: mvebu: dove: use global register regmap

2014-02-24 Thread Sebastian Hesselbarth
Now that we have a regmap for global registers, get rid of the last remaining hardcoded physical addresses. While at it, also remove DOVE_ prefix from those macros. Signed-off-by: Sebastian Hesselbarth Acked-by: Linus Walleij --- Cc: Linus Walleij Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory

[PATCH 00/10] pinctrl: mvebu: remove hard-coded addresses from Dove pinctrl

2014-02-24 Thread Sebastian Hesselbarth
This is a patches separated from one sent earlier [1] with just the removal of any hard-coded reg addresses from Dove pinctrl stub. This is a required step for Dove to leave mach-dove, hop into mach-mvebu, and become part of multi_v7. In the meantime, support for new Armada 375/38x was added that

[PATCH 01/10] devicetree: bindings: add missing Marvell Dove SoC documentation

2014-02-24 Thread Sebastian Hesselbarth
Marvell Dove SoC binding was not documented, yet. Add the documentation and also describe Global Configuration register node in it. Signed-off-by: Sebastian Hesselbarth --- Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Rob Landley Cc: Linus Walleij Cc:

[PATCH 05/10] pinctrl: mvebu: dove: request additional resources

2014-02-24 Thread Sebastian Hesselbarth
Dove pinctrl also requires additional registers to control all pins. This patch requests resources for mpp4 and pmu-mpp register ranges. As this changes DT to driver requirements, fallback to hardcoded resources, if the corresponding DT regs have not been set. Also, WARN about old DT binding usage

[PATCH 04/10] ARM: dove: add global-config register node

2014-02-24 Thread Sebastian Hesselbarth
We share global config registers by syscon node, add it to dove.dtsi. Signed-off-by: Sebastian Hesselbarth --- Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Rob Landley Cc: Linus Walleij Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory

[PATCH 02/10] devicetree: bindings: update MVEBU pinctrl binding documentation

2014-02-24 Thread Sebastian Hesselbarth
Dove pinctrl binding now requires three different reg properties. This updates corresponding binding and example accordingly. While at it, also document reg property as required for the other MVEBU SoC pinctrl nodes. Signed-off-by: Sebastian Hesselbarth --- Cc: Rob Herring Cc: Pawel Moll Cc: Ma

Re: [PATCH RESEND] bug: When !CONFIG_BUG, simplify WARN_ON_ONCE and family

2014-02-24 Thread Josh Triplett
On Mon, Feb 24, 2014 at 09:02:35AM +0100, Arnd Bergmann wrote: > On Saturday 22 February 2014, Josh Triplett wrote: > > When !CONFIG_BUG, WARN_ON and family become simple passthroughs of their > > condition argument; however, WARN_ON_ONCE and family still have > > conditions and a boolean to detect

Re: [PATCH 04/11] ARM: shmobile: lager legacy: Add MSIOF support

2014-02-24 Thread Magnus Damm
Hi Geert! On Mon, Feb 24, 2014 at 5:25 PM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Mon, Feb 24, 2014 at 3:09 AM, Magnus Damm wrote: >> On Fri, Feb 21, 2014 at 1:18 AM, Geert Uytterhoeven >> wrote: >>> On Thu, Feb 20, 2014 at 4:48 PM, Magnus Damm wrote: Since only MSIOF1 is used on L

Re: [PATCHv6 2/6] zram: use zcomp compressing backends

2014-02-24 Thread Sergey Senozhatsky
On (02/24/14 10:01), Minchan Kim wrote: > On Fri, Feb 21, 2014 at 02:50:39PM +0300, Sergey Senozhatsky wrote: > > Do not perform direct LZO compress/decompress calls, initialise > > and use zcomp LZO backend (single compression stream) instead. > > > > Signed-off-by: Sergey Senozhatsky > > --- >

[PATCH 08/10] pinctrl: mvebu: dove: use remapped mpp4 register

2014-02-24 Thread Sebastian Hesselbarth
Now that we have an ioremapped mpp4 register, get rid of hardcoded physical addresses. While at it, also remove DOVE_ prefix from those macros. Signed-off-by: Sebastian Hesselbarth Acked-by: Linus Walleij --- Cc: Linus Walleij Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: linux-ar

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-24 Thread Viresh Kumar
On 24 February 2014 14:11, wrote: > I just replied to the other email. I think I answered both your questions > there. Sorry about mixing up CPU and policy. In my case, each CPU is > independently scalable -- so for now take CPU == policy. I'll fix it up > once we agree on the fix. But why do yo

[PATCH 06/10] pinctrl: mvebu: dove: request syscon regmap for global registers

2014-02-24 Thread Sebastian Hesselbarth
Dove pinctrl uses some global config registers to control pins. This patch requests a syscon regmap for those registers. As this changes DT to driver requirements, fallback to a self-registered regmap with hardcoded resources, if the corresponding syscon DT node is missing. Also, WARN about old DT

[PATCH 09/10] pinctrl: mvebu: dove: use remapped pmu_mpp registers

2014-02-24 Thread Sebastian Hesselbarth
Now that we have ioremapped pmu_mpp registers, get rid of hardcoded physical addresses. While at it, also remove DOVE_ prefix from those macros. Signed-off-by: Sebastian Hesselbarth Acked-by: Linus Walleij --- Cc: Linus Walleij Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: linux-a

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-24 Thread skannan
Viresh Kumar wrote: > On 24 February 2014 14:11, wrote: >> I just replied to the other email. I think I answered both your >> questions >> there. Sorry about mixing up CPU and policy. In my case, each CPU is >> independently scalable -- so for now take CPU == policy. I'll fix it up >> once we ag

[PATCH 03/10] ARM: dove: add additional pinctrl registers

2014-02-24 Thread Sebastian Hesselbarth
Dove pinctrl uses additional registers to control MPPs. This patch first increases existing pinctrl reg property by one register, and then adds two new ranges for MPP4 and PMU MPP registers. Signed-off-by: Sebastian Hesselbarth --- Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbe

[PATCH 07/10] pinctrl: mvebu: dove: use remapped mpp base registers

2014-02-24 Thread Sebastian Hesselbarth
Now that we have ioremapped mpp base registers, get rid of hardcoded physical addresses. While at it, also remove DOVE_ prefix from those macros. Signed-off-by: Sebastian Hesselbarth Acked-by: Linus Walleij --- Cc: Linus Walleij Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: linux-

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-24 Thread Viresh Kumar
On 24 February 2014 14:17, wrote: > Sorry, not sure I understand what you mean. > > I agree, wording in my commit text might be unclear. I'll fix it after we > agree on the code fix. In the MSM case, each CPU has it's own policy. > > I'm assuming your original complaint was about my confusing wor

Re: [PATCH v3 07/11] watchdog: xilinx: Use of_property_read_u32

2014-02-24 Thread Michal Simek
On 02/23/2014 08:00 PM, Alejandro Cabrera wrote: > On 23/2/2014 6:43 AM, Guenter Roeck wrote: >> On 02/23/2014 08:25 AM, Alejandro Cabrera wrote: >>> On 22/2/2014 7:44 PM, Guenter Roeck wrote: On 02/22/2014 10:14 PM, Alejandro Cabrera wrote: > On 22/2/2014 5:36 PM, Guenter Roeck wrote: >>>

Re: [PATCH] Staging: comedi: Fix coding style issue in poc.c

2014-02-24 Thread Joe Perches
On Mon, 2014-02-24 at 19:39 +1100, David Roddick wrote: > This is a patch to remove unneccessary space after function pointer name > found with checkpatch.pl A few comments: Please wrap your commit message to 70 columns or so. There is 1 c in unnecessary. The "This is a patch to " bit isn't p

Re: [PATCH V4 3/4] ARM: shmobile: koelsch: Add USBHS and internal PCI USB support

2014-02-24 Thread Magnus Damm
Hi Vladimir, On Mon, Feb 24, 2014 at 5:29 PM, Vladimir Barinov wrote: > Hi Magnus, > > > On 02/24/2014 12:05 PM, Magnus Damm wrote: >> >> Hi Vladimir, >> >> On Mon, Feb 24, 2014 at 4:34 PM, Vladimir Barinov >> wrote: >>> >>> Hello Magnus, >>> >>> Thank you for the quick response. >>> >>> >>> On

Re: [RFC][PATCH v2] mm/page_alloc: fix freeing of MIGRATE_RESERVE migratetype pages

2014-02-24 Thread Mel Gorman
On Fri, Feb 14, 2014 at 07:34:17PM +0100, Bartlomiej Zolnierkiewicz wrote: > Pages allocated from MIGRATE_RESERVE migratetype pageblocks > are not freed back to MIGRATE_RESERVE migratetype free > lists in free_pcppages_bulk()->__free_one_page() if we got > to free_pcppages_bulk() through drain_[zon

Re: [PATCH 1/7] spi: sunxi: Add Allwinner A10 SPI controller driver

2014-02-24 Thread Maxime Ripard
Hi, On Sun, Feb 23, 2014 at 11:15:30AM +0900, Mark Brown wrote: > On Sat, Feb 22, 2014 at 10:35:53PM +0100, Maxime Ripard wrote: > > The older Allwinner SoCs (A10, A13, A10s and A20) all have the > > same SPI controller. > > Applied, thanks. Please differentiate between these two devices in > th

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-24 Thread skannan
Viresh Kumar wrote: > On 24 February 2014 14:17, wrote: >> Sorry, not sure I understand what you mean. >> >> I agree, wording in my commit text might be unclear. I'll fix it after >> we >> agree on the code fix. In the MSM case, each CPU has it's own policy. >> >> I'm assuming your original comp

Re: [PATCH 0/7] Add Allwinner A10 SPI Controller Driver

2014-02-24 Thread Maxime Ripard
On Sat, Feb 22, 2014 at 10:35:52PM +0100, Maxime Ripard wrote: > Hi, > > This patchset brings support for the SPI controller found in the > Allwinner A10 and derived SoCs. > > Even though the controller supports DMA, the driver only supports PIO > mode for now. This driver will be used to bring u

Re: [PATCH 04/11] ARM: shmobile: lager legacy: Add MSIOF support

2014-02-24 Thread Geert Uytterhoeven
Hi Magnus, On Mon, Feb 24, 2014 at 9:44 AM, Magnus Damm wrote: >>> Another question: How about "bus_num" and the platform device id >>> mapping? I'd like them to be the same if possible, but you are having >>> this "(idx+1)" bit in your code which I assume is to add offset for >>> the QSPI bus. >

[RFC PATCH v1 0/2] perf: Support for SDT markers

2014-02-24 Thread Hemant Kumar
This patchset helps in listing dtrace style markers(SDT) present in user space applications through perf. Notes/markers are placed at important places by the developers. They have a negligible overhead when not enabled. We can enable them and probe at these places and find some important informatio

[RFC PATCH v1 2/2] perf/sdt : Documentation

2014-02-24 Thread Hemant Kumar
Documentation for perf listing of SDT markers. --- tools/perf/Documentation/SDT-markers.txt | 122 ++ tools/perf/Documentation/perf-list.txt |8 +- 2 files changed, 128 insertions(+), 2 deletions(-) create mode 100644 tools/perf/Documentation/SDT-markers.txt di

[RFC PATCH v1 1/2] perf/sdt : Listing of SDT markers by perf

2014-02-24 Thread Hemant Kumar
This patch enables perf to list the SDT markers present in a system. It looks in dsos given by ldconfig --print-cache and for other binaries, it looks into the PATH environment variable. After preparing a list of the binaries, then it starts searching for SDT markers in them. To find the SDT marker

[PATCH V5 2/4] ARM: shmobile: r8a7791: Add PCI USB host clock support

2014-02-24 Thread vladimir.barinov
From: Valentine Barshak This adds internal PCI USB host clock support to R-Car M2 SoC. Signed-off-by: Valentine Barshak Signed-off-by: Vladimir Barinov Changes in V5: Changes in V4: Changes in V3: * none. Changes in V2: * capitalized ARM in the subject; * rebased on top the latest devel tag.

[PATCH 1/3] fsnotify: Fix detection whether overflow event is queued

2014-02-24 Thread Jan Kara
Currently we didn't initialize event's list head when we removed it from the event list. Thus a detection whether overflow event is already queued wasn't working. Fix it by always initializing the list head when deleting event from a list. Signed-off-by: Jan Kara --- fs/notify/notification.c | 6

[PATCH 2/3] fanotify: Handle overflow in case of permission events

2014-02-24 Thread Jan Kara
If the event queue overflows when we are handling permission event, we will never get response from userspace. So we must avoid waiting for it. Change fsnotify_add_notify_event() to return whether overflow has happened so that we can detect it in fanotify_handle_event() and act accordingly. Signed

[PATCH 0/3] fsnotify: Fix handling of overflow events

2014-02-24 Thread Jan Kara
Hello, these three patches fix problems with overflow events in fanotify and inotify frameworks. Part of that (patches 1 & 3) is a fallout of my rewrite of fsnotify framework. I've implemented testing of generation of overflow events for fanotify and inotify in LTP and with these patches the

[PATCH V5 0/4] ARM: shmobile: koelsch: Add USB support

2014-02-24 Thread vladimir.barinov
From: Valentine Barshak These patch series add the USBHS and PCI USB support to Koelsch board Changes in V5: * changed "From" filed to original author * removed commits dependency, since verified them are in * get rid from PCI USB on usb0 * moved MAX3355E ID pin check in usbhs probe * removed CO

Re: [PATCH] ACPI/Processor: Rework processor throttling with work_on_cpu()

2014-02-24 Thread Lan Tianyu
On 2014年02月22日 01:07, Jiri Olsa wrote: > On Fri, Feb 21, 2014 at 11:06:30AM +0100, Jiri Olsa wrote: >> On Fri, Feb 21, 2014 at 01:35:45PM +0800, Lan Tianyu wrote: >>> acpi_processor_set_throttling() uses set_cpus_allowed_ptr() to make >>> sure struct acpi_processor->acpi_processor_set_throttling()

[PATCH V5 1/4] ARM: shmobile: r8a7791: Add USBHS clock support

2014-02-24 Thread vladimir.barinov
From: Valentine Barshak This adds USBHS clocks to the R8A7791 SoC. Signed-off-by: Valentine Barshak Signed-off-by: Vladimir Barinov Changes in V5: Changes in V4: Changes in V3: * none. Changes in V2: * capitalized ARM in the subject; * rebased on top the latest devel tag. --- arch/arm/mach

  1   2   3   4   5   6   7   8   9   >