Re: [PATCH -next 2/3] batman-adv: Use seq_overflow

2013-12-11 Thread Al Viro
On Wed, Dec 11, 2013 at 07:55:26AM +, Al Viro wrote: This sucker should return 0. Insufficiently large buffer will be handled by caller, TYVM, if you give that caller a chance to do so. Returning 1 from -show() is a bug in almost all cases, and definitely so in this one. Just in case

Re: [PATCH] net: macb: Fix build warning

2013-12-11 Thread Nicolas Ferre
On 11/12/2013 05:57, Soren Brinkmann : When adjusting the link speed, the target frequency is determined by a 'swith (LINK_SPEED)' statement, that assigns the target rate only for valid and expected LINK_SPEED values. This incomplete switch statement leads to the following build warning:

Re: [PATCH RFC 1/4] phy: Add provision for tuning phy.

2013-12-11 Thread Heikki Krogerus
Hi, On Wed, Dec 11, 2013 at 12:08:04PM +0530, Vivek Gautam wrote: On Tue, Dec 10, 2013 at 7:31 PM, Heikki Krogerus I think setup instead of tune is much more clear and reusable. I think setup will look more like first time setting up the phy, which is rather served by init callback. This

Re: [PATCH RFC 1/4] phy: Add provision for tuning phy.

2013-12-11 Thread Kishon Vijay Abraham I
On Wednesday 11 December 2013 12:08 PM, Vivek Gautam wrote: Hi, On Tue, Dec 10, 2013 at 7:31 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi, Thanks for reviewing this. On Tue, Dec 10, 2013 at 04:25:23PM +0530, Vivek Gautam wrote: Some PHY controllers may need to tune

Re: [PATCH -next 3/3] netfilter: Use seq_overflow

