Re: [PATCH workqueue wq/for-3.19-fixes] workqueue: fix subtle pool management issue which can stall whole worker_pool

2015-01-18 Thread Lai Jiangshan
On 01/17/2015 03:32 AM, Tejun Heo wrote: From 29187a9eeaf362d8422e62e17a22a6e115277a49 Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Fri, 16 Jan 2015 14:21:16 -0500 A worker_pool's forward progress is guaranteed by the fact that the last idle worker assumes the manager role

Re: [Patch RESEND] x86: don't rely on VMWare emulating PAT MSR correctly

2015-01-18 Thread Juergen Gross
PING! The patch repairs a bug with VMWARE, which has been reported by several users. All of them have confirmed the patch is working. And VMWARE has acked the patch. What else do you need to take it? It is available for over a month now! Juergen On 01/12/2015 06:15 AM, Juergen Gross wrote:

Re: query on DWC3

2015-01-18 Thread sundeep subbaraya
Hi Felipe, On Thu, Jan 8, 2015 at 10:27 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Tue, Jan 06, 2015 at 12:39:55PM +0530, sundeep subbaraya wrote: On Sun, Dec 14, 2014 at 08:39:18AM +0530, sundeep subbaraya wrote: Hi Paul, As per my understanding, for BULK OUT we do queue a request

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

2015-01-18 Thread Stephen Rothwell
Hi Andrew, On Mon, 19 Jan 2015 18:28:53 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/filemap_xip.c:304:2: error: unknown field 'remap_pages' specified in initializer

[PATCH 1/1] usb: serial: Fintek F81232 driver improvement

2015-01-18 Thread Peter Hung
The original driver completed with TX function, but RX/MSR/MCR/LSR is not workable with this driver. So we rewrite it to make this device workable. This patch is tested with PassMark BurnInTest with Cycle-to-115200 + MCR/MSR check for 15mins checked with Suspend-To-RAM/DISK Signed-off-by: Peter

Re: [PATCH 06/10] mfd: rtsx: update phy register

2015-01-18 Thread 敬锐
On 01/18/2015 08:29 PM, Lee Jones wrote: On Thu, 15 Jan 2015, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn update phy register value and using direct value instead of macros. It is much easier to debug using constant value than a lot of macros. We usually

Re: perf fuzzer crash [PATCH] perf: Get group events reference before moving the group

2015-01-18 Thread Vince Weaver
On Fri, 16 Jan 2015, Vince Weaver wrote: I just wanted to report that I've tested both this patch and Jiri's original one and they both keep my easy-to-trigger-testcase from crashing my core2 machine (when applied against 3.18). I've continued fuzzing all weekend, with PeterZ's patch

Re: [PATCH v3 0/5] Perf tool fixes for ARC + uClibc

2015-01-18 Thread Vineet Gupta
Hi Arnaldo, On Wednesday 14 January 2015 07:29 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Jan 14, 2015 at 01:00:00PM +0100, Jiri Olsa escreveu: On Tue, Jan 13, 2015 at 07:13:19PM +0530, Vineet Gupta wrote: Hi, This series based off linux-next of 20150105 allows us to build/use perf

[PATCH 4/5] sched/rt: Consider deadline tasks in cpupri_find()

2015-01-18 Thread Xunlei Pang
Currently, RT global scheduling doesn't factor deadline tasks, this may cause some problems. See a case below: On a 3 CPU system, CPU0 has one running deadline task, CPU1 has one running low priority RT task or idle, CPU3 has one running high priority RT task. When another mid priority RT task is

[Bugfix 0/3] Fix regressions in Xen IRQ management

2015-01-18 Thread Jiang Liu
Hi all, Sander reports an Xen pci-passthrough regression caused by commit cffe0a2b5a34c95a4dadc9ec7132690a5b0f6687 (x86, irq: Keep balance of IOAPIC pin reference count). This patch set tries to fix it. Patch 1 is a fix for another issue found during fixing the regression. Patch 2 is a

[PATCH 2/5] sched/deadline: Remove cpu_active_mask from cpudl_find()

