[lkp-robot] [mm, memcg] b4536f0c82: kobject(#):tried_to_init_an_initialized_object,something_is_seriously_wrong

2017-06-12 Thread kernel test robot
FYI, we noticed the following commit: commit: b4536f0c829c8586544c94735c343f9b5070bd01 ("mm, memcg: fix the active list aging for lowmem requests when memcg is enabled") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: boot on test machine: qemu-system-x86_64

Re: [PATCH] usb: host: ehci: workaround PME bug on AMD EHCI controller

2017-06-12 Thread Kai-Heng Feng
On Fri, Jun 9, 2017 at 10:43 PM, Alan Stern wrote: > On Fri, 9 Jun 2017, Kai-Heng Feng wrote: > >> As Alan Stern points out [1], the PME signal is not enabled when >> controller is in D3, therefore it's not being woken up when new deivces >> get plugged in. >> >> Workaround this bug by preventing

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-06-12 Thread Greg Kroah-Hartman
On Sun, Jun 11, 2017 at 09:33:13PM -0300, Fabio Estevam wrote: > Hi Greg, > > On Sat, Jun 3, 2017 at 6:30 AM, Greg Kroah-Hartman > wrote: > > On Tue, May 30, 2017 at 03:44:27PM +0200, Peter Senna Tschudin wrote: > >> On Tue, May 30, 2017 at 02:42:13PM +0100, Alan Cox wrote: > >> > >> I sent a sec

Re: [PATCH 11/16] powerpc: vio_cmo: use dev_groups and not dev_attrs for bus_type

2017-06-12 Thread Greg Kroah-Hartman
On Fri, Jun 09, 2017 at 09:23:10PM +1000, Michael Ellerman wrote: > Greg Kroah-Hartman writes: > > > On Fri, Jun 09, 2017 at 08:53:22AM +1000, Michael Ellerman wrote: > >> Greg Kroah-Hartman writes: > >> > >> > On Thu, Jun 08, 2017 at 11:12:10PM +1000, Michael Ellerman wrote: > >> >> Greg Kroah

Re: [PATCH] clocksource: fix read and iounmap of incorrect variable

2017-06-12 Thread Daniel Lezcano
On 10/06/2017 11:49, Marc Zyngier wrote: > On Fri, Jun 09 2017 at 5:26:32 pm BST, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> Fix boot warning 'Trying to vfree() nonexistent vm area' >> from arch_timer_mem_of_init(). >> >> Refactored code attempts to read and iounmap using address f

Re: [PATCH 1/2] spi: rockchip: add support for "cs-gpios" dts property

2017-06-12 Thread Shawn Lin
Hi Jeffy, On 2017/6/12 14:14, Jeffy Chen wrote: Support using "cs-gpios" property to specify cs gpios. Signed-off-by: Jeffy Chen --- .../devicetree/bindings/spi/spi-rockchip.txt | 2 + drivers/spi/spi-rockchip.c | 52 ++ 2 files changed,

[PATCH] drm/mediatek: fixup error memory reallocation

2017-06-12 Thread YT Shen
Previous patch (c5f228ef6c drm/mediatek: add *driver_data for different hardware settings) calls devm_kfree() and then devm_kzalloc() to reallocate color module data structure. But this reallocation cannnot guarantee the new address is unchanged, but the caller will use the old address, which is w

Re: [PATCHv2 1/2] gpio: mvebu: fix blink counter register selection

2017-06-12 Thread Ralph Sennhauser
Hi Linus, On Sun, 11 Jun 2017 23:48:34 +0200 Linus Walleij wrote: > On Fri, Jun 9, 2017 at 10:03 AM, Ralph Sennhauser > wrote: > > On Fri, 9 Jun 2017 09:37:55 +0200 > > Linus Walleij wrote: > > > >> On Thu, Jun 1, 2017 at 2:18 PM, Richard Genoud > >> wrote: > >> > >> > The blink counter A

Re: [PATCH] x86, mm: disable 1GB direct mapping when disabling 2MB mapping

2017-06-12 Thread Vlastimil Babka
On 06/11/2017 09:57 AM, Ingo Molnar wrote: > So I agree with the fix, but I think it would be much cleaner to eliminate > the > outer #ifdef: > > #if !defined(CONFIG_KMEMCHECK) > > and put it into the condition, like this: > > if (boot_cpu_has(X86_FEATURE_PSE) && !debug_pagealloc_e

Re: [BUG][next-20170606][bisected 411fe24e6b] WARNING: CPU: 10 PID: 0 at kernel/time/tick-sched.c:791

2017-06-12 Thread Abdul Haleem
On Fri, 2017-06-09 at 15:09 +0200, Frederic Weisbecker wrote: > On Wed, Jun 07, 2017 at 12:56:53PM +0530, Abdul Haleem wrote: > > Hi, > > > > Test: Trinity (https://github.com/kernelslacker/trinity) > > Machine : Power 8 PowerVM LPAR > > Kernel : 4.12.0-rc4-next-20170606 > > gcc : version 5.2.1 >

[PATCH RFC] arm64: allwinner: a64: Add A64-OLinuXino initial support

2017-06-12 Thread Jagan Teki
From: Jagan Teki OLimex A64-OLinuXino is an open-source hardware board using the Allwinner A64 SOC. A64 Orangepi Win/WinPlus has - A64 Quad-core Cortex-A53 64bit - 1GB or 2GB RAM DDR3L @ 672Mhz - microSD slot and 16GB eMMC - Debug TTL UART - HDMI - LCD - IR receiver - 5V DC power supply Signed-

Re: [PATCH 1/3] ARM: dts: omap4: add missing des_fck

2017-06-12 Thread Tony Lindgren
* Sebastian Reichel [170609 16:16]: > Add missing functional clock for DES3DES IP core. This is > documented in the TRM as CM_L4SEC_DES3DES_CLKCTRL. Tero care to ack? Also, see the other two hwmod patches in this series for your clkctrl changes. Regards, Tony > Signed-off-by: Sebastian Reichel

Re: [PATCH v4 6/7] ARM: dts: meson8: switch to new bindings for UART nodes

2017-06-12 Thread Neil Armstrong
On 06/11/2017 10:18 PM, Martin Blumenstingl wrote: > On Sat, Jun 10, 2017 at 12:37 AM, Martin Blumenstingl > wrote: >> Hi Neil, >> >> On Fri, Jun 9, 2017 at 11:49 AM, Neil Armstrong >> wrote: >>> Switch to the stable UART bindings by adding a XTAL node and using the >>> proper compatible strings

Re: [PATCH] ARM: dts: omap4-droid4: Fix WLAN compatible

2017-06-12 Thread Tony Lindgren
* Sebastian Reichel [170608 14:19]: > Motorola Droid 4 uses a WL1285C, so use proper compatible value. > To avoid regressions while support for the new compatible value > is added to the Linux kernel, the old compatible value is preserved > as fallback. > > Signed-off-by: Sebastian Reichel > ---

Re: [PATCH 2/2] drivers/clocksource/fttmr010: Implement delay timer

2017-06-12 Thread Daniel Lezcano
On Sun, Jun 11, 2017 at 11:26:17PM +0200, Linus Walleij wrote: > This timer is often used on the ARM architecture, so as with so > many siblings, we can implement delay timers, removing the need > for the system to calibrate jiffys at boot, and potentially > handling CPU frequency scaling on target

Re: [PATCH 0/6] Constant Time Memory Comparisons Are Important

2017-06-12 Thread Arend van Spriel
On 6/11/2017 11:30 PM, Emil Lenngren wrote: 2017-06-11 22:48 GMT+02:00 Emmanuel Grumbach : On Sun, Jun 11, 2017 at 4:36 PM, Kees Cook wrote: On Sun, Jun 11, 2017 at 1:13 AM, Kalle Valo wrote: "Jason A. Donenfeld" writes: Whenever you're comparing two MACs, it's important to do this using

Re: [RFC PATCH 2/2] mm, oom: do not trigger out_of_memory from the#PF

2017-06-12 Thread Michal Hocko
On Sat 10-06-17 20:57:46, Tetsuo Handa wrote: > Michal Hocko wrote: > > And just to clarify a bit. The OOM killer should be invoked whenever > > appropriate from the allocation context. If we decide to fail the > > allocation in the PF path then we can safely roll back and retry the > > whole PF. T

Re: [PATCH] ARM: OMAP: PM: stop early on systems without twl

2017-06-12 Thread Tony Lindgren
* Sebastian Reichel [170609 15:36]: > Motorola Droid 4 has an OMAP4, but no TWL6030. It currently > complains verbosely about this during boot: > > twl: not initialized > twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 > twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel

Re: [PATCH] m68k: remove ptrace_signal_deliver

2017-06-12 Thread Geert Uytterhoeven
Hi Roland, Oleg, Al, If you don't mind, I plan to queue this up in the m68k tree for v4.13. There are no conflicts with current linux-next. If you prefer to take this through a signal tree with my Acked-by: Geert Uytterhoeven please let me know. Thanks! On Wed, Jun 7, 2017 at 12:11 AM, Andreas

Re: [lkp-robot] [mm, memcg] b4536f0c82: kobject(#):tried_to_init_an_initialized_object,something_is_seriously_wrong

2017-06-12 Thread Michal Hocko
On Mon 12-06-17 14:59:45, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: b4536f0c829c8586544c94735c343f9b5070bd01 ("mm, memcg: fix the active > list aging for lowmem requests when memcg is enabled") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git

[PATCH v3] mmc: dw_mmc-k3: add sd support for hi3660

2017-06-12 Thread liwei
Add sd card support for hi3660 soc Major changes in v3: - solve review comments from Heiner Kallweit. *use the GENMASK and FIELD_PREP macros replace the bit shift operation. *use usleep_range() replace udelay() and mdelay(). Signed-off-by: Li Wei Signed-off-by: Chen Jun --- drivers/mmc/

答复: [PATCH] mmc:dw_mmc-k3: add sd support for hi3660

2017-06-12 Thread liwei (CM)
Hi, Heiner Sorry late for reply you, thank you very much for your advice. My changes are as follows and I will send the PATCH-V3 later. -邮件原件- 发件人: Heiner Kallweit [mailto:hkallwe...@gmail.com] 发送时间: 2017年5月17日 5:52 收件人: liwei (CM); ulf.hans...@linaro.org; adrian.hun...@intel.com; jh8

Re: [PATCH v4] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-12 Thread Jarkko Sakkinen
On Sat, Jun 10, 2017 at 04:35:50PM +, Shaikh, Azhar wrote: > > > > -Original Message- > > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > > Sent: Saturday, June 10, 2017 4:14 AM > > To: Shaikh, Azhar > > Cc: jguntho...@obsidianresearch.com; tpmdd-de...@lists.sourcefo

Re: [PATCH v1] zram: Use __sysfs_match_string() helper

2017-06-12 Thread Minchan Kim
On Mon, Jun 12, 2017 at 10:52:45AM +0900, Sergey Senozhatsky wrote: > (Cc Andrew) > > Link: > lkml.kernel.org/r/20170609120835.22156-1-andriy.shevche...@linux.intel.com > > > On (06/09/17 15:08), Andy Shevchenko wrote: > > Use __sysfs_match_string() helper instead of open coded variant. > > >

Re: [PATCH] ARM: dts: omap3-overo: Remove "vqmmc-supply" property from MMC dt node

2017-06-12 Thread Ulf Hansson
On 9 June 2017 at 10:41, Kishon Vijay Abraham I wrote: > commit 94647a30124e2c7 ("ARM: dts: omap3-overo: Enable WiFi/BT combo") > while enabling WiFi/BT combo added regulator to trigger the nReset > signal of the Bluetooth module in vqmmc-supply. However BT should be > handled by UART. Moreover "v

Re: [PATCH 0/3] omap_hsmmc: use mmc_regulator_get_supply() to get regulators

2017-06-12 Thread Ulf Hansson
On 9 June 2017 at 09:51, Kishon Vijay Abraham I wrote: > Hi Uffe, > > On Thursday 08 June 2017 12:45 PM, Ulf Hansson wrote: >> On 7 June 2017 at 10:36, Kishon Vijay Abraham I wrote: >>> This series deprecates "vmmc_aux" supply property and uses the generic >>> "vqmmc" property. >>> >>> Not sure h

Re: [PATCH 3/4] watchdog: Split up config options

2017-06-12 Thread Nicholas Piggin
On Thu, 8 Jun 2017 12:05:02 -0400 Don Zickus wrote: > On Wed, Jun 07, 2017 at 01:50:26PM +1000, Nicholas Piggin wrote: > > > > > > I _think_ having > > > > > > depends on LOCKUP_DETECTOR > > > depends on HAVE_NMI_WATCHDOG || HAVE_PERF_EVENTS_NMI > > > select HARDLOCKUP_DETECTOR_PERF if !HAVE_NM

Re: [PATCH] phy: cpcap-usb: add MUSB dependency

2017-06-12 Thread Tony Lindgren
* Kishon Vijay Abraham I [170609 05:04]: > > > On Friday 09 June 2017 05:17 PM, Sebastian Reichel wrote: > > Hi, > > > > On Fri, Jun 09, 2017 at 12:16:40PM +0200, Arnd Bergmann wrote: > >> When MUSB is a loadable module, we get a link error for a built-in > >> CPCAP driver: > >> > >> drivers/ph

Re: [RFC PATCH] fs: ext4: don't trap kswapd and allocating tasks on ext4 inode IO

2017-06-12 Thread Jan Kara
On Tue 16-05-17 18:03:37, Jan Kara wrote: > On Tue 16-05-17 11:41:05, Johannes Weiner wrote: > > On Tue, May 16, 2017 at 04:36:45PM +0200, Jan Kara wrote: > > > On Mon 15-05-17 11:46:34, Johannes Weiner wrote: > > > > We have observed across several workloads situations where kswapd and > > > > dir

Re: Fwd: [PATCH v7 2/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #74

2017-06-12 Thread Jayachandran C
On Fri, Jun 09, 2017 at 04:43:07PM +0100, Robin Murphy wrote: > On 09/06/17 12:38, Jayachandran C wrote: > > On Fri, Jun 09, 2017 Robin Murphy wrote: > >> > >> On 30/05/17 13:03, Geetha sowjanya wrote: > >>> From: Linu Cherian > >>> > >>> Cavium ThunderX2 SMMU implementation doesn't support page 1

Re: [next-20170609][bisected 4d72ba0] WARNING: CPU: 8 PID: 11043 at lib/vsprintf.c:1945 set_precision

2017-06-12 Thread Joe Perches
On Mon, 2017-06-12 at 13:23 +0530, Abdul Haleem wrote: > Hi Rasmus, > > With commit (4d72ba0-lib/vsprintf.c: warn about too large precisions..) > > WARN_ONCE is being triggered while running trinity > $ git clone https://github.com/kernelslacker/trinity.git > $ cd trinity;./configure;make > $ .

[PATCH] phy: cpcap-usb: Fix missing return statement

2017-06-12 Thread Tony Lindgren
Commit 8ae904e3c236 ("phy: cpcap-usb: Add CPCAP PMIC USB support") is missing return statement as noted by Colin Ian King . If the optional pins are not configured, we just want to return early and not attempt to configure the pins. Fixes: 8ae904e3c236 ("phy: cpcap-usb: Add CPCAP PMIC USB support"

Re: WARNING in dev_watchdog

2017-06-12 Thread Dison River
Sorry,this WARNING is not reproducible.And I don't have PoC for this bug. 2017-06-12 14:42 GMT+08:00 Greg KH : > On Mon, Jun 12, 2017 at 02:37:22PM +0800, Dison River wrote: >> Hi: >> I've got the following error report while fuzzing the kernel with >> syzkaller on linux-4.11.0-rc3. >> >> log:

Re: [PATCH 1/3] ARM: dts: omap4: add missing des_fck

2017-06-12 Thread Tero Kristo
On 10/06/17 02:12, Sebastian Reichel wrote: Add missing functional clock for DES3DES IP core. This is documented in the TRM as CM_L4SEC_DES3DES_CLKCTRL. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap44xx-clocks.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arc

Re: 4.12 REGRESSION, 4.12 does not boot as VirtualBox guest

2017-06-12 Thread Thomas Gleixner
On Sat, 10 Jun 2017, Linus Torvalds wrote: > On Fri, Jun 9, 2017 at 3:33 AM, Hans de Goede wrote: > > > > Sorry for escalating this right up to you, but this issue > > does not seem to be getting any attention and I'm not sure > > which subsys maintainer to poke about this. > > Looks like x86. A

Re: [PATCH] mfd: cros_ec: Add missing free_irq in cros_ec_remove

2017-06-12 Thread Lee Jones
mfd: cros_ec: Add missing free_irq in cros_ec_remove It would be better to use more English and less code in the patch's subject line. Something like "Clean-up IRQ on unbind" Or "Free IRQ on exit". Something of that nature. Also, you should populate the commit log with what are you doing and wh

Re: [PATCH 1/2] spi: rockchip: add support for "cs-gpios" dts property

2017-06-12 Thread Geert Uytterhoeven
On Mon, Jun 12, 2017 at 9:15 AM, Shawn Lin wrote: > On 2017/6/12 14:14, Jeffy Chen wrote: >> >> Support using "cs-gpios" property to specify cs gpios. >> >> Signed-off-by: Jeffy Chen >> index 83da493..02171b2 100644 >> --- a/Documentation/devicetree/bindings/spi/spi-rockchip.txt >> +++ b/Documen

Re: [PATCH 3/3] ARM: OMAP4: hwmod data: add des

2017-06-12 Thread Tero Kristo
On 10/06/17 02:12, Sebastian Reichel wrote: This fixes the following error during kernel boot: platform 480a5000.des: Cannot lookup hwmod 'des' Unfortunately the DES module is only documented partly in the OMAP4430 TRM. I found an old patch from Joel, which I took over and updated for currently

Re: [PATCH v1 1/3] mfd: Add new mfd device TPS68470

2017-06-12 Thread Lee Jones
On Fri, 09 Jun 2017, Mani, Rajmohan wrote: > Hi Andy, > > > On Tue, Jun 06, 2017 at 03:59:49PM +0300, Andy Shevchenko wrote: > > > On Tue, Jun 6, 2017 at 2:55 PM, Rajmohan Mani > > wrote: > > > > The TPS68470 device is an advanced power management unit that powers > > > > a Compact Camera Module

[PATCH net-next 1/2] r8152: split rtl8152_resume function

2017-06-12 Thread Hayes Wang
Split rtl8152_resume() into rtl8152_runtime_resume() and rtl8152_system_resume(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 99 ++--- 1 file changed, 61 insertions(+), 38 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/us

[PATCH net-next 2/2] r8152: move calling delay_autosuspend function

2017-06-12 Thread Hayes Wang
Move calling delay_autosuspend() in rtl8152_runtime_suspend(). Calling delay_autosuspend() as late as possible. The original flows are 1. check if the driver/device is busy now. 2. set wake events. 3. enter runtime suspend. If the wake event occurs between (1) and (2), the device may mis

[PATCH net-next 0/2] r8152: adjust runtime suspend/resume

2017-06-12 Thread Hayes Wang
Improve the flow about runtime suspend/resume and make the code easy to read. Hayes Wang (2): r8152: split rtl8152_resume function r8152: move calling delay_autosuspend function drivers/net/usb/r8152.c | 107 1 file changed, 62 insertions(+),

[PATCH] scripts/mkcompile_h: Remove trailing spaces from compiler version

2017-06-12 Thread Jonathan Liu
Improves the output of "cat /proc/version" by getting rid of the trailing space at the end of the compiler version when the kernel is compiled using GCC. Signed-off-by: Jonathan Liu --- scripts/mkcompile_h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mkcompile_h b/

Re: [PATCH v2] KVM: ARM64: fix phy counter access failure in guest.

2017-06-12 Thread Christoffer Dall
Hi, On Mon, Jun 12, 2017 at 10:37:48PM +0800, Hu Huajun wrote: > When reading the cntpct_el0 in guest with VHE (Virtual Host Extension) > enabled in host, the "Unsupported guest sys_reg access" error reported. > The reason is cnthctl_el2.EL1PCTEN is not enabled, which is expected > to be done in k

Re: [lkp-robot] [mm, memcg] b4536f0c82: kobject(#):tried_to_init_an_initialized_object,something_is_seriously_wrong

2017-06-12 Thread Ye Xiaolong
On 06/12, Michal Hocko wrote: >On Mon 12-06-17 14:59:45, kernel test robot wrote: >> >> FYI, we noticed the following commit: >> >> commit: b4536f0c829c8586544c94735c343f9b5070bd01 ("mm, memcg: fix the active >> list aging for lowmem requests when memcg is enabled") >> https://git.kernel.org/cgi

Re: [PATCH 2/3] ARM: OMAP4: hwmod data: add aes

2017-06-12 Thread Tero Kristo
On 10/06/17 02:12, Sebastian Reichel wrote: This fixes the following error during kernel boot: platform 4b501000.aes: Cannot lookup hwmod 'aes' Unfortunately the AES module is only documented partly in the OMAP4430 TRM. I found an old patch from Joel, which I took over and updated for currently

[PATCH] video: fbdev: sh_mobile_lcdcfb: constify sh_mobile_lcdc_bl_ops.

2017-06-12 Thread Arvind Yadav
File size before: textdata bssdec hex filename 17525 952 0 18477 482d drivers/video/fbdev/sh_mobile_lcdcfb.o File size After adding 'const': textdata bss dec hex filename 17557 920 0 18477482d drivers/video/fbdev/sh_mobile_lcdcfb.o Sig

Re: [PATCH v2 1/2] dt-bindings: Add bindings for nvidia,tegra186-ccplex-cluster

2017-06-12 Thread Mikko Perttunen
On 09.06.2017 23:54, Rob Herring wrote: On Thu, Jun 8, 2017 at 2:32 AM, Mikko Perttunen wrote: On 08.06.2017 01:11, Rob Herring wrote: On Thu, Jun 01, 2017 at 11:04:04AM +0300, Mikko Perttunen wrote: The Tegra186 CCPLEX_CLUSTER area contains memory-mapped registers that initiate CPU frequen

Re: [PATCH 1/2] spi: rockchip: add support for "cs-gpios" dts property

2017-06-12 Thread jeffy
Hi Shawn, On 06/12/2017 03:15 PM, Shawn Lin wrote: Hi Jeffy, On 2017/6/12 14:14, Jeffy Chen wrote: Support using "cs-gpios" property to specify cs gpios. Signed-off-by: Jeffy Chen --- .../devicetree/bindings/spi/spi-rockchip.txt | 2 + drivers/spi/spi-rockchip.c

Re: [PATCH v5 03/23] scsi: hisi_sas: optimise the usage of hisi_hba.lock

2017-06-12 Thread John Garry
On 10/06/2017 21:44, kbuild test robot wrote: Hi Xiang, [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on v4.12-rc4 next-20170609] [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/lin

Re: [PATCH] pci: endpoint: fix endpoint test build error

2017-06-12 Thread Kishon Vijay Abraham I
On Monday 12 June 2017 07:40 AM, Randy Dunlap wrote: > From: Randy Dunlap > > PCI endpoint test driver uses crc32_le() so it should select > CRC32. Fixes this build error (when CRC32=m): > > drivers/built-in.o: In function `pci_epf_test_cmd_handler': > pci-epf-test.c:(.text+0x2d98d): undef

Re: [PATCH 27/44] sparc: remove leon_dma_ops

2017-06-12 Thread Andreas Larsson
On 2017-06-08 15:25, Christoph Hellwig wrote: We can just use pci32_dma_ops. Btw, given that leon is 32-bit and appears to be PCI based, do even need the special case for it in get_arch_dma_ops at all? Hi! Yes, it is needed. LEON systems are AMBA bus based. The common case here is DMA over A

Re: [PATCH 1/2] spi: rockchip: add support for "cs-gpios" dts property

2017-06-12 Thread jeffy
Hi Shawn, On 06/12/2017 04:26 PM, jeffy wrote: Hi Shawn, On 06/12/2017 03:15 PM, Shawn Lin wrote: Hi Jeffy, On 2017/6/12 14:14, Jeffy Chen wrote: Support using "cs-gpios" property to specify cs gpios. Signed-off-by: Jeffy Chen --- .../devicetree/bindings/spi/spi-rockchip.txt | 2

Re: [PATCH 1/2] spi: rockchip: add support for "cs-gpios" dts property

2017-06-12 Thread Heiko Stübner
Am Montag, 12. Juni 2017, 16:26:07 CEST schrieb jeffy: > Hi Shawn, > > On 06/12/2017 03:15 PM, Shawn Lin wrote: > > Hi Jeffy, > > > > On 2017/6/12 14:14, Jeffy Chen wrote: > >> Support using "cs-gpios" property to specify cs gpios. > >> > >> Signed-off-by: Jeffy Chen > >> --- > >> > >> .../d

Re: [PATCH v2] arm64: allwinner: h5: Add initial Orangepi Zero Plus 2 support

2017-06-12 Thread Maxime Ripard
On Sat, Jun 10, 2017 at 06:27:54PM +0530, Jagan Teki wrote: > From: Jagan Teki > > Orangepi Zero Plus 2 is an open-source single-board computer > using the Allwinner h5 SOC. > > H5 Orangepi Zero Plus 2 has > - Quad-core Cortex-A53 > - 512MB DDR3 > - micrSD slot and 8GB eMMC > - Debug TTL UART >

Re: [PATCH v2] arm64: allwinner: a64: Add initial Orangepi Win/WinPlus support

2017-06-12 Thread Maxime Ripard
On Sun, Jun 11, 2017 at 02:46:05PM +0530, Jagan Teki wrote: > From: Jagan Teki > > Orangepi Win/WinPlus is an open-source single-board computer > using the Allwinner A64 SOC. > > A64 Orangepi Win/WinPlus has > - A64 Quad-core Cortex-A53 64bit > - 1GB(Win)/2GB(Win Plus) DDR3 SDRAM > - Debug TTL U

Re: [posix] 91d57bae08: WARNING:at_kernel/time/hrtimer.c:#hrtimer_forward

2017-06-12 Thread Thomas Gleixner
On Fri, 9 Jun 2017, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: 91d57bae08689199c8acc77a8b3b41150cafab1c ("posix-timers: Make use of > forward/remaining callbacks") > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master > > in testcase: syzk

[PATCH v2] mfd: cros_ec: Free IRQ on exit

2017-06-12 Thread Jeffy Chen
Currently we request the irq when probing, but never free it. So after unbind ec driver, this irq will be left requested, which would break the next bind: [ 2683.338437] genirq: Flags mismatch irq 64. 2008 (chromeos-ec) vs. 2008 (chromeos-ec) [ 2683.338591] cros-ec-spi spi5.0: request irq

Re: [PATCH v4 1/3] Bluetooth: bnep: fix possible might sleep error in bnep_session

2017-06-12 Thread AL Yu-Chen Cho
On Tue, 2017-02-14 at 08:55 +0800, Jeffy Chen wrote: > It looks like bnep_session has same pattern as the issue reported in > old rfcomm: > > while (1) { > set_current_state(TASK_INTERRUPTIBLE); > if (condition) > break; > // ma

Re: [PATCH v4 2/3] Bluetooth: cmtp: fix possible might sleep error in cmtp_session

2017-06-12 Thread AL Yu-Chen Cho
On Tue, 2017-02-14 at 08:55 +0800, Jeffy Chen wrote: > It looks like cmtp_session has same pattern as the issue reported in > old rfcomm: > > while (1) { > set_current_state(TASK_INTERRUPTIBLE); > if (condition) > break; > // ma

Re: [PATCH v4 3/3] Bluetooth: hidp: fix possible might sleep error in hidp_session_thread

2017-06-12 Thread AL Yu-Chen Cho
On Tue, 2017-02-14 at 08:55 +0800, Jeffy Chen wrote: > It looks like hidp_session_thread has same pattern as the issue > reported in > old rfcomm: > > while (1) { > set_current_state(TASK_INTERRUPTIBLE); > if (condition) > break; >

Re: [PATCH] mfd: cros_ec: Add missing free_irq in cros_ec_remove

2017-06-12 Thread jeffy
Hi Lee, On 06/12/2017 04:17 PM, Lee Jones wrote: mfd: cros_ec: Add missing free_irq in cros_ec_remove It would be better to use more English and less code in the patch's subject line. Something like "Clean-up IRQ on unbind" Or "Free IRQ on exit". Something of that nature. Also, you should po

Re: [PATCH 1/2] spi: rockchip: add support for "cs-gpios" dts property

2017-06-12 Thread jeffy
Hi Geert, On 06/12/2017 04:18 PM, Geert Uytterhoeven wrote: On Mon, Jun 12, 2017 at 9:15 AM, Shawn Lin wrote: On 2017/6/12 14:14, Jeffy Chen wrote: Support using "cs-gpios" property to specify cs gpios. Signed-off-by: Jeffy Chen index 83da493..02171b2 100644 --- a/Documentation/devicetr

Re: [PATCH v2] arm64: allwinner: h5: Add initial Orangepi Zero Plus 2 support

2017-06-12 Thread Jagan Teki
On Mon, Jun 12, 2017 at 2:08 PM, Maxime Ripard wrote: > On Sat, Jun 10, 2017 at 06:27:54PM +0530, Jagan Teki wrote: >> From: Jagan Teki >> >> Orangepi Zero Plus 2 is an open-source single-board computer >> using the Allwinner h5 SOC. >> >> H5 Orangepi Zero Plus 2 has >> - Quad-core Cortex-A53 >>

[PATCH v1] MAINTAINERS: Take maintainership for GPIO ACPI support

2017-06-12 Thread Andy Shevchenko
We will help Linus to maintain GPIO ACPI support. Append a dedicated record to the MAINTAINERS data base. Signed-off-by: Andy Shevchenko --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0037e75bc3f8..10958f0a 100644 --- a/MAINTAINE

Re: [PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes

2017-06-12 Thread Vlastimil Babka
On 06/08/2017 02:23 PM, Michal Hocko wrote: > From: Michal Hocko > > movable_node kernel parameter allows to make hotplugable NUMA > nodes to put all the hotplugable memory into movable zone which > allows more or less reliable memory hotremove. At least this > is the case for the NUMA nodes pre

Re: [posix] 91d57bae08: WARNING:at_kernel/time/hrtimer.c:#hrtimer_forward

2017-06-12 Thread Ye Xiaolong
On 06/12, Thomas Gleixner wrote: >On Fri, 9 Jun 2017, kernel test robot wrote: >> >> FYI, we noticed the following commit: >> >> commit: 91d57bae08689199c8acc77a8b3b41150cafab1c ("posix-timers: Make use of >> forward/remaining callbacks") >> https://git.kernel.org/cgit/linux/kernel/git/next/linu

Re: [PATCH v1] MAINTAINERS: Take maintainership for GPIO ACPI support

2017-06-12 Thread Mika Westerberg
On Mon, Jun 12, 2017 at 11:52:12AM +0300, Andy Shevchenko wrote: > We will help Linus to maintain GPIO ACPI support. > > Append a dedicated record to the MAINTAINERS data base. > > Signed-off-by: Andy Shevchenko Acked-by: Mika Westerberg

Re: [PATCH] drm/mediatek: check for memory allocation failure

2017-06-12 Thread Matthias Brugger
On 09/06/17 21:27, Christophe JAILLET wrote: If 'devm_kmalloc_array' returns NULL, we should return -ENOMEM as already done a few lines above instead of deferencing a NULL pointer a few lines below. Signed-off-by: Christophe JAILLET --- Reviewed-by: Matthias Brugger drivers/gpu/drm/med

Re: [RFC PATCH 4/4] hugetlb: add support for preferred node to alloc_huge_page_nodemask

2017-06-12 Thread Michal Hocko
On Thu 08-06-17 10:38:06, Vlastimil Babka wrote: > On 06/08/2017 09:45 AM, Michal Hocko wrote: > > From: Michal Hocko > > > > alloc_huge_page_nodemask tries to allocate from any numa node in the > > allowed node mask. This might lead to filling up low NUMA nodes while > > others are not used. We

Re: [PATCH v2] KVM: ARM64: fix phy counter access failure in guest.

2017-06-12 Thread Marc Zyngier
Nit: Please fix the time on your machine. It ended up in my Spam folder because it comes from the future... On 12/06/17 15:37, Hu Huajun wrote: > When reading the cntpct_el0 in guest with VHE (Virtual Host Extension) > enabled in host, the "Unsupported guest sys_reg access" error reported. > The r

Re: [PATCH 0/4] arm64: renesas: Add support for Salvator-XS

2017-06-12 Thread Simon Horman
On Fri, Jun 09, 2017 at 01:43:45PM +0200, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > The Renesas Salvator-XS (Salvator-X 2nd version) development board can > be equipped with either an R-Car H3 ES2.0 or M3-W ES1.x SiP, which are > pin-compatible. > > This patch series adds initial su

Re: [PATCH v4] mfd: lp87565: Add lp87565 PMIC support

2017-06-12 Thread Lee Jones
On Sun, 11 Jun 2017, Keerthy wrote: > > > On Sunday 11 June 2017 10:36 AM, Keerthy wrote: > > > > > > On Friday 09 June 2017 07:58 PM, Rob Herring wrote: > >> On Thu, Jun 08, 2017 at 09:38:14AM +0530, Keerthy wrote: > >>> The LP87565 chip is a power management IC for Portable Navigation System

Re: [PATCH] i2c: ismt: fix wrong device address when unmap the data buffer

2017-06-12 Thread Andy Shevchenko
On Mon, Jun 12, 2017 at 6:42 AM, Song liwei wrote: > From: Liwei Song > > Fix the following calltrace: No, you don't fix a call trace, you are fixing a bug. > This happen When run "i2cdetect -y 0" detect SMBus iSMT adapter. > > After finished I2C block read/write, when unmap the data buffer, >

RE: [PATCH v2 1/3] mfd: Add new mfd device TPS68470

2017-06-12 Thread Mani, Rajmohan
Hi Andy, Thanks for the reviews. > Subject: Re: [PATCH v2 1/3] mfd: Add new mfd device TPS68470 > > On Sun, Jun 11, 2017 at 9:09 AM, Rajmohan Mani > wrote: > > The TPS68470 device is an advanced power management unit that powers a > > Compact Camera Module (CCM), generates clocks for image sens

Re: [PATCH 1/2] spi: rockchip: add support for "cs-gpios" dts property

2017-06-12 Thread jeffy
Hi Heiko, thanx for your comments. On 06/12/2017 04:36 PM, Heiko Stübner wrote: Am Montag, 12. Juni 2017, 16:26:07 CEST schrieb jeffy: Hi Shawn, On 06/12/2017 03:15 PM, Shawn Lin wrote: Hi Jeffy, On 2017/6/12 14:14, Jeffy Chen wrote: Support using "cs-gpios" property to specify cs gpios.

[PATCH v2] nvme: use uuid_t in nvme_ns

2017-06-12 Thread Johannes Thumshirn
struct nvme_ns still uses u u8 uuid[16], change it to using uuid_t and use the UUID API. Signed-off-by: Johannes Thumshirn --- drivers/nvme/host/core.c | 8 drivers/nvme/host/nvme.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers

Re: [PATCH 3/3] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2017-06-12 Thread Matthias Brugger
On 01/06/17 08:08, Erin Lo wrote: From: YT Shen This patch adds the device nodes for the DISP function blocks for MT2701 Signed-off-by: YT Shen Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 84 +++ 1 file changed, 84 insertions(+) di

Re: [PATCH v4 6/7] ARM: dts: meson8: switch to new bindings for UART nodes

2017-06-12 Thread Jerome Brunet
On Fri, 2017-06-09 at 11:49 +0200, Neil Armstrong wrote: > Switch to the stable UART bindings by adding a XTAL node and using the > proper compatible strings. > > Signed-off-by: Neil Armstrong > --- >  arch/arm/boot/dts/meson8.dtsi | 23 +++ >  1 file changed, 19 insertions(+),

RE: [PATCH v2 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-12 Thread Mani, Rajmohan
Hi Andy, > Subject: Re: [PATCH v2 2/3] gpio: Add support for TPS68470 GPIOs > > On Sun, Jun 11, 2017 at 9:09 AM, Rajmohan Mani > wrote: > > This patch adds support for TPS68470 GPIOs. > > There are 7 GPIOs and a few sensor related GPIOs. > > These GPIOs can be requested and configured as appropr

Re: [PATCH v2 1/3] mfd: Add new mfd device TPS68470

2017-06-12 Thread Andy Shevchenko
On Mon, Jun 12, 2017 at 12:12 PM, Mani, Rajmohan wrote: >> > +#include >> >> And this is for...? > use by tps68470.c which uses i2c_driver and other such i2c defines. It should be in C-file, not in the header which has nothing to do with I2C APIs. -- With Best Regards, Andy Shevchenko

[char-misc-next 3/3] mei: me: use an index instead of a pointer for private data

2017-06-12 Thread Tomas Winkler
Device 'new_id' interface is useful for testing of not yet published hardware on older kernels and for internally used device ids on simulation platforms. However currently with the device configuration held in device_id driver data as a pointer to mei_cfg structure it is hard, as one need to locat

[char-misc-next 1/3] mei: validate the message header only in first fragment.

2017-06-12 Thread Tomas Winkler
RX message header is received in the first fragment of the message and saved side and it is not modified after that, we don't need to validate it upon each fragment. Signed-off-by: Tomas Winkler --- drivers/misc/mei/interrupt.c | 26 +++--- 1 file changed, 19 insertions(+), 7

[char-misc-next 2/3] mei: drop unreachable code in mei_start

2017-06-12 Thread Tomas Winkler
From: Alexander Usyskin Device disabled state is caught inside the retry loop, so there is no need to check it once again afterwards. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/init.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/misc

Re: [PATCH v4] mfd: lp87565: Add lp87565 PMIC support

2017-06-12 Thread Keerthy
On Monday 12 June 2017 02:41 PM, Lee Jones wrote: > On Sun, 11 Jun 2017, Keerthy wrote: > >> >> >> On Sunday 11 June 2017 10:36 AM, Keerthy wrote: >>> >>> >>> On Friday 09 June 2017 07:58 PM, Rob Herring wrote: On Thu, Jun 08, 2017 at 09:38:14AM +0530, Keerthy wrote: > The LP87565 chip

RE: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-12 Thread Mani, Rajmohan
Hi Andy, Sakari, > Subject: Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs > > On Sun, Jun 11, 2017 at 7:50 PM, Sakari Ailus wrote: > > On Sun, Jun 11, 2017 at 04:40:16PM +0300, Andy Shevchenko wrote: > >> On Sun, Jun 11, 2017 at 2:30 PM, Sakari Ailus wrote: > > >> > Again, I'm not re

Re: [PATCH v2] KVM: ARM64: fix phy counter access failure in guest.

2017-06-12 Thread Christoffer Dall
On Mon, Jun 12, 2017 at 10:08:16AM +0100, Marc Zyngier wrote: > Nit: Please fix the time on your machine. It ended up in my Spam folder > because it comes from the future... > > On 12/06/17 15:37, Hu Huajun wrote: > > When reading the cntpct_el0 in guest with VHE (Virtual Host Extension) > > enabl

RE: [PATCH v1 1/3] mfd: Add new mfd device TPS68470

2017-06-12 Thread Mani, Rajmohan
Hi Lee, > Subject: Re: [PATCH v1 1/3] mfd: Add new mfd device TPS68470 > > On Fri, 09 Jun 2017, Mani, Rajmohan wrote: > > > Hi Andy, > > > > > On Tue, Jun 06, 2017 at 03:59:49PM +0300, Andy Shevchenko wrote: > > > > On Tue, Jun 6, 2017 at 2:55 PM, Rajmohan Mani > > > wrote: > > > > > The TPS684

Re: [PATCH 1/2] spi: rockchip: add support for "cs-gpios" dts property

2017-06-12 Thread Heiko Stübner
Am Montag, 12. Juni 2017, 17:12:24 CEST schrieb jeffy: > Hi Heiko, > > thanx for your comments. > > On 06/12/2017 04:36 PM, Heiko Stübner wrote: > > Am Montag, 12. Juni 2017, 16:26:07 CEST schrieb jeffy: > >> Hi Shawn, > >> > >> On 06/12/2017 03:15 PM, Shawn Lin wrote: > >>> Hi Jeffy, > >>> > >

Re: [PATCH v4] mfd: lp87565: Add lp87565 PMIC support

2017-06-12 Thread Javier Martinez Canillas
Hello Lee and Keerthy, On Mon, Jun 12, 2017 at 11:17 AM, Keerthy wrote: > > > On Monday 12 June 2017 02:41 PM, Lee Jones wrote: >> On Sun, 11 Jun 2017, Keerthy wrote: >> >>> >>> >>> On Sunday 11 June 2017 10:36 AM, Keerthy wrote: On Friday 09 June 2017 07:58 PM, Rob Herring wrote:

Re: [PATCH] i2c: ismt: fix wrong device address when unmap the data buffer

2017-06-12 Thread Peter Rosin
On 2017-06-12 11:11, Andy Shevchenko wrote: > On Mon, Jun 12, 2017 at 6:42 AM, Song liwei wrote: >> From: Liwei Song >> > >> Fix the following calltrace: > > No, you don't fix a call trace, you are fixing a bug. > >> This happen When run "i2cdetect -y 0" detect SMBus iSMT adapter. >> >> After

Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-12 Thread Andy Shevchenko
On Mon, Jun 12, 2017 at 12:17 PM, Mani, Rajmohan wrote: >> Subject: Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs >> On Sun, Jun 11, 2017 at 7:50 PM, Sakari Ailus wrote: >> > On Sun, Jun 11, 2017 at 04:40:16PM +0300, Andy Shevchenko wrote: >> >> On Sun, Jun 11, 2017 at 2:30 PM, Sakari A

[PATCH v3 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-12 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani --- drivers/gpio/Kconfig | 14 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c |

[PATCH v3 0/3] TPS68470 PMIC drivers

2017-06-12 Thread Rajmohan Mani
This is the patch series for TPS68470 PMIC that works as a camera PMIC. The patch series provide the following 3 drivers, to help configure the voltage regulators, clocks and GPIOs provided by the TPS68470 PMIC, to be able to use the camera sensors connected to this PMIC. TPS68470 MFD driver: Thi

[PATCH v3 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-12 Thread Rajmohan Mani
The Kabylake platform coreboot (Chrome OS equivalent of BIOS) has defined 4 operation regions for the TI TPS68470 PMIC. These operation regions are to enable/disable voltage regulators, configure voltage regulators, enable/disable clocks and to configure clocks. This config adds ACPI operation reg

[PATCH v3 1/3] mfd: Add new mfd device TPS68470

2017-06-12 Thread Rajmohan Mani
The TPS68470 device is an advanced power management unit that powers a Compact Camera Module (CCM), generates clocks for image sensors, drives a dual LED for Flash and incorporates two LED drivers for general purpose indicators. This patch adds support for TPS68470 mfd device. Signed-off-by: Rajm

Re: [PATCH] i2c: ismt: fix wrong device address when unmap the data buffer

2017-06-12 Thread Andy Shevchenko
On Mon, Jun 12, 2017 at 12:28 PM, Peter Rosin wrote: > On 2017-06-12 11:11, Andy Shevchenko wrote: >> On Mon, Jun 12, 2017 at 6:42 AM, Song liwei wrote: >>> From: Liwei Song >>> After finished I2C block read/write, when unmap the data buffer, >>> a wrong device address was pass to dma_unmap_sin

Re: [PATCH v4 2/7] tty/serial: meson_uart: update to stable bindings

2017-06-12 Thread Jerome Brunet
On Fri, 2017-06-09 at 11:49 +0200, Neil Armstrong wrote: > From: Helmut Klein > > This patch handle the stable UART bindings but also keeps compatibility > with the legacy non-stable bindings until all boards uses them. > > Signed-off-by: Helmut Klein > Signed-off-by: Neil Armstrong > --- >  d

Re: [PATCH] ARM64: Kconfig: Fix the missing hi655x common clk

2017-06-12 Thread Daniel Lezcano
On Fri, Jun 09, 2017 at 10:48:13PM +0200, Arnd Bergmann wrote: > On Fri, Jun 9, 2017 at 10:15 PM, John Stultz wrote: > > On Fri, Jun 9, 2017 at 1:06 PM, Arnd Bergmann wrote: > >> On Fri, Jun 9, 2017 at 5:46 PM, Daniel Lezcano > >> wrote: > >>> On Tue, Jun 06, 2017 at 04:17:40PM +0200, Ulf Hansso

Re: [PATCH v4 3/7] ARM64: dts: meson-gx: use stable UART bindings with correct gate clock

2017-06-12 Thread Jerome Brunet
On Fri, 2017-06-09 at 11:49 +0200, Neil Armstrong wrote: > From: Helmut Klein > > This patch switches to the stable UART bindings but also add the correct > gate clock to the non-AO UART nodes for GXBB and GXL SoCs. > > Signed-off-by: Helmut Klein > Signed-off-by: Neil Armstrong Looks Good A

  1   2   3   4   5   6   7   8   9   10   >