Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-08 Thread Greg Kroah-Hartman
On Tue, Jul 09, 2019 at 10:13:17AM +0530, Naresh Kamboju wrote: > On Mon, 8 Jul 2019 at 21:02, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.1.17 release. > > There are 96 patches in this series, all will be posted as a response > > to this one. If any

Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-08 Thread Greg Kroah-Hartman
On Mon, Jul 08, 2019 at 06:52:57PM -0600, shuah wrote: > On 7/8/19 9:12 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.17 release. > > There are 96 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with th

linux-next: build failure after merge of the tip tree

2019-07-08 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/block/rbd.c: In function 'wake_lock_waiters': drivers/block/rbd.c:3933:2: error: implicit declaration of function 'lockdep_assert_held_exclusive'; did you mean 'lockdep_assert_held_write'

Re: linux-next: manual merge of the usb tree with the pci tree

2019-07-08 Thread Stephen Rothwell
Hi Greg, On Tue, 9 Jul 2019 08:35:10 +0200 Greg KH wrote: > > For a merge issue like this, I think he can handle it :) Yeah, I nearly didn't send the reminder at all, but I was on a roll ... ;-) -- Cheers, Stephen Rothwell pgpOUBOSmSVwg.pgp Description: OpenPGP digital signature

Re: [PATCHv2 4/4] tty: n_gsm: add ioctl to map serial device to mux'ed tty