2015-01-18 Thread Xunlei Pang
cpu_active_mask is rarely changeable, so remove this operation to gain a little performance. If there is a change in cpu_active_mask, rq_online_dl() and rq_offline_dl() should take care of it normally, so cpudl:: free_cpus carries enough information for us. For the rare case(causing a task put

[PATCH 3/5] sched/deadline: Fix wrong cpudl_find() in check_preempt_equal_dl()

2015-01-18 Thread Xunlei Pang
In check_preempt_equal_dl(), cpudl_find() is called with a NULL later_mask, thus cpudl_find() here doesn't check cpudl::free_cpus at all. This patch takles this issue by always passing a non-NULL later_mask to cpudl_find(), thereby fixing this issue. Signed-off-by: Xunlei Pang

[Bugfix 2/3] xen/irq: Override ACPI IRQ management callback __acpi_unregister_gsi

2015-01-18 Thread Jiang Liu
Xen overrides __acpi_register_gsi and leaves __acpi_unregister_gsi as is. That means, an IRQ allocated by acpi_register_gsi_xen_hvm() or acpi_register_gsi_xen() will be freed by acpi_unregister_gsi_ioapic(), which may cause undesired effects. So override __acpi_unregister_gsi to NULL for safety.

[Bugfix 3/3] x86/PCI: Refine the way to release PCI IRQ resources

2015-01-18 Thread Jiang Liu
Some PCI device drivers assume that pci_dev-irq won't change after calling pci_disable_device() and pci_enable_device() during suspend and resume. Commit c03b3b0738a56cf283b0d05256988d5e3c8bd719 (x86, irq, mpparse: Release IOAPIC pin when PCI device is disabled) frees PCI IRQ resources when

Re: [PATCH] n_tty: Remove LINEMODE support

2015-01-18 Thread Theodore Ts'o
Line mode goes back to BSD 4.x days, and it's useful over high latency links --- i.e., the sort of thing that you get with stone age cellular data networks (i.e., the sort of thing that we still have the US), amateur packet radio links, etc. So it's certianly a nice to have, if someone is willing

[Bugfix 1/3] xen/irq, ACPI: Fix regression in xen PCI passthrough caused by cffe0a2b5a34

2015-01-18 Thread Jiang Liu
Xen pciback driver assumes that pci_dev-irq won't change after calling pci_disable_device(). But commit cffe0a2b5a34c95a4dadc9ec7132690a5b0f6687 (x86, irq: Keep balance of IOAPIC pin reference count) frees irq resources and resets pci_dev-irq to zero when pci_disable_device() is called. So this

[PATCH] idle/tick-broadcast: Exit cpu idle poll loop when cleared from tick_broadcast_force_mask

2015-01-18 Thread Preeti U Murthy
An idle cpu enters cpu_idle_poll() if it is set in the tick_broadcast_force_mask. This is so that it does not incur the overhead of entering idle states when it is expected to be woken up anytime then through a broadcast IPI. The condition that forces an exit out of the idle polling is the

[PATCH net-next 3/7] r8152: check linking status with netif_carrier_ok

2015-01-18 Thread Hayes Wang
Replace (tp-speed LINK_STATUS) with netif_carrier_ok(). Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index

[PATCH net-next 5/7] r8152: adjust the link feed for hw_features

2015-01-18 Thread Hayes Wang
Keep NETIF_F_HW_VLAN_CTAG_RX and NETIF_F_HW_VLAN_CTAG_TX at the same line. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 9be642e..f66ffbd

linux-next: build failure after merge of the akpm-current tree

2015-01-18 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/filemap_xip.c:304:2: error: unknown field 'remap_pages' specified in initializer .remap_pages = generic_file_remap_pages, ^ mm/filemap_xip.c:304:17: error:

Re: [PATCH 06/10] mfd: rtsx: update phy register

2015-01-18 Thread Lee Jones
On Mon, 19 Jan 2015, 敬锐 wrote: On 01/18/2015 08:29 PM, Lee Jones wrote: On Thu, 15 Jan 2015, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn update phy register value and using direct value instead of macros. It is much easier to debug using constant

Re: [PATCH 1/1] arch/x86/kvm/vmx.c: Fix external interrupts inject directly bug with guestos RFLAGS.IF=0

2015-01-18 Thread Li Kaihang
From: Radim Krčmář rkrc...@redhat.com To: Li Kaihang li.kaih...@zte.com.cn, Cc: g...@kernel.org, pbonz...@redhat.com, t...@linutronix.de, mi...@redhat.com, h...@zytor.com, x...@kernel.org, k...@vger.kernel.org, linux-kernel@vger.kernel.org Date: 2015-01-17 上午 02:36 Subject:

linux-next: build warning after merge of the akpm-current tree

2015-01-18 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) produced this warning: fs/eventfd.c: In function 'eventfd_poll': fs/eventfd.c:121:16: warning: unused variable 'flags' [-Wunused-variable] unsigned long flags; ^ Introduced by commit

Re: [PATCH 08/10] mfd: rtsx: add support for rts524A

2015-01-18 Thread 敬锐
On 01/18/2015 08:20 PM, Lee Jones wrote: +static int rts524a_optimize_phy(struct rtsx_pcr *pcr) +{ + int err; + + err = rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, + D3_DELINK_MODE_EN, 0x00); + if (err 0) + return err; if (err) err value will never be

Re: [PATCH 10/28] PCI: Save sysdata in pci_host_bridge drvdata

