Re: [PATCH] bpf: handle 32-bit zext during constant blinding

2019-08-25 Thread Naveen N. Rao
Jiong Wang wrote: Naveen N. Rao writes: Since BPF constant blinding is performed after the verifier pass, the ALU32 instructions inserted for doubleword immediate loads don't have a corresponding zext instruction. This is causing a kernel oops on powerpc and can be reproduced by running 'test_

Re: [PATCH v2 3/3] nvme: fire discovery log page change events to userspace

2019-08-25 Thread Christoph Hellwig
On Thu, Aug 22, 2019 at 12:10:23PM -0700, Sagi Grimberg wrote: >> You are correct that this information can be derived from sysfs, but the >> main reason why we add these here, is because in udev rule we can't >> just go ahead and start looking these up and parsing these.. >> >> We could send the d

Re: [PATCH v4 00/13] Support CPU frequency scaling on QCS404

2019-08-25 Thread Jorge Ramirez
On 7/31/19 22:29, Jorge Ramirez-Ortiz wrote: > The following patchset enables CPU frequency scaling support on the > QCS404 (with dynamic voltage scaling). > > It is important to notice that this functionality will be superseded > by Core Power Reduction (CPR), a more accurate form of AVS found on

Re: [PATCH V2] csky: Fixup 610 vipt cache flush mechanism

2019-08-25 Thread Guo Ren
Thx Christoph, On Mon, Aug 26, 2019 at 2:38 PM Christoph Hellwig wrote: > > On Thu, Aug 22, 2019 at 11:05:22AM +0800, guo...@kernel.org wrote: > > From: Guo Ren > > > > 610 has vipt aliasing issue, so we need to finish the cache flush > > apis mentioned in cachetlb.rst to avoid data corruption.

linux-next: manual merge of the gpio-brgl tree with the gpio tree

2019-08-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gpio-brgl tree got a conflict in: include/linux/gpio/driver.h between commit: c7663fa2a663 ("gpio: Move gpiochip_lock/unlock_as_irq to gpio/driver.h") from the gpio tree and commit: 9091373ab7ea ("gpio: remove less important #ifdef around declarat

Re: [PATCH v2 3/3] dwc: PCI: intel: Intel PCIe RC controller driver

2019-08-25 Thread Dilip Kota
[Got delivery failure mail , so re-sending the mail] Hi Martin, Thanks for review comments, please find my response inline. On 8/26/2019 11:30 AM, Chuan Hua, Lei wrote: Hi Martin, Thanks for your valuable comments. I reply some of them as below. Regards, Chuanhua On 8/25/2019 5:03 AM, Mart

[PATCH v3] net: fix skb use after free in netpoll

2019-08-25 Thread Feng Sun
After commit baeababb5b85d5c4e6c917efe2a1504179438d3b ("tun: return NET_XMIT_DROP for dropped packets"), when tun_net_xmit drop packets, it will free skb and return NET_XMIT_DROP, netpoll_send_skb_on_dev will run into following use after free cases: 1. retry netpoll_start_xmit with freed skb; 2. qu

Re: [PATCH v2] RISC-V: Fix FIXMAP area corruption on RV32 systems

2019-08-25 Thread Christoph Hellwig
Palmer, Paul - are you going to pick this up? Seems like we've just missed -rc6.

Re: [PATCH V2] csky: Fixup 610 vipt cache flush mechanism

2019-08-25 Thread Christoph Hellwig
On Thu, Aug 22, 2019 at 11:05:22AM +0800, guo...@kernel.org wrote: > From: Guo Ren > > 610 has vipt aliasing issue, so we need to finish the cache flush > apis mentioned in cachetlb.rst to avoid data corruption. > > Here is the list of modified apis in the patch: Looks sensible to me, although

Re: linux-next: build warning after merge of the staging tree

2019-08-25 Thread Greg KH
On Mon, Aug 26, 2019 at 04:24:32PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the staging tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > In file included from include/trace/events/erofs.h:8, > from : > include/trace/events/erofs.

[GIT] Networking

2019-08-25 Thread David Miller
1) Use 32-bit index for tails calls in s390 bpf JIT, from Ilya Leoshkevich. 2) Fix missed EPOLLOUT events in TCP, from Eric Dumazet. Same fix for SMC from Jason Baron. 3) ipv6_mc_may_pull() should return 0 for malformed packets, not -EINVAL. From Stefano Brivio. 4) Don't forget to unpin

linux-next: build warning after merge of the staging tree

2019-08-25 Thread Stephen Rothwell
Hi all, After merging the staging tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/trace/events/erofs.h:8, from : include/trace/events/erofs.h:28:37: warning: 'struct dentry' declared inside parameter list will not be visi

Re: [PATCH v3 2/4] clk: qcom: clk-rpmh: Convert to parent data scheme

2019-08-25 Thread Vinod Koul
On 23-08-19, 23:31, Bjorn Andersson wrote: > On Thu 22 Aug 10:01 PDT 2019, Vinod Koul wrote: > > > Convert the rpmh clock driver to use the new parent data scheme by > > specifying the parent data for board clock. > > > > Signed-off-by: Vinod Koul > > --- > > drivers/clk/qcom/clk-rpmh.c | 10 ++

Re: Why the edge-triggered mode doesn't work for epoll file descriptor?

