Re: [Ocfs2-devel] [PATCH] fs: ocfs2: move_extents.c: Fix for possible null pointer dereference

2014-05-27 Thread Rickard Strandqvist
Hi Ok good, then everything is under control. The result has been that I've done a number of these types of patches to :) Sending a new patch of that kind then. Best regards Rickard Strandqvist 2014-05-26 5:28 GMT+02:00 Jeff Liu jeff@oracle.com: Hi, On 05/23/2014 04:46 AM, Rickard

Re: [PATCH] of: handle NULL node in of_get_next_available_child

2014-05-27 Thread Grant Likely
On Tue, 27 May 2014 10:36:10 -0700, Florian Fainelli f.faine...@gmail.com wrote: Hi Grant, 2014-05-27 4:19 GMT-07:00 Grant Likely grant.lik...@linaro.org: On Fri, 23 May 2014 12:43:11 -0700, Florian Fainelli f.faine...@gmail.com wrote: Add an early check for the node argument in

[PATCH] fs: ocfs2: move_extents.c: Fix to remove null pointer checks that could never happen

2014-05-27 Thread Rickard Strandqvist
Removal of null pointer checks that could never happen Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- fs/ocfs2/move_extents.c |3 --- 1 file changed, 3 deletions(-) diff --git a/fs/ocfs2/move_extents.c b/fs/ocfs2/move_extents.c index 599eb4c..9ba3a10 100644

Re: [PATCH v1] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-27 Thread Kevin Hilman
On Fri, May 23, 2014 at 1:03 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 20 May 2014 13:42:02 +0300, Grygorii Strashko grygorii.stras...@ti.com wrote: The commit 9ec36cafe43bf835f8f29273597a5b0cbc8267ef of/irq: do irq resolution in platform_get_irq from Rob Herring - moves

Re: [PATCH] arm: Set hardirq tracing to on when idling

2014-05-27 Thread Stephen Boyd
On 05/27/14 12:39, Arnd Bergmann wrote: On Tuesday 27 May 2014 12:33:38 Stephen Boyd wrote: On 05/27/14 12:27, Arnd Bergmann wrote: On Tuesday 27 May 2014 11:53:59 Stephen Boyd wrote: On 05/27/14 11:49, Arnd Bergmann wrote: You also commented in that thread about stop_critical_timings()/

Re: [PATCH v2 00/18] Cross-architecture definitions of relaxed MMIO accessors

2014-05-27 Thread Benjamin Herrenschmidt
On Tue, 2014-05-27 at 20:32 +0100, Will Deacon wrote: Why would you need two barriers? I would have though an mmiowb() inlined into writel after the store operation would be sufficient. Or is this to ensure a non-relaxed write is ordered with respect to a relaxed write? Well, so the

Re: [PATCH v6 3/7] arm64: Add a description on 48-bit address space with 4KB pages

2014-05-27 Thread Christoffer Dall
On Mon, May 12, 2014 at 06:40:44PM +0900, Jungseok Lee wrote: This patch adds memory layout and translation lookup information about 48-bit address space with 4K pages. The description is based on 4 levels of translation tables. Cc: Catalin Marinas catalin.mari...@arm.com Cc: Steve Capper

Re: [PATCH v2 00/18] Cross-architecture definitions of relaxed MMIO accessors

2014-05-27 Thread Benjamin Herrenschmidt
On Tue, 2014-05-27 at 20:34 +0100, Will Deacon wrote: Do you mean the io{read,write} functions? Funnily enough, they're already relaxed on ARM if you go by the semantics I've proposed. That implies we at least need some Documentation to that effect... What do you do on ppc? They are not

Re: [PATCH] fix busted pr_info conversion in kernel/workqueue.c

2014-05-27 Thread Valdis . Kletnieks
On Tue, 27 May 2014 20:44:33 +0200, Fabian Frederick said: Hello Valdis, I thought Tejun directly reverted that patch (Joe Perches noticed the level problem just after submit).Anyway, problem is solved now :) Tejun - can you see if that patch in fact got reverted? It made it into the

Re: [PATCH] Staging: rtl8192u: r8180_93cx6.c r8192U_wx.c fix checkpatch.pl errors and warnings

2014-05-27 Thread Chaitanya Hazarey
Hey DaeSeok, I fixed all of them except - this if condition like below: if (5 == wrqu-encoding.length || 13 == wrqu-encoding.length) mask = 0x00; and this should be outside for loop Can you please elaborate on this? Thanks, Chaitanya On Mon, May 26, 2014 at 11:56 PM, DaeSeok Youn

Re: [RFC PATCH 1/9] dt: deps: dtc: Automatically add new property 'dependencies' which contains a list of referenced phandles

2014-05-27 Thread Alexander Holler
Am 27.05.2014 22:02, schrieb Grant Likely: On Mon, 19 May 2014 14:35:49 +0200, Alexander Holler hol...@ahsoftware.de wrote: What's still questionable about the patches for dtc is if dependencies to devices and not just drivers should be included in the new property dependencies too. My

Re: [PATCH v2 00/18] Cross-architecture definitions of relaxed MMIO accessors