2015-01-18 Thread Yijing Wang
On 2015/1/16 17:18, Arnd Bergmann wrote: On Friday 16 January 2015 09:44:08 Yijing Wang wrote: @@ -2066,11 +2064,11 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, u32 db, { struct pci_host_bridge *host; - host = pci_create_host_bridge(parent, db, resources);

Re: [Bugfix v4 1/2] xen/pci: Fix xen IRQ allocation failure caused by commit b81975eade8c

2015-01-18 Thread Jiang Liu
On 2015/1/17 2:13, Konrad Rzeszutek Wilk wrote: On Thu, Jan 15, 2015 at 09:04:35PM +0800, Jiang Liu wrote: snit Note: we need to test this patch on those special AMD systems which override normal SCI GSI (9) with strange GSI (20). [0.00] DMI: Supermicro X8DTN/X8DTN, BIOS 2.1c

[PATCH 5/5] sched/rt: Optimize find_lowest_rq() to select a cache hot cpu

2015-01-18 Thread Xunlei Pang
In find_lowest_rq(), if we can't find a wake_affine cpu from sched_domain, then we can actually determine a cache hot cpu instead of simply calling cpumask_any(lowest_mask) which always returns the first cpu in the mask. So, we can determine the cache hot cpu during the interation of

[PATCH 1/5] sched/deadline: Modify cpudl::free_cpus to reflect rd-online

2015-01-18 Thread Xunlei Pang
Currently, cpudl::free_cpus contains all cpus during init, see cpudl_init(). When calling cpudl_find(), we have to add rd-span to avoid selecting the cpu outside current root domain, because cpus_allowed is undependable when performing clustered scheduling using the cpuset, see find_later_rq().

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-18 Thread Alexandre Courbot
On Wed, Jan 14, 2015 at 9:58 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device

does the semantics of MAP_LOCKED is equal to mlock() function?

2015-01-18 Thread long.wanglong
Hi all: In the latest kernel, i set the memory limit (4096) in a test cgroup. and add the test task. the test code code is: testcase 1: mmap with MAP_LOCKED flag(memsize = 8192) 185 p = mmap(NULL, memsize, PROT_WRITE | PROT_READ, 186 MAP_PRIVATE |

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-18 Thread Minchan Kim
Hello, On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: From: Hui Zhu zhu...@xiaomi.com The original of this patch [1] is part of Joonsoo's CMA patch series. I made a patch [2] to fix the issue of this patch. Joonsoo reminded me that this issue affect current kernel too. So made a

[PATCH net-next 6/7] r8152: replace get_protocol with vlan_get_protocol

2015-01-18 Thread Hayes Wang
vlan_get_protocol() has been defined and use it to replace get_protocol(). Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index

[PATCH net-next 7/7] r8152: use BIT macro

2015-01-18 Thread Hayes Wang
Use BIT macro to replace (1 bits). Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 46440ed..c3a0224 100644

[PATCH net-next 1/7] r8152: adjust rx_bottom

2015-01-18 Thread Hayes Wang
If a error occurs when submitting rx, skip the remaining submissions and try to submit them again next time. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c

Re: [PATCH 09/10] mfd: rtsx: add support for rts525A

2015-01-18 Thread Lee Jones
On Mon, 19 Jan 2015, 敬锐 wrote: On 01/18/2015 07:13 PM, Lee Jones wrote: @@ -97,7 +97,7 @@ static void rts5249_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 3, 0x01, 0); if (pm_state == HOST_ENTER_S3) { -

Re: [PATCH 08/10] mfd: rtsx: add support for rts524A

2015-01-18 Thread Lee Jones
On Mon, 19 Jan 2015, 敬锐 wrote: On 01/18/2015 08:20 PM, Lee Jones wrote: +static int rts524a_optimize_phy(struct rtsx_pcr *pcr) +{ + int err; + + err = rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, + D3_DELINK_MODE_EN, 0x00); + if (err 0) + return err; if

Re: [PATCH v4 0/4] power: Add max77693 charger driver

2015-01-18 Thread Krzysztof Kozlowski
On nie, 2015-01-18 at 18:00 +, Lee Jones wrote: Tell us what you need? Hi Lee, All I need is... acks or applying of patchset by Sebastian. Sebastian acked main patch (3/4) but then I changed it [1]. You already acked the MFD change (patch 2/4: mfd: max77693: Add defines for MAX77693

[PATCH v2 4/5] xhci: Platform: Set Synopsis device disconnection quirk based on platform data

2015-01-18 Thread Sneeker Yeh
If an xhci platform has Synopsis device disconnection errata then enable XHCI_DISCONNECT_QUIRK quirk flag. Signed-off-by: Sneeker Yeh sneeker@tw.fujitsu.com --- drivers/usb/host/xhci-plat.c |3 +++ include/linux/usb/xhci_pdriver.h |4 2 files changed, 7 insertions(+) diff

[PATCH v2 5/5] xhci: add a quirk for device disconnection errata for Synopsis Designware USB3 core

2015-01-18 Thread Sneeker Yeh
This issue is defined by a three-way race at disconnect, between 1) Class driver interrupt endpoint resheduling attempts if the ISR gave an ep error event due to device detach (it would try 3 times) 2) Disconnect interrupt on PORTSC_CSC, which is cleared by hub thread asynchronously 3) The

