Re: [PATCH v4 03/25] virtio-pci: move freeze/restore to virtio core

2014-10-15 Thread Paul Bolle
is patch landed in today's linux-next (next-20141015). > include/linux/virtio.h | 6 + > drivers/virtio/virtio.c | 54 > + > drivers/virtio/virtio_pci.c | 54 > ++--- > 3 file

[PATCHv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-15 Thread Jingchang Lu
This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, "serial: of-serial: add PM suspend/resume support", which disables the uart clock on suspend, but also causes a hardware hang on register access if no_console_suspend command line option is used. Also, not every of_serial device is

Re: [RFC/PATCH] gpio/pinctrl: baytrail: move gpio driver from pinctrl to gpio directory

2014-10-15 Thread Mika Westerberg
On Tue, Oct 14, 2014 at 10:45:35AM -0700, David Cohen wrote: > Hi Mathias, > > On Tue, Oct 14, 2014 at 01:35:43PM +0300, Mathias Nyman wrote: > > On 13.10.2014 22:17, David Cohen wrote: > > > Even though GPIO module on Intel Bay Trail is able to control pin > > > functionality, it's unlikely Linux

Re: [PATCHv2 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-15 Thread Linus Walleij
On Fri, Sep 26, 2014 at 12:07 PM, Chang Rebecca Swee Fun wrote: > Intel Quark X1000 GPIO controller supports interrupt handling for > both core power well and resume power well. This patch is to enable > the IRQ support and provide IRQ handling for Intel Quark X1000 > GPIO-SCH device driver. > >

RE: [PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-15 Thread Jingchang Lu
>-Original Message- >From: Joseph Lo [mailto:jose...@nvidia.com] >Sent: Wednesday, October 15, 2014 2:53 PM >To: Lu Jingchang-B35083; gre...@linuxfoundation.org >Cc: linux-arm-ker...@lists.infradead.org; linux-ser...@vger.kernel.org; >pe...@hurleysoftware.com; a...@arndb.de; linux-kernel@vg

[PATCH 00/13] input: cyapa: intruction of cyapa patches

2014-10-15 Thread Dudley Du
Based on Dmitry's comments, I made v8 patches of cyapa trackpad device with below updates compared with v7 patches: 1) [PATCH v8 01/13] - Remove the async thread for device detect in proble routine, now the device detect process is completly done within the device proble routine. 2) [PATCH v8

[PATCH 04/13] input: cyapa: add cyapa key function interfaces in sysfs system

2014-10-15 Thread Dudley Du
Add key basic function interfaces in cyapa driver in sysfs system, these interfaces are commonly used in pre- and after production, and for trackpad device state checking, manage and firmware image updating. These interfaces including firmware_version and product_id interfaces for reading firmware

[PATCH 01/13] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-10-15 Thread Dudley Du
In order to support two different communication protocol based trackpad device in one cyapa, the new cyapa driver is re-designed with one cyapa driver core and two devices' functions component. The cyapa driver core is contained in this patch, it supplies the basic function with input and kernel sy

[PATCH 05/13] input: cyapa: add read firmware image and raw data interfaces in debugfs system

2014-10-15 Thread Dudley Du
Add read_fw and raw_data debugfs interfaces for easier issues location and collection when report by user. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 239 drivers/input/mouse/cyapa.h | 12 +++ 2 files changed

[PATCH 03/13] input: cyapa: add cyapa driver runtime power management interfaces support

2014-10-15 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 187 +

[PATCH 02/13] input: cyapa: add cyapa driver power management interfaces support

2014-10-15 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 112 +

[PATCH 09/13] input: cyapa: add gen3 trackpad device read firmware image function support

2014-10-15 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, which its function is supplied through cyapa core read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 74 1 file changed, 74 inse

[PATCH 07/13] input: cyapa: add gen3 trackpad device firmware update function support

2014-10-15 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 290 +++ 1 file changed, 290

[PATCH 06/13] input: cyapa: add gen3 trackpad device basic functions support

2014-10-15 Thread Dudley Du
Based on the cyapa core, add the gen3 trackpad device's basic functions supported, so gen3 trackpad device can work with kernel input system. The basic function is absolutely same as previous cyapa driver only support gen3 trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- d

[PATCH 11/13] input: cyapa: add gen5 trackpad device firmware update function support

2014-10-15 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 294 +

[PATCH 12/13] input: cyapa: add gen5 trackpad device baseline and calibrate functions support

2014-10-15 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen5 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 670 +++

[PATCH 08/13] input: cyapa: add gen3 trackpad device baseline and calibrate functions support

2014-10-15 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen3 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 135 +++

[PATCH 10/13] input: cyapa: add gen5 trackpad device basic functions support

2014-10-15 Thread Dudley Du
Based on the cyapa core, add the gen5 trackpad device's basic functions supported, so gen5 trackpad device can work with kernel input system. And also based on the state parse interface, the cyapa driver can automatically determine the attached is gen3 or gen5 protocol trackpad device, then set the

[PATCH 13/13] input: cyapa: add gen5 trackpad device read firmware image and raw data functions support

2014-10-15 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, which its function is supplied through cyapa core read_fw interface. Through this interface, upper layer application can read out, check and backup the firmware image in trackpad device before updated with new one when new firmwar

Re: [PATCH v7 5/5] amba: Remove unused amba_pclk_enable/disable macros

2014-10-15 Thread Ulf Hansson
On 24 September 2014 15:50, Krzysztof Kozlowski wrote: > Remove the amba_pclk_enable and amba_pclk_disable macros because they > are not used by the drivers. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Ulf Hansson Kind regards Uffe > --- > include/linux/amba/bus.h | 6 -- > 1 fil

Re: [PATCH v7 4/5] dma: pl330: add Power Management support

2014-10-15 Thread Ulf Hansson
On 24 September 2014 15:50, Krzysztof Kozlowski wrote: > This patch adds both normal PM suspend/resume support and runtime PM > support to pl330 DMA engine driver. > > The runtime power management for pl330 DMA driver allows gating of AMBA > clock (PDMA) in FSYS clock domain, when the device is no

[PATCH 6/6] cpufreq: Loongson1: Add cpufreq driver for Loongson1B (UPDATED)

2014-10-15 Thread Kelvin Cheung
This patch adds cpufreq driver for Loongson1B which is capable of changing the CPU frequency dynamically. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/Kconfig| 10 ++ drivers/cpufreq/Makefile | 1 + drivers/cpufreq/ls1x-cpufreq.c | 233 +++

Re: [PATCH v7 3/5] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM

2014-10-15 Thread Ulf Hansson
On 24 September 2014 15:50, Krzysztof Kozlowski wrote: > The AMBA bus driver defines runtime Power Management functions which > disable and unprepare AMBA bus clock. This is problematic for runtime PM > because unpreparing a clock might sleep so it is not interrupt safe. > > However some drivers m

Re: [PATCH v4 2/4] gpio: vf610: add gpiolib/IRQ chip driver for Vybrid

2014-10-15 Thread Linus Walleij
On Fri, Sep 26, 2014 at 1:57 PM, Stefan Agner wrote: > Add a gpiolib and IRQ chip driver for Vybrid ARM SoC using the > Vybrid's GPIO and PORT module. The driver is instanced once per > each GPIO/PORT module pair and handles 32 GPIO's. > > Signed-off-by: Stefan Agner > Acked-by: Shawn Guo I'd

Re: [PATCH net-next RFC 0/3] virtio-net: Conditionally enable tx interrupt

2014-10-15 Thread Jason Wang
On 10/15/2014 07:06 AM, Michael S. Tsirkin wrote: > On Tue, Oct 14, 2014 at 02:53:27PM -0400, David Miller wrote: >> > From: Jason Wang >> > Date: Sat, 11 Oct 2014 15:16:43 +0800 >> > >>> > > We free old transmitted packets in ndo_start_xmit() currently, so any >>> > > packet must be orphaned als

[PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-15 Thread Thomas Shao
Export do_adjtimex function for hyper-v Time Synchronization component Signed-off-by: Thomas Shao --- kernel/time/timekeeping.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index ec1791f..205a4b3 100644 --- a/kerne

[PATCH v2 2/2] hyperv: Implement Time Synchronization using host time sample

2014-10-15 Thread Thomas Shao
In current hyper-v time sync service,it only gets the initial clock time from the host. It didn't process the following time samples. This change introduced a module parameter called host_time_sync. If it is set to true, the guest will periodically sychronize it's time with the host clock using hos

Re: of/pci: Fix the conversion of IO ranges into IO resources

2014-10-15 Thread Benjamin Herrenschmidt
On Thu, 2014-10-09 at 20:02 +, Linux Kernel Mailing List wrote: > Gitweb: > http://git.kernel.org/linus/;a=commit;h=0b0b0893d49b34201a6c4416b1a707b580b91e3d > Commit: 0b0b0893d49b34201a6c4416b1a707b580b91e3d > Parent: 83bbde1cc0ec9d156b9271e29ffe0dc89c687feb > Refname:refs/head

Re: [RFC 2/5] x86: Store a per-cpu shadow copy of CR4

2014-10-15 Thread Hillf Danton
Hey Andy > > Context switches and TLB flushes can change individual bits of CR4. > CR4 reads take several cycles, so store a shadow copy of CR4 in a > per-cpu variable. > > To avoid wasting a cache line, I added the CR4 shadow to > cpu_tlbstate, which is already touched during context switches. > >

RE: [PATCH 00/13] input: cyapa: intruction of cyapa patches

2014-10-15 Thread Dudley Du
Hi All, This "input: cyapa" patches are v8 patches updated based on previous reviews. I'm sorry for lost the patch version information. Thanks, Dudley > -Original Message- > From: Dudley Du [mailto:dudley.duli...@gmail.com] > Sent: 2014?10?15? 15:19 > To: dmitry.torok...@gmail.com; rydb.

Re: [fuse-devel] [PATCH v4 4/5] fuse: Support privileged xattrs only with a mount option

2014-10-15 Thread Seth Forshee
On Tue, Oct 14, 2014 at 02:19:19PM -0700, Andy Lutomirski wrote: > On Tue, Oct 14, 2014 at 2:13 PM, Eric W. Biederman > wrote: > > Seth Forshee writes: > > > >> On Tue, Oct 14, 2014 at 01:01:02PM -0700, Eric W. Biederman wrote: > >>> Michael j Theall writes: > >>> > >>> > Seth Forshee wrote on

[RFC PATCH net-next 6/6] virtio-net: enable tx interrupt only for the final skb in the chain

2014-10-15 Thread Jason Wang
With the help of xmit_more and virtqueue_enable_cb_avail(), this patch enable tx interrupt only for the final skb in the chain if needed. This will help to mitigate tx interrupts. Cc: Rusty Russell Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- drivers/net/virtio_net.c | 10 +++---

[RFC PATCH net-next 5/6] virtio-net: enable tx interrupt

2014-10-15 Thread Jason Wang
Orphan skb in ndo_start_xmit() breaks socket accounting and packet queuing. This in fact breaks lots of things such as pktgen and several TCP optimizations. And also make BQL can't be implemented for virtio-net. This patch tries to solve this issue by enabling tx interrupt. To avoid introducing ex

[RFC PATCH net-next 1/6] virtio: make sure used event never go backwards

2014-10-15 Thread Jason Wang
This patch checks the new event idx to make sure used event idx never goes back. This is used to synchronize the calls between virtqueue_enable_cb_delayed() and virtqueue_enable_cb(). Cc: Rusty Russell Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- drivers/virtio/virtio_ring.c |7 +++

[RFC PATCH net-next 0/6] Always use tx interrupt for virtio-net

2014-10-15 Thread Jason Wang
According to David, proper accounting and queueing (at all levels, not just TCP sockets) is more important than trying to skim a bunch of cycles by avoiding TX interrupts. Having an event to free the SKB is absolutely essential for the stack to operate correctly. This series tries to enable tx int

[RFC PATCH net-next 4/6] virtio-net: return the number of packets sent in free_old_xmit_skbs()

2014-10-15 Thread Jason Wang
This patch returns the number of packets sent in free_old_xmit_skbs(), this is necessary for calling this function in napi. Cc: Rusty Russell Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- drivers/net/virtio_net.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

[RFC PATCH net-next 3/6] virtio-net: small optimization on free_old_xmit_skbs()

2014-10-15 Thread Jason Wang
Accumulate the sent packets and sent bytes in local variables and perform a single u64_stats_update_begin/end() after. Cc: Rusty Russell Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- drivers/net/virtio_net.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --g

[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()

2014-10-15 Thread Jason Wang
This patch introduces virtio_enable_cb_avail() to publish avail idx and used event. This could be used by batched buffer submitting to reduce the number of tx interrupts. Cc: Rusty Russell Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- drivers/virtio/virtio_ring.c | 22

[PATCH] atm: simplify lanai.c by using module_pci_driver

2014-10-15 Thread Michael Opdenacker
This simplifies the lanai.c driver by using the module_pci_driver() macro, at the expense of losing only debugging messages. Signed-off-by: Michael Opdenacker --- drivers/atm/lanai.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/atm/lanai.c b/

Re: [PATCH v3 1/2] socfpga: hotplug: put cpu1 in wfi

2014-10-15 Thread Pavel Machek
On Tue 2014-10-14 14:33:38, at...@opensource.altera.com wrote: > From: Alan Tull > > Use WFI when putting CPU1 to sleep. Don't hold CPU1 in reset > since that results in increased power consumption. > > Reset CPU1 briefly during CPU1 bootup. > > This has been tested for hotplug and suspend/res

Re: [PATCH v3 2/2] socfpga: support suspend to ram

2014-10-15 Thread Pavel Machek
On Tue 2014-10-14 14:33:39, at...@opensource.altera.com wrote: > From: Alan Tull > > Add code that requests that the sdr controller go into > self-refresh mode. This code is run from ocram. > > This patch assumes that u-boot has already configured sdr: > sdr.ctrlcfg.lowpwreq.selfrfshmask = 3

Re: [PATCH v2 3/3] ARM: dts: qcom: Add SDHC nodes for APQ8084 platform

2014-10-15 Thread Kumar Gala
On Oct 14, 2014, at 6:17 PM, Georgi Djakov wrote: > On 10/10/2014 08:14 PM, Bjorn Andersson wrote: >> On Tue, Sep 2, 2014 at 8:40 AM, Georgi Djakov wrote: >>> Enable support for the two SD host controllers on the APQ8084 platform >>> by adding the required nodes to the DT files. >>> On the IFC6

Re: unaligned accesses in SLAB etc.

2014-10-15 Thread Meelis Roos
> > My only other current sparc64 problems that I am seeing - V210/V440 die > > during bootup if compiled with gcc 4.9 and V480 dies with FATAL > > exceptions during bootups since previous kernel release. Maybe also > > exit_mmap warning - I do not know if they have been fixed, I see them > > r

Re: [GIT PULL] SELinux list corruption fix for 3.18

2014-10-15 Thread James Morris
On Wed, 15 Oct 2014, Linus Torvalds wrote: > On Wed, Oct 15, 2014 at 7:27 AM, Linus Torvalds > wrote: > > > > No, the log is correct (the log always is, the back-merges can cause > > the trivial *diff* to be broken). > > To add some details: the commits in there are > > f6ed66087648 Merge bra

Re: [PATCH v7 4/5] dma: pl330: add Power Management support

2014-10-15 Thread Krzysztof Kozlowski
On śro, 2014-10-15 at 09:19 +0200, Ulf Hansson wrote: > On 24 September 2014 15:50, Krzysztof Kozlowski > wrote: > > This patch adds both normal PM suspend/resume support and runtime PM > > support to pl330 DMA engine driver. > > > > The runtime power management for pl330 DMA driver allows gating

Re: [PATCH 0/8] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-15 Thread Li, ZhenHua
David, Joerg, I plan to merge this patch set with 3.17 stable kernel, and split this patch set into two : 1. The core part, including the changed functions, like [Patch 4/8], [Patch 8/8]. 2. For the formatting issues, like [Patch 1/8],[Patch 3/8], including the changes for code formations, cre

[no subject]

2014-10-15 Thread Christoph Lameter
Subject: Convert remaining __get_cpu_var uses During the 3.18 merge period additional __get_cpu_var uses were added. The patch converts these to this_cpu_ptr(). [This does not address the powerpc issue where the conversion patches were routed directly to the powerpc maintainers but were not appli

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-15 Thread Takao Indoh
(2014/10/14 18:34), Li, ZhenHua wrote: > I tested on the latest stable version 3.17, it works well. > > On 10/10/2014 03:13 PM, Li, Zhen-Hua wrote: >> On a HP system with Intel vt-d supported and many PCI devices on it, >> when kernel crashed and the kdump kernel boots with intel_iommu=on, >> ther

Re: [GIT PULL] qcom SoC changes for v3.18

2014-10-15 Thread Kumar Gala
On Oct 1, 2014, at 4:41 PM, Arnd Bergmann wrote: > On Monday 22 September 2014, Kumar Gala wrote: >> The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: >> >> Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) >> >> are available in the git repository at: >> >> git://git.ke

Note

2014-10-15 Thread lucky winner
Good Day , Be inform that your Winning compensated sum of ($3.500,000.00USD) has been converted into ATM-CARD due to your delay ,Kindly Contact Dr BEN MAXWELL,via:email(jim.walt...@yandex.com)with your information for delivery.Regards Engr Henry -- To unsubscribe from this list: send the l

[PATCH] kernel/jump_label.c: declare jump_label_module_nb as static

2014-10-15 Thread Michele Curti
The structure jump_label_module_nb is used in jump_label.c only, so declare it as static Signed-off-by: Michele Curti --- kernel/jump_label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/jump_label.c b/kernel/jump_label.c index 9019f15..d7ac148 100644 --- a/kernel/j

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-15 Thread Li, ZhenHua
I still think resetting the devices is necessary. Reading your original mails , I think reason 2 you mentioned, resetting the devices in the first kernel, may be a good solution. Well, I am now working on Bill's patch that you mentioned. As it is not accepted yet, I will create a new version fo

Re: [RESEND PATCH v2 1/4] dmaengine: pl330: Remove non-NULL check for pl330_submit_req parameters

2014-10-15 Thread Vinod Koul
On Tue, Oct 14, 2014 at 02:40:09PM +0200, Lars-Peter Clausen wrote: > On 10/14/2014 01:51 PM, Vinod Koul wrote: > >On Mon, Sep 29, 2014 at 02:42:18PM +0200, Krzysztof Kozlowski wrote: > >>The pl330_submit_req() checked supplied 'struct pl330_thread thrd' and > >>'struct dma_pl330_desc desc' paramet

[PATCH] mfd: arizona-spi: Add lines after declarations - checkpatch catch

2014-10-15 Thread Will Sheppard
This was found whilst running checkpatch.pl on arizona-spi. WARNING: Missing a blank line after declarations + struct arizona *arizona = spi_get_drvdata(spi); + arizona_dev_exit(arizona); Signed-off-by: Will Sheppard --- drivers/mfd/arizona-spi.c | 2 ++ 1 file changed, 2 insertions

Re: [PATCH 0/8] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-15 Thread Li, ZhenHua
Add Tom to CC list. On 10/15/2014 04:10 PM, Li, ZhenHua wrote: David, Joerg, I plan to merge this patch set with 3.17 stable kernel, and split this patch set into two : 1. The core part, including the changed functions, like [Patch 4/8], [Patch 8/8]. 2. For the formatting issues, like [Patch 1/8]

Re: [PATCH 06/13] gpio / ACPI: Add support for _DSD device properties

2014-10-15 Thread Mika Westerberg
On Tue, Oct 14, 2014 at 03:44:03PM +0200, Grant Likely wrote: > On Tue, 07 Oct 2014 02:15:18 +0200 > , "Rafael J. Wysocki" > wrote: > > From: Mika Westerberg > > > > With release of ACPI 5.1 and _DSD method we can finally name GPIOs (and > > other things as well) returned by _CRS. Previously we

Re: [PATCH] arm64: dts: exynos7: add support for cpuidle core power down

2014-10-15 Thread Lorenzo Pieralisi
On Wed, Oct 15, 2014 at 07:35:20AM +0100, Chander Kashyap wrote: > Exynos7 has core power down state where cores can be powered off > independently. > This patch adds support for this state. Please tell us more about the idle-state values you are adding, in particular entry, exit latencies and mi

Re: [PATCHv3] pinctrl: baytrail: Clear DIRECT_IRQ bit

2014-10-15 Thread Linus Walleij
On Fri, Sep 26, 2014 at 4:14 PM, Loic Poulain wrote: > Direct irq en bit should be cleared for pads using io mode. > If not, the io based irq will never be detected. > However, this bit can sometimes be misconfigured (BIOS issue). > Force clearing of this bit in io mode and trigger a WARN. > > Si

Re: of/pci: Fix the conversion of IO ranges into IO resources

2014-10-15 Thread Liviu Dudau
On Wed, Oct 15, 2014 at 08:35:07AM +0100, Benjamin Herrenschmidt wrote: > On Thu, 2014-10-09 at 20:02 +, Linux Kernel Mailing List wrote: > > Gitweb: > > http://git.kernel.org/linus/;a=commit;h=0b0b0893d49b34201a6c4416b1a707b580b91e3d > > Commit: 0b0b0893d49b34201a6c4416b1a707b580b91e3

Re: [PATCH linux v3 1/1] fs/proc: use a rb tree for the directory entries

2014-10-15 Thread Nicolas Dichtel
Le 14/10/2014 21:56, Eric W. Biederman a écrit : Nicolas Dichtel writes: Le 07/10/2014 11:02, Nicolas Dichtel a écrit : The current implementation for the directories in /proc is using a single linked list. This is slow when handling directories with large numbers of entries (eg netdevice-rel

Re: [PATCHv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-15 Thread Joseph Lo
On 10/15/2014 02:19 PM, Jingchang Lu wrote: This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, "serial: of-serial: add PM suspend/resume support", which disables the uart clock on suspend, but also causes a hardware hang on register access if no_console_suspend command line option

Re: [PATCH] mm, debug: mm-introduce-vm_bug_on_mm-fix-fix.patch

2014-10-15 Thread Michal Hocko
On Tue 14-10-14 12:50:27, Dave Jones wrote: > On Tue, Oct 14, 2014 at 01:55:54PM +0200, Michal Hocko wrote: > > > > -#ifdef CONFIG_NUMA_BALANCING > > > -"numa_next_scan %lu numa_scan_offset %lu numa_scan_seq > %d\n" > > > -#endif > > > -#if defined(CONFIG_NUMA_BALANCING) || de

Re: [PATCH] mfd: arizona-spi: Add lines after declarations - checkpatch catch

2014-10-15 Thread Lee Jones
On Wed, 15 Oct 2014, Will Sheppard wrote: > This was found whilst running checkpatch.pl on arizona-spi. > > WARNING: Missing a blank line after declarations > + struct arizona *arizona = spi_get_drvdata(spi); > + arizona_dev_exit(arizona); > > Signed-off-by: Will Sheppard > --- > d

Re: [RFT PATCH] power: bq2415x_charger: Properly handle ENODEV from power_supply_get_by_phandle

2014-10-15 Thread Sebastian Reichel
Hi Krzysztof, On Tue, Oct 14, 2014 at 10:32:53AM +0200, Krzysztof Kozlowski wrote: > The power_supply_get_by_phandle() on error returns ENODEV or NULL. > The driver later expects obtained pointer to power supply to be > valid or NULL. If it is not NULL then it dereferences it in > bq2415x_notifier

Re: [PATCH 5/8] mfd: ab8500: Use power_supply_*() API for accessing function attrs

2014-10-15 Thread Lee Jones
On Tue, 14 Oct 2014, Krzysztof Kozlowski wrote: > Replace direct calls to power supply function attributes with wrappers. > Wrappers provide safe access access in case of unregistering the power > supply (.e.g by removing the driver). Replace: > - get_property -> power_supply_get_property > > Si

Re: [PATCH 2/2] iommu: Implement a dummy bus_set_iommu()

2014-10-15 Thread Thierry Reding
On Mon, Aug 18, 2014 at 06:57:50PM +0200, Joerg Roedel wrote: > On Fri, Aug 01, 2014 at 02:45:13PM +0200, Thierry Reding wrote: > > From: Thierry Reding > > > > This allows IOMMU drivers to compile even if IOMMU_API is not selected > > and helps improve compile coverage. > > IOMMU drivers usuall

Re: [PATCH v2 2/2] hyperv: Implement Time Synchronization using host time sample

2014-10-15 Thread Richard Cochran
You really need to put John Stultz onto CC. Thanks, Richard -- 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 http://www.tux.org

Re: [PATCH 1/2] mm: free compound page with correct order

2014-10-15 Thread Kirill A. Shutemov
On Tue, Oct 14, 2014 at 01:16:39PM -0700, Yu Zhao wrote: > Compound page should be freed by put_page() or free_pages() with > correct order. Not doing so with causing the tail pages leaked. > > The compound order can be obtained by compound_order() or use > HPAGE_PMD_ORDER in our case. Some people

Re: [PATCH 2/2] mm: verify compound order when freeing a page

2014-10-15 Thread Kirill A. Shutemov
On Tue, Oct 14, 2014 at 01:16:40PM -0700, Yu Zhao wrote: > This allows us to easily catch the bug fixed in previous patch. > > Here we also verify whether a page is tail page or not -- tail > pages are supposed to be freed along with their head, not by > themselves. > > Signed-off-by: Yu Zhao >

Re: [PATCH] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-15 Thread Sudip Mukherjee
On Tue, Oct 14, 2014 at 08:55:55PM +, Paul Zimmerman wrote: > > From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > > Sent: Friday, October 10, 2014 6:10 AM > > > > sparse was giving the following warning: > > warning: context imbalance in 's3c_hsotg_ep_enable' > > - different

Re: [PATCH v2 2/2] hyperv: Implement Time Synchronization using host time sample

2014-10-15 Thread Richard Cochran
On Wed, Oct 15, 2014 at 01:40:04AM -0700, Thomas Shao wrote: > In current hyper-v time sync service,it only gets the initial clock time > from the host. It didn't process the following time samples. This change > introduced a module parameter called host_time_sync. If it is set to true, > the guest

RE: [PATCH v2 2/2] hyperv: Implement Time Synchronization using host time sample

2014-10-15 Thread Thomas Shao
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Richard Cochran > Sent: Wednesday, October 15, 2014 5:13 PM > To: Thomas Shao > Cc: t...@linutronix.de; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; d

RE: [PATCHv2 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-15 Thread Chang, Rebecca Swee Fun
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 15 October, 2014 3:13 PM > To: Chang, Rebecca Swee Fun; Denis Turischev > Cc: Westerberg, Mika; GPIO Subsystem Mailing List; Linux Kernel Mailing List > Subject: Re: [PATCHv2 3/3] gpio: sch: Enable IRQ su

RE: [PATCH v2 2/2] hyperv: Implement Time Synchronization using host time sample

2014-10-15 Thread Thomas Shao
> -Original Message- > From: Richard Cochran [mailto:richardcoch...@gmail.com] > Sent: Wednesday, October 15, 2014 5:18 PM > To: Thomas Shao > Cc: t...@linutronix.de; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical

Re: [RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()

2014-10-15 Thread Michael S. Tsirkin
On Wed, Oct 15, 2014 at 03:25:26PM +0800, Jason Wang wrote: > This patch introduces virtio_enable_cb_avail() to publish avail idx > and used event. This could be used by batched buffer submitting to > reduce the number of tx interrupts. > > Cc: Rusty Russell > Cc: Michael S. Tsirkin > Signed-off

ARC backport for stable 3.14

2014-10-15 Thread Vineet Gupta
Hi, Can you please apply the following mainline commits to 3.14 stable (in the order below) c3441edd2dea ARC: [SMP] General Fixes d75386363ee6 ARC: fix mmuv2 warning ef680cdc2437 ARC: Disable caches in early boot if so configured Build/run tested on 3.14 Thx, -Vineet -- To unsubscribe from thi

Re: [RFC PATCH net-next 1/6] virtio: make sure used event never go backwards

2014-10-15 Thread Michael S. Tsirkin
On Wed, Oct 15, 2014 at 03:25:25PM +0800, Jason Wang wrote: > This patch checks the new event idx to make sure used event idx never > goes back. This is used to synchronize the calls between > virtqueue_enable_cb_delayed() and virtqueue_enable_cb(). > > Cc: Rusty Russell > Cc: Michael S. Tsirkin

Re: [RFC PATCH net-next 3/6] virtio-net: small optimization on free_old_xmit_skbs()

2014-10-15 Thread Michael S. Tsirkin
On Wed, Oct 15, 2014 at 03:25:27PM +0800, Jason Wang wrote: > Accumulate the sent packets and sent bytes in local variables and perform a > single u64_stats_update_begin/end() after. > > Cc: Rusty Russell > Cc: Michael S. Tsirkin > Signed-off-by: Jason Wang Not sure how much it's worth but sin

Re: [RFC PATCH net-next 3/6] virtio-net: small optimization on free_old_xmit_skbs()

2014-10-15 Thread Eric Dumazet
On Wed, 2014-10-15 at 15:25 +0800, Jason Wang wrote: > Accumulate the sent packets and sent bytes in local variables and perform a > single u64_stats_update_begin/end() after. > > Cc: Rusty Russell > Cc: Michael S. Tsirkin > Signed-off-by: Jason Wang > --- > drivers/net/virtio_net.c | 12 +++

Re: [RFC PATCH net-next 5/6] virtio-net: enable tx interrupt

2014-10-15 Thread Eric Dumazet
On Wed, 2014-10-15 at 15:25 +0800, Jason Wang wrote: ... > +static int free_old_xmit_skbs(struct send_queue *sq, int budget) > +{ > + struct sk_buff *skb; > + unsigned int len; > + struct virtnet_info *vi = sq->vq->vdev->priv; > + struct virtnet_stats *stats = this_cpu_ptr(vi->sta

Re: [patch 1/3] mm: memcontrol: lockless page counters

2014-10-15 Thread Michal Hocko
On Tue 14-10-14 12:33:54, Johannes Weiner wrote: > On Tue, Oct 14, 2014 at 05:56:47PM +0200, Michal Hocko wrote: [...] > > You have only missed MAINTAINERS... > > Hm, we can add it, but then again scripts/get_maintainer.pl should > already do the right thing. OK, that would work as well. -- Mich

Re: [PATCH 3/4] hda_intel: Add Device IDs for Intel Sunrise Point PCH

2014-10-15 Thread Takashi Iwai
At Mon, 13 Oct 2014 15:22:03 -0700, James Ralston wrote: > > This patch adds the HD Audio Device IDs for the Intel Sunrise Point PCH. > > Signed-off-by: James Ralston Thanks, applied, but put a bit in a better position (right after Wildcat Point LP). Takashi > --- > sound/pci/hda/hda_intel.

Re: [PATCH] regulator: s2mps11: add support for S2MPS15 regulators

2014-10-15 Thread Mark Brown
On Tue, Oct 14, 2014 at 01:55:14PM +0200, Mark Brown wrote: > On Tue, Oct 14, 2014 at 01:47:43PM +0530, Thomas Abraham wrote: > > The S2MPS15 PMIC is similar in functionality to S2MPS11/14 PMIC. It contains > > 27 LDO and 10 Buck regulators and allows programming these regulators via a > > I2C inte

Re: [PATCH v2 2/2] hyperv: Implement Time Synchronization using host time sample

2014-10-15 Thread Richard Cochran
On Wed, Oct 15, 2014 at 09:21:33AM +, Thomas Shao wrote: > > In V2, I address all the Dan's comments. It is customary to detail the changes in each patch series revision, in order to make things easier for the reviewers. Thanks, Richard -- To unsubscribe from this list: send the line "unsubs

RE: [RFC PATCH net-next 3/6] virtio-net: small optimization on free_old_xmit_skbs()

2014-10-15 Thread David Laight
From: Of Michael S. Tsirkin > On Wed, Oct 15, 2014 at 03:25:27PM +0800, Jason Wang wrote: > > Accumulate the sent packets and sent bytes in local variables and perform a > > single u64_stats_update_begin/end() after. > > > > Cc: Rusty Russell > > Cc: Michael S. Tsirkin > > Signed-off-by: Jason Wa

Re: [GIT PULL 00/24] perf/core improvements and fixes

2014-10-15 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit cc6cd47e7395bc05c5077009808b820633eb3f18: > > perf/x86: Tone down kernel messages when the PMU check fails in a virtual > environment (2014-10-03 06:04:41 +

[PATCH] gianfar: disable vlan tag insertion by default on 2.6.x

2014-10-15 Thread Zhu Yanjun
In commit f43c75d4b6[gianfar: disable TX vlan based on kernel 2.6.x], gianfar nic disables TX vlan. But gianfar nic enables vlan tag insertion by default. This will lead to unusable connections on some configurations. Since vlan tag insertion is disabled by default and it is not enabled any long

[PATCH] mm/zbud: init user ops only when it is needed

2014-10-15 Thread Heesub Shin
When zbud is initialized through the zpool wrapper, pool->ops which points to user-defined operations is always set regardless of whether it is specified from the upper layer. This causes zbud_reclaim_page() to iterate its loop for evicting pool pages out without any gain. This patch sets the user

[tip:perf/urgent] perf kvm stat live: Fix perf_evlist__add_pollfd error handling

2014-10-15 Thread tip-bot for Jiri Olsa
Commit-ID: fe636adda6caff6022e61b37202495dbf68e1410 Gitweb: http://git.kernel.org/tip/fe636adda6caff6022e61b37202495dbf68e1410 Author: Jiri Olsa AuthorDate: Wed, 1 Oct 2014 18:00:27 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Oct 2014 09:39:47 -0300 perf kvm stat live:

[PATCH] gianfar: disable vlan tag insertion by default

2014-10-15 Thread Zhu Yanjun
2.6.x kernels require a similar logic change as commit 51b8cbfc [gianfar: fix bug caused by e1653c3e] introduces for newer kernels. Gianfar driver originally enables vlan tag insertion by default. This will lead to unusable connections on some configurations. Since gianfar nic vlan tag insertion

[tip:perf/urgent] perf kvm stat live: Use fdarray object instead of pollfd

2014-10-15 Thread tip-bot for Jiri Olsa
Commit-ID: 1ca72260e471a8b03f03fe9a6547deb088710042 Gitweb: http://git.kernel.org/tip/1ca72260e471a8b03f03fe9a6547deb088710042 Author: Jiri Olsa AuthorDate: Wed, 1 Oct 2014 18:00:29 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Oct 2014 09:39:48 -0300 perf kvm stat live:

[tip:perf/urgent] perf callchain: Move callchain_param to util object in to fix python test

2014-10-15 Thread tip-bot for Jiri Olsa
Commit-ID: 23aadb1fcda27e79a134ec35a7fb68f243269bcb Gitweb: http://git.kernel.org/tip/23aadb1fcda27e79a134ec35a7fb68f243269bcb Author: Jiri Olsa AuthorDate: Wed, 1 Oct 2014 18:00:26 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Oct 2014 09:39:48 -0300 perf callchain: Mov

[tip:perf/urgent] perf kvm stat live: Use perf_evlist__add_pollfd return fd position

2014-10-15 Thread tip-bot for Jiri Olsa
Commit-ID: 0cae013cf4450ea0ecb62241a2f3e7565db09f93 Gitweb: http://git.kernel.org/tip/0cae013cf4450ea0ecb62241a2f3e7565db09f93 Author: Jiri Olsa AuthorDate: Wed, 1 Oct 2014 18:00:28 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Oct 2014 09:39:48 -0300 perf kvm stat live:

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-15 Thread Steffen Trumtrar
Hi! On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote: > The FPGA bridge driver that I submitted last year handled the following > things: > * The bridges might have been brought out of reset in the bootloader. Some >of the bridges have write-only registers (!) so this information had to

[tip:perf/urgent] perf script: Stop updating hists stats, not used

2014-10-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 49c23f2d541ebf7ae5e9fff03301f4e7145cc979 Gitweb: http://git.kernel.org/tip/49c23f2d541ebf7ae5e9fff03301f4e7145cc979 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 9 Oct 2014 11:45:42 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 9 Oct 2014 11:46:41 -0300 perf

[tip:perf/urgent] perf tools: Move events_stats struct to event.h

2014-10-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4318bcb70ecc567dd0414d87fcd7e926ce956aab Gitweb: http://git.kernel.org/tip/4318bcb70ecc567dd0414d87fcd7e926ce956aab Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 10 Oct 2014 15:46:05 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 10 Oct 2014 15:53:07 -0300 pe

[tip:perf/urgent] perf sched: Stop updating hists stats, not used

2014-10-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b3f25b6e04495ace0851cf0b88514f41c7807af6 Gitweb: http://git.kernel.org/tip/b3f25b6e04495ace0851cf0b88514f41c7807af6 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 9 Oct 2014 11:40:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 9 Oct 2014 11:46:35 -0300 perf

[tip:perf/urgent] perf evsel: Add hists helper

2014-10-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4ea062ed431d00153af0ac370cb6fef0620e5fa1 Gitweb: http://git.kernel.org/tip/4ea062ed431d00153af0ac370cb6fef0620e5fa1 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 9 Oct 2014 13:13:41 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 9 Oct 2014 13:13:41 -0300 perf

[tip:perf/urgent] perf session: Remove last reference to hists struct

2014-10-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2a1731fb85ec96a1f6a326fb2d52cd93494dafa2 Gitweb: http://git.kernel.org/tip/2a1731fb85ec96a1f6a326fb2d52cd93494dafa2 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 10 Oct 2014 15:49:21 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 14 Oct 2014 11:41:25 -0300 pe

[tip:perf/urgent] perf ui browsers: Add missing include

2014-10-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 95e8d97e9b78040285defe482e1edf8b6341a4c1 Gitweb: http://git.kernel.org/tip/95e8d97e9b78040285defe482e1edf8b6341a4c1 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 10 Oct 2014 15:39:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 10 Oct 2014 15:53:42 -0300 pe

  1   2   3   4   5   6   7   >