Re: [PATCH v4] dmaengine: qcom-bam: Process multiple pending descriptors

2017-09-24 Thread Sricharan R
On 9/25/2017 11:50 AM, Vinod Koul wrote: > On Mon, Aug 28, 2017 at 08:30:24PM +0530, Sricharan R wrote: >> The bam dmaengine has a circular FIFO to which we >> add hw descriptors that describes the transaction. >> The FIFO has space for about 4096 hw descriptors. >> >> Currently we add one descri

Re: [PATCH net-next 10/10] net: hns3: Add mqprio support when interacting with network stack

2017-09-24 Thread Jiri Pirko
Mon, Sep 25, 2017 at 02:45:08AM CEST, linyunsh...@huawei.com wrote: >Hi, Jiri > >On 2017/9/24 19:37, Jiri Pirko wrote: >> Sat, Sep 23, 2017 at 02:47:20AM CEST, linyunsh...@huawei.com wrote: >>> Hi, Jiri >>> >>> On 2017/9/23 0:03, Jiri Pirko wrote: Fri, Sep 22, 2017 at 04:11:51PM CEST, linyunsh

[PATCH] ANDROID: binder: pr_err() strings should end with newlines

2017-09-24 Thread Arvind Yadav
Signed-off-by: Arvind Yadav --- drivers/android/binder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/android/binder.c b/drivers/android/binder.c index d055b3f..044b1c2 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -2192,7 +2192,7 @@ static

[PATCH] acpi/arm64: pr_err() strings should end with newlines

2017-09-24 Thread Arvind Yadav
Signed-off-by: Arvind Yadav --- drivers/acpi/arm64/gtdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/arm64/gtdt.c b/drivers/acpi/arm64/gtdt.c index 597a737..92f9edf 100644 --- a/drivers/acpi/arm64/gtdt.c +++ b/drivers/acpi/arm64/gtdt.c @@ -199,7 +199,7 @@ sta

Re: [PATCH] powerpc/mm: Call flush_tlb_kernel_range with interrupts enabled

2017-09-24 Thread Christophe LEROY
Le 24/09/2017 à 19:30, Guenter Roeck a écrit : flush_tlb_kernel_range() may call smp_call_function_many() which expects interrupts to be enabled. This results in a traceback. WARNING: CPU: 0 PID: 1 at kernel/smp.c:416 smp_call_function_many+0xcc/0x2fc CPU: 0 PID: 1 Comm: swapper/0 Not tainted

Re: [PATCH V9 14/15] mmc: cqhci: support for command queue enabled host

2017-09-24 Thread Adrian Hunter
On 25/09/17 05:39, Bough Chen wrote: >> +static void cqhci_set_irqs(struct cqhci_host *cq_host, u32 set) { >> +u32 ier; >> + >> +ier = cqhci_readl(cq_host, CQHCI_ISTE); >> +ier |= set; > > I think operation ' |= ' is not correct, since we will also call > cqhci_set_irqs(cq_host, 0), >

Re: [PATCH 3/3] iio: accel: mma8452: Add single pulse/tap event detection feature for fxls8471.

2017-09-24 Thread Martin Kepplinger
Am 25.09.2017 05:15 schrieb Harinath Nampally: This patch adds following changes to support tap feature: - defines pulse event related registers - enables and handles single pulse interrupt for fxls8471 - handles IIO_EV_DIR_EITHER in read/write callbacks because event direction for pulse is eit

Re: Traceback due to 'powerpc/mm: Fix kernel RAM protection...' when running ppc image in qemu

2017-09-24 Thread Christophe LEROY
Le 24/09/2017 à 18:05, Guenter Roeck a écrit : On 09/21/2017 11:44 AM, Christophe LEROY wrote: Le 20/09/2017 à 05:45, Guenter Roeck a écrit : On 09/19/2017 08:05 PM, Michael Ellerman wrote: Guenter Roeck writes: Hi, I see a the following traceback when running an SMP image based on 85x

Re: [PATCH] mm, swap: Make VMA based swap readahead configurable

2017-09-24 Thread Minchan Kim
On Mon, Sep 25, 2017 at 02:24:46PM +0800, Huang, Ying wrote: > Minchan Kim writes: > > > On Mon, Sep 25, 2017 at 01:54:42PM +0800, Huang, Ying wrote: > >> Hi, Minchan, > >> > >> Minchan Kim writes: > >> > >> > Hi Huang, > >> > > >> > On Thu, Sep 21, 2017 at 09:33:10AM +0800, Huang, Ying wrote:

Re: [PATCH 4.13 000/109] 4.13.4-stable review

2017-09-24 Thread Greg Kroah-Hartman
On Sun, Sep 24, 2017 at 06:05:54PM -0700, Guenter Roeck wrote: > On 09/24/2017 01:32 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.13.4 release. > > There are 109 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 3.18 00/42] 3.18.72-stable review

2017-09-24 Thread Greg Kroah-Hartman
On Sun, Sep 24, 2017 at 06:02:56PM -0700, Guenter Roeck wrote: > On 09/24/2017 01:27 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.72 release. > > There are 42 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] mm, swap: Make VMA based swap readahead configurable

