Re: [PATCH 4/4] regulator: qcom-rpmh: Update PMIC modes for PMIC5

2019-08-09 Thread Bjorn Andersson
On Fri 09 Aug 00:36 PDT 2019, Vinod Koul wrote: > Add the PMIC5 modes and use them pmic5 ldo and smps > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson > --- > drivers/regulator/qcom-rpmh-regulator.c | 52 + > 1 file changed, 45 insertions(+), 7 deletions(-)

Re: [PATCH 1/3] watchdog: jz4740: Use WDT clock provided by TCU driver

2019-08-09 Thread Guenter Roeck
On Fri, Aug 09, 2019 at 01:59:28PM +0200, Paul Cercueil wrote: > Instead of requesting the "ext" clock and handling the watchdog clock > divider and gating in the watchdog driver, we now request and use the > "wdt" clock that is supplied by the ingenic-timer "TCU" driver. > > The major benefit is

Re: [PATCH 0/3] watchdog: jz4740: Driver update

2019-08-09 Thread Guenter Roeck
On Fri, Aug 09, 2019 at 07:34:49PM +0200, Paul Cercueil wrote: > > > Le ven. 9 août 2019 à 19:29, Guenter Roeck a écrit : > >On Fri, Aug 09, 2019 at 06:55:26PM +0200, Paul Cercueil wrote: > >> Hi Guenter, > >> > >> > >> Le ven. 9 août 2019 à 18:52, Guenter Roeck a écrit > >>: > >> >On Fri, Aug

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-09 Thread Mel Gorman
On Fri, Aug 09, 2019 at 02:43:24PM +0200, Michal Hocko wrote: > On Tue 06-08-19 19:55:09, Minchan Kim wrote: > > On Wed, Jul 31, 2019 at 09:21:01AM +0200, Michal Hocko wrote: > > > On Wed 31-07-19 14:44:47, Minchan Kim wrote: > [...] > > > > As Nick mentioned in the description, without

Re: [PATCH v2 0/4] clk: meson: g12a: add support for DVFS

2019-08-09 Thread Kevin Hilman
Jerome Brunet writes: > On Thu 08 Aug 2019 at 14:18, Kevin Hilman wrote: > >> Neil Armstrong writes: >> >>> The G12A/G12B Socs embeds a specific clock tree for each CPU cluster : >>> cpu_clk / cpub_clk >>> | \- cpu_clk_dyn >>> | | \- cpu_clk_premux0 >>> | ||-

Re: [RFC PATCH v2 0/5] hugetlb_cgroup: Add hugetlb_cgroup reservation limits

2019-08-09 Thread Mike Kravetz
(+CC Michal Koutný, cgro...@vger.kernel.org, Aneesh Kumar) On 8/8/19 4:13 PM, Mina Almasry wrote: > Problem: > Currently tasks attempting to allocate more hugetlb memory than is available > get > a failure at mmap/shmget time. This is thanks to Hugetlbfs Reservations [1]. > However, if a task

Re: [PATCH 1/3] mm/mlock.c: convert put_page() to put_user_page*()

2019-08-09 Thread Michal Hocko
On Fri 09-08-19 15:58:13, Jan Kara wrote: > On Fri 09-08-19 10:23:07, Michal Hocko wrote: > > On Fri 09-08-19 10:12:48, Vlastimil Babka wrote: > > > On 8/9/19 12:59 AM, John Hubbard wrote: > > > >>> That's true. However, I'm not sure munlocking is where the > > > >>> put_user_page() machinery is

Re: [PATCH v8 05/21] clk: tegra: pll: Save and restore pll context

2019-08-09 Thread Dmitry Osipenko
09.08.2019 20:39, Sowjanya Komatineni пишет: > > On 8/9/19 4:33 AM, Dmitry Osipenko wrote: >> 09.08.2019 2:46, Sowjanya Komatineni пишет: >>> This patch implements save and restore of PLL context. >>> >>> During system suspend, core power goes off and looses the settings >>> of the Tegra CAR

Re: [PATCH -next] afs: use correct afs_call_type in yfs_fs_store_opaque_acl2

2019-08-09 Thread Jeffrey E Altman
This change is correct. On 8/9/2019 4:43 AM, YueHaibing wrote: > It seems that 'yfs_RXYFSStoreOpaqueACL2' should be use in > yfs_fs_store_opaque_acl2(). > > Fixes: f5e4546347bc ("afs: Implement YFS ACL setting") > Signed-off-by: YueHaibing > --- > fs/afs/yfsclient.c | 2 +- > 1 file changed, 1

Re: [PATCH -next] afs: remove unused variable 'afs_zero_fid'

2019-08-09 Thread Jeffrey E Altman
Confirmed. On 8/9/2019 4:42 AM, YueHaibing wrote: > fs/afs/fsclient.c:18:29: warning: > afs_zero_fid defined but not used [-Wunused-const-variable=] > > It is never used since commit 025db80c9e42 ("afs: Trace > the initiation and completion of client calls") > > Reported-by: Hulk Robot >

Re: [PATCH] sched: use rq_lock/unlock in online_fair_sched_group