[PATCH v2 2/5] usb: dwc3: add revision number DWC3_REVISION_300A

2015-01-18 Thread Sneeker Yeh
Add the contstant for v3.00a dwc3 IP detection Signed-off-by: Sneeker Yeh sneeker@tw.fujitsu.com --- drivers/usb/dwc3/core.h |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 4bb9aa6..8090249 100644 --- a/drivers/usb/dwc3/core.h

[PATCH v2 3/5] usb: dwc3: Add quirk for Synopsis device disconnection errata

2015-01-18 Thread Sneeker Yeh
Synopsis Designware USB3 IP earlier than v3.00a which is configured in silicon with DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1, would need a specific quirk to prevent xhci host controller from dying when device is disconnected. Since DWC_USB3_SUSPEND_ON_DISCONNECT_EN is an IP configuration whose state

[PATCH v2 0/5] Add support for Fujitsu USB host controller

2015-01-18 Thread Sneeker Yeh
These patches add support for XHCI compliant Host controller found on Fujitsu Socs, and are based on http://lwn.net/Articles/629162/ The first patch is to add Fujitsu glue layer of Synopsis DesignWare USB3 driver and last four patch is about quirk implementation of errata in Synopsis DesignWare

Re: [PATCH v7] Staging: comedi: patch to fix line over 80 characters warning

2015-01-18 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Sun, Jan 18, 2015 at 07:47:50PM +0530, jitendra kumar khasdev wrote: Will you give reason for not apply my patch on your tree. I have tested by appling on linux main tree. Probably because

Re: [PATCH] mm/page_alloc: Fix race conditions on getting migratetype in buffered_rmqueue

2015-01-18 Thread Hui Zhu
On Sun, Jan 18, 2015 at 6:19 PM, Vlastimil Babka vba...@suse.cz wrote: On 18.1.2015 10:17, Hui Zhu wrote: From: Hui Zhu zhu...@xiaomi.com To test the patch [1], I use KGTP and a script [2] to show NR_FREE_CMA_PAGES and gross of cma_nr_free. The values are always not same. I check the code

[PATCH 2/2] staging: android: ion: Add pss info for each ion_client

2015-01-18 Thread Feng Tang
In real ION buffer usage, many of the ion buffer are shared by several clients(imported and exported), and current ion debugfs only provides size of all buffers a client may use. This patch will considers the sharing and adds a pss info for each ion_client, which will help on profiling the ion

Re: [PATCH 01/28] PCI: Rip out pci_bus_add_devices() from pci_scan_bus()

2015-01-18 Thread Yijing Wang
On 2015/1/17 7:16, Yinghai Lu wrote: On Fri, Jan 16, 2015 at 3:15 PM, Yinghai Lu ying...@kernel.org wrote: On Thu, Jan 15, 2015 at 5:43 PM, Yijing Wang wangyij...@huawei.com wrote: Pci_bus_add_devices() should not be placed in pci_scan_bus(). Now pci device will be added to driver core once

Re: [PATCH 2/2] staging: android: ion: Add pss info for each ion_client

2015-01-18 Thread Greg KH
On Mon, Jan 19, 2015 at 10:00:25AM +0800, Feng Tang wrote: In real ION buffer usage, many of the ion buffer are shared by several clients(imported and exported), and current ion debugfs only provides size of all buffers a client may use. This patch will considers the sharing and adds a pss

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