2017-09-24 Thread Huang, Ying
Minchan Kim writes: > On Mon, Sep 25, 2017 at 01:54:42PM +0800, Huang, Ying wrote: >> Hi, Minchan, >> >> Minchan Kim writes: >> >> > Hi Huang, >> > >> > On Thu, Sep 21, 2017 at 09:33:10AM +0800, Huang, Ying wrote: >> >> From: Huang Ying >> >> [snip] >> >> >> diff --git a/mm/Kconfig b/mm/Kco

Re: [PATCH 0/3] This patchset refactors event related functions

2017-09-24 Thread Martin Kepplinger
Am 25.09.2017 05:15 schrieb Harinath Nampally: Harinath Nampally (3): Following 2 patches are for refactor: iio: accel: mma8452: Rename time step look up struct to generic name as the values are same for all the events. iio: accel: mma8452: Rename read/write event value callbacks

Re: [PATCH 4.9 00/77] 4.9.52-stable review

2017-09-24 Thread Greg Kroah-Hartman
On Sun, Sep 24, 2017 at 11:31:34PM -0500, Tom Gall wrote: > On Sun, Sep 24, 2017 at 3:31 PM, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.9.52 release. > > There are 77 patches in this series, all will be posted as a response > > to this one. If anyone ha

[PATCH] Revert "f2fs: reuse nids more aggressively"

2017-09-24 Thread Chao Yu
Commit 268344664603 ("f2fs: reuse nids more aggressively") tries to reuse nids as many as possilbe, in order to mitigate producing obsolete node pages in page cache. But acutally, before we reuse the nids and related node page cache, we will always invalidate that node page, so there will be not a

Re: [PATCH] mm, swap: Make VMA based swap readahead configurable

2017-09-24 Thread Minchan Kim
On Mon, Sep 25, 2017 at 01:54:42PM +0800, Huang, Ying wrote: > Hi, Minchan, > > Minchan Kim writes: > > > Hi Huang, > > > > On Thu, Sep 21, 2017 at 09:33:10AM +0800, Huang, Ying wrote: > >> From: Huang Ying > > [snip] > > >> diff --git a/mm/Kconfig b/mm/Kconfig > >> index 9c4b80c2..e62c8e

Re: [PATCH v4] dmaengine: qcom-bam: Process multiple pending descriptors

2017-09-24 Thread Vinod Koul
On Mon, Aug 28, 2017 at 08:30:24PM +0530, Sricharan R wrote: > The bam dmaengine has a circular FIFO to which we > add hw descriptors that describes the transaction. > The FIFO has space for about 4096 hw descriptors. > > Currently we add one descriptor and wait for it to > complete with interrupt

Re: [char-misc 1/2] mei: always use domain runtime pm callbacks.

2017-09-24 Thread Winkler, Tomas
On Mon, 2017-09-25 at 00:37 +0200, Rafael J. Wysocki wrote: > On Sun, Sep 24, 2017 at 10:35 AM, Tomas Winkler > wrote: > > From: Alexander Usyskin > > > > This patch fixes a regression caused by the new changes > > in the run wake handlers, pci_dev_run_wake() return true > > when wake i

Re: [PATCH] mac80211: aead api to reduce redundancy

2017-09-24 Thread Herbert Xu
On Mon, Sep 25, 2017 at 07:22:26AM +0200, Johannes Berg wrote: > > The code moves to crypto/ though, and I'm not even sure I can vouch for > the Makefile choice there. Thanks, I missed that. I don't think this belongs in crypto. This proposed helper is only useful for wireless so it should stay

Re: [PATCH 03/10] x86/fpu: Use validate_xstate_header() to validate the xstate_header in sanitize_restored_xstate()