2019-08-09 Thread Valentin Schneider
On 09/08/2019 14:33, Phil Auld wrote: > On Tue, Aug 06, 2019 at 03:03:34PM +0200 Peter Zijlstra wrote: >> On Thu, Aug 01, 2019 at 09:37:49AM -0400, Phil Auld wrote: >>> Enabling WARN_DOUBLE_CLOCK in /sys/kernel/debug/sched_features causes >> >> ISTR there were more issues; but it sure is good to

Re: [PATCH -next] afs: remove unused variable 'afs_voltypes'

2019-08-09 Thread Jeffrey E Altman
This is true but I believe afs_voltypes should be used in the afs_put_volume() and afs_deactivate_volume() enter() tracing. If it will not be used for those calls then removal is correct. Jeffrey Altman On 8/9/2019 4:40 AM, YueHaibing wrote: > fs/afs/volume.c:15:26: warning: > afs_voltypes

[PATCH] tty/serial: atmel: remove redundant assignment to ret

2019-08-09 Thread Colin King
From: Colin Ian King Variable ret is initialized to a value that is never read and it is re-assigned later. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/tty/serial/atmel_serial.c | 2 +- 1 file changed, 1

Re: [PATCH v8 05/21] clk: tegra: pll: Save and restore pll context

2019-08-09 Thread Sowjanya Komatineni
On 8/9/19 4:33 AM, Dmitry Osipenko wrote: 09.08.2019 2:46, Sowjanya Komatineni пишет: This patch implements save and restore of PLL context. During system suspend, core power goes off and looses the settings of the Tegra CAR controller registers. So during suspend entry pll context is

[PATCH V6 3/3] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-09 Thread Shirley Her (SC)
Fix data read/write error in HS200 mode due to chip DLL lock phase shift Signed-off-by:Shirley Her --- change in V6: 1. define constant by using array size 2. add more explanation for the code 3. fix loop forever code error change in V5: 1. split 2 patches into 3 patches 2. make

[PATCH V6 2/3] mmc: sdhci: Modify get CD status function

2019-08-09 Thread Shirley Her (SC)
Modify get CD status function Signed-off-by:Shirley Her --- change in V6: 1. change subjec and commit message to match the patch 2. modify the get CD status function 3. re-arrange the order of some functions change in V5: 1. split 2 patches into 3 patches 2. make dll_adjust_count start

Re: [RFC PATCH v2 0/5] sched/cpufreq: Make schedutil energy aware

2019-08-09 Thread Douglas Raillard
Hi Patrick, On 7/9/19 11:37 AM, Patrick Bellasi wrote: On 08-Jul 14:46, Douglas Raillard wrote: Hi Patrick, On 7/8/19 12:09 PM, Patrick Bellasi wrote: On 03-Jul 17:36, Douglas Raillard wrote: On 7/2/19 4:51 PM, Peter Zijlstra wrote: On Thu, Jun 27, 2019 at 06:15:58PM +0100, Douglas

[PATCH V6 1/3] mmc: sdhci: Change O2 Host PLL and DLL register name

2019-08-09 Thread Shirley Her (SC)
Change register name O2_PLL_WDT_CONTROL1 to O2_PLL_DLL_WDT_CONTROL1 Signed-off-by:Shirley Her --- change in V6: 1. change subject and commit message to match the patch 2. change register name O2_PLL_WDT_CONTROL1 to O2_PLL_DLL_WDT_CONTROL1 change in V5: 1. split 2 patches into 3 patches 2.

[PATCH] Input: add support for polling to input devices

2019-08-09 Thread Dmitry Torokhov
Separating "normal" and "polled" input devices was a mistake, as often we want to allow the very same device work on both interrupt-driven and polled mode, depending on the board on which the device is used. This introduces new APIs: - input_setup_polling - input_set_poll_interval -

Re: [PATCH 0/3] watchdog: jz4740: Driver update

2019-08-09 Thread Paul Cercueil
Le ven. 9 août 2019 à 19:29, Guenter Roeck a écrit : On Fri, Aug 09, 2019 at 06:55:26PM +0200, Paul Cercueil wrote: Hi Guenter, Le ven. 9 août 2019 à 18:52, Guenter Roeck a écrit : >On Fri, Aug 09, 2019 at 01:59:27PM +0200, Paul Cercueil wrote: >> Hi, >> >> This patchset comes

[PATCH] USB: storage: isd200: remove redundant assignment to variable sendToTransport

2019-08-09 Thread Colin King
From: Colin Ian King The variable sendToTransport is being initialized with a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King ---

Re: KASAN: use-after-free Read in ld_usb_release

2019-08-09 Thread Andrey Konovalov
On Fri, Aug 9, 2019 at 6:51 PM Alan Stern wrote: > > Greg: > > See below... > > On Fri, 9 Aug 2019, syzbot wrote: > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:e96407b4 usb-fuzzer: main usb gadget fuzzer driver > > git tree:

Re: Linux 4.19.66

2019-08-09 Thread Greg KH
diff --git a/Makefile b/Makefile index 41a565770431..065e5b34dc02 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 65 +SUBLEVEL = 66 EXTRAVERSION = NAME = "People's Front" diff --git a/drivers/atm/iphase.c

Re: [PATCH 6/7] pwm: jz4740: Make PWM start with the active part