2019-08-25 Thread Eric Wong
Heiher wrote: > Hello, > > I've added a pipe file descriptor (fd1) to an epoll (fd3) with > EPOLLOUT in edge-triggered mode, and then added the fd3 to another > epoll (fd4) with EPOLLIN in edge-triggered too. > > Next, waiting for fd4 without timeout. When fd1 to be writable, i > think epoll_wai

Re: [PATCH v2] net: fix skb use after free in netpoll

2019-08-25 Thread David Miller
From: Feng Sun Date: Mon, 26 Aug 2019 14:13:40 +0800 > +static inline bool netpoll_xmit_complete(int rc) > +{ > + return dev_xmit_complete(rc); > +} There is no need for this useless indirection, just call dev_xmit_complete() staright. Also, even if it was suitable, never use the inline key

RE: [EXT] Re: [Patch v4 1/3] dt-bindings: spi: spi-fsl-qspi: Add ls2080a compatibility string to bindings

2019-08-25 Thread Ashish Kumar
> -Original Message- > From: Mark Brown > Sent: Friday, August 23, 2019 12:35 AM > To: Ashish Kumar > Cc: shawn...@kernel.org; linux-kernel@vger.kernel.org; linux- > s...@vger.kernel.org; devicet...@vger.kernel.org; robh...@kernel.org; > mark.rutl...@arm.com; linux-n...@vger.kernel.org

[PATCH] x86/mce: show the status of cmci_disabled to user

2019-08-25 Thread Xiaochun Lee
From: Xiaochun Lee When enabled Firmware First mode in UEFI, we need to set the cmci_disabled and ignore_ce in mca cfg that users can check correct status from "/sys/devices/system/machinecheck/machinecheckXXX/cmci_disabled" Signed-off-by: Xiaochun Lee --- arch/x86/kernel/cpu/mce/core.c | 2 ++

[PATCH v2] net: fix skb use after free in netpoll

2019-08-25 Thread Feng Sun
After commit baeababb5b85d5c4e6c917efe2a1504179438d3b ("tun: return NET_XMIT_DROP for dropped packets"), when tun_net_xmit drop packets, it will free skb and return NET_XMIT_DROP, netpoll_send_skb_on_dev will run into following use after free cases: 1. retry netpoll_start_xmit with freed skb; 2. qu

Re: [greybus-dev] [PATCH 9/9] staging: greybus: move es2 to drivers/greybus/

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > The es2 Greybus host controller has long been stable, so move it out of > drivers/staging/ to drivers/greybus/ > > Cc: Johan Hovold > Cc: Alex Elder > Cc: greybus-...@lists.linaro.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Greg Kroah-H

Re: [greybus-dev] [PATCH 8/9] staging: greybus: move the greybus core to drivers/greybus

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > The Greybus core code has been stable for a long time, and has been > shipping for many years in millions of phones. With the advent of a > recent Google Summer of Code project, and a number of new devices in the > works from various companies, it is

Re: [greybus-dev] [PATCH 6/9] staging: greybus: loopback: Fix up some alignment checkpatch issues

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > Some function prototypes do not match the expected alignment formatting > so fix that up so that checkpatch is happy. > > Cc: "Bryan O'Donoghue" > Cc: Johan Hovold > Cc: Alex Elder > Cc: greybus-...@lists.linaro.org > Cc: de...@driverdev.osuosl.or

Re: [greybus-dev] [PATCH 5/9] staging: greybus: log: Fix up some alignment checkpatch issues

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > Some function prototypes do not match the expected alignment formatting > so fix that up so that checkpatch is happy. > > Cc: David Lin > Cc: Johan Hovold > Cc: Alex Elder > Cc: greybus-...@lists.linaro.org > Cc: de...@driverdev.osuosl.org > Signe

Re: [greybus-dev] [PATCH 4/9] staging: greybus: manifest: Fix up some alignment checkpatch issues

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > Some function prototypes do not match the expected alignment formatting > so fix that up so that checkpatch is happy. > > Cc: Johan Hovold > Cc: Alex Elder > Cc: greybus-...@lists.linaro.org > Cc: de...@driverdev.osuosl.org > Signed-off-by: Greg Kr

Re: Linux 5.2.10

2019-08-25 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I incl

Re: [PATCH] tpm: tpm_crb: Add an AMD fTPM support feature

2019-08-25 Thread Jarkko Sakkinen
On Mon, Aug 26, 2019 at 02:40:19AM +0900, Seunghun Han wrote: > I'm Seunghun Han and work at the Affiliated Institute of ETRI. I got an AMD > system which had a Ryzen Threadripper 1950X and MSI mainboard, and I had > a problem with AMD's fTPM. My machine showed an error message below, and > the fTP

Re: [greybus-dev] [PATCH 3/9] staging: greybus: hd: Fix up some alignment checkpatch issues

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > Some function prototypes do not match the expected alignment formatting > so fix that up so that checkpatch is happy. > > Cc: Johan Hovold > Cc: Alex Elder > Cc: greybus-...@lists.linaro.org > Cc: de...@driverdev.osuosl.org > Signed-off-by: Greg Kr

Re: [PATCH 0/5] a few fixes for sprd's sd host controller

