Re: [PATCH 01/12] gpio: Only descend into gpio directory when CONFIG_GPIOLIB is set

2016-06-13 Thread Linus Walleij
On Mon, Jun 13, 2016 at 10:02 PM, Andrew F. Davis wrote: > When CONFIG_GPIOLIB is not set make will still descend into the gpio > directory but nothing will be built. This produces unneeded build > artifacts and messages in addition to slowing the build. Fix this here. > > Signed-off-by: Andrew F

Re: [PATCH 2/2] pinctrl: max77620: select PINMUX

2016-06-13 Thread Linus Walleij
On Mon, Jun 13, 2016 at 5:18 PM, Arnd Bergmann wrote: > The recently added max77620 driver fails to build when CONFIG_PINMUX > is not set: > > pinctrl/pinctrl-max77620.c:272:21: error: variable 'max77620_pinmux_ops' has > initializer but incomplete type > static const struct pinmux_ops max77620

linux-next: Tree for Jun 14

2016-06-13 Thread Stephen Rothwell
Merging uml/linux-next (a78ff1112263 um: add extended processor state save/restore support) Merging unicore32/unicore32 (c83d8b2fc986 unicore32: mm: Add missing parameter to arch_vma_access_permitted) Merging xtensa/for_next (9da8320bb977 xtensa: add test_kc705_hifi variant) Merging btrfs/n

Re: [PATCH 1/2] pinctrl: fix incorrect inline keyword in multiple drivers

2016-06-13 Thread Linus Walleij
On Mon, Jun 13, 2016 at 5:18 PM, Arnd Bergmann wrote: > When building with 'make W=1', we get harmless warnings about > five drivers in drivers/pinctrl, which all contain a copy of > the same line: > > drivers/pinctrl/freescale/pinctrl-imx1-core.c:160:1: error: 'inline' is not > at beginning of

Re: [PATCH v3] iio: stx104: Add GPIO support for the Apex Embedded Systems STX104

2016-06-13 Thread Linus Walleij
On Mon, Jun 13, 2016 at 3:06 PM, William Breathitt Gray wrote: > The Apex Embedded Systems STX104 device features eight lines of digital > I/O (four digital inputs and four digital outputs). This patch adds GPIO > support for these eight lines of digital I/O via GPIOLIB. > > Cc: Linus Walleij >

Re: [PATCH] pinctrl: max77620: Remove unused structure definition

2016-06-13 Thread Linus Walleij
On Mon, Jun 13, 2016 at 2:51 PM, Jon Hunter wrote: > The strucuture 'max77620_cfg_param' is defined but never used by the > max77620 driver. Remove this structure definition. > > Signed-off-by: Jon Hunter Patch applied. Yours, Linus Walleij

Re: [v2 PATCH 1/2] scsi:stex.c Support Pegasus 3 product

