Re: [PATCH] rcu: Check the range of jiffies_till_{first,next}_fqs when setting them

2018-06-02 Thread Joel Fernandes
On Sun, Jun 03, 2018 at 02:38:04PM +0900, Byungchul Park wrote: > On Sun, Jun 3, 2018 at 12:58 PM, Joel Fernandes > wrote: > > On Fri, Jun 01, 2018 at 11:03:09AM +0900, Byungchul Park wrote: > >> Currently, the range of jiffies_till_{first,next}_fqs are checked and > >> adjusted on and on in the

Re: [PATCH] rcu: Check the range of jiffies_till_{first,next}_fqs when setting them

2018-06-02 Thread Byungchul Park
On Sun, Jun 3, 2018 at 12:58 PM, Joel Fernandes wrote: > On Fri, Jun 01, 2018 at 11:03:09AM +0900, Byungchul Park wrote: >> Currently, the range of jiffies_till_{first,next}_fqs are checked and >> adjusted on and on in the loop of rcu_gp_kthread on runtime. >> >> However, it's enough to check them

Re: [RESEND, v3, 2/2] sched/deadline: Initialize cp->elements[].cpu to an invalid value

2018-06-02 Thread Byungchul Park
On Sat, Jun 2, 2018 at 12:52 AM, Joel Fernandes wrote: > On Fri, Jun 01, 2018 at 04:10:56PM +0900, Byungchul Park wrote: >> > On Thu, May 31, 2018 at 11:12:55PM -0700, Joel Fernandes wrote: >> > > On Mon, Jan 08, 2018 at 03:14:41PM +0900, byungchul park wrote: >> > > > Currently, migrating tasks t

Re: [PATCH v2] exec: binfmt_misc: update reference to documentation

2018-06-02 Thread Randy Dunlap
On 06/02/2018 09:49 PM, tom...@gmail.com wrote: > From: Thomas Anderson > > Documentation/binfmt_misc.txt was moved to > Documentation/admin-guide/binfmt-misc.rst in 9d85025b. This change > updates a reference to the file. > > Signed-off-by: Thomas Anderson Al, I see a similar patch from Tom

[PATCH v2] exec: binfmt_misc: update reference to documentation

2018-06-02 Thread tomkpz
From: Thomas Anderson Documentation/binfmt_misc.txt was moved to Documentation/admin-guide/binfmt-misc.rst in 9d85025b. This change updates a reference to the file. Signed-off-by: Thomas Anderson --- fs/binfmt_misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/bin

Re: [PATCH] rcu: Check the range of jiffies_till_{first,next}_fqs when setting them

2018-06-02 Thread Joel Fernandes
On Fri, Jun 01, 2018 at 11:03:09AM +0900, Byungchul Park wrote: > Currently, the range of jiffies_till_{first,next}_fqs are checked and > adjusted on and on in the loop of rcu_gp_kthread on runtime. > > However, it's enough to check them only when setting them, not every > time in the loop. So mak

[PATCH] slab: Clean up the code comment in slab kmem_cache struct

2018-06-02 Thread Baoquan He
In commit 3b0efdfa1e7("mm, sl[aou]b: Extract common fields from struct kmem_cache") The variable 'obj_size' was moved above, however the related code comment is not updated accordingly. Do it here. Signed-off-by: Baoquan He --- include/linux/slab_def.h | 7 --- 1 file changed, 4 insertio

[PATCH] Staging:greybus Fix comparison to NULL

2018-06-02 Thread Janani Sankara Babu
This patch replaces comparison of var to NULL with !var Signed-off-by: Janani Sankara Babu --- drivers/staging/greybus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index dafa430..5d14a4e 100644 --- a/dr

[PATCH 2/4] clk: imx6sl: remove clks_init_on array

2018-06-02 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx6sl.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/clk/imx/clk-i

