[PATCHv4 0/5] DMA Atomic pool for arm64

2014-07-02 Thread Laura Abbott
Hi, This is the latest in a series to add support for atomic DMA allocations for non-coherent/CMA code paths in arm64. I did some refactoring to have arm also use genalloc and pull out some of the remapping code. This could probably use more testing on other platforms, especially those that have

Crash on WRITE SAME

2014-07-02 Thread Mikulas Patocka
Hi Sagi Your commit d77e65350f2d82dfa0557707d505711f5a43c8fd causes crash on SCSI WRITE SAME command (it can be triggered by issuing the BLKZEROOUT ioctl). The crash happens in iscsi_tcp_segment_done because sg_next returns NULL. Before that commit, there was this code in

Re: [PATCH v8 2/9] pci: Export find_pci_host_bridge() function.

2014-07-02 Thread Tanmay Inamdar
Hi, On Tue, Jul 1, 2014 at 11:43 AM, Liviu Dudau liviu.du...@arm.com wrote: This is a useful function and we should make it visible outside the generic PCI code. Export it as a GPL symbol. Signed-off-by: Liviu Dudau liviu.du...@arm.com Tested-by: Tanmay Inamdar tinam...@apm.com ---

Re: IMA: kernel reading files opened with O_DIRECT

2014-07-02 Thread Dmitry Kasatkin
Hi Jeff, Thanks for reply. On 2 July 2014 18:55, Jeff Moyer jmo...@redhat.com wrote: Hi, Dmitry, Dmitry Kasatkin d.kasat...@samsung.com writes: Hi, We are looking for advice on reading files opened for direct_io. [snip] 2. Temporarily clear O_DIRECT in file-f_flags. [snip] 3. Open

Re: Crash on WRITE SAME

2014-07-02 Thread Christoph Hellwig
On Wed, Jul 02, 2014 at 02:05:14PM -0400, Mikulas Patocka wrote: Hi Sagi Your commit d77e65350f2d82dfa0557707d505711f5a43c8fd causes crash on SCSI WRITE SAME command (it can be triggered by issuing the BLKZEROOUT ioctl). The crash happens in iscsi_tcp_segment_done because sg_next returns

Re: [PATCH 1/2] perf, x86: Revamp PEBS event selection

2014-07-02 Thread Andi Kleen
On Wed, Jul 02, 2014 at 06:07:31PM +0200, Stephane Eranian wrote: On Wed, Jul 2, 2014 at 5:48 PM, Andi Kleen a...@linux.intel.com wrote: On Wed, Jul 02, 2014 at 05:44:05PM +0200, Stephane Eranian wrote: On Wed, Jul 2, 2014 at 5:33 PM, Andi Kleen a...@linux.intel.com wrote: No, still needs

Re: [PATCH 1/2] perf, x86: Revamp PEBS event selection

2014-07-02 Thread Andi Kleen
But also, I think we should conditionally allow the filter bits; possibly with a sysfs file like I had. Back when we had to sort that SNB cycles thing it was tedious that Linus could not just try things. Hmm, the code in your patch to handle it was quite nasty. I don't really see the

Did you received my previous message?

2014-07-02 Thread Jim Edward
-- Dear Friend, I have picked your email address for an inheritance. For more details contact my private email address. (edw...@econwa.com) -- 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: [PATCH v2 1/3] ima: use ahash API for file hash calculation

2014-07-02 Thread Dmitry Kasatkin
On 2 July 2014 19:40, Mimi Zohar zo...@linux.vnet.ibm.com wrote: On Tue, 2014-07-01 at 23:12 +0300, Dmitry Kasatkin wrote: Async hash API allows to use HW acceleration for hash calculation. It may give significant performance gain or/and reduce power consumption, which might be very beneficial

Re: [PATCH v2 1/3] ima: use ahash API for file hash calculation

