Re: [PATCH] pwm: core: Use devm_kzalloc instead of kzalloc

2014-01-07 Thread Dmitry Torokhov
Hi Xiubo, On Tue, Jan 07, 2014 at 02:05:00PM +0800, Xiubo Li wrote: Use devm_kzalloc instead of kzalloc to free automatically and make the cleanup paths simpler and the code slightly shorter. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/pwm/core.c | 5 +++-- 1 file changed,

Re: [PATCH net 2/2] net: core: explicitly select a txq before doing l2 forwarding

2014-01-07 Thread John Fastabend
On 1/5/2014 7:21 PM, Jason Wang wrote: Currently, the tx queue were selected implicitly in ndo_dfwd_start_xmit(). The will cause several issues: - NETIF_F_LLTX was forced for macvlan device in this case which lead extra lock contention. - dev_hard_start_xmit() was called with NULL txq which

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

2014-01-07 Thread Lee Jones
unsigned intnum_irqs; unsigned intnum_blocks; unsigned intnum_masters; @@ -138,7 +137,7 @@ static int pm8xxx_irq_block_handler(struct pm_irq_chip *chip, int block) for (i = 0; i 8; i++) { if (bits (1 i)) {

Re: [RFC] sched: CPU topology try

2014-01-07 Thread Vincent Guittot
On 6 January 2014 17:21, Peter Zijlstra pet...@infradead.org wrote: On Wed, Dec 18, 2013 at 02:13:51PM +0100, Vincent Guittot wrote: This patch applies on top of the two patches [1][2] that have been proposed by Peter for creating a new way to initialize sched_domain. It includes some minor

Re: status of block-integrity

2014-01-07 Thread Ric Wheeler
On 12/23/2013 09:35 PM, Martin K. Petersen wrote: Christoph == Christoph Hellwig h...@infradead.org writes: Christoph We have the block integrity code to support DIF/DIX in the Christoph the tree for about 5 and a half years, and we still don't Christoph have a single consumer of it. What do

Re: [RFC] sched: CPU topology try

2014-01-07 Thread Vincent Guittot
On 6 January 2014 17:31, Peter Zijlstra pet...@infradead.org wrote: On Mon, Jan 06, 2014 at 02:41:31PM +0100, Vincent Guittot wrote: IMHO, these settings will disappear sooner or later, as an example the idle/busy _idx are going to be removed by Alex's patch. Well I'm still entirely

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-07 Thread Peter Zijlstra
On Mon, Jan 06, 2014 at 10:45:24PM +, Waskiewicz Jr, Peter P wrote: Since its a very limited resource that seems like a weird assumption to me; there's plenty scenarios in which you'd want to re-use RMIDs that belong to a still running context. I think I see what you're really asking,

Re: could you clarify mm/mempolicy: fix !vma in new_vma_page()

2014-01-07 Thread Michal Hocko
On Tue 07-01-14 12:34:34, Wanpeng Li wrote: Cced Sasha, On Tue, Jan 07, 2014 at 12:26:13PM +0800, Wanpeng Li wrote: Hi Michal, On Mon, Jan 06, 2014 at 03:18:27PM +0100, Michal Hocko wrote: On Mon 06-01-14 20:45:54, Bob Liu wrote: [...] 544 if (PageAnon(page)) { 545

Re: [PATCH net 2/2] net: core: explicitly select a txq before doing l2 forwarding

2014-01-07 Thread John Fastabend
[...] +int dfwd_direct_xmit(struct sk_buff *skb, struct net_device *dev, + void *accel_priv) +{ +struct netdev_queue *txq; +int ret = NETDEV_TX_BUSY; +int index; + +BUG_ON(!dev-netdev_ops-ndo_dfwd_select_queue); +index =

Re: [PATCH] lib/vsprintf: add %pT[C012] format specifier

2014-01-07 Thread Pavel Machek
On Mon 2014-01-06 17:03:55, Joe Perches wrote: On Tue, 2014-01-07 at 01:16 +0100, Pavel Machek wrote: diff --git a/lib/vsprintf.c b/lib/vsprintf.c [] @@ -1232,7 +1248,7 @@ char *pointer(const char *fmt, char *buf, char *end, void *ptr, { int default_width

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2014-01-07 Thread Peter Zijlstra
On Mon, Jan 06, 2014 at 03:10:28PM -0800, Andi Kleen wrote: Peter Zijlstra pet...@infradead.org writes: Also, do clarify the other points I asked about. Esp. the non FREEZE_ON_PMI behaviour of the PT PMI is worrying me immensely. The only reason for hardware freeze is when you have a few

[PATCH] ARM: config: enable ams AS3722 power reset driver

2014-01-07 Thread Laxman Dewangan
ams AS3722 is used as system PMIC for Tegra124 based Venice2. Enable ams AS3722 power reset driver for enabling power off system using PMIC. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- arch/arm/configs/tegra_defconfig |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] pinctrl: as3722: Set pin to output mode for some function

2014-01-07 Thread Laxman Dewangan
From: Mallikarjun Kasoju mkas...@nvidia.com If pins are used for function output like pwm, clk32k, power good etc then set it as output mode default. Signed-off-by: Mallikarjun Kasoju mkas...@nvidia.com Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- drivers/pinctrl/pinctrl-as3722.c |

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2014-01-07 Thread Peter Zijlstra
On Mon, Jan 06, 2014 at 03:10:28PM -0800, Andi Kleen wrote: To me it seems very weird that PT is hooked to the same PMI as the normal PMU, it really should have been a different interrupt. It's in the same STATUS register, so it's cheap to check both. It shouldn't add any new spurious

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2014-01-07 Thread Peter Zijlstra
On Tue, Jan 07, 2014 at 01:52:31AM +0100, Andi Kleen wrote: Also of course it requires disabling/enabling PT explicitly for every perf message, which is slow. So you add at least 2*WRMSR cost (thousands of cycles). That's just dumb, no flush the entire PT buffer into a few large

Re: [LNG] Re: [Query] Ticks happen in pair for NO_HZ_FULL cores ?

2014-01-07 Thread Peter Zijlstra
On Mon, Dec 23, 2013 at 01:48:02PM +0530, Viresh Kumar wrote: *But wouldn't it make sense if we can tell scheduler that don't queue these works on a CPU that is running in NO_HZ_FULL mode?* No,.. that's the wrong way around. Also any suggestions on how to get rid of __prandom_timer events on

[PATCH 2/3] xfs: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK()

2014-01-07 Thread Chuansheng Liu
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to call destroy_work_on_stack() which frees the debug object to pair with INIT_WORK_ONSTACK(). Signed-off-by: Liu, Chuansheng chuansheng@intel.com --- fs/xfs/xfs_bmap_util.c |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/3] workqueue: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK()

2014-01-07 Thread Chuansheng Liu
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to call destroy_work_on_stack() which frees the debug object to pair with INIT_WORK_ONSTACK(). Signed-off-by: Liu, Chuansheng chuansheng@intel.com --- kernel/workqueue.c |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 1/3] ARM64: perf: add support for perf registers API

2014-01-07 Thread Jean Pihet
Hi Will, On 6 January 2014 19:30, Will Deacon will.dea...@arm.com wrote: Hi Jean, Thanks for the updated patches. One minor comment on this one. Thanks for reviewing! On Mon, Dec 30, 2013 at 04:25:30PM +, Jean Pihet wrote: From: Jean Pihet jean.pi...@newoldbits.com This patch

[PATCH 3/3] dm snapshot: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK()

2014-01-07 Thread Chuansheng Liu
In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to call destroy_work_on_stack() which frees the debug object to pair with INIT_WORK_ONSTACK(). Signed-off-by: Liu, Chuansheng chuansheng@intel.com --- drivers/md/dm-snap-persistent.c |1 + 1 file changed, 1 insertion(+) diff

Re: am335x: IIO/ADC fixes if used together with TSC, v2

2014-01-07 Thread Lee Jones
Dmitry, Jonathan, This is for you. The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.linaro.org/people/ljones/mfd.git tags/ib-iio-input-3.13-1 for you to fetch changes

Re: [LNG] Re: [Query] Ticks happen in pair for NO_HZ_FULL cores ?

2014-01-07 Thread Viresh Kumar
On 7 January 2014 14:17, Peter Zijlstra pet...@infradead.org wrote: On Mon, Dec 23, 2013 at 01:48:02PM +0530, Viresh Kumar wrote: *But wouldn't it make sense if we can tell scheduler that don't queue these works on a CPU that is running in NO_HZ_FULL mode?* No,.. that's the wrong way around.

[PATCH -next] misc: genwqe: fix return value check in genwqe_device_create()

2014-01-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function device_create_with_groups() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [PATCH] pinctrl: as3722: Set pin to output mode for some function

2014-01-07 Thread Lee Jones
On Tue, 07 Jan 2014, Laxman Dewangan wrote: From: Mallikarjun Kasoju mkas...@nvidia.com If pins are used for function output like pwm, clk32k, power good etc then set it as output mode default. Signed-off-by: Mallikarjun Kasoju mkas...@nvidia.com Signed-off-by: Laxman Dewangan

[Patch Part2 V1 07/14] iommu/vt-d: fix error in detect ATS capability

2014-01-07 Thread Jiang Liu
Current Intel IOMMU driver only matches a PCIe root port with the first DRHD unit with the samge segment number. It will report false result if there are multiple DRHD units with the same segment number, thus fail to detect ATS capability for some PCIe devices. This patch refines function

[Patch Part2 V1 10/14] iommu/vt-d: use RCU to protect global resources in interrupt context

2014-01-07 Thread Jiang Liu
Global DMA and interrupt remapping resources may be accessed in interrupt context, so use RCU instead of rwsem to protect them in such cases. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/dmar.c| 33 - drivers/iommu/intel-iommu.c |

[Patch Part2 V1 03/14] iommu/vt-d: simplify function get_domain_for_dev()

2014-01-07 Thread Jiang Liu
Function get_domain_for_dev() is a little complex, simplify it by factoring out dmar_search_domain_by_dev_info() and dmar_insert_dev_info(). Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel-iommu.c | 161 --- 1 file changed, 75

Re: [PATCH net 1/2] macvlan: forbid L2 fowarding offload for macvtap

2014-01-07 Thread Jason Wang
On 01/07/2014 03:26 PM, John Fastabend wrote: [...] Unfortunately not. This commit has a side effect that it in fact disables the multiqueue macvtap transmission. Since all macvtap queues will contend on a single qdisc lock. They will only contend on a single qdisc lock if the lower device

[RFC Patch Part2 V1 14/14] iommu/vt-d: update IOMMU state when memory hotplug happens

2014-01-07 Thread Jiang Liu
If static identity domain is created, IOMMU driver needs to update si_domain page table when memory hotplug event happens. Otherwise PCI device DMA operations can't access the hot-added memory regions. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel-iommu.c | 52

[Patch Part2 V1 12/14] iommu/vt-d, PCI: unify the way to process DMAR device scope array

2014-01-07 Thread Jiang Liu
Now we have a PCI bus notification based mechanism to update DMAR device scope array, we could extend the mechanism to support boot time initialization too, which will help to unify and simplify the implementation. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/dmar.c

[Patch Part2 V1 13/14] iommu/vt-d: update device to static identity domain mapping for PCI hotplug

2014-01-07 Thread Jiang Liu
When PCI device hotplug event happen, we need to update device to static identity domain mapping relationship to maintain correct device to domain mapping. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel-iommu.c | 17 +++-- 1 file changed, 15

[Patch Part2 V1 11/14] iommu/vt-d, PCI: update DRHD/RMRR/ATSR device scope caches when PCI hotplug happens

2014-01-07 Thread Jiang Liu
Current Intel DMAR/IOMMU driver assumes that all PCI devices associated with DMAR/RMRR/ATSR device scope arrays are created at boot time and won't change at runtime, so it caches pointers of associated PCI device object. That assumption may be wrong now due to: 1) introduction of PCI host bridge

[Patch Part2 V1 08/14] iommu/vt-d: introduce macro for_each_dev_scope() to walk device scope entries

2014-01-07 Thread Jiang Liu
Introduce for_each_dev_scope()/for_each_active_dev_scope() to walk {active} device scope entries. This will help following RCU lock related patches. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/dmar.c| 14 +++--- drivers/iommu/intel-iommu.c | 100

[Patch Part2 V1 09/14] iommu/vt-d: introduce a rwsem to protect global data structures

2014-01-07 Thread Jiang Liu
Introduce a global rwsem dmar_global_lock, which will be used to protect DMAR related global data structures from DMAR/PCI/memory device hotplug operations in process context. DMA and interrupt remapping related data structures are read most, and only change when memory/PCI/DMAR hotplug event

[Patch Part2 V1 06/14] iommu/vt-d: fix incorrect iommu_count for si_domain

2014-01-07 Thread Jiang Liu
The iommu_count for si_domain (static identity) is always zero, which will cause trouble when trying to tear down si_domain. [ 14.609681] IOMMU: Setting RMRR: [ 14.613496] Ignoring identity map for HW passthrough device :00:1a.0 [0xbdcfd000 - 0xbdd1dfff] [ 14.623809] Ignoring identity

[Patch Part2 V1 05/14] iommu/vt-d: create device_domain_info structure for intermediate P2P bridges

2014-01-07 Thread Jiang Liu
When creating DMAR domain for a PCI device, we will only associate the PCI device and upstream (PCIe) bridge with the domain and skip all intermediate P2P bridges. Function domain_context_mapping() will attach the created domain to the PCI device, the upstream (PCIe) bridge and all intermediate

[PATCHv9 1/4] pwm: Add Freescale FTM PWM driver support

2014-01-07 Thread Xiubo Li
The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. Signed-off-by: Xiubo Li li.xi...@freescale.com --- Hi Thierry, For this version I just removed the big-endian mode support, and will add it in later separate patches. Changes in v9: - Remove the big-endian mode

[Patch Part2 V1 01/14] iommu/vt-d: factor out dmar_alloc_dev_scope() for later reuse

2014-01-07 Thread Jiang Liu
Factor out function dmar_alloc_dev_scope() from dmar_parse_dev_scope() for later reuse. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/dmar.c | 28 include/linux/dmar.h |1 + 2 files changed, 17 insertions(+), 12 deletions(-) diff --git

[Patch Part2 V1 02/14] iommu/vt-d: move private structures and variables into intel-iommu.c

2014-01-07 Thread Jiang Liu
Move private structures and variables into intel-iommu.c, which will help to simplify locking policy for hotplug. Also delete redundant declarations. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel-iommu.c | 31 +-- include/linux/dmar.h

[Patch Part2 V1 00/14] Enhance DMAR drivers to handle PCI/memory hotplug events

2014-01-07 Thread Jiang Liu
Intel DMA/interrupt remapping drivers scan available PCI/memory devices at startup and cache discovered hardware topologies. They don't update cached information if PCI/memory hotplug event happens at runtime, then the stale information may break DMA/interrupt remapping logic. This patchset first

Re: [PATCH 0/3] Add GPIO support for the MAX6650/6651 ICs

2014-01-07 Thread Lee Jones
Don't send private, off-list emails for poking or anything else related to upstreamming patches. Important text here later. It is now just an attempt to get some feedback about the design of the new features. This set has only been compilation tested, and has many errors with checkpatch.pl,

[PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2014-01-07 Thread Xiubo Li
This adds devicetree node for VF610, and there are 8 channels supported. Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de --- No changes since v7. arch/arm/boot/dts/vf610.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCHv9 3/4] ARM: dts: Enables FTM PWM device for Vybrid VF610 TOWER board.

2014-01-07 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de --- No changes since v7. arch/arm/boot/dts/vf610-twr.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index

[Patch Part2 V1 04/14] iommu/vt-d: free resources if failed to create domain for PCIe endpoint

2014-01-07 Thread Jiang Liu
Enhance function get_domain_for_dev() to release allocated resources if failed to create domain for PCIe endpoint, otherwise the allocated resources will get lost. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/iommu/intel-iommu.c |2 ++ 1 file changed, 2 insertions(+) diff

[PATCHv9 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2014-01-07 Thread Xiubo Li
This adds the binding documentation for Freescale FlexTimer Module (FTM) PWM driver under Documentation/devicetree/bindings/pwm/. Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de Acked-by: Kumar Gala ga...@codeaurora.org --- For this version I just

RE: [PATCH] usb/core: fix NULL pointer dereference in recursively_mark_NOTATTACHED

2014-01-07 Thread Du, ChangbinX
Changbin, after looking more closely I realized there was a second aspect to this race: recursively_mark_NOTATTACHED uses hub-ports[i] while hub_disconnect removes the port devices. You ought to be able to cause an oops by inserting a delay just after the loop where

Re: ARM,sdhci_esdhc_imx: INFO: HARDIRQ-safe - HARDIRQ-unsafe lock order detected

2014-01-07 Thread Philippe De Muyter
Hi Shawn Dong, On Sat, Dec 14, 2013 at 08:16:15PM +0800, Shawn Guo wrote: On Fri, Dec 13, 2013 at 11:14:25PM +0100, Philippe De Muyter wrote: Hi Shawn, On Fri, Dec 13, 2013 at 09:34:32PM +0800, Shawn Guo wrote: Hi Philippe, On Thu, Dec 12, 2013 at 03:49:25PM +0100, Philippe De

Re: [PATCH v2 0/5] arm64: advertise availability of CRC and crypto instructions

2014-01-07 Thread Ard Biesheuvel
@Russell, Nico, Care to share your opinion on this alternative approach to allocating hwcap feature bits for the ARMv8 Crypto Extensions for 32-bit ARM? Regards, Ard. On 23 December 2013 15:06, Ard Biesheuvel ard.biesheu...@linaro.org wrote: This series is a followup to the patch that was

Re: [RFC PATCH 1/3] pci: APM X-Gene PCIe controller driver

2014-01-07 Thread Arnd Bergmann
On Tuesday 07 January 2014, Tanmay Inamdar wrote: Also, the implementation is wrong since the I/O port range already needs to be ioremapped in order for inb/outb to work. There is already a generic implementation of this in include/asm-generic/iomap.h, which correctly calls ioport_map.

My Name is Collins Jeff

2014-01-07 Thread Collins Jeff
Dear one My Name is Collins Jeff i am a Director of Lintot Oil Company in UK i needed a land property that can be sold to me please do contact me on my e-mail william102coll...@outlook.com waiting to hear soon from you regards. Collins Jeff +44-8712340074 -- To unsubscribe from this list:

[PATCH] sparc: replace __GFP_NOFAIL with GFP_ATOMIC in mdesc_kmalloc()

2014-01-07 Thread Ethan Zhao
Has kmalloc() failure checking there, so it is unnecessary to allocate with __GFP_NOFAIL flag that might block forever. Signed-off-by: Ethan Zhao ethan.ker...@gmail.com --- arch/sparc/kernel/mdesc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/kernel/mdesc.c

Re: [PATCH V4 1/2] Phy: Exynos: Add Exynos5250 sata phy driver

2014-01-07 Thread Kishon Vijay Abraham I
On Thursday 02 January 2014 07:13 PM, Yuvaraj Kumar wrote: On Tue, Dec 31, 2013 at 4:18 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi Yuvaraj, On Monday 30 December 2013 06:37 PM, Yuvaraj Kumar C D wrote: This patch adds the sata phy driver for Exynos5250.Exynos5250 sata phy comprises

Re: ARM,sdhci_esdhc_imx: INFO: HARDIRQ-safe - HARDIRQ-unsafe lock order detected

2014-01-07 Thread Dong Aisheng
On Tue, Jan 07, 2014 at 10:22:54AM +0100, Philippe De Muyter wrote: Hi Shawn Dong, On Sat, Dec 14, 2013 at 08:16:15PM +0800, Shawn Guo wrote: On Fri, Dec 13, 2013 at 11:14:25PM +0100, Philippe De Muyter wrote: Hi Shawn, On Fri, Dec 13, 2013 at 09:34:32PM +0800, Shawn Guo wrote:

Re: [RFC] sched: CPU topology try

2014-01-07 Thread Preeti U Murthy
Hi Vincent, Peter, On 12/18/2013 06:43 PM, Vincent Guittot wrote: This patch applies on top of the two patches [1][2] that have been proposed by Peter for creating a new way to initialize sched_domain. It includes some minor compilation fixes and a trial of using this new method on ARM

RE: [PATCH v3] extcon: gpio: Add power resume support

2014-01-07 Thread Rongjun Ying
-Original Message- From: Chanwoo Choi [mailto:cw00.c...@samsung.com] Sent: Tuesday, January 07, 2014 2:07 PM To: RongJun Ying Cc: MyungJoo Ham; Barry Song; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; DL-SHA-WorkGroupLinux; Rongjun Ying Subject: Re: [PATCH

Re: #pragma once?

2014-01-07 Thread Geert Uytterhoeven
On Tue, Jan 7, 2014 at 6:55 AM, Sam Ravnborg s...@ravnborg.org wrote: On Mon, Jan 06, 2014 at 12:47:07PM -0800, Josh Triplett wrote: [CCing build-system folks and others likely to know about potential issues.] Does anyone have any objection to the use of #pragma once instead of the usual

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2014-01-07 Thread Kishon Vijay Abraham I
Hi, On Monday 30 December 2013 03:13 PM, Vivek Gautam wrote: Hi Kishon, On Tue, Dec 24, 2013 at 11:15 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Thursday 05 December 2013 01:44 PM, Vivek Gautam wrote: Hi Kishon, On Wed, Dec 4, 2013 at 7:58 PM, Kishon Vijay Abraham I

Re: [RFC] sched: CPU topology try

2014-01-07 Thread Peter Zijlstra
On Tue, Jan 07, 2014 at 03:10:21PM +0530, Preeti U Murthy wrote: What if we want to add arch specific flags to the NUMA domain? Currently with Peter's patch:https://lkml.org/lkml/2013/11/5/239 and this patch, the arch can modify the sd flags of the topology levels till just before the NUMA

Re: [PATCH v2 2/2] reset: Add GPIO support to reset controller framework

2014-01-07 Thread Philipp Zabel
Hi Maxime, Am Montag, den 06.01.2014, 19:14 +0100 schrieb Maxime Ripard: +struct reset_control *gpio_reset_control_get(struct device *dev, const char *id) +{ + const char *assert_prop = reset-initially-asserted; I guess you meant reset-boot-asserted here, right? Yes, thank you.

Re: perf-stat changes after Use hrtimers for event multiplexing

2014-01-07 Thread Stephane Eranian
Hi, With the hrtitmer patch, you will get more regular multiplexing when you have idle cores during your benchmark. Without the patch, multiplexing was piggybacked on timer tick. The timer tick does not occur when a core is idle when using a tickless kernel. Thus, the quality of the results with

Re: [PATCH v2] phy: kconfig: add depends on USB_PHY to OMAP_USB2 and TWL4030_USB

2014-01-07 Thread Kishon Vijay Abraham I
On Thursday 26 December 2013 06:35 PM, Aaro Koskinen wrote: Hi, On Tue, Dec 03, 2013 at 07:38:52PM +0530, Kishon Vijay Abraham I wrote: Fixes warning: (OMAP_USB2 TWL4030_USB) selects USB_PHY which has unmet direct dependencies (USB_SUPPORT) that shows up while disabling USB_SUPPORT from

Re: [RFC] sched: CPU topology try

2014-01-07 Thread Peter Zijlstra
On Mon, Jan 06, 2014 at 05:15:30PM +, Morten Rasmussen wrote: Is there any examples of frequency domains not matching the span of a sched_domain? nafaik, but I don't really know much about this anyway. I would have thought that we would have a matching sched_domain to hang the P and C

[PATCH] media: gspaca: check pointer against NULL before using it in create_urbs()

2014-01-07 Thread Ethan Zhao
function alt_xfer() may return NULL, should check its return value passed into create_urbs() as parameter. gspca_init_transfer() { ... ... ret = create_urbs(gspca_dev,alt_xfer(intf-altsetting[alt], xfer)); ... ... } Signed-off-by: Ethan Zhao ethan.ker...@gmail.com ---

[PATCH 3/4] drm/i915: prepare intel_lvds_get_edid() for multiple calls

2014-01-07 Thread Ramkumar Ramachandra
intel_lvds_get_edid() needs to be called when switching GPUs, but it currently assumes that it will only be called once and that there's always an LVDS connector present when it's called. Fix this assumptions. Cc: Andreas Heider andr...@meetr.de Cc: Seth Forshee seth.fors...@canonical.com

[PATCH 1/4] drm/i915: add support for vga_switcheroo reprobe

2014-01-07 Thread Ramkumar Ramachandra
Cc: Andreas Heider andr...@meetr.de Cc: Seth Forshee seth.fors...@canonical.com Original-patch-by: Andreas Heider andr...@meetr.de Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- drivers/gpu/drm/i915/i915_dma.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH 4/4] drm/i915: check LVDS for EDID on GPU switches

2014-01-07 Thread Ramkumar Ramachandra
If the LVDS panel wasn't connected at boot then we won't have an EDID for it. To fix this, call intel_lvds_get_edid() from the vga_switcheroo reprobe callback. Cc: Andreas Heider andr...@meetr.de Cc: Seth Forshee seth.fors...@canonical.com Original-patch-by: Seth Forshee

[PATCH 2/4] drm/i915: factor out intel_lvds_get_edid()

2014-01-07 Thread Ramkumar Ramachandra
This code will be reused to support hybrid graphics on some Apple machines that can't get a mode for the LVDS panel at boot, so move it into a new function named intel_lvds_get_edid(). Cc: Andreas Heider andr...@meetr.de Cc: Seth Forshee seth.fors...@canonical.com Original-patch-by: Seth Forshee

[PATCH 0/4] Get EDID late for VGA switcheroo

2014-01-07 Thread Ramkumar Ramachandra
Hi, VGA switcheroo doesn't work on my 2013 MBP, and I'm trying to fix it. From what I've gathered from previous patches, it seems that the EDID is not computed at boottime, because LVDS isn't connected to the i915 card (and is connected to the nouveau card instead). So, here's a series to get

Re: [PATCH v1] xhci: Switch Intel Lynx Point ports to EHCI on shutdown

2014-01-07 Thread Takashi Iwai
At Mon, 06 Jan 2014 14:34:28 +0200, Denis Turischev wrote: Hi Sarah, On 01/03/2014 02:03 AM, Sarah Sharp wrote: Denis, do all of Compulab's Haswell systems reboot on shutdown? Are they all running a Phoenix BIOS? Can you send me the output of `sudo lspci -vvv -s` for the xHCI host?

Re: [RFC] lib: raid: New RAID library supporting up to six parities

2014-01-07 Thread Andrea Mazzoleni
Hi Neil, On 01/07, NeilBrown wrote: To do the same with up to six failures, it's now required some kind of sort function. So I would probably just make sure we always process the block is the right order. Then sorting would be irrelevant. But as I say, I haven't fiddled with the code,

Re: #pragma once?

2014-01-07 Thread Michal Marek
On 2014-01-07 10:48, Geert Uytterhoeven wrote: Furthermore some userspace may rely on doing #define XXX to avoid including a specific kernel header (yes, it's ugly). This pattern is also sometimes used: $ head -6 include/linux/spinlock_up.h #ifndef __LINUX_SPINLOCK_UP_H #define

Re: [PATCH 3.10 126/129] clocksource: arch_timer: use virtual counters

2014-01-07 Thread Mark Rutland
Hi Greg, On Mon, Jan 06, 2014 at 10:39:15PM +, Greg Kroah-Hartman wrote: 3.10-stable review patch. If anyone has any objections, please let me know. This patch alone may break ARM systems booted at hyp mode or when KVM is in use, causing CPUs to have different views of time or for a given

RE: [PATCH v3] extcon: gpio: Add power resume support

2014-01-07 Thread Rongjun Ying
-Original Message- From: Chanwoo Choi [mailto:cw00.c...@samsung.com] Sent: Tuesday, January 07, 2014 2:09 PM To: RongJun Ying Cc: MyungJoo Ham; Barry Song; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; DL-SHA-WorkGroupLinux; Rongjun Ying Subject: Re: [PATCH

Re: [PATCH 82/85] drivers: gpu: Mark functions as static in vmwgfx_kms.c

2014-01-07 Thread Jakob Bornecrantz
On Mon, Jan 6, 2014 at 5:48 PM, Rashika Kheria rashika.khe...@gmail.com wrote: Mark functions as static because they are not used outside the file drm/vmwgfx/vmwgfx_kms.c. This eliminates the following warnings in drm/vmwgfx/vmwgfx_kms.c: drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:43:6: warning: no

Re: could you clarify mm/mempolicy: fix !vma in new_vma_page()

2014-01-07 Thread Michal Hocko
On Tue 07-01-14 13:29:31, Bob Liu wrote: On Mon, Jan 6, 2014 at 10:18 PM, Michal Hocko mho...@suse.cz wrote: On Mon 06-01-14 20:45:54, Bob Liu wrote: [...] 544 if (PageAnon(page)) { 545 struct anon_vma *page__anon_vma = page_anon_vma(page); 546

Re: [RFC PATCH 8/8] sched: remove scheduler domain naming

2014-01-07 Thread Peter Zijlstra
On Mon, Jan 06, 2014 at 06:41:25PM +, Dietmar Eggemann wrote: But the MC level cpu mask func ptr is called cpu_coregroup_mask. Nothing a bit of sed won't cure very quickly indeed :-) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [linux-sunxi] Re: [PATCH 04/10] net: stmmac: sunxi platfrom extensions for GMAC in Allwinner A20 SoC's

2014-01-07 Thread Chen-Yu Tsai
Hi, On Thu, Jan 2, 2014 at 9:11 PM, srinivas kandagatla srinivas.kandaga...@st.com wrote: Hi Chen, On 24/12/13 03:27, Chen-Yu Tsai wrote: Srinivas, Let's keep platform data as of_data, so SoC compatibles can pass hardware feature flags for cores that don't support auto-detection. I

[PATCH] lib/percpu_counter.c: disable local irq when updating percpu couter

2014-01-07 Thread Ming Lei
__percpu_counter_add() may be called in softirq/hardirq handler (such as, blk_mq_queue_exit() is typically called in hardirq/softirq handler), so we need to disable local irq when updating the percpu counter, otherwise counts may be lost. The patch fixes problem that 'rmmod null_blk' may hang in

Re: [QUERY] Power consumption on a 2013 MBP

2014-01-07 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: My system freezes if I remove modules like usbhci, ahci, ehci_hcd. Correction: my input devices (keyboard, trackpad) depend on usbhci, ehci_hcd, while libata and my hard disk drivers depend on ahci; there's no way I can do without them. I'm trying to get VGA

[PATCH] netfilter: nf_conntrack: fix RCU race in nf_conntrack_find_get

2014-01-07 Thread Andrey Vagin
Lets look at destroy_conntrack: hlist_nulls_del_rcu(ct-tuplehash[IP_CT_DIR_ORIGINAL].hnnode); ... nf_conntrack_free(ct) kmem_cache_free(net-ct.nf_conntrack_cachep, ct); net-ct.nf_conntrack_cachep is created with SLAB_DESTROY_BY_RCU. The hash is protected by rcu, so readers look up

Re: [RFC v2 2/2] fs: btrfs: Extends btrfs/raid56 to support up to six parities

2014-01-07 Thread Andrea Mazzoleni
Hi Chris, On 01/06, Chris Mason wrote: Neat. The faila/failb were always my least favorite part of the btrfs code ;) Did you test just raid5/6 or also the higher parity counts? At this stage no real testing was made with btrfs. The intention of this btrfs patch is mainly to get feedback on

Re: #pragma once?

2014-01-07 Thread Josh Triplett
On Tue, Jan 07, 2014 at 11:09:11AM +0100, Michal Marek wrote: On 2014-01-07 10:48, Geert Uytterhoeven wrote: Furthermore some userspace may rely on doing #define XXX to avoid including a specific kernel header (yes, it's ugly). This pattern is also sometimes used: $ head -6

Re: [PATCH] netfilter: nf_conntrack: release conntrack from rcu callback

2014-01-07 Thread Andrey Wagin
Hi Florian, 2014/1/7 Florian Westphal f...@strlen.de: Andrew Vagin ava...@gmail.com wrote: ct = nf_ct_tuplehash_to_ctrack(h); if (unlikely(nf_ct_is_dying(ct) || !atomic_inc_not_zero(ct-ct_general.use))) //

[PATCH 0/4] tty/serial: at91: fixes dealing with port shutdown

2014-01-07 Thread Nicolas Ferre
Hi, These four fixes are pretty important for our atmel_serial driver as they deal with closing/re-opening of ports. They fix race condition and null pointers dereference. I added the stable tag to each of them (v3.12). Even if we are late in the development cycle, can you please consider

Re: [RFC PATCH 04/14] ACPI: Add ACPI 5.0 Time and Alarm Device driver

2014-01-07 Thread joeyli
於 一,2014-01-06 於 21:37 -0800,H. Peter Anvin 提到: On 01/06/2014 12:58 AM, joeyli wrote: 於 二,2013-12-31 於 16:42 -0800,H. Peter Anvin 提到: On 12/19/2013 09:41 PM, joeyli wrote: What platform do you have that has TAD support? I am wondering how this was tested. It's a testing platform

Re: [PATCH 1/4] drm/i915: add support for vga_switcheroo reprobe

2014-01-07 Thread Chris Wilson
On Tue, Jan 07, 2014 at 03:28:40PM +0530, Ramkumar Ramachandra wrote: Cc: Andreas Heider andr...@meetr.de Cc: Seth Forshee seth.fors...@canonical.com Original-patch-by: Andreas Heider andr...@meetr.de Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- drivers/gpu/drm/i915/i915_dma.c

Re: [RFC] sched: CPU topology try

2014-01-07 Thread Preeti U Murthy
On 01/07/2014 03:20 PM, Peter Zijlstra wrote: On Tue, Jan 07, 2014 at 03:10:21PM +0530, Preeti U Murthy wrote: What if we want to add arch specific flags to the NUMA domain? Currently with Peter's patch:https://lkml.org/lkml/2013/11/5/239 and this patch, the arch can modify the sd flags of the

Re: [PATCH v7 00/15] PCI: Allocate 64-bit BARs above 4G when possible

2014-01-07 Thread Daniel Vetter
On Mon, Jan 06, 2014 at 05:55:12PM -0700, Bjorn Helgaas wrote: This is basically v7 of Yinghai's patch series: http://lkml.kernel.org/r/1387485843-17403-1-git-send-email-ying...@kernel.org The goal is to try to put 64-bit BARs above 4G so we can preserve the 32-bit bus address space for

[PATCH 2/4] tty/serial: at91: fix race condition in atmel_serial_remove

2014-01-07 Thread Nicolas Ferre
From: Marek Roszko mark.ros...@gmail.com The _remove callback could be called when a tasklet is scheduled. tasklet_kill was called inside the function in order to free up any scheduled tasklets. However it was called after uart_remove_one_port which destroys tty references needed in the port for

[PATCH 1/4] tty/serial: at91: Handle shutdown more safely

2014-01-07 Thread Nicolas Ferre
From: Marek Roszko mark.ros...@gmail.com Interrupts were being cleaned up late in the shutdown handler, it is possible that an interrupt can occur and schedule a tasklet that runs after the port is cleaned up. There is a null dereference due to this race condition with the following stacktrace:

Re: [PATCH 4/4] drm/i915: check LVDS for EDID on GPU switches

2014-01-07 Thread Chris Wilson
On Tue, Jan 07, 2014 at 03:28:43PM +0530, Ramkumar Ramachandra wrote: If the LVDS panel wasn't connected at boot then we won't have an EDID for it. To fix this, call intel_lvds_get_edid() from the vga_switcheroo reprobe callback. I would rather have an iterator over all our connectors (or

[PATCH 3/4] tty/serial: at91: prevent null dereference in tasklet function

2014-01-07 Thread Nicolas Ferre
From: Marek Roszko mark.ros...@gmail.com Something asks a tasklet to be scheduled when the uart port is closed. Need to supress the kernel panic for now by checking if the port is NULL or not. Signed-off-by: Marek Roszko mark.ros...@gmail.com Acked-by: Leilei Zhao leilei.z...@atmel.com Cc:

[PATCH 4/4] tty/serial: at91: reset rx_ring when port is shutdown

2014-01-07 Thread Nicolas Ferre
From: Mark Deneen mden...@gmail.com When using RX DMA, the driver won't pass any data to the uart layer until the buffer is flipped. When the port is shutdown, the dma buffers are unmapped, but the head and tail of the ring buffer are not reseted. Since the serial console will keep the port open,

Re: [PATCH 0/4] tty/serial: at91: fixes dealing with port shutdown

2014-01-07 Thread Nicolas Ferre
On 07/01/2014 11:41, Nicolas Ferre : Hi, Sorry for the noise: I messed up with git-send-email... I re-sent the whole series. Bye, These four fixes are pretty important for our atmel_serial driver as they deal with closing/re-opening of ports. They fix race condition and null pointers

Re: [PATCH 3.2 056/185] mm: ensure get_unmapped_area() returns higher address than mmap_min_addr

2014-01-07 Thread Luis Henriques
On Tue, Jan 07, 2014 at 11:25:30AM +0900, Akira Takeuchi wrote: On Mon, 6 Jan 2014 12:32:07 + Luis Henriques luis.henriq...@canonical.com wrote: On Mon, Jan 06, 2014 at 07:19:10PM +0900, Akira Takeuchi wrote: On Fri, 03 Jan 2014 04:26:43 + Ben Hutchings b...@decadent.org.uk

Re: #pragma once?

2014-01-07 Thread Josh Triplett
On Tue, Jan 07, 2014 at 10:48:53AM +0100, Geert Uytterhoeven wrote: On Tue, Jan 7, 2014 at 6:55 AM, Sam Ravnborg s...@ravnborg.org wrote: On Mon, Jan 06, 2014 at 12:47:07PM -0800, Josh Triplett wrote: [CCing build-system folks and others likely to know about potential issues.] Does

Re: [PATCH 82/85] drivers: gpu: Mark functions as static in vmwgfx_kms.c

2014-01-07 Thread Josh Triplett
On Tue, Jan 07, 2014 at 11:21:12AM +0100, Jakob Bornecrantz wrote: On Mon, Jan 6, 2014 at 5:48 PM, Rashika Kheria rashika.khe...@gmail.com wrote: Mark functions as static because they are not used outside the file drm/vmwgfx/vmwgfx_kms.c. This eliminates the following warnings in

Re: [PATCH v4 4/6] devicetree: bindings: Document Krait L1/L2 EDAC

2014-01-07 Thread Lorenzo Pieralisi
On Mon, Dec 30, 2013 at 08:14:15PM +, Stephen Boyd wrote: The Krait L1/L2 error reporting device is made up of two interrupts, one per-CPU interrupt for the L1 caches and one interrupt for the L2 cache. Cc: Lorenzo Pieralisi lorenzo.pieral...@arm.com Cc: Mark Rutland

Re: [PATCH 1/4] drm/i915: add support for vga_switcheroo reprobe

2014-01-07 Thread Ramkumar Ramachandra
Hi Chris, Chris Wilson wrote: diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 5c64842..336a835b 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1265,6 +1265,12 @@ static void i915_switcheroo_set_state(struct

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2014-01-07 Thread Vivek Gautam
HI Kishon On Tue, Jan 7, 2014 at 3:19 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Monday 30 December 2013 03:13 PM, Vivek Gautam wrote: Hi Kishon, On Tue, Dec 24, 2013 at 11:15 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Thursday 05 December 2013 01:44 PM,

  1   2   3   4   5   6   7   8   >