2019-07-08 Thread Martin Hundebøll
On 09/07/2019 08.49, Jiri Slaby wrote: On 09. 07. 19, 8:46, Martin Hundebøll wrote: @@ -2623,6 +2624,9 @@ static int gsmld_ioctl(struct tty_struct *tty, struct file *file, if (copy_from_user(&c, (void *)arg, sizeof(c))) return -EFAULT; re

Re: [PATCH v2] powerpc: slightly improve cache helpers

2019-07-08 Thread Nathan Chancellor
On Tue, Jul 09, 2019 at 07:04:43AM +0200, Christophe Leroy wrote: > > > Le 08/07/2019 à 21:14, Nathan Chancellor a écrit : > > On Mon, Jul 08, 2019 at 11:19:30AM +1000, Michael Ellerman wrote: > > > On Fri, 2019-05-10 at 09:24:48 UTC, Christophe Leroy wrote: > > > > Cache instructions (dcbz, dcbi

Re: [RFC 0/2] Optimize the idle CPU search

2019-07-08 Thread Subhra Mazumdar
On 7/9/19 11:08 AM, Parth Shah wrote: On 7/9/19 5:38 AM, Subhra Mazumdar wrote: On 7/8/19 10:24 AM, Parth Shah wrote: When searching for an idle_sibling, scheduler first iterates to search for an idle core and then for an idle CPU. By maintaining the idle CPU mask while iterating through idl

Re: [PATCHv2 4/4] tty: n_gsm: add ioctl to map serial device to mux'ed tty

2019-07-08 Thread Jiri Slaby
On 09. 07. 19, 8:46, Martin Hundebøll wrote: > @@ -2623,6 +2624,9 @@ static int gsmld_ioctl(struct tty_struct *tty, struct > file *file, > if (copy_from_user(&c, (void *)arg, sizeof(c))) > return -EFAULT; > return gsm_config(gsm, &c); > + case

Re: [RFC 0/2] Optimize the idle CPU search

2019-07-08 Thread Subhra Mazumdar
On 7/8/19 1:38 PM, Peter Zijlstra wrote: On Mon, Jul 08, 2019 at 10:24:30AM +0530, Parth Shah wrote: When searching for an idle_sibling, scheduler first iterates to search for an idle core and then for an idle CPU. By maintaining the idle CPU mask while iterating through idle cores, we can mar

[PATCHv2 3/4] tty: n_gsm: add helper to convert mux-num to/from tty-base

2019-07-08 Thread Martin Hundebøll
Make it obvious how the gsm mux number relates to the virtual tty lines by using helper function instead of shifting 6 bits. Signed-off-by: Martin Hundebøll --- drivers/tty/n_gsm.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/tty/n_gsm.c b/drivers

[PATCHv2 2/4] tty: n_gsm: update doc example to use header for N_GSM0710 define

2019-07-08 Thread Martin Hundebøll
There is no reason to gues the line discipline number when it is available from tty.h Signed-off-by: Martin Hundebøll --- Documentation/serial/n_gsm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/serial/n_gsm.rst b/Documentation/serial/n_gsm.rst index 4f371

[PATCHv2 1/4] tty: n_gsm: remove obsolete mknod doc example

2019-07-08 Thread Martin Hundebøll
The n_gsm driver handles registration of /dev/gsmttyX nodes, so there's no need to do mknod manually. Signed-off-by: Martin Hundebøll --- Changes since v1: * updated bullet numbering Documentation/serial/n_gsm.rst | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --g

[PATCHv2 4/4] tty: n_gsm: add ioctl to map serial device to mux'ed tty

2019-07-08 Thread Martin Hundebøll
Guessing the base tty for a gsm0710 multiplexed serial device is not currently possible, which makes it racy to use with multiple modems. Add a way to map the physical serial tty to its related mux devices using a ioctl. Signed-off-by: Martin Hundebøll --- Changes since v1: * use put_user() in

Re: [PATCH] rcu: Make jiffies_till_sched_qs writable

2019-07-08 Thread Byungchul Park
On Tue, Jul 09, 2019 at 02:58:16PM +0900, Byungchul Park wrote: > On Mon, Jul 08, 2019 at 09:03:59AM -0400, Joel Fernandes wrote: > > > Actually, the intent was to only allow this to be changed at boot time. > > > Of course, if there is now a good reason to adjust it, it needs > > > to be adjustabl

Re: linux-next: build failure after merge of the net-next tree

2019-07-08 Thread Leon Romanovsky
On Tue, Jul 09, 2019 at 01:56:36PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/infiniband/sw/siw/siw_cm.c: In function 'siw_create_listen': > drivers/infiniband/sw/siw/siw_cm.c:1978:3: e

RE: [PATCH 1/3] usb: common: Add usb_get_dr_mode_from_string and usb_dr_mode_to_string.

2019-07-08 Thread Pawel Laszczak
>-Original Message- >From: Felipe Balbi >Sent: Tuesday, July 9, 2019 8:30 AM >To: Pawel Laszczak >Cc: gre...@linuxfoundation.org; linux-...@vger.kernel.org; rog...@ti.com; >linux-kernel@vger.kernel.org; jbergsa...@ti.com; >nsek...@ti.com; n...@ti.com; Suresh Punnoose ; Jayshri >Dajir

RE: [PATCH v9 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-07-08 Thread Felipe Balbi
Hi, Pawel Laszczak writes: >>> IRQF_ONESHOT can be used only in threaded handled. >>> " >>> * IRQF_ONESHOT - Interrupt is not reenabled after the hardirq handler >>> finished. >>> *Used by threaded interrupts which need to keep the >>> *irq line disabled unt

[PATCH v7 17/18] kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

2019-07-08 Thread Brendan Higgins
From: Iurii Zaikin KUnit tests for initialized data behavior of proc_dointvec that is explicitly checked in the code. Includes basic parsing tests including int min/max overflow. Signed-off-by: Iurii Zaikin Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunt

[PATCH v7 09/18] kunit: test: add support for test abort

2019-07-08 Thread Brendan Higgins
Add support for aborting/bailing out of test cases, which is needed for implementing assertions. An assertion is like an expectation, but bails out of the test case early if the assertion is not met. The idea with assertions is that you use them to state all the preconditions for your test. Logica

[PATCH v7 11/18] kunit: test: add the concept of assertions

2019-07-08 Thread Brendan Higgins
Add support for assertions which are like expectations except the test terminates if the assertion is not satisfied. The idea with assertions is that you use them to state all the preconditions for your test. Logically speaking, these are the premises of the test case, so if a premise isn't true,

[PATCH v7 12/18] kunit: test: add tests for KUnit managed resources

2019-07-08 Thread Brendan Higgins
From: Avinash Kondareddy Add unit tests for KUnit managed resources. KUnit managed resources (struct kunit_resource) are resources that are automatically cleaned up at the end of a KUnit test, similar to the concept of devm_* managed resources. Signed-off-by: Avinash Kondareddy Signed-off-by: B

[PATCH v7 18/18] MAINTAINERS: add proc sysctl KUnit test to PROC SYSCTL section

2019-07-08 Thread Brendan Higgins
Add entry for the new proc sysctl KUnit test to the PROC SYSCTL section, and add Iurii as a maintainer. Signed-off-by: Brendan Higgins Cc: Iurii Zaikin Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Acked-by: Luis Chamberlain --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions

Re: [RFC v2] vhost: introduce mdev based hardware vhost backend

2019-07-08 Thread Tiwei Bie
On Tue, Jul 09, 2019 at 10:50:38AM +0800, Jason Wang wrote: > On 2019/7/8 下午2:16, Tiwei Bie wrote: > > On Fri, Jul 05, 2019 at 08:49:46AM -0600, Alex Williamson wrote: > > > On Thu, 4 Jul 2019 14:21:34 +0800 > > > Tiwei Bie wrote: > > > > On Thu, Jul 04, 2019 at 12:31:48PM +0800, Jason Wang wrote:

[PATCH v7 14/18] kunit: defconfig: add defconfigs for building KUnit tests

2019-07-08 Thread Brendan Higgins
Add defconfig for UML and a fragment that can be used to configure other architectures for building KUnit tests. Add option to kunit_tool to use a defconfig to create the kunitconfig. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- arch/um/config

[PATCH v7 10/18] kunit: test: add tests for kunit test abort

2019-07-08 Thread Brendan Higgins
Add KUnit tests for the KUnit test abort mechanism (see preceding commit). Add tests both for general try catch mechanism as well as non-architecture specific mechanism. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- kunit/Makefile| 3 +-

[PATCH v7 13/18] kunit: tool: add Python wrappers for running KUnit tests

2019-07-08 Thread Brendan Higgins
From: Felix Guo The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the user.

Re: linux-next: manual merge of the usb tree with the pci tree

2019-07-08 Thread Greg KH
On Tue, Jul 09, 2019 at 09:58:33AM +1000, Stephen Rothwell wrote: > Hi all, > > On Mon, 24 Jun 2019 17:47:29 +1000 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the usb tree got a conflict in: > > > > Documentation/index.rst > > > > between commit: > > > > c42eaffa1656 ("D

[PATCH v7 15/18] Documentation: kunit: add documentation for KUnit

2019-07-08 Thread Brendan Higgins
Add documentation for KUnit, the Linux kernel unit testing framework. - Add intro and usage guide for KUnit - Add API reference Signed-off-by: Felix Guo Signed-off-by: Brendan Higgins Cc: Jonathan Corbet Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Documentation/dev-tools

[PATCH] x86/irq: fix ENDPROC of common_spurious

2019-07-08 Thread Jiri Slaby
common_spurious is currently ENDed erroneously. common_interrupt is used in its ENDPROC. So fix this mistake. Found by my asm macros rewrite patchset. Signed-off-by: Jiri Slaby Fixes: f8a8fe61fec8 ("x86/irq: Seperate unused system vectors from spurious entry again") Cc: Thomas Gleixner

RE: [PATCH 1/3] usb: common: Add usb_get_dr_mode_from_string and usb_dr_mode_to_string.

2019-07-08 Thread Felipe Balbi
Hi, Pawel Laszczak writes: >>> diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h >>> index 69f1b6328532..c156817672c4 100644 >>> --- a/include/linux/usb/otg.h >>> +++ b/include/linux/usb/otg.h >>> @@ -129,4 +129,20 @@ enum usb_dr_mode { >>> */ >>> extern enum usb_dr_mode usb_get

RE: [PATCH 1/3] usb: common: Add usb_get_dr_mode_from_string and usb_dr_mode_to_string.

2019-07-08 Thread Pawel Laszczak
Hi, > >Hi, > >Pawel Laszczak writes: >> diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h >> index 69f1b6328532..c156817672c4 100644 >> --- a/include/linux/usb/otg.h >> +++ b/include/linux/usb/otg.h >> @@ -129,4 +129,20 @@ enum usb_dr_mode { >> */ >> extern enum usb_dr_mode usb_get

Re: linux-next: manual merge of the char-misc tree with the driver-core tree

2019-07-08 Thread Greg KH
On Mon, Jul 08, 2019 at 11:25:12PM +, Nadav Amit wrote: > > On Jul 8, 2019, at 4:20 PM, Stephen Rothwell wrote: > > > > Hi all, > > > > On Thu, 13 Jun 2019 15:53:44 +1000 Stephen Rothwell > > wrote: > >> Today's linux-next merge of the char-misc tree got a conflict in: > >> > >> drivers/

Re: [PATCH v5] media: docs-rst: Document m2m stateless video decoder interface

2019-07-08 Thread Tomasz Figa
On Thu, Jun 20, 2019 at 4:35 PM Alexandre Courbot wrote: [snip] > +Initialization > +== > + [snip] > +5. *[optional]* Choose a different ``CAPTURE`` format than suggested via > + :c:func:`VIDIOC_S_FMT` on ``CAPTURE`` queue. It is possible for the > client to > + choose a different

Re: [PATCH 2/2] x86/numa: instance all parsed numa node

2019-07-08 Thread Thomas Gleixner
On Tue, 9 Jul 2019, Pingfan Liu wrote: > On Mon, Jul 8, 2019 at 5:35 PM Thomas Gleixner wrote: > > It can and it does. > > > > That's the whole point why we bring up all CPUs in the 'nosmt' case and > > shut the siblings down again after setting CR4.MCE. Actually that's in fact > > a 'let's hope n

[PATCH] kbuild: use -- separater intead of $(filter-out ...) for cc-cross-prefix

2019-07-08 Thread Masahiro Yamada
arch/mips/Makefile passes prefixes that start with '-' to cc-cross-prefix when $(tool-archpref) evaluates to the empty string. They are filtered-out before the $(shell ...) invocation. Otherwise, 'command -v' would be confused. $ command -v -linux-gcc bash: command: -l: invalid option comma

Re: [PATCH 1/3] usb: common: Add usb_get_dr_mode_from_string and usb_dr_mode_to_string.

2019-07-08 Thread Felipe Balbi
Hi, Pawel Laszczak writes: > diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h > index 69f1b6328532..c156817672c4 100644 > --- a/include/linux/usb/otg.h > +++ b/include/linux/usb/otg.h > @@ -129,4 +129,20 @@ enum usb_dr_mode { > */ > extern enum usb_dr_mode usb_get_dr_mode(struc

Re: [PATCH] habanalabs: use %pad for printing a dma_addr_t

2019-07-08 Thread Oded Gabbay
On Tue, Jul 9, 2019 at 9:07 AM Oded Gabbay wrote: > > On Mon, Jul 8, 2019 at 3:39 PM Arnd Bergmann wrote: > > > > dma_addr_t might be different sizes depending on the configuration, > > so we cannot print it as %llx: > > > > drivers/misc/habanalabs/goya/goya.c: In function 'goya_sw_init': > > dri

RE: Re: [PATCH] devfreq: tegra20: add COMMON_CLK dependency

2019-07-08 Thread MyungJoo Ham
On 19. 6. 28. 오후 7:32, Arnd Bergmann wrote: > Compile-testing the new driver on platforms without CONFIG_COMMON_CLK > leads to a link error: > > drivers/devfreq/tegra20-devfreq.o: In function `tegra_devfreq_target': > tegra20-devfreq.c:(.text+0x288): undefined reference to `clk_set_min_rate' > >

Re: [PATCH] habanalabs: use %pad for printing a dma_addr_t

2019-07-08 Thread Oded Gabbay
On Mon, Jul 8, 2019 at 3:39 PM Arnd Bergmann wrote: > > dma_addr_t might be different sizes depending on the configuration, > so we cannot print it as %llx: > > drivers/misc/habanalabs/goya/goya.c: In function 'goya_sw_init': > drivers/misc/habanalabs/goya/goya.c:698:21: error: format '%llx' expec

linux-next: manual merge of the watchdog tree with the jc_docs tree

2019-07-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the watchdog tree got a conflict in: Documentation/watchdog/hpwdt.rst Documentation/watchdog/watchdog-parameters.rst between commit: cc2a2d19f896 ("docs: watchdog: convert docs to ReST and rename to *.rst") from the jc_docs tree and commit: 74665686

Re: [PATCH] rcu: Make jiffies_till_sched_qs writable

2019-07-08 Thread Byungchul Park
On Mon, Jul 08, 2019 at 06:19:42AM -0700, Paul E. McKenney wrote: > On Mon, Jul 08, 2019 at 09:03:59AM -0400, Joel Fernandes wrote: > > Good morning! > > > > On Mon, Jul 08, 2019 at 05:50:13AM -0700, Paul E. McKenney wrote: > > > On Mon, Jul 08, 2019 at 03:00:09PM +0900, Byungchul Park wrote: > >

Warnings whilst building 5.2.0+

2019-07-08 Thread Chris Clayton
Hi, I've pulled Linus' tree this morning and, after running 'make oldconfig', tried a build. During that build I got the following warnings, which look to me like they should be fixed. 'git describe' shows v5.2-915-g5ad18b2e60b7 and my compiler is the 20190706 snapshot of gcc 9. In file include

Re: [PATCH 4.4 00/73] 4.4.185-stable review

2019-07-08 Thread Naresh Kamboju
naro.org/lkft/arm64-stable-rc.git git branch: 4.4.185-rc1-hikey-20190708-490 git commit: 3eb4ca56f74f0d93a73c81efd51db5765842bd1b git describe: 4.4.185-rc1-hikey-20190708-490 Test details: https://qa-reports.linaro.org/lkft/linaro-hikey-stable-rc-4.4-oe/build/4.4.185-rc1-hikey-20190708-490 No regression

[PATCH 2/2] cputime: remove duplicate code in account_process_tick

2019-07-08 Thread Alex Shi
In funcation account_process_tick, func actually do same things with irqtime_account_process_tick, whenever if IRQ_TIME_ACCOUNTING set or if sched_clock_irqtime enabled. So it's better to reuse one function for both. Signed-off-by: Alex Shi Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Frederic Weisb

[PATCH 1/2] cputime: remove rq parameter for function clean up

2019-07-08 Thread Alex Shi
We could use the per cpu rq in function directly instead of pass it as a parameter, that is more simple and could do further clean up. Signed-off-by: Alex Shi Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Wanpeng Li Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org --- k

Re: [PATCH v4 1/2] dt-bindings: interrupt-controller: Amazon's Annapurna Labs FIC

2019-07-08 Thread Shenhar, Talel
Marc, should I publish those fixes as new patch that updates the dt-bindings or new patchset to this list? On 7/9/2019 5:23 AM, Rob Herring wrote: On Mon, Jun 10, 2019 at 11:34:42AM +0300, Talel Shenhar wrote: +- #interrupt-cells: must be 2. + First cell defines the index of the interrupt wit

Re: [PATCH RESEND] mm: show number of vmalloc pages in /proc/meminfo

2019-07-08 Thread Minchan Kim
Hi Roman, On Wed, May 15, 2019 at 8:51 AM Roman Gushchin wrote: > > Vmalloc() is getting more and more used these days (kernel stacks, > bpf and percpu allocator are new top users), and the total % > of memory consumed by vmalloc() can be pretty significant > and changes dynamically. > > /proc/m

Re: [PATCH] rcu: Make jiffies_till_sched_qs writable

2019-07-08 Thread Byungchul Park
On Mon, Jul 08, 2019 at 09:03:59AM -0400, Joel Fernandes wrote: > > Actually, the intent was to only allow this to be changed at boot time. > > Of course, if there is now a good reason to adjust it, it needs > > to be adjustable. So what situation is making you want to change > > jiffies_till_sche

Re: [PATCH v1 6/6] cpuidle: tegra: Remove CPUIDLE_FLAG_TIMER_STOP from all states

2019-07-08 Thread Dmitry Osipenko
08.07.2019 2:38, Dmitry Osipenko пишет: > The Tegra's clocksource driver got some rework recently and now the > internal/local CPU timers usage is discouraged on Tegra20/30 SoCs in > a favor of the platform-specific timers that are assigned as per-CPU > clocksources because they do not suffer from

Re: [PATCH v2 1/2] firmware: imx: Add DSP IPC protocol interface

2019-07-08 Thread Daniel Baluta
Hi Oleksij, Any comments on this? On Thu, Jun 27, 2019 at 11:14 AM Daniel Baluta wrote: > > Some of i.MX8 processors (e.g i.MX8QM, i.MX8QXP) contain > the Tensilica HiFi4 DSP for advanced pre- and post-audio > processing. > > The communication between Host CPU and DSP firmware is > taking place

[GIT PULL] parisc architecture patches for kernel v5.3

2019-07-08 Thread Helge Deller
Hi Linus, please pull enhancements for the parisc architecture for kernel 5.3 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.3-1 Dynamic ftrace support by Sven Schnelle and a header guard fix by Denis Efremov. Thanks, Helge -

Re: [PATCH 03/14] power: supply: sc27xx: Introduce local variable 'struct device *dev'

2019-07-08 Thread Baolin Wang
On Mon, 8 Jul 2019 at 20:33, Fuqian Huang wrote: > > Introduce local variable 'struct device *dev' and use it instead of > dereferencing it repeatly. > > Signed-off-by: Fuqian Huang Looks good to me. Thanks. Reviewed-by: Baolin Wang > --- > drivers/power/supply/sc27xx_fuel_gauge.c | 47 > +++

Re: [PATCH 04/14] power: supply: sc27xx: Replace devm_add_action() followed by failure action with devm_add_action_or_reset()

2019-07-08 Thread Baolin Wang
Hi Fuqian, On Mon, 8 Jul 2019 at 20:33, Fuqian Huang wrote: > > devm_add_action_or_reset() is introduced as a helper function which > internally calls devm_add_action(). If devm_add_action() fails > then it will execute the action mentioned and return the error code. > This reduce source code siz

Re: [PATCH 1/3] opp: core: add regulators enable and disable

2019-07-08 Thread Viresh Kumar
On 08-07-19, 16:11, k.koniec...@partner.samsung.com wrote: > From: Kamil Konieczny > > Add enable regulators to dev_pm_opp_set_regulators() and disable > regulators to dev_pm_opp_put_regulators(). This prepares for > converting exynos-bus devfreq driver to use dev_pm_opp_set_rate(). > > Signed-o

Re: [PATCH 8/8] nfsd: Fix misuse of strlcpy

2019-07-08 Thread Joe Perches
On Mon, 2019-07-08 at 23:14 -0400, J. Bruce Fields wrote: > On Thu, Jul 04, 2019 at 04:57:48PM -0700, Joe Perches wrote: > > Probable cut&paste typo - use the correct field size. > > Huh, that's been there forever, I wonder why we haven't seen crashes? > Oh, I see, name and authname both have the

RE: [PATCH 2/2] arm64: dts: imx8mm: Assign highest opp as suspend opp

2019-07-08 Thread Anson Huang
Hi, Viresh > On 08-07-19, 08:54, Anson Huang wrote: > > Each OPP has "opp-supported-hw" property as below, the first value > > needs to be checked with speed grading fuse, and the second one needs > > to be checked with market segment fuse, ONLY both of them passed, then > > this OPP is supported.

Re: [RFC 0/2] Optimize the idle CPU search

2019-07-08 Thread Parth Shah
On 7/9/19 5:38 AM, Subhra Mazumdar wrote: > > On 7/8/19 10:24 AM, Parth Shah wrote: >> When searching for an idle_sibling, scheduler first iterates to search for >> an idle core and then for an idle CPU. By maintaining the idle CPU mask >> while iterating through idle cores, we can mark non-idl

Re: [PATCH 4/4] tty: n_gsm: add ioctl to map serial device to mux'ed tty

2019-07-08 Thread Jiri Slaby
On 08. 07. 19, 21:02, Martin Hundebøll wrote: > Guessing the base tty for a gsm0710 multiplexed serial device is not > currently possible, which makes it racy to use with multiple modems. > > Add a way to map the physical serial tty to its related mux devices > using a ioctl. ... > --- a/Document

Re: [PATCH v3 1/3] cpuidle-powernv : forced wakeup for stop states

2019-07-08 Thread Abhishek
Hi Nick, Will post next version with the changes you have suggested. There is a comment below. On 07/07/2019 03:43 PM, Nicholas Piggin wrote: Abhishek Goel's on July 4, 2019 7:18 pm: Currently, the cpuidle governors determine what idle state a idling CPU should enter into based on heuristics t

[PATCH 3/7] Drivers: hv: vmbus: Split hv_synic_init/cleanup into regs and timer settings

2019-07-08 Thread Dexuan Cui
There is only one functional change: the unnecessary check "if (sctrl.enable != 1) return -EFAULT;" is removed, because when we're in hv_synic_cleanup(), we're absolutely sure sctrl.enable must be 1. The new functions hv_synic_disable/enable_regs() will be used by a later patch to support hibernat

Re: [PATCH 4/4] powerpc/64: reuse PPC32 static inline flush_dcache_range()

2019-07-08 Thread Oliver O'Halloran
On Tue, Jul 9, 2019 at 12:52 PM Aneesh Kumar K.V wrote: > > On 7/9/19 7:50 AM, Oliver O'Halloran wrote: > > On Tue, Jul 9, 2019 at 12:22 AM Aneesh Kumar K.V > > wrote: > >> > >> Christophe Leroy writes: > >> > >>> *snip* > >>> + if (IS_ENABLED(CONFIG_PPC64)) > >>> + isync(); > >>

[PATCH 1/7] x86/hyper-v: Suspend/resume the hypercall page for hibernation

2019-07-08 Thread Dexuan Cui
This is needed for hibernation, e.g. when we resume the old kernel, we need to disable the "current" kernel's hypercall page and then resume the old kernel's. Signed-off-by: Dexuan Cui --- arch/x86/hyperv/hv_init.c | 34 ++ 1 file changed, 34 insertions(+) diff -

Re: [PATCH 1/4] tty: n_gsm: remove obsolete mknod doc example

2019-07-08 Thread Jiri Slaby
On 08. 07. 19, 21:02, Martin Hundebøll wrote: > The n_gsm driver handles registration of /dev/gsmttyX nodes, so there's > no need to do mknod manually. > > Signed-off-by: Martin Hundebøll > --- > Documentation/serial/n_gsm.rst | 10 -- > 1 file changed, 10 deletions(-) > > diff --git a

[PATCH 4/7] Drivers: hv: vmbus: Suspend/resume the synic for hibernation

2019-07-08 Thread Dexuan Cui
This is needed when we resume the old kernel from the "current" kernel. Signed-off-by: Dexuan Cui --- drivers/hv/vmbus_drv.c | 40 1 file changed, 40 insertions(+) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 72d5a7c..1c2d935 100644

[PATCH 0/7] Enhance the hv_vmbus driver to support hibernation

2019-07-08 Thread Dexuan Cui
Hi, This is the first patchset to enable hibernation when Linux VM runs on Hyper-V. A second patchset to enhance the high-level VSC drivers (hv_netvsc, hv_storvsc, etc.) for hibernation will be posted later. The second patchset depends on this first patchset, so I hope this pathset can be accepted

[PATCH 2/7] clocksource/drivers: Suspend/resume Hyper-V clocksource for hibernation

2019-07-08 Thread Dexuan Cui
This is needed for hibernation, e.g. when we resume the old kernel, we need to disable the "current" kernel's TSC page and then resume the old kernel's. Signed-off-by: Dexuan Cui --- drivers/clocksource/hyperv_timer.c | 25 + 1 file changed, 25 insertions(+) diff --git a

[PATCH 6/7] Drivers: hv: vmbus: Suspend/resume the vmbus itself for hibernation

2019-07-08 Thread Dexuan Cui
This is needed when we resume the old kernel from the "current" kernel. Signed-off-by: Dexuan Cui --- drivers/hv/connection.c | 3 +-- drivers/hv/hyperv_vmbus.h | 2 ++ drivers/hv/vmbus_drv.c| 40 3 files changed, 43 insertions(+), 2 deletions(-)

[PATCH 7/7] Drivers: hv: vmbus: Implement suspend/resume for VSC drivers for hibernation

2019-07-08 Thread Dexuan Cui
The high-level VSC drivers will implement device-specific callbacks. Signed-off-by: Dexuan Cui --- drivers/hv/vmbus_drv.c | 42 ++ include/linux/hyperv.h | 3 +++ 2 files changed, 45 insertions(+) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_dr

[PATCH 5/7] Drivers: hv: vmbus: Ignore the offers when resuming from hibernation

2019-07-08 Thread Dexuan Cui
When the VM resumes, the host re-sends the offers. We should not add the offers to the global vmbus_connection.chn_list again. Added some debug code, in case the host screws up the exact info related to the offers. Signed-off-by: Dexuan Cui --- drivers/hv/channel_mgmt.c | 28 +++

RE: [PATCH 1/2] rtc/fsl: add FTM alarm driver as the wakeup source

2019-07-08 Thread Biwen Li
-Original Message- From: Leo Li Sent: 2019年7月9日 3:41 To: Biwen Li ; a.zu...@towertech.it; alexandre.bell...@bootlin.com Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Xiaobo Xie ; Jiafei Pan ; Ran Wang ; Biwen Li Subject: RE: [PATCH 1/2] rtc/fsl: add FTM alarm driver as

Re: [PATCH] rtc: bd70528: fix link error

2019-07-08 Thread Vaittinen, Matti
Hello Arnd, (Added Randy who also sent a patch to fix this) On Mon, 2019-07-08 at 18:10 +0200, Arnd Bergmann wrote: > On Mon, Jul 8, 2019 at 3:24 PM Vaittinen, Matti > wrote: > > > On Mon, 2019-07-08 at 14:41 +0200, Arnd Bergmann wrote: > > > With CONFIG_BD70528_WATCHDOG=m, a built-in rtc drive

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-08 Thread Eiichi Tsukata
On 2019/07/08 18:42, Eiichi Tsukata wrote: > > > On 2019/07/08 17:58, Eiichi Tsukata wrote: > >> >> By the way, is there possibility that the WARNING(#GP in execve(2)) which >> Steven >> previously hit? : >> https://lore.kernel.org/lkml/20190321095502.47b51...@gandalf.local.home/ >> >> Even

Re: [PATCH v3] perf cs-etm: Improve completeness for kernel address space

2019-07-08 Thread Leo Yan
Hi Mathieu, On Mon, Jul 08, 2019 at 11:33:59AM -0600, Mathieu Poirier wrote: > On Wed, 19 Jun 2019 at 21:45, Leo Yan wrote: > > > > Arm and arm64 architecture reserve some memory regions prior to the > > symbol '_stext' and these memory regions later will be used by device > > module and BPF jit.

Re: [GIT PULL] signal: Removing the task parameter from force_sig

2019-07-08 Thread pr-tracker-bot
The pull request you sent on Mon, 08 Jul 2019 12:40:05 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git > siginfo-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5ad18b2e60b75c7297a998dea702451d33a052ed Thank you! -- Deet-doot

Re: [PATCH v2] powerpc: slightly improve cache helpers

2019-07-08 Thread Christophe Leroy
Le 08/07/2019 à 21:14, Nathan Chancellor a écrit : On Mon, Jul 08, 2019 at 11:19:30AM +1000, Michael Ellerman wrote: On Fri, 2019-05-10 at 09:24:48 UTC, Christophe Leroy wrote: Cache instructions (dcbz, dcbi, dcbf and dcbst) take two registers that are summed to obtain the target address. Us

linux-next: please clean up the mali-dp tree

2019-07-08 Thread Stephen Rothwell
Hi, Now that a rebased copy of the mali-dp tree has been merged into the drm tree, please clean up the mali-dp tree as it is causing conflicts. -- Cheers, Stephen Rothwell pgpPThBmE24nb.pgp Description: OpenPGP digital signature

Re: [PATCH v5 06/12] S.A.R.A.: WX protection

2019-07-08 Thread Kees Cook
On Sun, Jul 07, 2019 at 05:49:35PM +0200, Salvatore Mesoraca wrote: > Al Viro wrote: > > > > On Sat, Jul 06, 2019 at 12:54:47PM +0200, Salvatore Mesoraca wrote: > > > > > +#define sara_warn_or_return(err, msg) do { \ > > > + if ((sara_wxp_flags & SARA_WXP_VERBOSE))\ > > > +

Re: Procedure questions - new filesystem driver..

2019-07-08 Thread Theodore Ts'o
On Mon, Jul 08, 2019 at 08:37:42PM -0400, Valdis Klētnieks wrote: > I have an out-of-tree driver for the exfat file system that I beaten into > shape > for upstreaming. The driver works, and passes sparse and checkpatch (except > for a number of line-too-long complaints). > > Do you want this tak

Re: [PATCH v3] cpufreq/pasemi: fix an use-after-free in pas_cpufreq_cpu_init()

2019-07-08 Thread Michael Ellerman
Wen Yang writes: > The cpu variable is still being used in the of_get_property() call > after the of_node_put() call, which may result in use-after-free. > > Fixes: a9acc26b75f ("cpufreq/pasemi: fix possible object reference leak") > Signed-off-by: Wen Yang > Cc: "Rafael J. Wysocki" > Cc: Vires

Re: [GIT PULL] cgroup changes for v5.3-rc1

2019-07-08 Thread pr-tracker-bot
The pull request you sent on Mon, 8 Jul 2019 10:10:05 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/92c1d6522135050cb377a18cc6e30d08dfb87efb Thank you! -- Deet-doot-dot, I am a bot. https:

Re: [GIT PULL] workqueue changes for v5.3-rc1

2019-07-08 Thread pr-tracker-bot
The pull request you sent on Mon, 8 Jul 2019 09:56:20 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-5.3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/df2a40f549e6b73aad98b0c03f400c00d284816b Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [PATCH 2/2] arm64: dts: imx8mm: Assign highest opp as suspend opp

2019-07-08 Thread Viresh Kumar
On 08-07-19, 08:54, Anson Huang wrote: > Each OPP has "opp-supported-hw" property as below, the first value needs to be > checked with speed grading fuse, and the second one needs to be checked with > market segment fuse, ONLY both of them passed, then this OPP is supported. It > calls dev_pm_opp_s

Re: [GIT] Crypto Update for 5.3

2019-07-08 Thread pr-tracker-bot
The pull request you sent on Mon, 8 Jul 2019 23:08:00 +0800: > 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/4d2fa8b44b891f0da5ceda3e5a1402ccf0ab6f26 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-08 Thread Naresh Kamboju
On Mon, 8 Jul 2019 at 21:02, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.17 release. > There are 96 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respo

Re: [PATCH 2/2] x86/numa: instance all parsed numa node

2019-07-08 Thread Pingfan Liu
On Tue, Jul 9, 2019 at 1:53 AM Andy Lutomirski wrote: > > > > > On Jul 8, 2019, at 3:35 AM, Thomas Gleixner wrote: > > > >> On Mon, 8 Jul 2019, Pingfan Liu wrote: > >>> On Mon, Jul 8, 2019 at 3:44 AM Thomas Gleixner wrote: > >>> > On Fri, 5 Jul 2019, Pingfan Liu wrote: > > I hit a

[PATCH 09/11] kbuild: remove the first line of *.mod files

2019-07-08 Thread Masahiro Yamada
The current format of *.mod is like this: line 1: directory path to the .ko file line 2: a list of objects linked into this module line 3: unresolved symbols (only when CONFIG_TRIM_UNSED_SYMBOLS=y) Now that *.mod and *.ko are created in the same directory, the line 1 provides no valuable in

[PATCH 07/11] kbuild: modpost: read modules.order instead of $(MODVERDIR)/*.mod

2019-07-08 Thread Masahiro Yamada
Towards the goal of removing MODVERDIR, read out modules.order to get the list of modules to be processed. This is simpler than parsing *.mod files in $(MODVERDIR). For external modules, $(KBUILD_EXTMOD)/modules.order should be read. Signed-off-by: Masahiro Yamada --- scripts/Makefile.modpost

[PATCH 04/11] scsi: remove pointless $(MODVERDIR)/$(obj)/53c700.ver

2019-07-08 Thread Masahiro Yamada
Nothing depends on this, so it is dead code. Signed-off-by: Masahiro Yamada --- I will apply this to kbuild tree since it is trivial. drivers/scsi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index 8826111fdf4a..acd

[PATCH 05/11] kbuild: modinst: read modules.order instead of $(MODVERDIR)/*.mod

2019-07-08 Thread Masahiro Yamada
Towards the goal of removing MODVERDIR, read out modules.order to get the list of modules to be installed. This is simpler than parsing *.mod files in $(MODVERDIR). For external modules, $(KBUILD_EXTMOD)/modules.order should be read. Signed-off-by: Masahiro Yamada --- scripts/Makefile.modinst

[PATCH 11/11] kbuild: split out *.mod out of {single,multi}-used-m rules

2019-07-08 Thread Masahiro Yamada
Currently, *.mod is created as a side-effect of obj-m. Split out *.mod as a dedicated build rule, which allows to unify the %.c -> %.o rule, and remove the single-used-m rule. This also makes the incremental build of allmodconfig faster because it saves $(NM) invocation when there is no change in

[PATCH 03/11] kbuild: remove duplication from modules.order in sub-directories

2019-07-08 Thread Masahiro Yamada
Currently, only the top-level modules.order drops duplicated entries. The modules.order files in sub-directories potentially contain duplication. To list out the paths of all modules, I want to use modules.order instead of parsing *.mod files in $(MODVERDIR). To achieve this, I want to rip off du

[PATCH 10/11] kbuild: remove 'prepare1' target

2019-07-08 Thread Masahiro Yamada
Now that there is no rule for 'prepare1', it can go away. Signed-off-by: Masahiro Yamada --- Makefile | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 958fafa605b9..b284863e7ea0 100644 --- a/Makefile +++ b/Makefile @@ -1094,7 +1094,7 @@ scrip

[PATCH 06/11] kbuild: modsign: read modules.order instead of $(MODVERDIR)/*.mod

2019-07-08 Thread Masahiro Yamada
Towards the goal of removing MODVERDIR, read out modules.order to get the list of modules to be signed. This is simpler than parsing *.mod files in $(MODVERDIR). The modules_sign target is only supported for in-kernel modules. So, this commit does not take care of external modules. Signed-off-by:

[PATCH 08/11] kbuild: create *.mod with full directory path and remove MODVERDIR

2019-07-08 Thread Masahiro Yamada
While descending directories, Kbuild produces objects for modules, but final *.ko files are linked in the modpost. To keep track of modules, Kbuild creates a *.mod file in $(MODVERDIR) for every module it is building. Some post-processing steps read the necessary information from *.mod files. This

[PATCH 01/11] kbuild: do not create empty modules.order in the prepare stage

2019-07-08 Thread Masahiro Yamada
Currently, $(objtree)/modules.order is touched in two places. In the 'prepare0' rule, scripts/Makefile.build creates an empty modules.order while processing 'obj=.' In the 'modules' rule, the top-level Makefile overwrites it with the correct list of modules. It might be a good side-effect that m

[PATCH 02/11] kbuild: get rid of kernel/ prefix from in-tree modules.{order,builtin}

2019-07-08 Thread Masahiro Yamada
Removing the 'kernel/' prefix will make our life easier because we can simply do 'cat modules.order' to get all built modules with full paths. Currently, we parse the first line of '*.mod' files in $(MODVERDIR). Since we have duplicated functionality here, I plan to remove MODVERDIR entirely. In

[PATCH 00/11] kbuild: create *.mod with directory path and remove MODVERDIR

2019-07-08 Thread Masahiro Yamada
This series kills the long standing MODVERDIR. Since MODVERDIR has a flat structure, it cannot avoid a race condition when somebody introduces a module name conflict. Kbuild now reads modules.order to get the list of all modules. The post-processing/installation stages will be more robust and

Re: WARNING in mark_chain_precision

2019-07-08 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: WARNING in bpf_jit_free WARNING: CPU: 0 PID: 9077 at kernel/bpf/core.c:851 bpf_jit_free+0x157/0x1b0 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9077 Comm: kworker/0:3 Not tainted 5.2.0-rc6+

Re: [PATCH 4.19 00/90] 4.19.58-stable review

2019-07-08 Thread Naresh Kamboju
On Mon, 8 Jul 2019 at 20:58, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.58 release. > There are 90 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCH] selftests/seccomp/seccomp_bpf: update for PTRACE_GET_SYSCALL_INFO

2019-07-08 Thread Kees Cook
On Mon, Jul 08, 2019 at 09:29:04PM +0300, Dmitry V. Levin wrote: > The syscall entry/exit is now exposed via PTRACE_GETEVENTMSG, > update the test accordingly. Oh yes, thank you! Acked-by: Kees Cook -Kees > > Reported-by: kernel test robot > Signed-off-by: Dmitry V. Levin > --- > tools/tes

  1   2   3   4   5   6   7   8   9   10   >