2014-07-02 Thread Dmitry Kasatkin
On 2 July 2014 20:44, Mimi Zohar zo...@linux.vnet.ibm.com wrote: On Tue, 2014-07-01 at 23:12 +0300, Dmitry Kasatkin wrote: -/* - * Calculate the MD5/SHA1 file digest - */ +static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo) +{ + struct crypto_ahash *tfm = ima_ahash_tfm; +

Re: [PATCH 7/7] x86: mm: set TLB flush tunable to sane value (33)

2014-07-02 Thread Dave Hansen
On 07/02/2014 11:16 AM, David Nellans wrote: Intuition here is that invalidate caused refills will almost always be serviced from the L2 or better since we've recently walked to modify the page needing flush and thus pre-warmed the caches for any refill? Or is this an artifact of the

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Stefan Klug wrote: Hi everybody, in short: The attached patch adds zerocopy support to the usbfs driver. I tested it on x86 and on a globalscale mirabox ARM board. Until now it works quite nice and I'd love to get some comments and feedback on the patch. Longer

Re: [PATCH 7/7] x86: mm: set TLB flush tunable to sane value (33)

2014-07-02 Thread David Nellans
On 07/01/2014 11:48 AM, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com This has been run through Intel's LKP tests across a wide range of modern sytems and workloads and it wasn't shown to make a measurable performance difference positive or negative. Now that we have some

IMMEDIATE REPLY.

2014-07-02 Thread Alif Tomar
Dear, I know that this letter may come to you as a surprise, I got your contact address from the computerized search. My name is Mr Alif Tomar, I am the Bill and Exchange (assistant) Manager of Bank of Africa Ouagadougou, Burkina Faso. In my department I discovered an abandoned sum of eighteen

Re: Crash on WRITE SAME

2014-07-02 Thread Mikulas Patocka
On Wed, 2 Jul 2014, Christoph Hellwig wrote: On Wed, Jul 02, 2014 at 02:05:14PM -0400, Mikulas Patocka wrote: Hi Sagi Your commit d77e65350f2d82dfa0557707d505711f5a43c8fd causes crash on SCSI WRITE SAME command (it can be triggered by issuing the BLKZEROOUT ioctl). The crash

Re: [PATCH v2 1/3] ima: use ahash API for file hash calculation

2014-07-02 Thread Dave Hansen
On 07/01/2014 01:12 PM, Dmitry Kasatkin wrote: + ima_ahash= [IMA] Asynchronous hash usage parameters + Format: min_file_size + Set the minimal file size when use asynchronous hash. + If ima_ahash is not provided, ahash usage

Re: Crash on WRITE SAME

2014-07-02 Thread Christoph Hellwig
On Wed, Jul 02, 2014 at 02:29:05PM -0400, Mikulas Patocka wrote: And what about protection information for commands that transfer partial sectors? (for example, UMAP transfers 24 bytes). Should scsi_transfer_length return 24 or 32 in this case? As far as I understand so far PI is only

Re: IMA: kernel reading files opened with O_DIRECT

2014-07-02 Thread Christoph Hellwig
On Wed, Jul 02, 2014 at 11:55:41AM -0400, Jeff Moyer wrote: It's acceptable. It's not because it will then also affect other reads going on at the same time. The whole concept of ima is just broken, and if you want to do these sort of verification they need to happen inside the filesystem and

Re: [PATCH v2 1/3] ima: use ahash API for file hash calculation

2014-07-02 Thread Dmitry Kasatkin
On 2 July 2014 21:33, Dave Hansen dave.han...@intel.com wrote: On 07/01/2014 01:12 PM, Dmitry Kasatkin wrote: + ima_ahash= [IMA] Asynchronous hash usage parameters + Format: min_file_size + Set the minimal file size when use asynchronous hash.

Re: [PATCH 49/50] mars: generic pre-patch for mars

2014-07-02 Thread Christoph Hellwig
On Wed, Jul 02, 2014 at 06:20:20PM +0200, Thomas Sch?bel-Theuer wrote: Please take into account that MARS Light is not just a device driver, but a long-distance distributed system dealing with huge masses of state information. Which doesn't matter. No kernel driver has a business messing with

Re: [PATCH net-next] xen-netback: Adding debugfs io_ring_qX files

2014-07-02 Thread Zoltan Kiss
On 02/07/14 11:56, Ian Campbell wrote: On Mon, 2014-06-30 at 21:33 +0100, Zoltan Kiss wrote: This patch adds debugfs capabilities to netback. There used to be a similar patch floating around for classic kernel, but it used procfs. It is based on a very similar blkback patch. It creates

Re: IMA: kernel reading files opened with O_DIRECT

2014-07-02 Thread Jeff Moyer
Christoph Hellwig h...@infradead.org writes: On Wed, Jul 02, 2014 at 11:55:41AM -0400, Jeff Moyer wrote: It's acceptable. It's not because it will then also affect other reads going on at the same time. OK, that part I was fuzzy on. I wasn't sure if they were preventing other reads/writes

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Peter Stuge
Thank you very much for working on this, Stefan. Alan Stern wrote: Also, many host controllers cannot handle arbitrary alignment. It would be best to require that the buffer start at a page boundary. This requires a bit of negotiation with userspace, maybe per-URB but it seems better to

Re: [PATCH v2 1/3] ima: use ahash API for file hash calculation

2014-07-02 Thread Dave Hansen
On 07/02/2014 11:40 AM, Dmitry Kasatkin wrote: We should reserve command-line parameters for things that really need tweaking in early boot or are _needed_ to boot. ... Is module param good enough or it should be sysctl? Doesn't matter to me much. sysctls seem to be the easiest things to

Re: [PATCH net-next] xen-netback: Adding debugfs io_ring_qX files

2014-07-02 Thread Ian Campbell
On Wed, 2014-07-02 at 19:43 +0100, Zoltan Kiss wrote: On 02/07/14 11:56, Ian Campbell wrote: On Mon, 2014-06-30 at 21:33 +0100, Zoltan Kiss wrote: This patch adds debugfs capabilities to netback. There used to be a similar patch floating around for classic kernel, but it used procfs. It is

[PATCH 0/1] rcu: uninline rcu_read_lock_held()

2014-07-02 Thread Oleg Nesterov
On 07/02, Oleg Nesterov wrote: And this naturally suggests that rcu_read_lock_held() should be uninlined too (and rcu_read_lock_sched_held(), but this needs another patch). But I still can't understand the difference reported by size vmlinux, - 5541731 3014560 14757888 23314179

Re: [patch 3/4] timerfd: Implement timerfd_ioctl method to restore timerfd_ctx::ticks

2014-07-02 Thread Arnd Bergmann
On Wednesday 02 July 2014 21:04:16 Cyrill Gorcunov wrote: On Wed, Jul 02, 2014 at 12:49:51PM -0400, Christopher Covington wrote: +#ifdef CONFIG_CHECKPOINT_RESTORE +static long timerfd_ioctl(struct file *file, unsigned int cmd, unsigned long arg) +{ + struct timerfd_ctx *ctx

[PATCH 1/1] rcu: uninline rcu_read_lock_held()

2014-07-02 Thread Oleg Nesterov
Uninline rcu_read_lock_held(). According to size vmlinux this saves 28549 in .text: - 5541731 3014560 14757888 23314179 + 5513182 3026848 14757888 23297918 Note: it looks as if the data grows by 12288 bytes but this is not true, it does not actually grow. But .data starts with

Re: [PATCH 0/7] [RESEND][v4] x86: rework tlb range flushing code

2014-07-02 Thread Davidlohr Bueso
On Tue, 2014-07-01 at 09:48 -0700, Dave Hansen wrote: x86 Maintainers, Could this get picked up in to the x86 tree, please? That way, it will get plenty of time to bake before the 3.17 merge window. I had originally tried out this series (~v1, v2 iirc) on large KVM configurations. Setting

Re: [patch 3/4] timerfd: Implement timerfd_ioctl method to restore timerfd_ctx::ticks

2014-07-02 Thread Cyrill Gorcunov
On Wed, Jul 02, 2014 at 09:01:02PM +0200, Arnd Bergmann wrote: 64-bit get_user is currently unsupported on ARM, although it appears work is ongoing [1]. 1. https://lkml.org/lkml/2014/6/17/260 Thanks for info, Christopher! What arm camp is using then, copy-from-user?

Re: IMA: kernel reading files opened with O_DIRECT

2014-07-02 Thread Dmitry Kasatkin
On 2 July 2014 21:45, Jeff Moyer jmo...@redhat.com wrote: Christoph Hellwig h...@infradead.org writes: On Wed, Jul 02, 2014 at 11:55:41AM -0400, Jeff Moyer wrote: It's acceptable. It's not because it will then also affect other reads going on at the same time. OK, that part I was fuzzy

Re: [PATCH 1/9 v2] coresight: add CoreSight core layer framework

2014-07-02 Thread Mathieu Poirier
Thanks for the review - please see my comments inline. Mathieu On 2 July 2014 03:38, Daniel Thompson daniel.thomp...@linaro.org wrote: On 27/06/14 19:04, mathieu.poir...@linaro.org wrote: diff --git a/drivers/coresight/Kconfig b/drivers/coresight/Kconfig new file mode 100644 index

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Oliver Neukum
On Wed, 2014-07-02 at 17:53 +0200, Stefan Klug wrote: Implementation details: The patch only touches drivers/usb/core/devio.c. In procy_do_submiturb(), it is checked if zerocopy is allowed. This is currently a rough check which compares the number of required pages to

Re: [PATCH v8 8/9] pci: Add support for creating a generic host_bridge from device tree

2014-07-02 Thread Arnd Bergmann
On Wednesday 02 July 2014 18:31:13 Will Deacon wrote: + err = of_pci_parse_bus_range(parent-of_node, bus_range); + if (err) { + dev_info(parent, No bus range for %s, using default [0-255]\n, + parent-of_node-full_name); + bus_range-start =

Re: [RFC PATCH] tty: serial: Add 8250-core based omap driver

2014-07-02 Thread Aaro Koskinen
Hi, On Wed, Jul 02, 2014 at 11:09:32AM -0500, Felipe Balbi wrote: It has been only tested as console UART. The tty name is ttyS based instead of ttyO. How big is the pain here, what could be the easiest way to provide compatibility? have been considering that myself for months. You could

[PATCH 1/3] Revert shmem: fix faulting into a hole while it's punched

2014-07-02 Thread Hugh Dickins
This reverts commit f00cdc6df7d7cfcabb5b740911e6788cb0802bdb. (a) It was buggy: Sasha sent a lockdep report to remind us that grabbing i_mutex in the fault path is a no-no (write syscall may already hold i_mutex while faulting user buffer), no matter that the patch took care to drop mmap_sem

Re: [PATCH v8 2/9] pci: Export find_pci_host_bridge() function.

2014-07-02 Thread Arnd Bergmann
On Wednesday 02 July 2014 11:06:38 Tanmay Inamdar wrote: On Tue, Jul 1, 2014 at 11:43 AM, Liviu Dudau liviu.du...@arm.com wrote: This is a useful function and we should make it visible outside the generic PCI code. Export it as a GPL symbol. Signed-off-by: Liviu Dudau liviu.du...@arm.com

Re: [PATCH] f2fs: check bdi-dirty_exceeded when trying to skip data writes

2014-07-02 Thread Andrew Morton
On Wed, 2 Jul 2014 02:31:26 -0700 Jaegeuk Kim jaeg...@kernel.org wrote: --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -43,6 +43,8 @@ bool available_free_memory(struct f2fs_sb_info *sbi, int type) mem_size = (nm_i-nat_cnt * sizeof(struct nat_entry)) 12; res =

[PATCH 2/3] shmem: fix faulting into a hole while it's punched, take 2

2014-07-02 Thread Hugh Dickins
Trinity finds that mmap access to a hole while it's punched from shmem can prevent the madvise(MADV_REMOVE) or fallocate(FALLOC_FL_PUNCH_HOLE) from completing, until the (killable) reader stops; with the puncher's hold on i_mutex locking out all other writers until it can complete. This issue was

Re: [PATCH] ipv4: icmp: Fix pMTU handling for rare case

2014-07-02 Thread David Miller
From: Edward Allcutt edward.allc...@openmarket.com Date: Wed, 2 Jul 2014 10:05:13 +0100 (BST) On Tue, 1 Jul 2014, David Miller wrote: I still think the OpenBSD thing can't be intentional, and it's some bug they probably want to fix and it should therefore be investigated. Shout at me if

Re: [PATCH 1/4] x86: axe the lightly-used cpu_has_pae

2014-07-02 Thread Borislav Petkov
On Wed, Jul 02, 2014 at 09:29:26AM -0700, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com cpu_has_pae is only referenced in one place: the X86_32 kexec code (in a file not even built on 64-bit). It hardly warrants its own macro, or the trouble we go to ensuring that it

[PATCH 3/3] mm/fs: fix pessimization in hole-punching pagecache

2014-07-02 Thread Hugh Dickins
I wanted to revert my v3.1 commit d0823576bf4b (mm: pincer in truncate_inode_pages_range), to keep truncate_inode_pages_range() in synch with shmem_undo_range(); but have stepped back - a change to hole-punching in truncate_inode_pages_range() is a change to hole-punching in every filesystem

Re: [RFC PATCH] tty: serial: Add 8250-core based omap driver

2014-07-02 Thread Robert Nelson
On Wed, Jul 2, 2014 at 2:09 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Wed, Jul 02, 2014 at 11:09:32AM -0500, Felipe Balbi wrote: It has been only tested as console UART. The tty name is ttyS based instead of ttyO. How big is the pain here, what could be the easiest way to

Re: [PATCH 2/4] x86: introduce disabled-features

2014-07-02 Thread Borislav Petkov
On Wed, Jul 02, 2014 at 09:29:28AM -0700, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com I believe the REQUIRED_MASK aproach was taken so that it was easier to consult in assembly (arch/x86/kernel/verify_cpu.S). DISABLED_MASK does not have the same restriction, but I

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Peter Stuge wrote: Thank you very much for working on this, Stefan. Alan Stern wrote: Also, many host controllers cannot handle arbitrary alignment. It would be best to require that the buffer start at a page boundary. This requires a bit of negotiation with

Re: [PATCH 3/4] x86: add more disabled features

2014-07-02 Thread Borislav Petkov
On Wed, Jul 02, 2014 at 09:29:29AM -0700, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com There are a few other features than MPX that we can make assumptions about at compile-time based on compile options. Add them to disabled-features.h and check them with

Re: [PATCH v2 1/3] ima: use ahash API for file hash calculation

2014-07-02 Thread Mimi Zohar
On Wed, 2014-07-02 at 21:20 +0300, Dmitry Kasatkin wrote: On 2 July 2014 19:40, Mimi Zohar zo...@linux.vnet.ibm.com wrote: On Tue, 2014-07-01 at 23:12 +0300, Dmitry Kasatkin wrote: Async hash API allows to use HW acceleration for hash calculation. It may give significant performance gain

[PATCH v3 0/2] block,scsi: fixup blk_get_request dead queue scenarios

2014-07-02 Thread Joe Lawrence
v2-v3: rebase to 3.16-rc2, consider return values from the blk_mq_alloc_request leg of the blk_get_request callchain (noted by Jeff), noted in the second patch changelog. blk_mq_queue_enter may return 0 or errno, which blk_mq_alloc_request can propogate out via

Re: [patch 3/4] timerfd: Implement timerfd_ioctl method to restore timerfd_ctx::ticks

2014-07-02 Thread Cyrill Gorcunov
Updated variant, thanks a lot for feedback! --- From: Cyrill Gorcunov gorcu...@openvz.org Subject: timerfd: Implement timerfd_ioctl method to restore timerfd_ctx::ticks, v3 The read() of timerfd files allows to fetch the number of timer ticks while there is no way to set it back from userspace.

Re: [PATCH v2 1/3] ima: use ahash API for file hash calculation

2014-07-02 Thread Mimi Zohar
On Wed, 2014-07-02 at 21:21 +0300, Dmitry Kasatkin wrote: On 2 July 2014 20:44, Mimi Zohar zo...@linux.vnet.ibm.com wrote: On Tue, 2014-07-01 at 23:12 +0300, Dmitry Kasatkin wrote: -/* - * Calculate the MD5/SHA1 file digest - */ +static struct crypto_ahash *ima_alloc_atfm(enum

Re: [PATCH] ASoC: tda998x: add a codec to the HDMI transmitter

2014-07-02 Thread Mark Brown
On Wed, Jul 02, 2014 at 07:02:12PM +0100, Russell King - ARM Linux wrote: Well, as far as I'm concerned right now, it's for Mark to sort out this situation, and tell us what he wants to do with the Kirkwood stuff. I suspect he's keeping quiet because he doesn't care about it. Well, that and

Re: [PATCHv5 06/15] hwspinlock/omap: enable module before reading SYSSTATUS register

2014-07-02 Thread Suman Anna
Hi Ohad, On 07/01/2014 07:51 AM, Ohad Ben-Cohen wrote: Hi Suman, On Thu, May 1, 2014 at 3:34 AM, Suman Anna s-a...@ti.com wrote: The number of hwspinlocks are determined based on the value read from the IP block's SYSSTATUS register. However, the module may not be enabled and clocked, and

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Oliver Neukum wrote: On Wed, 2014-07-02 at 17:53 +0200, Stefan Klug wrote: Implementation details: The patch only touches drivers/usb/core/devio.c. In procy_do_submiturb(), it is checked if zerocopy is allowed. This is currently a rough check which compares the

[PATCH v2] crypto/fips: only panic on bad/missing crypto mod signatures

2014-07-02 Thread Jarod Wilson
Per further discussion with NIST, the requirements for FIPS state that we only need to panic the system on failed kernel module signature checks for crypto subsystem modules. This moves the fips-mode-only module signature check out of the generic module loading code, into the crypto subsystem, at

[PATCH v3 1/2] block,scsi: verify return pointer from blk_get_request

2014-07-02 Thread Joe Lawrence
The blk-core dead queue checks introduce an error scenario to blk_get_request that returns NULL if the request queue has been shutdown. This affects the behavior for __GFP_WAIT callers, who should verify the return value before dereferencing. Signed-off-by: Joe Lawrence joe.lawre...@stratus.com

[PATCH v3 2/2] block,scsi: fixup blk_get_request dead queue scenarios

2014-07-02 Thread Joe Lawrence
The blk_get_request function may fail in low-memory conditions or during device removal (even if __GFP_WAIT is set). To distinguish between these errors, modify the blk_get_request call stack to return the appropriate ERR_PTR. Verify that all callers check the return status and consider IS_ERR

[PATCH] Block: rsxx: core: Removed depricated flag IRQF_DISABLED

2014-07-02 Thread Kumar Gaurav
IRQF_DISABLED flag is depricated and should be removed. Signed-off-by: Kumar Gaurav kumargauravgup...@gmail.com --- drivers/block/rsxx/core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/rsxx/core.c b/drivers/block/rsxx/core.c index a8de2ee..ddb6b2b 100644

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Peter Stuge
Alan Stern wrote: Also, many host controllers cannot handle arbitrary alignment. It would be best to require that the buffer start at a page boundary. This requires a bit of negotiation with userspace, maybe per-URB but I don't follow. What negotiation is needed? All that needs

Re: [PATCHv5 05/15] hwspinlock/omap: add support for dt nodes

2014-07-02 Thread Suman Anna
Hi Ohad, On 07/01/2014 07:48 AM, Ohad Ben-Cohen wrote: Hi Suman, On Thu, May 1, 2014 at 3:34 AM, Suman Anna s-a...@ti.com wrote: static int omap_hwspinlock_probe(struct platform_device *pdev) { - struct hwspinlock_pdata *pdata = pdev-dev.platform_data; + struct device_node

Re: [PATCH] ASoC: tda998x: add a codec to the HDMI transmitter

2014-07-02 Thread Mark Brown
On Wed, Jul 02, 2014 at 07:51:54PM +0200, Jean-Francois Moine wrote: I tested this CODEC with both DAPM and DPCM. If the audio subsystem asks for streaming on both I2S and S/PDIF, only the last call is served (this depends on the order of the DAI links in the audio card creation table). I'd

Re: [PATCH 4/4] x86: add MPX to disaabled features

2014-07-02 Thread Borislav Petkov
On Wed, Jul 02, 2014 at 09:29:30AM -0700, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com This will go in to the MPX patch set, but I'm posting it here so folk can see how it will work since it was the original motivation for this work. Signed-off-by: Dave Hansen

Re: question about drivers/spi/spi-au1550.c

2014-07-02 Thread Mark Brown
On Thu, Jul 03, 2014 at 12:31:45AM +0530, Himangi Saraogi wrote: I find in the probe function that hw-ioarea is allocated using request_mem_region but a release_resource and kfree is called on it instead of a release_mem_region. Is there any special concern behind this. I was planning to use

Re: [PATCH PING] VFS: mount must return EACCES, not EROFS

2014-07-02 Thread Andrew Morton
On Fri, 27 Jun 2014 10:20:58 +0200 Philippe De Muyter p...@macqel.be wrote: Currently, the initial mount of the root file system by the linux kernel fails with a cryptic message instead of being retried with the MS_RDONLY flag set, when the device is read-only and the combination of block

[PATCH RT 1/3] timer: do not spin_trylock() on UP

2014-07-02 Thread Steven Rostedt
3.10.44-rt46-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior bige...@linutronix.de This will void a warning comming from the spin-lock debugging code. The lock avoiding idea is from Steven Rostedt. Cc:

[PATCH RT 3/3] Linux 3.10.44-rt46-rc1

2014-07-02 Thread Steven Rostedt
3.10.44-rt46-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) rost...@goodmis.org --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index

[PATCH RT 0/3] Linux 3.10.44-rt46-rc1

2014-07-02 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.10.44-rt46-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[PATCH RT 2/3] Fix latency histogram after hrtimer: Set expiry time before switch_hrtimer_base()

2014-07-02 Thread Steven Rostedt
3.10.44-rt46-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk In an rt-kernel with CONFIG_MISSED_TIMER_OFFSETS_HIST enabled, __hrtimer_start_range_ns() now crashes, as new_base is not assigned before it is

[PATCH net-next v2] xen-netback: Adding debugfs io_ring_qX files

2014-07-02 Thread Zoltan Kiss
This patch adds debugfs capabilities to netback. There used to be a similar patch floating around for classic kernel, but it used procfs. It is based on a very similar blkback patch. It creates xen-netback/[vifname]/io_ring_q[queueno] files, reading them output various ring variables etc. Writing

[PATCH net-next v2 0/3] pktgen: Upstreaming features useful for xen-netback/front testing

2014-07-02 Thread Zoltan Kiss
This series is my work during stressing the xen network drivers, hopefully others can benefit from it. 1/3: Filling payload with pattern, useful for checking data correctness when the packets travelling without checksum (~ intrahost VM-to-VM). Already sent it separately feq times, so its version

[PATCH net-next v2 3/3 RFC] pktgen: Allow sending TCP packets

2014-07-02 Thread Zoltan Kiss
This is a prototype patch to enable sending TCP packets with pktgen. The original motivation is to test TCP GSO with xen-netback/netfront, but I'm not sure about how the checksum should be set up, and also someone should verify the GSO settings I'm using. Signed-off-by: Zoltan Kiss

[PATCH net-next 1/3 v4] pktgen: Fill the payload optionally with a pattern

2014-07-02 Thread Zoltan Kiss
Introduces a new flag called PATTERN, which puts a non-periodic, predicatble pattern into the payload. This was useful to reproduce an otherwise intermittent bug in xen-netback [1], where checksum checking doesn't help. The pattern is a repetition of %lu , a series of increasing numbers divided by

[PATCH net-next v2 2/3] pktgen: Allow setting frag sizes individually

2014-07-02 Thread Zoltan Kiss
By defining the number of frags via nfrags, their sizes get calculated by pktgen. This patch allows their offsets and sizes to be specified via frag_off-len, in a comma separated list (e.g. frag_off-len 0-1,500-200,5000-10,9-100). The first is the offset (0 = offset 2^16), second is size (0

Re: [BUILD BUG][3.16-rc3] Error: too many copied sections (max = 13)

2014-07-02 Thread Andy Lutomirski
On Mon, Jun 30, 2014 at 9:09 PM, Steven Rostedt rost...@goodmis.org wrote: Testing the latest kernel (3.16-rc3) I hit this build bug: VDSO2C arch/x86/vdso/vdso-image-64.c Error: too many copied sections (max = 13) /arch/x86/vdso/Makefile:61: recipe for target

[PATCH 1/1] FS/BFS: use bfs prefix for dump_imap

2014-07-02 Thread Fabian Frederick
All bfs related functions use bfs_ prefix. This patch also moves extern declaration to bfs.h and removes prototype from inode.c This fixes checkpatch warning: 'WARNING: externs should be avoided in .c files' Cc: Tigran A. Aivazian tig...@aivazian.fsnet.co.uk Cc: Andrew Morton

Re: [Xen-devel] [PATCH net-next v2] xen-netback: Adding debugfs io_ring_qX files

2014-07-02 Thread Konrad Rzeszutek Wilk
On Wed, Jul 02, 2014 at 08:53:50PM +0100, Zoltan Kiss wrote: This patch adds debugfs capabilities to netback. There used to be a similar patch floating around for classic kernel, but it used procfs. It is based on a very similar blkback patch. It creates

[PATCH 1/1] FS/CODA: use linux/uaccess.h

2014-07-02 Thread Fabian Frederick
Fix checkpatch warning WARNING: Use #include linux/uaccess.h instead of asm/uaccess.h Cc: Jan Harkes jahar...@cs.cmu.edu Cc: Andrew Morton a...@linux-foundation.org Cc: c...@cs.cmu.edu Cc: codal...@coda.cs.cmu.edu Signed-off-by: Fabian Frederick f...@skynet.be --- fs/coda/cache.c | 2 +-

[PATCH 1/1] fs/efs/namei.c: return is not a function

2014-07-02 Thread Fabian Frederick
Fix checkpatch errors: ERROR: return is not a function, parentheses are not required Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/efs/namei.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/fs/efs/namei.c

Re: [PATCH 3/3 V2] irqchip: gic: Add supports for ARM GICv2m MSI(-X)

2014-07-02 Thread Suravee Suthikulanit
Thanks again for the review. Please see my comments below. On 7/2/2014 11:39 AM, Mark Rutland wrote: On Wed, Jul 02, 2014 at 04:22:23PM +0100, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com diff --git

Re: [BUILD BUG][3.16-rc3] Error: too many copied sections (max = 13)

2014-07-02 Thread H. Peter Anvin
On 07/02/2014 01:00 PM, Andy Lutomirski wrote: I managed to munge the binutils sources enough to build binutils 2.21. This seems to be a binutils bug: ld generates an empty .rela.dyn. Fortunately, it's not generating a DT_RELA dynamic entry. Not sure if that is a bug. Unnecessary, yes,

[PATCH 1/1] fs/gfs2/rgrp.c: kernel-doc warning fixes

2014-07-02 Thread Fabian Frederick
Cc: Steven Whitehouse swhit...@redhat.com Cc: cluster-de...@redhat.com Signed-off-by: Fabian Frederick f...@skynet.be --- fs/gfs2/rgrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index db629d1..f4cb9c0 100644 --- a/fs/gfs2/rgrp.c +++

Re: [BUILD BUG][3.16-rc3] Error: too many copied sections (max = 13)

2014-07-02 Thread Andy Lutomirski
On Wed, Jul 2, 2014 at 1:05 PM, H. Peter Anvin h...@zytor.com wrote: On 07/02/2014 01:00 PM, Andy Lutomirski wrote: I managed to munge the binutils sources enough to build binutils 2.21. This seems to be a binutils bug: ld generates an empty .rela.dyn. Fortunately, it's not generating a

[PATCH 1/1] fs/gfs2/super.c: replace seq_printf by seq_puts

2014-07-02 Thread Fabian Frederick
fix checkpatch warnings: WARNING: Prefer seq_puts to seq_printf Cc: Steven Whitehouse swhit...@redhat.com Cc: cluster-de...@redhat.com Signed-off-by: Fabian Frederick f...@skynet.be --- fs/gfs2/super.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH 1/1] fs/hpfs/dnode.c: fix suspect code indent

2014-07-02 Thread Fabian Frederick
Fix 2 checkpatch warnings: WARNING: suspect code indent for conditional statements Cc: Mikulas Patocka miku...@artax.karlin.mff.cuni.cz Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/hpfs/dnode.c | 17 + 1 file changed, 9

Re: [BUILD BUG][3.16-rc3] Error: too many copied sections (max = 13)

2014-07-02 Thread H. Peter Anvin
On 07/02/2014 01:07 PM, Andy Lutomirski wrote: On Wed, Jul 2, 2014 at 1:05 PM, H. Peter Anvin h...@zytor.com wrote: On 07/02/2014 01:00 PM, Andy Lutomirski wrote: I managed to munge the binutils sources enough to build binutils 2.21. This seems to be a binutils bug: ld generates an empty

Re: [PATCH v2 2/3] ima: introduce multi-page collect buffers

2014-07-02 Thread Mimi Zohar
On Tue, 2014-07-01 at 23:12 +0300, Dmitry Kasatkin wrote: Use of multiple-page collect buffers reduces: 1) the number of block IO requests 2) the number of asynchronous hash update requests Second is important for HW accelerated hashing, because significant amount of time is spent for

Re: [PATCH 1/3] PCI/MSI: Add pci_enable_msi_partial()

2014-07-02 Thread Bjorn Helgaas
On Tue, Jun 10, 2014 at 03:10:30PM +0200, Alexander Gordeev wrote: There are PCI devices that require a particular value written to the Multiple Message Enable (MME) register while aligned on power of 2 boundary value of actually used MSI vectors 'nvec' is a lesser of that MME value:

[PATCH 1/1] ipconfig: add static to local variable

2014-07-02 Thread Fabian Frederick
ic_dev_xid is only used in ipconfig.c Cc: David S. Miller da...@davemloft.net Cc: Alexey Kuznetsov kuz...@ms2.inr.ac.ru Cc: net...@vger.kernel.org Signed-off-by: Fabian Frederick f...@skynet.be --- net/ipv4/ipconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 2/3] ima: introduce multi-page collect buffers