2014-05-27 Thread Will Deacon
On Tue, May 27, 2014 at 09:21:38PM +0100, Benjamin Herrenschmidt wrote: On Tue, 2014-05-27 at 20:32 +0100, Will Deacon wrote: Why would you need two barriers? I would have though an mmiowb() inlined into writel after the store operation would be sufficient. Or is this to ensure a

Re: [PATCH v2 00/18] Cross-architecture definitions of relaxed MMIO accessors

2014-05-27 Thread Will Deacon
On Tue, May 27, 2014 at 09:23:30PM +0100, Benjamin Herrenschmidt wrote: On Tue, 2014-05-27 at 20:34 +0100, Will Deacon wrote: Do you mean the io{read,write} functions? Funnily enough, they're already relaxed on ARM if you go by the semantics I've proposed. That implies we at least need

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-27 Thread Tony Lindgren
* Sebastian Reichel s...@kernel.org [140521 17:06]: On Wed, May 21, 2014 at 03:08:07PM -0700, Tony Lindgren wrote: * Sebastian Reichel s...@kernel.org [140521 14:51]: Feel free to add Tested-by/Acked-By to the hwmod patch. OK thanks for testing. You are welcome. I'll apply

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

2014-05-27 Thread Tomasz Figa
On 27.05.2014 22:17, Tarek Dakhran wrote: Hi, On Tue, May 27, 2014 at 9:44 PM, Kevin Hilman khil...@linaro.org wrote: Kevin Hilman khil...@linaro.org writes: Tarek Dakhran t.dakh...@samsung.com writes: The series of patches represent support of Exynos 5410 SoC The Exynos 5410 is the

Re: [PATCH 1/6] Staging: rtl8192u: r8180_93cx6.c r8192U_wx.c fix checkpatch.pl errors and warnings

2014-05-27 Thread Dan Carpenter
On Tue, May 27, 2014 at 01:09:45PM -0700, Chaitanya Hazarey wrote: Fixed the following: ERROR: do not use C99 // comments ERROR: space required after that ',' (ctx:VxV) ERROR: space required after that ';' (ctx:VxV) ERROR: space required before the open brace '{' ERROR: spaces required

Re: [PATCH 06/15] staging: rtl8188eu:Remove unused function rtl8188eu_set_hw_type()

2014-05-27 Thread Dan Carpenter
These would have been easier to review if this patch were folded in with the previous two patches. What I look for in these patches is, Will the compile break if you get it wrong? For [PATCH 04/15] staging: rtl8188eu:Assign RTL8188E to padapter-chip_type directly, you could get it wrong and the

Re: [PATCH 0/5] driver core: Clean up dev_get/set_drvdata

2014-05-27 Thread Greg KH
On Mon, Apr 14, 2014 at 12:48:02PM +0200, Jean Delvare wrote: This patch set is a proposal to revert most of commit b4028437. This would solve a memory leak and also allow to simplify and ultimately inline again functions dev_get_drvdata and dev_set_drvdata for smaller footprint and improved

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-27 Thread Sebastian Reichel
On Tue, May 27, 2014 at 01:35:44PM -0700, Tony Lindgren wrote: Based on chatting with Paul it seems that we most likely don't have bits for sysc_flags for SYSC_HAS_EMUFREE or SYSS_HAS_RESET_STATUS either. So applying the updated patch below, and the SSI dts changes into omap-for-v3.16/dt-v2.

[PATCH v2] pinctrl: msm: Add missing sdc1 and sdc3 groups

2014-05-27 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- Thought I already sent you parts of this previously, sorry about that. This should apply on your devel branch. drivers/pinctrl/pinctrl-apq8064.c | 47 +++ 1 file changed, 47 insertions(+) diff

Re: [PATCH] mm/zswap : NUMA aware allocation for zswap_dstmem

2014-05-27 Thread David Rientjes
On Tue, 27 May 2014, Eric Dumazet wrote: From: Eric Dumazet eduma...@google.com zswap_dstmem is a percpu block of memory, which should be allocated using kmalloc_node(), to get better NUMA locality. Without it, all the blocks are allocated from a single node. Signed-off-by: Eric

Re: [PATCH 10/15] staging: rtl8188eu:Remove unused variable struct adapter *pbuddy_padapter

2014-05-27 Thread Dan Carpenter
This one as well would have been easier to review if you folded patches 7-10 together. 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 majordomo info at

Re: balance storm

2014-05-27 Thread Thomas Gleixner
On Tue, 27 May 2014, Libo Chen wrote: On 2014/5/27 17:55, Mike Galbraith wrote: On Tue, 2014-05-27 at 15:56 +0800, Libo Chen wrote: On 2014/5/26 22:19, Mike Galbraith wrote: On Mon, 2014-05-26 at 20:16 +0800, Libo Chen wrote: On 2014/5/26 13:11, Mike Galbraith wrote: Your

Re: perf: fuzzer getting stuck with slow memory leak

2014-05-27 Thread Vince Weaver
On Tue, 27 May 2014, Vince Weaver wrote: On Tue, 27 May 2014, Vince Weaver wrote: OK, the problem is in: kernel/events/core.c find_get_context() retry: perf_lock_task_context() returns NULL. alloc_perf_context() task-perf_event_ctxp[ctxn] is *not* NULL

