Re: [PATCH v6 03/17] mm: Assign id to every memcg-aware shrinker

2018-05-20 Thread Vladimir Davydov
Hello Kirill, Generally, all patches in the series look OK to me, but I'm going to do some nitpicking before I ack them. See below. On Fri, May 18, 2018 at 11:42:08AM +0300, Kirill Tkhai wrote: > The patch introduces shrinker::id number, which is used to enumerate > memcg-aware shrinkers. The num

Re: [PATCH v6 05/17] mm: Assign memcg-aware shrinkers bitmap to memcg

2018-05-20 Thread Vladimir Davydov
On Fri, May 18, 2018 at 11:42:37AM +0300, Kirill Tkhai wrote: > Imagine a big node with many cpus, memory cgroups and containers. > Let we have 200 containers, every container has 10 mounts, > and 10 cgroups. All container tasks don't touch foreign > containers mounts. If there is intensive pages w

Re: [linux-sunxi] [PATCH 10/15] drm/sun4i: Add support for R40 TV TCONs

2018-05-20 Thread Jernej Škrabec
Hi, Dne nedelja, 20. maj 2018 ob 04:09:52 CEST je Julian Calaby napisal(a): > Hi Jernej, > > On Sun, May 20, 2018 at 11:57 AM, Julian Calaby wrote: > > Hi Jernej, > > > > On Sun, May 20, 2018 at 4:31 AM, Jernej Skrabec wrote: > >> R40 display pipeline has a lot of possible configurations. HD

Re: [PATCH 10/32] aio: implement IOCB_CMD_POLL

2018-05-20 Thread Al Viro
On Sun, May 20, 2018 at 06:32:25AM +0100, Al Viro wrote: > > + spin_lock_irqsave(&ctx->ctx_lock, flags); > > + list_add_tail(&aiocb->ki_list, &ctx->delayed_cancel_reqs); > > + spin_unlock(&ctx->ctx_lock); > > ... and io_cancel(2) comes, finds it and inhume^Wcompletes it, leaving us > to...

[PATCH] ocfs2: dlm: Remove extra parentheses

2018-05-20 Thread Varsha Rao
Remove unnecessary parentheses to fix the clang warning of extraneous parentheses. Suggested-by: Lukas Bulwahn Signed-off-by: Varsha Rao --- fs/ocfs2/dlm/dlmthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c index 838

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-20 Thread Ulf Magnusson
On Sun, May 20, 2018 at 6:03 AM, Randy Dunlap wrote: > On 05/19/2018 08:45 PM, Randy Dunlap wrote: >> On 05/08/2018 09:59 AM, Ulf Magnusson wrote: >>> Hello, >>> >>> I've added incremental search for jumping directly to a symbol now. >>> Regular expressions are supported as well. >>> >>> Some scre

Re: [PATCH v5 3/7] proc: add helpers to set and get proc hidepid and gid mount options

2018-05-20 Thread kbuild test robot
Hi Djalal, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc5] [cannot apply to next-20180517] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.c

Re: [PATCH v6 12/17] mm: Set bit in memcg shrinker bitmap on first list_lru item apearance

2018-05-20 Thread Vladimir Davydov
On Fri, May 18, 2018 at 11:43:42AM +0300, Kirill Tkhai wrote: > Introduce set_shrinker_bit() function to set shrinker-related > bit in memcg shrinker bitmap, and set the bit after the first > item is added and in case of reparenting destroyed memcg's items. > > This will allow next patch to make s

Re: [PATCH v6 13/17] mm: Export mem_cgroup_is_root()

2018-05-20 Thread Vladimir Davydov
On Fri, May 18, 2018 at 11:43:53AM +0300, Kirill Tkhai wrote: > This will be used in next patch. > > Signed-off-by: Kirill Tkhai > --- > include/linux/memcontrol.h | 10 ++ > mm/memcontrol.c|5 - > 2 files changed, 10 insertions(+), 5 deletions(-) > > diff --git a/

Re: [PATCH v6 14/17] mm: Iterate only over charged shrinkers during memcg shrink_slab()

2018-05-20 Thread Vladimir Davydov
On Fri, May 18, 2018 at 11:44:01AM +0300, Kirill Tkhai wrote: > Using the preparations made in previous patches, in case of memcg > shrink, we may avoid shrinkers, which are not set in memcg's shrinkers > bitmap. To do that, we separate iterations over memcg-aware and > !memcg-aware shrinkers, and

[PATCH] x86: platform: uv: Remove extra parentheses

2018-05-20 Thread Varsha Rao
Remove extra parentheses to fix the extraneous parentheses clang warning. Suggested-by: Lukas Bulwahn Signed-off-by: Varsha Rao --- arch/x86/platform/uv/tlb_uv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c ind

Re: [PATCH v6 15/17] mm: Generalize shrink_slab() calls in shrink_node()

