Re: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-04 Thread Lu Baolu
Hi Peter, On 06/04/2016 10:28 AM, Peter Chen wrote: > On Sat, Jun 04, 2016 at 12:06:06AM +0800, Lu Baolu wrote: >>> from my point,it is a dual-role switch >>> driver too, >> No, it's not a dual-role switch driver, but a driver for USB port >> multiplexing. >> >> One example of port multiplexing c

Re: [PATCH] net: fec: fix spelling mistake "coalesed" -> "coalesced"

2016-06-04 Thread Joe Perches
On Sat, 2016-06-04 at 16:43 -0300, Augusto Mecking Caringi wrote: > On Sat, Jun 4, 2016 at 4:01 PM, Colin King wrote: > > From: Colin Ian King > > trivial fix to spelling mistake in pr_err message [] > > diff --git a/drivers/net/ethernet/freescale/fec_main.c > > b/drivers/net/ethernet/freescale/

[PATCH 07/12] net: mediatek: disable all interrupts during probe

2016-06-04 Thread John Crispin
The current code only disables those IRQs that we will later use. To ensure that we have a predefined state, we really want to disable all IRQs. Change the code to disable all IRQs to achieve this. Signed-off-by: John Crispin --- drivers/net/ethernet/mediatek/mtk_eth_soc.c |2 +- 1 file chan

[PATCH 05/12] net: mediatek: dropped rx packets are not being counted properly

2016-06-04 Thread John Crispin
There are two places inside mtk_poll_rx where rx_dropped is not being incremented properly. Fix this by adding the missing code to increment the counter. Signed-off-by: John Crispin --- drivers/net/ethernet/mediatek/mtk_eth_soc.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/n

[PATCH 06/12] net: mediatek: add next data pointer coherency protection

2016-06-04 Thread John Crispin
The QDMA engine can fail to update the register pointing to the next TX descriptor if this bit does not get set in the QDMA configuration register. Not setting this bit can result in invalid values inside the TX rings registers which will causes TX stalls. Signed-off-by: John Crispin --- drivers

[PATCH 09/12] net: mediatek: increase watchdog_timeo

2016-06-04 Thread John Crispin
During stress testing, after reducing the threshold value, we have seen TX timeouts that were caused by the watchdog_timeo value being too low. Increase the value to 5 * HZ which is a value commonly used by many other drivers. Signed-off-by: John Crispin --- drivers/net/ethernet/mediatek/mtk_eth

[PATCH 04/12] net: mediatek: invalid buffer lookup in mtk_tx_map()

2016-06-04 Thread John Crispin
The lookup of the tx_buffer in the error path inside mtk_tx_map() uses the wrong descriptor pointer. This looks like a copy & paste error. Change the code to use the correct pointer. Signed-off-by: John Crispin --- drivers/net/ethernet/mediatek/mtk_eth_soc.c |2 +- 1 file changed, 1 insertio

[PATCH 00/12] net: mediatek: various small fixes

2016-06-04 Thread John Crispin
This series contains various small fixes that we stumbled across while doing thorough testing and code level reviewing of the driver. The only patch that sticks out is the first one, which addresses a DQL related issue. The rest are just minor fixes. John Crispin (12): net: mediatek: fix DQL sup

[PATCH 01/12] net: mediatek: fix DQL support

2016-06-04 Thread John Crispin
The MTK ethernet core has 2 MACs both sitting on the same DMA ring. For DQL to be deterministic it needs to track the amount of data in the DMA ring and not the amount of data enqueued on each device. The current code is incorrect, fix it by making it each device track its own traffic aswell as the

[PATCH 08/12] net: mediatek: fix threshold value

2016-06-04 Thread John Crispin
The logic to calculate the threshold value for stopping the TX queue is bad. Currently it will always use 1/2 of the rings size, which is way too much. Set the threshold to MAX_SKB_FRAGS. This makes sure that the queue is stopped when there is not enough room to accept an additional segment.  Sign

[PATCH 03/12] net: mediatek: fix missing free of scratch memory

2016-06-04 Thread John Crispin
Scratch memory gets allocated in mtk_init_fq_dma() but the corresponding code to free it is missing inside mtk_dma_free() causing a memory leak. With this patch applied, we can run ifconfig up/down several thousand times without any problems. Signed-off-by: John Crispin --- drivers/net/ethernet/

[PATCH 02/12] net: mediatek: add missing return code check

2016-06-04 Thread John Crispin
The code fails to check if the scratch memory was properly allocated. Add this check and return with an error if the allocation failed. Signed-off-by: John Crispin --- drivers/net/ethernet/mediatek/mtk_eth_soc.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/media