2014-07-02 Thread Dmitry Kasatkin
On 2 July 2014 23:21, Mimi Zohar zo...@linux.vnet.ibm.com wrote: On Tue, 2014-07-01 at 23:12 +0300, Dmitry Kasatkin wrote: Use of multiple-page collect buffers reduces: 1) the number of block IO requests 2) the number of asynchronous hash update requests Second is important for HW

Re: [PATCH v3 0/2] block,scsi: fixup blk_get_request dead queue scenarios

2014-07-02 Thread Joe Lawrence
FWIW, I spent some time looking at blk_get_request callers and as far as I can tell, most should be able to gracefully handle additional errno values of -ENODEV and -EWOULDBLOCK. I didn't chase down the pktcdvd or osd paths, however Jiri and Boaz ack'd the earlier patch version that added

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Peter Stuge wrote: The kernel doesn't support scatter-gather for control transfers, only bulk. That could possibly change, right, and then it would be nice to have zerocopy for free there as well? No. ohci-hcd doesn't support control transfers larger than 4 KB

Re: [PATCH v3 0/3] free reclaimed pages by paging out instantly

2014-07-02 Thread Andrew Morton
On Wed, 2 Jul 2014 09:13:46 +0900 Minchan Kim minc...@kernel.org wrote: Normally, I/O completed pages for reclaim would be rotated into inactive LRU tail without freeing. The why it works is we can't free page from atomic context(ie, end_page_writeback) due to vaious locks isn't aware of

