RE: [PATCH 00/17] fs, btrfs refcount conversions

2017-03-06 Thread Reshetova, Elena
> At 03/06/2017 05:43 PM, Reshetova, Elena wrote: > > > >> At 03/03/2017 04:55 PM, Elena Reshetova wrote: > >>> Now when new refcount_t type and API are finally merged > >>> (see include/linux/refcount.h), the following > >>> patches convert various refcounters in the btrfs filesystem from atomic_t

Re: [PATCH] docs: Clarify details for reporting security bugs

2017-03-06 Thread Kees Cook
On Mon, Mar 6, 2017 at 11:27 PM, Jonathan Corbet wrote: > On Mon, 6 Mar 2017 11:13:51 -0800 > Kees Cook wrote: > >> The kernel security team is regularly asked to provide CVE identifiers, >> which we don't normally do. This updates the documentation to mention >> this and adds some more details a

[tip:perf/core] tools arch x86: Include asm/cmpxchg.h

2017-03-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3337e682d9f3043bb0b925d976558ed5c41b0a09 Gitweb: http://git.kernel.org/tip/3337e682d9f3043bb0b925d976558ed5c41b0a09 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Feb 2017 16:54:53 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:13 -0300 too

[RFC PATCH 1/5] Document: Add document file for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-03-06 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. Regarding this third Beta Release, the status is: - Tested on Raspberry Pi 3. - The DVB-API operates under dvbv5 tools. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto Signed-off-by:

[tip:perf/core] tools include: Introduce atomic_cmpxchg_{relaxed,release}()

2017-03-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2bcdeadbc094b4f6511aedea1e5b8052bf0cc89c Gitweb: http://git.kernel.org/tip/2bcdeadbc094b4f6511aedea1e5b8052bf0cc89c Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Feb 2017 16:57:53 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:14 -0300 too

RE: [PATCH] Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw

2017-03-06 Thread 廖崇榮
Hi Dmitry -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: Tuesday, March 07, 2017 3:55 AM To: KT Liao Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Matjaz Hegedic Subject: Re: [PATCH] Input: elan_i2c - add ASUS EeeBook X205TA special touc

Re: [PATCH 1/9] mm: fix 100% CPU kswapd busyloop on unreclaimable nodes

2017-03-06 Thread Minchan Kim
On Mon, Mar 06, 2017 at 11:24:10AM -0500, Johannes Weiner wrote: > On Mon, Mar 06, 2017 at 10:37:40AM +0900, Minchan Kim wrote: > > On Fri, Mar 03, 2017 at 08:59:54AM +0100, Michal Hocko wrote: > > > On Fri 03-03-17 10:26:09, Minchan Kim wrote: > > > > On Tue, Feb 28, 2017 at 04:39:59PM -0500, Joha

Re: [PATCH 1/2] x86/platform: Add a low priority low frequency NMI call chain

2017-03-06 Thread Ingo Molnar
* Mike Travis wrote: > Add a new NMI call chain that is called last after all other NMI handlers > have been checked and did not "handle" the NMI. This mimics the current > NMI_UNKNOWN call chain except it eliminates the WARNING message about > multiple NMI handlers registering on this call cha

Re: [PATCH] irqchip/gic-v3: Fix GICD_CTLR_ARE_NS bit field

2017-03-06 Thread Marc Zyngier
On Tue, Mar 07 2017 at 4:07:05 am GMT, Alim Akhtar wrote: > From: Alim Akhtar > > As per GICv3 Architecture specification 8.9.4 field descriptions, > GICD_CTLR_ARE_NS is bit[5]. This patch correct the same. > > Fixes: 021f6537 ("irqchip: gic-v3: Initial support for GICv3") > Cc: sta...@vger.ker

Re: [PATCH] docs: Clarify details for reporting security bugs

2017-03-06 Thread Jonathan Corbet
On Mon, 6 Mar 2017 11:13:51 -0800 Kees Cook wrote: > The kernel security team is regularly asked to provide CVE identifiers, > which we don't normally do. This updates the documentation to mention > this and adds some more details about coordination and patch handling > that come up regularly. Ba

[tip:perf/core] tools arch x86: Introduce atomic_cmpxchg()

2017-03-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8a73615df3b8973df2de1455c00e9169522d8257 Gitweb: http://git.kernel.org/tip/8a73615df3b8973df2de1455c00e9169522d8257 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 22 Feb 2017 16:55:43 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:13 -0300 too

Re: [PATCH] perf probe: Return errno when does not hit any event

2017-03-06 Thread Kefeng Wang
+ Arnaldo Carvalho de Melo On 2017/3/6 17:34, Kefeng Wang wrote: > On old perf, when using perf probe -d to delete an inexistent event, > it return errno, eg, > > -bash-4.3# perf probe -d xxx || echo $? > Info: Event "*:xxx" does not exist. > Error: Failed to delete events. > 255 > > But now

Re: [PATCH] zram: set physical queue limits to avoid array out of bounds accesses