[patch rfc] work-simple: Rename work-simple.[ch] to swork.[ch] for consistency

2016-06-04 Thread Mike Galbraith
The internal bits are already swork_blah, rename source to match. Signed-off-by: Mike Galbraith --- arch/x86/kernel/cpu/mcheck/mce.c |2 drivers/thermal/x86_pkg_temp_thermal.c |2 fs/aio.c |2 include/linux/cgroup-defs.h|2 in

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-06-04 Thread Wolfram Sang
On Sun, Jan 31, 2016 at 04:33:00PM +0100, Jean-Michel Hautbois wrote: > Some I2C devices have multiple addresses assigned, for example each address > corresponding to a different internal register map page of the device. > So far drivers which need support for this have handled this with a driver >

[patch] mm/memcontrol.c::mem_cgroup_migrate() - replace another local_irq_disable() w. local_lock_irq()

2016-06-04 Thread Mike Galbraith
v4.6 grew a local_irq_disable() in mm/memcontrol.c::mem_cgroup_migrate(). Convert it to use the existing local lock (event_lock) like the others. Signed-off-by: Mike Galbraith --- mm/memcontrol.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/mm/memcontrol.c +++ b/mm/memcont

fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6

2016-06-04 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 3 months ago co

fs/xfs/xfs_ondisk.h:79:2: error: call to '__compiletime_assert_79' declared with attribute error: XFS: sizeof(xfs_attr_shortform_t) is wrong, expected 8

2016-06-04 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 3 months ago co

vgacon.c:undefined reference to `screen_info'

2016-06-04 Thread kbuild test robot
Hi, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: f69405ce6c0fc9f4a039011007371b31f80b470d openrisc: include: asm: Kbuild: add default "vga.h" date:

Re: [PATCH] sd: remove redundant check for BLK_DEF_MAX_SECTORS

2016-06-04 Thread Tom Yan
Never mind. I misread. I thought q->limits.max_sectors = min(rw_max, queue_max_hw_sectors(q)); can be run when rw_max is not set. On 4 June 2016 at 23:18, Long Li wrote: > Sorry, "redundant check" is not the best word to describe this patch. > > The result of this patch is that: > 1. if opt_xfer_

Re: Adding module support for __ro_after_init

2016-06-04 Thread Rusty Russell
Kees Cook writes: > Hi Rusty, > > I'd love to get your thoughts on the best way to support > __ro_after_init markings for modules. Are the r/o markings done after > module __init runs? If so, this should make things easy, and then we > just need to move .data..ro_after_init into .rodata at link ti

Article on GRSecurity, RMS, etc.

2016-06-04 Thread concernedfossdev
Soylent news published an article/discussion on GRSecurity, RMS, etc If you're interested it's here: https://soylentnews.org/article.pl?sid=16/06/02/214243 >RMS Responds - GRsecurity is Preventing Others From Redistributing Source Code >[UPDATED]

undefined reference to `early_panic'

2016-06-04 Thread kbuild test robot
Hi, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: 888cdbc2c9a76a0e450f533b1957cdbfe7d483d5 hugetlb: fix compile error on tile date: 5 months ago c

Re: [RFC][PATCH 1/3] locking: Introduce smp_acquire__after_ctrl_dep

2016-06-04 Thread Paul E. McKenney
On Fri, Jun 03, 2016 at 02:45:53PM +0100, Will Deacon wrote: > On Fri, Jun 03, 2016 at 06:32:38AM -0700, Paul E. McKenney wrote: > > On Fri, Jun 03, 2016 at 02:23:10PM +0200, Peter Zijlstra wrote: > > > On Fri, Jun 03, 2016 at 05:08:27AM -0700, Paul E. McKenney wrote: > > > > On Fri, Jun 03, 2016 a

Re: [PATCHv4] rcu: tree: correctly handle sparse possible cpus

2016-06-04 Thread Paul E. McKenney
On Fri, Jun 03, 2016 at 03:20:04PM +0100, Mark Rutland wrote: > In many cases in the RCU tree code, we iterate over the set of cpus for > a leaf node described by rcu_node::grplo and rcu_node::grphi, checking > per-cpu data for each cpu in this range. However, if the set of possible > cpus is spars

Re: [PATCH 1/2] KVM: x86: avoid simultaneous queueing of both IRQ and SMI

2016-06-04 Thread Wanpeng Li
2016-06-02 2:06 GMT+08:00 Paolo Bonzini : > > > On 01/06/2016 18:40, Radim Krčmář wrote: >> 2016-06-01 14:35+0200, Paolo Bonzini: >>> If the processor exits to KVM while delivering an interrupt, >>> the hypervisor then requeues the interrupt for the next vmentry. >>> Trying to enter SMM in this sam