2015-01-18 Thread Marcel Holtmann
Hi Stephen, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from net/bridge/br.c:22:0: include/net/switchdev.h:73:1: error: expected identifier or '(' before '{' token { ^ include/net/switchdev.h:71:19: warning:

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-18 Thread Alexandre Courbot
On Wed, Jan 14, 2015 at 10:20 PM, Olliver Schinagl oli...@schinagl.nl wrote: On 14-01-15 13:45, Linus Walleij wrote: On Thu, Jan 8, 2015 at 11:12 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Thu, Jan 08, 2015 at 08:40:20AM -0600, Rob Herring wrote: On Thu, Jan 8, 2015 at 2:45

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-18 Thread Alexandre Courbot
On Mon, Jan 19, 2015 at 12:43 PM, Alexandre Courbot gnu...@gmail.com wrote: On Wed, Jan 14, 2015 at 10:20 PM, Olliver Schinagl oli...@schinagl.nl wrote: On 14-01-15 13:45, Linus Walleij wrote: On Thu, Jan 8, 2015 at 11:12 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Thu, Jan 08,

lainan hitaammin

2015-01-18 Thread Skipton Financial Services
hyvää päivää Nämä ovat Skipton Financial Services, tänään tarjoamme lainoja korolla 3%, meidän tyyppinen laina ovat: - yritysten lainoja,sisäisiä lainoja yksityishenkilöille lainat ja perhe lainoja. Jos olet kiinnostunut meidän Laina tarjous Täytä alla oleva lomake. Lainanottajien

Re: [PATCH] ARM: mach-davinci: Remove driver CDCE949

2015-01-18 Thread Sekhar Nori
Hi, On Monday 19 January 2015 05:07 AM, Rickard Strandqvist wrote: Remove driver CDCE949 because it is not used anywhere. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c

[PATCH v4 4/5] mm/compaction: more trace to understand when/why compaction start/finish

2015-01-18 Thread Joonsoo Kim
It is not well analyzed that when/why compaction start/finish or not. With these new tracepoints, we can know much more about start/finish reason of compaction. I can find following bug with these tracepoint. http://www.spinics.net/lists/linux-mm/msg81582.html Change from v2: omit alloc_flag,

Re: Query: ARM64: Behavior of el1_dbg exception while executing el0_dbg

2015-01-18 Thread Pratyush Anand
On Friday 16 January 2015 09:52 PM, Will Deacon wrote: On Fri, Jan 16, 2015 at 12:00:09PM +, Pratyush Anand wrote: On Thursday 15 January 2015 10:17 PM, Pratyush Anand wrote: On Tuesday 13 January 2015 11:23 PM, Pratyush Anand wrote: I will still try to find some way to capture

[PATCH v4 1/5] mm/compaction: change tracepoint format from decimal to hexadecimal

2015-01-18 Thread Joonsoo Kim
To check the range that compaction is working, tracepoint print start/end pfn of zone and start pfn of both scanner with decimal format. Since we manage all pages in order of 2 and it is well represented by hexadecimal, this patch change the tracepoint format from decimal to hexadecimal. This

[PATCH v4 5/5] mm/compaction: add tracepoint to observe behaviour of compaction defer

2015-01-18 Thread Joonsoo Kim
compaction deferring logic is heavy hammer that block the way to the compaction. It doesn't consider overall system state, so it could prevent user from doing compaction falsely. In other words, even if system has enough range of memory to compact, compaction would be skipped due to compaction

[PATCH v4 2/5] mm/compaction: enhance tracepoint output for compaction begin/end

2015-01-18 Thread Joonsoo Kim
We now have tracepoint for begin event of compaction and it prints start position of both scanners, but, tracepoint for end event of compaction doesn't print finish position of both scanners. It'd be also useful to know finish position of both scanners so this patch add it. It will help to find

[PATCH v4 3/5] mm/compaction: print current range where compaction work

2015-01-18 Thread Joonsoo Kim
It'd be useful to know current range where compaction work for detailed analysis. With it, we can know pageblock where we actually scan and isolate, and, how much pages we try in that pageblock and can guess why it doesn't become freepage with pageblock order roughly. Acked-by: Vlastimil Babka

[PATCH net-next 0/7] r8152: adjust the code

2015-01-18 Thread Hayes Wang
Code adjustment. Hayes Wang (7): r8152: adjust rx_bottom r8152: adjust lpm timer r8152: check linking status with netif_carrier_ok r8152: check RTL8152_UNPLUG for rtl8152_close r8152: adjust the link feed for hw_features r8152: replace get_protocol with vlan_get_protocol r8152: use

[PATCH net-next 4/7] r8152: check RTL8152_UNPLUG for rtl8152_close

2015-01-18 Thread Hayes Wang
It is unnecessary to accress the hw register if the device is unplugged. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 21f853f..9be642e 100644

[PATCH net-next 2/7] r8152: adjust lpm timer

2015-01-18 Thread Hayes Wang
Set LPM timer to 500us, except for RTL_VER_04 which doesn't link at USB 3.0. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index

RE: [PATCH v18 00/12] input: cyapa: instruction of cyapa patches

2015-01-18 Thread Dudley Du
Jeremiah, Thanks. If there is something that I could do, please let me know. Thanks, Dudley -Original Message- From: Jeremiah Mahler [mailto:jmmah...@gmail.com] Sent: 2015?1?18? 6:46 To: David Solda Cc: Dudley Du; dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com;

Re: [PATCH 08/10] mfd: rtsx: add support for rts524A

2015-01-18 Thread 敬锐
On 01/18/2015 08:20 PM, Lee Jones wrote: @@ -72,8 +72,10 @@ static void rts5249_fetch_vendor_settings(struct rtsx_pcr *pcr) rtsx_pci_read_config_dword(pcr, PCR_SETTING_REG1, reg); dev_dbg((pcr-pci-dev), Cfg 0x%x: 0x%x\n, PCR_SETTING_REG1, reg); - if

linux-next: build failure after merge of the net-next tree

2015-01-18 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from net/bridge/br.c:22:0: include/net/switchdev.h:73:1: error: expected identifier or '(' before '{' token { ^ include/net/switchdev.h:71:19: warning:

Re: [PATCH 08/10] mfd: rtsx: add support for rts524A

2015-01-18 Thread 敬锐
On 01/18/2015 08:20 PM, Lee Jones wrote: +}; + +void rts524a_init_params(struct rtsx_pcr *pcr) +{ + rts5249_init_params(pcr); + + pcr-ops = rts524a_pcr_ops; +} I see a couple of these now. Why don't you make 'ops' a parameter of *_init_params(). *_init_params() is called from

Re: [tip:core/types] bitops: Add sign_extend8(), 16 and 64 functions

2015-01-18 Thread Linus Torvalds
On Mon, Jan 19, 2015 at 7:54 AM, Linus Torvalds torva...@linux-foundation.org wrote: The 8- and 16- bit versions are the same as the 32-bit one. Side note: the 64-bit one is actually different on 32-bit architectures, not because it would generate a different value, but because the 64-bit

Re: [Patch V2 0/4] xen: auto-generate symbols for xen hypercalls

2015-01-18 Thread Juergen Gross
Hi, anything missing to take these patches? Juergen On 12/17/2014 10:50 AM, Juergen Gross wrote: The Xen hypercalls are defined in include/xen/interface/xen.h. There are some places where for each hypercall a table element is created. Instead of manually add each hypercall element to these

Re: [PATCH 01/28] PCI: Rip out pci_bus_add_devices() from pci_scan_bus()

2015-01-18 Thread Greg Ungerer
On 19/01/15 12:04, Yijing Wang wrote: On 2015/1/17 7:16, Yinghai Lu wrote: On Fri, Jan 16, 2015 at 3:15 PM, Yinghai Lu ying...@kernel.org wrote: On Thu, Jan 15, 2015 at 5:43 PM, Yijing Wang wangyij...@huawei.com wrote: Pci_bus_add_devices() should not be placed in pci_scan_bus(). Now pci

[PATCH] crypto: aesni: add setkey for driver-gcm-aes-aesni

2015-01-18 Thread Stephan Mueller
The cipher registered as __driver-gcm-aes-aesni is never intended to be used directly by any caller. Instead it is a service mechanism to rfc4106-gcm-aesni. The kernel crypto API unconditionally calls the registered setkey function. In case a caller erroneously uses __driver-gcm-aes-aesni a call

[PATCH] crypto: Documentation: remove colons in comments

2015-01-18 Thread Stephan Mueller
As documented in Documentation/kernel-doc-nano-HOWTO.txt lines terminated with a colon are treated as headings. The current layout of the documentation when compiling the kernel crypto API DocBook documentation is messed up by by treating some lines as headings. The patch removes colons from

Re: [PATCH] crypto: aesni: add setkey for driver-gcm-aes-aesni

2015-01-18 Thread Stephan Mueller
Am Sonntag, 18. Januar 2015, 23:56:03 schrieb Stephan Mueller: Hi Tadeusz, The cipher registered as __driver-gcm-aes-aesni is never intended to be used directly by any caller. Instead it is a service mechanism to rfc4106-gcm-aesni. The kernel crypto API unconditionally calls the registered

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info-syscall

2015-01-18 Thread Roman Peniaev
On Sat, Jan 17, 2015 at 8:54 AM, Kees Cook keesc...@chromium.org wrote: On Fri, Jan 16, 2015 at 11:57 AM, Kees Cook keesc...@chromium.org wrote: On Fri, Jan 16, 2015 at 8:17 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Jan 17, 2015 at 01:08:11AM +0900, Roman Peniaev

Re: mmotm 2015-01-16-15-50 uploaded

2015-01-18 Thread Joonsoo Kim
On Fri, Jan 16, 2015 at 10:40:23PM -0800, Guenter Roeck wrote: On Fri, Jan 16, 2015 at 03:50:38PM -0800, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2015-01-16-15-50 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for

Re: [PATCH 1/2] staging: andriod: ion: Add ion_phys_get_by_id function

2015-01-18 Thread Greg KH
On Mon, Jan 19, 2015 at 01:14:49AM +, Tang, Feng wrote: Hi Greg, Thanks for your review. -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Sunday, January 18, 2015 8:04 AM To: Tang, Feng Cc: One Thousand Gnomes; John Stultz; Colin Cross; Heesub

RE: [PATCH v18 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2015-01-18 Thread Dudley Du
-Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 2015?1?18? 16:27 To: Dudley Du Cc: jmmah...@gmail.com; rydb...@euromail.se; ble...@google.com; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v18 01/12] input: cyapa:

Re: [PATCH 09/10] mfd: rtsx: add support for rts525A

2015-01-18 Thread 敬锐
On 01/18/2015 07:13 PM, Lee Jones wrote: @@ -97,7 +97,7 @@ static void rts5249_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) rtsx_pci_write_register(pcr, AUTOLOAD_CFG_BASE + 3, 0x01, 0); if (pm_state == HOST_ENTER_S3) { - if (PCI_PID(pcr) == 0x524A) +

Re: [PATCH 18/28] PCI/sparc: Use pci_scan_root_bridge() for simplicity

2015-01-18 Thread Yijing Wang
On 2015/1/16 18:01, Arnd Bergmann wrote: On Friday 16 January 2015 09:44:16 Yijing Wang wrote: +static void pci_host_bridge_probe_mode( + struct pci_host_bridge *host) +{ + host-of_scan = true; +} I probably missed something here, but where does host-of_scan get

Re: [PATCH 27/28] PCI: Remove platform specific pci_domain_nr()

2015-01-18 Thread Yijing Wang
On 2015/1/16 17:44, Arnd Bergmann wrote: On Friday 16 January 2015 09:44:25 Yijing Wang wrote: +int pci_domain_nr(struct pci_bus *bus) +{ + struct pci_host_bridge *host = find_pci_host_bridge(bus); + + return host-domain; +} +EXPORT_SYMBOL_GPL(pci_domain_nr); + Since most

Re: [PATCH v4 2/5] ARM:sunxi:drivers:input Add support for A10/A20 PS2

2015-01-18 Thread Vishnu Patekar
Hello Dmitry, Thank you for review comments. Please see in-lined. On Sun, Jan 18, 2015 at 3:55 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Vishnu, On Fri, Jan 16, 2015 at 07:33:38PM +0530, Vishnu Patekar wrote: Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com ---

[PATCH v3 2/2] mm: don't use compound_head() in virt_to_head_page()

2015-01-18 Thread Joonsoo Kim
compound_head() is implemented with assumption that there would be race condition when checking tail flag. This assumption is only true when we try to access arbitrary positioned struct page. The situation that virt_to_head_page() is called is different case. We call virt_to_head_page() only in

[PATCH v3 1/2] mm/slub: optimize alloc/free fastpath by removing preemption on/off

2015-01-18 Thread Joonsoo Kim
We had to insert a preempt enable/disable in the fastpath a while ago in order to guarantee that tid and kmem_cache_cpu are retrieved on the same cpu. It is the problem only for CONFIG_PREEMPT in which scheduler can move the process to other cpu during retrieving data. Now, I reach the solution

linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-18 Thread Stephen Rothwell
Hi Andy, Today's linux-next merge of the luto-misc tree got a conflict in arch/x86/kernel/cpu/mcheck/mce.c between commit 83737691e586 (x86, mce: Fix sparse errors) from the tip tree and commit d4812e169de4 (x86, mce: Get rid of TIF_MCE_NOTIFY and associated mce tricks) from the luto-misc tree.

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-18 Thread Hui Zhu
On Mon, Jan 19, 2015 at 2:55 PM, Minchan Kim minc...@kernel.org wrote: Hello, On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: From: Hui Zhu zhu...@xiaomi.com The original of this patch [1] is part of Joonsoo's CMA patch series. I made a patch [2] to fix the issue of this patch.

Re: [PATCH 08/10] mfd: rtsx: add support for rts524A

2015-01-18 Thread Lee Jones
On Mon, 19 Jan 2015, 敬锐 wrote: On 01/18/2015 08:20 PM, Lee Jones wrote: +}; + +void rts524a_init_params(struct rtsx_pcr *pcr) +{ + rts5249_init_params(pcr); + + pcr-ops = rts524a_pcr_ops; +} I see a couple of these now. Why don't you make 'ops' a parameter of