2017-03-06 Thread Hannes Reinecke
On 03/07/2017 06:22 AM, Minchan Kim wrote: > Hello Johannes, > > On Mon, Mar 06, 2017 at 11:23:35AM +0100, Johannes Thumshirn wrote: >> zram can handle at most SECTORS_PER_PAGE sectors in a bio's bvec. When using >> the NVMe over Fabrics loopback target which potentially sends a huge bulk of >> pa

Re: [PATCH] x86/fpu: fix boolreturn.cocci warnings

2017-03-06 Thread Ingo Molnar
* kbuild test robot wrote: > arch/x86/kernel/fpu/xstate.c:931:9-10: WARNING: return of 0/1 in function > 'xfeatures_mxcsr_quirk' with return type bool > > Return statements in functions returning bool should use > true/false instead of 1/0. Note that this is a totally bogus warning. I perso

Re: [lustre-devel] [PATCH] staging: lustre: fix sparse warning about different address spaces

2017-03-06 Thread Oleg Drokin
On Mar 1, 2017, at 6:57 PM, Mario Bambagini wrote: > fixed the following sparse warning by adding proper cast: > drivers/staging//lustre/lustre/obdclass/obd_config.c:1055:74: warning: > incorrect type in argument 2 (different address spaces) > drivers/staging//lustre/lustre/obdclass/obd_config.c

[tip:perf/core] perf vendor events: Add mapping for KnightsMill PMU events

2017-03-06 Thread tip-bot for Karol Wachowski
Commit-ID: 771ceddaadd0a2b31603034b36dca50943ff6836 Gitweb: http://git.kernel.org/tip/771ceddaadd0a2b31603034b36dca50943ff6836 Author: Karol Wachowski AuthorDate: Mon, 20 Feb 2017 12:50:40 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:13 -0300 perf vendor

[PATCH 1/2] usb: xhci-mtk: rebuild xhci_mtk_setup()

2017-03-06 Thread Chunfeng Yun
simplify xhci_mtk_setup() and add xhci_mtk_start() for xhci_driver_overrides struct Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c index

[PATCH 2/2] usb: xhci-mtk: fix checkpatch warning and erorr

2017-03-06 Thread Chunfeng Yun
there are two warnings and a erorr when checked by checkpatch.pl as following: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk

Re: [PATCH] zram: set physical queue limits to avoid array out of bounds accesses

2017-03-06 Thread Minchan Kim
Hi Hannes, On Tue, Mar 7, 2017 at 4:00 PM, Hannes Reinecke wrote: > On 03/07/2017 06:22 AM, Minchan Kim wrote: >> Hello Johannes, >> >> On Mon, Mar 06, 2017 at 11:23:35AM +0100, Johannes Thumshirn wrote: >>> zram can handle at most SECTORS_PER_PAGE sectors in a bio's bvec. When using >>> the NVMe

Re: [PATCH v5 05/15] livepatch/powerpc: add TIF_PATCH_PENDING thread flag

2017-03-06 Thread Balbir Singh
On Mon, 2017-02-13 at 19:42 -0600, Josh Poimboeuf wrote: > Add the TIF_PATCH_PENDING thread flag to enable the new livepatch > per-task consistency model for powerpc. The bit getting set indicates > the thread has a pending patch which needs to be applied when the thread > exits the kernel. > > T

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