2016-06-13 Thread kbuild test robot
Hi, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.7-rc3 next-20160609] [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/Charles-Chiou/scsi-stex-c-Support-Pegasus-3-prod

Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399

2016-06-13 Thread Heiko Stübner
Am Montag, 13. Juni 2016, 20:49:39 schrieb Doug Anderson: > Hi, > > On Mon, Jun 13, 2016 at 8:02 PM, Xing Zheng wrote: > > Hi Doug, > > > > On 2016年06月14日 07:46, Doug Anderson wrote: > >> Even if it's not much power, it seems like we should still turn it off > >> and on in the right place. Unl

[PATCH] parisc: Change structure intialisation to C99 style

2016-06-13 Thread Amitoj Kaur Chawla
Replace the in order struct initialisation style with explicit field style. The Coccinelle semantic patch used to make this change is as follows: @decl@ identifier i1,fld; type T; field list[n] fs; @@ struct i1 { fs T fld; ...}; @@ identifier decl.i1,i2,decl.fld; expression e; position bad.p

[PATCH] sched: unlikely corrupted stack end

2016-06-13 Thread WANG Chao
unlikely() was dropped in commit ce03e41 ("sched/core: Drop unlikely behind BUG_ON()"), but commit 29d6455 ("sched: panic on corrupted stack end") dropped BUG_ON() and called panic directly. Now we should bring unlikely() back for branch prediction. Signed-off-by: WANG Chao --- kernel/sched/cor

Re: [PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe()

2016-06-13 Thread Heiko Stübner
Am Montag, 13. Juni 2016, 23:31:47 schrieb weiyj...@163.com: > From: Wei Yongjun > > In case of error, the function devm_kzalloc() returns NULL pointer > not ERR_PTR(). The IS_ERR() test in the return value check should > be replaced with NULL test. > > Signed-off-by: Wei Yongjun obviously cor

[PATCH v2 1/2] nxp/dts: add pcie aer interrupt-name property in the dts

2016-06-13 Thread Po Liu
NXP some platforms aer interrupt was not MSI/MSI-X/INTx but using interrupt line independently. This patch add a "aer" interrupt-names for aer interrupt. Signed-off-by: Po Liu --- Changes for V2: - None. .../devicetree/bindings/pci/layerscape-pci.txt | 4 ++-- arch/arm/boot/dts

[PATCH v2] locking/qspinlock: Use __this_cpu_dec instead

2016-06-13 Thread Pan Xinhui
queued_spin_lock_slowpath should not worry about another queued_spin_lock_slowpath which runs in interrupt changes node->count by accident because node->count keeps the same value everytime we enter/leave queued_spin_lock_slowpath. On some archs this_cpu_dec will save/restore irq flags, this will

Re: [PATCH] mm, slaub: Add __GFP_ATOMIC to the GFP reclaim mask

2016-06-13 Thread Michal Hocko
On Fri 10-06-16 10:38:32, Mel Gorman wrote: > Commit d0164adc89f6 ("mm, page_alloc: distinguish between being unable to > sleep, unwilling to sleep and avoiding waking kswapd") modified __GFP_WAIT > to explicitly identify the difference between atomic callers and those that > were unwilling to slee

RE: [PATCH v11 3/3] Bluetooth: hci_uart: Support firmware download for Marvell

2016-06-13 Thread Amitkumar Karwar
Hi Marcel, > From: Amitkumar Karwar > Sent: Monday, May 23, 2016 11:37 AM > To: 'linux-blueto...@vger.kernel.org' > Cc: 'linux-kernel@vger.kernel.org'; Ganapathi Bhat; Cathy Luo > Subject: RE: [PATCH v11 3/3] Bluetooth: hci_uart: Support firmware > download for Marvell > > Hi Marcel, > > > > Fro

Re: [linux-sunxi] [PATCH v3 10/13] spi: sunxi: merge sun4i and sun6i SPI driver

2016-06-13 Thread Michal Suchanek
Hello, On 14 June 2016 at 07:45, Julian Calaby wrote: > Hi Michal, > > On Tue, Jun 14, 2016 at 3:28 PM, Michal Suchanek wrote: >> On 14 June 2016 at 06:47, Julian Calaby wrote: >>> Hi Michal, >>> >>> On Tue, Jun 14, 2016 at 2:34 PM, Michal Suchanek wrote: Hello, On 14 June 2016

Re: lm-senser can't detect thermal on thermal_zone

2016-06-13 Thread Zhang Rui
On Thu, 2016-06-09 at 03:07 +, Kuninori Morimoto wrote: > > Hi Zhang > > Can you check this email ? > > > > > > > > > Thank you for your help > > > > > > > > > > > > > > > > > non thermal-zon > > > > >   sensor command: OK > > > > >   read from /sys/class/thermal/therm

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-06-13 Thread Nicholas A. Bellinger
On Fri, 2016-06-10 at 12:03 -0700, Bart Van Assche wrote: > On 05/24/2016 01:00 PM, Bryant G Ly wrote: > > Quoting Bart Van Assche : > >> On 05/24/2016 06:52 AM, Bryant G. Ly wrote: > >>> +static uint64_t ibmvscsis_unpack_lun(const uint8_t *lun, int len) > >>> +{ > >>> +uint64_t res = NO_SUCH_L

[PATCH v2 2/2] pci/aer: interrupt fixup in the quirk

2016-06-13 Thread Po Liu
On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. When chip support the aer interrupt with none MSI/MSI-X/INTx mode, maybe there is interrupt line for aer pme etc. Search the interrupt number in the fdt file. Then fixup the dev->irq with it. Signed-off-by: Po Liu --- changes

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-13 Thread Joonsoo Kim
On Mon, Jun 13, 2016 at 09:43:13PM +0200, Geert Uytterhoeven wrote: > Hi Joonsoo, Hello, > > On Tue, Apr 12, 2016 at 6:51 AM, wrote: > > From: Joonsoo Kim > > > > To check whther free objects exist or not precisely, we need to grab a > > lock. But, accuracy isn't that important because race

[v2 PATCH 2/2] scsi:stex.c Add S6 support

2016-06-13 Thread Charles Chiou
From: Charles 1.Add reboot notifier and register it in stex_probe for all supported device. 2.For all supported device in restart flow, we get a callback from notifier and set S6flag for stex_shutdown & stex_hba_stop to send restart command to FW. Signed-off-by: Charles Signed-off-by: Paul -

[v2 PATCH 1/2] scsi:stex.c Support Pegasus 3 product

2016-06-13 Thread Charles Chiou
From: Charles Pegasus series is a RAID support product by using Thunderbolt technology. The newest product, Pegasus 3 is support Thunderbolt 3 technology with another chip. 1.Change driver version. 2.Add Pegasus 3 VID, DID and define it's device address. 3.Pegasus 3 use msi interrupt, so ste

Re: [PATCH] ARM: keystone: remove redundant depends on ARM_PATCH_PHYS_VIRT

2016-06-13 Thread Masahiro Yamada
Hi Santosh Ping again. It is taking so long for this apparently correct patch. 2016-04-05 11:14 GMT+09:00 Masahiro Yamada : > 2016-02-06 3:31 GMT+09:00 santosh shilimkar : >> On 2/5/2016 10:13 AM, Masahiro Yamada wrote: >>> >>> 2016-02-06 2:56 GMT+09:00 santosh shilimkar >>> : On 2/5

Re: [PATCH 4/5] reset: zynq: make it explicitly non-modular

2016-06-13 Thread Michal Simek
On 13.6.2016 20:03, Paul Gortmaker wrote: > The Makefile/Kconfig currently controlling compilation of this code is: > > drivers/reset/Makefile:obj-$(CONFIG_ARCH_ZYNQ) += reset-zynq.o > arch/arm/mach:zynq/Kconfig:config ARCH_ZYNQ > arch/arm/mach:zynq/Kconfig: bool "Xilinx Zynq ARM Cortex A9 Pla

Re: [PATCH] locking/qrwlock: fix write unlock issue in big endian

2016-06-13 Thread xinhui
On 2016年06月08日 17:22, Will Deacon wrote: On Thu, Jun 02, 2016 at 06:09:08PM +0800, Pan Xinhui wrote: strcut __qrwlock has different layout in big endian machine. we need set the __qrwlock->wmode to NULL, and the address is not &lock->cnts in big endian machine. Do as what read unlock does. we

Re: [LKP] [lkp] [mm] 5c0a85fad9: unixbench.score -6.3% regression

2016-06-13 Thread Linus Torvalds
On Mon, Jun 13, 2016 at 5:52 AM, Kirill A. Shutemov wrote: > On Sat, Jun 11, 2016 at 06:02:57PM -0700, Linus Torvalds wrote: >> >> I've timed it at over a thousand cycles on at least some CPU's, but >> that's still peanuts compared to a real page fault. It shouldn't be >> *that* noticeable, ie no

Re: [PATCH 3.16 046/114] batman-adv: Fix broadcast/ogm queue limit on a removed interface

2016-06-13 Thread Sven Eckelmann
Hi, On Monday 13 June 2016 23:53:06 Ben Hutchings wrote: [...] > > Yes, I recognise this bug. I've updated this patch to the version below. looks good to me. Thanks for updating the patch :) Kind regards, Sven > --- > batman-adv: Fix broadcast/ogm queue limit on a removed interface >

Re: [PATCH] kconfig.h: use already defined macros for IS_REACHABLE() define

2016-06-13 Thread Masahiro Yamada
Hi Nicolas, 2016-06-07 7:03 GMT+09:00 Nicolas Pitre : > On Tue, 7 Jun 2016, Masahiro Yamada wrote: > >> Because config_enabled() is so useful, >> maybe people tend to abuse it. >> >> I see one case where config_enabled() is used >> for a non-config macro. >> >> #define __EXPORT_SYMBOL(sym, sec) \

[PATCH 5/5] vmlinux.lds.h: replace config_enabled() with IS_ENABLED()

2016-06-13 Thread Masahiro Yamada
The use of config_enabled() against config options is ambiguous. Now, IS_ENABLED() is implemented purely with macro expansion, so let's replace config_enabled() with IS_ENABLED(). Signed-off-by: Masahiro Yamada --- include/asm-generic/vmlinux.lds.h | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 3/5] kconfig.h: use already defined macros for IS_REACHABLE() define

2016-06-13 Thread Masahiro Yamada
For the same reason as commit 02d699f1f464 ("include/linux/kconfig.h: ese macros which are already defined"), it is better to use macros IS_BUILTIN() and IS_MODULE() for defining IS_REACHABLE(). Signed-off-by: Masahiro Yamada --- include/linux/kconfig.h | 4 ++-- 1 file changed, 2 insertions(+)

[PATCH 1/5] kconfig.h: use __is_defined() to check if MODULE is defined

2016-06-13 Thread Masahiro Yamada
The macro MODULE is not a config option, it is a per-file build option. So, config_enabled(MODULE) is not sensible. (There is another case in include/linux/export.h, where config_enabled() is used against a non-config option.) This commit renames some macros in include/linux/kconfig.h for the us

[PATCH 4/5] kconfig.h: allow to use IS_{ENABLE,REACHABLE} in macro expansion

2016-06-13 Thread Masahiro Yamada
The typical usage of IS_ENABLED() is if (IS_ENABLED(CONFIG_FOO)) { ... } or #if IS_ENABLED(CONFIG_FOO) ... #endif The current implementation of IS_ENABLED() includes "||" operator, which works well in those expressions like above. However, there is a cas

[PATCH 2/5] export.h: use __is_defined() to check if __KSYM_* is defined

2016-06-13 Thread Masahiro Yamada
Here the need is for a macro that checks whether the given symbol is defined or not, which has nothing to do with config. The new macro __is_defined() is a better fit for this case. Signed-off-by: Masahiro Yamada --- include/linux/export.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Intel-gfx] [PATCH] drm/i915: Fix missing unlock on error in i915_ppgtt_info()

2016-06-13 Thread Daniel Vetter
On Mon, Jun 13, 2016 at 11:42:00PM +, weiyj...@163.com wrote: > From: Wei Yongjun > > Add the missing unlock before return from function i915_ppgtt_info() > in the error handling case. > > Fixes: 1d2ac403ae3b(drm: Protect dev->filelist with its own mutex) > Signed-off-by: Wei Yongjun Appli

Re: [PATCH net-next v3 6/7] vmxnet3: introduce command to register memory region

2016-06-13 Thread Or Gerlitz
On Tue, Jun 14, 2016 at 4:50 AM, Shrikrishna Khare wrote: > +++ b/drivers/net/vmxnet3/vmxnet3_defs.h > @@ -81,6 +81,7 @@ enum { > VMXNET3_CMD_RESERVED2, > VMXNET3_CMD_RESERVED3, > VMXNET3_CMD_SET_COALESCE, > + VMXNET3_CMD_REGISTER_MEMREGS, > > VMXNET3_CMD_FIR

[PATCH v2 1/1] Staging: comedi: dmm32at: fix BIT macro issue.

2016-06-13 Thread Ravishankar Karkala Mallikarjunayya
This Replace all occurences of (1< --- Changes V1 -> V2: - BIT macros added(suggested by Ian Abbott) -i.e.DMM32AT_AI_CFG_SCINT(x), DMM32AT_CTRL_PAGE(x) --- drivers/staging/comedi/drivers/dmm32at.c | 98 1 file changed, 50 insertions(+), 48 deletions

Re: [PATCH net-next v3 0/7] vmxnet3: upgrade to version 3

2016-06-13 Thread Or Gerlitz
On Tue, Jun 14, 2016 at 4:50 AM, Shrikrishna Khare wrote: > This patchset upgrades vmxnet3 to version 3. Except for one patch, all the rest lack change-log, which makes it somehow needlessly harder to review and maintain > Shrikrishna Khare (7): > vmxnet3: prepare for version 3 changes > vmx

Re: [RFC PATCH V2 1/2] ACPI/PCI: Match PCI config space accessors against platfrom specific ECAM quirks

2016-06-13 Thread Dongdong Liu
Hi Duc 在 2016/6/14 4:57, Duc Dang 写道: On Mon, Jun 13, 2016 at 8:47 AM, Christopher Covington wrote: Hi Dongdong, On 06/13/2016 09:02 AM, Dongdong Liu wrote: diff --git a/drivers/acpi/pci_mcfg.c b/drivers/acpi/pci_mcfg.c index d3c3e85..49612b3 100644 --- a/drivers/acpi/pci_mcfg.c +++ b/driver

Re: [GIT PULL] SCSI fixes for 4.7-rc2

2016-06-13 Thread Linus Torvalds
On Mon, Jun 13, 2016 at 12:04 AM, Hannes Reinecke wrote: > > And we have been running the very patch in SLES for over a year now, > without a single issue being reported. Oh, ok. So it's not "all qemu kvm instances are broken", it was a very unusual issue, and the patch has actually gotten wider

Re: [PATCH v2 1/7] mm/compaction: split freepages without holding the zone lock

2016-06-13 Thread Joonsoo Kim
On Mon, Jun 13, 2016 at 04:31:15PM -0400, Sasha Levin wrote: > On 05/25/2016 10:37 PM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > We don't need to split freepages with holding the zone lock. It will cause > > more contention on zone lock so not desirable. > > > > Signed-off-by: Joonso

Re: [PATCH] locking/qspinlock: Use atomic_sub_return_release in queued_spin_unlock

2016-06-13 Thread Boqun Feng
On Mon, Jun 13, 2016 at 12:45:23PM -0700, Davidlohr Bueso wrote: > On Fri, 03 Jun 2016, Pan Xinhui wrote: > > > The existing version uses a heavy barrier while only release semantics > > is required. So use atomic_sub_return_release instead. > > > > Suggested-by: Peter Zijlstra (Intel) > > Signe

Re: [linux-sunxi] [PATCH v3 10/13] spi: sunxi: merge sun4i and sun6i SPI driver

2016-06-13 Thread Julian Calaby
Hi Michal, On Tue, Jun 14, 2016 at 3:28 PM, Michal Suchanek wrote: > On 14 June 2016 at 06:47, Julian Calaby wrote: >> Hi Michal, >> >> On Tue, Jun 14, 2016 at 2:34 PM, Michal Suchanek wrote: >>> Hello, >>> >>> On 14 June 2016 at 01:43, Julian Calaby wrote: Hi Michal, On Tue, Ju

Re: [PATCH 1/2] drm/mediatek: Add gamma correction

2016-06-13 Thread Daniel Vetter
On Tue, Jun 14, 2016 at 10:55:52AM +0800, Bibby Hsieh wrote: > Apply gamma function to correct brightness values. > It applies arbitrary mapping curve to compensate the > incorrect transfer function of the panel. > > Signed-off-by: Bibby Hsieh I think it would be much better to use the new atomi

Re: [PATCH] s390/oprofile: Remove deprecated create_workqueue

2016-06-13 Thread Heiko Carstens
On Mon, Jun 13, 2016 at 06:29:14PM +0200, Robert Richter wrote: > Heiko, > > On 09.06.16 11:00:56, Heiko Carstens wrote: > > However I'm wondering if we shouldn't simply remove at least the s390 > > specific hwswampler code from the oprofile module. This would still leave > > the common code timer

Re: [linux-sunxi] [PATCH v3 10/13] spi: sunxi: merge sun4i and sun6i SPI driver

2016-06-13 Thread Michal Suchanek
On 14 June 2016 at 06:47, Julian Calaby wrote: > Hi Michal, > > On Tue, Jun 14, 2016 at 2:34 PM, Michal Suchanek wrote: >> Hello, >> >> On 14 June 2016 at 01:43, Julian Calaby wrote: >>> Hi Michal, >>> >>> On Tue, Jun 14, 2016 at 3:46 AM, Michal Suchanek wrote: The drivers are very similar

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-13 Thread Julia Lawall
On Mon, 13 Jun 2016, Luis R. Rodriguez wrote: > On Mon, Jun 13, 2016 at 09:50:15PM +0200, Julia Lawall wrote: > > > > > > On Mon, 13 Jun 2016, Luis R. Rodriguez wrote: > > > > > On Fri, Jun 10, 2016 at 11:21:28PM +0200, Julia Lawall wrote: > > > > > > > > > > > > On Fri, 10 Jun 2016, Luis R

Re: [PATCH v2 1/5] nbd: fix might_sleep warning on socket shutdown.

2016-06-13 Thread Pranay Srivastava
Hello, On Thu, Jun 9, 2016 at 3:33 PM, Pranay Srivastava wrote: > > Hello > > > On Thu, Jun 2, 2016 at 3:54 PM, Pranay Kr. Srivastava > wrote: > > spinlocked ranges should be small and not contain calls into huge > > subfunctions. Fix my mistake and just get the pointer to the socket > > instea

806ebc1465: BUG: tried to access memory at 0x7ff6afd3 while not in USER_DS

2016-06-13 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/uaccess commit 806ebc146567cb0030460ebf34ebecfb7c67eb76 ("[DEBUG] force CONFIG_DEBUG_UACCESS") on test machine: vm-lkp-wsx03-openwrt-i386: 1 threads qemu-system-i386 -enable-kvm with 192M

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-13 Thread Stephan Mueller
Am Dienstag, 14. Juni 2016, 00:16:11 schrieb Andrew Zaborowski: Hi Andrew, > Hi, > > On 8 June 2016 at 21:14, Mat Martineau > > wrote: > > On Wed, 8 Jun 2016, Stephan Mueller wrote: > >> What is your concern? > > > > Userspace must allocate larger buffers than it knows are necessary for > > e

Re: [Cocci] [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-13 Thread Julia Lawall
On Mon, 13 Jun 2016, Luis R. Rodriguez wrote: > On Mon, Jun 13, 2016 at 09:48:30PM +0200, Julia Lawall wrote: > > > > > > On Mon, 13 Jun 2016, Wolfram Sang wrote: > > > > > > > > > Is there another scripts/coccinelle/ file I can use to test against to > > > > demo > > > > against glimpse/id

linux-next: manual merge of the staging tree with the block tree

2016-06-13 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/lustre/lustre/llite/lloop.c between commit: 95fe6c1a209e ("block, fs, mm, drivers: use bio set/get op accessors") from the block tree and commit: 67b1a24e883c ("staging: lustre: llite: remove lloop

Re: [PATCH 2/2] dmaengine: bcm2835: Avoid splitting periods into very small chunks

2016-06-13 Thread Eric Anholt
Matthias Reichl writes: > The current cyclic DMA period splitting implementation can generate > very small chunks at the end of each period. For example a 65536 byte > period will be split into a 65532 byte chunk and a 4 byte chunk on > the "lite" DMA channels. > > This increases pressure on the

linux-next: manual merge of the staging tree with the staging.current tree

2016-06-13 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/iio/industrialio-trigger.c between commit: 995438233579 ("iio: Fix error handling in iio_trigger_attach_poll_func") from the staging.current tree and commit: ef2d71d6b7fb ("iio: triggers: Make trigger ops s

Re: [PATCH v2 3/3] ARM64: dts: meson-gxbb: Add Hardware Random Generator node

2016-06-13 Thread Neil Armstrong
On 06/14/2016 12:09 AM, Kevin Hilman wrote: > Hi Neil, > > Neil Armstrong writes: > >> Signed-off-by: Neil Armstrong >> --- >> arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi >> b/arch/arm

Re: [RESEND PATCH v11] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-06-13 Thread kbuild test robot
-controller-driver/20160613-163520 base: git://git.infradead.org/linux-mtd.git master config: m32r-allmodconfig (attached as .config) compiler: m32r-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin

Re: linux-next: manual merge of the kvms390 tree with the s390 tree

2016-06-13 Thread Heiko Carstens
On Tue, Jun 14, 2016 at 02:51:17PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the kvms390 tree got a conflict in: > > arch/s390/hypfs/hypfs_diag.c > > between commit: > > 6c22c9863760 ("s390: avoid extable collisions") > > from the s390 tree and commit: > >

linux-next: manual merge of the kvms390 tree with the s390 tree

2016-06-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvms390 tree got a conflict in: arch/s390/hypfs/hypfs_diag.c between commit: 6c22c9863760 ("s390: avoid extable collisions") from the s390 tree and commit: e65f30e0cb29 ("s390: hypfs: Move diag implementation and data definitions") from the kvms3

Re: [PATCH v3 00/13] sunxi spi fixes

2016-06-13 Thread Michal Suchanek
Hello, On 13 June 2016 at 21:57, Maxime Ripard wrote: > On Mon, Jun 13, 2016 at 05:46:48PM -, Michal Suchanek wrote: >> Hello, >> >> This is update of the sunxi spi patches that should give full-featured SPI >> driver. >> >> First three patches fix issues with the current driver and can be of

Re: [PATCH 1/2] dmaengine: bcm2835: Fix cyclic DMA period splitting

2016-06-13 Thread Eric Anholt
Matthias Reichl writes: > The code responsible for splitting periods into chunks that > can be handled by the DMA controller missed to update total_len, > the number of bytes processed in the current period, when there > are more chunks to follow. > > Therefore total_len was stuck at 0 and the co

Re: [linux-sunxi] [PATCH v3 11/13] dt: spi: sun4i: merge sun4i and sun6i binding doc

2016-06-13 Thread Julian Calaby
Hi Michal, On Tue, Jun 14, 2016 at 2:40 PM, Michal Suchanek wrote: > On 14 June 2016 at 01:45, Julian Calaby wrote: >> Hi Michal, >> >> On Tue, Jun 14, 2016 at 3:46 AM, Michal Suchanek wrote: >>> Signed-off-by: Michal Suchanek >>> --- >>> .../devicetree/bindings/spi/spi-sun4i.txt | 2

Re: [linux-sunxi] [PATCH v3 10/13] spi: sunxi: merge sun4i and sun6i SPI driver

2016-06-13 Thread Julian Calaby
Hi Michal, On Tue, Jun 14, 2016 at 2:34 PM, Michal Suchanek wrote: > Hello, > > On 14 June 2016 at 01:43, Julian Calaby wrote: >> Hi Michal, >> >> On Tue, Jun 14, 2016 at 3:46 AM, Michal Suchanek wrote: >>> The drivers are very similar and share multiple flaws which needed >>> separate fixes fo

Re: [linux-sunxi] [PATCH v3 07/13] spi: sunxi: rename constants to match between sun4i and sun6i

2016-06-13 Thread Michal Suchanek
Hello, On 14 June 2016 at 01:31, Julian Calaby wrote: > Hi Michal, > > On Tue, Jun 14, 2016 at 3:46 AM, Michal Suchanek wrote: >> SUNXI_CTL_ -> SUNXI_TFR_CTL_ >> SUNXI_TFR_CTL_LMTF -> SUNXI_TFR_CTL_FBS > > I don't know these abbreviations, are they both referring to the same thing? > >> SUNXI_TF

Re: [linux-sunxi] [PATCH v3 11/13] dt: spi: sun4i: merge sun4i and sun6i binding doc

2016-06-13 Thread Michal Suchanek
On 14 June 2016 at 01:45, Julian Calaby wrote: > Hi Michal, > > On Tue, Jun 14, 2016 at 3:46 AM, Michal Suchanek wrote: >> Signed-off-by: Michal Suchanek >> --- >> .../devicetree/bindings/spi/spi-sun4i.txt | 21 ++- >> .../devicetree/bindings/spi/spi-sun6i.txt

Re: [linux-sunxi] [PATCH v3 10/13] spi: sunxi: merge sun4i and sun6i SPI driver

2016-06-13 Thread Michal Suchanek
Hello, On 14 June 2016 at 01:43, Julian Calaby wrote: > Hi Michal, > > On Tue, Jun 14, 2016 at 3:46 AM, Michal Suchanek wrote: >> The drivers are very similar and share multiple flaws which needed >> separate fixes for both drivers. >> >> Signed-off-by: Michal Suchanek >> --- >> drivers/spi/Kc

Re: [PATCH] crypto : async implementation for sha1-mb

2016-06-13 Thread Herbert Xu
On Mon, Jun 13, 2016 at 07:10:26PM +, Dey, Megha wrote: > > > In the current implementation, the inner algorithm is called directly, and > > we use the outer algorithm's callback. We do not use the callback in inner > > algorithm. We are actually calling the child functions directly and the

Re: linux-next: duplicate patches in the kspp and kbuild trees

2016-06-13 Thread Stephen Rothwell
Hi Kees, On Mon, 13 Jun 2016 16:57:15 -0700 Kees Cook wrote: > > On Mon, Jun 13, 2016 at 4:53 PM, Kees Cook wrote: > > > > Strange, I pulled these directly from linux-next. Michal had an > > auto-responder saying he was going to be out-of-office, so I wanted to > > make sure the !COMPILE_TEST fi

Re: Internal error xfs_trans_cancel

2016-06-13 Thread Josh Poimboeuf
On Wed, Jun 01, 2016 at 07:52:31AM +0200, Daniel Wagner wrote: > Hi, > > I got the error message below while compiling a kernel > on that system. I can't really say if I did something > which made the file system unhappy before the crash. > > > [Jun 1 07:41] XFS (sde1): Internal error xfs_trans

Re: [PATCH v2 0/4] clocksource: rockchip/timer: Support rktimer for rk3399

2016-06-13 Thread Huang, Tao
Hi Daniel: On 2016年06月13日 21:06, Daniel Lezcano wrote: > On Tue, Jun 07, 2016 at 12:54:29PM +0800, Caesar Wang wrote: >> This series patches had been tested on rockchip inside kernel. >> In order to support the rk3399 SoC timer and turn off interrupts and IPIs to >> save power in idle. > > For my

linux-next: manual merge of the md tree with the block tree

2016-06-13 Thread Stephen Rothwell
Hi Shaohua, Today's linux-next merge of the md tree got a conflict in: drivers/md/raid1.c between commit: 796a5cf083c2 ("md: use bio op accessors") from the block tree and commit: 707a6a420ccf ("md/raid1: add rcu protection to rdev in fix_read_error") from the md tree. I fixed it up (

linux-next: manual merge of the md tree with the block tree

2016-06-13 Thread Stephen Rothwell
Hi Shaohua, Today's linux-next merge of the md tree got a conflict in: drivers/md/raid10.c between commit: 796a5cf083c2 ("md: use bio op accessors") from the block tree and commits: f90145f317ef ("md/raid10: add rcu protection to rdev access in raid10_sync_request." d094d6860b66 ("md

Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399

2016-06-13 Thread Doug Anderson
Hi, On Mon, Jun 13, 2016 at 8:02 PM, Xing Zheng wrote: > Hi Doug, > > On 2016年06月14日 07:46, Doug Anderson wrote: >> >> >> Even if it's not much power, it seems like we should still turn it off >> and on in the right place. Unless I'm mistaken it should be such a >> simple patch provide the clock

Re: [PATCH 2/2] perf annotate: add powerpc support

2016-06-13 Thread Michael Ellerman
On Fri, 2016-06-10 at 20:08 +0530, Naveen N. Rao wrote: > On 2016/06/10 10:36AM, Arnaldo Carvalho de Melo wrote: > > Em Fri, Jun 10, 2016 at 06:32:51PM +0530, Naveen N. Rao escreveu: > > > Convert ins__find() to a __weak function for generic functionality, > > > while adding a powerpc-specific vari

Re: [PATCH 4/5] ipvs: Lock socket before setting SK_CAN_REUSE

2016-06-13 Thread Eric Dumazet
On Mon, 2016-06-13 at 20:12 -0700, Eric Dumazet wrote: > > Have you tested this patch ? Hmm, please ignore this question ;)

Re: [PATCH v2] iommu/amd: Set AMD iommu callbacks for platform bus driver

2016-06-13 Thread Wan ZongShun
2016-05-10 21:21 GMT+08:00 Wan Zongshun : > From: Wan Zongshun > > AMD has more drivers will use ACPI to platform bus driver later, > all those devices need iommu support, for example: eMMC driver. > > For latest AMD eMMC controller, it will utilize sdhci-acpi.c driver, > which will rely on platfo

Re: [PATCH 4/5] ipvs: Lock socket before setting SK_CAN_REUSE

2016-06-13 Thread Eric Dumazet
On Tue, 2016-06-14 at 02:43 +0100, Quentin Armitage wrote: > When other settings are changed in the socket it is locked, so > lock the socket before setting SK_CAN_REUSE. > > Signed-off-by: Quentin Armitage > --- > net/netfilter/ipvs/ip_vs_sync.c |2 ++ > 1 files changed, 2 insertions(+), 0

Re: [PATCH] iommu/arm-smmu: request pcie devices to enable ACS

2016-06-13 Thread Wei Chen
On 13 June 2016 at 20:45, Will Deacon wrote: > On Mon, Jun 13, 2016 at 05:20:17PM +0800, Wei Chen wrote: >> The PCIe ACS capability will affect the layout of iommu groups. >> Generally speaking, if the path from root port to the PCIe device >> is ACS enabled, the iommu will create a single iommu g

Re: [RFC PATCH] sys_read: add a compat_sys_read for 64bit system

2016-06-13 Thread Weidong Wang
On 2016/6/10 1:08, Andy Lutomirski wrote: > On Tue, Jun 7, 2016 at 7:14 PM, Zhangjian (Bamvor) > wrote: >> Hi, >> >> On 2016/6/8 9:33, Weidong Wang wrote: >>> >>> Test 32 progress and 64 progress on the 64bit system with >>> this progress: >>> >>> int main(int argc, char **argv) >>> { >>>

[PATCH 1/3] arm64: dts: uniphier: add SoC-Glue node to UniPhier 64bit SoCs

2016-06-13 Thread Masahiro Yamada
This node consists of various system-level configuration registers. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ph1-ld20.dtsi | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ph1-ld20.dtsi b/arch

Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399

2016-06-13 Thread Xing Zheng
Hi Doug, On 2016年06月14日 07:46, Doug Anderson wrote: Even if it's not much power, it seems like we should still turn it off and on in the right place. Unless I'm mistaken it should be such a simple patch provide the clock to the right driver and then get the clock when appropriate. Yes, I talke

[PATCH 3/3] arm64: dts: uniphier: add /memreserve/ for spin-table release address

2016-06-13 Thread Masahiro Yamada
As Documentation/arm64/booting.txt says, the cpu-release-addr location should be reserved. Signed-off-by: Masahiro Yamada Acked-by: Mark Rutland --- arch/arm64/boot/dts/socionext/uniphier-ph1-ld20.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier

[PATCH 0/3] arm64: dts: uniphier: UniPhier DTS updates (64bit) for v4.8-rc1

2016-06-13 Thread Masahiro Yamada
Masahiro Yamada (3): arm64: dts: uniphier: add SoC-Glue node to UniPhier 64bit SoCs arm64: dts: uniphier: change cpu-release-address arm64: dts: uniphier: add /memreserve/ for spin-table release address arch/arm64/boot/dts/socionext/uniphier-ph1-ld20.dtsi | 20 +--- 1 file

[PATCH 2/3] arm64: dts: uniphier: change cpu-release-address

2016-06-13 Thread Masahiro Yamada
At first, 256 byte of the head of DRAM space was reserved for some reasons. However, as the progress of development, it turned out unnecessary, and it was never used in the end. Move the CPU release address to leave no space. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/un

[PATCH 3/3] ARM: dts: uniphier: renumber serial aliases for Gentil/Vodka boards

2016-06-13 Thread Masahiro Yamada
On these two boards, the serial0 is used for inter-chip connection, so cannot be used for login console. The serial2 is used instead for them, but it is tedious to use because upper level deployment projects must switch login console per board. Signed-off-by: Masahiro Yamada --- arch/arm/boot/

[PATCH 0/3] ARM: dts: uniphier: UniPhier DTS updates (32bit) for v4.8-rc1

2016-06-13 Thread Masahiro Yamada
Masahiro Yamada (3): ARM: dts: uniphier: add System Bus pinmux node ARM: dts: uniphier: add SoC-Glue node to UniPhier 32bit SoCs ARM: dts: uniphier: renumber serial aliases for Gentil/Vodka boards arch/arm/boot/dts/uniphier-common32.dtsi | 12 +--- arch/arm/boot/dts/unip

[RFC RESEND] serial: 8250: fix regression in 8250 uart driver

2016-06-13 Thread Dinh Nguyen
Apologies, but my original email bounced for Andy and Heikki, resending. Hi Andy, I saw that you have discovered that commit ec5a11a91eec ("serial: 8250: Validate dmaengine rx chan meets requirements") introduced a regression in the 8250 uart driver. For SoCFPGA platform, I am seeing this er

[PATCH 1/3] ARM: dts: uniphier: add System Bus pinmux node

2016-06-13 Thread Masahiro Yamada
This pin-muxing is needed to get access to the UniPhier System Bus. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-common32.dtsi | 2 ++ arch/arm/boot/dts/uniphier-pinctrl.dtsi | 5 + 2 files changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/uniphier-common32.dtsi b/

[PATCH 2/3] ARM: dts: uniphier: add SoC-Glue node to UniPhier 32bit SoCs

2016-06-13 Thread Masahiro Yamada
This node consists of various system-level configuration registers. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-common32.dtsi| 10 +++--- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 2 +- arch/arm/boot/dts/uniphier-ph1-ld6b.dtsi| 2 +- arch/arm/boot/dts/uniphie

[PATCH 2/2] drm/mediatek: set mt8173 dithering function

2016-06-13 Thread Bibby Hsieh
Some panels only accept bpc (bit per color) 6-bit. But, the default bpc in mt8173 display data path is 8-bit. If we didn't enable dithering function to convert bpc, display cannot show the smooth grayscale image. In mt8173, the dithering function in OD (OverDrive) and GAMMA module, we have to conf

[PATCH 1/2] drm/mediatek: Add gamma correction

2016-06-13 Thread Bibby Hsieh
Apply gamma function to correct brightness values. It applies arbitrary mapping curve to compensate the incorrect transfer function of the panel. Signed-off-by: Bibby Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 12 ++ drivers/gpu/drm/mediatek/mtk_drm_crtc.h |1 + driver

linux-next: manual merge of the block tree with the btrfs tree

2016-06-13 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/extent_io.c between commit: f338d193e1c5 ("Btrfs: fix eb memory leak due to readpage failure") from the btrfs tree and commit: 1f7ad75b13b5 ("btrfs: have submit_one_bio users use bio op accessors") from the

linux-next: manual merge of the block tree with Linus' tree

2016-06-13 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: block/blk-lib.c between commit: 05bd92dddc59 ("block: missing bio_put following submit_bio_wait") from the FIXME tree and commit: 4e49ea4a3d27 ("block/fs/drivers: remove rw argument from submit_bio") from the block

Re: [PATCH 2/8] tty: serial: fsl_lpuart: support suspend/resume

2016-06-13 Thread Stefan Agner
On June 13, 2016 5:18:19 PM PDT, Bhhuvanchandra DV wrote: >Hi Shawn, > >On 06/11/2016 02:03 PM, Shawn Guo wrote: > >> On Thu, Jun 09, 2016 at 08:40:33PM +0530, Bhuvanchandra DV wrote: >>> From: Stefan Agner >>> >>> In order to allow wake support in STOP sleep mode, clocks are >>> needed. Use i

Re: [PATCH] arm64: dts: apm: Use lowercase consistently for hex constants

2016-06-13 Thread Duc Dang
On Wed, Jun 8, 2016 at 12:48 PM, Rob Herring wrote: > On Mon, Jun 06, 2016 at 03:17:56PM -0500, Bjorn Helgaas wrote: >> The convention in these files is to use lowercase for "0x" prefixes and for >> the hex constants themselves, but a few changes didn't follow that >> convention, which makes the f

[PATCH] ARM: socfpga: add PCIe to socfpga_defconfig

2016-06-13 Thread Ley Foon Tan
Enable Altera PCIe host driver, Altera MSI driver and PCIe devices. CONFIG_PCI=y CONFIG_PCI_MSI=y CONFIG_PCIE_ALTERA=y CONFIG_PCIE_ALTERA_MSI=y CONFIG_BLK_DEV_NVME=m CONFIG_E1000E=m CONFIG_IGB=m CONFIG_IXGBE=m Signed-off-by: Ley Foon Tan Signed-off-by: Tien Hock Loh Cc: Dinh Nguyen --- update

Re: [PATCH 06/14] x86/ptrace: run seccomp after ptrace

2016-06-13 Thread Andy Lutomirski
On Thu, Jun 9, 2016 at 3:52 PM, Andy Lutomirski wrote: > On Thu, Jun 9, 2016 at 2:01 PM, Kees Cook wrote: >> This moves seccomp after ptrace on x86 to that seccomp can catch changes >> made by ptrace. Emulation should skip the rest of processing too. >> >> We can get rid of test_thread_flag becau

Re: [PATCH v10 00/14] USB OTG/dual-role framework

2016-06-13 Thread Peter Chen
On Fri, Jun 10, 2016 at 04:07:09PM +0300, Roger Quadros wrote: > Hi, > > This series centralizes OTG/Dual-role functionality in the kernel. > As of now I've got Dual-role functionality working pretty reliably on > dra7-evm and am437x-gp-evm. > > DWC3 controller and TI platform related patches wil

[PATCH 01/10] regmap: Support bulk writes for devices without raw formatting

2016-06-13 Thread Chen-Yu Tsai
When doing a bulk writes from a device which lacks raw I/O support we fall back to doing register at a time reads but we still use the raw formatters in order to render the data into the word size used by the device (since bulk reads still operate on the device word size rather than unsigned ints).

[PATCH 04/10] rtc: ac100: Add RTC driver for X-Powers AC100

2016-06-13 Thread Chen-Yu Tsai
X-Powers AC100 is a codec / RTC combo chip. This driver supports the RTC sub-device. The RTC block also has clock outputs and non-volatile storage. Non-volatile storage wthin the RTC hardware is not supported. Clock output support is added in the next patch. Signed-off-by: Chen-Yu Tsai --- driv

[PATCH 03/10] mfd: Add driver for X-Powers AC100 audio codec / RTC combo IC

2016-06-13 Thread Chen-Yu Tsai
The AC100 is a multifunction device with an audio codec subsystem and an RTC subsystem. These two subsystems share a common register space and host interface. Signed-off-by: Chen-Yu Tsai --- drivers/mfd/Kconfig | 10 drivers/mfd/Makefile | 2 + drivers/mfd/ac100.c | 116

[PATCH 03/10] mfd: ac100: Add driver for X-Powers AC100 audio codec / RTC combo IC

2016-06-13 Thread Chen-Yu Tsai
The AC100 is a multifunction device with an audio codec subsystem and an RTC subsystem. These two subsystems share a common register space and host interface. Signed-off-by: Chen-Yu Tsai --- drivers/mfd/Kconfig | 10 +++ drivers/mfd/Makefile | 2 + drivers/mfd/ac100.c | 135 +

  1   2   3   4   5   6   7   8   9   10   >