2017-09-24 Thread Ingo Molnar
* Eric Biggers wrote: > On Sun, Sep 24, 2017 at 09:02:42PM +0200, Ingo Molnar wrote: > > > > * Eric Biggers wrote: > > > > > On Sun, Sep 24, 2017 at 12:59:06PM +0200, Ingo Molnar wrote: > > > > @@ -328,10 +331,8 @@ static int __fpu__restore_sig(void __user *buf, > > > > void __user *buf_fx,

Re: [PATCH v5 0/4] Certificate insertion support for x86 bzImages

2017-09-24 Thread Mike Rapoport
Hi, > These patches add support for modifying the reserved space for extra > certificates in a compressed bzImage in x86. This allows separating the > system keyring certificate from the kernel build process. After the kernel > image is distributed, the insert-sys-cert script can be used to insert

Re: [PATCH 03/10] x86/fpu: Use validate_xstate_header() to validate the xstate_header in sanitize_restored_xstate()

2017-09-24 Thread Ingo Molnar
* Eric Biggers wrote: > The following diff against tip/master fixes the bug. Note: we *could* check > 'use_xsave()' instead of 'state_size > offsetof(struct xregs_state, header)', > but that might be confusing in the case where we couldn't find the xstate > information in the memory layout and

Re: [PATCH] nvme: make controller 'state' sysfs attribute pollable

2017-09-24 Thread Hannes Reinecke
On 09/25/2017 07:37 AM, Sagi Grimberg wrote: > >> So why exposing it then in the first time? I know you don't want >> dm-mpath in >> NVMe (neither do I) but we have to have something until your patchset >> and ANA >> is merged. And with this patch it's trivial to build a path checker >> that just

Re: [PATCH] mm, swap: Make VMA based swap readahead configurable

2017-09-24 Thread Huang, Ying
Hi, Minchan, Minchan Kim writes: > Hi Huang, > > On Thu, Sep 21, 2017 at 09:33:10AM +0800, Huang, Ying wrote: >> From: Huang Ying [snip] >> diff --git a/mm/Kconfig b/mm/Kconfig >> index 9c4b80c2..e62c8e2e34ef 100644 >> --- a/mm/Kconfig >> +++ b/mm/Kconfig >> @@ -434,6 +434,26 @@ config TH

Re: [PATCH] mm, swap: Make VMA based swap readahead configurable

2017-09-24 Thread Minchan Kim
Hi Huang, On Thu, Sep 21, 2017 at 09:33:10AM +0800, Huang, Ying wrote: > From: Huang Ying > > This patch adds a new Kconfig option VMA_SWAP_READAHEAD and wraps VMA > based swap readahead code inside #ifdef CONFIG_VMA_SWAP_READAHEAD/#endif. > This is more friendly for tiny kernels. And as pointe

Re: [PATCH] nvme: make controller 'state' sysfs attribute pollable

2017-09-24 Thread Sagi Grimberg
So why exposing it then in the first time? I know you don't want dm-mpath in NVMe (neither do I) but we have to have something until your patchset and ANA is merged. And with this patch it's trivial to build a path checker that just looks at the state attribute in sysfs. Can't we just not use

Re: [PATCH] nvme: make controller 'state' sysfs attribute pollable

2017-09-24 Thread Sagi Grimberg
Notify sysfs about changes of a nvme controller so user-space can watch the file via poll() or select() in order to react to a state change. Userspace has no business polling for the state. Please consider this patch. At least upstream multipath-tools is using the sysfs state now: [1] htt

[PATCH v3 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-24 Thread Oleksij Rempel
From: Steffen Trumtrar Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Dinh Nguyen Cc: linux-arm-ker...@lists.infradead.org --- no changes since version v1 arch/arm/boot/dts/socfpga.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b

[PATCH v3 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-24 Thread Oleksij Rempel
From: Steffen Trumtrar The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch...@vger.ker

Re: [PATCH] s390/sclp: Use setup_timer and mod_timer

2017-09-24 Thread Martin Schwidefsky
On Sun, 24 Sep 2017 17:30:14 +0530 Himanshu Jha wrote: > Use setup_timer and mod_timer API instead of structure assignments. > > This is done using Coccinelle and semantic patch used > for this as follows: > > @@ > expression x,y,z,a,b; > @@ > > -init_timer (&x); > +setup_timer (&x, y, z); > +

Re: [PATCH] mac80211: aead api to reduce redundancy

2017-09-24 Thread Johannes Berg
On Mon, 2017-09-25 at 12:56 +0800, Herbert Xu wrote: > On Sun, Sep 24, 2017 at 07:42:46PM +0200, Johannes Berg wrote: > > > > Unrelated to this, I'm not sure whose tree this should go through - > > probably Herbert's (or DaveM's with his ACK? not sure if there's a > > crypto tree?) or so? > > Sin

[PATCH v1 2/4] KVM/vmx: auto switch MSR_IA32_DEBUGCTLMSR

2017-09-24 Thread Wei Wang
Passthrough the MSR_IA32_DEBUGCTLMSR to the guest, and take advantage of the hardware VT-x feature to auto switch the msr upon VMExit and VMEntry. Signed-off-by: Wei Wang --- arch/x86/kvm/vmx.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/arch/x86/kvm/vmx.c b

[PATCH v1 1/4] KVM/vmx: re-write the msr auto switch feature

2017-09-24 Thread Wei Wang
This patch clarifies a vague statement in the SDM: the recommended maximum number of MSRs that can be automically switched by CPU during VMExit and VMEntry is 512, rather than 512 Bytes of MSRs. Depending on the CPU implementations, it may also support more than 512 MSRs to be auto switched. This

Re: [PATCH] mac80211: aead api to reduce redundancy

2017-09-24 Thread Herbert Xu
On Sun, Sep 24, 2017 at 07:42:46PM +0200, Johannes Berg wrote: > > Unrelated to this, I'm not sure whose tree this should go through - > probably Herbert's (or DaveM's with his ACK? not sure if there's a > crypto tree?) or so? Since you're just rearranging code invoking the crypto API, rather than

[PATCH v1 3/4] perf/x86: add a function to get the lbr stack

2017-09-24 Thread Wei Wang
The LBR stack MSRs are architecturally specific. The perf subsystem has already assigned the abstracted MSR values based on the CPU architecture. This patch enables a caller outside the perf subsystem to get the LBR stack info. This is useful for hyperviosrs to prepare the lbr feature for the gues

[PATCH v1 0/4] Enable LBR for the guest

2017-09-24 Thread Wei Wang
This patch series enables the Last Branch Recording feature for the guest. Instead of trapping each LBR stack MSR access, the MSRs are passthroughed to the guest. Those MSRs are switched (i.e. load and saved) on VMExit and VMEntry. Test: Try "perf record -b ./test_program" on guest. Wei Wang (4):

[PATCH v1 4/4] KVM/vmx: enable lbr for the guest

2017-09-24 Thread Wei Wang
Passthrough the LBR stack to the guest, and auto switch the stack MSRs upon VMEntry and VMExit. Signed-off-by: Wei Wang --- arch/x86/kvm/vmx.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 5f5

Re: [PATCH 1/4] rcu: Allow for page faults in NMI handlers

2017-09-24 Thread Paul E. McKenney
On Mon, Sep 25, 2017 at 06:41:30AM +0200, Steven Rostedt wrote: > Sorry for the top post, currently on a train to Paris. > > This series already went through all my testing, and I would hate to rebase > it for this reason. Can you just add a patch to remove the READ_ONCE()s? If Linus accepts the

[PATCH][trivial] Kconfig: Fix typos in Kconfig

2017-09-24 Thread Masanari Iida
This patch fix some spelling typos found in Kconfig files. Signed-off-by: Masanari Iida --- arch/alpha/Kconfig| 2 +- arch/arc/Kconfig | 6 +++--- arch/arm/mach-bcm/Kconfig | 4 ++-- arch/arm/plat-samsung/Kconfig | 2 +- arch/arm64/Kco

Re: [PATCH 1/4] rcu: Allow for page faults in NMI handlers

2017-09-24 Thread Steven Rostedt
Sorry for the top post, currently on a train to Paris. This series already went through all my testing, and I would hate to rebase it for this reason. Can you just add a patch to remove the READ_ONCE()s? Thanks, -- Steve On September 25, 2017 2:34:56 AM GMT+02:00, "Paul E. McKenney" wrote:

Re: [PATCH v4 1/9] brcmsmac: make some local variables 'static const' to reduce stack size

2017-09-24 Thread Kalle Valo
Arnd Bergmann writes: > With KASAN and a couple of other patches applied, this driver is one > of the few remaining ones that actually use more than 2048 bytes of > kernel stack: > > broadcom/brcm80211/brcmsmac/phy/phy_n.c: In function > 'wlc_phy_workarounds_nphy_gainctrl': > broadcom/brcm80211/

Re: [PATCH 4.9 00/77] 4.9.52-stable review

2017-09-24 Thread Tom Gall
On Sun, Sep 24, 2017 at 3:31 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.52 release. > There are 77 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. > > Res

Re: usb/wireless/rsi_91x: use-after-free write in __run_timers

2017-09-24 Thread Kalle Valo
Andrey Konovalov writes: > I've got the following report while fuzzing the kernel with syzkaller. > > On commit 6e80ecdddf4ea6f3cd84e83720f3d852e6624a68 (Sep 21). > > == > BUG: KASAN: use-after-free in __run_timers+0xc0e/0xd40 > Writ

Re: [PATCH] brcm80211: make const array ucode_ofdm_rates static, reduces object code size

2017-09-24 Thread Kalle Valo
Arend van Spriel writes: > Please use 'brcmsmac:' as prefix instead of 'brcm80211:'. I can fix that. -- Kalle Valo

Re: [PATCH v2 06/10] arm64: allwinner: a64: Add devicetree binding for DMA controller

2017-09-24 Thread Rob Herring
On Sat, Sep 23, 2017 at 6:34 PM, Stefan Bruens wrote: > On Mittwoch, 20. September 2017 22:53:00 CEST Rob Herring wrote: >> On Sun, Sep 17, 2017 at 05:19:52AM +0200, Stefan Brüns wrote: >> > The A64 is register compatible with the H3, but has a different number >> > of dma channels and request por

Re: [PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-24 Thread Rob Herring
On Sat, Sep 23, 2017 at 1:47 AM, Chen Zhong wrote: > Sorry for the typo. > > On Sat, 2017-09-23 at 14:38 +0800, Chen Zhong wrote: >> On Wed, 2017-09-20 at 15:53 -0500, Rob Herring wrote: >> > On Sun, Sep 17, 2017 at 04:00:49PM +0800, Chen Zhong wrote: >> > > This patch adds the device tree binding

[Kernel.org Helpdesk #46182] [linuxfoundation.org #46182] Re: Linux 4.14-rc2 (bad patch file on kernel.org)

2017-09-24 Thread Linus Torvalds via RT
On Sun, Sep 24, 2017 at 7:57 PM, Randy Dunlap wrote: > > Downloading & applying 4.14-rc2 [patch] > > > from kernel.org (home page) gives me a file that does not apply cleanly to > v4.13: Hmm. Th

[Kernel.org Helpdesk #46182] [linuxfoundation.org #46182] Re: Linux 4.14-rc2 (bad patch file on kernel.org)

2017-09-24 Thread Linus Torvalds via RT
On Sun, Sep 24, 2017 at 8:41 PM, Linus Torvalds wrote: > > But I just tried it myself, and get the same breakage. In fact, the > patch it downloads is exactly 50397184 bytes in size. Side note: instead of downloading a 50MB patch, you could probably use the same amount of bandwidth to download an

Re: Linux 4.14-rc2 (bad patch file on kernel.org)

2017-09-24 Thread Linus Torvalds
On Sun, Sep 24, 2017 at 8:41 PM, Linus Torvalds wrote: > > But I just tried it myself, and get the same breakage. In fact, the > patch it downloads is exactly 50397184 bytes in size. Side note: instead of downloading a 50MB patch, you could probably use the same amount of bandwidth to download an

Re: Linux 4.14-rc2 (bad patch file on kernel.org)

2017-09-24 Thread Linus Torvalds
On Sun, Sep 24, 2017 at 7:57 PM, Randy Dunlap wrote: > > Downloading & applying 4.14-rc2 [patch] > > > from kernel.org (home page) gives me a file that does not apply cleanly to > v4.13: Hmm. Th

Re: [PATCH v2 1/5] clk: Add clock driver for ASPEED BMC SoCs

2017-09-24 Thread Andrew Jeffery
On Thu, 2017-09-21 at 13:56 +0930, Joel Stanley wrote: > This adds the stub of a driver for the ASPEED SoCs. The clocks are > defined and the static registration is set up. >  > Signed-off-by: Joel Stanley > --- >  drivers/clk/Kconfig  |  12 +++ >  drivers/clk/Makefile 

[PATCH 2/3] iio: accel: mma8452: Rename read/write event value callbacks to generic function name.

2017-09-24 Thread Harinath Nampally
'mma8452_read_thresh' and 'mma8452_write_thresh' functions does more than just read/write threshold values. They also handle IIO_EV_INFO_HIGH_PASS_FILTER_3DB and IIO_EV_INFO_PERIOD therefore renaming to generic names. Improves code readability, no impact on functionality. Signed-off-by: Harinath

[PATCH 1/3] iio: accel: mma8452: Rename time step look up struct to generic name as the values are same for all the events.

2017-09-24 Thread Harinath Nampally
Improves code readability, no impact on functionality. Signed-off-by: Harinath Nampally --- drivers/iio/accel/mma8452.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c index 3472e7e..74b6221 100644 --- a/drivers/

[PATCH 0/3] This patchset refactors event related functions

2017-09-24 Thread Harinath Nampally
Harinath Nampally (3): Following 2 patches are for refactor: iio: accel: mma8452: Rename time step look up struct to generic name as the values are same for all the events. iio: accel: mma8452: Rename read/write event value callbacks to generic function name. Following patch add

[PATCH 3/3] iio: accel: mma8452: Add single pulse/tap event detection feature for fxls8471.

2017-09-24 Thread Harinath Nampally
This patch adds following changes to support tap feature: - defines pulse event related registers - enables and handles single pulse interrupt for fxls8471 - handles IIO_EV_DIR_EITHER in read/write callbacks because event direction for pulse is either rising or falling. - configures read/write

Re: [patch 3/3] x86: kvm guest side support for KVM_HC_RT_PRIO hypercall

2017-09-24 Thread Marcelo Tosatti
On Sun, Sep 24, 2017 at 09:05:44AM -0400, Paolo Bonzini wrote: > > > - Original Message - > > From: "Peter Zijlstra" > > To: "Paolo Bonzini" > > Cc: "Marcelo Tosatti" , "Konrad Rzeszutek Wilk" > > , mi...@redhat.com, > > k...@vger.kernel.org, linux-kernel@vger.kernel.org, "Thomas Gleix

Re: I/O hangs after resuming from suspend-to-ram

2017-09-24 Thread Ming Lei
On Sun, Sep 24, 2017 at 07:33:00PM +0200, Martin Steigerwald wrote: > Ming Lei - 21.09.17, 06:17: > > On Wed, Sep 20, 2017 at 07:25:02PM +0200, Martin Steigerwald wrote: > > > Ming Lei - 28.08.17, 21:32: > > > > On Mon, Aug 28, 2017 at 03:10:35PM +0200, Martin Steigerwald wrote: > > > > > Ming Lei

Re: Linux 4.14-rc2 (bad patch file on kernel.org)

2017-09-24 Thread Randy Dunlap
On 09/24/17 17:03, Linus Torvalds wrote: > I'm back to my usual Sunday release schedule, and rc2 is out there in > all the normal places. Downloading & applying 4.14-rc2 [patch] from kernel.org (

Re: [PATCH] Revert "f2fs: node segment is prior to data segment selected victim"

2017-09-24 Thread Chao Yu
On 2017/9/23 17:02, Yunlong Song wrote: > This reverts commit b9cd20619e359d199b755543474c3d853c8e3415. > > That patch causes much fewer node segments (which can be used for SSR) > than before, and in the corner case (e.g. create and delete *.txt files in > one same directory, there will be very f

Re: [PATCH] Input: add support for the Samsung S6SY761 touchscreen

2017-09-24 Thread Andi Shyti
Hi Dmitry, > > > > +static void s6sy761_report_coordinates(struct s6sy761_data *sdata, u8 > > > > *event) > > > > +{ > > > > + u8 tid = ((event[0] & S6SY761_MASK_TID) >> 2) - 1; > > > > > > Should we make sure that event[0] & S6SY761_MASK_TID is not 0? > > > > I check event[0] already in

RE: [PATCH V9 14/15] mmc: cqhci: support for command queue enabled host

2017-09-24 Thread Bough Chen
> -Original Message- > From: Adrian Hunter [mailto:adrian.hun...@intel.com] > Sent: Friday, September 22, 2017 8:37 PM > To: Ulf Hansson > Cc: linux-mmc ; linux-block bl...@vger.kernel.org>; linux-kernel ; Bough > Chen ; Alex Lemberg ; > Mateusz Nowak ; Yuliy Izrailov > ; Jaehoon Chung ;

Re: [patch 3/3] x86: kvm guest side support for KVM_HC_RT_PRIO hypercall

2017-09-24 Thread Marcelo Tosatti
On Fri, Sep 22, 2017 at 02:59:51PM +0200, Peter Zijlstra wrote: > On Fri, Sep 22, 2017 at 09:36:39AM -0300, Marcelo Tosatti wrote: > > On Fri, Sep 22, 2017 at 02:31:07PM +0200, Peter Zijlstra wrote: > > > On Fri, Sep 22, 2017 at 09:16:40AM -0300, Marcelo Tosatti wrote: > > > > On Fri, Sep 22, 2017

Re: [patch 3/3] x86: kvm guest side support for KVM_HC_RT_PRIO hypercall\

2017-09-24 Thread Marcelo Tosatti
On Fri, Sep 22, 2017 at 03:01:41PM +0200, Peter Zijlstra wrote: > On Fri, Sep 22, 2017 at 09:40:05AM -0300, Marcelo Tosatti wrote: > > > Are you arguing its invalid for the following application to execute on > > housekeeping vcpu of a realtime system: > > > > void main(void) > > { > > > >

9f4835fb96 ("x86/fpu: Tighten validation of user-supplied .."): Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2017-09-24 Thread kernel test robot
Hi Ingo, On your request I'm resending the report here, with attached dmesg, kconfig and reproduce script. I'll go on to test your split up commits, too. https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/fpu commit 9f4835fb965d8eea7e608d0cb62c246c804dec90 Author: Eric Bigg

Re: [PATCH net-next RFC 2/5] vhost: introduce helper to prefetch desc index

2017-09-24 Thread Jason Wang
On 2017年09月22日 17:02, Stefan Hajnoczi wrote: On Fri, Sep 22, 2017 at 04:02:32PM +0800, Jason Wang wrote: diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index f87ec75..8424166d 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -2437,6 +2437,61 @@ struct vhost_msg_nod

Re: [PATCH net-next RFC 1/5] vhost: split out ring head fetching logic

2017-09-24 Thread Jason Wang
On 2017年09月22日 16:31, Stefan Hajnoczi wrote: On Fri, Sep 22, 2017 at 04:02:31PM +0800, Jason Wang wrote: +/* This looks in the virtqueue and for the first available buffer, and converts + * it to an iovec for convenient access. Since descriptors consist of some + * number of output then some

Re: [PATCH] fix unbalanced page refcounting in bio_map_user_iov

2017-09-24 Thread Vitaly Mayatskikh
On Sun, 24 Sep 2017 10:27:39 -0400, Al Viro wrote: > BTW, there's something fishy in bio_copy_user_iov(). If the area we'd asked > for > had been too large for a single bio, we are going to create a bio and have > bio_add_pc_page() eventually fill it up to limit. Then we return into > __blk_rq

ffsb job does not exit on xfs 4.14-rc1+

2017-09-24 Thread Xiong Zhou
Hi, ffsb test won't exit like this on Linus tree 4.14-rc1+. Latest commit cd4175b11685 This does not happen on v4.13 Thanks, 1 1505 Ss 0 0:00 /usr/sbin/sshd -D 1505 1752 Ss 0 0:00 \_ sshd: root [priv] 1752 1762 S0 0:00 | \_ sshd: root@pts/0 1762 1763 Ss 0 0:

Re: [PATCH v2] mm, sysctl: make VM stats configurable

2017-09-24 Thread Huang, Ying
Kemi Wang writes: > This is the second step which introduces a tunable interface that allow VM > stats configurable for optimizing zone_statistics(), as suggested by Dave > Hansen and Ying Huang. > > === > When performance becomes a bottleneck and you can toler

[PATCH review for 4.9 15/50] sched/fair: Update rq clock before changing a task's CPU affinity

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Wanpeng Li [ Upstream commit a499c3ead88ccf147fc50689e85a530ad923ce36 ] This is triggered during boot when CONFIG_SCHED_DEBUG is enabled: [ cut here ] WARNING: CPU: 6 PID: 81 at kernel/sched/sched.h:812 set_next_entity+0x11d/0x380 rq->clock_update_flags < RQCF_A

[PATCH review for 4.9 29/50] qede: Prevent index problems in loopback test

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Sudarsana Reddy Kalluru [ Upstream commit afe981d664aeeebc8d1bcbd7d2070b5432edaecb ] Driver currently utilizes the same loop variable in two nested loops. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Yuval Mintz Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- d

[PATCH review for 4.9 14/50] f2fs: do SSR for data when there is enough free space

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Yunlong Song [ Upstream commit 035e97adab26c1121cedaeb9bd04cf48a8e8cf51 ] In allocate_segment_by_default(), need_SSR() already detected it's time to do SSR. So, let's try to find victims for data segments more aggressively in time. Signed-off-by: Yunlong Song Signed-off-by: Jaegeuk Kim

[PATCH review for 4.9 26/50] ASoC: mediatek: add I2C dependency for CS42XX8

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 72cedf599fcebfd6cd2550274d7855838068d28c ] We should not select drivers that depend on I2C when that is disabled, as it results in a build error: warning: (SND_SOC_MT2701_CS42448) selects SND_SOC_CS42XX8_I2C which has unmet direct dependencies (SOUND && !M

[PATCH review for 4.9 24/50] slub: do not merge cache if slub_debug contains a never-merge flag

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Grygorii Maistrenko [ Upstream commit c6e28895a4372992961888ffaadc9efc643b5bfe ] In case CONFIG_SLUB_DEBUG_ON=n, find_mergeable() gets debug features from commandline but never checks if there are features from the SLAB_NEVER_MERGE set. As a result selected by slub_debug caches are always

[PATCH review for 4.9 07/50] ALSA: hda: Add Geminilake HDMI codec ID

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Vinod Koul [ Upstream commit 126cfa2f5e15ae2ca7f70be71b07e6cd8d2b44d1 ] Geminilake HDMI codec 0x280d is similar to previous platforms, so add it with similar ops as previous. Signed-off-by: Senthilnathan Veppur Signed-off-by: Vinod Koul Signed-off-by: Takashi Iwai Signed-off-by: Sasha

[PATCH review for 4.9 17/50] f2fs: do not wait for writeback in write_begin

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Jaegeuk Kim [ Upstream commit 86d54795c94532075d862aa0a79f0c981dab4bdd ] Otherwise we can get livelock like below. [79880.428136] dbench D0 18405 18404 0x [79880.428139] Call Trace: [79880.428142] __schedule+0x219/0x6b0 [79880.428144] schedule+0x36/0x80 [79880.4281

[PATCH review for 4.9 18/50] md/linear: shutup lockdep warnning

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Shaohua Li [ Upstream commit d939cdfde34f50b95254b375f498447c82190b3e ] Commit 03a9e24(md linear: fix a race between linear_add() and linear_congested()) introduces the warnning. Acked-by: Coly Li Signed-off-by: Shaohua Li Signed-off-by: Sasha Levin --- drivers/md/linear.c | 3 ++- 1

[PATCH review for 4.9 03/50] watchdog: kempld: fix gcc-4.3 build

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 3736d4eb6af37492aeded7fec0072dedd959c842 ] gcc-4.3 can't decide whether the constant value in kempld_prescaler[PRESCALER_21] is built-time constant or not, and gets confused by the logic in do_div(): drivers/watchdog/kempld_wdt.o: In function `kempld_wdt_se

[PATCH review for 4.9 10/50] net/mlx4_en: fix overflow in mlx4_en_init_timestamp()

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Eric Dumazet [ Upstream commit 47d3a07528ecbbccf53bc4390d70b4e3d1c04fcf ] The cited commit makes a great job of finding optimal shift/multiplier values assuming a 10 seconds wrap around, but forgot to change the overflow_period computation. It overflows in cyclecounter_cyc2ns(), and the f

[PATCH review for 4.9 04/50] irqchip/crossbar: Fix incorrect type of local variables

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Franck Demathieu [ Upstream commit b28ace12661fbcfd90959c1e84ff5a85113a82a1 ] The max and entry variables are unsigned according to the dt-bindings. Fix following 3 sparse issues (-Wtypesign): drivers/irqchip/irq-crossbar.c:222:52: warning: incorrect type in argument 3 (different signe

[PATCH review for 4.9 02/50] locking/lockdep: Add nest_lock integrity test

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Peter Zijlstra [ Upstream commit 7fb4a2cea6b18dab56d609530d077f168169ed6b ] Boqun reported that hlock->references can overflow. Add a debug test for that to generate a clear error when this happens. Without this, lockdep is likely to report a mysterious failure on unlock. Reported-by: Bo

[PATCH review for 4.9 05/50] initramfs: finish fput() before accessing any binary from initramfs

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Lokesh Vutla [ Upstream commit 08865514805d2de8e7002fa8149c5de3e391f412 ] Commit 4a9d4b024a31 ("switch fput to task_work_add") implements a schedule_work() for completing fput(), but did not guarantee calling __fput() after unpacking initramfs. Because of this, there is a possibility that

[PATCH review for 4.9 12/50] netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Jarno Rajahalme [ Upstream commit 4b86c459c7bee3acaf92f0e2b4c6ac803eaa1a58 ] Commit 4dee62b1b9b4 ("netfilter: nf_ct_expect: nf_ct_expect_insert() returns void") inadvertently changed the successful return value of nf_ct_expect_related_report() from 0 to 1 due to __nf_ct_expect_check() retu

[PATCH review for 4.9 01/50] xen-netback: Use GFP_ATOMIC to allocate hash

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Anoob Soman [ Upstream commit 9f674e48c13dcbc31ac903433727837795b81efe ] Allocation of new_hash, inside xenvif_new_hash(), always happen in softirq context, so use GFP_ATOMIC instead of GFP_KERNEL for new hash allocation. Signed-off-by: Anoob Soman Signed-off-by: David S. Miller Signed-

[PATCH review for 4.9 06/50] mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Johannes Berg [ Upstream commit ff4dd73dd2b4806419f8ff65cbce11d5019548d0 ] Unfortunately, the nla policy was defined to have HWSIM_ATTR_RADIO_NAME as an NLA_STRING, rather than NLA_NUL_STRING, so we can't use it as a NUL-terminated string in the kernel. Rather than break the API, kasprint

[PATCH review for 4.9 16/50] Btrfs: send, fix failure to rename top level inode due to name collision

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Robbie Ko [ Upstream commit 4dd9920d991745c4a16f53a8f615f706fbe4b3f7 ] Under certain situations, an incremental send operation can fail due to a premature attempt to create a new top level inode (a direct child of the subvolume/snapshot root) whose name collides with another inode that was

[PATCH review for 4.9 32/50] i2c: at91: ensure state is restored after suspending

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Alexandre Belloni [ Upstream commit e3ccc921b7d8fd1fcd10a00720e09823d8078666 ] When going to suspend, the I2C registers may be lost because the power to VDDcore is cut. Restore them when resuming. Signed-off-by: Alexandre Belloni Acked-by: Ludovic Desroches Signed-off-by: Wolfram Sang

[PATCH review for 4.9 33/50] ceph: don't update_dentry_lease unless we actually got one

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit 80d025ffede88969f6adf7266fbdedfd5641148a ] This if block updates the dentry lease even in the case where the MDS didn't grant one. Signed-off-by: Jeff Layton Reviewed-by: Yan, Zheng Signed-off-by: Ilya Dryomov Signed-off-by: Sasha Levin --- fs/ceph/inode

[PATCH review for 4.9 08/50] qed: Don't use attention PTT for configuring BW

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: "Mintz, Yuval" [ Upstream commit 6f437d431930ff86e4a971d29321951faadb97c7 ] Commit 653d2ffd6405 ("qed*: Fix link indication race") introduced another race - one of the inner functions called from the link-change flow is explicitly using the slowpath context dedicated PTT instead of gaining

[PATCH review for 4.9 20/50] net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Majd Dibbiny [ Upstream commit 95f1ba9a24af9769f6e20dfe9a77c863f253f311 ] In the VF driver, module parameter mlx4_log_num_mgm_entry_size was mistakenly overwritten -- and in a manner which overrode the device-managed flow steering option encoded in the parameter. log_num_mgm_entry_size is

[PATCH review for 4.9 42/50] hrtimer: Catch invalid clockids again

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Marc Zyngier [ Upstream commit 336a9cde10d641e70bac67d90ae91b3190c3edca ] commit 82e88ff1ea94 ("hrtimer: Revert CLOCK_MONOTONIC_RAW support") removed unfortunately a sanity check in the hrtimer code which was part of that MONOTONIC_RAW patch series. It would have caught the bogus usage of

[PATCH review for 4.9 19/50] sparc64: Migrate hvcons irq to panicked cpu

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Vijay Kumar [ Upstream commit 7dd4fcf5b70694dc961eb6b954673e4fc9730dbd ] On panic, all other CPUs are stopped except the one which had hit panic. To keep console alive, we need to migrate hvcons irq to panicked CPU. Signed-off-by: Vijay Kumar Signed-off-by: David S. Miller Signed-off-by

[PATCH review for 4.9 09/50] mac80211: fix power saving clients handling in iwlwifi

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Emmanuel Grumbach [ Upstream commit d98937f4ea713d21e0fcc345919f86c877dd8d6f ] iwlwifi now supports RSS and can't let mac80211 track the PS state based on the Rx frames since they can come out of order. iwlwifi is now advertising AP_LINK_PS, and uses explicit notifications to teach mac8021

[PATCH review for 4.9 13/50] iio: adc: xilinx: Fix error handling

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Christophe JAILLET [ Upstream commit ca1c39ef76376b67303d01f94fe98bb68bb3861a ] Reorder error handling labels in order to match the way resources have been allocated. Signed-off-by: Christophe JAILLET Acked-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Lev

[PATCH review for 4.9 21/50] crypto: xts - Add ECB dependency

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Milan Broz [ Upstream commit 12cb3a1c4184f891d965d1f39f8cfcc9ef617647 ] Since the commit f1c131b45410a202eb45cc55980a7a9e4e4b4f40 crypto: xts - Convert to skcipher the XTS mode is based on ECB, so the mode must select ECB otherwise it can fail to initialize. Signed-off-by: Milan Bro

[PATCH review for 4.9 23/50] ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Eric Ren [ Upstream commit 439a36b8ef38657f765b80b775e2885338d72451 ] We are in the situation that we have to avoid recursive cluster locking, but there is no way to check if a cluster lock has been taken by a precess already. Mostly, we can avoid recursive locking by writing code careful

[PATCH review for 4.9 25/50] scsi: scsi_dh_emc: return success in clariion_std_inquiry()

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Dan Carpenter [ Upstream commit 4d7d39a18b8b81511f0b893b7d2203790bf8a58b ] We accidentally return an uninitialized variable on success. Fixes: b6ff1b14cdf4 ("[SCSI] scsi_dh: Update EMC handler") Signed-off-by: Dan Carpenter Reviewed-by: Hannes Reinecke Signed-off-by: Martin K. Petersen

[PATCH review for 4.9 46/50] regulator: core: Resolve supplies before disabling unused regulators

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Javier Martinez Canillas [ Upstream commit 3827b64dba27ebadb4faf51f2c91143e01ba1f6d ] After commit 66d228a2bf03 ("regulator: core: Don't use regulators as supplies until the parent is bound"), input supplies aren't resolved if the input supplies parent device has not been bound. This preve

[PATCH review for 4.9 34/50] ceph: fix bogus endianness change in ceph_ioctl_set_layout

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit 24c149ad6914d349d8b64749f20f3f8ea5031fe0 ] sparse says: fs/ceph/ioctl.c:100:28: warning: cast to restricted __le64 preferred_osd is a __s64 so we don't need to do any conversion. Also, just remove the cast in ceph_ioctl_get_layout as it's not needed. Si

[PATCH review for 4.9 31/50] qed: Read queue state before releasing buffer

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Ram Amrani [ Upstream commit c5212b943d4b52a7d9e0d9f747e7ad59c50d31f1 ] Currently the state is read only after the buffers are relesed. Signed-off-by: Ram Amrani Signed-off-by: Yuval Mintz Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/qlogic/qed/q

  1   2   3   4   5   6   7   >