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

2013-11-20 Thread Ivan Khoronzhuk
These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for Davinci/Keystone archs. V1: https://lkml.org/lkml/2013/11/11/352 Ivan Khoronzhuk (2): memory: ti-aemif: introduce AEMIF driver memory: ti-aemif: add bindings for AEMIF driver

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

2013-11-20 Thread Ivan Khoronzhuk
Add bindings for AEMIF controller drivers/memory/ti-aemif.c Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- .../bindings/memory-controllers/ti-aemif.txt | 198 1 file changed, 198 insertions(+) create mode 100644

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

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

Re: [PATCH 8/9] ARM: at91/dt: add new at91rm9200ek_mmc board

2013-11-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:37 Wed 28 Aug , Boris BREZILLON wrote: Add a new at91rm9200ek_mmc board (based on at91rm9200ek board) which enables mmc0/slot0. no for multiple dts this need to handle at user space level Best Regards, J. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com ---

Re: [PATCH 2/3] ACPI / hotplug: Fix PCI host bridge hot removal

2013-11-20 Thread Toshi Kani
On Wed, 2013-11-20 at 12:56 +0100, Rafael J. Wysocki wrote: On Tuesday, November 19, 2013 06:22:07 PM Toshi Kani wrote: On Wed, 2013-11-20 at 01:08 +0100, Rafael J. Wysocki wrote: On Wednesday, November 20, 2013 12:42:28 AM Rafael J. Wysocki wrote: On Tuesday, November 19, 2013 02:58:40

Re: [PATCH 6/7] mtd: nand: davinci: extend description of bindings

2013-11-20 Thread ivan.khoronzhuk
On 11/20/2013 05:46 PM, Arnd Bergmann wrote: On Wednesday 20 November 2013, Ivan Khoronzhuk wrote: Extend bindings for davinci_nand driver to be more clear. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- .../devicetree/bindings/mtd/davinci-nand.txt | 77

Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD?

2013-11-20 Thread J. Bruce Fields
On Wed, Nov 20, 2013 at 10:37:03AM -0500, Theodore Ts'o wrote: On Wed, Nov 20, 2013 at 08:52:36PM +0530, Chinmay V S wrote: If you have confirmed the performance numbers, then it indicates that the Intel 530 controller is more advanced and makes better use of the internal disk-cache to

Re: [PATCH RFC v2 05/29] PCI/MSI: Fix return value when populate_msi_sysfs() failed

2013-11-20 Thread Tejun Heo
On Fri, Oct 18, 2013 at 07:12:05PM +0200, Alexander Gordeev wrote: If populate_msi_sysfs() function failed msix_capability_init() must return the error code, but it returns the success instead. This update fixes the described misbehaviour. Signed-off-by: Alexander Gordeev agord...@redhat.com

Re: [PATCH 3/9] ARM: at91/dt: add usb1 vbus and pullup pins

2013-11-20 Thread boris brezillon
On 20/11/2013 15:57, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:04 Wed 28 Aug , Boris BREZILLON wrote: Add vbus and pullup pinctrl definitions. Request the vbus and pullup pins in usb1 node. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek.dts

Re: [PATCH 1/9] ARM: at91/dt: add rm9200 spi0 chip select pins definitions

2013-11-20 Thread boris brezillon
On 20/11/2013 15:56, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:02 Wed 28 Aug , Boris BREZILLON wrote: Add spi0 cs pinctrl pins definitions. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200.dtsi | 20 1 file changed, 20

Re: [PATCH 1/1] IOMMU: Save pci device id instead of pci_dev* pointer for DMAR devices

2013-11-20 Thread David Woodhouse
On Fri, 2013-11-08 at 08:46 -0700, Bjorn Helgaas wrote: I don't know the IOMMU drivers well either, but it seems like they rely on notifications of device addition and removal (see iommu_bus_notifier()). It doesn't seem right for them to also use the generic PCI interfaces like