(#662655547) Gmail 转发确认 - 从 yangjz1...@gmail.com 接收邮件

2018-06-02 Thread Gmail 小组敬上
yangjz1...@gmail.com 已请求自动将邮件转发到您的电子邮件地址 linux-kernel@vger.kernel.org。 确认代码:662655547 要让 yangjz1...@gmail.com 自动将邮件转发到您的地址,请点击下面的链接确认请求: https://mail-settings.google.com/mail/vf-%5BANGjdJ9ivX7ZrRaOC6uRBj-8Mc0GvYpKNyWsM4FV_vXSrV3j_xLprraeYhelfBtQq10rpYecH4SYDBYuub1zJaMZQ7E-5bQYbyRwzGozPw%5D-vMtvH8

[PATCH 3/4] clk: imx6sx: remove clks_init_on array

2018-06-02 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx6sx.c | 40 ++-- 1 file changed, 14 insertions(+), 26 de

[PATCH 4/4] clk: imx6ul: remove clks_init_on array

2018-06-02 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. Signed-off-by: Anson Huang --- This patch is based on "[V2,1/2] clk: imx6ul: add GPIO clock gates". drivers/clk/imx/clk-imx6ul.c | 23

[PATCH 1/4] clk: imx6q: remove clks_init_on array

2018-06-02 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx6q.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/dri

Re: [PATCH 0/7] MIPS: boot: fix various problems in arch/mips/boot/Makefile

2018-06-02 Thread Masahiro Yamada
Hi MIPS maintainers, 2018-04-16 23:47 GMT+09:00 Masahiro Yamada : > > When I was trying to fix commit 0f9da844d877 in a more correct way, > I found various problems in arch/mips/boot/Makefile. > > ITS is always rebuilt when you rebuild the kernel without touching > anything. Many build rules are

[PATCH V2 2/3] ARM: imx: add cpu idle support for i.MX6SLL

2018-06-02 Thread Anson Huang
i.MX6SLL supports cpu idle with ARM power gated, it can reuse i.MX6SX's cpu idle driver to support below 3 states of cpu idle: state0: WFI; state1: WAIT mode with ARM power on; state2: WAIT mode with ARM power off. L2_PGE in GPC_CNTR needs to be cleared to support state2 cpu idle. Signed-off-by:

[PATCH V2 1/3] ARM: imx: add L2 page power control for GPC

2018-06-02 Thread Anson Huang
Some platforms like i.MX6UL/i.MX6SLL have L2 page power control in GPC, it needs to be disabled if ARM is power gated and L2 is NOT flushed, add GPC interface to control it. Signed-off-by: Anson Huang --- no change since V1. arch/arm/mach-imx/common.h | 1 + arch/arm/mach-imx/gpc.c| 14

[PATCH V2 3/3] ARM: imx: remove i.MX6SLL support in i.MX6SL cpu idle driver

2018-06-02 Thread Anson Huang
i.MX6SLL supports ARM power off in cpu idle, better to reuse i.MX6SX cpu idle driver instead of i.MX6SL which does NOT support ARM power off. Signed-off-by: Anson Huang --- no change since V1. arch/arm/mach-imx/cpuidle-imx6sl.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff -

Re: [PATCH V2 2/2] ARM: dts: imx6ul: add GPIO clocks

2018-06-02 Thread Fabio Estevam
On Sat, Jun 2, 2018 at 10:44 PM, Anson Huang wrote: > i.MX6UL has GPIO clock gates in CCM CCGR, add > clock property for GPIO driver to make sure all > GPIO banks work as expected. > > Signed-off-by: Anson Huang Reviewed-by: Fabio Estevam

Re: [PATCH V2 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Fabio Estevam
On Sat, Jun 2, 2018 at 10:44 PM, Anson Huang wrote: > i.MX6UL has GPIO clock gates in CCM CCGR, > add them into clock tree for clock management. > > Signed-off-by: Anson Huang Reviewed-by: Fabio Estevam

[PATCH V2 2/2] ARM: dts: imx6ul: add GPIO clocks

2018-06-02 Thread Anson Huang
i.MX6UL has GPIO clock gates in CCM CCGR, add clock property for GPIO driver to make sure all GPIO banks work as expected. Signed-off-by: Anson Huang --- no changes since V1. arch/arm/boot/dts/imx6ul.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.d

[PATCH V2 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Anson Huang
i.MX6UL has GPIO clock gates in CCM CCGR, add them into clock tree for clock management. Signed-off-by: Anson Huang --- changes since V1: Move IMX6UL_CLK_GPIOx definition to end of clock table; Based on Fabio's patch "[v2] dt-bindings: clock: imx6ul: Do not change the clock defin

linux-next: Signed-off-by missing for commits in the pci tree

2018-06-02 Thread Stephen Rothwell
Hi Bjorn, Commits aeddc65a043f ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver DT bindings") c1efa236b42b ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver") 18eb4158c840 ("PCI: mobiveil: Add MSI support") are missing a Signed-off-by from their committer. -- Cheers, Step

Re: [PATCH] x86,switch_mm: skip atomic operations for init_mm

2018-06-02 Thread Rik van Riel
On Sun, 2018-06-03 at 00:51 +, Song Liu wrote: > > Just to check: in the workload where you're seeing this problem, > > are > > you using an mm with many threads? I would imagine that, if you > > only > > have one or two threads, the bit operations aren't so bad. > > Yes, we are running netp

RE: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Anson Huang
Hi, Stephen Anson Huang Best Regards! > -Original Message- > From: Stephen Boyd [mailto:sb...@kernel.org] > Sent: Saturday, June 2, 2018 2:19 PM > To: Anson Huang ; Stefan Wahren > ; Fabio Estevam ; > ker...@pengutronix.de; mark.rutl...@arm.com; matteo.l...@engicam.com; > mich...@amarula

[PATCH][RFC] open_tree(2) (was Re: [PATCH 30/32] vfs: Allow cloning of a mount tree with open(O_PATH|O_CLONE_MOUNT) [ver #8])

2018-06-02 Thread Al Viro
On Sat, Jun 02, 2018 at 06:49:58PM +0100, Al Viro wrote: > > > Hell, might even add AT_UMOUNT for "open root and detach, to be dissolved > > > on > > > close", incompatible with AT_CLONE. > > > > Cute. Guess you could do: > > > > fd = open_mount(..., OPEN_TREE_DETACH); > > mount_setatt

Re: [PATCH] x86,switch_mm: skip atomic operations for init_mm

2018-06-02 Thread Song Liu
> On Jun 2, 2018, at 1:14 PM, Andy Lutomirski wrote: > > On Fri, Jun 1, 2018 at 10:04 PM Rik van Riel wrote: >> >> On Fri, 2018-06-01 at 20:35 -0700, Andy Lutomirski wrote: >>> On Fri, Jun 1, 2018 at 3:13 PM Rik van Riel wrote: On Fri, 1 Jun 2018 14:21:58 -0700 Andy Lutomirs

re1

2018-06-02 Thread Ms. Ella Golan
I am Ms.Ella Golan, I am the Executive Vice President Banking Division with FIRST INTERNATIONAL BANK OF ISRAEL LTD (FIBI). I am getting in touch with you regarding an extremely important and urgent matter. If you would oblige me the opportunity, I shall provide you with details upon your respons

Re: [PATCH v8] ASoC: pxa: switch to new ac97 bus support

2018-06-02 Thread Robert Jarzmik
Robert Jarzmik writes: > Switch to the new ac97 bus support in sound/ac97 instead of the legacy > snd_ac97 one. > + codecs_pdata = pdata ? pdata->codecs_pdata : NULL; It's a shame my automated build and test system didn't catch that : it should have been pdata->codec_pdata and not pdata->cod

[PATCH] power: reset: zx-reboot: put device node in zx_reboot_probe()

2018-06-02 Thread Alexey Khoroshilov
zx_reboot_probe() increments refcnt of zx296702-pcu device node by of_find_compatible_node() and leaves it undecremented on both successful and error paths. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/power/reset/zx-reboot.c | 1 +

Re: [PATCH] exec: binfmt_misc: update reference to documentation

2018-06-02 Thread Randy Dunlap
On 06/02/2018 01:11 PM, tom...@gmail.com wrote: > From: tomKPZ > > Documentation/binfmt_misc.txt was moved to > Documentation/admin-guide/binfmt-misc.rst in 9d85025b. This change > updates a reference to the file. Please see Documentation/process/submitting-patches.rst, about Signed-off-by: th

Re: [PATCH v2] mm: Change return type int to vm_fault_t for fault handlers

2018-06-02 Thread Matthew Wilcox
On Sun, Jun 03, 2018 at 01:34:07AM +0530, Souptick Joarder wrote: > @@ -3570,9 +3571,8 @@ static int hugetlb_cow(struct mm_struct *mm, struct > vm_area_struct *vma, > return 0; > } > > - ret = (PTR_ERR(new_page) == -ENOMEM) ? > -

Re: [v2,3/3] i2c: at91: added slave mode support

2018-06-02 Thread Wolfram Sang
On Thu, Nov 09, 2017 at 06:22:29PM +0100, Juergen Fitschen wrote: > Slave mode driver is based on the concept of i2c-designware driver. > > Signed-off-by: Juergen Fitschen I lost the original mail where Ludovic said: "I tested it quickly on a sama5d2 xplained board: I used an i2c-gpio master an

[GIT PULL] Thermal SoC management updates for v4.18-rc1 #1

2018-06-02 Thread Eduardo Valentin
Hello Rui, Please pull the changes for thermal-soc for coming v4.18-rc1. Changelog: - imx thermal driver now supports i.MX7 thermal sensor - exynos thermal driver dropped support for exynos 5440 - rcar_thermal now supports r8a77995 - rcar_gen3_thermal now supports r8a77965 - qcom-spmi-temp-alarm n

Re: linux-next: build warnings after merge of the kbuild tree

2018-06-02 Thread Arnd Bergmann
On Fri, Jun 1, 2018 at 6:01 AM, Kees Cook wrote: > On Thu, May 31, 2018 at 6:56 PM, Masahiro Yamada > wrote: >> 2018-05-31 12:53 GMT+09:00 Kees Cook : >>> On Wed, May 30, 2018 at 6:26 PM, Kees Cook wrote: On Wed, May 30, 2018 at 6:12 PM, Masahiro Yamada > This has been triggered by the

Re: [PATCH] x86,switch_mm: skip atomic operations for init_mm

2018-06-02 Thread Andy Lutomirski
On Fri, Jun 1, 2018 at 10:04 PM Rik van Riel wrote: > > On Fri, 2018-06-01 at 20:35 -0700, Andy Lutomirski wrote: > > On Fri, Jun 1, 2018 at 3:13 PM Rik van Riel wrote: > > > > > > On Fri, 1 Jun 2018 14:21:58 -0700 > > > Andy Lutomirski wrote: > > > > > > > Hmm. I wonder if there's a more cleve

[PATCH] exec: binfmt_misc: update reference to documentation

2018-06-02 Thread tomkpz
From: tomKPZ Documentation/binfmt_misc.txt was moved to Documentation/admin-guide/binfmt-misc.rst in 9d85025b. This change updates a reference to the file. --- fs/binfmt_misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index a41b48

Re: dm-crypt: fix warning in shutdown path

2018-06-02 Thread Jens Axboe
On 6/2/18 2:07 PM, Mike Snitzer wrote: > On Sat, Jun 02 2018 at 4:03pm -0400, > Jens Axboe wrote: > >> On 6/2/18 11:45 AM, Kent Overstreet wrote: >>> The counter for the number of allocated pages includes pages in the >>> mempool's reserve, so checking that the number of allocated pages is 0 >>>

[PATCH v2] mm: Change return type int to vm_fault_t for fault handlers

2018-06-02 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. Ref-> commit 1c8f422059ae ("mm: change return type to vm_fault_t") The aim

Re: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

2018-06-02 Thread Chris Healy
On Thu, May 17, 2018 at 12:19 PM, Nikita Yushchenko wrote: > This adds rave-sp powerbutton and backlight devices to RDU1 device tree. > > Signed-off-by: Nikita Yushchenko > --- Tested-by: Chris Healy Tested on an 8.9" RDU1.

Proposal

2018-06-02 Thread Miss Victoria Mehmet
-- Hello I have been trying to contact you. Did you get my business proposal? Best Regards, Miss.Victoria Mehmet

Re: [PATCH v2] thermal: qcom: tsens: Allow number of sensors to come from DT

2018-06-02 Thread Bjorn Andersson
On Sat 02 Jun 12:32 PDT 2018, Bjorn Andersson wrote: > For platforms that has multiple copies of the TSENS hardware block it's > convenient to specify the number of sensors per block in DeviceTree. > > Reviewed-by: Amit Kucheria > Reviewed-by: Rob Herring [binding] > Signed-off-by: Bjorn Anders

[PATCH v2] thermal: qcom: tsens: Allow number of sensors to come from DT

2018-06-02 Thread Bjorn Andersson
For platforms that has multiple copies of the TSENS hardware block it's convenient to specify the number of sensors per block in DeviceTree. Reviewed-by: Amit Kucheria Reviewed-by: Rob Herring [binding] Signed-off-by: Bjorn Andersson --- Changes since v1: - Added comment as suggested by Amit -

[PATCH v8] ASoC: pxa: switch to new ac97 bus support

2018-06-02 Thread Robert Jarzmik
Switch to the new ac97 bus support in sound/ac97 instead of the legacy snd_ac97 one. Signed-off-by: Robert Jarzmik --- Since v7: added a NULL pointer check v7 was in https://patchwork.kernel.org/patch/9951919/ --- sound/arm/Kconfig | 1 - sound/soc/pxa/Kconfig | 5 ++-

Re: [PATCH v3 4/4] seccomp: add support for passing fds via USER_NOTIF

2018-06-02 Thread Alban Crequy
On Thu, 31 May 2018 at 16:52, Tycho Andersen wrote: > > The idea here is that the userspace handler should be able to pass an fd > back to the trapped task, for example so it can be returned from socket(). > > I've proposed one API here, but I'm open to other options. In particular, > this only le

Re: [PATCH] power: Print wakeup_count instead of event_count in the sysfs attribute.

2018-06-02 Thread Pavel Machek
On Fri 2018-06-01 19:32:15, Ravi Chandra Sadineni wrote: > Currently we show event_count instead of wakeup_count as part of per > device wakeup_count sysfs attribute. Change it to wakeup_count to make > it more meaningful. > > Signed-off-by: Ravi Chandra Sadineni Acked-by: Pavel Machek -- (en

Re: [PATCH v1 2/2] PCI: shpchp: Fix AMD POGO identification

2018-06-02 Thread Mika Westerberg
On Sat, Jun 02, 2018 at 12:42:12AM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > The fix for an AMD POGO erratum related to SHPC incorrectly identified the > device. The workaround should be applied only for AMD POGO devices, but it > was instead applied to: > > - all AMD bridges, and

Re: [PATCH v1 1/2] PCI: shpchp: Use dev_printk() for OSHP-related messages

2018-06-02 Thread Mika Westerberg
On Sat, Jun 02, 2018 at 12:42:06AM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Use dev_printk() for messages related to requesting control of SHPC hotplug > via the OSHP method. > > Signed-off-by: Bjorn Helgaas Reviewed-by: Mika Westerberg

[PATCH v3 3/5] staging: mt7621-spi: Use tabs for indentation instead of spaces.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : code indent should use tabs where possible Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging

[PATCH v3 5/5] staging: mt7621-spi: Remove unnecessary braces {} from single statement if block.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : braces {} are not necessary for single statement blocks Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v3 4/5] staging: mt7621-spi: Add a space before open paranthesis.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : space required before the open parenthesis Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging

[PATCH v3 2/5] staging: mt7621-spi: Fix line over 80 characters by refactoring.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : line over 80 characters Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi

[PATCH v3 0/5] staging: mt7621-spi: Fix C Coding style issues.

2018-06-02 Thread Sankalp Negi
This patch series lists different changes for coding style fixes as reported by checkpatch.pl, changes can be broken down as : 1. Indent switch and case labels at the same level. 2. Fix a line over 80 columns by refactoring. 3. Use tabs for indentation instead of spaces. 4. Add a space before open

[PATCH v3 1/5] staging: mt7621-spi: Indent case labels and switch at the same level.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : switch and case should be at the same indent Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-

Re: [PATCH v3 4/4] seccomp: add support for passing fds via USER_NOTIF

2018-06-02 Thread Tycho Andersen
Hi Jann, Thanks for taking a look! On Sat, Jun 02, 2018 at 03:13:39PM +0200, Jann Horn wrote: > On Sat, Jun 2, 2018 at 2:58 PM Tycho Andersen wrote: > > The idea here is that the userspace handler should be able to pass an fd > > back to the trapped task, for example so it can be returned from s

Re: [PATCH 30/32] vfs: Allow cloning of a mount tree with open(O_PATH|O_CLONE_MOUNT) [ver #8]

2018-06-02 Thread Al Viro
On Sat, Jun 02, 2018 at 04:45:21PM +0100, David Howells wrote: > Al Viro wrote: > > > TBH, I would probably prefer separate mount_setattr(2) for that kind > > of work, with something like > > int mount_setattr(int dirfd, const char *path, int flags, int attr) > > *not* opening any files. > >

Re: [PATCH] PCI: Check for PCIe downtraining conditions

2018-06-02 Thread Pavel Machek
On Thu 2018-05-31 10:05:33, Alexandru Gagniuc wrote: > PCIe downtraining happens when both the device and PCIe port are > capable of a larger bus width or higher speed than negotiated. > Downtraining might be indicative of other problems in the system, and > identifying this from userspace is neith

/proc/kallsyms shows undefined symbols for livepatch modules

2018-06-02 Thread Josh Poimboeuf
Hi Jessica, I found a bug: [root@f25 ~]# modprobe livepatch-sample [root@f25 ~]# grep ' u ' /proc/kallsyms 81161080 u klp_enable_patch [livepatch_sample] 81a01800 u __fentry__ [livepatch_sample] 81161250 u klp_unregister_patch [livepatch_sample] fff

Re: [RESEND PATCH v2] kernfs: fix dentry unexpected skip

2018-06-02 Thread Eric W. Biederman
"Hatayama, Daisuke" writes: > kernfs_dir_next_pos() overlooks the situation that the dentry > corresponding to a given pos object has already been inactive. Hence, > when kernfs_dir_pos() returns the dentry with a hash value larger than > the original one, kernfs_dir_next_pos() returns the dentry

Dear Talented

2018-06-02 Thread Lisa Clement
Dear Talented, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

Re: [PATCH] softirq: reorder trace_softirqs_on to prevent lockdep splat

2018-06-02 Thread Steven Rostedt
On Thu, 31 May 2018 21:52:15 -0700 Joel Fernandes wrote: > On Mon, May 07, 2018 at 02:21:17PM -0400, Steven Rostedt wrote: > > Peter, Ingo or Thomas, > > > > Can you queue this up? Or would you prefer that I take it? > > This patch is a bug fix, could it be queued for v4.17 -rc cycle or for >

[PATCH 2/3] arm64: dts: actions: Add interrupt properties to pinctrl node for S900

2018-06-02 Thread Manivannan Sadhasivam
Add interrupt properties to pinctrl node for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index aa3a

[PATCH 3/3] pinctrl: actions: Add interrupt support for OWL S900 SoC

2018-06-02 Thread Manivannan Sadhasivam
Add interrupt support for Actions Semi OWL S900 SoC. Signed-off-by: Manivannan Sadhasivam --- drivers/pinctrl/actions/Kconfig| 1 + drivers/pinctrl/actions/pinctrl-owl.c | 231 - drivers/pinctrl/actions/pinctrl-owl.h | 22 ++- drivers/pinctrl/actions/pinctrl-

[PATCH 1/3] dt-bindings: pinctrl: Add gpio interrupt bindings for Actions S900 SoC

2018-06-02 Thread Manivannan Sadhasivam
Add gpio interrupt bindings for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- .../bindings/pinctrl/actions,s900-pinctrl.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt b/Documentati

[PATCH 0/3] Add gpio interrupt support for Actions Semi S900 SoC

2018-06-02 Thread Manivannan Sadhasivam
This patchset adds interrupt support for Actions Semi S900 GPIO's. Each port has individual register sets for configuring the below interrupt types: 1. Rising Edge Interrupt 2. Falling Edge Interrupt 3. High Level Interrupt 4. Low Level Interrupt Thanks, Mani Manivannan Sadhasivam (3): dt-bind

Re: [PATCH] mm: kvmalloc does not fallback to vmalloc for incompatible gfp flags

2018-06-02 Thread Linus Torvalds
On Fri, Jun 1, 2018 at 4:53 AM Michal Hocko wrote: > > for more context. Linus has pointed out [1] that our (well mine) > insisting on GFP_KERNEL compatible gfp flags for kvmalloc* can actually > lead to a worse code because people will work around the restriction. > So this patch allows kvmalloc

[GIT PULL] VFIO fix for v4.17

2018-06-02 Thread Alex Williamson
Hi Linus, Sorry for the last minute pull request, a bisection has just identified the commit reverted below as introducing a bad page state issue for vfio users. Please pull for v4.17. Thanks, Alex The following changes since commit 0512e0134582ef85dee77d51aae77dcd1edec495: Merge tag 'xfs-4

[PATCH] Revert "vfio/type1: Improve memory pinning process for raw PFN mapping"

2018-06-02 Thread Alex Williamson
Bisection by Amadeusz Sławiński implicates this commit leading to bad page state issues after VM shutdown, likely due to unbalanced page references. The original commit was intended only as a performance improvement, therefore revert for offline rework. Link: https://lkml.org/lkml/2018/6/2/97 Fix

[PATCH] kconfig: Avoid format overflow warning from GCC 8.1

2018-06-02 Thread Nathan Chancellor
In file included from scripts/kconfig/zconf.tab.c:2485: scripts/kconfig/confdata.c: In function ‘conf_write’: scripts/kconfig/confdata.c:773:22: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(newname, "%s%s", dirname,

Re: [PATCH 2/5] lib/rhashtable: guarantee initial hashtable allocation

2018-06-02 Thread Herbert Xu
On Fri, Jun 01, 2018 at 10:41:31PM -0700, Davidlohr Bueso wrote: > On Sat, 02 Jun 2018, Herbert Xu wrote: > > > tbl = bucket_table_alloc(ht, size, GFP_KERNEL); > > > - if (tbl == NULL) > > > - return -ENOMEM; > > > + if (unlikely(tbl == NULL)) { > > > + size = min_t(u16, ht->p.min

Re: [PATCH 30/32] vfs: Allow cloning of a mount tree with open(O_PATH|O_CLONE_MOUNT) [ver #8]

2018-06-02 Thread David Howells
Al Viro wrote: > TBH, I would probably prefer separate mount_setattr(2) for that kind > of work, with something like > int mount_setattr(int dirfd, const char *path, int flags, int attr) > *not* opening any files. > flags: > AT_EMPTY_PATH, AT_NO_AUTOMOUNT, AT_RECURSIVE I would call t

Re: [PATCH] ARM: dts: exynos: Add missing CPU clocks to secondary CPUs on Exynos542x

2018-06-02 Thread Alim Akhtar
Hi Krzysztof, On Wed, May 30, 2018 at 10:19 PM, Krzysztof Kozlowski wrote: > Secondary CPUs should have the same information in DeviceTree as booting > CPU from both correctness point of view and for possible hotplug > scenarios. > > Suggested-by: Viresh Kumar > Signed-off-by: Krzysztof Kozlowsk

Re: [PATCH v2 0/5] staging: mt7621-spi: Fix Coding style issues.

2018-06-02 Thread Joe Perches
On Sat, 2018-06-02 at 19:56 +0530, Sankalp Negi wrote: > This patch series lists different changes for coding style fixes > as reported by checkpatch.pl, changes can be broken down as : > > 1. Indent switch and case labels at the same level > 2. Fix a line over 80 columns > 3. Place tabs for inden

[PATCH v2] DMA: OMAP: fix OMAP1510 incorrect residue_granularity

2018-06-02 Thread Janusz Krzysztofik
Commit 0198d7bb8a0c ("ASoC: omap-mcbsp: Convert to use the sdma-pcm instead of omap-pcm") resulted in broken audio playback on OMAP1510 (discovered on Amstrad Delta). When running on OMAP1510, omap-pcm used to obtain DMA offset from snd_dmaengine_pcm_pointer_no_residue() based on DMA interrupt tri

Re: bisected 4.17-rc - BUG: Bad page state in process qemu-system-x86 pfn:7178f3

2018-06-02 Thread Alex Williamson
On Sat, 2 Jun 2018 11:56:24 +0200 Amadeusz Sławiński wrote: > Hey, > > so I've been getting system instability problems after shutting down > virtual machine with GPU pass-through in 4.17-rc series and I finally > got around to bisecting it. > > Seems to be caused by 356e88ebe4473a3663cf3d14727

[GIT PULL 0/4] perf/urgent fixes

2018-06-02 Thread Arnaldo Carvalho de Melo
acme/linux into perf/urgent (2018-05-31 12:37:07 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-4.17-20180602 for you to fetch changes up to 0b3a18387f3e5cdcfaaf884860a4688280d09c9d: perf tools intel-

Re: [PATCH] mm: Change return type to vm_fault_t

2018-06-02 Thread Luc Van Oostenryck
On Sat, Jun 02, 2018 at 08:25:29PM +0530, Souptick Joarder wrote: > CHECK mm/gup.c > mm/gup.c:394:17: error: undefined identifier '__COUNTER__' > mm/gup.c:439:9: error: undefined identifier '__COUNTER__' > mm/gup.c:441:9: error: undefined identifier '__COUNTER__' > mm/gup.c:443:9: error: undefi

[PATCH 2/4] tools headers: Synchronize prctl.h ABI header

2018-06-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick up changes from: $ git log --oneline -2 -i include/uapi/linux/prctl.h 356e4bfff2c5 prctl: Add force disable speculation b617cfc85816 prctl: Add speculation control prctls $ tools/perf/trace/beauty/prctl_option.sh > before.c $ cp include/uapi/linu

[PATCH 1/4] perf trace beauty prctl: Default header_dir to cwd to work without parms

2018-06-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Useful when checking the effects of header synchs for the files it uses as a input to generate string tables, in retrospect this is how it should've been done from day 1, not requiring the header_dir to be set on the Makefile, will change everything later, so that t

[PATCH 4/4] perf tools intel-pt-decoder: Update insn.h from the kernel sources

2018-06-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick up the changes in: ee6a7354a362 ("kprobes/x86: Prohibit probing on exception masking instructions") That doesn't entail changes in tooling, but silences this perf build warning: Warning: Intel PT: x86 instruction decoder header at 'tools/perf/util/i

[PATCH 3/4] tools headers: Sync x86 cpufeatures.h with the kernel sources

2018-06-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick up changes found in these csets: 11fb0683493b x86/speculation: Add virtualized speculative store bypass disable support d1035d971829 x86/cpufeatures: Add FEATURE_ZEN 52817587e706 x86/cpufeatures: Disentangle SSBD enumeration 7eb8956a7fec x86/cpufeature

Re: [PATCH] mm: Change return type to vm_fault_t

2018-06-02 Thread Souptick Joarder
On Wed, May 30, 2018 at 4:46 PM, Matthew Wilcox wrote: > On Wed, May 30, 2018 at 09:10:47AM +0530, Souptick Joarder wrote: >> On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox wrote: >> > I see: >> > >> > mm/gup.c:817:15: warning: invalid assignment: |= >> > mm/gup.c:817:15:left side has type

Re: [PATCH] mm: Change return type to vm_fault_t

2018-06-02 Thread Souptick Joarder
Please ignoe this mail. I send it by mistake. On Sat, Jun 2, 2018 at 8:14 PM, Souptick Joarder wrote: > On Wed, May 30, 2018 at 4:46 PM, Matthew Wilcox wrote: >> On Wed, May 30, 2018 at 09:10:47AM +0530, Souptick Joarder wrote: >>> On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox >>> wrote: >>

Re: [PATCH] mm: Change return type to vm_fault_t

2018-06-02 Thread Souptick Joarder
On Wed, May 30, 2018 at 4:46 PM, Matthew Wilcox wrote: > On Wed, May 30, 2018 at 09:10:47AM +0530, Souptick Joarder wrote: >> On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox wrote: >> > I see: >> > >> > mm/gup.c:817:15: warning: invalid assignment: |= >> > mm/gup.c:817:15:left side has type

Re: LKMM litmus test for Roman Penyaev's rcu-rr

2018-06-02 Thread Paul E. McKenney
On Thu, May 31, 2018 at 10:27:33AM -0400, Alan Stern wrote: > On Wed, 30 May 2018, Paul E. McKenney wrote: > > > On Wed, May 30, 2018 at 05:01:01PM -0500, Linus Torvalds wrote: > > > On Wed, May 30, 2018 at 2:08 PM Alan Stern > > > wrote: > > > > > > > > Indeed. The very first line Linus quoted

Re: [PATCH] DMA: OMAP: fix OMAP1510 incorrect residue_granularity

2018-06-02 Thread Janusz Krzysztofik
On Saturday, June 2, 2018 4:22:04 PM CEST Janusz Krzysztofik wrote: > - by passing dma_caps.residue_granularity = > DMA_RESIDUE_GRANULARITY_DESCRIPTOR from drivers/dma/omap-dma.c. > > Let's do the latter. > > Created and tested against next-20180531 tag from linux-next tree. I'm sorry, I misse

Re: [PATCH] clk: davinci: cfgchip: testing the wrong variable

2018-06-02 Thread David Lechner
On 06/02/2018 02:52 AM, Dan Carpenter wrote: There is a copy and paste bug here. We should be testing "usb1" instead of "usb0". Fixes: 58e1e2d2cd89 ("clk: davinci: cfgchip: Add TI DA8XX USB PHY clocks") Signed-off-by: Dan Carpenter diff --git a/drivers/clk/davinci/da8xx-cfgchip.c b/drivers/c

Re: [PATCH] clk: Return void from debug_init op

2018-06-02 Thread David Lechner
On 06/02/2018 12:06 AM, sb...@kernel.org wrote: From: Stephen Boyd We only have two users of the debug_init hook, and we recently stopped caring about the return value from that op. Finish that off by changing the clk_op to return void instead of int because it doesn't matter if debugfs fails o

[PATCH v2 2/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : line over 80 characters Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi

[PATCH v2 4/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : space required before the open parenthesis Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging

[PATCH v2 3/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : code indent should use tabs where possible Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging

[PATCH v2 5/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : braces {} are not necessary for single statement blocks Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v2 1/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : switch and case should be at the same indent Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-

[PATCH v2 0/5] staging: mt7621-spi: Fix Coding style issues.

2018-06-02 Thread Sankalp Negi
This patch series lists different changes for coding style fixes as reported by checkpatch.pl, changes can be broken down as : 1. Indent switch and case labels at the same level 2. Fix a line over 80 columns 3. Place tabs for indentation instead of spaces 4. Add a space before open paranthesis in

[PATCH] DMA: OMAP: fix OMAP1510 incorrect residue_granularity

2018-06-02 Thread Janusz Krzysztofik
Commit 0198d7bb8a0c ("ASoC: omap-mcbsp: Convert to use the sdma-pcm instead of omap-pcm") resulted in broken audio playback on OMAP1510 (discovered on Amstrad Delta). When running on OMAP1510, omap-pcm used to obtain DMA offset from snd_dmaengine_pcm_pointer_no_residue() based on DMA interrupt tri

Re: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Michael Nazzareno Trimarchi
Hi Fabio On Sat, Jun 2, 2018 at 4:07 PM, Fabio Estevam wrote: > Hi Michael, > > On Sat, Jun 2, 2018 at 11:04 AM, Michael Nazzareno Trimarchi > wrote: > >> ull is a preatty new platform so one board was listed. Are you sure >> that we need? > > There are several imx6ul based dts in mainline and i

Re: [RESEND] [PATCH] platform/x86: dell-wmi: Ignore new rfkill and fn-lock events

2018-06-02 Thread Andy Shevchenko
On Fri, Jun 1, 2018 at 7:47 PM, Darren Hart wrote: > On Fri, Jun 01, 2018 at 11:20:39AM +0300, Andy Shevchenko wrote: >> On Fri, Jun 1, 2018 at 6:23 AM, Kai-Heng Feng >> wrote: >> Pushed to my review and testing queue, thanks! >> >> P.S. There are some patches under Darren's queue, but for some

Re: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Fabio Estevam
Hi Michael, On Sat, Jun 2, 2018 at 11:04 AM, Michael Nazzareno Trimarchi wrote: > ull is a preatty new platform so one board was listed. Are you sure > that we need? There are several imx6ul based dts in mainline and it is better if we can avoid dtb breakage when possible. In this case we can

Re: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Michael Nazzareno Trimarchi
Hi On Sat, Jun 2, 2018 at 3:48 PM, Fabio Estevam wrote: > Hi Stefan, > > On Tue, May 22, 2018 at 9:25 AM, Stefan Wahren wrote: > >>> --- a/include/dt-bindings/clock/imx6ul-clock.h >>> +++ b/include/dt-bindings/clock/imx6ul-clock.h >>> @@ -242,20 +242,25 @@ >>> #define IMX6UL_CLK_CKO2_PODF

Re: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Fabio Estevam
Hi Stefan, On Tue, May 22, 2018 at 9:25 AM, Stefan Wahren wrote: >> --- a/include/dt-bindings/clock/imx6ul-clock.h >> +++ b/include/dt-bindings/clock/imx6ul-clock.h >> @@ -242,20 +242,25 @@ >> #define IMX6UL_CLK_CKO2_PODF 229 >> #define IMX6UL_CLK_CKO2 230 >> #def

Re: [PATCH] Make elf2ecoff work on 64bit host machines

2018-06-02 Thread Thomas Bogendoerfer
On Thu, 31 May 2018 17:03:11 -0700 Paul Burton wrote: > Perhaps we should #include before making use of the types it > provides? good point, will send a new version. > > @@ -518,7 +518,7 @@ int main(int argc, char *argv[]) > > > > for (i = 0; i < nosecs; i++) { > >

  1   2   >