2018-05-20 Thread Vladimir Davydov
On Fri, May 18, 2018 at 11:44:11AM +0300, Kirill Tkhai wrote: > From: Vladimir Davydov > > The patch makes shrink_slab() be called for root_mem_cgroup > in the same way as it's called for the rest of cgroups. > This simplifies the logic and improves the readability. > > Signed-off-by: Vladimir D

RE: [PATCH v4 10/22] iommu: introduce device fault data

2018-05-20 Thread Liu, Yi L
Hi Jacob, > From: Jacob Pan [mailto:jacob.jun@linux.intel.com] > Sent: Tuesday, April 17, 2018 5:49 AM > include/linux/iommu.h | 102 > +- > 1 file changed, 100 insertions(+), 2 deletions(-) > > diff --git a/include/linux/iommu.h b/include/linu

Re: [PATCH] mtd: mtdoops: optionally dump boottime

2018-05-20 Thread Richard Weinberger
Stefan, Am Sonntag, 20. Mai 2018, 05:39:40 CEST schrieb Stefan M Schaeckeler: > Optionally dump boottime on the mtd device in the form of > > <0>[ 0.00] Boot time mm/dd/ hh:mm:ss > > Time-stamps of oops messages are in seconds since boottime. Recording also > the boottime helps correla

[PATCH v2 2/5] kconfig: refactor Qt package checks for building qconf

2018-05-20 Thread Masahiro Yamada
Currently, the necessary package checks for building qconf is surrounded by ifeq ($(MAKECMDGOALS),xconfig) ... endif. Then, Make will restart when .tmp_qtcheck is generated. To simplify the Makefile, move the scripting to a separate file, and use filechk. The shell script is executed everytime xc

[PATCH v2 3/5] kconfig: refactor GTK+ package checks for building gconf

2018-05-20 Thread Masahiro Yamada
Refactor the package checks for gconf in the same way as for qconf. Signed-off-by: Masahiro Yamada Tested-by: Randy Dunlap Acked-by: Randy Dunlap --- Changes in v2: None scripts/kconfig/Makefile | 43 +-- scripts/kconfig/gconf-cfg.sh | 23 +

[PATCH v2 1/5] kbuild: do not display CHK for filechk

2018-05-20 Thread Masahiro Yamada
filechk displays two short logs; CHK for creating a temporary file, and UPD for really updating the target. IMHO, the build system can be quiet when the target file has not been updated. Signed-off-by: Masahiro Yamada --- Changes in v2: None scripts/Kbuild.include | 1 - 1 file changed, 1 del

[PATCH v2 0/5] kconfig: refactor package checks for GUI frontends

2018-05-20 Thread Masahiro Yamada
Kconfig supports 4 GUI frontends. Each of them needs some support packages, but checks them differently: qconf, gconf: check packages in Makefile (pkg-config is required) mconf: lxdialog/check-lxdialog.sh nconf: needs ncurses, but its presence is not checked This series refactor the package

[PATCH v2 4/5] kconfig: refactor ncurses package checks for building mconf

2018-05-20 Thread Masahiro Yamada
The mconf (or its infrastructure, lxdiaglog) depends on ncurses. Move and rename check-lxdialog.sh to mconf-cfg.sh to make it work in the same way as for qconf and gconf. According to Randy's report, we still need to carry the fallback code in case the pkg-config fails to find ncurses. Signed-off

[PATCH v2 5/5] kconfig: refactor ncurses package checks for building nconf

2018-05-20 Thread Masahiro Yamada
Building nconf requires ncurses, but its presence is not checked. Check and configure necessary packages by a shell script like the other GUI frontends. Signed-off-by: Masahiro Yamada --- Changes in v2: - Add fallback code in case distributions cannot find ncurses by pkg-config. scripts/

[GIT pull] core fixes for 4.17

2018-05-20 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus The pull request provides: - Unbreak the BPF compilation which got broken by the unconditional requirement of asm-goto, which is not support

Re: [PATCH 4/5] kconfig: refactor ncurses package checks for building mconf

2018-05-20 Thread Masahiro Yamada
2018-05-20 3:02 GMT+09:00 Randy Dunlap : > On 05/17/18 21:52, Masahiro Yamada wrote: >> The mconf (or its infrastructure, lxdiaglog) depends on ncurses. >> check-lxdialog.sh has additional checks in case pkg-config is not >> available. However, qconf and gconf already rely on pkg-config to >> chec

Re: INFO: rcu detected stall in is_bpf_text_address

2018-05-20 Thread Xin Long
On Sat, May 19, 2018 at 11:57 PM, Eric Dumazet wrote: > SCTP experts, please take a look. > > On 05/19/2018 08:55 AM, syzbot wrote: >> Hello, >> >> syzbot found the following crash on: >> >> HEAD commit:73fcb1a370c7 Merge branch 'akpm' (patches from Andrew) >> git tree: upstream >> conso

[GIT pull] efi fixes for 4.17

2018-05-20 Thread Thomas Gleixner
Linus, please pull the latest efi-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-for-linus Two EFI fixes: - Use explicitely sized type for the romimage pointer in the 32bit EFI protocol struct so a 64bit kernel does not expand it