Re: [PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb

2013-11-20 Thread Michael S. Tsirkin
On Wed, Nov 20, 2013 at 07:16:33AM -0800, Eric Dumazet wrote: On Wed, 2013-11-20 at 10:58 +0200, Michael S. Tsirkin wrote: On Tue, Nov 19, 2013 at 02:00:11PM -0800, Eric Dumazet wrote: On Tue, 2013-11-19 at 23:53 +0200, Michael S. Tsirkin wrote: Which NIC? Virtio? Prior to

Re: [patch] mm, vmscan: abort futile reclaim if we've been oom killed

2013-11-20 Thread Johannes Weiner
On Mon, Nov 18, 2013 at 05:17:31PM -0800, David Rientjes wrote: On Mon, 18 Nov 2013, Johannes Weiner wrote: Um, no, those processes are going through a repeated loop of direct reclaim, calling the oom killer, iterating the tasklist, finding an existing oom killed process that has yet

[GIT PULL] uprobes: uprobe_task/arch_uprobe/xol_area cleanups

2013-11-20 Thread Oleg Nesterov
Ingo, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core Another short series. No functional changes, everything was acked. Oleg Nesterov (5): uprobes: Add uprobe_task-dup_xol_work/dup_xol_addr uprobes: Don't assume that arch_uprobe-insn/ixol is

Re: [PATCH RFC v2 07/29] PCI/MSI: Return -ENOSYS for unimplemented interfaces, not -1

2013-11-20 Thread Tejun Heo
On Fri, Oct 18, 2013 at 07:12:07PM +0200, Alexander Gordeev wrote: Signed-off-by: Alexander Gordeev agord...@redhat.com Suggested-by: Ben Hutchings bhutchi...@solarflare.com Yes, please. Reviewed-by: Tejun Heo t...@kernel.org Thanks. -- tejun -- To unsubscribe from this list: send the line

Re: [PATCH v4 1/2] watchdog: bcm281xx: Watchdog Driver

2013-11-20 Thread Markus Mayer
On 19 November 2013 11:07, Markus Mayer markus.ma...@linaro.org wrote: This commit adds support for the watchdog timer used on the BCM281xx family of SoCs. Signed-off-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Matt Porter matt.por...@linaro.org Reviewed-by: Guenter Roeck

Re: [PATCH RFC v2 08/29] PCI/MSI: Make pci_enable_msix() 'nvec' argument unsigned int

2013-11-20 Thread Tejun Heo
Hello, On Fri, Oct 18, 2013 at 07:12:08PM +0200, Alexander Gordeev wrote: Make pci_enable_msix() and pci_enable_msi_block() consistent with regard to the type of 'nvec' argument. Indeed, a number of vectors to allocate is a natural value, so make it unsigned. I'm personally not a big fan of

Re: [PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb

2013-11-20 Thread Eric Dumazet
On Wed, 2013-11-20 at 18:06 +0200, Michael S. Tsirkin wrote: Hmm some kind of disconnect here. I got you rmanagement about bufferbloat. What I am saying is that maybe we should drop packets more aggressively: when we drop one packet of a flow, why not drop everything that's queued and is

Re: [PATCH 5/9] ARM: at91/dt: add mmc0 slot0 support to at91rm9200ek board

2013-11-20 Thread boris brezillon
On 20/11/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:06 Wed 28 Aug , Boris BREZILLON wrote: Add slot0 of mmc0 pinctrl pins definitions: - detect pin - write protect pin - enable slot0 pin: this pin is connected to an external switch which enable mmc0 slot0 or spi

Re: [PATCH 7/9] ARM: at91/dt: add i2c devices connected to at91rm9200ek board

2013-11-20 Thread boris brezillon
On 20/11/2013 16:01, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:08 Wed 28 Aug , Boris BREZILLON wrote: Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek.dts | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH RFC v2 09/29] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-11-20 Thread Tejun Heo
Hello, On Fri, Oct 18, 2013 at 07:12:09PM +0200, Alexander Gordeev wrote: +If this function returns a negative number, it indicates the device is +not capable of sending MSIs. Wouldn't errno better describe the error return rather than negative number? @@ -795,6 +795,21 @@ static int

Re: [PATCH] staging: imx-drm: Fix modular build of DRM_IMX_IPUV3

2013-11-20 Thread Greg KH
On Wed, Nov 20, 2013 at 08:16:32AM -0500, Josh Boyer wrote: On Tue, Nov 19, 2013 at 09:39:19PM -0800, Greg KH wrote: On Tue, Nov 19, 2013 at 08:56:59PM -0500, Josh Boyer wrote: On Mon, Nov 18, 2013 at 10:03:10AM +0100, Sascha Hauer wrote: On Tue, Nov 12, 2013 at 12:15:45PM -0500, Josh

[GIT PULL] parisc fixes for v3.13

2013-11-20 Thread Helge Deller
Hi Linus, Please pull the latest fixes for the parisc architecture from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.13 which has the following fixes: - revert an access_ok() patch which broke 32bit userspace on 64bit kernels - avoid a gcc miscompilation in

Re: [PATCH RFC v2 10/29] PCI/MSI: Get rid of pci_enable_msi_block_auto() interface

2013-11-20 Thread Tejun Heo
On Fri, Oct 18, 2013 at 07:12:10PM +0200, Alexander Gordeev wrote: As result of introduction of pci_get_msi_cap() interface pci_enable_msi_block_auto() function became superflous. To enable maximum possible number of MSIs drivers will first obtain that number from pci_get_msi_cap() function

Re: [Regression x2, 3.13-git] virtio block mq hang, iostat busted on virtio devices

2013-11-20 Thread Jens Axboe
On 11/20/2013 01:04 AM, Christoph Hellwig wrote: On Tue, Nov 19, 2013 at 02:43:51PM -0700, Jens Axboe wrote: No, the nr_requests isn't actually relevant in the blk-mq context, the driver sets its own depth. For the above, it's 64 normal commands, and 2 reserved. The reserved would be for a

Re: [PATCH 00/10] AMD Cryptographic Coprocessor support

2013-11-20 Thread Tom Lendacky
Hi Herbert, Is the crypto tree the right tree to go through for this support or would you prefer I go through another tree? Thanks, Tom On Tuesday, November 12, 2013 11:45:59 AM Tom Lendacky wrote: Resending because of typo in mailing list address... The following series implements support

Re: [Regression x2, 3.13-git] virtio block mq hang, iostat busted on virtio devices

2013-11-20 Thread Jens Axboe
On 11/20/2013 01:07 AM, Christoph Hellwig wrote: Just stumbled on that too. You need one more, btw, for the sg failure case: diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 588479d58f52..6a680d4de7f1 100644 --- a/drivers/block/virtio_blk.c +++

Re: [PATCH RFC v2 11/29] PCI/MSI: Convert pci_msix_table_size() to a public interface

2013-11-20 Thread Tejun Heo
Hello, On Fri, Oct 18, 2013 at 07:12:11PM +0200, Alexander Gordeev wrote: Make pci_msix_table_size() return error code if the device does not support MSI-X. This update is needed to create a consistent MSI-X counterpart for pci_get_msi_cap() MSI interface. Device drivers can use this

Re: [PATCH] x86, acpi, idle: Restructure the mwait idle routines

2013-11-20 Thread Arjan van de Ven
On 11/20/2013 2:58 AM, Peter Zijlstra wrote: On Wed, Nov 20, 2013 at 11:28:03AM +0100, Peter Zijlstra wrote: On Tue, Nov 19, 2013 at 01:06:30PM -0800, Jacob Pan wrote: I applied this patch on top of upstream kernel (801a760) and found out my machine completely failed to enter idle when nothing

[PATCH 3/3] mtd: nand: davinci: don't request AEMIF address range

2013-11-20 Thread Ivan Khoronzhuk
The TI AEMIF driver registers are used to setup timings for each chip select. The same registers range is used to setup NAND settings. The AEMIF and NAND drivers not use the same registers in this range. In case with TI AEMIF driver, the memory address range is requested already by AEMIF, so we

[PATCH 0/3] Reuse davinci-nand driver for Keystone arch

2013-11-20 Thread Ivan Khoronzhuk
This series contains updates of Davinci nand driver, in order to be reused for Keystone platform. Depends on: - Davinci nand driver fixes and updates: https://lkml.org/lkml/2013/11/20/271 - Introduce AEMIF driver for Davinci/Keystone archs: http://lkml.org/lkml/2013/11/11/352 V1:

Re: [PATCH RFC v2 06/29] PCI/MSI: Get rid of useless count of msi_desc leftovers

2013-11-20 Thread Tejun Heo
Hello, Alexander. On Fri, Oct 18, 2013 at 07:12:06PM +0200, Alexander Gordeev wrote: @@ -744,23 +744,6 @@ static int msix_capability_init(struct pci_dev *dev, return 0; -out_avail: - if (ret 0) { - /* - * If we had some success, report the number of

Re: [PATCH 4/9] staging/lustre/lnet: Fix assert on empty group in selftest module

2013-11-20 Thread Greg Kroah-Hartman
On Wed, Nov 20, 2013 at 05:26:57PM +0800, Peng Tao wrote: On Wed, Nov 20, 2013 at 2:37 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Nov 19, 2013 at 09:23:43PM +0800, Peng Tao wrote: From: Amir Shehata amir.sheh...@intel.com The core of the issue is that the selftest

Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD?

2013-11-20 Thread Howard Chu
Theodore Ts'o wrote: Historically, Intel has been really good about avoiding this, but since they've moved to using 3rd party flash controllers, I now advise everyone who plans to use any flash storage, regardless of the manufacturer, to do their own explicit power fail testing (hitting the

Re: [PATCH v4 1/2] watchdog: bcm281xx: Watchdog Driver

2013-11-20 Thread Guenter Roeck
On Wed, Nov 20, 2013 at 08:12:37AM -0800, Markus Mayer wrote: On 19 November 2013 11:07, Markus Mayer markus.ma...@linaro.org wrote: This commit adds support for the watchdog timer used on the BCM281xx family of SoCs. Signed-off-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Matt

Re: [PATCH 3.4 00/12] 3.4.70-stable review

2013-11-20 Thread Greg Kroah-Hartman
On Wed, Nov 20, 2013 at 08:04:45PM +0900, Satoru Takeuchi wrote: At Mon, 18 Nov 2013 10:41:33 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.70 release. There are 12 patches in this series, all will be posted as a response to this one. If

Re: [PATCH 3.4 00/12] 3.4.70-stable review

2013-11-20 Thread Greg Kroah-Hartman
On Wed, Nov 20, 2013 at 08:28:34AM -0700, Shuah Khan wrote: On 11/18/2013 11:41 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.70 release. There are 12 patches in this series, all will be posted as a response to this one. If anyone has any issues

[PATCH] staging: dwc2: add check on dwc2_core_reset return

2013-11-20 Thread Julien DELACOU
If the GRSTCTL_CSFTRST self-clearing bit never comes back to 0 for any reason, the controller is under reset state and cannot be used. It's preferable to abort initialization in such case. Signed-off-by: Julien Delacou julien.dela...@st.com --- drivers/staging/dwc2/core.c | 58

[PATCH 2/3] mtd: nand: davinci: don't set timings if AEMIF is used

2013-11-20 Thread Ivan Khoronzhuk
The problem that the set timings code contains the call of Davinci platform function davinci_aemif_setup_timing() which is not accessible if kernel is built for Keystone only. The Keysone platform is going to use TI AEMIF driver. If TI AEMIF is used we don't need to set timings and bus width. It

[PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-20 Thread Ivan Khoronzhuk
The Keystone arch has compatible nand device, so reuse it. In case with Keystone it depends on TI_AEMIF because AEMIF driver is responsible to set timings. See http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com ---

[PATCH 7/7] preempt: Take away preempt_enable_no_resched() from modules

2013-11-20 Thread Peter Zijlstra
Discourage drivers/modules to be creative with preemption. Sadly all is implemented in macros and inline so if they want to do evil they still can, but at least try and discourage some. Cc: Rusty Russell ru...@rustcorp.com.au Cc: Arjan van de Ven ar...@linux.intel.com Cc: l...@kernel.org Cc:

Re: [PATCH] x86, acpi, idle: Restructure the mwait idle routines

2013-11-20 Thread Peter Zijlstra
On Wed, Nov 20, 2013 at 08:24:47AM -0800, Arjan van de Ven wrote: On 11/20/2013 2:58 AM, Peter Zijlstra wrote: So pretty silly actually; you cannot do a store (any store) in between monitor and mwait. you can just not to the cacheline you are watching (or things that alias with that) Ah

[PATCH 2/7] sched, preempt: Fixup missed PREEMPT_NEED_RESCHED folding

2013-11-20 Thread Peter Zijlstra
With various drivers wanting to inject idle time; we get people calling idle routines outside of the idle loop proper. Therefore we need to be extra careful about not missing TIF_NEED_RESCHED - PREEMPT_NEED_RESCHED propagations. While looking at this, I also realized there's a small window in

[PATCH 5/7] locking: Optimize lock_bh functions

2013-11-20 Thread Peter Zijlstra
Currently all _bh_ lock functions do two preempt_count operations: local_bh_disable(); preempt_disable(); and for the unlock: preempt_enable_no_resched(); local_bh_enable(); Since its a waste of perfectly good cycles to modify the same variable twice when you can do it in one go; use

[PATCH 3/7] idle, thermal, acpi: Remove home grown idle implementations

2013-11-20 Thread Peter Zijlstra
People are starting to grow their own idle implementations in various disgusting ways. Collapse the lot and use the generic idle code to provide a proper idle cycle implementation. This does not fully preseve existing behaviour in that the generic idle cycle function calls into the normal cpuidle

[PATCH 4/7] preempt, locking: Rework local_bh_{dis,en}able()

2013-11-20 Thread Peter Zijlstra
Currently local_bh_disable() is out-of-line for no apparent reason. So inline it to save a few cycles on call/return nonsense, the function body is a single add on x86 (a few loads and store extra on load/store archs). Also expose two new local_bh functions: __local_bh_{dis,en}able_ip(unsigned

Re: [PATCH] x86, acpi, idle: Restructure the mwait idle routines

2013-11-20 Thread Arjan van de Ven
On 11/20/2013 8:33 AM, Peter Zijlstra wrote: On Wed, Nov 20, 2013 at 08:24:47AM -0800, Arjan van de Ven wrote: On 11/20/2013 2:58 AM, Peter Zijlstra wrote: So pretty silly actually; you cannot do a store (any store) in between monitor and mwait. you can just not to the cacheline you are

Re: [PATCHv5 2/9] driver/core: populate devices in order for IOMMUs

2013-11-20 Thread Stephen Warren
On 11/20/2013 07:03 AM, Hiroshi Doyu wrote: Thierry Reding thierry.red...@gmail.com wrote @ Wed, 20 Nov 2013 14:14:48 +0100: (Yes, what Thierry said) Does the above mean the following? int of_iommu_attach(struct device *dev) { int i; struct of_phandle_args args;

Re: [PATCH 07/11] vfs: add cross-rename

2013-11-20 Thread Andy Lutomirski
On Wed, Nov 20, 2013 at 5:01 AM, Miklos Szeredi mik...@szeredi.hu wrote: From: Miklos Szeredi mszer...@suse.cz If flags contain RENAME_EXCHANGE then exchange source and destination files. There's no restriction on the type of the files; e.g. a directory can be exchanged with a symlink. What

[RFC PATCH v2 5/5] locks: report l_pid as -1 for FL_FILP_PRIVATE locks

2013-11-20 Thread Jeff Layton
FL_FILP_PRIVATE locks are no longer tied to a particular PID, and are instead inheritable by child processes. Report a l_pid of '-1' for these sorts of locks since the pid is somewhat meaningless for them. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/locks.c | 4 ++-- 1 file changed, 2

[RFC PATCH v2 2/5] locks: rename locks_remove_flock to locks_remove_filp

2013-11-20 Thread Jeff Layton
This function currently removes leases in addition to flock locks, so the name is misleading. Rename it to locks_remove_filp to indicate that it removes locks that are associated with a particular filp. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/file_table.c| 2 +- fs/locks.c

[RFC PATCH v2 0/5] locks: implement filp-private (aka UNPOSIX) locks

2013-11-20 Thread Jeff Layton
This patchset is the second posting of this set. Here's an overview of the changes: The inheritance semantics have been changed to be much more like BSD (aka flock()) locks. With this change, what we basically have are a hybrid of BSD and POSIX locks. They conflict with classic POSIX locks but

[RFC PATCH v2 1/5] locks: consolidate checks for compatible filp-f_mode values in setlk handlers

2013-11-20 Thread Jeff Layton
Add a wrapper around assign_type that does this instead of duplicating this check in two places. This also fixes a minor wart in the code where we continue referring to the struct flock after converting it to struct file_lock. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/locks.c | 61

Re: [PATCH] Add a text_poke syscall

2013-11-20 Thread H. Peter Anvin
On 11/19/2013 10:49 AM, Andi Kleen wrote: We already have all the code. Why not just use it? We're talking user space here, which has different requirement (COW, memory protection, ...) which means it is not really the same code. You can't take a page fault while patching the kernel. Note

Re: [PATCH RFC 0/3] Add dirty-tracking infrastructure for non-page-backed address spaces

2013-11-20 Thread Andy Lutomirski
On Wed, Nov 20, 2013 at 12:12 AM, Thomas Hellstrom thellst...@vmware.com wrote: On 11/19/2013 11:51 PM, Andy Lutomirski wrote: On 11/19/2013 12:06 PM, Thomas Hellstrom wrote: Hi! Before going any further with this I'd like to check whether this is an acceptable way to go. Background: GPU

Re: [PATCH 07/11] vfs: add cross-rename

2013-11-20 Thread Andy Lutomirski
On Wed, Nov 20, 2013 at 8:44 AM, Miklos Szeredi mik...@szeredi.hu wrote: On Wed, Nov 20, 2013 at 5:39 PM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Nov 20, 2013 at 5:01 AM, Miklos Szeredi mik...@szeredi.hu wrote: From: Miklos Szeredi mszer...@suse.cz If flags contain RENAME_EXCHANGE

Re: BUG: Patch Convert some mftb/mftbu into mfspr breaks MPC885

2013-11-20 Thread Scott Wood
On Wed, 2013-11-20 at 10:37 +0100, leroy christophe wrote: Scott, The patch Convert some mftb/mftbu into mfspr (beb2dc0a7a84be003ce54e98b95d65cc66e6e536) breaks startup on MPC885. The CPU traps (SoftwareEmulation trap) at sched_clock() when trying to read TBU with mfspr. Reverting the

Re: [PATCH 3/7] idle, thermal, acpi: Remove home grown idle implementations

2013-11-20 Thread Peter Zijlstra
On Wed, Nov 20, 2013 at 08:40:49AM -0800, Arjan van de Ven wrote: On 11/20/2013 8:04 AM, Peter Zijlstra wrote: This does not fully preseve existing behaviour in that the generic idle cycle function calls into the normal cpuidle governed idle routines and should thus respect things like QoS

Re: [PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb

2013-11-20 Thread Michael S. Tsirkin
On Wed, Nov 20, 2013 at 08:14:21AM -0800, Eric Dumazet wrote: On Wed, 2013-11-20 at 18:06 +0200, Michael S. Tsirkin wrote: Hmm some kind of disconnect here. I got you rmanagement about bufferbloat. What I am saying is that maybe we should drop packets more aggressively: when we drop

Re: [PATCH 1/9] ARM: at91/dt: add rm9200 spi0 chip select pins definitions

2013-11-20 Thread boris brezillon
On 20/11/2013 16:59, boris brezillon wrote: On 20/11/2013 15:56, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:02 Wed 28 Aug , Boris BREZILLON wrote: Add spi0 cs pinctrl pins definitions. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200.dtsi | 20

Re: user defined OOM policies

2013-11-20 Thread Luigi Semenzato
On Wed, Nov 20, 2013 at 7:22 AM, Michal Hocko mho...@suse.cz wrote: On Wed 20-11-13 00:02:20, David Rientjes wrote: On Tue, 19 Nov 2013, Michal Hocko wrote: We have basically ended up with 3 options AFAIR: 1) allow memcg approach (memcg.oom_control) on the root level for

Re: [PATCH RFC v2 00/29] Introduce pcim_enable_msi*() family helpers

2013-11-20 Thread Tejun Heo
Hello, Sorry about the long delay. Except for the several nits that I mentioned, things generally look good to me. Thanks a lot for your patience. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD?

2013-11-20 Thread Chinmay V S
On Wed, Nov 20, 2013 at 9:25 PM, J. Bruce Fields bfie...@fieldses.org wrote: Some SSD's are also claim the ability to flush the cache on power loss: http://www.intel.com/content/www/us/en/solid-state-drives/ssd-320-series-power-loss-data-protection-brief.html Which should in theory

Re: [PATCH 0/7] Cure some vaux idle wrackage

2013-11-20 Thread Jacob Pan
On Wed, 20 Nov 2013 17:34:53 +0100 Peter Zijlstra pet...@infradead.org wrote: On Wed, Nov 20, 2013 at 05:04:50PM +0100, Peter Zijlstra wrote: I ran head-first into intel_powerclamp and acpi_pad yesterday -- afaict they try and do pretty much the same thing but both had competing sets of

Re: [PATCH 5/9] ARM: at91/dt: add mmc0 slot0 support to at91rm9200ek board

2013-11-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:14 Wed 20 Nov , boris brezillon wrote: On 20/11/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:06 Wed 28 Aug , Boris BREZILLON wrote: Add slot0 of mmc0 pinctrl pins definitions: - detect pin - write protect pin - enable slot0 pin: this pin is connected to an

Re: user defined OOM policies

2013-11-20 Thread Vladimir Murzin
On Tue, Nov 19, 2013 at 02:40:07PM +0100, Michal Hocko wrote: Hi Michal On Tue 19-11-13 14:14:00, Michal Hocko wrote: [...] We have basically ended up with 3 options AFAIR: 1) allow memcg approach (memcg.oom_control) on the root level for both OOM notification and blocking

Re: [PATCH] blkcg: have bh disable for 32bit UP system reading 64bit stats

2013-11-20 Thread Tejun Heo
On Wed, Nov 06, 2013 at 07:14:44PM +0800, Hong Zhiguo wrote: From: Hong Zhiguo zhiguoh...@tencent.com Update of blkg_stat and blkg_rwstat may happen in bh context. While u64_stats_fetch_retry is only preempt_disable on 32bit UP system. This is not enough to avoid preemption by bh and may

Re: [PATCH 3/7] idle, thermal, acpi: Remove home grown idle implementations

2013-11-20 Thread Arjan van de Ven
On 11/20/2013 9:23 AM, Thomas Gleixner wrote: On Wed, 20 Nov 2013, Arjan van de Ven wrote: On 11/20/2013 8:04 AM, Peter Zijlstra wrote: This does not fully preseve existing behaviour in that the generic idle cycle function calls into the normal cpuidle governed idle routines and should thus

Re: user defined OOM policies

2013-11-20 Thread Vladimir Murzin
Hi David On Wed, Nov 20, 2013 at 12:02:20AM -0800, David Rientjes wrote: On Tue, 19 Nov 2013, Michal Hocko wrote: We have basically ended up with 3 options AFAIR: 1) allow memcg approach (memcg.oom_control) on the root level for both OOM notification and blocking OOM

Re: [PATCH V4 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
Hi Marc, On Wed, Nov 20, 2013 at 6:44 PM, Marc Zyngier marc.zyng...@arm.com wrote: [dropped patc...@apm.com] Vinayak, Please keep reviewers on CC, as it makes easier to track the changes. Sure, will do. On 20/11/13 11:13, Vinayak Kale wrote: Add support for irq registration when pmu

Re: [PATCH] blkcg: have bh disable for 32bit UP system reading 64bit stats

2013-11-20 Thread Jens Axboe
On 11/20/2013 10:24 AM, Tejun Heo wrote: On Wed, Nov 06, 2013 at 07:14:44PM +0800, Hong Zhiguo wrote: From: Hong Zhiguo zhiguoh...@tencent.com Update of blkg_stat and blkg_rwstat may happen in bh context. While u64_stats_fetch_retry is only preempt_disable on 32bit UP system. This is not

Re: user defined OOM policies

2013-11-20 Thread Michal Hocko
On Wed 20-11-13 18:21:23, Vladimir Murzin wrote: On Tue, Nov 19, 2013 at 02:40:07PM +0100, Michal Hocko wrote: Hi Michal On Tue 19-11-13 14:14:00, Michal Hocko wrote: [...] We have basically ended up with 3 options AFAIR: 1) allow memcg approach (memcg.oom_control) on the root level

Re: [PATCH 4/9] staging/lustre/lnet: Fix assert on empty group in selftest module

2013-11-20 Thread Peng Tao
On 11/21/2013 12:27 AM, Greg Kroah-Hartman wrote: On Wed, Nov 20, 2013 at 05:26:57PM +0800, Peng Tao wrote: On Wed, Nov 20, 2013 at 2:37 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Nov 19, 2013 at 09:23:43PM +0800, Peng Tao wrote: From: Amir Shehata amir.sheh...@intel.com

Re: [PATCH] mm/zswap: change params from hidden to ro

2013-11-20 Thread Vladimir Murzin
Hi Dan! On Wed, Nov 20, 2013 at 11:38:42AM -0500, Dan Streetman wrote: The compressor and enabled params are currently hidden, this changes them to read-only, so userspace can tell if zswap is enabled or not and see what compressor is in use. Could you elaborate more why this pice of

Re: [Suggestion] kernel: cgroup: mount failure in LTP cgroup_regression_test.sh

2013-11-20 Thread Tejun Heo
Hello, Sorry about the delay. On Fri, Nov 08, 2013 at 04:15:23PM +0800, Chen Gang wrote: After simplify, the related operation, environments and output are: [root@gchenlinux tmp]# df -Th | grep cgroup tmpfs tmpfs1001M 0 1001M 0% /sys/fs/cgroup

Re: [PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist

2013-11-20 Thread Frank Ch. Eigler
Hi - Does this new blacklist cover enough that the kernel now survives a broadly wildcarded perf-probe, e.g. over e.g. all of its kallsyms? That's generally the purpose of the annotations - if it doesn't then that's a bug. AFAIK, no kernel since kprobes was introduced has ever stood up

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

2013-11-20 Thread Dan Streetman
Currently, zswap is writeback cache; stored pages are not sent to swap disk, and when zswap wants to evict old pages it must first write them back to swap cache/disk manually. This avoids swap out disk I/O up front, but only moves that disk I/O to the writeback case (for pages that are evicted),

[git pull] vfs.git bits and pieces

2013-11-20 Thread Al Viro
[Apologies for delay; I'd spent the last day hunting down something that turned out to be a VM leak completely unrelated to this stuff - it's present in mainline, for starters. Unreliable reproducers make for fun bisects ;-/ Anyway, by now I'm absolutely sure that this is a VM bug and not

Re: [PATCH 1/1] Workaround for Suspend/Resume issue of AX88772B under ChromeOS

2013-11-20 Thread Grant Grundler
On Tue, Nov 19, 2013 at 9:40 PM, David Miller da...@davemloft.net wrote: From: fre...@asix.com.tw Date: Wed, 20 Nov 2013 10:11:36 +0800 From: Freddy Xin fre...@asix.com.tw This patch adds a workaroud to solve Suspend/Resume issue that AX88772B turns off its Ethernet PHY power in the case

Re: [PATCH] fs: partitions: efi: Fix bound check

2013-11-20 Thread Davidlohr Bueso
On Wed, 2013-11-20 at 08:18 +0100, Antti Miettinen wrote: On 20.11.2013 02:04, Andrew Morton wrote: On Fri, 15 Nov 2013 19:14:22 +0200 (EET) Antti P Miettinen amietti...@nvidia.com wrote: Use ARRAY_SIZE instead of sizeof to get proper max for label length. Signed-off-by:

Re: [git pull] vfs.git bits and pieces

2013-11-20 Thread Al Viro
On Wed, Nov 20, 2013 at 05:42:11PM +, Al Viro wrote: [Apologies for delay; I'd spent the last day hunting down something that turned out to be a VM leak completely unrelated to this stuff - it's present in mainline, for starters. Unreliable reproducers make for fun bisects ;-/ Anyway, by

Security Update

2013-11-20 Thread W E B M A S T E R
We detected a login attempt on your email account with valid login details from - Location: Napoli, Italy IP Address:62.98.81.251 Date: Tue Nov 19, 2013 Time: 11:16 CEST This is an unrecognized location/device. Please follow the instructions below by carefully

Re: [PATCH V3] ARM: trace: Add tracepoint for the Inter Processor Interrupt

2013-11-20 Thread Dave Martin
On Tue, Nov 19, 2013 at 03:09:18PM +0100, Daniel Lezcano wrote: On 11/07/2013 10:01 AM, Daniel Lezcano wrote: The Inter Processor Interrupt is used on ARM to tell another processor to do a specific action. This is mainly used to emulate a timer interrupt on an idle cpu, force a cpu to

[PATCH 6/6] kexec: Support for Kexec on panic using new system call

2013-11-20 Thread Vivek Goyal
This patch adds support for loading a kexec on panic (kdump) kernel usning new system call. Signed-off-by: Vivek Goyal vgo...@redhat.com --- arch/x86/include/asm/crash.h |9 + arch/x86/include/asm/kexec.h | 17 + arch/x86/kernel/crash.c| 585

[PATCH 4/6] kexec: A new system call, kexec_file_load, for in kernel kexec

2013-11-20 Thread Vivek Goyal
This patch implements the in kernel kexec functionality. It implements a new system call kexec_file_load. I think parameter list of this system call will change as I have not done the kernel image signature handling yet. I have been told that I might have to pass the detached signature and size as

Re: [PATCH] mm/zswap: change params from hidden to ro

2013-11-20 Thread Dan Streetman
On Wed, Nov 20, 2013 at 12:33 PM, Vladimir Murzin murzi...@gmail.com wrote: Hi Dan! On Wed, Nov 20, 2013 at 11:38:42AM -0500, Dan Streetman wrote: The compressor and enabled params are currently hidden, this changes them to read-only, so userspace can tell if zswap is enabled or not and see

[PATCH 7/8] mm/swap.c: reorganize put_compound_page()

2013-11-20 Thread Andrea Arcangeli
From: Andrew Morton a...@linux-foundation.org Tweak it so save a tab stop, make code layout slightly less nutty. Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Andrea Arcangeli aarca...@redhat.com --- mm/swap.c | 254

Re: [PATCH v2 4/5] regulator: max14577: Add regulator driver for Maxim 14577

2013-11-20 Thread Bartlomiej Zolnierkiewicz
Hi Krzysztof, On Wednesday, November 20, 2013 03:12:11 PM Krzysztof Kozlowski wrote: MAX14577 chip is a multi-function device which includes MUIC, charger and voltage regulator. The driver is located in drivers/mfd. This patch adds regulator driver for MAX14577 chip. There are two

[PATCH 6/8] mm/hugetlb.c: simplify PageHeadHuge() and PageHuge()

2013-11-20 Thread Andrea Arcangeli
From: Andrew Morton a...@linux-foundation.org Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Andrea Arcangeli aarca...@redhat.com --- mm/hugetlb.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index

[PATCH 2/6] kexec: Move segment verification code in a separate function

2013-11-20 Thread Vivek Goyal
Previously do_kimage_alloc() will allocate a kimage structure, copy segment list from user space and then do the segment list sanity verification. Break down this function in 3 parts. do_kimage_alloc_init() to do actual allocation and basic initialization of kimage structure.

[PATCH 8/8] mm/hugetlb.c: defer PageHeadHuge() symbol export

2013-11-20 Thread Andrea Arcangeli
No actual need of it. So keep it internal. Signed-off-by: Andrea Arcangeli aarca...@redhat.com --- mm/hugetlb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 9b8a14b..133ea72 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -743,7 +743,6 @@ int

Re: [PATCH 3/7] idle, thermal, acpi: Remove home grown idle implementations

2013-11-20 Thread Thomas Gleixner
On Wed, 20 Nov 2013, Arjan van de Ven wrote: On 11/20/2013 9:23 AM, Thomas Gleixner wrote: On Wed, 20 Nov 2013, Arjan van de Ven wrote: On 11/20/2013 8:04 AM, Peter Zijlstra wrote: This does not fully preseve existing behaviour in that the generic idle cycle function calls into

[PATCH 3/8] mm: hugetlbfs: move the put/get_page slab and hugetlbfs optimization in a faster path

2013-11-20 Thread Andrea Arcangeli
We don't actually need a reference on the head page in the slab and hugetlbfs paths, as long as we add a smp_rmb() which should be faster than get_page_unless_zero. Signed-off-by: Andrea Arcangeli aarca...@redhat.com --- mm/swap.c | 140

[PATCH 2/8] mm: hugetlb: use get_page_foll in follow_hugetlb_page

2013-11-20 Thread Andrea Arcangeli
get_page_foll is more optimal and is always safe to use under the PT lock. More so for hugetlbfs as there's no risk of race conditions with split_huge_page regardless of the PT lock. Reviewed-by: Khalid Aziz khalid.a...@oracle.com Signed-off-by: Andrea Arcangeli aarca...@redhat.com ---

Re: [PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist

2013-11-20 Thread Steven Rostedt
On Wed, 20 Nov 2013 12:36:00 -0500 Frank Ch. Eigler f...@redhat.com wrote: Hi - Does this new blacklist cover enough that the kernel now survives a broadly wildcarded perf-probe, e.g. over e.g. all of its kallsyms? That's generally the purpose of the annotations - if it doesn't

[PATCH 0/8] mm: hugetlbfs: fix hugetlbfs optimization v3

2013-11-20 Thread Andrea Arcangeli
Changes since v2: 1) optimize away a few more locked ops in the get_page/put_page hugetlbfs and slab paths (see 3/8 and 4/8). 3/8 is the least trivial addition to the series as we now are running PageSlab and PageHeadHuge on random page structure without holding any reference count

[PATCH 4/8] mm: thp: optimize compound_trans_huge

2013-11-20 Thread Andrea Arcangeli
Currently we don't clobber page_tail-first_page during split_huge_page, so compound_trans_head can be set to compound_head without adverse effects, and this mostly optimizes away a smp_rmb. It looks worthwhile to keep around the implementation that doesn't relay on page_tail-first_page not to be

[PATCH 1/8] mm: hugetlbfs: fix hugetlbfs optimization

2013-11-20 Thread Andrea Arcangeli
The patch from commit 7cb2ef56e6a8b7b368b2e883a0a47d02fed66911 can cause dereference of a dangling pointer if split_huge_page runs during PageHuge() if there are updates to the tail_page-private field. Also it is repeating compound_head twice for hugetlbfs and it is running

[PATCH 5/6] kexec-bzImage: Support for loading bzImage using 64bit entry

2013-11-20 Thread Vivek Goyal
This is loader specific code which can load bzImage and set it up for 64bit entry. This does not take care of 32bit entry or real mode entry yet. Signed-off-by: Vivek Goyal vgo...@redhat.com --- arch/x86/include/asm/kexec-bzimage.h | 12 + arch/x86/include/asm/kexec.h | 26 +++

commit c368e5fc2a190923b786f2de3e79430ea3566a25 regresses MMC

2013-11-20 Thread Felipe Balbi
Hi, commit c368e5fc2a190923b786f2de3e79430ea3566a25 (regulator: fixed: get rid of {get|list}_voltage()) regresses any MMC host controller which uses fixed regulator for functionality. Note that mmc core uses regulator_list_voltage() to setup OCR mask and that has a check for missing

<    5   6   7   8   9   10   11   12   13   >