2013-12-11 Thread Al Viro
On Tue, Dec 10, 2013 at 09:12:44PM -0800, Joe Perches wrote: --- a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c +++ b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c @@ -59,8 +59,10 @@ static bool ipv4_invert_tuple(struct nf_conntrack_tuple *tuple, static int ipv4_print_tuple(struct

Re: [PATCH 5/9] ARM: dts: provide DMA config to pxamci

2013-12-11 Thread Robert Jarzmik
Daniel Mack zon...@gmail.com writes: In particular, the pxa camera driver is something Robert (cc) wanted to have a look at. Robert, any updates on this? Oh yes, sorry, it's been monthes, I've been very busy. This is my last status : - my current patch is in (1) - this patch doesn't work

Re: [PATCH v4 12/15] usb: phy: msm: Add support for secondary PHY control

2013-12-11 Thread Ivan T. Ivanov
Hi, On Thu, 2013-12-05 at 10:42 +, Mark Rutland wrote: On Mon, Nov 18, 2013 at 12:57:42PM +, Ivan T. Ivanov wrote: Hi Mark, On Fri, 2013-11-15 at 16:42 +, Mark Rutland wrote: On Tue, Nov 12, 2013 at 02:51:47PM +, Ivan T. Ivanov wrote: From: Ivan T. Ivanov

Re: [PATCH -next 2/3] batman-adv: Use seq_overflow

2013-12-11 Thread Joe Perches
On Wed, 2013-12-11 at 08:05 +, Al Viro wrote: On Wed, Dec 11, 2013 at 07:55:26AM +, Al Viro wrote: This sucker should return 0. Insufficiently large buffer will be handled by caller, TYVM, if you give that caller a chance to do so. Returning 1 from -show() is a bug in almost all

Re: XFS security fix never sent to -stable?

2013-12-11 Thread Dan Carpenter
I wasn't really expecting it to get a CVE since it requires CAP_SYS_ADMIN but I should have added the CC to stable. Sorry about that. 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

RE: [PATCH v2 0/4] X86/KVM: enable Intel MPX for KVM

2013-12-11 Thread Liu, Jinsong
Paolo, comments for version 2? Thanks, Jinsong Liu, Jinsong wrote: These patches are version 2 to enalbe Intel MPX for KVM. Version 1: * Add some Intel MPX definiation * Fix a cpuid(0x0d, 0) exposing bug, dynamic per XCR0 features enable/disable * vmx and msr handle for MPX

Re: [PATCH RFC 1/4] phy: Add provision for tuning phy.

2013-12-11 Thread Vivek Gautam
Hi, On Wed, Dec 11, 2013 at 1:39 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi, On Wed, Dec 11, 2013 at 12:08:04PM +0530, Vivek Gautam wrote: On Tue, Dec 10, 2013 at 7:31 PM, Heikki Krogerus I think setup instead of tune is much more clear and reusable. I think setup will

Re: [PATCH RFC 1/4] phy: Add provision for tuning phy.

2013-12-11 Thread Vivek Gautam
Hi Kishon, On Wed, Dec 11, 2013 at 1:47 PM, Kishon Vijay Abraham I kis...@ti.com wrote: On Wednesday 11 December 2013 12:08 PM, Vivek Gautam wrote: Hi, On Tue, Dec 10, 2013 at 7:31 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi, Thanks for reviewing this. On Tue, Dec

Re: [PATCH] Staging: TIDSPBRIDGE: Use vm_iomap_memory for mmap-ing instead of remap_pfn_range

2013-12-11 Thread Dan Carpenter
On Wed, Dec 11, 2013 at 09:45:52AM +0200, Ivajlo Dimitrov wrote: I can pick your changes and re-send the original patch with them incorporated if there are no objections. Are you fine with that? Do it on top of staging-next, don't redo the original. regards, dan carpenter -- To unsubscribe

Re: [PATCH 17/18] sched: Add tracepoints related to NUMA task migration

2013-12-11 Thread Mel Gorman
On Tue, Dec 10, 2013 at 02:22:11PM -0800, Andrew Morton wrote: On Tue, 10 Dec 2013 15:51:35 + Mel Gorman mgor...@suse.de wrote: This patch adds three tracepoints o trace_sched_move_numawhen a task is moved to a node o trace_sched_swap_numawhen a task is swapped with another

Re: [PATCH -next 2/3] batman-adv: Use seq_overflow

2013-12-11 Thread Al Viro
On Wed, Dec 11, 2013 at 12:26:17AM -0800, Joe Perches wrote: On Wed, 2013-12-11 at 08:05 +, Al Viro wrote: On Wed, Dec 11, 2013 at 07:55:26AM +, Al Viro wrote: This sucker should return 0. Insufficiently large buffer will be handled by caller, TYVM, if you give that caller a

Re: [PATCH v2 7/7] mm/migrate: remove result argument on page allocation function for migration

2013-12-11 Thread Joonsoo Kim
On Mon, Dec 09, 2013 at 04:40:06PM +, Christoph Lameter wrote: On Mon, 9 Dec 2013, Joonsoo Kim wrote: First, we don't use error number in fail case. Call-path related to new_page_node() is shown in the following. do_move_page_to_node_array() - migrate_pages() - unmap_and_move() -

Re: [PATCH v3 01/36] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2013-12-11 Thread Lee Jones
Hi Brian, Thank you for taking the time to review, it's very much appreciated. You bought out some interesting points that I'm happy to go away and rectify. Firstly however, as I inherited this code I'd like to give Angus a chance to comment before we go off on our own tangent and rework some of

[PATCH] dma: tegra: Use runtime_pm for clk enable/disable

2013-12-11 Thread Chaitanya Bandi
Used runtime_pm APIs for clock enabling/disabling. Made changes such that clock is not enabled during idle. Also moved the usage of clk prepare/unprepare such that they are not called in isr context. Signed-off-by: Chaitanya Bandi ban...@nvidia.com --- Verified with audio playback on Dalmore and

Re: [PATCH v3 04/10] usb: dwc3: use quirks to know if a particualr platform doesn't have PHY

2013-12-11 Thread Heikki Krogerus
Hi, On Mon, Dec 09, 2013 at 11:26:04AM +0200, Heikki Krogerus wrote: Can you guys explain why is something like this needed? Like with clocks and gpios, the device drivers shouldn't need to care any more if the platform has the phys or not. -ENODEV tells you your platform Shouldn't we

Re: [PATCH RFC 1/4] phy: Add provision for tuning phy.

2013-12-11 Thread Heikki Krogerus
Hi again, On Wed, Dec 11, 2013 at 02:02:43PM +0530, Vivek Gautam wrote: On Wed, Dec 11, 2013 at 1:39 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: On Wed, Dec 11, 2013 at 12:08:04PM +0530, Vivek Gautam wrote: On Tue, Dec 10, 2013 at 7:31 PM, Heikki Krogerus I think setup

Re: [PATCH v5 4/8] sched/numa: fix set cpupid on page migration twice against normal page

2013-12-11 Thread Mel Gorman
On Wed, Dec 11, 2013 at 08:49:57AM +0800, Wanpeng Li wrote: commit 7851a45cd3 (mm: numa: Copy cpupid on page migration) copy over the cpupid at page migration time, there is unnecessary to set it again in function alloc_misplaced_dst_page, this patch fix it. Reviewed-by: Naoya Horiguchi

Re: [PATCH v5 5/8] sched/numa: use wrapper function task_faults_idx to calculate index in group_faults

2013-12-11 Thread Mel Gorman
On Wed, Dec 11, 2013 at 08:49:58AM +0800, Wanpeng Li wrote: Use wrapper function task_faults_idx to calculate index in group_faults. Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com Acked-by: Mel Gorman mgor...@suse.de -- Mel Gorman

Re: [PATCH v2] mm/zswap: change zswap to writethrough cache

2013-12-11 Thread Bob Liu
Hi Dan Seth, On Wed, Nov 27, 2013 at 9:28 AM, Dan Streetman ddstr...@ieee.org wrote: On Mon, Nov 25, 2013 at 1:00 PM, Seth Jennings sjenni...@variantweb.net wrote: On Fri, Nov 22, 2013 at 11:29:16AM -0600, Seth Jennings wrote: On Wed, Nov 20, 2013 at 02:49:33PM -0500, Dan Streetman wrote:

Re: [PATCH v5 6/8] sched/numa: fix period_slot recalculation

2013-12-11 Thread Mel Gorman
On Wed, Dec 11, 2013 at 08:49:59AM +0800, Wanpeng Li wrote: Changelog: v3 - v4: * remove period_slot recalculation The original code is as intended and was meant to scale the difference between the NUMA_PERIOD_THRESHOLD and local/remote ratio when adjusting the scan period. The

Re: [PATCH v3 11/15] mfd: menelaus: Start to use irqdomain

2013-12-11 Thread Lee Jones
On Tue, 10 Dec 2013, Tony Lindgren wrote: * Lee Jones lee.jo...@linaro.org [131210 10:39]: Introduce an irq_chip and irq_domain for menelaus driver. Following patches will convert uses to traditional request_threaded_irq(). While at that, some better error handling had to be

Re: [PATCH v3 04/10] usb: dwc3: use quirks to know if a particualr platform doesn't have PHY

2013-12-11 Thread Kishon Vijay Abraham I
On Wednesday 11 December 2013 02:23 PM, Heikki Krogerus wrote: Hi, On Mon, Dec 09, 2013 at 11:26:04AM +0200, Heikki Krogerus wrote: Can you guys explain why is something like this needed? Like with clocks and gpios, the device drivers shouldn't need to care any more if the platform has the

Re: [PATCH] dma: mv_xor: remove mv_desc_get_dest_addr()

2013-12-11 Thread Dan Williams
On Tue, Dec 10, 2013 at 3:14 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Dec 10, 2013 at 03:43:31PM +0530, Vinod Koul wrote: On Mon, Dec 09, 2013 at 11:50:35PM +, Russell King - ARM Linux wrote: On Thu, Nov 28, 2013 at 11:27:06AM +0530, Vinod Koul wrote: + Dan

Re: [PATCH v5 7/8] sched/numa: fix record hinting faults check

2013-12-11 Thread Mel Gorman
On Wed, Dec 11, 2013 at 08:50:00AM +0800, Wanpeng Li wrote: Adjust numa_scan_period in task_numa_placement, depending on how much useful work the numa code can do. The local faults and remote faults should be used to check if there is record hinting faults instead of local faults and shared

[PATCH 1/2] Documentation: pci: Minor cleanup

2013-12-11 Thread Jagannadha Sutradharudu Teki
- Used small letters for file names - Renamed few pcie txt files - Re-arranged file names in 00-INDEX - Removed PCI-DMA-mapping.txt from 00-INDEX Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Documentation/PCI/00-INDEX | 22 +++---

Re: [PATCH RFC] net: of_mdio: Scan PHYs which have device_type set to ethernet-phy

2013-12-11 Thread Grant Likely
On Wed, 11 Dec 2013 07:15:54 +, Florian Fainelli f.faine...@gmail.com wrote: Le jeudi 14 novembre 2013, 15:05:56 Srinivas Kandagatla a écrit : According to Documentation/devicetree/bindings/net/phy.txt device_type property of PHY nodes is mandatory, which should be set to

[PATCH 2/2] Documentation: pci: Add pcie-howto.txt

2013-12-11 Thread Jagannadha Sutradharudu Teki
Added pcie-howto.txt for describing the information on PCI Express basics and Root Complex driver. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Documentation/PCI/00-INDEX | 2 + Documentation/PCI/pcie-howto.txt | 184 +++ 2 files

Re: [PATCH v3 07/15] mfd: menelaus: Limit the usage of the_menelaus

2013-12-11 Thread Lee Jones
On Tue, 10 Dec 2013, Felipe Balbi wrote: On Tue, Dec 10, 2013 at 08:57:01AM +, Lee Jones wrote: Pass a menelaus_chip pointer as argument to most functions so we can minimize the usage of the global the_menelaus pointer. Tested-by: Aaro Koskinen aaro.koski...@iki.fi

Re: [PATCH v2] debugobject: add support for kref

2013-12-11 Thread Thomas Gleixner
On Tue, 10 Dec 2013, Greg KH wrote: On Sun, Nov 03, 2013 at 08:33:08PM +0100, Sebastian Andrzej Siewior wrote: I run a couple times into the case where put was called on an already cleanup object. The results was either nothing because 0 went back to 0xff…ff and release was not called a

Re: [PATCH v5 8/8] sched/numa: drop unnecessary variable in task_weight

2013-12-11 Thread Mel Gorman
On Wed, Dec 11, 2013 at 08:50:01AM +0800, Wanpeng Li wrote: Drop unnecessary total_faults variable in function task_weight to unify task_weight and group_weight. Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com Nak. task_weight is

Re: [patch] mm, page_alloc: allow __GFP_NOFAIL to allocate below watermarks after reclaim

2013-12-11 Thread Mel Gorman
On Tue, Dec 10, 2013 at 03:03:39PM -0800, David Rientjes wrote: On Tue, 10 Dec 2013, Mel Gorman wrote: If direct reclaim has failed to free memory, __GFP_NOFAIL allocations can potentially loop forever in the page allocator. In this case, it's better to give them the ability to access

Re: [PATCH 1/8] mfd: ssbi: Remove platform data structs and hide ssbi type enum

2013-12-11 Thread Lee Jones
On Tue, 10 Dec 2013, Stephen Boyd wrote: The ssbi driver assumes that the device is DT based. Remove the platform data structs that will never be used and hide the enum in the only C file that uses it. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/ssbi.c | 6 ++

Re: [PATCH 2/8] mfd: ssbi: Constify buffer in ssbi_write

2013-12-11 Thread Lee Jones
On Tue, 10 Dec 2013, Stephen Boyd wrote: In preparation for passing a const pointer directly to ssbi_write() from the regmap APIs. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/ssbi.c | 8 include/linux/ssbi.h | 2 +- 2 files changed, 5 insertions(+), 5

Re: [PATCH 4/8] mfd: ssbi: Mark match table const

2013-12-11 Thread Lee Jones
On Tue, 10 Dec 2013, Stephen Boyd wrote: This is a read-only data structure. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/ssbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) It certainly is. Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing

Re: [PATCH v2] debugobject: add support for kref

2013-12-11 Thread Sebastian Andrzej Siewior
On 12/11/2013 07:45 AM, Greg KH wrote: I need an ack from Thomas or some other debugobjects-knowledgable developer before I can take this... I have a v3 which I haven't posted yet. Basically the whole thing seems to work. Seems means that I get a bunch of backtraces which I haven't checked to

Re: [PATCH v3] net: handle error more gracefully in socketpair()

2013-12-11 Thread Yann Droneaud
Le mardi 10 décembre 2013 à 22:24 -0500, David Miller a écrit : From: Yann Droneaud ydrone...@opteya.com Date: Mon, 9 Dec 2013 22:42:20 +0100 ... Cc: David S. Miller da...@davemloft.net Cc: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Yann Droneaud ydrone...@opteya.com Link:

Re: [PATCH 5/8] mfd: Move pm8xxx-irq.c contents into only driver that uses it

2013-12-11 Thread Lee Jones
On Tue, 10 Dec 2013, Stephen Boyd wrote: The pm8xxx-irq.c code is practically mandatory given that the pm8921-core driver will WARN about it missing and the Kconfig marks it as default y when a PM8xxx chips is enabled. The only reason the file was split out was because we planned to support

Re: [PATCH v3 01/36] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2013-12-11 Thread Angus Clark
Hi Lee and Brian, I would also like to thank Brian; as always, very sensible comments. I am tied up most of today and off work tomorrow (Christmas shopping!), but I will set aside Friday to go through the comments in detail. I should also have some time next week if necessary, subject to any

Re: [PATCH V6] ARM : unwinder : Prevent data abort due to stack overflow

2013-12-11 Thread Anurag Aggarwal
You could try adding some debug printks to see how the backtrace fails. You could also try adding a few hand-crafted assembler functions with appropriate code and unwind directives to trigger different kinds of backtrace failure. You might have to add a way to artificially limit sp_high to check

Re: [PATCH v2 01/15] mfd: menelaus: Drop __exit section annotation

2013-12-11 Thread Uwe Kleine-König
On Mon, Dec 02, 2013 at 09:42:54PM -0600, Felipe Balbi wrote: we could build that as a driver. What is that. How can it not be a driver? Do you mean modular? In that case there is no problem, the only thing that doesn't work is unloading the module. Best regards Uwe Signed-off-by: Felipe

Re: [PATCH v4 10/15] usb: phy: msm: Add device tree support and binding information

2013-12-11 Thread Ivan T. Ivanov
Hi, On Thu, 2013-12-05 at 10:41 +, Mark Rutland wrote: On Mon, Nov 18, 2013 at 12:54:37PM +, Ivan T. Ivanov wrote: Hi Mark, On Fri, 2013-11-15 at 16:38 +, Mark Rutland wrote: On Tue, Nov 12, 2013 at 02:51:45PM +, Ivan T. Ivanov wrote: From: Ivan T. Ivanov

Re: [PATCH 6/8] mfd: pm8921: Update for genirq changes

2013-12-11 Thread Lee Jones
Since this code has been marked broken for some time a few genirq tree wide changes weren't made. set_irq_wake() was renamed to irq_set_irq_wake() in commit a0cd9ca2b (genirq: Namespace cleanup, 2011-02-10) and commit 10a8c383 (irq: introduce entry and exit functions for chained handlers)

Re: [PATCH v3 01/15] mfd: menelaus: Drop __exit section annotation

2013-12-11 Thread Uwe Kleine-König
On Mon, Dec 09, 2013 at 10:21:11AM -0600, Felipe Balbi wrote: We could build that driver as a dynamically-linked module. ups, only saw now the v3 after I commented on v2. So you addressed a part of my comment already. Still building that driver as a module also works without this patch, right? So

Re: [patch 7/8] mm, memcg: allow processes handling oom notifications to access reserves

2013-12-11 Thread Mel Gorman
On Tue, Dec 10, 2013 at 03:55:48PM -0800, David Rientjes wrote: Okay, are you saying that userland OOM handlers will be able to dip into kernel reserve memory? Maybe I'm mistaken but you realize that that reserve is there to make things like task exits work under OOM conditions, right?

Re: [PATCH 7/8] mfd: pm8921: Migrate to irqdomains

2013-12-11 Thread Lee Jones
Convert this driver to use irqdomains so that the PMIC's child devices can be converted to devicetree. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/pm8921-core.c | 186 ++ include/linux/mfd/pm8xxx/irq.h| 59

Re: [PATCH v2 0/4] X86/KVM: enable Intel MPX for KVM

2013-12-11 Thread Paolo Bonzini
Il 11/12/2013 09:31, Liu, Jinsong ha scritto: Paolo, comments for version 2? I think I commented that it's fine, I'm just waiting for a rebase on top of the generic patches. Paolo Thanks, Jinsong Liu, Jinsong wrote: These patches are version 2 to enalbe Intel MPX for KVM. Version 1:

Re: [PATCH] phy: Add exynos-phy driver

2013-12-11 Thread Kishon Vijay Abraham I
Hi, On Wednesday 27 November 2013 06:56 PM, Tomasz Stanislawski wrote: Hello everyone, The Samsung SoCs from Exynos family are enhanced with a bunch of switches dedicated for IP blocks. Those switches are called PHYs in Exynos specification. They are usually controlled by a single bit in a

Re: [PATCH 8/8] mfd: pm8921: Use ssbi regmap

2013-12-11 Thread Lee Jones
Use a regmap so that the pm8xxx read/write APIs can be removed once all consumer drivers are converted. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/Kconfig | 1 + drivers/mfd/pm8921-core.c | 70 +-- 2 files

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2013-12-11 Thread Michal Hocko
On Tue 10-12-13 17:03:45, David Rientjes wrote: On Tue, 10 Dec 2013, Michal Hocko wrote: What exactly would you like to see? How often do you see PF_EXITING tasks which haven't been killed causing a pointless notification? Because fatal_signal_pending and TIF_MEMDIE cases are

Re: [PATCH 1/2] tools/: Convert to new topic libraries

2013-12-11 Thread Borislav Petkov
On Tue, Dec 10, 2013 at 06:46:15PM -0700, David Ahern wrote: no longer applies to the moving target that is acme's tree. Of course it doesn't, with all the junk flood going in there :-) Btw, this is why I'm planning on sending only a small amount of patches and hoping that acme picks them up