[PATCH] rcu: Speed up calling of RCU tasks callbacks

2018-05-20 Thread Joel Fernandes
From: "Joel Fernandes (Google)" RCU tasks callbacks can take atleast 1 second before the callbacks are executed. This happens even if the hold-out tasks enter their quiescent states quickly. I noticed this when I was testing trampoline callback execution. To test the trampoline freeing, I wrote

[GIT pull] locking fixes for 4.17

2018-05-20 Thread Thomas Gleixner
Linus, please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus Two fixes to address shortcomings of the rwsem/percpu-rwsem lock debugging code which emits false positive warnings when the rwsem is anony

[GIT pull] perf fixes for 4.17

2018-05-20 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus Address issues on the perf tooling side: - Fix segfault when processing unknown threads in cs-etm - Fix "perf test inet_pton" on s390 fa

[GIT pull] ras fix for 4.17

2018-05-20 Thread Thomas Gleixner
Linus, please pull the latest ras-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git ras-urgent-for-linus Address the regression with the new AMD SMCA code which issues an SMP function call from the early interrupt disabled region of CPU hotplug. To avo

[GIT pull] scheduler fixes for 4.17

2018-05-20 Thread Thomas Gleixner
Linus, please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus Three trivial fixlets for the scheduler: - Move print_rt_rq() and print_dl_rq() declarations to the right place - Make grub_reclaim() stati

[GIT pull] timer fix for 4.17

2018-05-20 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus Address the for_each_cpu() oddity on UP kernels in the tick broadcast code which causes boot failures because the CPU0 bit is always reported

[GIT pull] x86 fixes for 4.17

2018-05-20 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus An unfortunately larger set of fixes, but a large portion is selftests. Part of that pull-request was already sent with the core pull request becau

Re: [PATCH] iio: tsl2583: correct values in integration_time_available

2018-05-20 Thread Jonathan Cameron
On Sat, 12 May 2018 20:20:39 -0400 Brian Masney wrote: > The times reported by the in_illuminance_integration_time_available > sysfs attribute are actually in milliseconds, not microseconds. This > patch corrects the times with the correct unit. > > Signed-off-by: Brian Masney Hi Brian, In fut

Re: [PATCH v2 2/5] kconfig: refactor Qt package checks for building qconf