Re: [PATCH 01/10] mfd: rtsx: replace TAB by SPC after #define

2015-01-18 Thread Lee Jones
On Mon, 19 Jan 2015, 敬锐 wrote: On 01/18/2015 08:39 PM, Lee Jones wrote: On Thu, 15 Jan 2015, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn Re-format coding-style, using uniform SPC after #define keyword instead of mixing using TAB and SPC. Tabs

RE: [PATCH v18 04/12] input: cyapa: add runtime power management interfaces support for the device

2015-01-18 Thread Dudley Du
-Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 2015?1?18? 16:32 To: Dudley Du Cc: jmmah...@gmail.com; rydb...@euromail.se; ble...@google.com; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v18 04/12] input: cyapa:

RE: [PATCH v18 12/12] input: cyapa: add acpi device id support

2015-01-18 Thread Dudley Du
-Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 2015?1?18? 16:28 To: Dudley Du Cc: jmmah...@gmail.com; rydb...@euromail.se; ble...@google.com; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v18 12/12] input: cyapa:

[PATCH] toshiba_acpi: Add a check for TOS_NOT_SUPPORTED in the sci_open function

2015-01-18 Thread Azael Avalos
This was toshiba_acpi: Change sci_open function return value Some Toshiba laptops have poorly implemented SCI calls on their BIOSes and are not checking for sci_{open, close} calls, therefore, the sci_open function is failing and making some of the supported features unavailable (kbd backlight,

Re: [PATCH 08/28] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-01-18 Thread Yijing Wang
I'm confused: the same code is already part of the PCI tree, but with Lorenzo Pieralisi listed as the patch author. The code is good, and I acked it in the past, but one of you is (probably by accident) misattributing the patch. Assuming that the patch that is already merged in next is the

Re: [PATCH v1 2/4] gpio: add parameter to allow the use named gpios

2015-01-18 Thread Alexandre Courbot
On Wed, Jan 7, 2015 at 6:08 PM, Olliver Schinagl oliver+l...@schinagl.nl wrote: From: Olliver Schinagl oli...@schinagl.nl The gpio binding document says that new code should always use named gpios. Patch 40b73183 added support to parse a list of gpios from child nodes, but does not make it

Re: [PATCH v2] thermal: rockchip: make temperature reporting much more accurate

2015-01-18 Thread Daniel Kurtz
Hi Caesar, Some drive-by review comments inline... On Mon, Jan 19, 2015 at 7:55 AM, Caesar Wang w...@rock-chips.com wrote: In general, the kernel should report temperature readings exactly as reported by the hardware. The cpu / gpu thermal driver works in 5 degree increments,but we ought to

Re: [Bugfix v4 1/2] xen/pci: Fix xen IRQ allocation failure caused by commit b81975eade8c

2015-01-18 Thread Jiang Liu
On 2015/1/17 2:13, Konrad Rzeszutek Wilk wrote: On Thu, Jan 15, 2015 at 09:04:35PM +0800, Jiang Liu wrote: snit Note: we need to test this patch on those special AMD systems which override normal SCI GSI (9) with strange GSI (20). [0.00] DMI: Supermicro X8DTN/X8DTN, BIOS 2.1c

PE,PS/how to take more profits

2015-01-18 Thread FEEDBACK
Hi Sir, Update price for PE If you have any interest or questions, please reply me please just connect me. HDPE,LDPE,PP,PVC,GPPS and so on. Free sample can be provided if you want. Waiting for your reply. Have a nice day! Ada - Export Department SHANDONG XINYUAN

Re: [PATCH v2 2/2] mm: don't use compound_head() in virt_to_head_page()

2015-01-18 Thread Joonsoo Kim
On Thu, Jan 15, 2015 at 05:16:46PM -0800, Andrew Morton wrote: On Thu, 15 Jan 2015 16:40:33 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: compound_head() is implemented with assumption that there would be race condition when checking tail flag. This assumption is only true when we try

Re: [PATCH v3 2/5] mm/compaction: enhance tracepoint output for compaction begin/end

2015-01-18 Thread Joonsoo Kim
On Thu, Jan 15, 2015 at 05:16:27PM -0800, Andrew Morton wrote: On Thu, 15 Jan 2015 16:41:10 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: We now have tracepoint for begin event of compaction and it prints start position of both scanners, but, tracepoint for end event of compaction

Re: [PATCH v2 1/8] device core: Introduce per-device MSI domain pointer

2015-01-18 Thread Jiang Liu
On 2015/1/16 4:35, Stuart Yoder wrote: On Thu, Jan 8, 2015 at 11:06 AM, Marc Zyngier marc.zyng...@arm.com wrote: As MSI-type features are creeping into non-PCI devices, it is starting to make sense to give our struct device some form of support for this, by allowing a pointer to an MSI irq

Re: [PATCH 09/28] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-01-18 Thread Yijing Wang
On 2015/1/16 17:34, Arnd Bergmann wrote: On Friday 16 January 2015 09:44:07 Yijing Wang wrote: We want to make a generic pci_host_bridge, then we could place common PCI infos like domain number in it. Ripping out pci_host_bridge creation from pci_create_root_bus() make code more better

[PATCH V2] regulator: da9211: Add gpio control for enable/disable of buck

2015-01-18 Thread James Ban
This is a patch for adding gpio control about enable/disable of buck. Signed-off-by: James Ban james.ban.opensou...@diasemi.com --- This patch is relative to linux-next repository tag next-20150115. Changes in V2: - gpio name from gpio to gpios. - add ena_gpio_initialized.

Re: [PATCH] kprobes: bugfix: checks kprobes_all_disarmed in unoptimized_kprobe().

2015-01-18 Thread Wang Nan
Hi Masami Hiramatsu, I can't find this patch and '[PATCH] kprobes: bugfix: checks kprobes_all_disarmed in unoptimized_kprobe().' in current mainline. How do these patches get there? Should they be merged into Russell King's tree first? Thank you! On 2015/1/12 20:52, Masami Hiramatsu wrote:

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

2015-01-18 Thread Stephen Rothwell
Hi Marcel, On Sun, 18 Jan 2015 19:13:17 -0800 Marcel Holtmann mar...@holtmann.org wrote: After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from net/bridge/br.c:22:0: include/net/switchdev.h:73:1: error: expected

  1   2   3   4   5   6   7   >