2019-08-09 Thread Paul Cercueil
Le ven. 9 août 2019 à 19:10, Uwe =?iso-8859-1?q?Kleine-K=F6nig?= a écrit : On Fri, Aug 09, 2019 at 02:30:30PM +0200, Paul Cercueil wrote: The PWM will always start with the inactive part. To counter that, when PWM is enabled we switch the configured polarity, and use 'period - duty + 1'

Linux 5.2.8

2019-08-09 Thread Greg KH
I'm announcing the release of the 5.2.8 kernel. All users of the 5.2 kernel series must upgrade. The updated 5.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 5.2.8

2019-08-09 Thread Greg KH
diff --git a/Makefile b/Makefile index 359a6b49e576..bad87c4c8117 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 2 -SUBLEVEL = 7 +SUBLEVEL = 8 EXTRAVERSION = NAME = Bobtail Squid diff --git a/drivers/atm/iphase.c

Linux 4.19.66

2019-08-09 Thread Greg KH
I'm announcing the release of the 4.19.66 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: Linux 4.14.138

2019-08-09 Thread Greg KH
diff --git a/Makefile b/Makefile index ff604059b6a8..82ae13348266 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 137 +SUBLEVEL = 138 EXTRAVERSION = NAME = Petit Gorille diff --git

Linux 4.14.138

2019-08-09 Thread Greg KH
I'm announcing the release of the 4.14.138 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

Re: [PATCH] EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()

2019-08-09 Thread Borislav Petkov
On Fri, Aug 09, 2019 at 10:25:33AM -0700, Luck, Tony wrote: > [Boris/Mauro: I pushed to edac-for-next branch in ras tree > git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git] Yap, this is the workflow. And from now on, we all should refresh our local copies of edac-for-next before

Re: Let's talk about the elephant in the room - the Linux kernel's inability to gracefully handle low memory pressure

2019-08-09 Thread Johannes Weiner
On Fri, Aug 09, 2019 at 04:56:28PM +0200, Vlastimil Babka wrote: > On 8/8/19 7:27 PM, Johannes Weiner wrote: > > On Thu, Aug 08, 2019 at 04:47:18PM +0200, Vlastimil Babka wrote: > >> On 8/7/19 10:51 PM, Johannes Weiner wrote: > >>> From 9efda85451062dea4ea287a886e515efefeb1545 Mon Sep 17 00:00:00

Re: [PATCH] PCI: pciehp: Avoid returning prematurely from sysfs requests

2019-08-09 Thread sathyanarayanan kuppuswamy
Hi, On 8/9/19 3:28 AM, Lukas Wunner wrote: A sysfs request to enable or disable a PCIe hotplug slot should not return before it has been carried out. That is sought to be achieved by waiting until the controller's "pending_events" have been cleared. However the IRQ thread pciehp_ist() clears

Re: [PATCH v9 08/11] x86/boot/64: Adapt assembly for PIE support

2019-08-09 Thread Borislav Petkov
chOn Tue, Jul 30, 2019 at 12:12:52PM -0700, Thomas Garnier wrote: > Change the assembly code to use only relative references of symbols for the > kernel to be PIE compatible. > > Early at boot, the kernel is mapped at a temporary address while preparing > the page table. To know the changes

Re: [PATCH 0/3] watchdog: jz4740: Driver update

2019-08-09 Thread Guenter Roeck
On Fri, Aug 09, 2019 at 06:55:26PM +0200, Paul Cercueil wrote: > Hi Guenter, > > > Le ven. 9 août 2019 à 18:52, Guenter Roeck a écrit : > >On Fri, Aug 09, 2019 at 01:59:27PM +0200, Paul Cercueil wrote: > >> Hi, > >> > >> This patchset comes from a bigger patchset that was cut in smaller > >>

Re: KASAN: use-after-free Read in tomoyo_socket_sendmsg_permission

2019-08-09 Thread Cong Wang
On Fri, Aug 9, 2019 at 1:53 AM Dmitry Vyukov wrote: > > On Fri, Aug 9, 2019 at 12:08 AM Tetsuo Handa > wrote: > > > > On 2019/08/09 1:45, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:107e47cc vrf: make sure skb->data contains ip header

Re: [tip:sched/core] sched/fair: Use rq_lock/unlock in online_fair_sched_group

2019-08-09 Thread Phil Auld
On Fri, Aug 09, 2019 at 06:21:22PM +0200 Dietmar Eggemann wrote: > On 8/8/19 1:01 PM, tip-bot for Phil Auld wrote: > > [...] > > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index 19c58599e967..d9407517dae9 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@

Re: [PATCH] EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()