Re: [PATCH 5/5] mfd: rn5t618: register restart handler

2016-06-04 Thread Stefan Agner
On 2016-06-04 18:24, kbuild test robot wrote: > Hi, > > [auto build test ERROR on ljones-mfd/for-mfd-next] > [also build test ERROR on v4.7-rc1 next-20160603] > [if your patch is applied to the wrong git tree, please drop us a note > to help improve the system] > > url: > https://github.com/0d

arch/x86/kvm/svm.c:3866:10: error: implicit declaration of function '__default_cpu_present_to_apicid'

2016-06-04 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: 340d3bc3664e5d3fb922fe6e3ae2d901d4900d88 svm: Add interrupt injection via AVIC date: 2 weeks ago config: i386-ra

I am waiting for your response.........

2016-06-04 Thread Mr Kamal Ali Mohamed
Dear friend, My name is Mr Kamal Ali Mohamed . I am working with one of the prime banks here in Burkina Faso. Here in this bank existed a dormant account for many years, which belong to one of our late foreign customer. When I discovered that there had been neither deposits nor withdrawals fr

Re: pull-request: wireless-drivers 2016-06-04

2016-06-04 Thread David Miller
From: Kalle Valo Date: Sat, 04 Jun 2016 18:45:21 +0300 > few fixes for 4.7. Please let me know if you have any issues. Pulled, thanks kalle.

Re: [PATCH v4 net-next 00/13] net: hns: add support of ACPI

2016-06-04 Thread David Miller
From: Yisen Zhuang Date: Fri, 3 Jun 2016 10:55:08 +0800 > From: Kejian Yan > > This series adds HNS support of acpi. The routine will call some ACPI > helper functions, like acpi_dev_found() and acpi_evaluate_dsm(), which > are not included in other cases. In order to make system compile > succ

fs/binfmt_em86.c:73:35: error: passing argument 2 of 'copy_strings_kernel' from incompatible pointer type

2016-06-04 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: ea8daa7b97842aab8507b5b5b1e3226cf2d514a6 kbuild: Add option to turn incompatible pointer check into error date:

Re: [PATCH 5/5] mfd: rn5t618: register restart handler

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.7-rc1 next-20160603] [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/commits/Stefan-Agner/regulator-add-Ricoh-RN5T567-P

Re: [PATCH] documentation: ntb.txt correct grammar "however"

2016-06-04 Thread Ken Moffat
On Sat, Jun 04, 2016 at 03:34:01PM -0400, Justin Keller wrote: > Correct the grammar around the word however. > > Signed-off-by: Justin Keller > > --- > > index 1d9bbab..5d43510 100644 > --- a/Documentation/ntb.txt > +++ b/Documentation/ntb.txt > @@ -35,7 +35,7 @@ establishes a logical link t

Re: [PATCH v3 1/2] ARM: dts: sun9i: a80-optimus: Drop sunxi-common-regulators.dtsi

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.7-rc1 next-20160603] [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/commits/Chen-Yu-Tsai/ARM-dts-sun9i-a80-optimus-Drop-sunxi-co

undefined reference to `printk'

2016-06-04 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: 5d2acfc7b974bbd3858b4dd3f2cdc6362dd8843a kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT date

Re: [PATCHv5] support for AD5820 camera auto-focus coil

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.7-rc1 next-20160603] [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/commits/Pavel-Machek/support-for-AD5820-camera-auto-f

Re: [PATCH] Force processes to non-realtime before mm_exit

2016-06-04 Thread Corey Minyard
On 06/03/2016 06:18 PM, Brian Silverman wrote: Without this, a realtime process which has called mlockall exiting causes large latencies for other realtime processes at the same or lower priorities. This seems like a fairly common use case too, because realtime processes generally want their memo

[PATCH 2/5] mfd: add Ricoh RN5T567 PMIC support

2016-06-04 Thread Stefan Agner
The Ricoh RN5T567 is from the same family as the Ricoh RN5T618 is, the differences are: + DCDC4 + Slightly different output voltage/currents + 32kHz Output - ADC/Charger capabilities Signed-off-by: Stefan Agner --- Documentation/devicetree/bindings/mfd/rn5t618.txt | 19 ++--- driver

[PATCH 5/5] mfd: rn5t618: register restart handler

2016-06-04 Thread Stefan Agner
Use the PMIC's repower capability for reboots. Register a restart handler with use a default priority of 128. Signed-off-by: Stefan Agner --- drivers/mfd/rn5t618.c | 42 -- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/rn5t618.

[PATCH 1/5] ARM: dts: meson: minix-neo-x8: define PMIC as power controller

2016-06-04 Thread Stefan Agner
The PMIC driver used to register itself as poweroff controller by default, hence assuming that this device is using the PMIC as system power controller. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/meson8-minix-neo-x8.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts

[PATCH 3/5] regulator: rn5t618: Add RN5T567 PMIC support

2016-06-04 Thread Stefan Agner
Extend the driver to support Ricoh RN5T567. Support the additional DCDC and slightly different voltage range of LDORTC1. Signed-off-by: Stefan Agner --- drivers/regulator/Kconfig | 5 +++-- drivers/regulator/rn5t618-regulator.c | 40 +++ include/linux

[PATCH 4/5] mfd: rn5t618: register power off callback optionally

2016-06-04 Thread Stefan Agner
Only register power off if the PMIC is defined as system power controller (see Documentation/devicetree/bindings/power/ power-controller.txt). Signed-off-by: Stefan Agner --- drivers/mfd/rn5t618.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/rn5t618.

[PATCH 3/5] regulator: rn5t618: add RN5T567 PMIC support

2016-06-04 Thread Stefan Agner
Extend the driver to support Ricoh RN5T567. Support the additional DCDC and slightly different voltage range of LDORTC1. Signed-off-by: Stefan Agner --- drivers/regulator/Kconfig | 5 +++-- drivers/regulator/rn5t618-regulator.c | 40 +++ include/linux

[PATCH 0/5] regulator: add Ricoh RN5T567 PMIC support

2016-06-04 Thread Stefan Agner
This patchset adds RN5T567 PMIC support which is used on the Toradex Colibri iMX7S/iMX7D modules. The existing RN5T618 is from the same family, hence this patchset uses the same driver and adds variant support. The Colibris currently do not use the PMIC's power off capabilities, hence this patchs

[PATCH] trace: function graph: Fix filters for function_graph threshold

2016-06-04 Thread Joel Fernandes
Function graph tracer currently ignores filters if tracing_thresh is set. For example, even if set_ftrace_pid is set, then its ignored if tracing_thresh set, resulting in all processes being traced. To fix this, we reuse the same entry function as when tracing_thresh is not set and do everything a

{standard input}:122: Error: number (0x9000000080000000) larger than 32 bits

2016-06-04 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: 71458cfc782eafe4b27656e078d379a34e472adf kernel: add support for gcc 5 date: 1 year, 8 months ago config: mips-pi

Re: [PATCH 5/7] KVM: x86: avoid vmalloc(0) in the KVM_SET_CPUID

2016-06-04 Thread Wanpeng Li
2016-06-01 20:09 GMT+08:00 Paolo Bonzini : > This causes an ugly dmesg splat. Beautified syzkaller testcase: > > #include > #include > #include > #include > #include > > long r[8]; > > int main() > { > struct kvm_irq_routing ir = { 0 }; > r[2] =

Re: [PATCH net-next 1/3] arm64: bpf: implement bpf_tail_call() helper

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Zi-Shen-Lim/arm64-bpf-implement-bpf_tail_call-helper/20160605-060435 config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205 reproduce: wg

Re: [PATCH v2 1/6] PCI: Add helpers to request/release memory and I/O regions

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on jkirsher-next-queue/dev-queue] [also build test ERROR on v4.7-rc1 next-20160603] [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/commits/Johannes-Thumshirn/Introduce-pci_-re

Re: [PATCHv5] support for AD5820 camera auto-focus coil

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.7-rc1 next-20160603] [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/commits/Pavel-Machek/support-for-AD5820-camera-auto-f

Re: [PATCH v2 1/6] PCI: Add helpers to request/release memory and I/O regions

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on jkirsher-next-queue/dev-queue] [also build test ERROR on v4.7-rc1 next-20160603] [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/commits/Johannes-Thumshirn/Introduce-pci_-re

Re: [PATCHv2 1/4] usb: gadget: fix unused-but-set-variale warnings

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on balbi-usb/next] [also build test ERROR on v4.7-rc1 next-20160603] [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/commits/Michal-Nazarewicz/usb-gadget-fix-unused-but-set-var

[PATCH] rxrpc: fix ptr_ret.cocci warnings

2016-06-04 Thread kbuild test robot
net/rxrpc/rxkad.c:1165:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci CC: David Howells Signed-off-by: Fengguang Wu --- rxkad.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-

net/rxrpc/rxkad.c:1165:1-3: WARNING: PTR_ERR_OR_ZERO can be used

2016-06-04 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 commit: 648af7fca15901740c7aaafd55904ebd54d01860 rxrpc: Absorb the rxkad security module date: 8 weeks ago coccinelle warnings: (new ones prefixed by >>) >> net/

Re: [PATCH 13/13] pmem: kill __pmem address space

2016-06-04 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc1] [also build test WARNING on next-20160603] [cannot apply to linux-nvdimm/libnvdimm-for-next tip/x86/core] [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/commits

[PATCH] Documentation/devicetree: document cavium-pip rx-delay/tx-delay properties

2016-06-04 Thread Aaro Koskinen
Document cavium-pip rx-delay/tx-delay properties. Currently the board specific values need to be hardcoded in the platform code, which we want to avoid when moving to DT-only booting. Signed-off-by: Aaro Koskinen --- Documentation/devicetree/bindings/net/cavium-pip.txt | 4 1 file changed,

Re: [PATCH 04/13] libnvdimm, nfit: move flush hint mapping to dimm driver

2016-06-04 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc1] [also build test WARNING on next-20160603] [cannot apply to linux-nvdimm/libnvdimm-for-next tip/x86/core] [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/commits

Re: [PATCH 01/13] driver core, libnvdimm: disable manual unbind of dimms while region active

2016-06-04 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc1] [also build test WARNING on next-20160603] [cannot apply to linux-nvdimm/libnvdimm-for-next tip/x86/core] [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/commits

[PATCH net-next 1/3] arm64: bpf: implement bpf_tail_call() helper

2016-06-04 Thread Zi Shen Lim
Add support for JMP_CALL_X (tail call) introduced by commit 04fd61ab36ec ("bpf: allow bpf programs to tail-call other bpf programs"). bpf_tail_call() arguments: ctx - context pointer passed to next program array - pointer to map which type is BPF_MAP_TYPE_PROG_ARRAY index - index inside ar

[PATCH net-next 2/3] arm64: bpf: optimize JMP_CALL

2016-06-04 Thread Zi Shen Lim
Remove superfluous stack frame, saving us 3 instructions for every JMP_CALL. Signed-off-by: Zi Shen Lim --- arch/arm64/net/bpf_jit_comp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/net/bpf_jit_comp.c b/arch/arm64/net/bpf_jit_comp.c index 51abc97..7ae304e 100644 --- a/arch/a

[PATCH net-next 3/3] arm64: bpf: optimize LD_ABS, LD_IND

2016-06-04 Thread Zi Shen Lim
Remove superfluous stack frame, saving us 3 instructions for every LD_ABS or LD_IND. Signed-off-by: Zi Shen Lim --- arch/arm64/net/bpf_jit_comp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/net/bpf_jit_comp.c b/arch/arm64/net/bpf_jit_comp.c index 7ae304e..b2fc97a 100644 ---

Re: [PATCH v2 2/2] lib/uuid.c: eliminate uuid_[bl]e_index arrays

2016-06-04 Thread George Spelvin
Joe Perches wrote: > And Ingo commented last month: > https://lkml.org/lkml/2016/4/29/69 > > Maybe this __uuid_to_bin function should be made public and > the acpi version in drivers/acpi/acpica/utuuid.c should be > removed. I agree with the second part, but not the first; the uuid_le_to_bin() wra

Re: [PATCH 01/13] driver core, libnvdimm: disable manual unbind of dimms while region active

2016-06-04 Thread Dan Williams
On Sat, Jun 4, 2016 at 2:45 PM, Greg Kroah-Hartman wrote: > On Sat, Jun 04, 2016 at 02:39:02PM -0700, Dan Williams wrote: >> On Sat, Jun 4, 2016 at 2:10 PM, Greg Kroah-Hartman >> wrote: >> > On Sat, Jun 04, 2016 at 01:52:38PM -0700, Dan Williams wrote: >> >> There are scenarios where we need a mi

Re: [PATCH 01/13] driver core, libnvdimm: disable manual unbind of dimms while region active

2016-06-04 Thread Greg Kroah-Hartman
On Sat, Jun 04, 2016 at 02:39:02PM -0700, Dan Williams wrote: > On Sat, Jun 4, 2016 at 2:10 PM, Greg Kroah-Hartman > wrote: > > On Sat, Jun 04, 2016 at 01:52:38PM -0700, Dan Williams wrote: > >> There are scenarios where we need a middle ground between disabling all > >> manual bind/unbind attempt

Re: [PATCH 04/13] libnvdimm, nfit: move flush hint mapping to dimm driver

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc1] [also build test ERROR on next-20160603] [cannot apply to linux-nvdimm/libnvdimm-for-next tip/x86/core] [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/commits/Dan

Re: [PATCH 04/13] libnvdimm, nfit: move flush hint mapping to dimm driver

2016-06-04 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc1] [also build test ERROR on next-20160603] [cannot apply to linux-nvdimm/libnvdimm-for-next tip/x86/core] [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/commits/Dan

Re: [PATCH v2 7/9] ARM: bcm2835: Add devicetree for the Raspberry Pi 3.

2016-06-04 Thread Arnd Bergmann
On Friday, June 3, 2016 11:17:51 AM CEST Rob Herring wrote: > On Fri, Jun 3, 2016 at 5:39 AM, Gerd Hoffmann wrote: > > Hi, > > > >> I tried > >> > >> subdir-y += ../../../arm64/boot/dts/broadcom > > > > Hmm, works for me too now, probably had a typo somewhere. > > What directory does the dtb en

Re: [PATCH 01/13] driver core, libnvdimm: disable manual unbind of dimms while region active

2016-06-04 Thread Dan Williams
On Sat, Jun 4, 2016 at 2:10 PM, Greg Kroah-Hartman wrote: > On Sat, Jun 04, 2016 at 01:52:38PM -0700, Dan Williams wrote: >> There are scenarios where we need a middle ground between disabling all >> manual bind/unbind attempts (via driver->suppress_bind_attrs) and >> allowing unbind at any usersp

Re: [PATCH v3 1/2] b43: Remove unused phy_a code

2016-06-04 Thread Larry Finger
On 06/04/2016 09:54 AM, Guenter Roeck wrote: gcc-6 reports the following error with -Werror=unused-const-variable. drivers/net/wireless/broadcom/b43/phy_a.c:576:40: error: 'b43_phyops_a' defined but not used Per Michael Büsch: "All a-phy code is usused", so remove it all, and move the r

[PATCH 3/3] MIPS: OCTEON: dlink_dsr-1000n.dts: add more leds

2016-06-04 Thread Aaro Koskinen
Add more leds discovered by reverse engineering. Labels are according to markings in the mechanics. Signed-off-by: Aaro Koskinen --- arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/mips/boot/dts/cavium-octeon/dlink_ds

[PATCH 1/3] MIPS: OCTEON: delete built-in DTB pruning code for D-Link DSR-1000N

2016-06-04 Thread Aaro Koskinen
Users will get more complete functionality by using the appended DTB, so delete the legacy booting support for this board. Signed-off-by: Aaro Koskinen --- arch/mips/boot/dts/cavium-octeon/octeon_3xxx.dts | 12 .../cavium-octeon/executive/cvmx-helper-board.c| 22 --

[PATCH 2/3] MIPS: OCTEON: clean up GPIO definitions in dlink_dsr-1000n.dts

2016-06-04 Thread Aaro Koskinen
Clean up GPIO definitions in dlink_dsr-1000n.dts. Signed-off-by: Aaro Koskinen --- arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts b/arch/mips/boot/dts/cavium-octeo

Re: [PATCH 01/13] driver core, libnvdimm: disable manual unbind of dimms while region active

2016-06-04 Thread Greg Kroah-Hartman
On Sat, Jun 04, 2016 at 01:52:38PM -0700, Dan Williams wrote: > There are scenarios where we need a middle ground between disabling all > manual bind/unbind attempts (via driver->suppress_bind_attrs) and > allowing unbind at any userspace-determined time. Pinning modules takes > away one vector fo

Re: [kernel-hardening] [PATCH 2/2] security,perf: Allow further restriction of perf_event_open

2016-06-04 Thread Jeffrey Vander Stoep
Acked-by: Jeff Vander Stoep In addition to Debian, this patch has been merged into AOSP and is a requirement for Android: https://android-review.googlesource.com/#/q/topic:CONFIG_SECURITY_PERF_EVENTS_RESTRICT On Wed, Apr 13, 2016 at 9:12 AM, Kees Cook wrote: > On Mon, Jan 11, 2016 at 7:23 AM, B

Re: [PATCH 1/2] usb: configfs: allow UDC binding rule configured as binding to *any* UDC

2016-06-04 Thread Pavel Machek
On Tue 2016-05-03 11:04:24, changbin...@intel.com wrote: > From: "Du, Changbin" > > On most platforms, there is only one device controller available. > In this case, we desn't care the UDC's name. So let's ignore the > name by setting 'UDC' to 'any'. And also we can change UDC name > at any time

[PATCH 06/13] libnvdimm: cycle flush hints per-cpu

2016-06-04 Thread Dan Williams
When the NFIT provides multiple flush hint addresses per-dimm it is expressing that the platform is capable of processing multiple flush requests in parallel. There is some fixed cost per flush request, let the cost be shared in parallel on multiple cpus. Since there may not be enough flush hint

[PATCH 08/13] fs/dax: remove wmb_pmem()

2016-06-04 Thread Dan Williams
Flushing posted-write queues is now deferred to REQ_FLUSH context, or otherwise handled by an ADR event at the platform level. Cc: Ross Zwisler Signed-off-by: Dan Williams --- fs/dax.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index 761495b

[PATCH 13/13] pmem: kill __pmem address space

2016-06-04 Thread Dan Williams
The __pmem address space was meant to annotate codepaths that touch persistent memory and need to coordinate a call to wmb_pmem(). Now that wmb_pmem() is gone, there is little need to keep this annotation. Cc: Christoph Hellwig Cc: Ross Zwisler Signed-off-by: Dan Williams --- Documentation/fi

[PATCH 09/13] libnvdimm, pmem: use nvdimm_flush() for namespace I/O writes

2016-06-04 Thread Dan Williams
nsio_rw_bytes() is used to write info block metadata to the namespace, so it should trigger a flush after every write. Replace wmb_pmem() with nvdimm_flush() in this path. Cc: Ross Zwisler Signed-off-by: Dan Williams --- drivers/nvdimm/claim.c |2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 07/13] libnvdimm, pmem: use REQ_FUA, REQ_FLUSH for nvdimm_flush()

2016-06-04 Thread Dan Williams
Given that nvdimm_flush() has higher overhead than wmb_pmem() (pointer chasing through nd_region), and that we otherwise assume a platform has ADR capability when flush hints are not present, move nvdimm_flush() to REQ_FLUSH context. Cc: Ross Zwisler Signed-off-by: Dan Williams --- drivers/nvdi

[PATCH 11/13] Revert "KVM: x86: add pcommit support"

2016-06-04 Thread Dan Williams
This reverts commit 8b3e34e46aca9b6d349b331cd9cf71ccbdc91b2e. Given the deprecation of the pcommit instruction, revert its usage as a vm exit source in kvm. Cc: Xiao Guangrong Cc: Paolo Bonzini Cc: Ross Zwisler Signed-off-by: Dan Williams --- arch/x86/include/asm/vmx.h |1 - arch/x8

[PATCH 10/13] pmem: kill wmb_pmem()

2016-06-04 Thread Dan Williams
All users have been replaced with flushing in the pmem driver. Cc: Ross Zwisler Signed-off-by: Dan Williams --- arch/x86/include/asm/pmem.h | 36 ++--- include/linux/pmem.h| 47 --- 2 files changed, 6 insertions(+),

[PATCH 04/13] libnvdimm, nfit: move flush hint mapping to dimm driver

2016-06-04 Thread Dan Williams
Since flush hints are a per-dimm property and we want to start using them outside of block-window I/O context, move their initialization to nvdimm_probe() context. For the future use of flush hints in the pmem driver it would be unfortunate to call back into the bus provider just to issue a write,

[PATCH 12/13] x86/insn: remove pcommit

2016-06-04 Thread Dan Williams
The pcommit instruction is being deprecated in favor of ADR (asynchronous DRAM refresh) flush-on-power-fail, required at the platform level. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Josh Poimboeuf Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Ale

[PATCH 03/13] libnvdimm: introduce nvdimm_flush()

2016-06-04 Thread Dan Williams
nvdimm_flush() is an alternative to the x86 pcommit instruction. It is an optional write flushing mechanism that an nvdimm bus can provide for the pmem driver to consume. In the case of the NFIT nvdimm-bus-provider nvdimm_flush() is implemented as a series of flush-hint-address [1] writes to each

[PATCH 05/13] tools/testing/nvdimm: simulate multiple flush hints per-dimm

2016-06-04 Thread Dan Williams
Sample nfit data to test the kernel's handling of the multiple flush-hint case. Signed-off-by: Dan Williams --- tools/testing/nvdimm/test/nfit.c | 55 +++--- 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a/tools/testing/nvdimm/test/nfit.c b/tools

[PATCH 00/13] deprecate pcommit

2016-06-04 Thread Dan Williams
Platforms supporting NVDIMMs are now required to provide persistence guarantees once pmem stores are accepted by the memory subsystem. This is usually achieved by a platform-level feature known as ADR (Asynchronous DRAM Refresh) that flushes any memory subsystem write pending queues on power loss/

[PATCH 02/13] nfit: always associate flush hints

2016-06-04 Thread Dan Williams
Before enabling use of flush hints for pmem regions, we need to make sure they are always associated. Move the initialization of nfit_flush out of the block-window specific init path to the general init path. Cc: Ross Zwisler Signed-off-by: Dan Williams --- drivers/acpi/nfit.c | 17 -

[PATCH 01/13] driver core, libnvdimm: disable manual unbind of dimms while region active

2016-06-04 Thread Dan Williams
There are scenarios where we need a middle ground between disabling all manual bind/unbind attempts (via driver->suppress_bind_attrs) and allowing unbind at any userspace-determined time. Pinning modules takes away one vector for unwanted out-of-sequence device_release_driver() invocations, this n

[PATCH V3] fs: befs: Insert NULL inode to dentry

2016-06-04 Thread Salah Triki
As VFS expects, lookup inserts NULL inode to dentry when the named inode does not exist. Signed-off-by: Salah Triki --- fs/befs/linuxvfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index c734f21..2fea87b 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/b

Re: dma_declare_coherent_memory fails for RAM allocated memory

2016-06-04 Thread Ivaylo Dimitrov
On 2.06.2016 20:14, Ivaylo Dimitrov wrote: Hi, On 1.06.2016 14:18, Brian Starkey wrote: Hi Ivo, On Sun, May 29, 2016 at 05:56:02PM +0300, Ivaylo Dimitrov wrote: Hi, When trying to declare and use DT reserved memory region on ARM (OMAP3), dma_declare_coherent_memory() fails in memremap().

Re: [PATCH] rtlwifi: Change long delays to sleeps

2016-06-04 Thread Jan Kiszka
On 2016-06-04 18:52, Kalle Valo wrote: > Jan Kiszka writes: > >> On 2016-02-15 23:12, Larry Finger wrote: >>> Routine rtl_addr_delay() uses delay statements in code that can >>> sleep. To improve system responsiveness, the various delay statements >>> are changed. >>> >>> In addition, routines rt

Re: [PATCH 3/3] fs: befs: Increment i_count when inode is found

2016-06-04 Thread Salah Triki
On Sat, Jun 04, 2016 at 08:32:42PM +0100, Al Viro wrote: > On Sat, Jun 04, 2016 at 07:53:21PM +0100, Salah Triki wrote: > > As VFS expects, i_count field is incremented when the named inode is found. > > VFS expects no such thing. Incidentally, you have neither bothered to > check other filesyste

[PATCH V2 3/3] fs: befs: Increment i_count when inode is found

2016-06-04 Thread Salah Triki
As VFS expects, i_count.counter field should be incremented when the named inode is found. Signed-off-by: Salah Triki --- fs/befs/linuxvfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 91740dd..1a67990 100644 --- a/fs/befs/linuxvfs.c +++ b/

[PATCH V2 1/3] fs: befs: Lookup must return error code only on real error

2016-06-04 Thread Salah Triki
File not found is not an error and lookup must return error code only on real error, otherwise creating inodes with functions like create, mkdir and so on will fail. Signed-off-by: Salah Triki --- fs/befs/linuxvfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/befs/linu

[PATCH V2 2/3] fs: befs: Insert NULL inode to dentry

2016-06-04 Thread Salah Triki
As VFS expects, lookup should insert NULL inode to dentry when the named inode does not exist. Signed-off-by: Salah Triki --- fs/befs/linuxvfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index e0bd6c7..91740dd 100644 --- a/fs/befs/linuxvfs.c +++

Re: [PATCH] nfs4: Fix potential use after free of state in nfs4_do_reclaim.

2016-06-04 Thread Jeff Layton
On Sat, 2016-06-04 at 12:21 -0400, gr...@linuxhacker.ru wrote: > From: Oleg Drokin > > Commit e8d975e73e5f ("fixing infinite OPEN loop in 4.0 stateid recovery") > introduced access to state after it was just potentially freed by > nfs4_put_open_state leading to a random data corruption somewhere.

Re: [PATCH v2 4/9] arm64: Add platform selection for BCM2835.

2016-06-04 Thread Eric Anholt
Catalin Marinas writes: > On Fri, Jun 03, 2016 at 08:18:23AM +0200, Gerd Hoffmann wrote: >> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms >> index 7ef1d05..ea88402 100644 >> --- a/arch/arm64/Kconfig.platforms >> +++ b/arch/arm64/Kconfig.platforms >> @@ -13,6 +13,19 @@ c

Re: [PATCH] bnx2i: fix spelling mistake "complection" -> "completion"

2016-06-04 Thread Laurence Oberman
- Original Message - > From: "Colin King" > To: qlogic-storage-upstr...@qlogic.com, "James E . J . Bottomley" > , "Martin K . Petersen" > , linux-s...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Sent: Saturday, June 4, 2016 3:14:30 PM > Subject: [PATCH] bnx2i: fix spelling mist

Re: [PATCH] net: fec: fix spelling mistake "coalesed" -> "coalesced"

2016-06-04 Thread Augusto Mecking Caringi
On Sat, Jun 4, 2016 at 4:01 PM, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in pr_err message > > Signed-off-by: Colin Ian King > --- > drivers/net/ethernet/freescale/fec_main.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers

  1   2   3   >