2019-08-25 Thread Baolin Wang
On Mon, 26 Aug 2019 at 11:18, Chunyan Zhang wrote: > > From: Chunyan Zhang > > With this patch-set, both sd card and mmc can be setup. This patch-set was > verified on Unisoc's Whale2 and another mobile phone platform SC9863A. Tested on my board, so for the whole patch set. Reviewed-by: Baolin

Re: [PATCH 7/9] staging: greybus: move core include files to include/linux/greybus/

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > With the goal of moving the core of the greybus code out of staging, the > include files need to be moved to include/linux/greybus.h and > include/linux/greybus/ > > Cc: Vaibhav Hiremath > Cc: Johan Hovold > Cc: Alex Elder > Cc: Vaibhav Agarwal >

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-08-25 Thread Dave Chinner
On Fri, Aug 23, 2019 at 10:08:36PM -0700, Ira Weiny wrote: > On Sat, Aug 24, 2019 at 10:11:24AM +1000, Dave Chinner wrote: > > On Fri, Aug 23, 2019 at 09:04:29AM -0300, Jason Gunthorpe wrote: > > > On Fri, Aug 23, 2019 at 01:23:45PM +1000, Dave Chinner wrote: > > > > > > > > But the fact that RDMA

Re: [PATCH 2/9] staging: greybus: remove license "boilerplate"

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > When the greybus drivers were converted to SPDX identifiers for the > license text, some license boilerplate was not removed. Clean this up > by removing this unneeded text now. > > Cc: Johan Hovold > Cc: Alex Elder > Cc: Vaibhav Agarwal > Cc: Ma

Re: [PATCH 1/9] staging: greybus: fix up SPDX comment in .h files

2019-08-25 Thread Viresh Kumar
On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > When these files originally got an SPDX tag, I used // instead of /* */ > for the .h files. Fix this up to use // properly. > > Cc: Viresh Kumar > Cc: Johan Hovold > Cc: Alex Elder > Cc: greybus-...@lists.linaro.org > Cc: de...@driverdev.osuosl.o

Re: [PATCH v2 4/8] powerpc/vdso32: inline __get_datapage()

2019-08-25 Thread Santosh Sivaraj
Hi Christophe, Christophe Leroy writes: > __get_datapage() is only a few instructions to retrieve the > address of the page where the kernel stores data to the VDSO. > > By inlining this function into its users, a bl/blr pair and > a mflr/mtlr pair is avoided, plus a few reg moves. > > The impro

Re: Linux 5.2.10

2019-08-25 Thread Bhaskar Chowdhury
Not sure,kerne.org not reflecting the latest number...probably timing difference looping Kai in this mail .. Thanks, Bhaskar On 06:34 Mon 26 Aug 2019, Greg KH wrote: On Sun, Aug 25, 2019 at 07:33:36PM +0200, Paul Bolle wrote: Sasha, Sasha Levin schreef op zo 25-08-2019 om 10:47 [-0400]: >

Re: [RESEND][PATCH v2-resend] MAINTAINERS: fix style in KEYS-TRUSTED entry

2019-08-25 Thread Jarkko Sakkinen
On Sun, Aug 25, 2019 at 07:00:15PM +0200, Lukas Bulwahn wrote: > Mimi Zohar used spaces instead of a tab when adding Jarkko Sakkinen as > further maintainer to the KEYS-TRUSTED section entry. > > In fact, ./scripts/checkpatch.pl -f MAINTAINERS complains: > > WARNING: MAINTAINERS entries use one

Re: [PATCH] powerpc/mm: tell if a bad page fault on data is read or write.

2019-08-25 Thread Santosh Sivaraj
Christophe Leroy writes: > DSISR has a bit to tell if the fault is due to a read or a write. > > Display it. > > Signed-off-by: Christophe Leroy Reviewed-by: Santosh Sivaraj > --- > arch/powerpc/mm/fault.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/arch/po

Re: linux-next: manual merge of the net-next tree with the net tree

2019-08-25 Thread Heiner Kallweit
On 26.08.2019 04:27, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > drivers/net/ethernet/realtek/r8169_main.c > > between commit: > > 345b93265b3a ("Revert "r8169: remove not needed call to > dma_sync_single_for_device"") > > fro

[v3] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-25 Thread Biwen Li
Issue: - hwclock -w hwclock: RTC_SET_TIME: Invalid argument Why: - Relative patch: https://lkml.org/lkml/2019/4/3/55 , this patch will always check for unwritable registers, it will compare reg with max_register in regmap_writeable. - In drivers/rtc/rtc-pcf85363.c, CT

[PATCH] staging: rtl8712: wifi: checkpatch style fix

2019-08-25 Thread Taihsiang Ho (tai271828)
Remove multiple blank lines. Signed-off-by: Taihsiang Ho (tai271828) --- drivers/staging/rtl8712/wifi.h | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/rtl8712/wifi.h index 1a5b966a167e..be731f1a2209 100644 --- a/drivers/staging/rtl8712

Re: [PATCH 2/2 v2] mm/zsmalloc.c: Fix race condition in zs_destroy_pool

2019-08-25 Thread Sergey Senozhatsky
On (08/23/19 04:10), Henry Burns wrote: > > Thanks. So we have a couple of races which result in memory leaks? Do > > we feel this is serious enough to justify a -stable backport of the > > fixes? > > In this case a memory leak could lead to an eventual crash if > compaction hits the leaked page

