Re: [PATCH v5 1/5] Implement an ioctl to support the USMTMC-USB488 READ_STATUS_BYTE operation.

2015-11-28 Thread Dave Penkler
On Sat, Nov 28, 2015 at 04:57:47PM +0200, Andy Shevchenko wrote: > On Sat, Nov 28, 2015 at 1:55 PM, Dave Penkler wrote: > > On Wed, Nov 25, 2015 at 10:38:39PM +0200, Andy Shevchenko wrote: > >> On Wed, Nov 25, 2015 at 11:18 AM, Dave Penkler wrote: > >> > On Sun, Nov 22, 2015 at 12:32:41PM +0200,

Re: [PATCH 2/4] ARM: dt: mvebu: ix4-300d: move partitions to partition sub-node

2015-11-28 Thread Sebastian Hesselbarth
On 28.11.2015 18:00, Andrew Lunn wrote: > On Sat, Nov 28, 2015 at 12:14:06PM +0100, Sebastian Hesselbarth wrote: >> NAND flash partitions should be part of a partitions sub-node >> not the flash node itself. Move the partitions which will also >> allow different bootloaders get rid of the stock par

Re: [PATCH 1/4] ARM: dt: mvebu: ix4-300d: remove whole flash partition

2015-11-28 Thread Sebastian Hesselbarth
On 28.11.2015 17:52, Andrew Lunn wrote: > On Sat, Nov 28, 2015 at 12:14:05PM +0100, Sebastian Hesselbarth wrote: >> Current NAND node has an additional flash partition for the whole >> flash overlapping with real partitions. Remove this partition as >> the whole flash is already represented by the

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-28 Thread Nicolas Pitre
On Sat, 28 Nov 2015, Russell King - ARM Linux wrote: > On Fri, Nov 27, 2015 at 06:28:50PM -0500, Nicolas Pitre wrote: > > On Fri, 27 Nov 2015, Arnd Bergmann wrote: > > > > > I don't mind creating the /proc/atags compatibility hack from the kernel > > > for a DT based N700 kernel, as long as we li

Re: use-after-free in ip6_setup_cork

2015-11-28 Thread Eric Dumazet
On Sat, 2015-11-28 at 09:11 -0800, Eric Dumazet wrote: > On Sat, 2015-11-28 at 12:00 +0100, Dmitry Vyukov wrote: > > Hello, > > > > The following program triggers use-after-free in ip6_setup_cork: > > > > // autogenerated by syzkaller (http://github.com/google/syzkaller) > > #include > > #includ

Re: use-after-free in ip6_setup_cork

2015-11-28 Thread Eric Dumazet
On Sat, 2015-11-28 at 12:00 +0100, Dmitry Vyukov wrote: > Hello, > > The following program triggers use-after-free in ip6_setup_cork: > > // autogenerated by syzkaller (http://github.com/google/syzkaller) > #include > #include > #include > #include > > int r1, r3, r4; > > void *thr0(void *a

Re: net: use after free in ip6_make_skb

2015-11-28 Thread Eric Dumazet
On Sat, 2015-11-28 at 11:33 -0500, Sasha Levin wrote: > Hi, > > Fuzzing with syzkaller on the latest -next kernel produced this error: > > [ 891.389013] > == > > [ 891.390006] BUG: KASAN: use-after-free in ip6_make_skb+0x106/0x3d

Re: [PATCH 4/4] ARM: dt: mvebu: ix4-300d: Add ECC properties to NAND flash

2015-11-28 Thread Andrew Lunn
On Sat, Nov 28, 2015 at 12:14:08PM +0100, Sebastian Hesselbarth wrote: > The NAND device found on Lenovo ix4-300d uses 4-bit BCH ECC protection. > Add the corresponding properties to the NAND node. > > Signed-off-by: Sebastian Hesselbarth Acked-by: Andrew Lunn Andrew -- To unsubscrib

Re: [PATCH 3/4] ARM: dt: mvebu: ix4-300d: Cleanup NAND partition ranges