Re: [PATCH 0/5] driver core: Clean up dev_get/set_drvdata

2014-05-27 Thread Jean Delvare
On Tue, 27 May 2014 13:50:36 -0700, Greg KH wrote: On Mon, Apr 14, 2014 at 12:48:02PM +0200, Jean Delvare wrote: This patch set is a proposal to revert most of commit b4028437. This would solve a memory leak and also allow to simplify and ultimately inline again functions dev_get_drvdata

Re: [PATCHv5 1/3] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-05-27 Thread Alan Tull
On Tue, May 27, 2014 at 2:42 PM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: On Tue, May 27, 2014 at 02:12:17PM -0500, Alan Tull wrote: On Tue, May 27, 2014 at 2:11 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: On Wed, May 21, 2014 at 10:38:34AM -0500, Thor Thayer wrote: On

Re: blk-mq: refactor request allocation

2014-05-27 Thread Jens Axboe
On 05/27/2014 12:59 PM, Christoph Hellwig wrote: This series streamlines the request allocation path. Series looks innocuous enough to me, but it's about a 1.5% performance drop here with an actual device. These tests are very stable, anything over ~0.1% is definitely outside of noise. I

[PATCH v2] sched/numa: Fix use of spin_{un}lock_irq() when interrupts are disabled

2014-05-27 Thread Steven Rostedt
As Peter Zijlstra told me, we have the following path: do_exit() exit_itimers() itimer_delete() spin_lock_irqsave(timer-it_lock, flags); timer_delete_hook(timer); kc-timer_del(timer) := posix_cpu_timer_del() put_task_struct() __put_task_struct()

Re: [PATCH] sched/numa: Fix use of spin_{un}lock_irq() when interrupts are disabled