linux-next: manual merge of the clockevents tree with the tip tree

2019-08-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the clockevents tree got a conflict in: kernel/time/posix-timers.c between commits: ec8f954a40da ("posix-timers: Use a callback for cancel synchronization on PREEMPT_RT") 0bee3b601b77 ("hrtimer: Improve comments on handling priority inversion against

Re: [PATCH] x86/mm: Do not split_large_page() for set_kernel_text_rw()

2019-08-25 Thread Song Liu
Cc: Steven Rostedt and Suresh Siddha Hi Peter, > On Aug 23, 2019, at 2:36 AM, Peter Zijlstra wrote: > > On Thu, Aug 22, 2019 at 10:23:35PM -0700, Song Liu wrote: >> As 4k pages check was removed from cpa [1], set_kernel_text_rw() leads to >> split_large_page() for all kernel text pages. This m

Re: [PATCHv4 0/3] Odroid c2 usb fixs

2019-08-25 Thread Anand Moon
Hi Martin, On Sun, 25 Aug 2019 at 02:48, Martin Blumenstingl wrote: > > Hi Anand, > > thank you for the patches > > On Sat, Aug 24, 2019 at 8:49 PM Anand Moon wrote: > [...] > > Anand Moon (3): > > arm64: dts: meson: odroid-c2: p5v0 is the main 5V power input > > arm64: dts: meson: odroid-c2

Re: Linux 5.2.10

2019-08-25 Thread Greg KH
On Sun, Aug 25, 2019 at 06:35:38PM -0400, Sasha Levin wrote: > Thanks for looking into this! > > On Sun, Aug 25, 2019 at 05:26:37PM +0200, Jörg-Volker Peetz wrote: > > Where can I find your public gpg key and it's fingerprint? > > It's not yet documented on https://www.kernel.org/category/signatur

Re: Linux 5.2.10

2019-08-25 Thread Greg KH
On Sun, Aug 25, 2019 at 07:33:36PM +0200, Paul Bolle wrote: > Sasha, > > Sasha Levin schreef op zo 25-08-2019 om 10:47 [-0400]: > > I'm announcing the release of the 5.2.10 kernel. > > > > All users of the 5.2 kernel series must upgrade. > > > > The updated 5.2.y git tree can be found at: > >

Re: [PATCH 2/2] uacce: add uacce module

2019-08-25 Thread Greg Kroah-Hartman
On Mon, Aug 26, 2019 at 12:10:42PM +0800, Kenneth Lee wrote: > On Wed, Aug 21, 2019 at 09:05:42AM -0700, Greg Kroah-Hartman wrote: > > Date: Wed, 21 Aug 2019 09:05:42 -0700 > > From: Greg Kroah-Hartman > > To: zhangfei > > CC: Arnd Bergmann , linux-accelerat...@lists.ozlabs.org, > > linux-kernel

RE: [EXT] Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-25 Thread Biwen Li
> > On 8/16/19 10:40 PM, Li Yang wrote: > > On Fri, Aug 16, 2019 at 11:30 AM Alexandre Belloni > > wrote: > >> > >> On 16/08/2019 10:50:49-0500, Li Yang wrote: > >>> On Fri, Aug 16, 2019 at 3:05 AM Alexandre Belloni > >>> wrote: > > On 16/08/2019 10:46:36+0800, Biwen Li wrote: > >

Re: [PATCH] tools/power turbostat: fix file descriptor leaks

2019-08-25 Thread Gustavo A. R. Silva
Hi Rafael, On 4/23/19 3:23 AM, Rafael J. Wysocki wrote: > On Mon, Apr 22, 2019 at 5:55 PM Gustavo A. R. Silva > wrote: >> >> Hi all, >> >> Friendly ping: >> >> Who can take this? > > I've been waiting for Len to comment on this, let me talk to him offlist. > I just noticed this hasn't been app

Re: [PATCH 0/2] A General Accelerator Framework, WarpDrive

2019-08-25 Thread Kenneth Lee
On Thu, Aug 15, 2019 at 01:04:24PM -0400, Jerome Glisse wrote: > Date: Thu, 15 Aug 2019 13:04:24 -0400 > From: Jerome Glisse > To: Zhangfei Gao > CC: linux-accelerat...@lists.ozlabs.org, Greg Kroah-Hartman > , linux-kernel@vger.kernel.org, Arnd Bergmann > > Subject: Re: [PATCH 0/2] A General A

Re: [PATCH 2/2] uacce: add uacce module

2019-08-25 Thread Kenneth Lee
On Wed, Aug 21, 2019 at 09:05:42AM -0700, Greg Kroah-Hartman wrote: > Date: Wed, 21 Aug 2019 09:05:42 -0700 > From: Greg Kroah-Hartman > To: zhangfei > CC: Arnd Bergmann , linux-accelerat...@lists.ozlabs.org, > linux-kernel@vger.kernel.org, Kenneth Lee , Zaibo > Xu , Zhou Wang > Subject: Re: [

Re: [PATCH] fs/proc/page: Skip uninitialized page when iterating page structures

2019-08-25 Thread kbuild test robot
Hi Waiman, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc6 next-20190823] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Wai

Re: [PATCH] perf script: Fix memory leaks in list_scripts()

2019-08-25 Thread Gustavo A. R. Silva
Hi all, Friendly ping (second one after 4 months): Who can take this? Thanks -- Gustavo On 4/22/19 10:14 AM, Gustavo A. R. Silva wrote: > Hi all, > > Friendly ping: > > Who can take this? > > Thanks > > On 4/8/19 11:27 AM, Gustavo A. R. Silva wrote: >> In case memory resources for *buf* and

Re: [PATCH v2 2/2] reset: Reset controller driver for Intel LGM SoC

2019-08-25 Thread Chuan Hua, Lei
Hi Martin, Thanks for your comment. On 8/25/2019 5:11 AM, Martin Blumenstingl wrote: Hi Dilip, Add driver for the reset controller present on Intel Lightening Mountain (LGM) SoC for performing reset management of the devices present on the SoC. Driver also registers a reset handler to peform

RE: [PATCH v4 1/3] dt-bindings: pci: layerscape-pci: add compatible strings "fsl,ls1028a-pcie"

2019-08-25 Thread Xiaowei Bao
> -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年8月23日 22:05 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; M.h. Lian ; Mingkai Hu > ; Roy Zang ; > linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.ke

BUG/Oops - unix domain sockets / wakeups

2019-08-25 Thread Mika Penttilä
Hello, I have got  a couple of these in a week with 5.3-rc. Happens very randomly and infrequently, the system has been nearly idle. Otoh, seems new to 5.3, dont remeber this happening before. Thanks, Mika # [386517.339218] Internal error: Oops: 17 [#1] PREEMPT SMP ARM [386517.344726] Modules li

Re: [tip:x86/urgent] x86/boot/compressed/64: Fix boot on machines with broken E820 table

2019-08-25 Thread Gustavo A. R. Silva
Hi all, On 8/19/19 9:16 AM, tip-bot for Kirill A. Shutemov wrote: [..] > > diff --git a/arch/x86/boot/compressed/pgtable_64.c > b/arch/x86/boot/compressed/pgtable_64.c > index 5f2d03067ae5..2faddeb0398a 100644 > --- a/arch/x86/boot/compressed/pgtable_64.c > +++ b/arch/x86/boot/compressed/pgtable

RE: [PATCH v4 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

2019-08-25 Thread Z.q. Hou
Hi Xiaowei, > -Original Message- > From: Xiaowei Bao > Sent: 2019年8月23日 16:27 > To: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; > Leo Li ; M.h. Lian ; > Mingkai Hu ; Roy Zang ; > lorenzo.pieral...@arm.com; linux-...@vger.kernel.org; > devicet...@vger.kernel.org; linux-k

RE: [EXT] Re: [1/3] rtc/fsl: support flextimer for lx2160a

2019-08-25 Thread Biwen Li
> > On Fri, 2019-08-23 at 17:57 +0800, Biwen Li wrote: > > The patch supports flextimer for lx2160a > > > > Signed-off-by: Biwen Li > > --- > > drivers/rtc/rtc-fsl-ftm-alarm.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/rtc/rtc-fsl-ftm-alarm.c b/drivers/rtc/rtc-fsl- >

Re: [PATCH] x86/Hyper-V: Fix build error with CONFIG_HYPERV_TSCPAGE=N

2019-08-25 Thread Tianyu Lan
On Sun, Aug 25, 2019 at 1:52 AM Sasha Levin wrote: > > On Thu, Aug 22, 2019 at 10:39:46AM +0200, Vitaly Kuznetsov wrote: > >lantianyu1...@gmail.com writes: > > > >> From: Tianyu Lan > >> > >> Both Hyper-V tsc page and Hyper-V tsc MSR code use variable > >> hv_sched_clock_offset for their sched cl

Re: [PATCH v2 3/3] dwc: PCI: intel: Intel PCIe RC controller driver

2019-08-25 Thread Chuan Hua, Lei
Hi Martin, Thanks for your valuable comments. I reply some of them as below. Regards, Chuanhua On 8/25/2019 5:03 AM, Martin Blumenstingl wrote: Hi Dilip, first of all: thank you for submitting this upstream! I hope that we can use this driver to replace the out-of-tree PCIe driver that's use

RE: [EXT] Re: [1/3] rtc/fsl: support flextimer for lx2160a

2019-08-25 Thread Biwen Li
> On 23/08/2019 17:57:38+0800, Biwen Li wrote: > > The patch supports flextimer for lx2160a > > > > Signed-off-by: Biwen Li > > --- > > drivers/rtc/rtc-fsl-ftm-alarm.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/rtc/rtc-fsl-ftm-alarm.c > > b/drivers/rtc/rtc-fsl-ftm-alar

[PATCH 1/5] mmc: sdhci-sprd: fixed incorrect clock divider

2019-08-25 Thread Chunyan Zhang
From: Chunyan Zhang The register SDHCI_CLOCK_CONTROL should be cleared before config clock divider, otherwise the frequency configured maybe lower than we expected. Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller") Signed-off-by: Chunyan Zhang Signed-off-by: Chun

[PATCH 4/5] mms: sdhci-sprd: add SDHCI_QUIRK_BROKEN_CARD_DETECTION

2019-08-25 Thread Chunyan Zhang
From: Chunyan Zhang sprd's sd host controller doesn't support detection to card insert or remove. Signed-off-by: Chunyan Zhang Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci-sprd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-sprd.c b/d

[PATCH 5/5] mmc: sdhci-sprd: clear the UHS-I modes read from registers

2019-08-25 Thread Chunyan Zhang
From: Chunyan Zhang sprd's sd host controller supports SDR50/SDR104/DDR50 though, the UHS-I mode used by the specific card can be selected via devicetree only. Signed-off-by: Chunyan Zhang Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci-sprd.c | 13 - 1 file changed, 12 in

[PATCH 3/5] mmc: sdhci-sprd: add SDHCI_QUIRK2_PRESET_VALUE_BROKEN

2019-08-25 Thread Chunyan Zhang
From: Chunyan Zhang The bit of PRESET_VAL_ENABLE in HOST_CONTROL2 register is reserved on sprd's sd host controller, set quirk2 to disable configuring this. Signed-off-by: Chunyan Zhang Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci-sprd.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 0/5] a few fixes for sprd's sd host controller

2019-08-25 Thread Chunyan Zhang
From: Chunyan Zhang With this patch-set, both sd card and mmc can be setup. This patch-set was verified on Unisoc's Whale2 and another mobile phone platform SC9863A. Chunyan Zhang (5): mmc: sdhci-sprd: fixed incorrect clock divider mmc: sdhci: sprd: add get_ro hook function mmc: sdhci: sp

[PATCH 2/5] mmc: sdhci-sprd: add get_ro hook function

2019-08-25 Thread Chunyan Zhang
From: Chunyan Zhang sprd's sd host controller doesn't support write protect to sd card. Signed-off-by: Chunyan Zhang Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci-sprd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci-

[PATCH] mm/z3fold.c: fix lock/unlock imbalance in z3fold_page_isolate

2019-08-25 Thread Gustavo A. R. Silva
Fix lock/unlock imbalance by unlocking *zhdr* before return. Addresses-Coverity-ID: 1452811 ("Missing unlock") Fixes: d776aaa9895e ("mm/z3fold.c: fix race between migration and destruction") Signed-off-by: Gustavo A. R. Silva --- mm/z3fold.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm

linux-next: manual merge of the drm tree with the drm-misc-fixes tree

2019-08-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/arm/display/komeda/komeda_dev.c between commit: 51a44a28eefd ("drm/komeda: Add missing of_node_get() call") from the drm-misc-fixes tree and commit: 8965ad8433ea ("drm/komeda: Enable dual-link support")

Re: [PATCH] ASoC: es8316: limit headphone mixer volume

2019-08-25 Thread Daniel Drake
On Mon, Aug 26, 2019 at 1:38 AM Hans de Goede wrote: > On 24-08-19 23:04, Katsuhiro Suzuki wrote: > > This patch limits Headphone mixer volume to 4 from 7. > > Because output sound suddenly becomes very loudly with many noise if > > set volume over 4. That sounds like something that should be lim

Re: [PATCH] Add support for Macronix NAND randomizer

2019-08-25 Thread masonccyang
Hi Miquel, > > Mason Yang wrote on Tue, 20 Aug 2019 13:53:48 > +0800: > > > Macronix NANDs support randomizer operation for user data scrambled, > > which can be enabled with a SET_FEATURE. > > > > User data written to the NAND device without randomizer is still readable > > after randomizer

[GIT PULL] extcon next for v5.4

2019-08-25 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v5.4. I add detailed description of this pull request on below. Please pull extcon with following updates. Detailed description for this pull request: 1. Clean up the and fix the minor issue of extcon provider driver - extcon-arizona/max77843 repla

Re: [PATCH -next] iio: st_sensors: Fix build error

2019-08-25 Thread Yuehaibing
On 2019/8/26 1:59, Jonathan Cameron wrote: > On Fri, 23 Aug 2019 20:18:52 +0800 > YueHaibing wrote: > >> IIO_ST_SENSORS_CORE select IIO_ST_SENSORS_I2C >> unconditionally, if REGMAP_I2C is not set, build fails >> >> drivers/iio/common/st_sensors/st_sensors_i2c.o: In function >> `st_sensors_i2c_co

Re: [PATCH] net: fix skb use after free in netpoll_send_skb_on_dev

2019-08-25 Thread David Miller
From: Feng Sun Date: Sat, 24 Aug 2019 00:32:00 +0800 > After commit baeababb5b85d5c4e6c917efe2a1504179438d3b > ("tun: return NET_XMIT_DROP for dropped packets"), > when tun_net_xmit drop packets, it will free skb and return NET_XMIT_DROP, > netpoll_send_skb_on_dev will run into two use after free

linux-next: manual merge of the net-next tree with the net tree

2019-08-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/realtek/r8169_main.c between commit: 345b93265b3a ("Revert "r8169: remove not needed call to dma_sync_single_for_device"") from the net tree and commit: fcd4e60885af ("r8169: improve rtl_rx")

RE: [PATCH net-next v4 0/2] r8152: save EEE

2019-08-25 Thread Hayes Wang
Andrew Lunn [mailto:and...@lunn.ch] > Sent: Friday, August 23, 2019 10:37 PM [...] > Hi Hayes > > That was 3 revisions of the patches in less than 30 minutes. Slow > down, take your time, review your work yourself before posting it, > etc. > > Aim for no more than one revision, posted to the list

[PATCH] dt-bindings: mmc: aspeed: Update example ranges property

2019-08-25 Thread Andrew Jeffery
The example node in the binding uses the AST2500 compatible string for the SD controller with a 64kiB ranges property, but the SD controller is allocated 128kiB of MMIO space according to the AST2500 datasheet. Fix the example to correctly reflect the hardware in the AST2500, however it should be n

Re: [PATCH v2 -next] net: mediatek: remove set but not used variable 'status'

2019-08-25 Thread David Miller
From: Mao Wenan Date: Mon, 26 Aug 2019 09:31:18 +0800 > Fixes gcc '-Wunused-but-set-variable' warning: > drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function mtk_handle_irq: > drivers/net/ethernet/mediatek/mtk_eth_soc.c:1951:6: warning: variable status > set but not used [-Wunused-but-set-va

Re: [PATCH] kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol

2019-08-25 Thread Masami Hiramatsu
On Sat, 24 Aug 2019 14:12:31 +0100 Marc Zyngier wrote: > An arm64 kernel configured with > > CONFIG_KPROBES=y > CONFIG_KALLSYMS=y > # CONFIG_KALLSYMS_ALL is not set > CONFIG_KALLSYMS_BASE_RELATIVE=y > > reports the following kprobe failure: > > [0.032677] kprobes: failed to popul

Re: [Virtio-fs] [PATCH 04/19] virtio: Implement get_shm_region for PCI transport

2019-08-25 Thread piaojun
On 2019/8/22 1:57, Vivek Goyal wrote: > From: Sebastien Boeuf > > On PCI the shm regions are found using capability entries; > find a region by searching for the capability. > > Cc: k...@vger.kernel.org > Signed-off-by: Sebastien Boeuf > Signed-off-by: Dr. David Alan Gilbert > Signed-off-by

Re: [PATCH AUTOSEL 5.2 067/123] driver core: Fix use-after-free and double free on glue directory

2019-08-25 Thread Sasha Levin
On Wed, Aug 14, 2019 at 09:36:08AM +0200, Greg Kroah-Hartman wrote: On Tue, Aug 13, 2019 at 10:09:51PM -0400, Sasha Levin wrote: This one needs a bit more time to "soak" in the -rc releases before I want to apply it to the stable release. So if you could drop it from all of your autosel queues,

Re: [PATCH AUTOSEL 5.2 040/123] ASoC: Fail card instantiation if DAI format setup fails

2019-08-25 Thread Sasha Levin
On Wed, Aug 14, 2019 at 10:22:13AM +0100, Mark Brown wrote: On Tue, Aug 13, 2019 at 10:09:24PM -0400, Sasha Levin wrote: From: Ricard Wanderlof [ Upstream commit 40aa5383e393d72f6aa3943a4e7b1aae25a1e43b ] If the DAI format setup fails, there is no valid communication format between CPU and CO

Re: [PATCH AUTOSEL 5.2 022/123] ASoC: dapm: Fix handling of custom_stop_condition on DAPM graph walks

2019-08-25 Thread Sasha Levin
On Wed, Aug 14, 2019 at 10:20:52AM +0100, Mark Brown wrote: On Tue, Aug 13, 2019 at 10:09:06PM -0400, Sasha Levin wrote: From: Charles Keepax [ Upstream commit 8dd26dff00c0636b1d8621acaeef3f6f3a39dd77 ] DPCM uses snd_soc_dapm_dai_get_connected_widgets to build a list of the widgets connected

[PATCH v2 -next] net: mediatek: remove set but not used variable 'status'

2019-08-25 Thread Mao Wenan
Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function mtk_handle_irq: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1951:6: warning: variable status set but not used [-Wunused-but-set-variable] Fixes: 296c9120752b ("net: ethernet: mediatek: Add MT76

Re: [PATCH] ext4: change the type of ext4 cache stats to percpu_counter to improve performance

2019-08-25 Thread Theodore Y. Ts'o
On Sun, Aug 25, 2019 at 10:28:03AM -0700, Eric Biggers wrote: > This patch is causing the following. Probably because there's no calls to > percpu_counter_destroy() for the new counters? Yeah, I noticed this from my test runs last night as well. It looks like original patch was never tested with

Re: [PATCH -next] cifs: remove set but not used variables

2019-08-25 Thread Steve French
merged into cifs-2.6.git for-next On Fri, Aug 23, 2019 at 6:11 PM YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > fs/cifs/file.c: In function cifs_lock: > fs/cifs/file.c:1696:24: warning: variable cinode set but not used > [-Wunused-but-set-variable] > fs/cifs/file.c: In

Re: [PATCH v9 1/8] ARM: aurora-l2: add prefix to MAX_RANGE_SIZE

2019-08-25 Thread Chris Packham
Hi Russell, On Fri, 2019-08-23 at 11:50 +0100, Russell King - ARM Linux admin wrote: > On Fri, Aug 23, 2019 at 11:46:21AM +0100, Russell King - ARM Linux > admin wrote: > > On Fri, Jul 12, 2019 at 03:48:57PM +1200, Chris Packham wrote: > > > From: Jan Luebbe > > > > > > The macro name is too gen

linux-next: manual merge of the mips tree with the kbuild tree

2019-08-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mips tree got a conflict in: arch/mips/Kconfig between commit: 2ff2b7ec65dc ("kbuild: add CONFIG_ASM_MODVERSIONS") from the kbuild tree and commit: 45e03e62724f ("MIPS: Decouple CPU_SUPPORTS_HUGEPAGES from 64BIT") from the mips tree. I fixed it

[PATCH] PCI: Remove the use of printk_ratelimit() in pci.c

2019-08-25 Thread Krzysztof Wilczynski
Do not use printk_ratelimit() in drivers/pci/pci.c as it shares the rate limiting state with all other callers to the printk_ratelimit(). Add pci_info_ratelimited macro similar to pci_notice_ratelimited added in the commit a88a7b3eb076 ("vfio: Use dev_printk() when possible") and use it instead of

Re: Linux 5.2.10

2019-08-25 Thread Sasha Levin
Thanks for looking into this! On Sun, Aug 25, 2019 at 05:26:37PM +0200, Jörg-Volker Peetz wrote: Where can I find your public gpg key and it's fingerprint? It's not yet documented on https://www.kernel.org/category/signatures.html . You're right, I'll send a patch to add my fingerprint as well

Re: [PATCH] cdrom: make debug logging rely on pr_debug and debugfs only.

2019-08-25 Thread Joe Perches
On Sun, 2019-08-25 at 22:58 +0100, Diego Elio Pettenò wrote: > The cdrom driver predates debugfs and most of the modern debugging > facilities, so instead it has been includings a module parameter and an > ioctl to enable debug messages. > > In 2019, debugfs and dynamic debug makes most of that re

[PATCH] PCI: mediatek: Remove surplus return from a void function

2019-08-25 Thread Krzysztof Wilczynski
Remove unnecessary empty return statement at the end of a void function mtk_pcie_intr_handler() in the drivers/pci/controller/pcie-mediatek.c. The surplus return statement was added as part of the work in commit 42fe2f91b4eb ("PCI: mediatek: Implement chained IRQ handling setup"). Signed-off-by:

Re: Linux 5.3-rc6

2019-08-25 Thread Bhaskar Chowdhury
Hey Linus, Thanks, for giving us something to live us with our life and enjoy it doing every possible day. Thank you! OO, did I mentioned that it helps us to win bread and butter...that's bloody important. Thanks, Bhaskar On 12:10 Sun 25 Aug 2019, Linus Torvalds wrote: Hello everybody out t

[PATCH] cdrom: make debug logging rely on pr_debug and debugfs only.

2019-08-25 Thread Diego Elio Pettenò
The cdrom driver predates debugfs and most of the modern debugging facilities, so instead it has been includings a module parameter and an ioctl to enable debug messages. In 2019, debugfs and dynamic debug makes most of that redundant, and even confusing when trying to trace things in the dept of

linux-next: Fixes tag needs some work in the leds tree

2019-08-25 Thread Stephen Rothwell
Hi all, In commit 3f5381c2ba60 ("leds: lm3532: Fixes for the driver for stability") Fixes tag Fixes: e37a7f8d77e1 ("leds: lm3532: Introduce the lm3532 LED driver") has these problem(s): - Target SHA1 does not exist In commit c4b8354e5341 ("leds: lm3532: Fix brightness control for i2

Re: [PATCH] scripts: coccinelle: check for !(un)?likely usage

2019-08-25 Thread Denis Efremov
> I think it's incorrect to say so in general. For example, on x86/64: > > $ make mrproper > $ make allyesconfig > $ make && mv vmlinux vmlinux-000 > $ make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/unlikely.cocci | > patch -p1 > $ make > $ ./scripts/bloat-o-meter ./vmlinux-000 ./vmlin

Re: [PATCH v2 2/5] soc: amlogic: Add support for Everything-Else power domains controller

2019-08-25 Thread Martin Blumenstingl
Hi Neil, thank you for this update I haven't tried this on the 32-bit SoCs yet, but I am confident that I can make it work by "just" adding the SoC specific bits! On Fri, Aug 23, 2019 at 11:06 AM Neil Armstrong wrote: [...] > +/* AO Offsets */ > + > +#define AO_RTI_GEN_PWR_SLEEP0 (0x3a

Re: Re: [PATCH v2] HID: input: fix a4tech horizontal wheel custom usage

2019-08-25 Thread Heorhi Valakhanovich
On 8/5/19 3:38 PM, Jiri Kosina wrote: On Thu, 1 Aug 2019, Nicolas Saenz Julienne wrote: Some a4tech mice use the 'GenericDesktop.00b8' usage to inform whether the previous wheel report was horizontal or vertical. Before c01908a14bf73 ("HID: input: add mapping for "Toggle Display" key") this usa

[PATCH] r8188eu: use skb_put_data instead of skb_put/memcpy pair

2019-08-25 Thread Ivan Safonov
skb_put_data is shorter and clear. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_recv.c| 6 +- drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_recv.c b/d

[GIT PULL] ARM: at91: SoC for 5.4

2019-08-25 Thread Alexandre Belloni
Hello, A non urgent fix for the generated header in mach-at91 and mostly MAINTAINERS updates. The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/ke

[GIT PULL] ARM: at91: DT for 5.4

2019-08-25 Thread Alexandre Belloni
Hi, A few DT changes affecting only the style but not the DTB output. There may be some late DT changes a bit later (but hopefully not too late). The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git rep

  1   2   3   >