Re: [PATCH] Staging: TIDSPBRIDGE: Use vm_iomap_memory for mmap-ing instead of remap_pfn_range

2013-12-11 Thread Ivaylo Dimitrov
On 11.12.2013 10:33, Dan Carpenter wrote: On Wed, Dec 11, 2013 at 09:45:52AM +0200, Ivajlo Dimitrov wrote: I can pick your changes and re-send the original patch with them incorporated if there are no objections. Are you fine with that? Do it on top of staging-next, don't redo the original.

Re: [PATCH v5 0/3] Exynos 5410 support

2013-12-11 Thread Tarek Dakhran
On 12/10/2013 08:40 PM, Kevin Hilman wrote: Vyacheslav Tyrtov v.tyr...@samsung.com writes: The series of patches represent support of Exynos 5410 SoC The Exynos 5410 is the first Samsung SoC based on bigLITTLE architecture Patches add new platform description, support of clock controller and

Re: [PATCH v4 01/15] usb: phy: msm: Move mach dependent code to platform data

2013-12-11 Thread Ivan T. Ivanov
On Tue, 2013-11-12 at 16:51 +0200, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com This patch fix compilation error when driver is compiled in multi-platform builds. drivers/built-in.o: In function `msm_otg_link_clk_reset': ./drivers/usb/phy/phy-msm-usb.c:314: undefined

Re: [PATCH v5 7/8] sched/numa: fix record hinting faults check

2013-12-11 Thread Mel Gorman
On Wed, Dec 11, 2013 at 05:41:56PM +0800, Wanpeng Li wrote: Hi Mel, On Wed, Dec 11, 2013 at 09:14:22AM +, Mel Gorman wrote: On Wed, Dec 11, 2013 at 08:50:00AM +0800, Wanpeng Li wrote: Adjust numa_scan_period in task_numa_placement, depending on how much useful work the numa code can

[PATCH] leds: leds-pwm: fix duty time overflow.

2013-12-11 Thread Xiubo Li
Overflow maybe occurs when calculates the duty time. For instance, the period time is 99000ns, and the max_brightness is 127, when setting the brightness to 12, the duty value will be 25906026ns, but it should be 93543307ns. --- drivers/leds/leds-pwm.c | 6 -- 1 file changed, 4

[PATCH v6 0/6] mm: sched: numa: several fixups

2013-12-11 Thread Wanpeng Li
Hi Andrew, I rebase this patchset against latest mmotm tree since Mel's [PATCH 00/17] NUMA balancing segmentation fault fixes and misc followups v4 merged. Several patches are dropped in my v6 since one is merged in tip tree and other three patches conflict with Mel's series. I have already

Re: [PATCH] phy: Add exynos-phy driver

2013-12-11 Thread Sylwester Nawrocki
On 11/12/13 10:54, Kishon Vijay Abraham I wrote: On Wednesday 27 November 2013 06:56 PM, Tomasz Stanislawski wrote: Hello everyone, The Samsung SoCs from Exynos family are enhanced with a bunch of switches dedicated for IP blocks. Those switches are called PHYs in Exynos specification.

[PATCH v6 1/6] sched/numa: fix set cpupid on page migration twice against thp

2013-12-11 Thread Wanpeng Li
commit 7851a45cd3 (mm: numa: Copy cpupid on page migration) copy over the cpupid at page migration time, there is unnecessary to set it again in function migrate_misplaced_transhuge_page, this patch fix it. Acked-by: Mel Gorman mgor...@suse.de Reviewed-by: Rik van Riel r...@redhat.com

[PATCH v6 5/6] sched/numa: use wrapper function task_faults_idx to calculate index in group_faults

2013-12-11 Thread Wanpeng Li
Use wrapper function task_faults_idx to calculate index in group_faults. Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Acked-by: Mel Gorman mgor...@suse.de Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- kernel/sched/fair.c |3 ++- 1 files changed, 2 insertions(+), 1

[PATCH v6 6/6] sched/numa: fix period_slot recalculation

2013-12-11 Thread Wanpeng Li
Changelog: v3 - v4: * remove period_slot recalculation The original code is as intended and was meant to scale the difference between the NUMA_PERIOD_THRESHOLD and local/remote ratio when adjusting the scan period. The period_slot recalculation can be dropped. Reviewed-by: Naoya Horiguchi

[PATCH v6 4/6] sched/numa: fix set cpupid on page migration twice against normal page

2013-12-11 Thread Wanpeng Li
commit 7851a45cd3 (mm: numa: Copy cpupid on page migration) copy over the cpupid at page migration time, there is unnecessary to set it again in function alloc_misplaced_dst_page, this patch fix it. Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Acked-by: Mel Gorman mgor...@suse.de

[PATCH] perf list: fix --raw-dump

2013-12-11 Thread Ramkumar Ramachandra
While adding usage information, 44d742e (perf list: Add usage, 2013-10-30) broke $ perf list --raw-dump by asking parse_options() to stop at non-option (PARSE_OPT_STOP_AT_NON_OPTION), hence parsing the option --raw-dump and barfing. Ask it to keep unknown options unparsed

[PATCH v6 3/6] sched/numa: use wrapper function task_node to get node which task is on

2013-12-11 Thread Wanpeng Li
Changelog: v2 - v3: * tranlate cpu_to_node(task_cpu(p)) to task_node(p) in sched/debug.c Use wrapper function task_node to get node which task is on. Acked-by: Mel Gorman mgor...@suse.de Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Reviewed-by: Rik van Riel r...@redhat.com

[PATCH v6 2/6] sched/numa: drop sysctl_numa_balancing_settle_count sysctl

2013-12-11 Thread Wanpeng Li
commit 887c290e (sched/numa: Decide whether to favour task or group weights based on swap candidate relationships) drop the check against sysctl_numa_balancing_settle_count, this patch remove the sysctl. Acked-by: Mel Gorman mgor...@suse.de Reviewed-by: Rik van Riel r...@redhat.com Signed-off-by:

Re: [PATCH v5 01/14] x86/mm: sparse warning fix for early_memremap

2013-12-11 Thread Matt Fleming
On Tue, 10 Dec, at 10:12:21AM, Dave Young wrote: On 12/09/13 at 04:05pm, Borislav Petkov wrote: On Mon, Dec 09, 2013 at 05:42:14PM +0800, Dave Young wrote: There's a lot of sparse warnings for code like below: void *a = early_memremap(phys_addr, size); early_memremap intend to map

[PATCH 2/2] ARM: dts: omap2430-sdp: add flags for ethernet functionality

2013-12-11 Thread Nishanth Menon
Ethernet transition from board file to dts missed the required pdata conversion. So fix the same. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/boot/dts/omap2430-sdp.dts |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap2430-sdp.dts

[PATCH 0/2] net: smc91x: add DT flags for legacy platforms

2013-12-11 Thread Nishanth Menon
Hi, SMC91x driver has been converted to device tree, however users of older lan91c94 based platform need description provided previously by platform_data. Without this, ethernet fails to function on these platforms. For example, on SDP2430: Before: http://pastebin.mozilla.org/3753793 After:

[PATCH 1/2] net: smc91x: Read hardware behavior flags from device tree

2013-12-11 Thread Nishanth Menon
commit 682a169 (smc91x: add devicetree support) introduced basic device tree support in the form of identifier match. However, platform_data flags equivalent was not introduced, nor was an appropriate bindings document introduced. In many legacy platforms such as Texas Instrument's SDP2430,

[PATCH V2 1/6] mm: compaction: trace compaction begin and end

2013-12-11 Thread Vlastimil Babka
From: Mel Gorman mgor...@suse.de This patch adds two tracepoints for compaction begin and end of a zone. Using this it is possible to calculate how much time a workload is spending within compaction and potentially debug problems related to cached pfns for scanning. In combination with the direct

Re: [PATCH v6 0/6] mm: sched: numa: several fixups

2013-12-11 Thread Peter Zijlstra
On Wed, Dec 11, 2013 at 06:15:55PM +0800, Wanpeng Li wrote: Hi Andrew, You'll find kernel/sched/ has a maintainer !Andrew. include/linux/sched/sysctl.h |1 - kernel/sched/debug.c |2 +- kernel/sched/fair.c | 17 - kernel/sysctl.c |

[PATCH V2 2/6] mm: compaction: encapsulate defer reset logic

2013-12-11 Thread Vlastimil Babka
Currently there are several functions to manipulate the deferred compaction state variables. The remaining case where the variables are touched directly is when a successful allocation occurs in direct compaction, or is expected to be successful in the future by kswapd. Here, the lowest order that

[PATCH V2 5/6] mm: compaction: do not mark unmovable pageblocks as skipped in async compaction

2013-12-11 Thread Vlastimil Babka
Compaction temporarily marks pageblocks where it fails to isolate pages as to-be-skipped in further compactions, in order to improve efficiency. One of the reasons to fail isolating pages is that isolation is not attempted in pageblocks that are not of MIGRATE_MOVABLE (or CMA) type. The problem

[PATCH V2 6/6] mm: compaction: reset scanner positions immediately when they meet

2013-12-11 Thread Vlastimil Babka
Compaction used to start its migrate and free page scaners at the zone's lowest and highest pfn, respectively. Later, caching was introduced to remember the scanners' progress across compaction attempts so that pageblocks are not re-scanned uselessly. Additionally, pageblocks where isolation

[PATCH V2 4/6] mm: compaction: detect when scanners meet in isolate_freepages

2013-12-11 Thread Vlastimil Babka
Compaction of a zone is finished when the migrate scanner (which begins at the zone's lowest pfn) meets the free page scanner (which begins at the zone's highest pfn). This is detected in compact_zone() and in the case of direct compaction, the compact_blockskip_flush flag is set so that kswapd

[PATCH V2 3/6] mm: compaction: reset cached scanner pfn's before reading them

2013-12-11 Thread Vlastimil Babka
Compaction caches pfn's for its migrate and free scanners to avoid scanning the whole zone each time. In compact_zone(), the cached values are read to set up initial values for the scanners. There are several situations when these cached pfn's are reset to the first and last pfn of the zone,

[PATCH V2 0/6] Memory compaction efficiency improvements

2013-12-11 Thread Vlastimil Babka
Changelog since V1 (thanks to the reviewers!) o Included trace compaction being and end patch in the series (mgorman) o Changed variable names and comments in patches 2 and 5(mgorman) o More thorough measurements, based on v3.13-rc2 The broad goal of the series is to improve

Re: [PATCH] Staging: TIDSPBRIDGE: Use vm_iomap_memory for mmap-ing instead of remap_pfn_range

2013-12-11 Thread Dan Carpenter
On Wed, Dec 11, 2013 at 11:57:04AM +0200, Ivaylo Dimitrov wrote: On 11.12.2013 10:33, Dan Carpenter wrote: On Wed, Dec 11, 2013 at 09:45:52AM +0200, Ivajlo Dimitrov wrote: I can pick your changes and re-send the original patch with them incorporated if there are no objections. Are you fine

Re: [PATCH 4/4] usb: chipidea: msm: Use USB PHY API to control PHY state

2013-12-11 Thread Ivan T. Ivanov
Hi, On Wed, 2013-12-04 at 21:38 +0800, Peter Chen wrote: On Wed, Dec 04, 2013 at 11:35:54AM +0200, Ivan T. Ivanov wrote: Hi Peter, On Wed, 2013-12-04 at 13:37 +0800, Peter Chen wrote: On Mon, Nov 11, 2013 at 04:36:09PM +0200, Ivan T. Ivanov wrote: Hi Peter, On

RE: [PATCH 1/1] AX88179_178A: Enable the hardware pseudo header in case of the NET_IP_ALIGN equals 0

2013-12-11 Thread David Laight
From: Freddy Xin On 2013年12月10日 09:01, David Miller wrote: From: fre...@asix.com.tw Date: Fri, 6 Dec 2013 17:58:18 +0800 From: Freddy Xin fre...@asix.com.tw The AX88179_178A has a hardware feature that it can insert a 2-bytes pseudo header in front of each received frame by

[PATCH 1/2] perf completion: complete 'perf kvm'

2013-12-11 Thread Ramkumar Ramachandra
Currently, there is no way to enumerate the subcommands under 'perf kvm', so hardcode them. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- tools/perf/perf-completion.sh | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/perf-completion.sh

[PATCH 0/2] Completion for 'perf kvm'

2013-12-11 Thread Ramkumar Ramachandra
Hi, These are based on tip/master. Thanks. Ramkumar Ramachandra (2): perf completion: complete 'perf kvm' perf tools: ignore files generated by 'perf kvm' tools/perf/.gitignore | 2 ++ tools/perf/perf-completion.sh | 4 2 files changed, 6 insertions(+) --

[PATCH 2/2] perf tools: ignore files generated by 'perf kvm'

2013-12-11 Thread Ramkumar Ramachandra
Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- tools/perf/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore index 782d86e..28264a9 100644 --- a/tools/perf/.gitignore +++ b/tools/perf/.gitignore @@ -13,6 +13,8 @@ perf*.html

perf: hsw model numbers

2013-12-11 Thread Peter Zijlstra
Hi Andi, arch/x86/kernel/cpu/perf_event_intel.c 3a632cb229bfb (Andi Kleen 2013-06-17 17:36:48 -0700 2500) case 60: /* Haswell Client */ 3a632cb229bfb (Andi Kleen 2013-06-17 17:36:48 -0700 2501) case 70: 3a632cb229bfb (Andi Kleen 2013-06-17 17:36:48 -0700 2502)

Re: [PATCH v5 02/14] efi: use early_memremap and early_memunmap

2013-12-11 Thread Matt Fleming
(Cc'ing Leif and Mark for the ARM-side of things) On Mon, 09 Dec, at 05:42:15PM, Dave Young wrote: In arch/x86/platform/efi/efi.c and drivers/firmware/efi/efi.c turn to use early_memremap/early_memunmap instead of early_ioremap/early_iounmap so sparse will be happy. Signed-off-by: Dave

[PATCH] futex: Switch to USER_DS for futex test

2013-12-11 Thread Geert Uytterhoeven
Since commit e4f2dfbb5e92be4e46c0625f4f8eb101110f756f (m68k: implement futex.h to support userspace robust futexes and PI mutexes), the kernel crashes during boot up on MC68030: Data read fault at 0x in Super Data (pc=0x3afec) BAD KERNEL BUSERR Oops: Modules linked in: PC:

Re: nohz_full left a periodic tick cpu issue

2013-12-11 Thread Alex Shi
On 12/11/2013 02:28 PM, Alex Shi wrote: Hi Frederic, Sorry for idiot of nohz_full. When we using this feature on my mobile devices, we found this feature keep cpu0 in periodic tick mode. then the timer interrupt on cpu0 is very higher than normal nohz mode. that cause high power consuming

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

2013-12-11 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: From: Arnaldo Carvalho de Melo a...@ghostprotocols.net Hi Ingo, The first 20 patches in this series are the same as in the previous one, so I'm not reposting them now. This series has the code style/constification

[PATCH v3 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2013-12-11 Thread Ivan Khoronzhuk
These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for Davinci/Keystone archs. For more informations see documentation: Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf OMAP-L138 - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf Kestone -

Re: [PATCH v5 02/14] efi: use early_memremap and early_memunmap

2013-12-11 Thread Leif Lindholm
On Wed, Dec 11, 2013 at 10:39:03AM +, Matt Fleming wrote: Leif, Mark, does this patch look OK for ARM? We'd need to introduce a new early_memunmap() function so that things still build, but that should be straight forward. You'd even be able to get rid of the asymmetry in uefi_init() where

Re: [PATCH -next] x86, kaslr: clarify RANDOMIZE_BASE_MAX_OFFSET

2013-12-11 Thread Ingo Molnar
* Kees Cook keesc...@chromium.org wrote: The help text for RANDOMIZE_BASE_MAX_OFFSET was confusing. This has been clarified, and updated to be an export-only tunable. Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: Ingo Molnar mi...@kernel.org Thanks, Ingo -- To

[PATCH v3 2/2] memory: ti-aemif: add bindings for AEMIF driver

2013-12-11 Thread Ivan Khoronzhuk
Add bindings for TI Async External Memory Interface (AEMIF) controller. The Async External Memory Interface (EMIF16/AEMIF) controller is intended to provide a glue-less interface to a variety of asynchronous memory devices like ASRA M, NOR and NAND memory. A total of 256M bytes of any of these

[PATCH v3 1/2] memory: ti-aemif: introduce AEMIF driver

2013-12-11 Thread Ivan Khoronzhuk
Add new AEMIF driver for EMIF16 Texas Instruments controller. The EMIF16 module is intended to provide a glue-less interface to a variety of asynchronous memory devices like ASRA M, NOR and NAND memory. A total of 256M bytes of any of these memories can be accessed at any given time via 4 chip

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-11 Thread Mark Brown
On Wed, Dec 11, 2013 at 04:07:27AM +0100, Arnd Bergmann wrote: On Tuesday 10 December 2013, Mark Brown wrote: That's not my experience especially once you get into phone type hardware - there's not much complexity difference when gluing things into the system and the fact that it's

[tip:perf/core] perf trace: Add support for syscalls vs raw_syscalls

2013-12-11 Thread tip-bot for David Ahern
Commit-ID: 9aca7f1792c5d2d5d367bbe5cfe204fe40517929 Gitweb: http://git.kernel.org/tip/9aca7f1792c5d2d5d367bbe5cfe204fe40517929 Author: David Ahern dsah...@gmail.com AuthorDate: Wed, 4 Dec 2013 19:41:39 -0700 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 5 Dec 2013

[tip:perf/core] perf trace: Fix summary percentage when processing files

2013-12-11 Thread tip-bot for David Ahern
Commit-ID: 3160565f0e005d2ec736ae25cf0a79988c0cbe71 Gitweb: http://git.kernel.org/tip/3160565f0e005d2ec736ae25cf0a79988c0cbe71 Author: David Ahern dsah...@gmail.com AuthorDate: Wed, 4 Dec 2013 19:41:41 -0700 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 5 Dec 2013

[tip:perf/core] tools lib traceevent: Report better error message on bad function args

2013-12-11 Thread tip-bot for Steven Rostedt
Commit-ID: 3a3ffa2e82205921d1189f1055c22dae4c72819a Gitweb: http://git.kernel.org/tip/3a3ffa2e82205921d1189f1055c22dae4c72819a Author: Steven Rostedt rost...@goodmis.org AuthorDate: Mon, 18 Nov 2013 21:38:20 -0500 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 6 Dec

  1   2   3   4   5   6   7   8   9   10   >