2018-05-20 Thread Sam Ravnborg
Hi Masahiro This commit (and the rest of the series) do wonders for the readability of the Makefile - nice work. Some nits below. On Sun, May 20, 2018 at 05:16:50PM +0900, Masahiro Yamada wrote: > Currently, the necessary package checks for building qconf is > surrounded by ifeq ($(MAKECMDGOALS)

Re: [PATCH V3 2/5] X86: Hyper-V: Enable IPI enlightenments

2018-05-20 Thread kbuild test robot
://github.com/0day-ci/linux/commits/kys-linuxonhyperv-com/X86-Hyper-V-APIC-enlightenments/20180520-040432 config: x86_64-randconfig-s5-05201710 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors

Re: [PATCH v2 4/5] kconfig: refactor ncurses package checks for building mconf

2018-05-20 Thread Sam Ravnborg
Hi Masahiro On Sun, May 20, 2018 at 05:16:52PM +0900, Masahiro Yamada wrote: > The mconf (or its infrastructure, lxdiaglog) depends on ncurses. > Move and rename check-lxdialog.sh to mconf-cfg.sh to make it work in > the same way as for qconf and gconf. > > According to Randy's report, we still n

[PATCH v1 5/5] ARM: tegra: Always boot CPU in ARM-mode

2018-05-20 Thread Dmitry Osipenko
CPU always jumps into the reset handler in ARM-mode from the Trusted Foundations firmware, hence make CPU to always jump into kernel in ARM-mode regardless of the firmware presence to support Thumb2 kernel + TF case. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/reset-handler.S | 1 + a

[PATCH v1 4/5] ARM: tegra: Don't apply CPU erratas in insecure mode

2018-05-20 Thread Dmitry Osipenko
CPU isn't allowed to touch secure registers while running under secure monitor. Hence skip applying CPU erratas in the reset handler if Trusted Foundations firmware presents. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/reset-handler.S | 27 +++ arch/arm/mach-te

[PATCH v1 1/5] ARM: trusted_foundations: Implement L2 cache initialization callback

2018-05-20 Thread Dmitry Osipenko
Implement L2 cache initialization firmware callback that should be invoked early in boot to enable cache HW. Signed-off-by: Dmitry Osipenko --- arch/arm/firmware/trusted_foundations.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/firmware/trusted_foundatio

[PATCH v1 2/5] ARM: trusted_foundations: Provide information about whether firmware is registered

2018-05-20 Thread Dmitry Osipenko
Add a helper that provides information about whether Trusted Foundations firmware operations have been registered. Signed-off-by: Dmitry Osipenko --- arch/arm/firmware/trusted_foundations.c| 5 + arch/arm/include/asm/trusted_foundations.h | 7 +++ 2 files changed, 12 insertions(+) d

[PATCH v1 3/5] ARM: tegra: Setup L2 cache using Trusted Foundations firmware

2018-05-20 Thread Dmitry Osipenko
On Tegra20/30 L2 cache must be initialized using firmware call if CPU is running in insecure mode. Initialize L2 cache and setup the outer-cache callbacks in early boot using the firmware API. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/tegra.c | 15 +++ 1 file changed, 15

[PATCH v1 0/5] Initial support of Trusted Foundations on Tegra30

2018-05-20 Thread Dmitry Osipenko
Hello, This series of patches brings initial support of Trusted Foundations to Tegra30, that is to the consumer-grade Tegra30 devices which do not allow to easily replace the proprietary bootloader. Support is initial because this series implements only a proper CPU boot-up (main + secondary cores

Re: [PATCH] iio: adc: stm32-dfsdm: include stm32-dfsdm-adc.h

2018-05-20 Thread Jonathan Cameron
On Tue, 15 May 2018 17:19:17 +0200 Fabrice Gasnier wrote: > Fix the following sparse warnings: > CHECK drivers/iio/adc/stm32-dfsdm-adc.c > symbol 'stm32_dfsdm_get_buff_cb' was not declared. Should it be static? > symbol 'stm32_dfsdm_release_buff_cb' was not declared. Should it be static? > >

Re: PROBLEM: "ACPI Error: Method parse/execution failed" and "ACPI BIOS Error (bug): Failure looking up" related

2018-05-20 Thread Jeffrin Thalakkottoor
as far as i know , may be there is not much change in system behavior. i just found these messages during boot time i did not find this message in a typical 4.9.x kernel On Mon, May 14, 2018 at 4:04 AM, Andy Shevchenko wrote: > On Sun, May 13, 2018 at 5:20 PM, Jeffrin Thalakkottoor > wrote: >>

Re: [PATCH v2 1/2] iio:dac:ad5686: Add AD5691R/AD5692R/AD5693/AD5693R support

2018-05-20 Thread Jonathan Cameron
On Fri, 18 May 2018 18:22:50 +0300 Stefan Popa wrote: > The AD5691R/AD5692R/AD5693/AD5693R are a family of one channel DACs with > 12-bit, 14-bit and 16-bit precision respectively. The devices have either > no built-in reference, or built-in 2.5V reference. > > These devices are pretty similar t

Re: [PATCH v5 0/2] usb: dwc2: fix isoc split in transfer issue

2018-05-20 Thread Heiko Stuebner
Am Freitag, 11. Mai 2018, 11:46:30 CEST schrieb William Wu: > This patch fix dma unaligned problem and data lost problem for > isoc split in transfer. > > Test on rk3288 platform, use an usb hs Hub (GL852G-12) and an usb > fs audio device (Plantronics headset) to capture and playback. > > William

Re: [PATCH v2 2/2] iio:dac:ad5686: Add AD5681R/AD5682R/AD5683/AD5683R support

2018-05-20 Thread Jonathan Cameron
On Fri, 18 May 2018 18:23:34 +0300 Stefan Popa wrote: > The AD5681R/AD5682R/AD5683/AD5683R are a family of one channel DACs with > 12-bit, 14-bit and 16-bit precision respectively. The devices have either > no built-in reference, or built-in 2.5V reference. > > These devices are similar to AD569

Re: [PATCH 02/14] net: sched: change type of reference and bind counters

2018-05-20 Thread Vlad Buslov
On Sat 19 May 2018 at 21:04, Marcelo Ricardo Leitner wrote: > On Mon, May 14, 2018 at 05:27:03PM +0300, Vlad Buslov wrote: >> Change type of action reference counter to refcount_t. >> >> Change type of action bind counter to atomic_t. >> This type is used to allow decrementing bind counter witho

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-20 Thread Martin Blumenstingl
Hi, On Thu, May 10, 2018 at 11:16 AM, Masahiro Yamada wrote: [snip] > I may be missing something, but > one solution might be reset hogging on the > reset provider side. This allows us to describe > the initial state of reset lines in the reset controller. > > The idea for "reset-hog" is similar

Re: [PATCH 06/14] net: sched: implement reference counted action release

2018-05-20 Thread Vlad Buslov
On Sun 20 May 2018 at 06:22, Jiri Pirko wrote: > Sat, May 19, 2018 at 11:43:27PM CEST, marcelo.leit...@gmail.com wrote: >>On Mon, May 14, 2018 at 05:27:07PM +0300, Vlad Buslov wrote: >>... >>> @@ -1052,6 +1088,36 @@ static int tca_action_flush(struct net *net, struct >>> nlattr *nla, >>> ret

Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-20 Thread Jeffrin Thalakkottoor
that system is normally not crashing. as far as i know, there are no other bad effects it happens during every boot.it is not a one time message. output for "sudo dmesg | grep -B 40 44919" command related --

Re: PROBLEM: "ACPI Error: Method parse/execution failed" and "ACPI BIOS Error (bug): Failure looking up" related

2018-05-20 Thread Jeffrin Thalakkottoor
ignore this "i did not find this message in a typical 4.9.x kernel" line On Sun, May 20, 2018 at 4:05 PM, Jeffrin Thalakkottoor wrote: > as far as i know , may be there is not much change in system behavior. > i just found these messages during boot time > i did not find this message in a typica

Re: [PATCH 2/3] drm/rockchip: lvds: avoid duplicating drm_bridge_attach

2018-05-20 Thread Heiko Stuebner
Am Mittwoch, 2. Mai 2018, 09:40:24 CEST schrieb Peter Rosin: > drm_bridge_attach takes care of these assignments, so there is no need > to open-code them a second time. > > Signed-off-by: Peter Rosin applied to drm-misc-next Thanks Heiko

Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg

2018-05-20 Thread Jeffrin Thalakkottoor
output for "dmesg | mcelog --ascii" command related -> microcode: microcode updated early to revision 0x2a, date = 2018-01-18 Linux

[PATCH 2/2] rtc: st-lpc: add range

2018-05-20 Thread Alexandre Belloni
The RTC has a 64 bit counter. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-st-lpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c index 2f1ef2c28740..df467ace397b 100644 --- a/drivers/rtc/rtc-st-lpc.c +++ b/drivers/rtc/rtc-st-lpc.

[PATCH 1/2] rtc: st-lpc: fix possible race condition

2018-05-20 Thread Alexandre Belloni
The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handler. This may lead to a NULL pointer dereference. Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc before requesting the IRQ. Signed-off-by: Alexandre Belloni

Re: [PATCH] ARM: dts: imx51-zii-rdu1: limit usbh1 to full-speed

2018-05-20 Thread Shawn Guo
On Tue, May 15, 2018 at 11:45:02AM +0300, Nikita Yushchenko wrote: > On RDU1, imx51 usbh1 interface is either not used, or used via external > block that breaks USB2 signalling. > > To keep things working if high-speed device gets connected to that > block, use ChipIdea feature to limit port to fu

Re: [PATCH V2] ARM: dts: imx7d: correct cpu supply name for voltage scaling

2018-05-20 Thread Shawn Guo
On Wed, May 16, 2018 at 10:25:48AM +0800, Anson Huang wrote: > Correct CPU supply name to meet cpufreq-dt driver's > requirement for voltage scaling. > > Signed-off-by: Anson Huang > Reviewed-by: Fabio Estevam Applied, thanks.

Re: [PATCH 1/5] staging: lustre: Fix inclusion of local headers

2018-05-20 Thread Greg KH
On Wed, May 16, 2018 at 08:26:36PM +0200, Sabin Mihai Rapan wrote: > This patch fixes the checkpatch.pl error: > > ERROR:UAPI_INCLUDE: No #include in ...include/uapi/... should use a uapi/ path > prefix > > Signed-off-by: Sabin Mihai Rapan > --- > drivers/staging/lustre/include/uapi/linux/lnet/

Re: [PATCH] ARM: dts: imx7s-warp: remove unnecessary cpu regulator supply

2018-05-20 Thread Shawn Guo
On Tue, May 15, 2018 at 05:18:15PM +0800, Anson Huang wrote: > i.MX7S does NOT support CPU frequency scaling, so no > need to specify the CPU regulator supply. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH 2/5] staging: lustre: Fix block comments style

2018-05-20 Thread Greg KH
On Wed, May 16, 2018 at 08:27:07PM +0200, Sabin Mihai Rapan wrote: > This patch fixes the checkpatch.pl warning: > > WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate > line > > Signed-off-by: Sabin Mihai Rapan > --- > .../staging/lustre/include/uapi/linux/lustre/lust

Re: [PATCH] Staging: rtl8192e: rtllib_tx: fix spelling issue.

2018-05-20 Thread Greg KH
On Sat, May 19, 2018 at 10:23:02PM +0200, Davide spataro wrote: > Fix a spelling warning from checkpatch.pl. > > Signed-off-by: Davide Spataro Doesn't match exactly with your "From:" line :( Yeah, picky, but it matters at times, sorry. Please fix and resend. thanks, greg k-h

Re: [PATCH] ARM: dts: imx7d: use operating-points-v2 for cpu

2018-05-20 Thread Shawn Guo
On Wed, May 16, 2018 at 12:48:17PM +0800, Anson Huang wrote: > This patch uses "operating-points-v2" instead of > "operating-points" to be more fit with cpufreq-dt > driver. > > Signed-off-by: Anson Huang > --- > arch/arm/boot/dts/imx7d.dtsi | 24 +++- > 1 file changed, 19 in

Re: [PATCH] ARM: dts: vf610-zii-dev: enable vf610 builtin temp sensor

2018-05-20 Thread Shawn Guo
On Wed, May 16, 2018 at 09:39:21AM +0300, Nikita Yushchenko wrote: > Vybrid has single internal temperature sensor connected to both internal > ADC modules. > > vf610-zii-dev already has ADC0 enabled. Now, to get temperature sensor > captured by iio_hwmon driver, need to configure iio_hwmon node t

Re: [PATCH] ARM: dts: imx51-zii-rdu1: cleanup eMMC node

2018-05-20 Thread Shawn Guo
On Wed, May 16, 2018 at 09:53:49AM +0300, Nikita Yushchenko wrote: > On RDU1, sdhc1 is used for eMMC, and that is 3.3V only. > > Thus configure device node not to probe it as SD/SDIO and not try 1.8V. > > Signed-off-by: Nikita Yushchenko Applied, thanks.

Re: [PATCH] clk: imx6sx: disable unnecessary clocks during clock initialization

2018-05-20 Thread Shawn Guo
On Thu, May 17, 2018 at 01:00:47PM +0800, Anson Huang wrote: > Disable those unnecessary clocks during kernel boot up to save power, > those modules clock should be managed by modules driver in runtime. > > Signed-off-by: Anson Huang Acked-by: Shawn Guo

Re: [PATCH] clk: imx6sl: correct ocram_podf clock type

2018-05-20 Thread Shawn Guo
On Thu, May 17, 2018 at 01:00:48PM +0800, Anson Huang wrote: > IMX6SL_CLK_OCRAM_PODF is a busy divider, its name in > CCM_CDHIPR register of Reference Manual CCM chapter > is axi_podf_busy, correct its clock type. > > Signed-off-by: Anson Huang Acked-by: Shawn Guo

Linux 4.9.101

2018-05-20 Thread Greg KH
I'm announcing the release of the 4.9.101 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.101

2018-05-20 Thread Greg KH
diff --git a/Makefile b/Makefile index 52a41396680c..7d7bda23db8f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 100 +SUBLEVEL = 101 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/alpha/include/asm/futex.h b/arch/alpha/include/asm/futex.h i

Linux 4.14.42

2018-05-20 Thread Greg KH
I'm announcing the release of the 4.14.42 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.42

2018-05-20 Thread Greg KH
diff --git a/Makefile b/Makefile index c23d0b0c6c45..777f5685a36b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 41 +SUBLEVEL = 42 EXTRAVERSION = NAME = Petit Gorille diff --git a/drivers/net/bonding/bond_alb.c

Linux 4.16.10

2018-05-20 Thread Greg KH
I'm announcing the release of the 4.16.10 kernel. All users of the 4.16 kernel series must upgrade. The updated 4.16.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.16.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.16.10

2018-05-20 Thread Greg KH
diff --git a/Makefile b/Makefile index ea3cb221d7c5..33f3c94f02ca 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 16 -SUBLEVEL = 9 +SUBLEVEL = 10 EXTRAVERSION = NAME = Fearless Coyote diff --git a/drivers/infiniband/hw/mlx5/mai

smpboot seems to be confused on dual EPYC system

2018-05-20 Thread Gabriel C
Hello, I have an H11DSi-NT board with 2 * EPYC 7281 16C/32T CPUs. On that box for some reason spmboot things '4' logical packages are possible. Max CPUs can be 128 ( 2 * 32C/64T ), however only 2 CPUs are possible not 4 and therefor there is no way to add other 64 hotplug CPUs. ( not even sure

Re: [PATCH v6 00/12] KVM: arm/arm64: Allow multiple GICv3 redistributor regions

2018-05-20 Thread Marc Zyngier
Hi Eric, On Mon, 30 Apr 2018 13:48:26 +0200 Eric Auger wrote: > At the moment the KVM VGICv3 only supports a single redistributor > region (whose base address is set through the GICv3 kvm device > KVM_DEV_ARM_VGIC_GRP_ADDR/KVM_VGIC_V3_ADDR_TYPE_REDIST). There, > all the redistributors are laid o

[PATCH v1 2/2] ARM: dts: tegra30: Add Memory Client reset to VDE

2018-05-20 Thread Dmitry Osipenko
Hook up Memory Client reset of the Video Decoder to the decoders DT node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra30.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 09087b9c5e26..3

[PATCH v1 1/2] ARM: dts: tegra20: Add Memory Client reset to VDE

2018-05-20 Thread Dmitry Osipenko
Hook up Memory Client reset of the Video Decoder to the decoders DT node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 983dd5c1479

[PATCH v1] media: staging: tegra-vde: Reset memory client

2018-05-20 Thread Dmitry Osipenko
DMA requests must be blocked before resetting VDE HW, otherwise it is possible to get a memory corruption or a machine hang. Use the reset control provided by the Memory Controller to block DMA before resetting the VDE HW. Signed-off-by: Dmitry Osipenko --- drivers/staging/media/tegra-vde/tegra-

[PATCH 0/7 v5] Support for fsl-mc bus and its devices in SMMU

2018-05-20 Thread Nipun Gupta
This patchset defines IOMMU DT binding for fsl-mc bus and adds support in SMMU for fsl-mc bus. The patch series is based on top of dma-mapping tree (for-next branch): http://git.infradead.org/users/hch/dma-mapping.git These patches - Define property 'iommu-map' for fsl-mc bus (patch 1) - Inte

[PATCH 4/7 v5] iommu: arm-smmu: Add support for the fsl-mc bus

2018-05-20 Thread Nipun Gupta
Implement bus specific support for the fsl-mc bus including registering arm_smmu_ops and bus specific device add operations. Signed-off-by: Nipun Gupta --- drivers/iommu/arm-smmu.c | 7 +++ drivers/iommu/iommu.c| 21 + include/linux/fsl/mc.h | 8 include/

[PATCH 2/7 v5] iommu: of: make of_pci_map_rid() available for other devices too

2018-05-20 Thread Nipun Gupta
iommu-map property is also used by devices with fsl-mc. This patch moves the of_pci_map_rid to generic location, so that it can be used by other busses too. 'of_pci_map_rid' is renamed here to 'of_map_rid' and there is no functional change done in the API. Signed-off-by: Nipun Gupta Reviewed-by:

[PATCH 6/7 v5] bus: fsl-mc: set coherent dma mask for devices on fsl-mc bus

2018-05-20 Thread Nipun Gupta
of_dma_configure() API expects coherent_dma_mask to be correctly set in the devices. This patch does the needful. Signed-off-by: Nipun Gupta --- drivers/bus/fsl-mc/fsl-mc-bus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c i

[PATCH 7/7 v5] arm64: dts: ls208xa: comply with the iommu map binding for fsl_mc

2018-05-20 Thread Nipun Gupta
fsl-mc bus support the new iommu-map property. Comply to this binding for fsl_mc bus. Signed-off-by: Nipun Gupta Reviewed-by: Laurentiu Tudor --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale

[PATCH 3/7 v5] iommu: support iommu configuration for fsl-mc devices

2018-05-20 Thread Nipun Gupta
With of_pci_map_rid available for all the busses, use the function for configuration of devices on fsl-mc bus Signed-off-by: Nipun Gupta --- drivers/iommu/of_iommu.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/iommu/of_iommu.c b/drivers/iommu/of_iommu.c inde

[PATCH 5/7 v5] bus: fsl-mc: support dma configure for devices on fsl-mc bus

2018-05-20 Thread Nipun Gupta
This patch adds support of dma configuration for devices on fsl-mc bus using 'dma_configure' callback for busses. Also, directly calling arch_setup_dma_ops is removed from the fsl-mc bus. Signed-off-by: Nipun Gupta Reviewed-by: Laurentiu Tudor --- drivers/bus/fsl-mc/fsl-mc-bus.c | 15 ++

[PATCH 1/7 v5] Docs: dt: add fsl-mc iommu-map device-tree binding

2018-05-20 Thread Nipun Gupta
The existing IOMMU bindings cannot be used to specify the relationship between fsl-mc devices and IOMMUs. This patch adds a generic binding for mapping fsl-mc devices to IOMMUs, using iommu-map property. Signed-off-by: Nipun Gupta Reviewed-by: Rob Herring --- .../devicetree/bindings/misc/fsl,qo

Re: [PATCH 07/14] powerpc: Add support for restartable sequences

2018-05-20 Thread Boqun Feng
On Fri, May 18, 2018 at 02:17:17PM -0400, Mathieu Desnoyers wrote: > - On May 17, 2018, at 7:50 PM, Boqun Feng boqun.f...@gmail.com wrote: > [...] > >> > I think you're right. So we have to introduce callsite to rseq_syscall() > >> > in syscall path, something like: > >> > > >> > diff --git a/

Re: [PATCH net-next] net: dsa: b53: Extend platform data to include DSA ports

2018-05-20 Thread Andrew Lunn
On Sat, May 19, 2018 at 08:14:41PM -0700, Florian Fainelli wrote: > On May 19, 2018 6:42:50 PM PDT, Andrew Lunn wrote: > >On Sat, May 19, 2018 at 03:55:10PM -0700, Florian Fainelli wrote: > >> Provide a means for !OF platforms to supply their DSA platform data > >> configuration using the dsa_plat

Re: [PATCH v1 1/5] ARM: trusted_foundations: Implement L2 cache initialization callback

2018-05-20 Thread Russell King - ARM Linux
On Sun, May 20, 2018 at 01:15:38PM +0300, Dmitry Osipenko wrote: > Implement L2 cache initialization firmware callback that should be invoked > early in boot to enable cache HW. > > Signed-off-by: Dmitry Osipenko > --- > arch/arm/firmware/trusted_foundations.c | 23 +++ > 1 f

Re: [PATCH V3] scsi: ufs: Add specific callback for setting DMA mask

2018-05-20 Thread Bart Van Assche
On Sun, 2018-05-20 at 07:54 +0530, Alim Akhtar wrote: > diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c > index a355d98..9a1374e 100644 > --- a/drivers/scsi/ufs/ufshcd.c > +++ b/drivers/scsi/ufs/ufshcd.c > @@ -7781,6 +7781,9 @@ EXPORT_SYMBOL_GPL(ufshcd_dealloc_host); > */ > st

Re: [PATCH v4 05/31] kconfig: remove string expansion for mainmenu after yyparse()

2018-05-20 Thread Sam Ravnborg
On Thu, May 17, 2018 at 03:16:44PM +0900, Masahiro Yamada wrote: > Now that environments are expanded in the lexer, conf_parse() does > not need to expand them explicitly. > > The hack introduced by commit 0724a7c32a54 ("kconfig: Don't leak > main menus during parsing") can go away. > > Signed-of

Re: [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-20 Thread Andy Shevchenko
On Sun, May 20, 2018 at 12:55 AM, Janusz Krzysztofik wrote: > On Saturday, May 19, 2018 8:00:38 PM CEST Andy Shevchenko wrote: >> On Sat, May 19, 2018 at 2:15 AM, Janusz Krzysztofik > wrote: >> NULL check in practice discards the _optional part of gpiod_get(). So, >> either you use non-optional

Re: [PATCH v4 07/31] kconfig: add built-in function support

2018-05-20 Thread Sam Ravnborg
On Thu, May 17, 2018 at 03:16:46PM +0900, Masahiro Yamada wrote: > This commit adds a new concept 'function' to do more text processing > in Kconfig. > > A function call looks like this: > > $(function,arg1,arg2,arg3,...) > > This commit adds the basic infrastructure to expand functions. > Cha

Re: [PATCH v1 1/5] ARM: trusted_foundations: Implement L2 cache initialization callback

2018-05-20 Thread Dmitry Osipenko
On 20.05.2018 17:08, Russell King - ARM Linux wrote: > On Sun, May 20, 2018 at 01:15:38PM +0300, Dmitry Osipenko wrote: >> Implement L2 cache initialization firmware callback that should be invoked >> early in boot to enable cache HW. >> >> Signed-off-by: Dmitry Osipenko >> --- >> arch/arm/firmwa

Re: [PATCH net-next] net: dsa: b53: Extend platform data to include DSA ports

2018-05-20 Thread Florian Fainelli
On 05/20/2018 07:06 AM, Andrew Lunn wrote: > On Sat, May 19, 2018 at 08:14:41PM -0700, Florian Fainelli wrote: >> On May 19, 2018 6:42:50 PM PDT, Andrew Lunn wrote: >>> On Sat, May 19, 2018 at 03:55:10PM -0700, Florian Fainelli wrote: Provide a means for !OF platforms to supply their DSA pl

[GIT PULL] Btrfs fixes for 4.17-rc6

2018-05-20 Thread David Sterba
Hi, we've accumulated some fixes during the last week, some of them were in the works for a longer time but there are some newer ones too. Most of the fixes have a reproducer and fix user visible problems, also candidates for stable kernels. They IMHO qualify for a late rc, though I did not expect

Re: Tasks RCU vs Preempt RCU

2018-05-20 Thread Steven Rostedt
[ Steve interrupts his time off ] On Sat, 19 May 2018 17:49:38 -0700 "Paul E. McKenney" wrote: > I suggested to Steven that the rcu_read_lock() and rcu_read_unlock() might > be outside of the trampoline, but this turned out to be infeasible. Not > that I remember why! ;-) Because the trampol

Re: [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-20 Thread Janusz Krzysztofik
On Sunday, May 20, 2018 4:44:31 PM CEST Andy Shevchenko wrote: > On Sun, May 20, 2018 at 12:55 AM, Janusz Krzysztofik > > wrote: > > On Saturday, May 19, 2018 8:00:38 PM CEST Andy Shevchenko wrote: > >> On Sat, May 19, 2018 at 2:15 AM, Janusz Krzysztofik > > > > wrote: > >> NULL check in practi

Re: [PATCH v6 4/9] counter: 104-quad-8: Add Generic Counter interface support

2018-05-20 Thread Jonathan Cameron
On Wed, 16 May 2018 13:51:25 -0400 William Breathitt Gray wrote: > This patch adds support for the Generic Counter interface to the > 104-QUAD-8 driver. The existing 104-QUAD-8 device interface should not > be affected by this patch; all changes are intended as supplemental > additions as perceiv

Re: [PATCH v6 1/9] counter: Introduce the Generic Counter interface

2018-05-20 Thread Jonathan Cameron
On Wed, 16 May 2018 13:50:43 -0400 William Breathitt Gray wrote: > This patch introduces the Generic Counter interface for supporting > counter devices. > > In the context of the Generic Counter interface, a counter is defined as > a device that reports one or more "counts" based on the state ch

Re: [PATCH v6 2/9] counter: Documentation: Add Generic Counter sysfs documentation

2018-05-20 Thread Jonathan Cameron
On Wed, 16 May 2018 13:50:55 -0400 William Breathitt Gray wrote: > This patch adds standard documentation for the userspace sysfs > attributes of the Generic Counter interface. > > Signed-off-by: William Breathitt Gray Some really minor stuff inline. No functional changes. Reviewed-by: Jonat

  1   2   3   4   >