Re: [PATCH v8 2/9] pci: Export find_pci_host_bridge() function.

2014-07-02 Thread Tanmay Inamdar
On Wed, Jul 2, 2014 at 12:12 PM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 02 July 2014 11:06:38 Tanmay Inamdar wrote: On Tue, Jul 1, 2014 at 11:43 AM, Liviu Dudau liviu.du...@arm.com wrote: This is a useful function and we should make it visible outside the generic PCI code. Export it

[PATCH 0/4] CRAMFS Logging clean-up

2014-07-02 Thread Fabian Frederick
This small patchset converts CRAMFS to current logging functions and fixes some checkpatch warnings. Fabian Frederick (4): FS/CRAMFS: convert printk to pr_foo() FS/CRAMFS: use pr_fmt FS/CRAMFS: code clean-up fs/cramfs/inode.c: use linux/uaccess.h fs/cramfs/inode.c | 45

[PATCH 3/4] FS/CRAMFS: code clean-up

2014-07-02 Thread Fabian Frederick
Fixes some checkpatch errors/warnings: WARNING: Missing a blank line after declarations ERROR: spaces required around that '=' (ctx:VxV) ERROR: foo * bar should be foo *bar ERROR: space prohibited after that open parenthesis '(' Cc: Theodore Ts'o ty...@mit.edu Cc: Sasha Levin