2017-03-06 Thread Ingo Molnar
81ca5dc94ffe: > > Merge branch 'linus' into perf/urgent, to resolve conflict (2017-03-02 > 08:05:45 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/pe

[PATCH] staging: rtl8192e: fix coding style issue, improve error handling

2017-03-06 Thread Suniel Mahesh
Fix coding style issue and comments in rtl_core.c Return -ENOMEM, if it is out of memory Pointer comparison with NULL replaced by logical NOT Signed-off-by: Suniel Mahesh --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 253 +++ 1 file changed, 100 insertions(+), 153 de

[PATCH 2/5] locking/locktorture: Fix rwsem reader_delay

2017-03-06 Thread Davidlohr Bueso
We should account for nreader threads, not writers in this callback. Could even trigger a div by 0 if the user explicitly disables writers. Signed-off-by: Davidlohr Bueso --- kernel/locking/locktorture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/locking/locktortu

[PATCH 1/5] locking: Introduce range reader/writer lock

2017-03-06 Thread Davidlohr Bueso
This implements a sleepable range rwlock, based on interval tree, serializing conflicting/intersecting/overlapping ranges within the tree. The largest range is given by [0, ~0 - 1] (inclusive). Unlike traditional locks, range locking involves dealing with the tree itself and the range to be locked,

[PATCH 3/5] locking/locktorture: Fix num reader/writer corner cases

2017-03-06 Thread Davidlohr Bueso
Things can explode for locktorture if the user does combinations of nwriters_stress=0 nreaders_stress=0. Fix this by not assuming we always want to torture writer threads. Signed-off-by: Davidlohr Bueso --- kernel/locking/locktorture.c | 76 +--- 1 file ch

RE: [v3] mmc: sdhci-cadence: add HS400 enhanced strobe support

2017-03-06 Thread Piotr Sroka
Hi Masahiro, Thanks for all of your reviews. Best Regards Piotr Sroka > -Original Message- > From: Masahiro Yamada [mailto:yamada.masah...@socionext.com] > Sent: 06 March, 2017 9:59 PM > Subject: Re: [v3] mmc: sdhci-cadence: add HS400 enhanced strobe support > > Hi Piotr, > > 2017-03-0

Re: [PATCH 00/17] fs, btrfs refcount conversions

2017-03-06 Thread Qu Wenruo
At 03/06/2017 05:43 PM, Reshetova, Elena wrote: At 03/03/2017 04:55 PM, Elena Reshetova wrote: Now when new refcount_t type and API are finally merged (see include/linux/refcount.h), the following patches convert various refcounters in the btrfs filesystem from atomic_t to refcount_t. By doi

Re: [PATCH V3 1/3] sched/deadline: Replenishment timer should fire in the next period

2017-03-06 Thread Wanpeng Li
2017-02-28 18:07 GMT+08:00 Daniel Bristot de Oliveira : > Currently, the replenishment timer is set to fire at the deadline > of a task. Although that works for implicit deadline tasks because the > deadline is equals to the begin of the next period, that is not correct > for constrained deadline t

Re: [PATCH] zram: set physical queue limits to avoid array out of bounds accesses

2017-03-06 Thread Minchan Kim
Hello Johannes, On Mon, Mar 06, 2017 at 11:23:35AM +0100, Johannes Thumshirn wrote: > zram can handle at most SECTORS_PER_PAGE sectors in a bio's bvec. When using > the NVMe over Fabrics loopback target which potentially sends a huge bulk of > pages attached to the bio's bvec this results in a ker

[PATCH 0/5] locking Introduce range reader/writer lock

2017-03-06 Thread Davidlohr Bueso
Hi, Here's a very tardy proposal for enhancements to Jan's original[1] range lock using interval trees. Because at some point it would be awesome to switch mmap_sem from rwsem to range rwlock, I've focused on making it sharable and performance enhancements reducing the performance delta between t

[PATCH 1/1] mtk-vcodec: check the vp9 decoder buffer index from VPU.

2017-03-06 Thread Wu-Cheng Li
From: Wu-Cheng Li VPU firmware has a bug and may return invalid buffer index for some vp9 videos. Check the buffer indexes before accessing the buffer. Signed-off-by: Wu-Cheng Li --- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 6 + .../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c

Re: Subject: [PATCH v4] USB:Core: BugFix: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously

2017-03-06 Thread Ajay Kaher
      > On Fri, 3 Mar 2017, Ajay Kaher wrote: >  > > > usb_class->kref is not accessible outside the file.c > > > as usb_class is _static_ inside the file.c and > > > pointer of usb_class->kref is not passed anywhere. > > >  > > > Hence as you wanted, there are no references of usb_class->kref > > 

[PATCH v1 0/1] mtk-vcodec: check the vp9 decoder buffer index from VPU

2017-03-06 Thread Wu-Cheng Li
From: Wu-Cheng Li This patch guards against the invalid buffer index from VPU firmware. Wu-Cheng Li (1): mtk-vcodec: check the vp9 decoder buffer index from VPU. drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 6 + .../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 26 +++

[PATCH] sched/deadline: Add missing update_rq_clock() in dl_task_timer()

2017-03-06 Thread Wanpeng Li
From: Wanpeng Li The following warning can be triggered by hot-unplugging the CPU on which an active SCHED_DEADLINE task is running on: [ cut here ] WARNING: CPU: 7 PID: 0 at kernel/sched/sched.h:833 replenish_dl_entity+0x71e/0xc40 rq->clock_update_flags < RQCF_ACT_SK

Re: + mm-reclaim-madv_free-pages.patch added to -mm tree

2017-03-06 Thread Minchan Kim
On Mon, Mar 06, 2017 at 10:49:06AM -0500, Johannes Weiner wrote: < snip > > > @@ -1413,20 +1413,24 @@ static int try_to_unmap_one(struct page *page, > > struct vm_area_struct *vma, > > * Store the swap location in the pte. > > * See handle_pte_fault() ..

RE: [PATCH v5] PCI: Xilinx NWL: Modifying irq chip for legacy interrupts

2017-03-06 Thread Bharat Kumar Gogada
Hi Marc, can you please look into my last comments ? Regards, Bharat > Subject: RE: [PATCH v5] PCI: Xilinx NWL: Modifying irq chip for legacy > interrupts > > Waiting for Marc's Reply... > > > > -Original Message- > > > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > > > Sent: Thurs

[PATCH 4/5] locking/locktorture: Support range rwlocks

2017-03-06 Thread Davidlohr Bueso
Torture the reader/writer range locks. Each thread will attempt to lock+unlock a range of up to [0, 4096]. Signed-off-by: Davidlohr Bueso --- kernel/locking/locktorture.c | 221 +-- 1 file changed, 172 insertions(+), 49 deletions(-) diff --git a/kernel/lo

Re: + mm-reclaim-madv_free-pages.patch added to -mm tree

2017-03-06 Thread Minchan Kim
On Mon, Mar 06, 2017 at 10:49:06AM -0500, Johannes Weiner wrote: > On Mon, Mar 06, 2017 at 12:03:44PM +0900, Minchan Kim wrote: > > On Fri, Mar 03, 2017 at 10:18:51AM -0500, Johannes Weiner wrote: > > > On Fri, Mar 03, 2017 at 11:52:37AM +0900, Minchan Kim wrote: > > > > On Tue, Feb 28, 2017 at 04:

[PATCH 5/5] staging/lustre: Use generic range rwlock

2017-03-06 Thread Davidlohr Bueso
This replaces the in-house version, which is also derived from Jan's interval tree implementation. Cc: oleg.dro...@intel.com Cc: andreas.dil...@intel.com Cc: jsimm...@infradead.org Cc: lustre-de...@lists.lustre.org Signed-off-by: Davidlohr Bueso --- XXX: compile tested only. In house uses 'ulong

Re: [tip:x86/asm] x86/asm: Optimize clear_page()

2017-03-06 Thread Yinghai Lu
On Wed, Mar 1, 2017 at 1:47 AM, tip-bot for Borislav Petkov wrote: > Commit-ID: 49ca7bb328c630dd43be626534b49e19513296fd > Gitweb: http://git.kernel.org/tip/49ca7bb328c630dd43be626534b49e19513296fd > Author: Borislav Petkov > AuthorDate: Thu, 9 Feb 2017 01:34:49 +0100 > Committer: Ingo

Re: linux-next: build failure after merge of the staging tree

2017-03-06 Thread Greg KH
tomisp2/./atomisp_compat.h:27:27: fatal > error: linux/atomisp.h: No such file or directory > > Caused by commit > > a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2") > > or maybe some of the followups? > > I have used the staging tree from n

[lkp-robot] [block] 165a5e22fa: BUG_kmalloc-#(Not_tainted):Poison_overwritten

2017-03-06 Thread kernel test robot
FYI, we noticed the following commit: commit: 165a5e22fafb127ecb5914e12e8c32a1f0d3f820 ("block: Move bdi_unregister() to del_gendisk()") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: trinity with following parameters: runtime: 300s test-description

Re: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-06 Thread Bart Van Assche
On Tue, 2017-03-07 at 05:08 +, Parav Pandit wrote: > I replied with pseudo code in previous reply to Bart to bring back dma_device > member in the ib_device. > dma_device member was already present in near past of few weeks. > It should be able to work using it without performance impact and w

Re: [PATCH] xfs: remove kmem_zalloc_greedy

2017-03-06 Thread Christoph Hellwig
On Tue, Mar 07, 2017 at 11:54:20AM +1100, Dave Chinner wrote: > > Or maybe I've misunderstood, and you're asking if we should try > > kmem_zalloc(4 pages), then kmem_zalloc(1 page), and only then switch to > > the __vmalloc calls? > > Just call kmem_zalloc_large() for 4 pages without a fallback on

RE: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-06 Thread Parav Pandit
Hi Greg, > -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Monday, March 6, 2017 10:53 PM > To: Bart Van Assche > Cc: Doug Ledford ; Sebastian Ott > ; Parav Pandit ; linux- > r...@vger.kernel.org; linux-kernel@vger.kernel.org; Bjorn Helgaas > ; Be

Re: netlink: GPF in netlink_unicast

2017-03-06 Thread Richard Guy Briggs
On 2017-03-06 10:10, Cong Wang wrote: > On Mon, Mar 6, 2017 at 2:54 AM, Dmitry Vyukov wrote: > > Hello, > > > > I've got the following crash while running syzkaller fuzzer on > > net-next/8d70eeb84ab277377c017af6a21d0a337025dede: > > > > kasan: GPF could be caused by NULL-ptr deref or user memory

Re: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-06 Thread Greg Kroah-Hartman
On Mon, Mar 06, 2017 at 04:35:48PM -0800, Bart Van Assche wrote: > The dma mapping operations of several architectures and also of > several I/O MMU implementations need to translate a struct > device pointer into a struct pci_dev pointer. This translation > is performed by to_pci_dev(). That macro

[PATCH] irqchip/gic-v3: Fix GICD_CTLR_ARE_NS bit field

2017-03-06 Thread Alim Akhtar
From: Alim Akhtar As per GICv3 Architecture specification 8.9.4 field descriptions, GICD_CTLR_ARE_NS is bit[5]. This patch correct the same. Fixes: 021f6537 ("irqchip: gic-v3: Initial support for GICv3") Cc: sta...@vger.kernel.org Signed-off-by: Alim Akhtar --- include/linux/irqchip/arm-gic-v3

Re: [PATCH net-next 1/5] ldmvsw: better use of link up and down on ldom vswitch

2017-03-06 Thread Shannon Nelson
On 3/6/2017 3:53 PM, Florian Fainelli wrote: On 03/06/2017 03:15 PM, Shannon Nelson wrote: When an ldom VM is bound, the network vswitch infrastructure is set up for it, but was being forced 'UP' by the userland switch configuration script. When 'UP' but not actually connected to a running VM,

[PATCH 09/18] pstore: Replace arguments for read() API

2017-03-06 Thread Kees Cook
The argument list for the pstore_read() interface is unwieldy. This changes passes the new struct pstore_record instead. The erst backend was already doing something similar internally. Signed-off-by: Kees Cook --- arch/powerpc/kernel/nvram_64.c| 61 +++--- drivers/acpi/apei

linux-next: build failure after merge of the sunxi tree

2017-03-06 Thread Stephen Rothwell
Hi all, After merging the sunxi tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/drm/sun4i/sun4i_crtc.c: In function 'sun4i_crtc_enable_vblank': drivers/gpu/drm/sun4i/sun4i_crtc.c:109:31: error: 'struct sun4i_crtc' has no member named 'drv' struct sun4i_drv

Re: [PATCH] ASoC: Intel: Skylake: fix spelling mistake: "allocationf" -> "allocation"

2017-03-06 Thread Vinod Koul
On Tue, Feb 21, 2017 at 06:50:05PM +, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err message. Acked-by: Vinod Koul -- ~Vinod

Re: [linux-sunxi] [PATCH v3 0/5] Add dual-role OTG support for Allwinner H3

2017-03-06 Thread Ondřej Jirman
Hi Icenowy, when I was trying to add OTG support I found an issue with powercycling. When I have USB cable connecting PC and the OTG port on the SBC, when the board enables the vbus, it would become impossible to power cycle the board after poweroff. The reason being that when vbus is enabled, the

Re: [PATCH] pciehp: Fix race condition handling surprise link-down

2017-03-06 Thread Bjorn Helgaas
On Fri, Feb 03, 2017 at 10:51:04AM -0600, Bjorn Helgaas wrote: > On Thu, Feb 02, 2017 at 10:00:53PM -0800, Raj, Ashok wrote: > > ... > > Just to summarize, we only queue the POWEROFF due to surprise link down > > and another POWERON due to link becoming back up. The transient link-down > > events

Re: linux-next: manual merge of the sunxi tree with the drm-misc tree

2017-03-06 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 7:59 AM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the sunxi tree got a conflict in: > > drivers/gpu/drm/sun4i/sun4i_drv.c > > between commit: > > 50480a78e282 ("drm: sun4i: use vblank hooks in struct drm_crtc_funcs") > > from the drm-misc tree an

Re: linux-next: build failure after merge of the akpm tree

2017-03-06 Thread Laura Abbott
On 03/06/2017 07:07 PM, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > In file included from include/net/sock.h:64:0, > from include/linux/tcp.h:23, > from include/l

Re: [PATCH v2 0/4] fujitsu_init() cleanup

2017-03-06 Thread Jonathan Woithe
Hi Michael On Mon, Mar 06, 2017 at 07:47:23PM +0100, Micha?? K??pie?? wrote: > > > In light of the above findings, what would you like to do? > > > > Thanks for testing, good that we caught this before the patch series was > > applied. I think it is reasonable to skip applying this version of th

Re: [PATCH net-next 1/5] ldmvsw: better use of link up and down on ldom vswitch

2017-03-06 Thread Florian Fainelli
On 03/06/2017 03:15 PM, Shannon Nelson wrote: > When an ldom VM is bound, the network vswitch infrastructure is set up for > it, but was being forced 'UP' by the userland switch configuration script. > When 'UP' but not actually connected to a running VM, the ipv6 neighbor > probes fail (not a horr

Re: [PATCH] scsi: lpfc: replace init_timer by setup_timer

2017-03-06 Thread Martin K. Petersen
> "Jiri" == Jiri Slaby writes: Jiri> From: Tomas Jasek This patch shortens every Jiri> init_timer in lpfc module followed by function and data assignment Jiri> using setup_timer. This is purely cleanup patch, it does not add Jiri> new functionality nor remove any existing functionality. Ap

Re: Hundreds of null PATH records for *init_module syscall audit logs

2017-03-06 Thread Richard Guy Briggs
On 2017-03-03 19:19, Paul Moore wrote: > On Tue, Feb 28, 2017 at 10:37 PM, Richard Guy Briggs wrote: > > Sorry, I forgot to include Cc: in this cover letter for context to the 4 > > alt patches. > > > > On 2017-02-28 22:15, Richard Guy Briggs wrote: > >> The background to this is: > >> https

[PATCH net-next 2/5] sunvnet: add stats to track ldom to ldom packets and bytes

2017-03-06 Thread Shannon Nelson
In this driver, there is a "port" created for the connection to each of the other ldoms; a netdev queue is mapped to each port, and they are collected under a single netdev. The generic netdev statistics show us all the traffic in and out of our network device, but don't show individual queue/port

[PATCH v7 04/07] iommu/ipmmu-vmsa: Break out domain allocation code

2017-03-06 Thread Magnus Damm
From: Magnus Damm Break out the domain allocation code into a separate function. This is preparation for future code sharing. Signed-off-by: Magnus Damm Reviewed-by: Joerg Roedel --- Changes since V6: - None drivers/iommu/ipmmu-vmsa.c | 13 + 1 file changed, 9 insertions(+),

Re: Hundreds of null PATH records for *init_module syscall audit logs

2017-03-06 Thread Richard Guy Briggs
On 2017-03-06 17:30, Jessica Yu wrote: > +++ Richard Guy Briggs [06/03/17 16:49 -0500]: > >On 2017-03-03 19:22, Paul Moore wrote: > >>On Fri, Mar 3, 2017 at 4:14 PM, Richard Guy Briggs wrote: > >>> On 2017-02-28 23:15, Steve Grubb wrote: > On Tuesday, February 28, 2017 10:37:04 PM EST Richard

Re: [PATCH] mmc: core: Fix access to HS400-ES devices

2017-03-06 Thread Guenter Roeck
ping ... Ulf, I know it is early for a ping. However, the patch causing all HS400-ES devices to fail already made it into various stable releases, and I think it would be very desirable to get those back to working. Thanks, Guenter On Wed, Mar 01, 2017 at 02:11:47PM -0800, Guenter Roeck wrote:

Re: [PATCH] xfs: remove kmem_zalloc_greedy

2017-03-06 Thread Darrick J. Wong
On Tue, Mar 07, 2017 at 01:07:54AM +0100, Christoph Hellwig wrote: > I like killing it, but shouldn't we just try a normal kmem_zalloc? > At least for the fallback it's the right thing, and even for an > order 2 allocation it seems like a useful first try. I'm confused -- kmem_zalloc_large tries k

Re: [PATCH] scsi: qedf: Use vsprintf extension %pad

2017-03-06 Thread Martin K. Petersen
> "Joe" == Joe Perches writes: Joe> Using %llx for a dma_addr_t can lead to format/argument mismatches. Joe> Use %pad and the address of the dma_addr_t instead. Applied to 4.11/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering

[PATCH net-next 0/5] sunvnet: better connection management

2017-03-06 Thread Shannon Nelson
These patches remove some problems in handling of carrier state with the ldmvsw vswitch, remove an xoff misuse in sunvnet, and add stats for debug and tracking of point-to-point connections between the ldom VMs. Shannon Nelson (5): ldmvsw: better use of link up and down on ldom vswitch sunvne

[PATCH v7 06/07] iommu/ipmmu-vmsa: ARM and ARM64 archdata access

2017-03-06 Thread Magnus Damm
From: Magnus Damm Not all architectures have an iommu member in their archdata, so use #ifdefs support build with COMPILE_TEST on any architecture. Signed-off-by: Magnus Damm Reviewed-by: Joerg Roedel --- Changes since V6: - Updated patch to handle newly introduced functions in: [PATCH v7

[PATCH v7 03/07] iommu/ipmmu-vmsa: Break out utlb parsing code

2017-03-06 Thread Magnus Damm
From: Magnus Damm Break out the utlb parsing code and dev_data allocation into a separate function. This is preparation for future code sharing. Signed-off-by: Magnus Damm Reviewed-by: Joerg Roedel --- Changes since V6: - None drivers/iommu/ipmmu-vmsa.c | 58 -

[PATCH v7 07/07] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2017-03-06 Thread Magnus Damm
From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set Signed-off-by: Magnus Damm Ack

linux-next: build failure after merge of the akpm tree

2017-03-06 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from include/net/sock.h:64:0, from include/linux/tcp.h:23, from include/linux/ipv6.h:83, from include/net/ipv6.h:16,

[PATCH 2/2] usb: xhci: remove dummy extra_priv_size for size of xhci_hcd struct

2017-03-06 Thread Chunfeng Yun
because hcd_priv_size is already size of xhci_hcd struct, extra_priv_size is not needed anymore for MTK and tegra drivers. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c |1 - drivers/usb/host/xhci-tegra.c |1 - 2 files changed, 2 deletions(-) diff --git a/drivers/usb/hos

[PATCH 1/2] usb: xhci-mtk: check hcc_params after adding primary hcd

2017-03-06 Thread Chunfeng Yun
hcc_params is set in xhci_gen_setup() called from usb_add_hcd(), so checks the Maximum Primary Stream Array Size in the hcc_params register after adding primary hcd. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

Re: [PATCH v3] MIPS: Fix build breakage caused by header file changes

2017-03-06 Thread Guenter Roeck
On 03/06/2017 03:20 PM, James Hogan wrote: Hi Guenter, On Mon, Mar 06, 2017 at 11:13:55AM -0800, Guenter Roeck wrote: Since commit f3ac60671954 ("sched/headers: Move task-stack related APIs from to ") and commit f780d89a0e82 ("sched/headers: Remove from "), various mips builds fail as follows

[PATCH v7 01/07] iommu/ipmmu-vmsa: Remove platform data handling

2017-03-06 Thread Magnus Damm
From: Magnus Damm The IPMMU driver is using DT these days, and platform data is no longer used by the driver. Remove unused code. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart Reviewed-by: Joerg Roedel --- Changes since V6: - None drivers/iommu/ipmmu-vmsa.c |5 - 1 fil

[PATCH v7 00/07] iommu/ipmmu-vmsa: IPMMU multi-arch update V7

2017-03-06 Thread Magnus Damm
iommu/ipmmu-vmsa: IPMMU multi-arch update V7 [PATCH v7 01/07] iommu/ipmmu-vmsa: Remove platform data handling [PATCH v7 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context [PATCH v7 03/07] iommu/ipmmu-vmsa: Break out utlb parsing code [PATCH v7 04/07] iommu/ipmmu-vmsa: Break

[PATCH v7 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context

2017-03-06 Thread Magnus Damm
From: Magnus Damm Introduce a bitmap for context handing and convert the interrupt routine to handle all registered contexts. At this point the number of contexts are still limited. Also remove the use of the ARM specific mapping variable from ipmmu_irq() to allow compile on ARM64. Signed-off-

[PATCH v7 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2017-03-06 Thread Magnus Damm
From: Magnus Damm Introduce an alternative set of iommu_ops suitable for 64-bit ARM as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. Also adjust the Kconfig to depend on ARM or IOMMU_DMA. Initialize the device from ->xlate() when CONFIG_IOMMU_DMA=y. Signed-off-by: Magnus Damm --- Changes since

Re: [PATCH] xfs: remove kmem_zalloc_greedy

2017-03-06 Thread Dave Chinner
On Mon, Mar 06, 2017 at 04:13:28PM -0800, Darrick J. Wong wrote: > On Tue, Mar 07, 2017 at 01:07:54AM +0100, Christoph Hellwig wrote: > > I like killing it, but shouldn't we just try a normal kmem_zalloc? > > At least for the fallback it's the right thing, and even for an > > order 2 allocation it

[PATCH v2 2/2] ARM: qcom_defconfig: Enable Qualcomm remoteproc and related drivers

2017-03-06 Thread Jonathan Neuschäfer
An adsp-pil node is present in at least the MSM8974 SoC. Simply enable all Qualcomm remoteproc drivers to avoid more work in the future. The SMP2P driver is required for adsp-pil to initialize correctly. Enable the SMSM driver at Bjorn Andersson's request: "We also need CONFIG_QCOM_SMSM=y here, i

Re: [PATCH] [v2] scsi: qedi: fix build error without DEBUG_FS

2017-03-06 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> Without CONFIG_DEBUG_FS, we run into a link error: Applied to 4.11/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] qla2xxx: Fix ql_dump_buffer

2017-03-06 Thread Martin K. Petersen
> "Joe" == Joe Perches writes: Joe> Recent printk changes for KERN_CONT cause this logging to be Joe> defectively emitted on multiple lines. Fix it. Applied to 4.11/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering

RE: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-06 Thread Parav Pandit
Hi Bart, > -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Bart Van Assche > Sent: Monday, March 6, 2017 6:36 PM > To: Doug Ledford > Cc: Greg Kroah-Hartman ; Sebastian Ott > ; Parav Pandit ; linux- > r...@vger.kernel.o

[PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-06 Thread Bart Van Assche
The dma mapping operations of several architectures and also of several I/O MMU implementations need to translate a struct device pointer into a struct pci_dev pointer. This translation is performed by to_pci_dev(). That macro assumes that struct device is embedded in struct pci_dev. However, that

Re: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-06 Thread Bart Van Assche
On Tue, 2017-03-07 at 02:41 +, Parav Pandit wrote: > Compilation would break when CONFIG_PCI is not defined for some embedded > platforms. > More than that, including specific pci_dev structure pointer in generic > structure such as device just doesn't sound right. > I tested equivalent patch

linux-next: manual merge of the drm-misc tree with the drm-intel tree

2017-03-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/i915_debugfs.c between commits: 418e3cd80051 ("drm/i915: Show the current i915_params in debugfs/i915_capabilites") 317eaa95081b ("drm/i915/debugfs: Add i915_hpd_storm_ctl") from the drm-intel

Re: mmotm 2017-03-06-16-52 uploaded

2017-03-06 Thread Stephen Rothwell
Hi Andrew, On Mon, 06 Mar 2017 16:53:06 -0800 a...@linux-foundation.org wrote: > > linux-next-rejects.patch Just wondering why this includes "struct iomap" -> "const struct iomap" conversions when they should just be done in a regular patch. -- Cheers, Stephen Rothwell

Re: [alsa-devel] [PATCH v2 03/12] ASoC: sun8i-codec-analog: split out mbias

2017-03-06 Thread kbuild test robot
Hi Icenowy, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc1 next-20170306] [cannot apply to robh/for-next asoc/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

[PATCH v2 1/2] ARM: dts: msm8974: Hook up adsp-pil's xo clock

2017-03-06 Thread Jonathan Neuschäfer
Without this patch (and with CONFIG_QCOM_ADSP_PIL), I get this error: [0.711529] qcom_adsp_pil adsp-pil: failed to get xo clock [0.711540] remoteproc remoteproc0: releasing adsp-pil With this patch, adsp-pil can initialize correctly. Signed-off-by: Jonathan Neuschäfer Re

Re: [linux-sunxi] [PATCH v3 0/5] Add dual-role OTG support for Allwinner H3

2017-03-06 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 8:24 AM, Icenowy Zheng wrote: > > > 07.03.2017, 07:48, "Ondřej Jirman" : >> Hi Icenowy, >> >> when I was trying to add OTG support I found an issue with powercycling. >> When I have USB cable connecting PC and the OTG port on the SBC, when >> the board enables the vbus, it w

RE: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-06 Thread Parav Pandit
Hi Bart, > -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Bart Van Assche > Sent: Monday, March 6, 2017 6:36 PM > To: Doug Ledford > Cc: Greg Kroah-Hartman ; Sebastian Ott > ; Parav Pandit ; linux- > r...@vger.kernel.o

linux-next: build failure after merge of the akpm tree

2017-03-06 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (arm multi_v7_defconfig) failed like this: arch/arm/kernel/machine_kexec.c: In function 'machine_kexec': arch/arm/kernel/machine_kexec.c:163:2: error: implicit declaration of function 'set_kernel_text_rw' [-Werror=implicit-function

[PATCH] ARM: dts: at91: sama5d2: add m_can nodes

2017-03-06 Thread Wenyou Yang
Add nodes to support the Controller Area Network(M_CAN) on SAMA5D2. As said in SAMA5D2 datasheet, the CAN clock is recommended to use frequencies of 20, 40 or 80 MHz. To achieve these frequencies, PMC GCLK3 must select the UPLLCK(480 MHz) as source clock and divide by 24, 12, or 6. So, the "assign

[PATCH] staging: wilc1000: Fix sparse warnings incorrect type assignment

2017-03-06 Thread Andrea Ghittino
Fixed sparse warnings drivers/staging/wilc1000//wilc_wfi_cfgoperations.c:2011:52: warning: incorrect type in assignment (different base types) drivers/staging/wilc1000//wilc_wfi_cfgoperations.c:2011:52:expected unsigned short [unsigned] [assigned] [usertype] ht_ext_params drivers/staging/wilc

[PATCH] ARM: at91/defconfig: add MCAN driver to sama5_defconfig

2017-03-06 Thread Wenyou Yang
Add the Controller Area Network (MCAN) driver compilation for sama5 default configuration. Is used by sama5d2 SoC for instance. Signed-off-by: Wenyou Yang --- arch/arm/configs/sama5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs

Re: [REGRESSION][v4.9.y][v4.10.y] Input: ALPS - set DualPoint flag for 74 03 28 devices

2017-03-06 Thread Paul Donohue
Excellent! Thanks! Let me know if you see anything else that needs to change. On Mon, Mar 06, 2017 at 08:45:33AM +, Masaki Ota wrote: > Hi, Paul, > > I understand the current situation. > We have three devices that have ID: E7=73 03 28. > > DELL: Normal Pad type (There are Left and right b

[PATCH 12/18] pstore: Pass record contents instead of copying

2017-03-06 Thread Kees Cook
pstore_mkfile() shouldn't have to memcpy the record contents. It can use the existing copy instead. This adjusts the allocation lifetime management and renames the contents variable from "data" to "buf" to assist moving to struct pstore_record in the future. Signed-off-by: Kees Cook --- fs/pstor

RE: [PATCH 1/4] watchdog: sama5d4: fix WDDIS handling

2017-03-06 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月3日 1:31 > To: Guenter Roeck > Cc: Wim Van Sebroeck ; Nicolas Ferre - M43238 > ; Wenyou Yang - A41535 > ; linux-watch...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; li

Re: [GIT pull] CPU hotplug updates for 4.9

2017-03-06 Thread Bart Van Assche
On Mon, 2016-10-03 at 19:37 +0200, Thomas Gleixner wrote: > Yet another batch of cpu hotplug core updates and conversions: > > - Provide core infrastructure for multi instance drivers so the drivers > do not have to keep custom lists. > > - Convert custom lists to the new infrastructure.

RE: [PATCH 2/4] watchdog: sama5d4: fix race condition

2017-03-06 Thread Wenyou.Yang
> -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: 2017年3月3日 1:31 > To: Guenter Roeck > Cc: Wim Van Sebroeck ; Nicolas Ferre - M43238 > ; Wenyou Yang - A41535 > ; linux-watch...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; li

  1   2   3   4   5   6   7   8   9   10   >