2015-11-28 Thread Andrew Lunn
On Sat, Nov 28, 2015 at 12:14:07PM +0100, Sebastian Hesselbarth wrote: > Prefix all partition reg properties to 32-bit to ease readability. > While at it, also remove a stale x in front of boot partition > offset and make some upper-case hex numbers lower-case. > > Signed-off-by: Sebastian Hesselb

Re: [PATCH 2/4] ARM: dt: mvebu: ix4-300d: move partitions to partition sub-node

2015-11-28 Thread Andrew Lunn
On Sat, Nov 28, 2015 at 12:14:06PM +0100, Sebastian Hesselbarth wrote: > NAND flash partitions should be part of a partitions sub-node > not the flash node itself. Move the partitions which will also > allow different bootloaders get rid of the stock partitions > easily by removing the partitions n

[PATCH] mn10300: Select CONFIG_HAVE_UID16 to fix build failure

2015-11-28 Thread Guenter Roeck
mn10300 builds fail with fs/stat.c: In function 'cp_old_stat': fs/stat.c:163:2: error: 'old_uid_t' undeclared ipc/util.c: In function 'ipc64_perm_to_ipc_perm': ipc/util.c:540:2: error: 'old_uid_t' undeclared Select CONFIG_HAVE_UID16 and remove local definition of CONFIG_UID16 to fix the problem.

Re: [PATCH 1/4] ARM: dt: mvebu: ix4-300d: remove whole flash partition

2015-11-28 Thread Andrew Lunn
On Sat, Nov 28, 2015 at 12:14:05PM +0100, Sebastian Hesselbarth wrote: > Current NAND node has an additional flash partition for the whole > flash overlapping with real partitions. Remove this partition as > the whole flash is already represented by the NAND device itself. If i remember correctly,

Re: [tpmdd-devel] [PATCH] base/platform: fix panic when probe function is NULL

2015-11-28 Thread Jarkko Sakkinen
On Sat, Nov 28, 2015 at 06:40:03PM +0200, Jarkko Sakkinen wrote: > On Thu, Nov 26, 2015 at 01:30:31PM -0700, Jason Gunthorpe wrote: > > On Thu, Nov 26, 2015 at 08:01:34PM +0100, martin.wi...@ts.fujitsu.com wrote: > > > From: Martin Wilck > > > > > > Since b8b2c7d845d5, platform_drv_probe() is cal

Re: [PATCH net-next 3/3] net: mvneta: Add naive RSS support

2015-11-28 Thread Marcin Wojtas
Hi Gregory, > + > + /* update unicast mapping */ > + mvneta_set_rx_mode(pp->dev); I know it may be an ultimate level of nitpicking, but can you start a comment with capital letter?:) Best regards, Marcin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [PATCH] net: fec: fix enet_out clock handling

2015-11-28 Thread Andrew Lunn
> When MAC is not ready with clocks disabled, it is not necessary to > supply clock for PHY. In fact, PHY also is not ready, why does it > need clock ? How about the case of the "PHY" is actually a switch? You can use the MDIO bus separate from the MAC, you can configure the switch while the MAC i

Re: [tpmdd-devel] [PATCH] base/platform: fix panic when probe function is NULL

2015-11-28 Thread Jarkko Sakkinen
On Thu, Nov 26, 2015 at 01:30:31PM -0700, Jason Gunthorpe wrote: > On Thu, Nov 26, 2015 at 08:01:34PM +0100, martin.wi...@ts.fujitsu.com wrote: > > From: Martin Wilck > > > > Since b8b2c7d845d5, platform_drv_probe() is called for all platform > > devices. If drv->probe is NULL, and dev_pm_domain_

[PATCH] rtc: imxdi: fix spelling mistake in warning message

2015-11-28 Thread Colin King
From: Colin Ian King Minor issue, fix spelling mistake, happend -> happened Signed-off-by: Colin Ian King --- drivers/rtc/rtc-imxdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 7bffd7f..8d8049bd 100644 --- a/drive

Re: [tpmdd-devel] [PATCH] base/platform: fix panic when probe function is NULL

