[PATCH 4.8 16/57] drivers: base: dma-mapping: page align the size when unmap_kernel_range

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peng Fan commit 85714108e673cdebf1b96abfd50fb02a29e37577 upstream. When dma_common_free_remap, the input parameter 'size' may not be page aligned. And, met kernel warning when doing iommu dma f

[PATCH 4.7 39/45] ext4: unmap metadata when zeroing blocks

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 9b623df614576680cadeaa4d7e0b5884de8f7c17 upstream. When zeroing blocks for DAX allocations, we also have to unmap aliases in the block device mappings. Otherwise writeback can

[PATCH 4.8 20/57] fuse: listxattr: verify xattr list

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit cb3ae6d25a5471be62bfe6ac1fccc0e91edeaba0 upstream. Make sure userspace filesystem is returning a well formed list of xattr names (zero or more nonzero length, null termina

[PATCH 4.7 43/45] vfs: move permission checking into notify_change() for utimes(NULL)

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit f2b20f6ee842313a0d681dbbf7f87b70291a6a3b upstream. This fixes a bug where the permission was not properly checked in overlayfs. The testcase is ltp/utimensat01. It is al

[PATCH 4.7 41/45] crypto: vmx - Fix memory corruption caused by p8_ghash

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Cerri commit 80da44c29d997e28c4442825f35f4ac339813877 upstream. This patch changes the p8_ghash driver to use ghash-generic as a fixed fallback implementation. This allows the correct v

[PATCH 4.7 44/45] cachefiles: Fix attempt to read i_blocks after deleting file [ver #2]

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit a818101d7b92e76db2f9a597e4830734767473b9 upstream. An NULL-pointer dereference happens in cachefiles_mark_object_inactive() when it tries to read i_blocks so that it can te

[PATCH 4.8 22/57] fuse: fix killing s[ug]id in setattr

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit a09f99eddef44035ec764075a37bace8181bec38 upstream. Fuse allowed VFS to set mode in setattr in order to clear suid/sgid on chown and truncate, and (since writeback_cache) w

[PATCH 4.7 08/45] b43legacy: fix debugfs crash

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 9c4a45b17e094a090e96beb1138e34c2a10c6b8c upstream. This patch fixes a crash that happens because b43legacy's debugfs code expects file->f_op to be a pointer to its ow

[PATCH 4.7 00/45] 4.7.10-stable review

2016-10-21 Thread Greg Kroah-Hartman
NOTE, this will be the last 4.7.y kernel to be released. After this one, the 4.7.y series is end-of-life. You should be moving to the 4.8.y kernel series at this point in time. This is the start of the stable review cycle for the 4.7.10 r

[PATCH 4.7 45/45] cfq: fix starvation of asynchronous writes

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Glauber Costa commit 3932a86b4b9d1f0b049d64d4591ce58ad18b44ec upstream. While debugging timeouts happening in my application workload (ScyllaDB), I have observed calls to open() taking a long t

[PATCH 4.7 06/45] debugfs: introduce a public file_operations accessor

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 86f0e06767dda7863d6d2a8f0b3b857e6ea876a0 upstream. This patch introduces an accessor which can be used by the users of debugfs (drivers, fs, ...) to get the original

[PATCH 4.7 33/45] ext4: enforce online defrag restriction for encrypted files

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Eric Whitney commit 14fbd4aa613bd5110556c281799ce36dc6f3ba97 upstream. Online defragging of encrypted files is not currently implemented. However, the move extent ioctl can still return success

[PATCH 4.7 30/45] scsi: arcmsr: Simplify user_len checking

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 4bd173c30792791a6daca8c64793ec0a4ae8324f upstream. Do the user_len check first and then the ver_addr allocation so that we can save us the kfree() on the error path when

Re: [PATCH v3] pinctrl: Add SX150X GPIO Extender Pinctrl Driver

2016-10-21 Thread Neil Armstrong
On 10/21/2016 11:09 AM, Neil Armstrong wrote: > Since the I2C sx150x GPIO expander driver uses platform_data to manage > the pins configurations, rewrite the driver as a pinctrl driver using > pinconf to get/set pin configurations from DT or debugfs. > > The pinctrl driver is functionnally equival

[PATCH 4.7 31/45] scsi: ibmvfc: Fix I/O hang when port is not mapped

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit 07d0e9a847401ffd2f09bd450d41644cd090e81d upstream. If a VFC port gets unmapped in the VIOS, it may not respond with a CRQ init complete following H_REG_CRQ. If this occurs, we

[PATCH 4.7 18/45] fuse: listxattr: verify xattr list

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit cb3ae6d25a5471be62bfe6ac1fccc0e91edeaba0 upstream. Make sure userspace filesystem is returning a well formed list of xattr names (zero or more nonzero length, null termina

Re: [PATCH] arm64: mm: fix __page_to_voff definition

2016-10-21 Thread Mark Rutland
On Fri, Oct 21, 2016 at 02:28:46PM +0530, Neeraj Upadhyay wrote: > Fix parameter name for __page_to_voff, to match its definition. > At present, we don't see any issue, as page_to_virt's caller > declares 'page'. > > Fixes: 9f2875912dac ("arm64: mm: restrict virt_to_page() to the linear > mapping

[PATCH 4.4 19/25] ext4: allow DAX writeback for hole punch

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ross Zwisler commit cca32b7eeb4ea24fa6596650e06279ad9130af98 upstream. Currently when doing a DAX hole punch with ext4 we fail to do a writeback. This is because the logic around filemap_write_

[PATCH 4.4 17/25] ext4: reinforce check of i_dtime when clearing high fields of uid and gid

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Daeho Jeong commit 93e3b4e6631d2a74a8cf7429138096862ff9f452 upstream. Now, ext4_do_update_inode() clears high 16-bit fields of uid/gid of deleted and evicted inode to fix up interoperability wi

[PATCH 4.4 16/25] ext4: enforce online defrag restriction for encrypted files

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Whitney commit 14fbd4aa613bd5110556c281799ce36dc6f3ba97 upstream. Online defragging of encrypted files is not currently implemented. However, the move extent ioctl can still return success

[PATCH 4.7 17/45] clk: mvebu: dynamically allocate resources in Armada CP110 system controller

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit a0245eb76ad0f652f1eb14f48ca2d3c4391aef66 upstream. Original commit, which added support for Armada CP110 system controller used global variables for storing all clock infor

[PATCH 4.7 15/45] IB/hfi1: Fix defered ack race with qp destroy

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Mike Marciniszyn commit 72f53af2651957b0b9d6dead72a393eaf9a2c3be upstream. There is a a bug in defered ack stuff that causes a race with the destroy of a QP. A packet causes a defered ack to b

[PATCH 4.7 20/45] fuse: fix killing s[ug]id in setattr

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit a09f99eddef44035ec764075a37bace8181bec38 upstream. Fuse allowed VFS to set mode in setattr in order to clear suid/sgid on chown and truncate, and (since writeback_cache) w

[PATCH 4.4 24/25] vfs: move permission checking into notify_change() for utimes(NULL)

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit f2b20f6ee842313a0d681dbbf7f87b70291a6a3b upstream. This fixes a bug where the permission was not properly checked in overlayfs. The testcase is ltp/utimensat01. It is al

[PATCH 4.7 23/45] brcmfmac: fix pmksa->bssid usage

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 7703773ef1d85b40433902a8da20167331597e4a upstream. The struct cfg80211_pmksa defines its bssid field as: const u8 *bssid; contrary to struct brcmf_pmksa, which uses:

[PATCH 4.4 22/25] crypto: vmx - Fix memory corruption caused by p8_ghash

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Cerri commit 80da44c29d997e28c4442825f35f4ac339813877 upstream. This patch changes the p8_ghash driver to use ghash-generic as a fixed fallback implementation. This allows the correct v

[PATCH 4.4 20/25] ext4: release bh in make_indexed_dir

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: gmail commit e81d44778d1d57bbaef9e24c4eac7c8a7a401d40 upstream. The commit 6050d47adcad: "ext4: bail out from make_indexed_dir() on first error" could end up leaking bh2 in the error path. [ A

[PATCH 4.7 29/45] scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7bc2b55a5c030685b399bb65b6baa9ccc3d1f167 upstream. We need to put an upper bound on "user_len" so the memcpy() doesn't overflow. Reported-by: Marco Grassi Signed-off-by:

[PATCH 4.7 26/45] ASoC: Intel: Atom: add a missing star in a memcpy call

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 61ab0d403bbd9d5f6e000e3b5734049141b91f6f upstream. In sst_prepare_and_post_msg(), when a response is received in "block", the following code gets executed: *data = kza

[PATCH] cpuidle: remove cpu_pm calls when entering a idle state

2016-10-21 Thread Chenhui Zhao
The functions, cpu_pm_enter and cpu_pm_exit, assume that CPU would be reset when entering and exiting a idle state. If that is not the case, they would cause issue. Signed-off-by: Chenhui Zhao --- include/linux/cpuidle.h | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/i

[PATCH 4.4 14/25] scsi: arcmsr: Simplify user_len checking

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 4bd173c30792791a6daca8c64793ec0a4ae8324f upstream. Do the user_len check first and then the ver_addr allocation so that we can save us the kfree() on the error path when

[PATCH 4.7 21/45] i40e: avoid NULL pointer dereference and recursive errors on early PCI error

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Guilherme G Piccoli commit edfc23ee3e0ebbb6713d7574ab1b00abff178f6c upstream. Although rare, it's possible to hit PCI error early on device probe, meaning possibly some structs are not entirely

[PATCH 4.7 02/45] serial: 8250_dw: Check the data->pclk when get apb_pclk

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Kefeng Wang commit e16b46f190a22587898b331f9d58583b0b166c9a upstream. It should check the data->pclk, not data->clk when get apb_pclk. Fixes: c8ed99d4f6a8("serial: 8250_dw: Add support for def

[PATCH 4.4 04/25] fuse: listxattr: verify xattr list

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit cb3ae6d25a5471be62bfe6ac1fccc0e91edeaba0 upstream. Make sure userspace filesystem is returning a well formed list of xattr names (zero or more nonzero length, null termina

[PATCH 4.7 14/45] drivers: base: dma-mapping: page align the size when unmap_kernel_range

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Peng Fan commit 85714108e673cdebf1b96abfd50fb02a29e37577 upstream. When dma_common_free_remap, the input parameter 'size' may not be page aligned. And, met kernel warning when doing iommu dma f

[PATCH 4.4 15/25] scsi: ibmvfc: Fix I/O hang when port is not mapped

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit 07d0e9a847401ffd2f09bd450d41644cd090e81d upstream. If a VFC port gets unmapped in the VIOS, it may not respond with a CRQ init complete following H_REG_CRQ. If this occurs, we

[PATCH 4.7 27/45] reiserfs: Unlock superblock before calling reiserfs_quota_on_mount()

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith commit 420902c9d086848a7548c83e0a49021514bd71b7 upstream. If we hold the superblock lock while calling reiserfs_quota_on_mount(), we can deadlock our own worker - mount blocks kw

[PATCH 4.4 10/25] reiserfs: Unlock superblock before calling reiserfs_quota_on_mount()

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith commit 420902c9d086848a7548c83e0a49021514bd71b7 upstream. If we hold the superblock lock while calling reiserfs_quota_on_mount(), we can deadlock our own worker - mount blocks kw

Re: [Patch v5 04/12] irqchip: xilinx: Add support for parent intc

2016-10-21 Thread Marc Zyngier
On 17/10/16 17:52, Zubair Lutfullah Kakakhel wrote: > The MIPS based xilfpga platform has the following IRQ structure > > Peripherals --> xilinx_intcontroller -> mips_cpu_int controller > > Add support for the driver to chain the irq handler > > Signed-off-by: Zubair Lutfullah Kakakhel > > ---

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread SF Markus Elfring
> How are you going to fix bugs if you only send clean ups? I would prefer an other wording than "only" in your question. I imagine that probabilities and views will matter more for the handling of a software error spectrum. >> How do you think about to discuss corresponding software developmen

Re: [PATCH] net: cpsw: fix obtaining mac address for am3517

2016-10-21 Thread Tony Lindgren
* Jeroen Hofstee [161021 02:31]: > Aaah, lets wait a sec. I just saw there is another user of this function, > so above is simply not true > > if (of_machine_is_compatible("ti,dra7")) > return davinci_emac_3517_get_macid(dev, 0x514, slave, mac_addr); Oh OK, then this will produce

UBIFS with dma on 4.6 kernel is not working

2016-10-21 Thread Naga Sureshkumar Relli
Hi, This is regarding UBIFS on 4.6 kernel. We have tested UBIFS on our ZynqMP SOC QSPI Controller, the UBIFS is not working with dma on this kernel. Controller driver: https://github.com/torvalds/linux/commits/master/drivers/spi/spi-zynqmp-gqspi.c If I replace all vmalloc allocations in fs/ubifs

Re: [PATCH 2/3] ARM: bus: da8xx-syscfg: new driver

2016-10-21 Thread Sekhar Nori
On Friday 21 October 2016 02:55 PM, Tomi Valkeinen wrote: > On 20/10/16 22:39, Kevin Hilman wrote: > >> However, after our discussion on IRC, we'll respin this without the DT >> bindings at all. Next version will just use static configuration data >> in the drivers/bus driver based on SoC compati

Re: [PATCH v2 3/4] Device bindings documentation updated ACPI-enabled platforms not currently supported

2016-10-21 Thread Luis Oliveira
Since practically 90% of the code is shared between master and slave, I was thinking if it will be acceptable to use the same driver for both but differentiate the master/slave mode by the compatible strings. Thanks, Luis On 10/18/2016 16:17, Wolfram Sang wrote: >> This is needed because the conf

Re: [PATCH 2/3] ARM: bus: da8xx-syscfg: new driver

2016-10-21 Thread Tomi Valkeinen
On 21/10/16 12:53, Sekhar Nori wrote: > On Friday 21 October 2016 02:55 PM, Tomi Valkeinen wrote: >> On 20/10/16 22:39, Kevin Hilman wrote: >> >>> However, after our discussion on IRC, we'll respin this without the DT >>> bindings at all. Next version will just use static configuration data >>>

Re: [PATCH 0/3] iopmem : A block device for PCIe memory

2016-10-21 Thread Christoph Hellwig
On Fri, Oct 21, 2016 at 10:22:39AM +1100, Dave Chinner wrote: > You do realise that local filesystems can silently change the > location of file data at any point in time, so there is no such > thing as a "stable mapping" of file data to block device addresses > in userspace? > > If you want remot

Re: [PATCH] cpuidle: remove cpu_pm calls when entering a idle state

2016-10-21 Thread Sudeep Holla
Hi Chenhui, On Fri, Oct 21, 2016 at 10:32 AM, Chenhui Zhao wrote: > The functions, cpu_pm_enter and cpu_pm_exit, assume that CPU would > be reset when entering and exiting a idle state. If that is not the > case, they would cause issue. > So are you OK to break all the states that would be reset

Re: [PATCH] net: cpsw: fix obtaining mac address for am3517

2016-10-21 Thread Jeroen Hofstee
Hello Tony, On 21-10-16 09:53, Tony Lindgren wrote: * Jeroen Hofstee [161021 00:37]: Hello Tony, On 21-10-16 08:38, Tony Lindgren wrote: * Jeroen Hofstee [161020 12:57]: Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac id to common file") did not only move the code

[PATCH v7] net: ip, diag -- Add diag interface for raw sockets

2016-10-21 Thread Cyrill Gorcunov
In criu we are actively using diag interface to collect sockets present in the system when dumping applications. And while for unix, tcp, udp[lite], packet, netlink it works as expected, the raw sockets do not have. Thus add it. v2: - add missing sock_put calls in raw_diag_dump_one (by eric.dumaz

Re: [PATCH v2 0/8] mm/swap: Regular page swap optimizations

2016-10-21 Thread Christian Borntraeger
On 10/21/2016 10:16 AM, Christian Borntraeger wrote: > On s390 4.9-rc1 + this patch set > I get the following on swapon > > [ 308.206195] [ cut here ] > [ 308.206203] WARNING: CPU: 5 PID: 20745 at mm/page_alloc.c:3511 > __alloc_pages_nodemask+0x884/0xdf8 > [ 308.206205]

Re: [PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers

2016-10-21 Thread Wei Liu
On Thu, Oct 20, 2016 at 01:55:21PM -0400, Jarod Wilson wrote: > hyperv_net: > - set min/max_mtu, per Haiyang, after rndis_filter_device_add > > virtio_net: > - set min/max_mtu > - remove virtnet_change_mtu > > vmxnet3: > - set min/max_mtu > > xen-netback: > - min_mtu = 0, max_mtu = 65517 > > xe

Re: [PATCH v2 1/9] irqchip: meson: add support for gpio interrupt controller

2016-10-21 Thread Mark Rutland
On Fri, Oct 21, 2016 at 10:49:11AM +0200, Jerome Brunet wrote: > On Thu, 2016-10-20 at 17:33 +0100, Marc Zyngier wrote: > > On 19/10/16 16:21, Jerome Brunet wrote: > > > +struct meson_gpio_irq_chip_data { > > > + void __iomem *base; > > > + int index; > > > +}; > > > + > > > +static irq_hw_number_t

Re: [STLinux Kernel] [PATCH v2 1/6] ARM: dts: STiH407: DT fix s/interrupts-names/interrupt-names/

2016-10-21 Thread Peter Griffin
On Fri, 21 Oct 2016, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Acked-by: Rob Herring > --- > v2: > - Add Acked-by. > --- Acked-by: Peter Griffin

Re: [PATCH] usb: dwc3: Fix error handling for core init

2016-10-21 Thread Felipe Balbi
Hi, Vivek Gautam writes: > Fixing the sequence of events in dwc3_core_init() error exit path. > dwc3_core_exit() call is removed from the error path since, > whatever it's doing is already done. > > Signed-off-by: Vivek Gautam > Cc: Felipe Balbi Care to blame the original commit and Cc stable

[PATCH] gpio: mpc8xxx: Correct irq handler function

2016-10-21 Thread Liu Gang
>From the beginning of the gpio-mpc8xxx.c, the "handle_level_irq" has being used to handle GPIO interrupts in the PowerPC/Layerscape platforms. But actually, almost all PowerPC/Layerscape platforms assert an interrupt request upon either a high-to-low change or any change on the state of the signal

Re: [PATCH v2 1/9] irqchip: meson: add support for gpio interrupt controller

2016-10-21 Thread Jerome Brunet
On Fri, 2016-10-21 at 11:10 +0100, Mark Rutland wrote: > On Fri, Oct 21, 2016 at 10:49:11AM +0200, Jerome Brunet wrote: > > > > On Thu, 2016-10-20 at 17:33 +0100, Marc Zyngier wrote: > > > > > > On 19/10/16 16:21, Jerome Brunet wrote: > > > > > > > > +struct meson_gpio_irq_chip_data { > > > > +

Re: [PATCH] arm64: mm: fix __page_to_voff definition

2016-10-21 Thread Ard Biesheuvel
On 21 October 2016 at 09:58, Neeraj Upadhyay wrote: > Fix parameter name for __page_to_voff, to match its definition. > At present, we don't see any issue, as page_to_virt's caller > declares 'page'. > > Fixes: 9f2875912dac ("arm64: mm: restrict virt_to_page() to the linear > mapping") > Signed-o

Re: [PATCH] kernel: irq: fix build failure

2016-10-21 Thread Stephen Rothwell
Hi Thomas, On Fri, 21 Oct 2016 10:07:41 +0200 (CEST) Thomas Gleixner wrote: > > On Fri, 21 Oct 2016, Stephen Rothwell wrote: > > On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner > > wrote: > > > I know. This is under discussion with the driver folks as we are not going > > > to blin

Re: [PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-21 Thread Joachim Eastwood
Hi Neil, On 21 October 2016 at 10:44, Neil Armstrong wrote: > Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/net/oxnas-dwmac.txt| 44 + > drivers/net/ethernet/stmicro/stmmac/Kconfig

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread Dan Carpenter
I am not going to Eliza with you. regards, dan carpenter

Re: [PATCH] usb: dwc3: Fix error handling for core init

2016-10-21 Thread Vivek Gautam
Hi, On Fri, Oct 21, 2016 at 3:45 PM, Felipe Balbi wrote: > > Hi, > > Vivek Gautam writes: >> Fixing the sequence of events in dwc3_core_init() error exit path. >> dwc3_core_exit() call is removed from the error path since, >> whatever it's doing is already done. >> >> Signed-off-by: Vivek Gauta

Linux 3.10.104

2016-10-21 Thread Willy Tarreau
Linux 3.10.104 was just released. All users of the 3.10 kernel series must upgrade. The patch and changelog will appear soon at the following locations: https://www.kernel.org/pub/linux/kernel/v3.x/ https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.10.104.xz https://www.kernel.org/pub/li

Re: [PATCH v2 1/9] irqchip: meson: add support for gpio interrupt controller

2016-10-21 Thread Marc Zyngier
On 21/10/16 09:49, Jerome Brunet wrote: > On Thu, 2016-10-20 at 17:33 +0100, Marc Zyngier wrote: >> Jerome, >> >> On 19/10/16 16:21, Jerome Brunet wrote: >>> >>> Add support for the interrupt gpio controller found on Amlogic's >>> meson >>> SoC family. >>> >>> Unlike what the IP name suggest, it is

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread Geert Uytterhoeven
On Fri, Oct 21, 2016 at 12:22 PM, Dan Carpenter wrote: > I am not going to Eliza with you. +1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a ha

Re: [PATCH] soc: qcom: Add SoC info driver

2016-10-21 Thread Arnd Bergmann
On Thursday, October 20, 2016 7:36:22 PM CEST Imran Khan wrote: > +#include > +#include > + > +#include I don't see anything here that needs asm/system_misc.h > +const char *hw_platform[] = { > + [HW_PLATFORM_UNKNOWN] = "Unknown", > + [HW_PLATFORM_SURF] = "Surf", > + [HW_PLATFORM_F

Re: [PATCH 1/3] f2fs: add fast path for find_next_{zero}bit

2016-10-21 Thread Christoph Hellwig
On Thu, Oct 20, 2016 at 07:28:45PM -0700, Jaegeuk Kim wrote: > This patch adds checking the first two bits when searching zero or one bits to > avoid costly find_next_{zero}bit operations. Please fix this in the generic iplementations instead of adding your local workarounds.

Re: [PATCH v2 1/4] Factor out _master() parts of code and identify as much as possible all related with MASTER mode

2016-10-21 Thread Andy Shevchenko
On Fri, 2016-10-14 at 17:52 +0100, luis.olive...@synopsys.com wrote: > From: Luis Oliveira This wouldn't be here. > Something wrong with your commit message. Perhaps you were into SVN, here is a bit different format of the commit messages, i.e. 1. Summary / Subject line — short description 2.

Re: [PATCH net-next] nfnetlink_log: Use GFP_NOWARN for skb allocation

2016-10-21 Thread Pablo Neira Ayuso
On Fri, Oct 07, 2016 at 02:02:16PM -0700, Calvin Owens wrote: > Since the code explicilty falls back to a smaller allocation when the > large one fails, we shouldn't complain when that happens. Applied, thanks.

Re: [PATCH v3 5/6] ARM: sunxi: Remove useless allwinner,pull property

2016-10-21 Thread Maxime Ripard
Hi, On Thu, Oct 20, 2016 at 05:38:48PM +0200, Jean-Francois Moine wrote: > On Thu, 20 Oct 2016 15:49:06 +0200 > Maxime Ripard wrote: > > > The allwinner,pull property set to NO_PULL was really considered our > > default (and wasn't even changing the default value in the code). > > > > Remove th

Re: [PATCH v2 1/1] usb: xhci: clean up error_bitmask usage

2016-10-21 Thread Mathias Nyman
On 21.10.2016 06:14, Lu Baolu wrote: In xhci_handle_event(), when errors are detected, driver always sets a bit in error_bitmask (one member of the xhci private driver data). That means users have to retrieve and decode the value of error_bitmask in xhci private driver data if they want to know w

[PATCH v2] usb: dwc3: Fix error handling for core init

2016-10-21 Thread Vivek Gautam
Fixing the sequence of events in dwc3_core_init() error exit path. dwc3_core_exit() call is also removed from the error path since, whatever it's doing is already done. Fixes: c499ff7 usb: dwc3: core: re-factor init and exit paths Cc: Felipe Balbi Cc: Greg KH Cc: Stable # 4.8+ Signed-off-by: V

Re: [PATCH v2 2/4] Added I2C_SLAVE as a dependency to I2C_DESIGNWARE_CORE Enable _slave() mode Review of the pm_runtime...() methods and cleaning

2016-10-21 Thread Andy Shevchenko
On Fri, 2016-10-14 at 17:52 +0100, luis.olive...@synopsys.com wrote: > From: Luis Oliveira > Same style issues here and in the code itself. Check all your patches before submitting. More comments below. > @@ -785,9 +817,59 @@ static u32 i2c_dw_func(struct i2c_adapter *adap) >   return dev-

Re: [PATCH v2 3/4] Device bindings documentation updated ACPI-enabled platforms not currently supported

2016-10-21 Thread Andy Shevchenko
On Fri, 2016-10-21 at 10:56 +0100, Luis Oliveira wrote: > Since practically 90% of the code is shared between master and slave, > I was > thinking if it will be acceptable to use the same driver for both but > differentiate the master/slave mode by the compatible strings. It might be possible to s

Re: [PATCH v2 4/4] Cleaned the code, no functional changes.

2016-10-21 Thread Andy Shevchenko
On Fri, 2016-10-14 at 17:52 +0100, luis.olive...@synopsys.com wrote: > From: Luis Oliveira > Style issues. The parts of this patch shouldn't be brought by the others patches in the series. Consider carefully check your patches before submitting. > Signed-off-by: Luis Oliveira > --- >  drivers

Re: [PATCH v5 4/4] drm/fence: add out-fences support

2016-10-21 Thread Brian Starkey
Hi Gustavo, On Thu, Oct 20, 2016 at 06:30:17PM -0200, Gustavo Padovan wrote: Hi Brian, 2016-10-20 Brian Starkey : Hi Gustavo, I notice your branch has the sync_file refcount change in, but this doesn't seem to take account for that. Will you be dropping that change to match the semantics of

Re: [PATCH v2 1/1] ahci: imx: Add imx53 SATA temperature sensor support

2016-10-21 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, October 21, 2016 09:26:08 AM Fabien Lahoudere wrote: > From: Csaba Kertesz > > Add a hwmon entry to get the temperature from the die of imx53 > SATA. > > The original patch was made by Richard Zhu for kernel 2.6.x: > ENGR00134041-MX53-Add-the-SATA-AHCI-temperature-monitor.patch

Re: [PREEMPT-RT] Oops in rapl_cpu_prepare()

2016-10-21 Thread Sebastian Andrzej Siewior
On 2016-10-20 16:27:55 [-0400], Charles (Chas) Williams wrote: > Recent 4.8 kernels have been oopsing when running under VMWare: can you reproduce this on bare metal? > [2.270203] BUG: unable to handle kernel NULL pointer dereference at > 0408 > [2.270325] IP: [] rapl_cpu_onl

Re: [PATCH 3/8] xen/pvh: Import PVH-related Xen public interfaces

2016-10-21 Thread Juergen Gross
On 14/10/16 20:05, Boris Ostrovsky wrote: > Signed-off-by: Boris Ostrovsky Reviewed-by: Juergen Gross Juergen

[PATCH RFC 3/6] selftests: add default rules for c source file

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang There are difference rules for compiling c source file in different testcases. In order to enable KBUILD_OUTPUT support in later patch, this patch introduce the default rules in "tools/testing/selftest/lib.mk" and remove the existing rules in each testcase. Signed-off-by:

[PATCH RFC 5/6] selftests: add EXTRA_CLEAN for clean target

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang Some testcases need the clean extra data after running. This patch introduce the "EXTRA_CLEAN" variable to address this requirement. After KOUTPUT_BUILD is enabled in later patch, it will be easy to decide to if we need do the cleanup in the KOUTPUT_BUILD path, if the tes

[PATCH RFC 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang After previous clean up patches, memfd and timers could get CROSS_COMPILE from tools/testing/selftest/lib.mk. There is no need to preserve these definition. So, this patch remove them. Signed-off-by: Bamvor Jian Zhang --- tools/testing/selftests/memfd/Makefile | 1 - t

[PATCH RFC 2/6] selftests: remove useless TEST_DIRS

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang The TEST_DIRS was introduced in Commit e8c1d7cdf137 ("selftests: copy TEST_DIRS to INSTALL_PATH") for coping a whole directory in ftrace. After rsync(with -a) is introduced by Commit 900d65ee11aa ("selftests: change install command to rsync"). Rsync could handle the direc

[PATCH RFC 6/6] selftests: enable O and KBUILD_OUTPUT

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang Enable O and KBUILD_OUTPUT for kselftest. User could compile kselftest to another directory by passing O or KBUILD_OUTPUT. And O is high priority than KBUILD_OUTPUT. Signed-off-by: Bamvor Jian Zhang --- tools/testing/selftests/Makefile | 39 +++

[PATCH RFC 0/6] enable O and KBUILD_OUTPUT for kselftest

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang Here is my first version for enabling the KBUILD_OUTPUT for kselftest. I fix and test all the TARGET in tools/testing/selftest/Makefile. For ppc, I test through fake target. There are six patches in these series. And five of them clean up the existing code. I split the cl

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread Julia Lawall
Markus, If you want to do something that might be useful, you could look into the problem of missing checks for dma mapping failure. There is nice slide presenatation about the issue: http://www.slideshare.net/SamsungOSG/shuah-khan-dmamaperror The slides are from a few years ago, but I did a s

[PATCH RFC 1/6] selftests: remove duplicated all and clean target

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang Currently, kselftest use TEST_PROGS, TEST_PROGS_EXTENDED, TEST_FILES to indicate the default test program, extended test program and test files. These lead to duplicated all and clean targets. In order to remove them, introduce TEST_GEN_PROGS, TEST_GEN_PROGS_EXTENDED, TES

Re: [PATCH RFC 0/6] enable O and KBUILD_OUTPUT for kselftest

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > Here is my first version for enabling the KBUILD_OUTPUT for kselftest. > I fix and test all the TARGET in tools/testing/selftest/Makefile

Re: [PATCH 0/3] iopmem : A block device for PCIe memory

2016-10-21 Thread Dave Chinner
On Fri, Oct 21, 2016 at 02:57:14AM -0700, Christoph Hellwig wrote: > On Fri, Oct 21, 2016 at 10:22:39AM +1100, Dave Chinner wrote: > > You do realise that local filesystems can silently change the > > location of file data at any point in time, so there is no such > > thing as a "stable mapping" of

Re: [PATCH v14 5/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-10-21 Thread Mark Rutland
On Thu, Oct 20, 2016 at 05:58:17PM +0100, Mark Rutland wrote: > On Thu, Sep 29, 2016 at 02:17:13AM +0800, fu@linaro.org wrote: > > + arch_timer_ppi[PHYS_NONSECURE_PPI] = > > acpi_gtdt_map_ppi(PHYS_NONSECURE_PPI); > > + arch_timer_ppi[VIRT_PPI] = acpi_gtdt_map_ppi(VIRT_PPI); > > + arch_ti

Re: [PATCH RFC 1/6] selftests: remove duplicated all and clean target

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > Currently, kselftest use TEST_PROGS, TEST_PROGS_EXTENDED, TEST_FILES to > indicate the default test program, extended test program and te

Re: [PATCH RFC 2/6] selftests: remove useless TEST_DIRS

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > The TEST_DIRS was introduced in Commit e8c1d7cdf137 ("selftests: copy > TEST_DIRS to INSTALL_PATH") for coping a whole directory in ftrac

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread Vitaly Kuznetsov
David Miller writes: > From: Vitaly Kuznetsov > Date: Thu, 20 Oct 2016 10:51:04 +0200 > >> Stephen Hemminger writes: >> >>> Do we need ACCESS_ONCE() here to avoid check/use issues? >>> >> >> I think we don't: this is the only place in the function where we read >> the variable so we'll get no

Re: [PATCH RFC 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > After previous clean up patches, memfd and timers could get > CROSS_COMPILE from tools/testing/selftest/lib.mk. There is no need to > pre

Re: [PATCH v2 0/2] ARM: oxnas: Add SMP support for OX820

2016-10-21 Thread Arnd Bergmann
On Friday, October 21, 2016 10:58:46 AM CEST Neil Armstrong wrote: > In order to support the SMP feature of the Oxford Semiconductor OX820 SoC, > add the necessary code to handle the wake-up, hotplug and cpu entry. > > The OX820 has an ARM11MPCORE cluster with 2 cores and has proper hardware > sup

Re: [PATCH RFC 3/6] selftests: add default rules for c source file

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > There are difference rules for compiling c source file in different > testcases. In order to enable KBUILD_OUTPUT support in later patch,

[RFC PATCH] kbuild: add -fno-PIE

2016-10-21 Thread Sebastian Andrzej Siewior
Debian started to build the gcc with --enable-default-pie by default so the kernel build ends before it starts properly with: |kernel/bounds.c:1:0: error: code model kernel does not support PIC mode Is this okay or do we want some kind of check to see if -fno-PIE is supported? It is mentioned in t

Re: [PATCH RFC 5/6] selftests: add EXTRA_CLEAN for clean target

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > Some testcases need the clean extra data after running. This patch > introduce the "EXTRA_CLEAN" variable to address this requirement. >

Re: [RFC] fs/proc/meminfo: introduce Unaccounted statistic

2016-10-21 Thread Dave Chinner
On Fri, Oct 21, 2016 at 09:25:10AM +0200, Vlastimil Babka wrote: > On 10/21/2016 12:59 AM, Dave Chinner wrote: > >On Thu, Oct 20, 2016 at 03:33:58PM +0200, Michal Hocko wrote: > >>On Thu 20-10-16 14:11:49, Vlastimil Babka wrote: > >>[...] > >>> Hi, I'm wondering if people would find this useful. If

RE: Memory fragmentation issue related suggestion request

2016-10-21 Thread Ankur Tank
Hi Pintu kumar, I have tried couple of options what you have suggested but no breakthrough yet. Meanwhile I was trying to use swap on ZRAM, I enabled following configuration in kernel menuconfig CONFIG_ZSMALLOC=y CONFIG_ZRAM=y and then I am running following from init script, echo 25

Re: [PATCH RFC 6/6] selftests: enable O and KBUILD_OUTPUT

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > Enable O and KBUILD_OUTPUT for kselftest. User could compile kselftest > to another directory by passing O or KBUILD_OUTPUT. And O is hig

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