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 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

[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,

[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

[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

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

[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

[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-

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 >

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: [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

/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: [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

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 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

[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-

[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 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

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

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] 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 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

[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 ++-

[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 -

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

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] 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.

[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

[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 >>>

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

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

[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: [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

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: [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

[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 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

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] 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

[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 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

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

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

[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

[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

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/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 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 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

[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] 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] 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

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 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 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

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] 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: [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

<    1   2