2014-05-27 Thread Steven Rostedt
On Tue, 27 May 2014 13:20:25 -0700 Eric Dumazet eric.duma...@gmail.com wrote: Your patch was mangled it seems... Grumble. One of these days I'm going to hack the claws-mail client to fix it's random decisions to format the entire email :-p Fixes: 60e69eed85bb (sched/numa: Fix

perf: perf_fuzzer gpf in __get_cpu_context()

2014-05-27 Thread Vince Weaver
I've seen this issue at least twice now on my Haswell machine. This is on 3.15-rc7. Totally locks the machine. You can see the slab poison on RAX. The IP maps to __get_cpu_context(). Sadly this one isn't reproducible and often takes 10+ hours of fuzzing to hit it. [27432.633290] general

Re: [PATCH] PCI: Test for std config alias when testing extended config space

2014-05-27 Thread Bjorn Helgaas
On Mon, May 05, 2014 at 02:20:51PM -0600, Alex Williamson wrote: When a PCI-to-PCIe bridge is stacked on a PCIe-to-PCI bridge, we can have PCIe endpoints masked by a conventional PCI bus. This makes the extended config space of the PCIe endpoing inaccessible. The PCIe-to- PCI bridge is

[PATCH] usb: pci_quirks: fix sparse 'symbol not declared' warning

2014-05-27 Thread Konrad Zapalowicz
This commit fixes the following sparse warning: drivers/usb/host/pci-quirks.c: - 252: warning: symbol 'usb_hcd_amd_remote_wakeup_quirk' was not declared. Should it be static? This function is exported so the fix was to add it's declaration to the header file. Signed-off-by: Konrad

Re: [PATCH 0/8] Enable dma driver for MIC X100 Coprocessors.

2014-05-27 Thread Greg Kroah-Hartman
On Wed, May 07, 2014 at 08:10:57PM -0700, Sudeep Dutt wrote: On Thu, 2014-04-24 at 11:10 -0700, Siva Krishna Yerramreddy wrote: On Mon, 2014-04-14 at 13:14 -0700, Siva Yerramreddy wrote: I am sending all these patches to char-misc because there is a dependency between the patches for dma

Re: [PATCH v2] ehea: Introduce the use of the managed version of kzalloc

2014-05-27 Thread Thadeu Lima de Souza Cascardo
On Mon, May 26, 2014 at 12:20:38AM +0530, Himangi Saraogi wrote: This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, linux/device.h is added to make sure the devm_*() routine

[RFC/PATCH] ksm: add vma size threshold parameter

2014-05-27 Thread Vitaly Wool
Hi, I have recently been poking around saving memory on low-RAM Android devices, basically following the Google KSM+ZRAM guidelines for KitKat and measuring the gain/performance. While getting quite some RAM savings indeed (in the range of 10k-20k pages) we noticed that kswapd used a lot of

[PATCH] x86: intel-mid: fix watchdog platform code

2014-05-27 Thread David Cohen
This patch fixes missing include asm/io_apic.h which may lead to following error: arch/x86/platform/intel-mid/device_libs/platform_wdt.c: In function 'tangier_probe': arch/x86/platform/intel-mid/device_libs/platform_wdt.c:37:2: error: implicit declaration of function 'mp_find_ioapic'

Re: [char-misc-next 1/3] mei: move from misc to char device

2014-05-27 Thread Greg KH
On Tue, May 13, 2014 at 11:21:59AM +0300, Tomas Winkler wrote: From: Alexander Usyskin alexander.usys...@intel.com We need to support more then one mei interface hence the simple misc devices is not longer an option. We use char device now with to not break application space we preserve

Re: [PATCH 1/6] Staging: rtl8192u: r8180_93cx6.c r8192U_wx.c fix checkpatch.pl errors and warnings

2014-05-27 Thread Chaitanya Hazarey
Well, it is what it is, will send the patch the right way. Best, Chaitanya On Tue, May 27, 2014 at 1:39 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Tue, May 27, 2014 at 01:09:45PM -0700, Chaitanya Hazarey wrote: Fixed the following: ERROR: do not use C99 // comments ERROR: space

Re: [PATCH 6/9] staging: ion: remove struct page_info

2014-05-27 Thread Dan Carpenter
On Tue, May 27, 2014 at 11:36:07AM -0700, Mitchel Humpherys wrote: On Mon, May 26 2014 at 03:04:58 AM, Heesub Shin heesub.s...@samsung.com wrote: -static struct page_info *alloc_largest_available(struct ion_system_heap *heap, -struct ion_buffer

Re: [char-misc-next 3/3] mei: add WPT second mei interface

2014-05-27 Thread Greg KH
On Tue, May 13, 2014 at 11:22:01AM +0300, Tomas Winkler wrote: From: Alexander Usyskin alexander.usys...@intel.com Add WPT second mei interface. In order for correct device numbering we add mei device interface id to to mei_cfg structure Signed-off-by: Alexander Usyskin

[PATCH] remove duplicated comment and fix brace placement in drivers/staging/comedi/drivers/addi-data/hwdrv_acpi3501.c

2014-05-27 Thread Marcin Kostrzewa
Signed-off-by: Marcin Kostrzewa marckostrz...@gmail.com --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c

Re: [PATCH 0/3] Shrinkers and proportional reclaim

2014-05-27 Thread Hugh Dickins
On Tue, 27 May 2014, Dave Chinner wrote: On Mon, May 26, 2014 at 02:44:29PM -0700, Hugh Dickins wrote: [PATCH 4/3] fs/superblock: Avoid counting without __GFP_FS Don't waste time counting objects in super_cache_count() if no __GFP_FS: super_cache_scan() would only back out with

[PATCH] x86: intel-mid: fix watchdog platform code

2014-05-27 Thread David Cohen
This patch fixes missing include asm/io_apic.h which may lead to following error: arch/x86/platform/intel-mid/device_libs/platform_wdt.c: In function 'tangier_probe': arch/x86/platform/intel-mid/device_libs/platform_wdt.c:37:2: error: implicit declaration of function 'mp_find_ioapic'

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

2014-05-27 Thread J. Bruce Fields
On Mon, May 26, 2014 at 11:18:15AM +1000, Stephen Rothwell wrote: Hi Bruce, After merging the nfsd tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/nfsd/nfs4proc.c: In function 'warn_on_nonidempotent_op': fs/nfsd/nfs4proc.c:1861:3: error: implicit declaration

Re: [Patch V3 05/37] x86, PCI, ACPI: use kmalloc_node() to optimize for performance

2014-05-27 Thread David Rientjes
On Tue, 27 May 2014, Jiang Liu wrote: Use kmalloc_node() instead of kmalloc() when possible to optimize for performance on NUMA platforms. Signed-off-by: Jiang Liu jiang@linux.intel.com Acked-by: David Rientjes rient...@google.com All the handling to make sure sd-node refers to either

Re: [PATCH] remove duplicated comment and fix brace placement in drivers/staging/comedi/drivers/addi-data/hwdrv_acpi3501.c

2014-05-27 Thread Dan Carpenter
The subject should be: [PATCH] Staging: comedi: addi-data: short title. clean up else statement On Tue, May 27, 2014 at 02:17:35PM +, Marcin Kostrzewa wrote: Signed-off-by: Marcin Kostrzewa marckostrz...@gmail.com --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c | 4 +---

Re: [PATCH 2/2] ARM: dts: mvebu: split SolidRun CuBox into variants

2014-05-27 Thread Jason Cooper
On Tue, May 27, 2014 at 07:28:09PM +0200, Sebastian Hesselbarth wrote: On 05/27/2014 06:11 PM, Jason Cooper wrote: On Mon, May 26, 2014 at 11:33:29PM +0200, Sebastian Hesselbarth wrote: As Mainlining effort for SolidRun CuBox has been carried out on the Engineering Sample, the board DTS was

[PATCH mmotm/next] memcg-mm-introduce-lowlimit-reclaim-fix2.patch

2014-05-27 Thread Hugh Dickins
mem_cgroup_within_guarantee() oopses in _raw_spin_lock_irqsave() when booted with cgroup_disable=memory. Fix that in the obvious inelegant way for now - though I hope we are moving towards a world in which almost all of the mem_cgroup_disabled() tests will vanish, with a root_mem_cgroup which can

[PATCH 4/9] tlan: Fix MAC address byte order on OC-2325/OC-2326

2014-05-27 Thread Ondrej Zary
Olicom OC-2325 and OC-2326 cards have the MAC address byte-swapped in EEPROM. Byte-swap the MAC address if it's located at offset 0xF8. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

[PATCH 5/9] tlan: Restart autonegotiation on link loss

2014-05-27 Thread Ondrej Zary
When link is lost on a card which uses internal PHY for 10 Mbit speeds, restart autonegotiation to allow switching between 10 and 100 Mbps speeds. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c | 14 ++ 1 file changed, 14 insertions(+)

[PATCH 7/9] tlan: Make autonegotiation faster

2014-05-27 Thread Ondrej Zary
Reduce the autonegotiation poll interval from 8 seconds to 2. This greatly reduces the time needed to detect link presence, especially on Olicom cards at 10 Mbps (two autonegoatiations required). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c |2 +-

[PATCH mmotm/next] vmscan-memcg-always-use-swappiness-of-the-reclaimed-memcg-swappiness-and-o om-control-fix.patch

2014-05-27 Thread Hugh Dickins
mem_cgroup_swappiness() oopses immediately when booted with cgroup_disable=memory. Fix that in the obvious inelegant way for now - though I hope we are moving towards a world in which almost all of the mem_cgroup_disabled() tests will vanish, with a root_mem_cgroup which can handle the basics

[PATCH 9/9] tlan: Don't disable internal PHY on cards that use it in 10 Mbps mode

2014-05-27 Thread Ondrej Zary
In tlan_reset_adapter, we disable internal PHY when an external one is used. On cards which use internal PHY in 10 Mbps mode, we enable it later when setting 10 Mbps mode but it does not really work (PHY fails to reset). Leave it enabled instead. Signed-off-by: Ondrej Zary

Re: [PATCH v2 1/4] devicetree: bindings: Properly document micrel ks8851 SPI chips

2014-05-27 Thread Stephen Boyd
On 05/24/14 05:48, Mark Brown wrote: On Fri, May 23, 2014 at 12:57:17PM -0700, Stephen Boyd wrote: Optional properties: -- vdd-supply: supply for Ethernet mac +- vdd-supply: analog 3.3V supply for Ethernet mac +- vdd-io-supply: digital 1.8V IO supply for Ethernet mac So, according to

[PATCH] Staging: comedi: addi-data: clean up formatting of the else statement

2014-05-27 Thread Marcin Kostrzewa
Signed-off-by: Marcin Kostrzewa marckostrz...@gmail.com --- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c

[PATCH 8/9] tlan: Add PHY reset timeout

2014-05-27 Thread Ondrej Zary
Add a timeout to prevent infinite loop waiting for PHY to reset. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/ti/tlan.c

[PATCH 6/9] tlan: Don't scream if no link

2014-05-27 Thread Ondrej Zary
Remove excess printks when the link is down. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c |9 - drivers/net/ethernet/ti/tlan.h |1 - 2 files changed, 10 deletions(-) diff --git a/drivers/net/ethernet/ti/tlan.c

[PATCH 1/9] tlan: Enable activity LED on Olicom OC-2325 and OC-2326

2014-05-27 Thread Ondrej Zary
Olicom OC-2325 and OC-2326 ethernet cards have an activity LED but it does not work with tlan driver as it's not enabled. Enable it. Tested with OC-2326. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c |6 -- 1 file changed, 4 insertions(+), 2

[PATCH 2/9] tlan: Enable link monitoring

2014-05-27 Thread Ondrej Zary
Enable old link monitoring code and modify it: - control LINK LED - use separate timer so it does not interfere with ACT LED Tested with Olicom OC-2326. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c | 115 +---

[PATCH 0/9] tlan: Link handling improvements and Olicom fixes

2014-05-27 Thread Ondrej Zary
This patch series improves link handling in tlan driver, allowing the cable to be (un)plugged anytime and NetworkManager to work properly. Also there are some bugfixes related to Olicom OC-2326 card. But one bug remains: packet loss at 10 Mbps under load. As wireshark shows, the card does not

[PATCH 3/9] tlan: Add ethtool support

2014-05-27 Thread Ondrej Zary
Add basic ethtool support to tlan driver: - driver info - link detect (this allows NetworkManager to detect carrier) - EEPROM read Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c | 37 +

RE: [char-misc-next 3/3] mei: add WPT second mei interface

2014-05-27 Thread Winkler, Tomas
+/* PCH devices MEI 2 interface */ +const struct mei_cfg mei_me_pch_2_cfg = { + MEI_CFG_PCH_HFS, + .mei_id = 1 That's going to be a recipe for disaster. Have the MEI core allocate the id numbers as things are registered, don't have the individual drivers create their id. I'm

Re: [PATCH v2] tracing: Don't account for cpu idle time with irqsoff tracers

2014-05-27 Thread Steven Rostedt
On Tue, 27 May 2014 22:11:25 +0200 Arnd Bergmann a...@arndb.de wrote: On Tuesday 27 May 2014 13:08:04 Stephen Boyd wrote: @@ -380,7 +382,7 @@ start_critical_timing(unsigned long ip, unsigned long parent_ip) cpu = raw_smp_processor_id(); - if (per_cpu(tracing_cpu,

Re: [PATCH 2/2] ARM: dts: mvebu: split SolidRun CuBox into variants

2014-05-27 Thread Sebastian Hesselbarth
On 05/27/2014 11:35 PM, Jason Cooper wrote: On Tue, May 27, 2014 at 07:28:09PM +0200, Sebastian Hesselbarth wrote: On 05/27/2014 06:11 PM, Jason Cooper wrote: On Mon, May 26, 2014 at 11:33:29PM +0200, Sebastian Hesselbarth wrote: As Mainlining effort for SolidRun CuBox has been carried out on

RE: [PATCH] x86, MCE: Flesh out when to panic comment

2014-05-27 Thread Luck, Tony
I think the comment is still not explaining the big part of what the discussion was about -- i.e. if it was in kernel context, we always panic. I thought the pointer to mce_severity was enough? People should open an editor and look at the function and at its gory insanity. :-P It is far

[RFC PATCH 0/2] Loop device psuedo filesystem

2014-05-27 Thread Seth Forshee
I'm posting these patches in response to the ongoing discussion of loop devices in containers at [1]. The patches implement a psuedo filesystem for loop devices, which will allow use of loop devices in containters using standard utilities. Under normal use a loopfs mount will initially contain a

[RFC PATCH 1/2] loop: Add loop filesystem

2014-05-27 Thread Seth Forshee
Add limited capability for use of loop devices in containers via a loopfs psuedo fs. When mounted this filesystem will contain only a loop-control device node. This can be used to request free loop devices which will be owned by that mount. Device nodes appear automatically for these devices, and

[RFC PATCH 2/2] loop: Permit priveleged operations within user namespaces

2014-05-27 Thread Seth Forshee
Priveleged operations should be allowed on loop devices within a devloop mount by root within the user namespace which owns the mount. Stash away the namespace at mount time and allow CAP_SYS_ADMIN within this namespace to perform priveleged operations on loop devices. Signed-off-by: Seth Forshee

[PATCH v2 2/2] ARM: dts: mvebu: split SolidRun CuBox into variants

2014-05-27 Thread Sebastian Hesselbarth
As Mainlining effort for SolidRun CuBox has been carried out on the Engineering Sample, the board DTS was reflecting this. Actually, SolidRun CuBox comes in three different variants: Engineering Sample (ES), production with 1GB RAM (1G), and production with 2GB RAM (2G). Therefore, we base

Re: [PATCH mmotm/next] memcg-mm-introduce-lowlimit-reclaim-fix2.patch

2014-05-27 Thread Andrew Morton
On Tue, 27 May 2014 14:36:04 -0700 (PDT) Hugh Dickins hu...@google.com wrote: mem_cgroup_within_guarantee() oopses in _raw_spin_lock_irqsave() when booted with cgroup_disable=memory. Fix that in the obvious inelegant way for now - though I hope we are moving towards a world in which almost

Re: [char-misc-next 3/3] mei: add WPT second mei interface

2014-05-27 Thread Greg KH
On Tue, May 27, 2014 at 09:42:19PM +, Winkler, Tomas wrote: +/* PCH devices MEI 2 interface */ +const struct mei_cfg mei_me_pch_2_cfg = { + MEI_CFG_PCH_HFS, + .mei_id = 1 That's going to be a recipe for disaster. Have the MEI core allocate the id numbers as things are

Re: [PATCHv3 3/6] mm/zpool: implement common zpool api to zbud/zsmalloc

2014-05-27 Thread Seth Jennings
On Sat, May 24, 2014 at 03:06:06PM -0400, Dan Streetman wrote: Add zpool api. zpool provides an interface for memory storage, typically of compressed memory. Users can select what backend to use; currently the only implementations are zbud, a low density implementation with up to two

Re: [GIT PULL] KVM fixes for 3.15-rc6

2014-05-27 Thread Paul Mackerras
On Fri, May 16, 2014 at 05:28:32PM +0200, Paolo Bonzini wrote: Linus, The following changes since commit 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd: Linux 3.15-rc4 (2014-05-04 18:14:42 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git

Re: [patch 1/6] rtmutex: Fix deadlock detector for real

2014-05-27 Thread Steven Rostedt
On Thu, 22 May 2014 03:25:39 - Thomas Gleixner t...@linutronix.de wrote: The current deadlock detection logic does not work reliably due to the following early exit path: /* * Drop out, when the task has no waiters. Note, * top_waiter can be NULL, when we are in the

Re: [RFC PATCH 0/2] Loop device psuedo filesystem

2014-05-27 Thread Andy Lutomirski
On Tue, May 27, 2014 at 2:58 PM, Seth Forshee seth.fors...@canonical.com wrote: I'm posting these patches in response to the ongoing discussion of loop devices in containers at [1]. The patches implement a psuedo filesystem for loop devices, which will allow use of loop devices in containters

Re: [PATCH v2] tracing: Don't account for cpu idle time with irqsoff tracers

2014-05-27 Thread Stephen Boyd
On 05/27/14 14:48, Steven Rostedt wrote: On Tue, 27 May 2014 22:11:25 +0200 Arnd Bergmann a...@arndb.de wrote: On Tuesday 27 May 2014 13:08:04 Stephen Boyd wrote: @@ -380,7 +382,7 @@ start_critical_timing(unsigned long ip, unsigned long parent_ip) cpu = raw_smp_processor_id();

Re: [PATCH 2/2] ARM: dts: mvebu: split SolidRun CuBox into variants

2014-05-27 Thread Heiko Stübner
Am Dienstag, 27. Mai 2014, 23:50:29 schrieb Sebastian Hesselbarth: On 05/27/2014 11:35 PM, Jason Cooper wrote: On Tue, May 27, 2014 at 07:28:09PM +0200, Sebastian Hesselbarth wrote: On 05/27/2014 06:11 PM, Jason Cooper wrote: On Mon, May 26, 2014 at 11:33:29PM +0200, Sebastian Hesselbarth

Re: [PATCH] pci: Save and restore VFs as a part of a reset

2014-05-27 Thread Bjorn Helgaas
On Mon, May 05, 2014 at 02:25:17PM -0700, Alexander Duyck wrote: This fixes an issue I found in which triggering a reset via the PCI sysfs reset while SR-IOV was enabled would leave the VFs in a state in which the BME and MSI-X enable bits were all cleared. To correct that I have added code

Re: [PATCH] x86, MCE: Flesh out when to panic comment

2014-05-27 Thread Borislav Petkov
On Tue, May 27, 2014 at 09:53:56PM +, Luck, Tony wrote: It is far from obvious that mce_severity() will always say that an error detected inside the kernel will be fatal. Oh yeah, it needs a good cleansing rewrite, that's for sure. And this tolerant check looks fishy to me:

Re: 3.15-rc6 build / link failed fs/built-in mb_cache_entry problems

2014-05-27 Thread Thavatchai Makphaibulchoke
On 05/26/2014 11:04 PM, Randy Dunlap wrote: On 05/26/2014 11:17 AM, werner wrote: @tmac: can mbcache.c #include linux/log2.h and use ilog2(NR_BG_LOCKS) instead of using __builtin_log2(NR_BG_LOCKS) ? (ref. commit ID 1f3e55fe02d12213f87869768aa2b0bad3ba9a7d) I don't see any problem with

Re: [PATCH 5/9] tlan: Restart autonegotiation on link loss

2014-05-27 Thread Florian Fainelli
Hi, 2014-05-27 14:38 GMT-07:00 Ondrej Zary li...@rainbow-software.org: When link is lost on a card which uses internal PHY for 10 Mbit speeds, restart autonegotiation to allow switching between 10 and 100 Mbps speeds. I think you should take a look at implementing libphy read/write stubs for

RE: [PATCH] x86, MCE: Flesh out when to panic comment

2014-05-27 Thread Luck, Tony
And this tolerant check looks fishy to me: if (s-sev = MCE_UC_SEVERITY ctx == IN_KERNEL) { if (panic_on_oops || tolerant 1) return MCE_PANIC_SEVERITY; } since we set it to 1 by default. But I'll look

[PATCH] Staging: rtl8192u: r8180_93cx6.c Added missing spaces

2014-05-27 Thread Chaitanya Hazarey
Added spaces needed in the proper places to address: ERROR: space required after that ',' (ctx:VxV) ERROR: space required after that ';' (ctx:VxV) ERROR: space required after that close brace '}' ERROR: space required before the open brace '{' ERROR: space required before the open parenthesis '('

Re: [PATCH 2/2] ARM: dts: mvebu: split SolidRun CuBox into variants

2014-05-27 Thread Sebastian Hesselbarth
On 05/28/2014 12:24 AM, Heiko Stübner wrote: Am Dienstag, 27. Mai 2014, 23:50:29 schrieb Sebastian Hesselbarth: On 05/27/2014 11:35 PM, Jason Cooper wrote: On Tue, May 27, 2014 at 07:28:09PM +0200, Sebastian Hesselbarth wrote: On 05/27/2014 06:11 PM, Jason Cooper wrote: On Mon, May 26, 2014

Re: [PATCH 6/6] mm/zpool: prevent zbud/zsmalloc from unloading when used

2014-05-27 Thread Seth Jennings
On Sat, May 24, 2014 at 03:06:09PM -0400, Dan Streetman wrote: Add try_module_get() to pool creation functions for zbud and zsmalloc, and module_put() to pool destruction functions, since they now can be modules used via zpool. Without usage counting, they could be unloaded while pool(s) were

Re: [PATCH] printk: Use symbolic defines for console loglevels

2014-05-27 Thread Valdis . Kletnieks
On Tue, 27 May 2014 21:43:59 +0200, Borislav Petkov said: On Tue, May 27, 2014 at 03:17:28PM -0400, Steven Rostedt wrote: This looks like functionality change to me. Please make the fix of == -- = a separate patch. Yeah, that's actually a fix for console_loglevel values 10. I don't

Re: [PATCHv3 0/6] mm/zpool: add common api for zswap to use zbud/zsmalloc

2014-05-27 Thread Seth Jennings
On Sat, May 24, 2014 at 03:06:03PM -0400, Dan Streetman wrote: In order to allow zswap users to choose between zbud and zsmalloc for the compressed storage pool, this patch set adds a new api zpool that provides an interface to both zbud and zsmalloc. Only minor changes to zbud's interface

[PATCH net] bridge: notify user space after fdb update

2014-05-27 Thread Jon Maxwell
There has been a number incidents recently where customers running KVM have reported that VM hosts on different Hypervisors are unreachable. Based on pcap traces we found that the bridge was broadcasting the ARP request out onto the network. However some NICs have an inbuilt switch which on

Re: [PATCHv3 3/6] mm/zpool: implement common zpool api to zbud/zsmalloc

2014-05-27 Thread Seth Jennings
On Tue, May 27, 2014 at 05:06:39PM -0500, Seth Jennings wrote: On Sat, May 24, 2014 at 03:06:06PM -0400, Dan Streetman wrote: snip + +int zpool_evict(void *pool, unsigned long handle) +{ + struct zpool *zpool; + + spin_lock(pools_lock); + list_for_each_entry(zpool, pools_head,

Re: [PATCH] Staging: rtl8192u: r8180_93cx6.c Added missing spaces

2014-05-27 Thread Dan Carpenter
Great. Thanks. 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 majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RESEND v4 0/8] Add Allwinner A31 USB support

2014-05-27 Thread Greg Kroah-Hartman
On Thu, May 15, 2014 at 11:14:38AM +0200, Maxime Ripard wrote: Hi Greg, On Wed, May 14, 2014 at 06:05:20PM +0200, Greg Kroah-Hartman wrote: On Wed, May 14, 2014 at 02:34:19PM +0200, Maxime Ripard wrote: On Tue, May 13, 2014 at 05:44:14PM +0200, Maxime Ripard wrote: Hi everyone,

Re: [patch 6/6] rtmutex: Avoid pointless requeueing in the deadlock detection chain walk

2014-05-27 Thread Jason Low
On Wed, May 21, 2014 at 8:25 PM, Thomas Gleixner t...@linutronix.de wrote: @@ -440,32 +452,41 @@ static int rt_mutex_adjust_prio_chain(st get_task_struct(task); raw_spin_lock_irqsave(task-pi_lock, flags); - if (waiter == rt_mutex_top_waiter(lock)) { - /*

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

2014-05-27 Thread Stephen Rothwell
Hi Artem, On Tue, 27 May 2014 13:40:03 +0300 Artem Bityutskiy dedeki...@gmail.com wrote: apologies for not informing you about the onwership changes in time. But yes, Brian takes care of this tree now. OK, thanks. The URL you have is technically correct, but it is better to use this

Re: 3.15-rc6 build / link failed fs/built-in mb_cache_entry problems

2014-05-27 Thread Randy Dunlap
On 05/27/2014 03:22 PM, Thavatchai Makphaibulchoke wrote: On 05/26/2014 11:04 PM, Randy Dunlap wrote: On 05/26/2014 11:17 AM, werner wrote: @tmac: can mbcache.c #include linux/log2.h and use ilog2(NR_BG_LOCKS) instead of using __builtin_log2(NR_BG_LOCKS) ? (ref. commit ID

Re: [PATCH 1/2] memory-failure: Send right signal code to correct thread

2014-05-27 Thread Tony Luck
- make sure that every thread in a recovery aware application should have a SIGBUS handler, inside which * code for SIGBUS(BUS_MCEERR_AR) is enabled for every thread * code for SIGBUS(BUS_MCEERR_AO) is enabled only for a dedicated thread But how does the kernel know which is the

Re: [PATCH] pci: rcar host needs OF

2014-05-27 Thread Bjorn Helgaas
On Thu, May 08, 2014 at 04:56:25PM +0200, Arnd Bergmann wrote: The pci-rcar driver is enabled for compile tests, and this has now shown that the driver cannot build without CONFIG_OF, following the inclusion of f8f2fe7355fb PCI: rcar: Use new OF interrupt mapping when possible:

Re: [PATCH 1/2] regulators: Add definition of regulator_set_voltage_time() for !CONFIG_REGULATOR

2014-05-27 Thread Rafael J. Wysocki
On Tuesday, May 27, 2014 08:29:23 PM Mark Brown wrote: --wJgPvdDu+gj56kJ8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 27, 2014 at 05:37:29PM +0530, Viresh Kumar wrote: Liam/Broonie: Please see if this can go through Rafael as 2nd patch is

Re: [RFC PATCH 1/2] loop: Add loop filesystem

2014-05-27 Thread Randy Dunlap
On 05/27/2014 02:58 PM, Seth Forshee wrote: Add limited capability for use of loop devices in containers via a loopfs psuedo fs. When mounted this filesystem will contain only a loop-control device node. This can be used to request free loop devices which will be owned by that mount. Device

Re: [PATCH] printk: Use symbolic defines for console loglevels

2014-05-27 Thread Borislav Petkov
On Tue, May 27, 2014 at 06:36:24PM -0400, valdis.kletni...@vt.edu wrote: If you don't split it out, you should at least mention the bugfix in the changelog Ok ok, I give up. Steve is bugging me on IRC about it, too. Damn. Ok, I got it. @Andrew: can you please replace the sentence: There

Re: [GIT PULL] KVM fixes for 3.15-rc6

2014-05-27 Thread Linus Torvalds
On Tue, May 27, 2014 at 3:08 PM, Paul Mackerras pau...@samba.org wrote: Linus seems not to have done this pull yet - Paolo, maybe you should resend the request and cc Linus this time? Indeed. I don't pull stuff unless it's explicitly sent to me, and this one seems to have been sent just to the

<    2   3   4   5   6   7   8   9   10   11   >