2015-11-28 Thread Jarkko Sakkinen
On Thu, Nov 26, 2015 at 08:01:34PM +0100, martin.wi...@ts.fujitsu.com wrote: > From: Martin Wilck > > Since b8b2c7d845d5, platform_drv_probe() is called for all platform > devices. If drv->probe is NULL, and dev_pm_domain_attach() fails, > platform_drv_probe() will return the error code from dev_

net: use after free in ip6_make_skb

2015-11-28 Thread Sasha Levin
Hi, Fuzzing with syzkaller on the latest -next kernel produced this error: [ 891.389013] == [ 891.390006] BUG: KASAN: use-after-free in ip6_make_skb+0x106/0x3d0 at addr 8806e9773a34 [ 891.393459] Read of size 2 by task syz

[PATCH] scsi: ufs: fix spelling mistake in error message

2015-11-28 Thread Colin King
From: Colin Ian King Minor issue, fix spelling mistake, Intialization -> Initialization Signed-off-by: Colin Ian King --- drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c ind

[PATCH] ARM: mach-imx: iomux-imx31: fix spelling mistake in error message

2015-11-28 Thread Colin King
From: Colin Ian King Minor issue, fix spelling mistake, nonexistant -> nonexistent Signed-off-by: Colin Ian King --- arch/arm/mach-imx/iomux-imx31.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/iomux-imx31.c b/arch/arm/mach-imx/iomux-imx31.c index 6dd22

Re: [PATCH] doc: efi-stub.txt: Fix arm64 paths

2015-11-28 Thread Alan Ott
On 11/28/2015 11:03 AM, Alan Ott wrote: Update documented paths for arm64 files to match current tree. --- Documentation/efi-stub.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/efi-stub.txt b/Documentation/efi-stub.txt index 7747024..e157469 100644 --

Re: [RFC PATCH -v2] mm, oom: introduce oom reaper

2015-11-28 Thread Tetsuo Handa
Tetsuo Handa wrote: > > Users of mmap_sem which need it for write should be carefully reviewed > > to use _killable waiting as much as possible and reduce allocations > > requests done with the lock held to absolute minimum to reduce the risk > > even further. > > It will be nice if we can have do

[PATCH] x86, calgary: constify cal_chipset_ops structures

2015-11-28 Thread Julia Lawall
The cal_chipset_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- arch/x86/include/asm/calgary.h |2 +- arch/x86/kernel/pci-calgary_64.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] IB/iser: constify iser_reg_ops structure

