[PATCH 4/4] hyperv-fb: add support for generation 2 virtual machines.

2014-02-21 Thread Gerd Hoffmann
UEFI-based generation 2 virtual machines support vmbus devices only. There is no pci bus. Thus they use a different mechanism for the graphics framebuffer: Instead of using the vga pci bar a chunk of memory muct be allocated from the hyperv mmio region declared using APCI. This patch implements

[PATCH 0/4] hyperv-fb: add support for generation 2 virtual machines

2014-02-21 Thread Gerd Hoffmann
Hi, This patch series adds support for uefi-based gen2 virtual machines to the hyperv-fb driver. First patch is included just for completeness. Greg picked it up already and it is in -next, but it isn't in master yet. Second patch is a bugfix for the first patch. Third patch changes vmbus

[PATCH 3/4] vmbus: use resource for hyperv mmio region

2014-02-21 Thread Gerd Hoffmann
Use a resource for the hyperv mmio region instead of start/size variables. Register the region properly so it shows up in /proc/iomem. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/hv/vmbus_drv.c | 16 ++-- include/linux/hyperv.h | 3 +-- 2 files changed, 11

Re: [PATCH v2] sched: keep quiescent cpu out of idle balance loop

2014-02-21 Thread Mike Galbraith
On Fri, 2014-02-21 at 09:34 +0100, Mike Galbraith wrote: I think the construction stuff works fine, and !-sd is the perfect cue to tell various things to keep their grubby mitts off of a CPU. Take idle_balance() for instance.. not much point in dropping rq-lock just to take it again after

[PATCH v3] sched: keep quiescent cpu out of idle balance loop

2014-02-21 Thread Lei Wen
Cpu which is put into quiescent mode, would set its sd member as NULL, and want others not disturb its task running. But current scheduler would not checking whether that cpu is setting in such mode, and still insist the quiescent cpu to response the nohz load balance. Fix it by preventing such

Re: [PATCH] nfsd: check passed socket's net matches NFSd superblock's one

2014-02-21 Thread Stanislav Kinsbursky
21.02.2014 01:31, J. Bruce Fields пишет: On Wed, Feb 19, 2014 at 06:57:46PM +0400, Stanislav Kinsbursky wrote: 19.02.2014 18:50, J. Bruce Fields пишет: On Wed, Feb 19, 2014 at 02:26:33PM +0400, Stanislav Kinsbursky wrote: 18.02.2014 19:44, J. Bruce Fields пишет: On Tue, Feb 18, 2014 at