2019-08-09 Thread Luck, Tony
On Fri, Aug 09, 2019 at 02:18:02PM +, Stephen Douthit wrote: > Depending on how BIOS has marked the reserved region containing the 32KB > MCHBAR you can get warnings like: > > resource sanity check: requesting [mem 0xfed1-0xfed1], which spans > more than reserved [mem

Re: [PATCH v8 19/21] soc/tegra: pmc: Configure deep sleep control settings

2019-08-09 Thread Sowjanya Komatineni
On 8/9/19 9:23 AM, Sowjanya Komatineni wrote: On 8/9/19 6:23 AM, Dmitry Osipenko wrote: 09.08.2019 2:46, Sowjanya Komatineni пишет: Tegra210 and prior Tegra chips have deep sleep entry and wakeup related timings which are platform specific that should be configured before entering into deep

[PATCH] brcmfmac: remove redundant assignment to pointer hash

2019-08-09 Thread Colin King
From: Colin Ian King The pointer hash is being initialized with a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King ---

KASAN: use-after-free Read in rxrpc_send_keepalive

2019-08-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b678c568 Merge tag 'nfs-for-5.3-2' of git://git.linux-nfs... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10ea5e3660 kernel config: https://syzkaller.appspot.com/x/.config?x=a4c9e9f08e9e8960

Re: [PATCH 4/7] pwm: jz4740: Improve algorithm of clock calculation

2019-08-09 Thread Paul Cercueil
Le ven. 9 août 2019 à 19:05, Uwe =?iso-8859-1?q?Kleine-K=F6nig?= a écrit : On Fri, Aug 09, 2019 at 02:30:28PM +0200, Paul Cercueil wrote: The previous algorithm hardcoded details about how the TCU clocks work. The new algorithm will use clk_round_rate to find the perfect clock rate

Re: [PATCH 6/7] pwm: jz4740: Make PWM start with the active part

2019-08-09 Thread Uwe Kleine-König
On Fri, Aug 09, 2019 at 02:30:30PM +0200, Paul Cercueil wrote: > The PWM will always start with the inactive part. To counter that, > when PWM is enabled we switch the configured polarity, and use > 'period - duty + 1' as the real duty. Where does the + 1 come from? This looks wrong. (So if

Re: [PATCH v8 10/21] clk: tegra: clk-super: Add restore-context support

2019-08-09 Thread Sowjanya Komatineni
On 8/9/19 5:17 AM, Dmitry Osipenko wrote: 09.08.2019 2:46, Sowjanya Komatineni пишет: This patch implements restore_context for clk_super_mux and clk_super. During system supend, core power goes off the and context of Tegra CAR registers is lost. So on system resume, context of super clock

Re: [PATCH 4/7] pwm: jz4740: Improve algorithm of clock calculation

2019-08-09 Thread Uwe Kleine-König
On Fri, Aug 09, 2019 at 02:30:28PM +0200, Paul Cercueil wrote: > The previous algorithm hardcoded details about how the TCU clocks work. > The new algorithm will use clk_round_rate to find the perfect clock rate > for the PWM channel. > > Signed-off-by: Paul Cercueil > Tested-by: Mathieu

Re: [PATCH 1/7] pwm: jz4740: Obtain regmap from parent node

2019-08-09 Thread Paul Cercueil
Hi Uwe, Le ven. 9 août 2019 à 18:51, Uwe =?iso-8859-1?q?Kleine-K=F6nig?= a écrit : On Fri, Aug 09, 2019 at 02:30:25PM +0200, Paul Cercueil wrote: The TCU registers are shared between a handful of drivers, accessing them through the same regmap. While this driver is

Re: [PATCH v4 6/8] sched: Replace strncmp with str_has_prefix

2019-08-09 Thread Chuhong Yuan
On Fri, Aug 9, 2019 at 7:31 PM Valentin Schneider wrote: > > On 09/08/2019 08:10, Chuhong Yuan wrote: > > strncmp(str, const, len) is error-prone because len > > is easy to have typo. > > The example is the hard-coded len has counting error > > or sizeof(const) forgets - 1. > > So we prefer using

[PATCH][net-next] rxrpc: fix uninitialized return value in variable err

2019-08-09 Thread Colin King
From: Colin Ian King An earlier commit removed the setting of err to -ENOMEM so currently the skb_shinfo(skb)->nr_frags > 16 check returns with an uninitialized bogus return code. Fix this by setting err to -ENOMEM to restore the original behaviour. Addresses-Coverity: ("Uninitialized scalar

Re: [PATCH v4 2/2] RISC-V: Implement sparsemem

2019-08-09 Thread Greentime Hu
Hi Logan, Logan Gunthorpe 於 2019年8月9日 週五 下午11:47寫道: > > > > On 2019-08-08 10:23 p.m., Greentime Hu wrote: > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > > index 3f12b069af1d..208b3e14ccd8 100644 > > --- a/arch/riscv/Kconfig > > +++ b/arch/riscv/Kconfig > > @@ -116,7 +116,8 @@ config

Re: [PATCH 3/4] regulator: qcom-rpmh: Fix pmic5_bob voltage count

2019-08-09 Thread Bjorn Andersson
On Fri 09 Aug 00:36 PDT 2019, Vinod Koul wrote: > pmic5_bob voltages count is 136 [0,135] so update it > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson > --- > drivers/regulator/qcom-rpmh-regulator.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 2/4] regulator: qcom-rpmh: Sort the compatibles

2019-08-09 Thread Bjorn Andersson
On Fri 09 Aug 00:36 PDT 2019, Vinod Koul wrote: > It helps to keep sorted order for compatibles, so sort them > > Suggested-by: Bjorn Andersson > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson > --- > drivers/regulator/qcom-rpmh-regulator.c | 20 ++-- > 1 file

Re: [PATCH 1/4] regulator: dt-bindings: Sort the compatibles and nodes

2019-08-09 Thread Bjorn Andersson
On Fri 09 Aug 00:36 PDT 2019, Vinod Koul wrote: > It helps to keep sorted order for compatibles and nodes, so sort them > > Suggested-by: Bjorn Andersson > Signed-off-by: Vinod Koul > --- > .../regulator/qcom,rpmh-regulator.txt | 19 ++- > 1 file changed, 10

Re: Resend [PATCH] kernel/resource.c: invalidate parent when freed resource has childs

2019-08-09 Thread Dan Williams
On Fri, Aug 9, 2019 at 6:50 AM Schmid, Carsten wrote: > > When a resource is freed and has children, the childrens are > left without any hint that their parent is no more valid. > This caused at least one use-after-free in the xhci-hcd using > ext-caps driver when platform code released platform

Re: [PATCH 1/7] [RFC] ARM: remove Intel iop33x and iop13xx support

2019-08-09 Thread Wolfram Sang
On Fri, Aug 09, 2019 at 06:33:15PM +0200, Arnd Bergmann wrote: > There are three families of IOP machines we support in Linux: iop32x > (which includes EP80219), iop33x and iop13xx (aka IOP34x aka WP8134x). > > All products we support in the kernel are based on the first of these, > iop32x, the

Re: [PATCH v8 08/21] clk: tegra: periph: Add restore_context support

2019-08-09 Thread Sowjanya Komatineni
On 8/9/19 5:20 AM, Dmitry Osipenko wrote: 09.08.2019 14:55, Dmitry Osipenko пишет: 09.08.2019 2:46, Sowjanya Komatineni пишет: This patch implements restore_context support for clk-periph and clk-sdmmc-mux clock operations to restore clock parent and rates on system resume. During system

Re: [PATCH 0/3] watchdog: jz4740: Driver update

2019-08-09 Thread Paul Cercueil
Hi Guenter, Le ven. 9 août 2019 à 18:52, Guenter Roeck a écrit : On Fri, Aug 09, 2019 at 01:59:27PM +0200, Paul Cercueil wrote: Hi, This patchset comes from a bigger patchset that was cut in smaller pieces for easier integration to mainline. (The patchset was

Re: [PATCH 2/7] pwm: jz4740: Use clocks from TCU driver

2019-08-09 Thread Uwe Kleine-König
On Fri, Aug 09, 2019 at 02:30:26PM +0200, Paul Cercueil wrote: > The ingenic-timer "TCU" driver provides us with clocks, that can be > (un)gated, reparented or reclocked from devicetree, instead of having > these settings hardcoded in this driver. > > While this driver is devicetree-compatible,

Re: [PATCH v2 7/8] arm64: defconfig: Enable the PSCI CPUidle driver

2019-08-09 Thread Will Deacon
On Fri, Aug 09, 2019 at 12:03:13PM +0100, Lorenzo Pieralisi wrote: > Enable the PSCI CPUidle driver to replace the functionality > previously provided by the generic ARM CPUidle driver through > CPU operations. > > Signed-off-by: Lorenzo Pieralisi > Cc: Will Deacon > Cc: Sudeep Holla > Cc:

[PATCH] media: i2c: tda1997x: prevent potential NULL pointer access

2019-08-09 Thread Wolfram Sang
i2c_new_dummy() can fail returning a NULL pointer. This is not checked and the returned pointer is blindly used. Convert to devm_i2c_new_dummy_client() which returns an ERR_PTR and also add a validity check. Using devm_* here also fixes a leak because the dummy client was not released in the probe

Re: [PATCH 0/3] watchdog: jz4740: Driver update

2019-08-09 Thread Guenter Roeck
On Fri, Aug 09, 2019 at 01:59:27PM +0200, Paul Cercueil wrote: > Hi, > > This patchset comes from a bigger patchset that was cut in smaller > pieces for easier integration to mainline. > (The patchset was https://lkml.org/lkml/2019/3/27/1837) > > The reviews were kept since the code mostly

Re: [PATCH RFC tip/core/rcu 14/14] rcu/nohz: Make multi_cpu_stop() enable tick on all online CPUs

2019-08-09 Thread Paul E. McKenney
On Thu, Aug 08, 2019 at 02:30:12PM -0700, Paul E. McKenney wrote: > On Thu, Aug 08, 2019 at 01:35:41PM -0700, Paul E. McKenney wrote: > > On Wed, Aug 07, 2019 at 02:41:31PM -0700, Paul E. McKenney wrote: > > > On Tue, Aug 06, 2019 at 11:08:24AM -0700, Paul E. McKenney wrote: > > > > On Mon, Aug

Re: [PATCH 1/7] pwm: jz4740: Obtain regmap from parent node

2019-08-09 Thread Uwe Kleine-König
On Fri, Aug 09, 2019 at 02:30:25PM +0200, Paul Cercueil wrote: > The TCU registers are shared between a handful of drivers, accessing > them through the same regmap. > > While this driver is devicetree-compatible, it is never (as of now) > probed from devicetree, so this change does not introduce

Re: [PATCH v12 3/6] mm, thp: introduce FOLL_SPLIT_PMD

2019-08-09 Thread Song Liu
> On Aug 9, 2019, at 9:35 AM, Oleg Nesterov wrote: > > On 08/08, Song Liu wrote: >> >>> On Aug 8, 2019, at 9:37 AM, Oleg Nesterov wrote: >>> >>> On 08/07, Song Liu wrote: @@ -399,7 +399,7 @@ static struct page *follow_pmd_mask(struct vm_area_struct *vma,

[PATCH] mm/z3fold.c: Fix race between migration and destruction

2019-08-09 Thread Henry Burns
In z3fold_destroy_pool() we call destroy_workqueue(>compact_wq). However, we have no guarantee that migration isn't happening in the background at that time. Migration directly calls queue_work_on(pool->compact_wq), if destruction wins that race we are using a destroyed workqueue. Signed-off-by:

Re: [PATCH] Input: synaptics - Fix a typo - synpatics --> synaptics

2019-08-09 Thread Dmitry Torokhov
On Fri, Aug 09, 2019 at 05:08:14PM +0200, Christophe JAILLET wrote: > This should be 'synaptics', not 'synpatics' > > Signed-off-by: Christophe JAILLET Applied, thank you. > --- > drivers/input/mouse/synaptics.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [Non-DoD Source] Re: [PATCH] fanotify, inotify, dnotify, security: add security hook for fs notifications

2019-08-09 Thread Amir Goldstein
> >>> + switch (flags & FANOTIFY_MARK_TYPE_BITS) { > >>> + case FAN_MARK_MOUNT: > >>> + obj_type = FSNOTIFY_OBJ_TYPE_VFSMOUNT; > >>> + break; > >>> + case FAN_MARK_FILESYSTEM: > >>> + obj_type = FSNOTIFY_OBJ_TYPE_SB; > >>> +

Re: [PATCH 1/4] dt-bindings: watchdog: Add i.MX7ULP bindings

2019-08-09 Thread Guenter Roeck
On Fri, Aug 09, 2019 at 03:13:59PM +0800, Anson Huang wrote: > Add the watchdog bindings for Freescale i.MX7ULP. > > Signed-off-by: Anson Huang > --- > .../bindings/watchdog/fsl-imx7ulp-wdt.txt | 22 > ++ > 1 file changed, 22 insertions(+) > create mode 100644 >

Re: [PATCH 3/7] pwm: jz4740: Drop dependency on MACH_INGENIC

2019-08-09 Thread Uwe Kleine-König
On Fri, Aug 09, 2019 at 02:30:27PM +0200, Paul Cercueil wrote: > Depending on MACH_INGENIC prevent us from creating a generic kernel that > works on more than one MIPS board. Instead, we just depend on MIPS being > set. > > Signed-off-by: Paul Cercueil > --- > drivers/pwm/Kconfig | 2 +- > 1

Re: [PATCH v8 11/21] clk: tegra: clk-dfll: Add suspend and resume support

2019-08-09 Thread Sowjanya Komatineni
On 8/9/19 5:23 AM, Dmitry Osipenko wrote: 09.08.2019 2:46, Sowjanya Komatineni пишет: This patch implements DFLL suspend and resume operation. During system suspend entry, CPU clock will switch CPU to safe clock source of PLLP and disables DFLL clock output. DFLL driver suspend confirms

Re: [PATCH] MAINTAINERS: add KVM x86 reviewers

2019-08-09 Thread Jim Mattson
On Fri, Aug 9, 2019 at 9:19 AM Sean Christopherson wrote: > > On Fri, Aug 09, 2019 at 09:34:11AM +0200, Paolo Bonzini wrote: > > This is probably overdone---KVM x86 has quite a few contributors that > > usually review each other's patches, which is really helpful to me. > > Formalize this by

Re: [GIT PULL] s390 updates for 5.3-rc4

2019-08-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Aug 2019 13:01:10 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.3-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cb7ef4bc927233304aeeeb891c1cfc5ad6f87975 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Power management fix for v5.3-rc3

2019-08-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Aug 2019 10:47:28 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-5.3-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0acf5676dc0ffe0683543a20d5ecbd112af5b8ee Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] sound fixes for 5.3-rc4

2019-08-09 Thread pr-tracker-bot
The pull request you sent on Fri, 09 Aug 2019 11:21:54 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-5.3-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cb42f06c9f418ec2ee56667d01e9ba965a4c61c9 Thank you! -- Deet-doot-dot,

Re: [PATCH v12 3/6] mm, thp: introduce FOLL_SPLIT_PMD

2019-08-09 Thread Oleg Nesterov
On 08/08, Song Liu wrote: > > > On Aug 8, 2019, at 9:37 AM, Oleg Nesterov wrote: > > > > On 08/07, Song Liu wrote: > >> > >> @@ -399,7 +399,7 @@ static struct page *follow_pmd_mask(struct > >> vm_area_struct *vma, > >>spin_unlock(ptl); > >>return follow_page_pte(vma,

Re: [GIT PULL] arm64 fixes for 5.3-rc4

2019-08-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Aug 2019 17:15:14 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/15a555a4b8be26683d77df8d5dbe8ac83f5ec3a6 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] pwm: Fixes for v5.3-rc4

2019-08-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Aug 2019 15:48:48 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git > tags/pwm/for-5.3-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c808f2ad8fcddb856ce42901cd5b4f06f9da9184 Thank you! --

Re: [GIT] Crypto Fixes for 5.3

2019-08-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Aug 2019 16:15:48 +1000: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e577dc152e232c78e5774e4c9b5486a04561920b Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] MMC fixes for v5.3-rc4

2019-08-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Aug 2019 12:01:49 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v5.3-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/461d2815ac9ec1b3f66fc243cc39bd2374facafa Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL for v5.3-rc4] media fixes

2019-08-09 Thread pr-tracker-bot
The pull request you sent on Thu, 8 Aug 2019 12:39:43 -0300: > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media media/v5.3-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6c02b6300fec062405ed0215e8ed1ed2b690da55 Thank you! -- Deet-doot-dot, I am a

[PATCH 7/7] ARM: iop32x: merge everything into mach-iop32x/

2019-08-09 Thread Arnd Bergmann
Various bits of iop32x are now in their traditional locations in plat-iop, mach-iop/include/mach/ and in include/asm/mach/hardware. As nothing outside of the iop32x mach code references these any more, this can all be moved into one place now. The only remaining things in the include/mach/

[PATCH 6/7] ARM: iop32x: make mach/uncompress.h independent of mach/hardware.h

2019-08-09 Thread Arnd Bergmann
All supported uarts use the same address: IQ80321_UART and IQ31244_UART are both defined to the default value of 0xfe80. By using that as the address unconditionally, all dependencies on other machine headers can be avoided. Signed-off-by: Arnd Bergmann ---

[PATCH 5/7] ARM: xscale: fix multi-cpu compilation

2019-08-09 Thread Arnd Bergmann
Building a combined ARMv4+XScale kernel produces these and other build failures: /tmp/copypage-xscale-3aa821.s: Assembler messages: /tmp/copypage-xscale-3aa821.s:167: Error: selected processor does not support `pld [r7,#0]' in ARM mode /tmp/copypage-xscale-3aa821.s:168: Error: selected processor

[PATCH 4/7] dma: iop-adma: allow building without platform headers

2019-08-09 Thread Arnd Bergmann
Now that iop3xx and iop13xx are gone, the iop-adma driver no longer needs to deal with incompatible register layout defined in machine specific header files. Move the iop32x specific definitions into drivers/dma/iop-adma.h and the platform_data into include/linux/platform_data/dma-iop32x.h, and

[PATCH 3/7] dma: iop-adma: use correct printk format strings

2019-08-09 Thread Arnd Bergmann
When compile-testing on other architectures, we get lots of warnings about incorrect format strings, like: drivers/dma/iop-adma.c: In function 'iop_adma_alloc_slots': drivers/dma/iop-adma.c:307:6: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type

[PATCH 2/7] dma: iop-adma: include prefetch.h

2019-08-09 Thread Arnd Bergmann
Compile-testing this driver fails on m68k without the extra header inclusion. Reported-by: kbuild test robot Signed-off-by: Arnd Bergmann --- drivers/dma/iop-adma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c index

Re: [PATCH RFC v1 1/2] rcu/tree: Add basic support for kfree_rcu batching

2019-08-09 Thread Paul E. McKenney
On Fri, Aug 09, 2019 at 11:39:24AM -0400, Joel Fernandes wrote: > On Fri, Aug 09, 2019 at 08:16:19AM -0700, Paul E. McKenney wrote: > > On Thu, Aug 08, 2019 at 07:30:14PM -0400, Joel Fernandes wrote: > [snip] > > > > But I could make it something like: > > > > 1. Letting ->head grow if ->head_free

Re: [PATCH v12 5/6] khugepaged: enable collapse pmd for pte-mapped THP

2019-08-09 Thread Song Liu
> On Aug 9, 2019, at 8:24 AM, Oleg Nesterov wrote: > > On 08/08, Song Liu wrote: >> >>> On Aug 8, 2019, at 9:33 AM, Oleg Nesterov wrote: >>> + for (i = 0, addr = haddr; i < HPAGE_PMD_NR; i++, addr += PAGE_SIZE) { + pte_t *pte = pte_offset_map(pmd, addr); +

Re: [PATCH v2 09/13] net: lpc-enet: fix printk format strings

2019-08-09 Thread Joe Perches
On Fri, 2019-08-09 at 16:40 +0200, Arnd Bergmann wrote: > compile-testing this driver on other architectures showed > multiple warnings: > > drivers/net/ethernet/nxp/lpc_eth.c: In function 'lpc_eth_drv_probe': > drivers/net/ethernet/nxp/lpc_eth.c:1337:19: warning: format '%d' expects >

Re: [Non-DoD Source] Re: [PATCH] fanotify, inotify, dnotify, security: add security hook for fs notifications

2019-08-09 Thread Amir Goldstein
... > >> First a suggestion, take it or leave it. > >> The name of the hook _notify() seems misleading to me. > >> naming the hook security_path_watch() seems much more > >> appropriate and matching the name of the constants FILE__WATCH > >> used by selinux. > > > > I guess I'm not too bothered by

Re: [PATCH] Add optional chip erase functionality to AT25 EEPROM driver.

2019-08-09 Thread Joe Burmeister
Hi Mark, On 09/08/2019 14:54, Mark Rutland wrote: On Fri, Aug 09, 2019 at 01:53:55PM +0100, Joe Burmeister wrote: Many, though not all, AT25s have an instruction for chip erase. If there is one in the datasheet, it can be added to device tree. Erase can then be done in userspace via the sysfs

[PATCH 1/2] samples/rpmsg: Replace print_hex_dump() with print_hex_dump_debug()

2019-08-09 Thread Suman Anna
Replace the raw print_hex_dump() call in the rpmsg_sample_cb() function with the equivalent print_hex_dump_debug() better suited for dynamic debug. This switch allows flexibility of controlling this trace through dynamic debug when enabled. Signed-off-by: Suman Anna ---

[PATCH 0/2] Minor cleanups/improvements in rpmsg-client-sample

2019-08-09 Thread Suman Anna
Hi Bjorn, The following are minor cleanup/improvement patches to the rpmsg_client_sample. The first patch is new, and the second patch is a repost. Appreciate it if you can pick these up for 5.4 merge window. regards Suman Suman Anna (2): samples/rpmsg: Replace print_hex_dump() with

[PATCH 2/2] samples/rpmsg: Introduce a module parameter for message count

2019-08-09 Thread Suman Anna
The current rpmsg_client_sample uses a fixed number of messages to be sent to each instance. This is currently set at 100. Introduce an optional module parameter 'count' so that the number of messages to be exchanged can be made flexible. Signed-off-by: Suman Anna ---

Re: [Non-DoD Source] Re: [PATCH] fanotify, inotify, dnotify, security: add security hook for fs notifications

2019-08-09 Thread Aaron Goidel
On 8/9/19 5:06 AM, Amir Goldstein wrote: On Thu, Aug 8, 2019 at 9:33 PM Paul Moore wrote: On Wed, Jul 31, 2019 at 11:35 AM Aaron Goidel wrote: As of now, setting watches on filesystem objects has, at most, applied a check for read access to the inode, and in the case of fanotify,

Re: [PATCH v8 19/21] soc/tegra: pmc: Configure deep sleep control settings

2019-08-09 Thread Sowjanya Komatineni
On 8/9/19 6:23 AM, Dmitry Osipenko wrote: 09.08.2019 2:46, Sowjanya Komatineni пишет: Tegra210 and prior Tegra chips have deep sleep entry and wakeup related timings which are platform specific that should be configured before entering into deep sleep. Below are the timing specific

Re: [tip:sched/core] sched/fair: Use rq_lock/unlock in online_fair_sched_group

2019-08-09 Thread Dietmar Eggemann
On 8/8/19 1:01 PM, tip-bot for Phil Auld wrote: [...] > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 19c58599e967..d9407517dae9 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -10281,18 +10281,18 @@ err: > void online_fair_sched_group(struct task_group *tg)

Re: [PATCH 2/4] watchdog: Add i.MX7ULP watchdog support

2019-08-09 Thread Guenter Roeck
On Fri, Aug 09, 2019 at 03:14:00PM +0800, Anson Huang wrote: > The i.MX7ULP Watchdog Timer (WDOG) module is an independent timer > that is available for system use. > It provides a safety feature to ensure that software is executing > as planned and that the CPU is not stuck in an infinite loop or

Re: [PATCH V2 09/10] x86/resctrl: Pseudo-lock portions of multiple resources

2019-08-09 Thread Reinette Chatre
Hi Borislav, On 8/9/2019 12:38 AM, Borislav Petkov wrote: > On Thu, Aug 08, 2019 at 01:13:46PM -0700, Reinette Chatre wrote: >> There is a locking order dependency between cpu_hotplug_lock and >> rdtgroup_mutex (cpu_hotplug_lock before rdtgroup_mutex) that has to be >> maintained. To do so in

Re: [PATCH] MAINTAINERS: add KVM x86 reviewers

2019-08-09 Thread Sean Christopherson
On Fri, Aug 09, 2019 at 09:34:11AM +0200, Paolo Bonzini wrote: > This is probably overdone---KVM x86 has quite a few contributors that > usually review each other's patches, which is really helpful to me. > Formalize this by listing them as reviewers. I am including people > with various

Re: [PATCH v8 14/21] clk: tegra210: Add suspend and resume support

2019-08-09 Thread Sowjanya Komatineni
On 8/9/19 6:56 AM, Dmitry Osipenko wrote: 09.08.2019 2:46, Sowjanya Komatineni пишет: This patch adds support for clk: tegra210: suspend-resume. All the CAR controller settings are lost on suspend when core power goes off. This patch has implementation for saving and restoring all PLLs and

Re: [RESEND PATCH 1/2 -mm] mm: account lazy free pages separately

2019-08-09 Thread Yang Shi
On 8/9/19 1:32 AM, Michal Hocko wrote: On Fri 09-08-19 07:57:44, Yang Shi wrote: When doing partial unmap to THP, the pages in the affected range would be considered to be reclaimable when memory pressure comes in. And, such pages would be put on deferred split queue and get minus from the

<    1   2   3   4   5   6   7   8   9   10   >