2015-11-28 Thread Julia Lawall
The iser_reg_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/infiniband/ulp/iser/iscsi_iser.h |2 +- drivers/infiniband/ulp/iser/iser_memory.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(

[PATCH] doc: efi-stub.txt: Fix arm64 paths

2015-11-28 Thread Alan Ott
Update documented paths for arm64 files to match current tree. --- Documentation/efi-stub.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/efi-stub.txt b/Documentation/efi-stub.txt index 7747024..e157469 100644 --- a/Documentation/efi-stub.txt +++ b/Documen

Re: [PATCH] arm64: ftrace: stop using kstop_machine to enable/disable tracing

2015-11-28 Thread Steven Rostedt
On Sat, 28 Nov 2015 15:50:09 +0800 Li Bin wrote: > On arm64, kstop_machine which is hugely disruptive to a running > system is not needed to convert nops to ftrace calls or back, > because that modifed code is a single 32bit instructions which > is impossible to cross cache (or page) boundaries,

[PATCH 1/7] lightnvm: Simplify config when disabled

2015-11-28 Thread Matias Bjørling
From: Keith Busch We shouldn't compile an object file to get empty implementations; conforms to linux coding style on conditional compilation. Signed-off-by: Keith Busch Signed-off-by: Matias Bjørling --- drivers/nvme/host/Makefile | 3 ++- drivers/nvme/host/lightnvm.c | 13 -

[PATCH 4/7] lightnvm: do device max sectors boundary check first

2015-11-28 Thread Matias Bjørling
From: Wenwei Tao do device max_phys_sect boundary check first, otherwise we will allocate dma_pools for devices whose max sectors are beyond lightnvm support and register them. Signed-off-by: Wenwei Tao Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 10 ++ 1 file changed

[PATCH 3/7] lightnvm: fix ioctl memory leaks

2015-11-28 Thread Matias Bjørling
From: Sudip Mukherjee If copy_to_user() fails we returned error but we missed releasing devices. Signed-off-by: Sudip Mukherjee Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/lightnvm/core.c b/dri

[PATCH 7/7] lightnvm: missing nvm_lock acquire

2015-11-28 Thread Matias Bjørling
From: Wenwei Tao To avoid race conditions, traverse dev, media manager, and target lists and also register, unregister entries to/from them, should be always under the nvm_lock control. Signed-off-by: Wenwei Tao Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 75 +

[PATCH 5/7] lightnvm: refactor and change vendor id for qemu

2015-11-28 Thread Matias Bjørling
The QEMU NVMe implementation uses Intel vendor, Intel device id, and the first vendor specific byte to identify a LightNVM compatible nvme instance. Instead of using the Intel specific, use a preallocated from CNEX Labs instead. This lets us uniquely identify a QEMU lightnvm device without breakin

[PATCH 6/7] lightnvm: unconverted ppa returned in get_bb_tbl

2015-11-28 Thread Matias Bjørling
The get_bb_tbl function takes ppa as a generic address, which is converted to the ppa device address within the device driver. When the update_bbtbl callback is called from get_bb_tbl, the device specific ppa is used, instead of the generic ppa. Make sure to pass the generic ppa. Signed-off-by: M

[PATCH 2/7] lightnvm: free memory when gennvm register fails

2015-11-28 Thread Matias Bjørling
From: Wenwei Tao free allocated nvm block and gennvm lun structures when gennvm register fails, otherwise it will cause memory leak. Signed-off-by: Matias Bjørling --- drivers/lightnvm/gennvm.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/lightnv

[PATCH 0/7] Fixes for LightNVM

2015-11-28 Thread Matias Bjørling
Hi Jens, A couple of patches during the last week. Patch 1: Fix from Keith to compile out lightnvm when it is not available. Patch 2-4: Various memory and check fixes from Tao, Sudip and me. Patch 5: Refactor device detection ids. Patch 6: Make get_bb_tbl return converted ppa back to med

[PATCH v2] USB: constify usb_mon_operations structure

2015-11-28 Thread Julia Lawall
The usb_mon_operations structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- v2: Merge the previous 1/2 and 2/2 patches. drivers/usb/core/hcd.c |4 ++-- drivers/usb/mon/mon_main.c |2 +- include/linux/usb/hcd.h|

Re: [PATCH V7 1/3] dma: qcom_bam_dma: move to qcom directory

2015-11-28 Thread Sinan Kaya
On 11/25/2015 4:42 PM, Andy Gross wrote: > On Sun, Nov 22, 2015 at 09:28:23PM -0500, Sinan Kaya wrote: >> Creating a QCOM directory for all QCOM DMA source files. >> >> Signed-off-by: Sinan Kaya >> --- > > Kind of nice having a different directory. > > Reviewed-by: Andy Gross > thanks -- Sin

Re: [PATCH 1/2] USB: constify usb_mon_operations structure

2015-11-28 Thread kbuild test robot
Hi Julia, [auto build test ERROR on: v4.4-rc2] [also build test ERROR on: next-20151127] url: https://github.com/0day-ci/linux/commits/Julia-Lawall/USB-constify-usb_mon_operations-structure/20151128-223726 config: xtensa-allyesconfig (attached as .config) reproduce: wget https

Re: [PATCH v5 1/5] Implement an ioctl to support the USMTMC-USB488 READ_STATUS_BYTE operation.

2015-11-28 Thread Andy Shevchenko
On Sat, Nov 28, 2015 at 1:55 PM, Dave Penkler wrote: > On Wed, Nov 25, 2015 at 10:38:39PM +0200, Andy Shevchenko wrote: >> On Wed, Nov 25, 2015 at 11:18 AM, Dave Penkler wrote: >> > On Sun, Nov 22, 2015 at 12:32:41PM +0200, Andy Shevchenko wrote: >> >> On Sun, Nov 22, 2015 at 11:19 AM, Dave Penkl

Re: RCU stall and the system boot hang

2015-11-28 Thread Paul E. McKenney
On Sat, Nov 28, 2015 at 01:05:52PM +0800, fupan li wrote: > 2015-11-28 0:28 GMT+08:00 Paul E. McKenney : > > > On Fri, Nov 27, 2015 at 08:23:24PM +0800, fupan li wrote: > > > Hi, Paul > > > > > > On my Wildcat_Pass (Haswell) board, the system boot will hang as below. > > > The kernel is preempt-rt

[PATCH] Improve Atheros ethernet driver not to do order 4 GFP_ATOMIC allocation

2015-11-28 Thread Pavel Machek
atl1c driver is doing order-4 allocation with GFP_ATOMIC priority. That often breaks networking after resume. Switch to GFP_KERNEL. Still not ideal, but should be significantly better. Signed-off-by: Pavel Machek diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/e

Re: 4.3+: Atheros ethernet fails after resume from s2ram, due to order 4 allocation

2015-11-28 Thread Pavel Machek
Hi! > > /* > > > > * real ring DMA buffer > > > > * each ring/block may need up to 8 bytes for alignment, hence the > > > > * addition

[PATCH] xen/grant-table: constify gnttab_ops structure

2015-11-28 Thread Julia Lawall
The gnttab_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/xen/grant-table.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c index

[PATCH 1/2] USB: constify usb_mon_operations structure

2015-11-28 Thread Julia Lawall
The usb_mon_operations structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- include/linux/usb/hcd.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h ind

[PATCH 2/2] USB: constify usb_mon_operations structure

2015-11-28 Thread Julia Lawall
The usb_mon_operations structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/usb/core/hcd.c |4 ++-- drivers/usb/mon/mon_main.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb

[PATCH] spi: dw-mid: constify dw_spi_dma_ops structure

2015-11-28 Thread Julia Lawall
The dw_spi_dma_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/spi/spi-dw-mid.c |2 +- drivers/spi/spi-dw.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-dw-mi

[PATCH] RDMA/nes: constify nes_cm_ops structure

2015-11-28 Thread Julia Lawall
The nes_cm_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/infiniband/hw/nes/nes_cm.c |2 +- drivers/infiniband/hw/nes/nes_cm.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

Re: [PATCH] mtd: spi-nor: include mtd.h header for struct mtd_info definition

2015-11-28 Thread Rafał Miłecki
On 27 November 2015 at 23:33, Brian Norris wrote: > On Fri, Nov 27, 2015 at 10:25:55AM +0100, Rafał Miłecki wrote: >> On 26 November 2015 at 09:05, Rafał Miłecki wrote: >> > Fixes: 1976367173a4 ("mtd: spi-nor: embed struct mtd_info within struct >> > spi_nor") > > I'm not 100% sure, but I though

RE: [PATCH] net: fec: fix enet_out clock handling

2015-11-28 Thread Duan Andy
From: Lothar Waßmann Sent: Friday, November 27, 2015 9:39 PM > To: Andrew Lunn; David S. Miller; Estevam Fabio-R49496; Kevin Hao; Lothar > Waßmann; Lucas Stach; Duan Fugang-B38611; Philippe Reynes; Russell King; > Uwe Kleine-König; linux-kernel@vger.kernel.org; net...@vger.kernel.org; > Stefan Ag

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-28 Thread Russell King - ARM Linux
On Sat, Nov 28, 2015 at 01:27:07PM +0100, Arnd Bergmann wrote: > On Friday 27 November 2015 18:28:50 Nicolas Pitre wrote: > > On Fri, 27 Nov 2015, Arnd Bergmann wrote: > > > > > I don't mind creating the /proc/atags compatibility hack from the kernel > > > for a DT based N700 kernel, as long as we

[PATCH] net: add support for netdev notifier error injection

2015-11-28 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov This module allows to insert errors in some of netdevice's notifier events. All network drivers use these notifiers to signal various events and to check if they are allowed, e.g. PRECHANGEMTU and CHANGEMTU afterwards. Until recently I had to run failure tests by injecti

user-controllable kmalloc size in sctp_getsockopt_local_addrs

2015-11-28 Thread Dmitry Vyukov
Hello, The following program triggers WARNING in kmalloc: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include #define SOL_SCTP132 #define SCTP_GET_LOCAL_ADDRS109 int main() { int fd = socket(PF_INET, SOCK_SEQPACKET, IPPR

Linux 3.2.74

2015-11-28 Thread Ben Hutchings
I'm announcing the release of the 3.2.74 kernel. All users of the 3.2 kernel series should upgrade. The updated 3.2.y git tree can be found at: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.2.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-28 Thread Russell King - ARM Linux
On Fri, Nov 27, 2015 at 06:28:50PM -0500, Nicolas Pitre wrote: > On Fri, 27 Nov 2015, Arnd Bergmann wrote: > > > I don't mind creating the /proc/atags compatibility hack from the kernel > > for a DT based N700 kernel, as long as we limit it as much as we can > > to the machines that need it. Leavi

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-28 Thread Arnd Bergmann
On Friday 27 November 2015 18:28:50 Nicolas Pitre wrote: > On Fri, 27 Nov 2015, Arnd Bergmann wrote: > > > I don't mind creating the /proc/atags compatibility hack from the kernel > > for a DT based N700 kernel, as long as we limit it as much as we can > > to the machines that need it. Leaving a b

[PATCH (v5) 3/11] MIPS: bmips: Add bcm6345-l2-timer interrupt controller

2015-11-28 Thread Simon Arlott
Add the BCM6345/BCM6318 timer as an interrupt controller so that it can be used by the watchdog to warn that its timer will expire soon. Support for clocksource/clockevents is not implemented as the timer interrupt is not per CPU (except on the BCM6318) and the MIPS clock is better. This could be

Re: [PATCH V5 RESEND 2/3] iommu/hisilicon: Add hi6220-SoC smmu driver

2015-11-28 Thread Joerg Roedel
On Sat, Nov 28, 2015 at 10:19:14AM +0800, chenfeng wrote: > On 2015/11/27 20:02, Joerg Roedel wrote: > > You need to create an iommu-group per smmu in your system and put all > > devices translated by this smmu in that group. And then you must change > > your code to allow attaching/detaching this

Re: [PATCH v5 1/5] Implement an ioctl to support the USMTMC-USB488 READ_STATUS_BYTE operation.

2015-11-28 Thread Dave Penkler
On Wed, Nov 25, 2015 at 10:38:39PM +0200, Andy Shevchenko wrote: > On Wed, Nov 25, 2015 at 11:18 AM, Dave Penkler wrote: > > On Sun, Nov 22, 2015 at 12:32:41PM +0200, Andy Shevchenko wrote: > >> On Sun, Nov 22, 2015 at 11:19 AM, Dave Penkler wrote: > >> > On Wed, Nov 18, 2015 at 11:55:27AM +0200,

[4.4-rc2] regresstion: ksoftirqd/2 Fatal exception in interrupt pids.freepids.uncharge.constprop

2015-11-28 Thread Martin Steigerwald
Hi! I saw this with 4.4-rc2 twice on boot: pids.freepids.uncharge.constprop cgroup_free RIP pids.cancel.constprop. I think somewhat after systemd mounted cgroup filesystems. Had no digital camera at hand and I am on the go, so just these few pointers at the moment. martin@merkaba:~> phoronix

Re: [PATCH RESEND 1/8] arm: dts: berlin2q: add watchdog nodes

2015-11-28 Thread Sebastian Hesselbarth
On 23.11.2015 05:59, Jisheng Zhang wrote: > On Fri, 20 Nov 2015 21:19:46 +0100 > Sebastian Hesselbarth wrote: >> On 20.11.2015 04:34, Jisheng Zhang wrote: >>> On Thu, 19 Nov 2015 21:47:05 +0100 >>> Sebastian Hesselbarth wrote: On 16.11.2015 12:09, Jisheng Zhang wrote: > The Marvell Ber

Re: [PATCH 1/3] pinctrl: berlin: guard sub-directory with CONFIG_PINCTRL_BERLIN

2015-11-28 Thread Sebastian Hesselbarth
On 24.11.2015 13:02, Jisheng Zhang wrote: > On Tue, 24 Nov 2015 20:45:22 +0900 > Masahiro Yamada wrote: > >> CONFIG_PINCTRL_BERLIN is more suitable than CONFIG_ARCH_BERLIN >> to guard the drivers/pinctrl/berlin/ directory. >> >> Signed-off-by: Masahiro Yamada > > I'm not maintainers, but this pa

Re: [PATCH] arm: dts: berlin2q-marvell-dmp: add sdhci1 fully functionality

2015-11-28 Thread Sebastian Hesselbarth
On 26.11.2015 14:13, Jisheng Zhang wrote: > The sdhci1 on Marvell BG2Q DMP board is used as sdcard interface, we > have gpios for card detection, write-protect, vqmmc and vmmc. > > This patch adds pinmux for this sdcard interface, then adds regulators > for vmmc and vqmmc, lastly adds cd-gpios, wp

[PATCH 4/4] ARM: dt: mvebu: ix4-300d: Add ECC properties to NAND flash

2015-11-28 Thread Sebastian Hesselbarth
The NAND device found on Lenovo ix4-300d uses 4-bit BCH ECC protection. Add the corresponding properties to the NAND node. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc

[PATCH 0/4] ARM: dt: mvebu: ix4-300d: NAND cleanup and ECC

2015-11-28 Thread Sebastian Hesselbarth
This is a list of patches cleaning up some things I noticed while working with barebox boot loader support for NAND node of Lenovo ix4-300d. Patch 1 removes a flash partition node for the whole flash. The flash as a whole is already best represented by the NAND device itself. Patch 2 moves the st

[PATCH 2/4] ARM: dt: mvebu: ix4-300d: move partitions to partition sub-node

2015-11-28 Thread Sebastian Hesselbarth
NAND flash partitions should be part of a partitions sub-node not the flash node itself. Move the partitions which will also allow different bootloaders get rid of the stock partitions easily by removing the partitions node. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew L

[PATCH 3/4] ARM: dt: mvebu: ix4-300d: Cleanup NAND partition ranges

2015-11-28 Thread Sebastian Hesselbarth
Prefix all partition reg properties to 32-bit to ease readability. While at it, also remove a stale x in front of boot partition offset and make some upper-case hex numbers lower-case. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Rob Herri

[PATCH 1/4] ARM: dt: mvebu: ix4-300d: remove whole flash partition

2015-11-28 Thread Sebastian Hesselbarth
Current NAND node has an additional flash partition for the whole flash overlapping with real partitions. Remove this partition as the whole flash is already represented by the NAND device itself. Signed-off-by: Sebastian Hesselbarth --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc:

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-28 Thread Nikita Yushchenko
>> Not sure I understand logic behind this. With the current code, >> resulting cpu_possible_mask depends on CONFIG_SMP_ON_UP: >> - if it is set, cpu_possible_mask contains (0 1), as initialized in >> arm_dt_init_cpu_maps() >> - if it is not set, cpu_possible_mask contains (0), since >> imx_smp_ini

use-after-free in ip6_setup_cork

2015-11-28 Thread Dmitry Vyukov
Hello, The following program triggers use-after-free in ip6_setup_cork: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include int r1, r3, r4; void *thr0(void *arg) { *(uint64_t*)0x2d90 = 0x2fd3; *(uint64_t*)0x2d98

[PATCH v2] pinctrl: mvebu: complain about missing group after checking variant

2015-11-28 Thread Sebastian Hesselbarth
Common MVEBU pinctrl driver core gets an array of controls to modify a specific set of registers and an array of modes for each pingroup from each of the different SoC families of MVEBU. Some SoC families comprise different variants that differ in available pingroups and also controls, but to ease

Re: [PATCH 1/3] usb: musb: convert printk to pr_*

2015-11-28 Thread Sergei Shtylyov
On 11/28/2015 3:04 AM, Greg Kroah-Hartman wrote: This file already uses pr_debug in a few places; this converts the remaining printks. Are you aware that printk(KERN_DEBUG, ...) and pr_debug() are not equivalent? Yes, and that is a good thing, you should be using pr_debug() instead of p

Re: [PATCH] pinctrl: mvebu: complain about missing group after checking variant

2015-11-28 Thread Sebastian Hesselbarth
On 28.11.2015 11:14, Sebastian Hesselbarth wrote: > Common MVEBU pinctrl driver core gets an array of controls to modify > a specific set of registers and an array of modes for each pingroup > from each of the different SoC families of MVEBU. > > Some SoC families comprise different variants that

[PATCH] pinctrl: mvebu: complain about missing group after checking variant

2015-11-28 Thread Sebastian Hesselbarth
Common MVEBU pinctrl driver core gets an array of controls to modify a specific set of registers and an array of modes for each pingroup from each of the different SoC families of MVEBU. Some SoC families comprise different variants that differ in available pingroups and also controls, but to ease

Re: [PATCH 1/3] tree wide: get rid of __GFP_REPEAT for order-0 allocations part I

2015-11-28 Thread Michal Hocko
On Fri 27-11-15 10:38:07, Michal Hocko wrote: [...] > I am not sure whether we found any conclusion here. Are there any strong > arguments against patch 1? I think that should be relatively > non-controversial. What about patch 2? I think it should be ok as well > as we are basically removing the f

Linux 3.12.51

2015-11-28 Thread Jiri Slaby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I'm announcing the release of the 3.12.51 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be

RE: [PATCH v10] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-28 Thread Bharat Kumar Gogada
> Subject: Re: [PATCH v10] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL > PCIe Host Controller > > On Friday 27 November 2015 20:32:03 Bharat Kumar Gogada wrote: > > + do { > > + err = nwl_pcie_link_up(pcie, PHY_RDY_LINKUP); > > + if (err != 1) { > > +

RE: [PATCH v10] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-28 Thread Bharat Kumar Gogada
> Subject: Re: [PATCH v10] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL > PCIe Host Controller > > On 27/11/15 15:02, Bharat Kumar Gogada wrote: > > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > > > Signed-off-by: Bharat Kumar Gogada > > Signed-off-by: Ravi Kiran Gummaluri

Re: [GIT PULL 00/10] perf/core improvements and fixes

2015-11-28 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider applying, > > - Arnaldo > > The following changes since commit 3f3b1a46bfdbce97dd3f9594d8a95db82baa554b: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/

Re: [PATCH] Save SMBIOS Type 9 System Slots during DMI Scan

2015-11-28 Thread Jean Delvare
Hi Jordan, Once again: please keep the list included in your replies. Others may be able to help. Also the list is archived for later reference. On Fri, 27 Nov 2015 20:45:21 -0600, Jordan Hargrave wrote: > On Fri, Nov 27, 2015 at 6:04 AM, Jean Delvare wrote: > > When sending a new version of a p

Re: [dm-devel] [PATCH] dm-ioctl: fix 4-characters indentations

2015-11-28 Thread Minfei Huang
Hi. IMHO, this sort of defect shouldn't be fixed like this. It should be fixed with other bugs, if necessary. Once this patch is applied, it will break up the 'git blame'. Thanks Minfei On 11/25/15 at 08:45pm, Geliang Tang wrote: > Change 4-characters indentations to 8-characters. > > Signed-o

Re: [PATCH v2 8/9] leds: add LM3633 driver

2015-11-28 Thread Jacek Anaszewski
On 11/27/2015 12:19 PM, Jacek Anaszewski wrote: Hi Milo, Thanks for the update. I have few comments below. [...] +static u8 lm3633_led_scale_max_brightness(struct ti_lmu_led *lmu_led, u32 imax) +{ +u8 max_current = lm3633_led_convert_current_to_index(imax); +const u8 max_brightness_ta

Re: [PATCH] null_blk: use sector_div instead of do_div

2015-11-28 Thread Matias Bjørling
On 11/27/2015 10:31 PM, Arnd Bergmann wrote: On Friday 27 November 2015 10:07:54 Linus Torvalds wrote: On Fri, Nov 27, 2015 at 5:49 AM, Arnd Bergmann wrote: - do_div(size, bs); /* convert size to pages */ - do_div(size, 256); /* concert size to pgs pr blk */ + sector_div(size

<    1   2