Re: [Patch v6 1/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-02-21 Thread Mark Rutland
On Fri, Feb 21, 2014 at 06:43:04AM +, Andy Gross wrote: Add device tree binding support for the QCOM BAM DMA driver. Acked-by: Kumar Gala ga...@codeaurora.org Signed-off-by: Andy Gross agr...@codeaurora.org --- .../devicetree/bindings/dma/qcom_bam_dma.txt | 48

Re: [Patch v6 2/2] dmaengine: add Qualcomm BAM dma driver

2014-02-21 Thread Mark Rutland
On Fri, Feb 21, 2014 at 06:43:05AM +, Andy Gross wrote: Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA controller found in the MSM 8x74 platforms. Each BAM DMA device is associated with a specific on-chip peripheral. Each channel provides a uni-directional data

Re: [PATCH 3/9] floppy: don't use PREPARE_[DELAYED_]WORK

2014-02-21 Thread Jiri Kosina
On Thu, 20 Feb 2014, Tejun Heo wrote: PREPARE_[DELAYED_]WORK() are being phased out. They have few users and a nasty surprise in terms of reentrancy guarantee as workqueue considers work items to be different if they don't have the same work function. floppy has been multiplexing

Re: [PATCH] mfd: wm5102: Remove cache_bypass from manual register patching

2014-02-21 Thread Charles Keepax
On Fri, Feb 21, 2014 at 08:30:58AM +0900, Mark Brown wrote: On Thu, Feb 20, 2014 at 04:26:48PM +, Charles Keepax wrote: As the cache_bypass is not strictly necessary for applying the patches (the device is always powered on whilst it is applied) remove the calls to

Re: [PATCH v3] sched: keep quiescent cpu out of idle balance loop

2014-02-21 Thread Mike Galbraith
On Fri, 2014-02-21 at 17:15 +0800, Lei Wen wrote: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 235cfa7..af30b6a 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6883,6 +6883,14 @@ void nohz_balance_enter_idle(int cpu) if (!cpu_active(cpu))

Re: [PATCH] ext4: avoid exposure of stale data in ext4_punch_hole() -v2

2014-02-21 Thread Jan Kara
On Thu 20-02-14 19:21:07, Ted Tso wrote: On Fri, Sep 27, 2013 at 06:05:17PM +0200, Jan Kara wrote: On Fri 27-09-13 19:54:03, Maxim Patlasov wrote: While handling punch-hole fallocate, it's useless to truncate page cache before removing the range from extent tree (or block map in indirect

Re: PWC webcam and setpwc tool no longer working with 3.12.11 kernel

2014-02-21 Thread Hans de Goede
Hi, On 02/20/2014 08:30 PM, Chris Rankin wrote: Hi, I have an old Logitech webcam, with USB IDs 046d:08b3. When I try to use this camera now, I see this error in the dmesg log: [ 2883.852464] pwc: isoc_init() submit_urb 0 failed with error -28 This error is apparently ENOSPC,

Re: [PATCH 00/11] SimpleDRM Sysfb

2014-02-21 Thread Thierry Reding
On Mon, Jan 27, 2014 at 11:18:51PM +0100, David Herrmann wrote: Hi On Thu, Jan 23, 2014 at 3:14 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi Another round of SimpleDRM patches. I somehow lost track of the last ones and as this is a major rewrite, I'll just start at v1 again.

Re: [PATCH 4/9] firewire: don't use PREPARE_DELAYED_WORK

2014-02-21 Thread Tejun Heo
On Fri, Feb 21, 2014 at 12:13:16AM -0500, Peter Hurley wrote: CPU 0| CPU 1 | INIT_WORK(fw_device_workfn) | | workfn = funcA | queue_work_on() | .

Re: [PATCH] ACPI/Processor: Rework processor throttling with work_on_cpu()

2014-02-21 Thread Jiri Olsa
On Fri, Feb 21, 2014 at 01:35:45PM +0800, Lan Tianyu wrote: acpi_processor_set_throttling() uses set_cpus_allowed_ptr() to make sure struct acpi_processor-acpi_processor_set_throttling() callback run on associated cpu. But the function maybe called in a worker which has been bound to a cpu.

Re: [PATCH 4/4] hugetlb: add hugepages_node= command-line option

2014-02-21 Thread David Rientjes
On Thu, 20 Feb 2014, Marcelo Tosatti wrote: 1GB is of such granularity that you'd typically either be (a) oom so that your userspace couldn't even start, or (b) have enough memory such that userspace would be able to start and allocate them dynamically through an initscript. There

Re: [PATCH v2] sysfs: fix namespace refcnt leak

2014-02-21 Thread Tejun Heo
On Fri, Feb 21, 2014 at 10:55:55AM +0800, Li Zefan wrote: As mount() and kill_sb() is not a one-to-one match, we shoudn't get ns refcnt unconditionally in sysfs_mount(), and instead we should get the refcnt only when kernfs_mount() allocated a new superblock. v2: - Changed the name of the

[PATCH 1/2] f2fs: introduce help macro on_build_free_nids()

2014-02-21 Thread Gu Zheng
Introduce help macro on_build_free_nids() which just uses build_lock to judge whether the building free nid is going, so that we can remove the on_build_free_nids field from f2fs_sb_info. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/f2fs/f2fs.h |2 -- fs/f2fs/node.c |6 +++---

[RFC PATCH 2/2] f2fs: simplify free nid management

2014-02-21 Thread Gu Zheng
Previously, in the free nid management, we use two states to describe the state of a free nid entry: NID_NEW /* newly added to free nid list */ NID_ALLOC /* it is allocated, but not really used*/ When we alloc a new nid from free nid list, we just change the state from *NID_NEW* to

[PATCH] fs/bio-integrity: remove duplicate code

2014-02-21 Thread Gu Zheng
Most code of function bio_integrity_verify and bio_integrity_generate is the same, so introduce a help function bio_integrity_generate_verify() to remove the duplicate code. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/bio-integrity.c | 86

[GIT PULL] sound fixes for 3.14-rc4

2014-02-21 Thread Takashi Iwai
Linus, please pull sound fixes for v3.14-rc4 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.14-rc4 The topmost commit is 1de7ca5e844866f56bebb2fc47fa18e090677e88 sound fixes for 3.14-rc4

[PATCH] fs/direct-io: remove redundant comparison

2014-02-21 Thread Gu Zheng
The return value of bio_get_nr_vecs() can not bigger than BIO_MAX_PAGES, so we can remove redundant the comparison between nr_pages and BIO_MAX_PAGES. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/direct-io.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[PATCH] aio: simplify fetching ioctx_table pointer from mm_struct

2014-02-21 Thread Gu Zheng
Using rcu_dereference_protected() rather than the rcu_read_lock-- rcu_dereference--rcu_read_unlock group to simplify fetching the ioctx_table pointer in ioctx_add_table and kill_ioctx, because it is protected by the ioctx_lock. And in the exit_aio(), there are no other users manipulating

Re: [PATCH] regulator: max14577: Fix invalid return value on DT parse success

2014-02-21 Thread Sachin Kamat
Hi Krzysztof, On 20 February 2014 20:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: This fixes bug introduced in 667a6b7a (regulator: max14577: Add missing of_node_put). The DTS parsing function returned number of matched regulators as success status which then was compared against 0

[PATCH] x86/hash: miscellaneous fixes

2014-02-21 Thread Jan Beulich
1: fix build failure with older binutils 2: swap parameters of crc32_u32() 3: cleanup Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel Borkmann dbork...@redhat.com Cc: Thomas Graf tg...@redhat.com Cc: David S. Miller da...@davemloft.net -- To

[PATCH 0/3] x86/hash: miscellaneous fixes

2014-02-21 Thread Jan Beulich
1: fix build failure with older binutils 2: swap parameters of crc32_u32() 3: cleanup Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel Borkmann dbork...@redhat.com Cc: Thomas Graf tg...@redhat.com Cc: David S. Miller da...@davemloft.net -- To

[PATCH 2/3] x86/hash: swap parameters of crc32_u32()

2014-02-21 Thread Jan Beulich
... to match its two callers (i.e. the alternative would have been to swap the arguments at the call sites). Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel Borkmann dbork...@redhat.com Cc: Thomas Graf tg...@redhat.com Cc: David S. Miller

[PATCH 1/3] x86/hash: fix build failure with older binutils

2014-02-21 Thread Jan Beulich
Just like for other ISA extension instruction uses we should check whether the assembler actually supports them. The fallback here simply is to encode an instruction with fixed operands (%eax and %ecx). Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel

RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever

2014-02-21 Thread Thomas Gleixner
On Fri, 21 Feb 2014, Liu, Chuansheng wrote: But feels there is another case which the synchronize_irq waited there forever, it is no waking up action from irq_thread(). CPU0 CPU1 disable_irq() irq_thread() synchronize_irq()

[PATCH 3/3] x86/hash: cleanup

2014-02-21 Thread Jan Beulich
- simplify switch statement - add __init annotation to setup_arch_fast_hash() Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel Borkmann dbork...@redhat.com Cc: Thomas Graf tg...@redhat.com Cc: David S. Miller da...@davemloft.net ---

Re: [RFC] sched/deadline: Prevent rt_time growth to infinity

2014-02-21 Thread Peter Zijlstra
On Thu, Feb 20, 2014 at 02:16:00AM +0400, Kirill Tkhai wrote: Since deadline tasks share rt bandwidth, we must care about bandwidth timer set. Otherwise rt_time may grow up to infinity in update_curr_dl(), if there are no other available RT tasks on top level bandwidth. I'm going to decide

[PATCH] mmc: sdhci: add support for realtek rts5250

2014-02-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Add support for realtek rts5250 pci card reader. The card reader have some problem with DDR50 mode, so add a new quirks2 for broken ddr50. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mmc/host/sdhci-pci.c | 20

Re: [PATCH v3 5/6] timerfd: Add support for deferrable timers

2014-02-21 Thread Thomas Gleixner
On Thu, 20 Feb 2014, Anton Vorontsov wrote: On Thu, Feb 20, 2014 at 12:09:43PM +0100, Thomas Gleixner wrote: On Thu, 20 Feb 2014, Alexey Perevalov wrote: From: Anton Vorontsov an...@enomsg.org This patch implements a userland-side API for generic deferrable timers, per

Re: [PATCH v3 4/6] timerfd: Factor out timer-type unspecific timerfd_expire()

2014-02-21 Thread Thomas Gleixner
On Thu, 20 Feb 2014, Anton Vorontsov wrote: On Thu, Feb 20, 2014 at 11:52:03AM +0100, Thomas Gleixner wrote: Instead of rushing with resending yet another series, please actually read Thomas' review. And please hold off until we sorted out the clockid vs. flags discussion. Thanks,

Re: [PATCH] regulator: max14577: Fix invalid return value on DT parse success

2014-02-21 Thread Krzysztof Kozlowski
On Fri, 2014-02-21 at 15:54 +0530, Sachin Kamat wrote: Hi Krzysztof, On 20 February 2014 20:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: This fixes bug introduced in 667a6b7a (regulator: max14577: Add missing of_node_put). The DTS parsing function returned number of matched

administrator sistema

2014-02-21 Thread E-Održavanje
Korisnik Dragi lozinka ce zastarijeva u roku od 3 dana Kliknite ovdje za provjeru e-mail http://web-boonline.jimdo.com/ zahvaljujuci administrator sistema -- 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] regulator: max14577: Fix invalid return value on DT parse success

2014-02-21 Thread Sachin Kamat
On 21 February 2014 16:12, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On Fri, 2014-02-21 at 15:54 +0530, Sachin Kamat wrote: Hi Krzysztof, On 20 February 2014 20:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: This fixes bug introduced in 667a6b7a (regulator: max14577: Add

Re: [PATCH v4 1/7] drivers: of: add initialization code for reserved memory

2014-02-21 Thread Marek Szyprowski
Hello, On 2014-02-20 15:01, Grant Likely wrote: On Thu, 20 Feb 2014 11:52:41 +0100, Marek Szyprowski m.szyprow...@samsung.com wrote: This patch adds device tree support for contiguous and reserved memory regions defined in device tree. Large memory blocks can be reliably reserved only

Re: [PATCH v3 1/2] i2c: qup: Add device tree bindings information

2014-02-21 Thread Mark Rutland
On Fri, Feb 21, 2014 at 12:38:09AM +, Bjorn Andersson wrote: From: Ivan T. Ivanov iiva...@mm-sol.com The Qualcomm Universal Peripherial (QUP) wraps I2C mini-core and provide input and output FIFO's for it. I2C controller can operate as master with supported bus speeds of 100Kbps and

RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever

2014-02-21 Thread Liu, Chuansheng
Hello Thomas, -Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: Friday, February 21, 2014 6:34 PM To: Liu, Chuansheng Cc: linux-kernel@vger.kernel.org; Wang, Xiaoming Subject: RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever On

Re: [PATCH v3 2/2] i2c: New bus driver for the Qualcomm QUP I2C controller

2014-02-21 Thread Mark Rutland
On Fri, Feb 21, 2014 at 12:38:10AM +, Bjorn Andersson wrote: This bus driver supports the QUP i2c hardware controller in the Qualcomm SOCs. The Qualcomm Universal Peripheral Engine (QUP) is a general purpose data path engine with input/output FIFOs and an embedded i2c mini-core. The driver

Re: [PATCH v3 3/3] Documentation: mfd: Add binding document for S2MPA01

2014-02-21 Thread Sachin Kamat
On 13 February 2014 12:07, Sachin Kamat sachin.ka...@linaro.org wrote: Added initial binding documentation for S2MPA01 MFD. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Changes since v2: * Re-worded as suggested by Mark Rutland ---

Re: linux-next: manual merge of the arm-soc tree with the arm-perf tree

2014-02-21 Thread Will Deacon
On Fri, Feb 21, 2014 at 01:02:47AM +, Olof Johansson wrote: On Thu, Feb 20, 2014 at 4:58 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/qcom-msm8960-cdp.dts between commit a1d711938959 (ARM: dts: msm:

RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever

2014-02-21 Thread Thomas Gleixner
On Fri, 21 Feb 2014, Liu, Chuansheng wrote: Hello Thomas, -Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: Friday, February 21, 2014 6:34 PM To: Liu, Chuansheng Cc: linux-kernel@vger.kernel.org; Wang, Xiaoming Subject: RE: [PATCH 1/2] genirq: Fix

Re: [PATCH] mfd: wm5102: Remove cache_bypass from manual register patching

2014-02-21 Thread Charles Keepax
On Fri, Feb 21, 2014 at 09:38:55AM +, Charles Keepax wrote: On Fri, Feb 21, 2014 at 08:30:58AM +0900, Mark Brown wrote: On Thu, Feb 20, 2014 at 04:26:48PM +, Charles Keepax wrote: As the cache_bypass is not strictly necessary for applying the patches (the device is always

Re: [PATCH] regulator: max14577: Fix invalid return value on DT parse success

2014-02-21 Thread Krzysztof Kozlowski
On Fri, 2014-02-21 at 16:25 +0530, Sachin Kamat wrote: On 21 February 2014 16:12, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On Fri, 2014-02-21 at 15:54 +0530, Sachin Kamat wrote: Hi Krzysztof, On 20 February 2014 20:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote:

Re: [PATCH 2/7] IBM Akebono: Add support for a new PHY interface to the IBM emac driver

2014-02-21 Thread Mark Rutland
On Fri, Feb 21, 2014 at 06:31:28AM +, Alistair Popple wrote: The IBM PPC476GTR SoC that is used on the Akebono board uses a different ethernet PHY interface that has wake on lan (WOL) support with the IBM emac. This patch adds support to the IBM emac driver for this new PHY interface.

RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever

2014-02-21 Thread Liu, Chuansheng
-Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: Friday, February 21, 2014 7:11 PM To: Liu, Chuansheng Cc: linux-kernel@vger.kernel.org; Wang, Xiaoming Subject: RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever On Fri, 21 Feb

[BUG] Plug vga cable induce usb irq disabled.

2014-02-21 Thread majianpeng
Hi all: I met a problem. When i plug vga cable(only need once), the kernel print those messages and disable IRQ 16. [ 16.907826] irq 16: nobody cared (try booting with the irqpoll option) [ 16.907834] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.0-rc3+ #74 [ 16.907836] Hardware

Re: linux-next: manual merge of the akpm-current tree with the sparc tree

2014-02-21 Thread David Howells
Stephen Rothwell s...@canb.auug.org.au wrote: Today's linux-next merge of the akpm-current tree got a conflict in drivers/sbus/char/jsflash.c between commit 967f038e491b (Sparc: sparc_cpu_model isn't in asm/system.h any more [ver #2]) from the sparc tree and commit 695f43eb1721 (asm/system.h:

Re: [RFC] sched/deadline: Prevent rt_time growth to infinity

2014-02-21 Thread Kirill Tkhai
21.02.2014, 14:37, Peter Zijlstra pet...@infradead.org: On Thu, Feb 20, 2014 at 02:16:00AM +0400, Kirill Tkhai wrote:  Since deadline tasks share rt bandwidth, we must care about  bandwidth timer set. Otherwise rt_time may grow up to infinity  in update_curr_dl(), if there are no other

BUG: unable to handle kernel paging request at 0000000100000003 - Oops: 0000 [#1] SMP

2014-02-21 Thread poma
Affected kernels - 3.14.0-0.rc3*: - 3.14.0-0.rc3.git0.1 http://koji.fedoraproject.org/koji/buildinfo?buildID=498711 - 3.14.0-0.rc3.git0.7 based on 3.14.0-0.rc3.git0.1 - 3.14.0-0.rc3.git2.1 http://koji.fedoraproject.org/koji/buildinfo?buildID=499061 - 3.14.0-0.rc3.git5.1

Re: [PATCH 4/7] ECHI Platform: Merge ppc-of EHCI driver into the ehci-platform driver

2014-02-21 Thread Mark Rutland
[Adding Tony Prisk to Cc] On Fri, Feb 21, 2014 at 06:31:30AM +, Alistair Popple wrote: Currently the ppc-of driver uses the compatibility string usb-ehci. This means platforms that use device-tree and implement an EHCI compatible interface have to either use the ppc-of driver or add a

RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever

2014-02-21 Thread Thomas Gleixner
On Fri, 21 Feb 2014, Liu, Chuansheng wrote: I think you have a point there, but not on x86 wherre the atomic_dec and the spinlock on the queueing side are full barriers. For non-x86 there is definitely a potential issue. But even on X86, spin_unlock has no full barrier, the

[PATCHv6 1/6] zram: introduce compressing backend abstraction

2014-02-21 Thread Sergey Senozhatsky
ZRAM performs direct LZO compression algorithm calls, making it the one and only option. Introduce compressing backend abstraction zcomp in order to support multiple compression algorithms with the following set of operations: .create .destroy .compress .decompress

[PATCHv6 5/6] zram: enalbe multi stream compression support in zram

2014-02-21 Thread Sergey Senozhatsky
1) Add ZRAM_MULTI_STREAM configuration option and make multi stream zcomp support available. 2) Introduce zram device attribute max_comp_streams to show and store current zcomp's max number of zcomp streams (num_strm). 3) Extend zcomp zcomp_create() with `num_strm' parameter. `num_strm' limits

[PATCHv6 4/6] zram: add multi stream functionality

2014-02-21 Thread Sergey Senozhatsky
This patch implements multi stream compression support. Introduce struct zcomp_strm_multi and a set of functions to manage zcomp_strm stream access. zcomp_strm_multi has a list of idle zcomp_strm structs, spinlock to protect idle list and wait queue, making it possible to perform parallel

[PATCHv6 6/6] zram: document max_comp_streams

2014-02-21 Thread Sergey Senozhatsky
Add max_comp_streams device attribute documentation. Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com --- Documentation/ABI/testing/sysfs-block-zram | 9 - Documentation/blockdev/zram.txt| 24 +++- 2 files changed, 27 insertions(+), 6

[PATCHv6 2/6] zram: use zcomp compressing backends

2014-02-21 Thread Sergey Senozhatsky
Do not perform direct LZO compress/decompress calls, initialise and use zcomp LZO backend (single compression stream) instead. Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com --- drivers/block/zram/Makefile | 2 +- drivers/block/zram/zram_drv.c | 62

[PATCHv6 3/6] zram: factor out single stream compression

2014-02-21 Thread Sergey Senozhatsky
This is preparation patch to add multi stream support to zcomp. Introduce struct zcomp_strm_single and a set of functions to manage zcomp_strm stream access. zcomp_strm_single implements single compession stream, same way as current zcomp implementation. This moves zcomp_strm stream control and

[PATCHv6 0/6] add compressing abstraction and multi stream support

2014-02-21 Thread Sergey Senozhatsky
This patchset introduces zcomp compression backend abstraction adding ability to support compression algorithms other than LZO; support for multi compression streams, making parallel compressions possible. v5-v6 (reviewed by Minchan Kim): -- handle single compression stream case separately, using

Re: [PATCH RFC] usb: gadget: Add xilinx axi usb2 device support

2014-02-21 Thread Mark Rutland
On Thu, Feb 20, 2014 at 06:23:13PM +, Felipe Balbi wrote: Hi, On Wed, Feb 19, 2014 at 03:10:45PM +0530, Subbaraya Sundeep Bhatta wrote: This patch adds xilinx axi usb2 device driver support Signed-off-by: Subbaraya Sundeep Bhatta sbha...@xilinx.com ---

Re: [PATCH] kref: oops on zero or negative refcount

2014-02-21 Thread Mateusz Guzik
On Thu, Feb 20, 2014 at 01:14:40PM -0500, Dave Jones wrote: On Thu, Feb 20, 2014 at 06:44:59PM +0100, Mateusz Guzik wrote: In use after free situations, it is possible for one thread to write to memory that has just been reallocated to a new user. This could open up potential security

[PATCH 3/3] media: omap3isp: rename the variable names in description

2014-02-21 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch renames the variable in the description to match it appropriately to function definition. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/omap3isp/isp.h| 12 ++--

[PATCH 2/3] media: omap3isp: ispccdc: remove unwanted comments

2014-02-21 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch removes the description of members which does not exists for ispccdc_lsc structure. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/omap3isp/ispccdc.h |6 -- 1 file changed, 6 deletions(-)

[PATCH 0/3] media: omap3isp: trivial cleanup

2014-02-21 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series include fixing some typos and removal of unwanted comments. Lad, Prabhakar (3): media: omap3isp: fix typos media: omap3isp: ispccdc: remove unwanted comments media: omap3isp: rename the variable names in description

[PATCH 1/3] media: omap3isp: fix typos

2014-02-21 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/omap3isp/isp.c|2 +- drivers/media/platform/omap3isp/ispccdc.c|2 +- drivers/media/platform/omap3isp/ispccp2.c|4 ++--

Re: [RFC] sched/deadline: Prevent rt_time growth to infinity

2014-02-21 Thread Kirill Tkhai
21.02.2014, 15:39, Kirill Tkhai tk...@yandex.ru: 21.02.2014, 14:37, Peter Zijlstra pet...@infradead.org:  On Thu, Feb 20, 2014 at 02:16:00AM +0400, Kirill Tkhai wrote:   Since deadline tasks share rt bandwidth, we must care about   bandwidth timer set. Otherwise rt_time may grow up to

[PATCH v2] regulator: max14577: Fix invalid return value on DT parse success

2014-02-21 Thread Krzysztof Kozlowski
This fixes bug introduced in 667a6b7a (regulator: max14577: Add missing of_node_put). The DTS parsing function returned number of matched regulators as success status which then was compared against 0 in probe. Result was a probe fail after successful parsing the DTS: max14577-regulator: probe of

Re: [PATCH v4 3/3] qspinlock, x86: Add x86 specific optimization for 2 contending tasks

2014-02-21 Thread Peter Zijlstra
Why is this x86 only code? -- 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] ARM: EDMA: Use platform_get_resource functions for DT

2014-02-21 Thread Mark Rutland
On Fri, Feb 21, 2014 at 04:24:21AM +, Joel Fernandes wrote: Currently, EDMA driver uses of_address_to_resource for getting Channel controller and x-bar register resources. Use platform_get_resource_by_name instead regardless of whether its DT-boot or not, document the new reg-names

Re: [PATCH] kref: oops on zero or negative refcount

2014-02-21 Thread Rafael Aquini
On Thu, Feb 20, 2014 at 01:17:44PM -0500, Rik van Riel wrote: On 02/20/2014 01:14 PM, Dave Jones wrote: On Thu, Feb 20, 2014 at 06:44:59PM +0100, Mateusz Guzik wrote: In use after free situations, it is possible for one thread to write to memory that has just been reallocated to a new

Re: [PATCH 1/2] usb: dwc3: core: continue probing if usb phy library returns -ENODEV/-ENXIO

2014-02-21 Thread Kishon Vijay Abraham I
Hi Roger, On Wednesday 19 February 2014 06:07 PM, Roger Quadros wrote: Hi, On 02/12/2014 11:46 AM, Kishon Vijay Abraham I wrote: On Wednesday 29 January 2014 08:17 PM, Heikki Krogerus wrote: Hi, On Tue, Jan 28, 2014 at 10:30:36AM -0600, Felipe Balbi wrote: On Tue, Jan 28, 2014 at

[PATCH v5 08/11] drivers: dma-contiguous: add initialization from device tree

2014-02-21 Thread Marek Szyprowski
Refactor internal dma_contiguous_init_reserved_mem() function, which creates CMA area from previously reserved memory region and add support for handling 'shared-dma-pool' reserved-memory device tree nodes. Based on previous code provided by Josh Cartwright jo...@codeaurora.org Signed-off-by:

[PATCH v5 07/11] drivers: dma-coherent: add initialization from device tree

2014-02-21 Thread Marek Szyprowski
Add support for handling 'shared-dma-pool' reserved-memory device tree nodes. Based on previous code provided by Josh Cartwright jo...@codeaurora.org Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- drivers/base/dma-coherent.c | 41 + 1 file

[PATCH v5 11/11] powerpc: add support for reserved memory defined by device tree

2014-02-21 Thread Marek Szyprowski
Enable reserved memory initialization from device tree. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- arch/powerpc/Kconfig |1 + arch/powerpc/kernel/prom.c |3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index

[PATCH v5 09/11] arm: add support for reserved memory defined by device tree

2014-02-21 Thread Marek Szyprowski
Enable reserved memory initialization from device tree. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- arch/arm/Kconfig |1 + arch/arm/mm/init.c |2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e25419817791..d0262bea8020

[PATCH v5 10/11] arm64: add support for reserved memory defined by device tree

2014-02-21 Thread Marek Szyprowski
Enable reserved memory initialization from device tree. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- arch/arm64/Kconfig |1 + arch/arm64/mm/init.c |1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index

[PATCH v5 05/11] drivers: of: add automated assignment of reserved regions to client devices

2014-02-21 Thread Marek Szyprowski
This patch adds code for automated assignment of reserved memory regions to struct device. reserved_mem-ops-device_init()/device_cleanup() callbacks are called to perform reserved memory driver specific initialization and cleanup. The code looks for 'memory-region' property in the client device

[PATCH v5 06/11] drivers: of: initialize and assign reserved memory to newly created devices

2014-02-21 Thread Marek Szyprowski
Use recently introduced of_reserved_mem_device_init() function to automatically assign respective reserved memory region to the newly created platform and amba device. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- drivers/of/platform.c |7 +++ 1 file changed, 7

[PATCH v5 04/11] drivers: of: add support for custom reserved memory drivers

2014-02-21 Thread Marek Szyprowski
Add support for custom reserved memory drivers. Call their init() function for each reserved region and prepare for using operations provided by them with by the reserved_mem-ops array. Based on previous code provided by Josh Cartwright jo...@codeaurora.org Signed-off-by: Marek Szyprowski

[PATCH v5 01/11] of: document bindings for reserved-memory nodes

2014-02-21 Thread Marek Szyprowski
From: Grant Likely grant.lik...@linaro.org Reserved memory nodes allow for the reservation of static (fixed address) regions, or dynamically allocated regions for a specific purpose. Signed-off-by: Grant Likely grant.lik...@linaro.org [joshc: Based on binding document proposed (in non-patch

[PATCH v5 02/11] drivers: of: add initialization code for static reserved memory

2014-02-21 Thread Marek Szyprowski
This patch adds support for static (defined by 'reg' property) reserved memory regions declared in device tree. Memory blocks can be reliably reserved only during early boot. This must happen before the whole memory management subsystem is initialized, because we need to ensure that the given

[PATCH v5 00/11] reserved-memory regions/CMA in devicetree, again

2014-02-21 Thread Marek Szyprowski
Hi all! Ok, I hope that this is the last update of the patches which add basic support for dynamic allocation of memory reserved regions defined in device tree. This time I've mainly sliced the main patch into several smaller pieces to make the changes easier to understand and fixes some minor

Re: [PATCH 1/2] usb: dwc3: core: continue probing if usb phy library returns -ENODEV/-ENXIO

2014-02-21 Thread Roger Quadros
On 02/21/2014 02:25 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Wednesday 19 February 2014 06:07 PM, Roger Quadros wrote: Hi, On 02/12/2014 11:46 AM, Kishon Vijay Abraham I wrote: On Wednesday 29 January 2014 08:17 PM, Heikki Krogerus wrote: Hi, On Tue, Jan 28, 2014 at 10:30:36AM

[PATCH v5 03/11] drivers: of: add initialization code for dynamic reserved memory

2014-02-21 Thread Marek Szyprowski
This patch adds support for dynamically allocated reserved memory regions declared in device tree. Such regions are defined by 'size', 'alignment' and 'alloc-ranges' properties. Based on previous code provided by Josh Cartwright jo...@codeaurora.org Signed-off-by: Marek Szyprowski

RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever

2014-02-21 Thread Liu, Chuansheng
Hello Thomas, -Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: Friday, February 21, 2014 7:53 PM To: Liu, Chuansheng Cc: linux-kernel@vger.kernel.org; Wang, Xiaoming Subject: RE: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever On

[PATCH RT] fs: jbd2: pull your plug when waiting for space

2014-02-21 Thread Sebastian Andrzej Siewior
Two cps in parallel managed to stall the the ext4 fs. It seems that journal code is either waiting for locks or sleeping waiting for something to happen. This seems similar to what Mike observed on ext3, here is his description: |With an -rt kernel, and a heavy sync IO load, tasks can jam |up on

Re: [PATCH] fs/proc/meminfo: meminfo_proc_show(): fix typo in comment

2014-02-21 Thread Rafael Aquini
On Tue, Feb 18, 2014 at 05:00:27PM -0500, Luiz Capitulino wrote: It should read reclaimable slab and not reclaimable swap. Signed-off-by: Luiz Capitulino lcapitul...@redhat.com --- fs/proc/meminfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/meminfo.c

Re: [PATCH v5 3/5] ACPI / processor: Introduce map_gic_id() to get apic id from MADT or _MAT method

2014-02-21 Thread Sudeep Holla
Hi Hanjun, (Adding MarcZ for his views on GIC) On 20/02/14 03:59, Hanjun Guo wrote: Hi Sudeep, Thanks for your comments, please refer to the replies below. :) On 2014年02月19日 22:33, Sudeep Holla wrote: Hi Hanjun, On 18/02/14 16:23, Hanjun Guo wrote: Get apic id from MADT or _MAT method

Re: [PATCH 2/2] ARM: mm: keep rodata non-executable

2014-02-21 Thread Dave Martin
On Tue, Feb 18, 2014 at 10:10:03AM -0800, Kees Cook wrote: On Mon, Feb 17, 2014 at 4:34 AM, Dave Martin dave.mar...@arm.com wrote: On Fri, Feb 14, 2014 at 11:11:07AM -0800, Kees Cook wrote: On Fri, Feb 14, 2014 at 8:22 AM, Dave Martin dave.mar...@arm.com wrote: On Thu, Feb 13, 2014 at

Re: [RFC] sched/deadline: Prevent rt_time growth to infinity

2014-02-21 Thread Juri Lelli
On Fri, 21 Feb 2014 16:09:25 +0400 Kirill Tkhai tk...@yandex.ru wrote: 21.02.2014, 15:39, Kirill Tkhai tk...@yandex.ru: 21.02.2014, 14:37, Peter Zijlstra pet...@infradead.org:  On Thu, Feb 20, 2014 at 02:16:00AM +0400, Kirill Tkhai wrote:   Since deadline tasks share rt bandwidth, we

[PATCH 3.11 007/121] pinctrl: vt8500: Change devicetree data parsing

2014-02-21 Thread Luis Henriques
3.11.10.5 -stable review patch. If anyone has any objections, please let me know. -- From: Tony Prisk li...@prisktech.co.nz commit f17248ed868767567298e1cdf06faf8159a81f7c upstream. Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for

[PATCH 3.11 023/121] drm/vmwgfx: Fix regression caused by drm/ttm: make ttm reservation calls behave like reservation calls

2014-02-21 Thread Luis Henriques
3.11.10.5 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom thellst...@vmware.com commit cf5e3413337309050c05e13dcebe85b7194a21e5 upstream. The call to ttm_eu_backoff_reservation() as part of an error path would cause a lock

[PATCH 3.11 020/121] drm/mgag200: fix typo causing bw limits to be ignored on some chips

2014-02-21 Thread Luis Henriques
3.11.10.5 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie airl...@redhat.com commit ec22b4aa993abbd18f5bbbcb20a1c56be3b1d38b upstream. mode-mdev otherwise the bw limits never kick in. Reported in RHEL testing. Signed-off-by: Dave

[PATCH 3.11 024/121] ALSA: hda - Improve loopback path lookups for AD1983

2014-02-21 Thread Luis Henriques
3.11.10.5 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai ti...@suse.de commit 276ab336b4c6e483d12fd46cbf24f97f71867710 upstream. AD1983 has flexible loopback routes and the generic parser would take wrong path confusingly instead

[PATCH 3.11 032/121] pinctrl: do not init debugfs entries for unimplemented functionalities

2014-02-21 Thread Luis Henriques
3.11.10.5 -stable review patch. If anyone has any objections, please let me know. -- From: Florian Vaussard florian.vauss...@epfl.ch commit e7f2a444891cb39f11d5429467d0fd7e011fe7fe upstream. Commit c420619 pinctrl: pinconf: remove checks on ops-pin_config_get removed the

[PATCH 3.11 119/121] drivers/edac/edac_mc_sysfs.c: poll timeout cannot be zero

2014-02-21 Thread Luis Henriques
3.11.10.5 -stable review patch. If anyone has any objections, please let me know. -- From: Prarit Bhargava pra...@redhat.com commit 79040cad3f8235937e229f1b9401ba36dd5ad69b upstream. If you do echo 0 /sys/module/edac_core/parameters/edac_mc_poll_msec the following stack

[PATCH 3.11 120/121] EDAC: Poll timeout cannot be zero, p2

2014-02-21 Thread Luis Henriques
3.11.10.5 -stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov b...@suse.de commit 9da21b1509d8aa7ab4846722817d16c72d656c91 upstream. Sanitize code even more to accept unsigned longs only and to not allow polling intervals below 1

<    6   7   8   9   10   11   12   13   14   15   >