[PATCH 4/4] fs/cramfs/inode.c: use linux/uaccess.h

2014-07-02 Thread Fabian Frederick
Fixes checkpatch warning: WARNING: Use #include linux/uaccess.h instead of asm/uaccess.h Cc: Theodore Ts'o ty...@mit.edu Cc: Sasha Levin sasha.le...@oracle.com Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/cramfs/inode.c | 2 +- 1 file

[PATCH 1/4] FS/CRAMFS: convert printk to pr_foo()

2014-07-02 Thread Fabian Frederick
Use current logging functions. no level printk converted to pr_err Cc: Theodore Ts'o ty...@mit.edu Cc: Sasha Levin sasha.le...@oracle.com Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/cramfs/inode.c | 14 +++---

[PATCH 2/4] FS/CRAMFS: use pr_fmt

2014-07-02 Thread Fabian Frederick
use module name for cramfs: prefix. (note that uncompress.c printk had no prefix). Cc: Theodore Ts'o ty...@mit.edu Cc: Sasha Levin sasha.le...@oracle.com Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- fs/cramfs/inode.c | 18 ++

Re: [PATCHv5 04/15] hwspinlock/core: add common OF helpers

2014-07-02 Thread Suman Anna
Hi Ohad, On Thu, May 1, 2014 at 3:34 AM, Suman Anna s-a...@ti.com wrote: 2. The of_hwspin_lock_simple_xlate() is a simple default translator function for hwspinlock provider implementations that use a single cell number for requesting a specific lock (relatively indexed) within a

Re: [PATCHv5 03/15] hwspinlock/core: maintain a list of registered hwspinlock banks

2014-07-02 Thread Suman Anna
Hi Ohad, On 07/01/2014 07:26 AM, Ohad Ben-Cohen wrote: Hi Suman, On Thu, May 1, 2014 at 3:34 AM, Suman Anna s-a...@ti.com wrote: The hwspinlock_device structure is used for registering a bank of locks with the driver core. The structure already contains the necessary members to identify

[PATCH V3 1/2] irqchip: gic: replace hex numbers with defines.

2014-07-02 Thread Feng Kan
This is to cleanup some hex numbers used in the code and replace then with defines to make the code cleaner. Signed-off-by: Feng Kan f...@apm.com Reviewed-by: Anup Patel apa...@apm.com --- drivers/irqchip/irq-gic.c | 62 -

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