Re: [PATCH 1/2] Input: synaptics-rmi4 - clear irqs before set irqs

2019-03-28 Thread Aaron Ma
Hi Dmitry and Chiristopher: Do you have any suggestion about these 2 patches? Many users confirmed that they fixed issues of Trackpoint/Touchpad after S3. Will you consider them be accepted? Thanks, Aaron

Re: [git pull v2] habanalabs fixes for 5.1-rc3

2019-03-28 Thread Oded Gabbay
On Wed, Mar 27, 2019 at 3:09 AM Greg KH wrote: > > On Tue, Mar 26, 2019 at 10:13:35AM +0200, Oded Gabbay wrote: > > Hi Greg, > > > > A couple of important fixes for habanalabs driver: > > > > - Fix host crash upon resume after suspend > > - Fix MMU related bugs which result in user's jobs getting

Re: 答复: Re: [v5] coccinelle: semantic code search for missing put_device()

2019-03-28 Thread Julia Lawall
On Thu, 28 Mar 2019, wen.yan...@zte.com.cn wrote: > > > > When I searched "Wen Yang", v6 did not show up for some reasons. > > > > https://lore.kernel.org/patchwork/project/lkml/list/?series==22638=*=== > > > > > > I find such a situation also interesting somehow. > > > I assume that there was

Re: [RFC][PATCH 1/5 v2] dma-buf: Add dma-buf heaps framework

2019-03-28 Thread John Stultz
On Wed, Mar 27, 2019 at 11:25 AM Greg KH wrote: > > On Tue, Mar 05, 2019 at 12:54:29PM -0800, John Stultz wrote: > > From: "Andrew F. Davis" > > > > This framework allows a unified userspace interface for dma-buf > > exporters, allowing userland to allocate specific types of > > memory for use

Re: [PATCH v4] kmemleak: survive in a low-memory situation

2019-03-28 Thread Pekka Enberg
Hi, On 27/03/2019 2.59, Qian Cai wrote: Unless there is a brave soul to reimplement the kmemleak to embed it's metadata into the tracked memory itself in a foreseeable future, this provides a good balance between enabling kmemleak in a low-memory situation and not introducing too much hackiness

Re: [PATCH] kernel/trace/trace.h: Remove duplicate header

2019-03-28 Thread Mukesh Ojha
On 3/28/2019 3:49 AM, jagdsh.li...@gmail.com wrote: From: Jagadeesh Pagadala Remove duplicate header which is included twice. Signed-off-by: Jagadeesh Pagadala Reviewed-by: Mukesh Ojha -Mukesh --- kernel/trace/trace.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 3/7] RISC-V: Rework kernel's virtual address space mapping

2019-03-28 Thread Anup Patel
On Thu, Mar 28, 2019 at 11:09 AM Palmer Dabbelt wrote: > > On Wed, 27 Mar 2019 14:36:39 PDT (-0700), log...@deltatee.com wrote: > > The motivation for this is to support P2P transactions. P2P requires > > having struct pages for IO memory which means the linear mapping must > > be able to cover

Re: [git pull v2] habanalabs fixes for 5.1-rc3

2019-03-28 Thread Greg KH
On Thu, Mar 28, 2019 at 08:09:13AM +0200, Oded Gabbay wrote: > On Wed, Mar 27, 2019 at 3:09 AM Greg KH wrote: > > > > On Tue, Mar 26, 2019 at 10:13:35AM +0200, Oded Gabbay wrote: > > > Hi Greg, > > > > > > A couple of important fixes for habanalabs driver: > > > > > > - Fix host crash upon resume

Re: [PATCH v2] tty:serial_core: Spelling mistake

2019-03-28 Thread Mukesh Ojha
On 3/28/2019 8:47 AM, Hariprasad Kelam wrote: fix spelling mistake "overriden" -> "overridden" This fix resolves warning reported by checkpatch tool. Signed-off-by: Hariprasad Kelam Reviewed-by: Mukesh Ojha -Mukesh --- Changes in V2: -Make commit message more clear ---

[PATCH v2] RISC-V: Implement ASID allocator

2019-03-28 Thread Anup Patel
Currently, we do local TLB flush on every MM switch. This is very harsh on performance because we are forcing page table walks after every MM switch. This patch implements ASID allocator for assigning an ASID to every MM context. The number of ASIDs are limited in HW so we create a logical entity

Re: [PATCH] selftests:powerpc/tm/tm-vmx-unavail.c : Remove duplicate header

2019-03-28 Thread Mukesh Ojha
On 3/28/2019 3:19 AM, jagdsh.li...@gmail.com wrote: From: Jagadeesh Pagadala Remove duplicate header which is included twice. Signed-off-by: Jagadeesh Pagadala Reviewed-by: Mukesh Ojha -Mukesh --- tools/testing/selftests/powerpc/tm/tm-vmx-unavail.c | 1 - 1 file changed, 1

Re: [PATCH] arch:sparc:kernel/uprobes.c : Remove duplicate header

2019-03-28 Thread Mukesh Ojha
On 3/28/2019 2:58 AM, jagdsh.li...@gmail.com wrote: From: Jagadeesh Pagadala Remove duplicate header which is included twice. Signed-off-by: Jagadeesh Pagadala Looks good to me. but did you tested at least the compilation with these patches ? Reviewed-by: Mukesh Ojha -Mukesh ---

[PATCH v2] openvswitch: fix flow actions reallocation

2019-03-28 Thread Andrea Righi
The flow action buffer can be resized if it's not big enough to contain all the requested flow actions. However, this resize doesn't take into account the new requested size, the buffer is only increased by a factor of 2x. This might be not enough to contain the new data, causing a buffer

Re: [PATCH] arch:sh:mach-sh03/rtc.c : Remove duplicate header

2019-03-28 Thread Mukesh Ojha
On 3/28/2019 2:50 AM, jagdsh.li...@gmail.com wrote: From: Jagadeesh Pagadala Remove duplicate header which is included twice. Signed-off-by: Jagadeesh Pagadala Reviewed-by: Mukesh Ojha -Mukesh --- arch/sh/boards/mach-sh03/rtc.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH] arm:mm/mmu.c : Remove duplicate header

2019-03-28 Thread Mukesh Ojha
On 3/23/2019 5:04 PM, jagdsh.li...@gmail.com wrote: From: Jagadeesh Pagadala Remove duplicate headers which are included twice. Signed-off-by: Jagadeesh Pagadala Reviewed-by: Mukesh Ojha -Mukesh --- arch/arm/mm/mmu.c | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: Issues with i.MX SPI DMA transfers

2019-03-28 Thread Uwe Kleine-König
Hello Igor, On Wed, Mar 27, 2019 at 08:40:00PM +0300, Igor Plyatov wrote: > please, help to resolve two issues with SPI DMA transfers at i.MX6Q > platform. > > First issue is >  [ 4465.008003] spi_master spi0: I/O Error in DMA RX > > Second issue is duplication for one of received bytes. > >

Re: [PATCH v7 2/2] drivers/misc: Add Aspeed P2A control driver

2019-03-28 Thread Greg KH
On Wed, Mar 27, 2019 at 12:01:50PM -0700, Patrick Venture wrote: > On Wed, Mar 27, 2019 at 11:54 AM Greg KH wrote: > > > > On Wed, Mar 27, 2019 at 11:44:36AM -0700, Patrick Venture wrote: > > > On Wed, Mar 27, 2019 at 11:28 AM Greg KH > > > wrote: > > > > > > > > On Tue, Mar 12, 2019 at

Re: [git pull v2] habanalabs fixes for 5.1-rc3

2019-03-28 Thread Oded Gabbay
On Thu, Mar 28, 2019 at 8:29 AM Greg KH wrote: > > On Thu, Mar 28, 2019 at 08:09:13AM +0200, Oded Gabbay wrote: > > On Wed, Mar 27, 2019 at 3:09 AM Greg KH wrote: > > > > > > On Tue, Mar 26, 2019 at 10:13:35AM +0200, Oded Gabbay wrote: > > > > Hi Greg, > > > > > > > > A couple of important fixes

Re: [PATCH v2] arch_topology: Make cpu_capacity sysfs node as ready-only

2019-03-28 Thread Mukesh Ojha
Thanks for making the change suggested. Should not this be v3. Please add version detail properly including what changes you made in which version after ---,  that makes the patch easy to review. Thanks. Mukesh On 3/28/2019 10:17 AM, Lingutla Chandrasekhar wrote: If user updates any cpu's

Re: [RFC PATCH 0/10] Another Approach to Use PMEM as NUMA Node

2019-03-28 Thread Michal Hocko
On Wed 27-03-19 19:09:10, Yang Shi wrote: > One question, when doing demote and promote we need define a path, for > example, DRAM <-> PMEM (assume two tier memory). When determining what nodes > are "DRAM" nodes, does it make sense to assume the nodes with both cpu and > memory are DRAM nodes

Re: Issues with i.MX SPI DMA transfers

2019-03-28 Thread Igor Plyatov
Dear developers, I have update about these issues. 12 hours testing show very fast (some seconds) appearance of byte duplication at interface spi4 (alias for ecspi5), while interfaces spi0 (alias for ecspi1) and spi1 (alias for ecspi2) work flawless (at least without any other OS load).

Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-28 Thread Daniel Thompson
On Wed, Mar 27, 2019 at 03:27:26PM -0700, Doug Anderson wrote: > Hi, > > On Wed, Mar 27, 2019 at 3:25 PM qiaochong wrote: > > > > > > My name is QiaoChong, which is same to my username. > > Qiao is my family name. > > Thanks a lot. > > I guess it will be up to whichever maintainer lands this

Re: Issues with i.MX SPI DMA transfers

2019-03-28 Thread Igor Plyatov
Dear Uwe, Hello Igor, On Wed, Mar 27, 2019 at 08:40:00PM +0300, Igor Plyatov wrote: please, help to resolve two issues with SPI DMA transfers at i.MX6Q platform. First issue is  [ 4465.008003] spi_master spi0: I/O Error in DMA RX Second issue is duplication for one of received bytes.

Re: [PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-28 Thread Daniel Thompson
On Thu, Mar 28, 2019 at 07:08:01AM +0800, Chong Qiao wrote: > KGDB_call_nmi_hook is called by other cpu through smp call. > MIPS smp call is processed in ipi irq handler and regs is saved in > handle_int. > So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed > to

[PATCH] habanalabs: improve error messages

2019-03-28 Thread Oded Gabbay
This patch improves two error messages to help the user to better understand what error occurred. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/command_submission.c | 3 ++- drivers/misc/habanalabs/memory.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff

Re: [PATCH 4/6] x86, mm: make split_mem_range() more easy to read

2019-03-28 Thread Wei Yang
On Sun, Mar 24, 2019 at 03:29:04PM +0100, Thomas Gleixner wrote: > >+static int __meminit split_mem_range(struct map_range *mr, unsigned long >start, >+ unsigned long end) >+{ >+ static const struct mapinfo mapinfos[] = { > #ifdef CONFIG_X86_64 >+

RE: Issues with i.MX SPI DMA transfers

2019-03-28 Thread Robin Gong
> -Original Message- > From: Igor Plyatov > Sent: 2019年3月28日 15:04 > To: Uwe Kleine-König > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-...@vger.kernel.org; dl-linux-imx ; Fabio Estevam > ; Pengutronix Kernel Team ; > Sascha Hauer ; Shawn Guo > ;

Re: [PATCH] x86/asm: add __user on copy_user_handle_tail() pointers

2019-03-28 Thread Borislav Petkov
On Thu, Feb 28, 2019 at 06:50:27PM +, Ben Dooks wrote: > The copy_user_handle_tail() clearly uses both from and to as pointers > to user-space memory. This triggers sparse warning on using the calls > to get and put to user-space. This can be fixed easily by changing the > call to take __user

Re: [PATCH v13 01/11] bitops: Introduce the for_each_set_clump8 macro

2019-03-28 Thread Lukas Wunner
On Thu, Mar 28, 2019 at 01:30:13PM +0900, William Breathitt Gray wrote: > On Wed, Mar 27, 2019 at 07:42:54AM +0100, Lukas Wunner wrote: > > On Wed, Mar 27, 2019 at 01:58:45PM +0900, William Breathitt Gray wrote: > > > This macro iterates for each 8-bit group of bits (clump) with set bits, > > >

RE: [RESEND] i2c: imx: defer probing on dma channel request

2019-03-28 Thread Aisheng Dong
> From: laurentiu.tu...@nxp.com [mailto:laurentiu.tu...@nxp.com] > Sent: Monday, March 25, 2019 11:30 PM > > From: Laurentiu Tudor > > If the dma controller is not yet probed, defer i2c probe. > The error path in probe was slightly modified (no functional change) to avoid > triggering this

Page-allocation-failure

2019-03-28 Thread Pankaj Suryawanshi
Hello , I am facing issue related to page allocation failure. If anyone is familiar with this issue, let me know what is the issue? How to solved/debug it. Failure logs -:

Re: Page-allocation-failure

2019-03-28 Thread Pankaj Suryawanshi
From: Pankaj Suryawanshi Sent: 28 March 2019 13:12 To: linux-kernel@vger.kernel.org; linux...@kvack.org Subject: Page-allocation-failure Hello , I am facing issue related to page allocation failure. If anyone is familiar with this issue, let me know

RE: [PATCH] Input: elan_i2c - Add i2c_reset in sysfs for ELAN touchpad recovery

2019-03-28 Thread 廖崇榮
Hi Dmitry, -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: Wednesday, March 27, 2019 12:34 PM To: KT Liao Cc: linux-kernel@vger.kernel.org; linux-in...@vger.kernel.org; ulrik.debie...@e2big.org; roger.whitta...@suse.com Subject: Re: [PATCH] Input:

[PATCH V2] misc: fastrpc: add checked value for dma_set_mask

2019-03-28 Thread Bo YU
There be should check return value from dma_set_mask to throw some info if fail to set dma mask. Detected by CoverityScan, CID# 1443983: Error handling issues (CHECKED_RETURN) Fixes:f6f9279f2bf0 (misc: fastrpc: Add Qualcomm fastrpc basic driver model) Signed-off-by: Bo YU --- V2: rebase misc

Re: [PATCH 1/4] glibc: Perform rseq(2) registration at C startup and thread creation (v7)

2019-03-28 Thread Martin Schwidefsky
On Wed, 27 Mar 2019 16:38:32 -0400 "Carlos O'Donell" wrote: > On 3/27/19 5:16 AM, Martin Schwidefsky wrote: > > On Mon, 25 Mar 2019 11:54:32 -0400 (EDT) > > Mathieu Desnoyers wrote: > > > +++ b/sysdeps/unix/sysv/linux/s390/bits/rseq.h > >> [...] > + > +/* Signature

URGENT,

2019-03-28 Thread Mrs. Aisha
Dear Friend, I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Gaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi). I have an investment funds

Re: [PATCH v7 0/9] EDAC drivers for Armada XP L2 and DDR

2019-03-28 Thread Borislav Petkov
On Wed, Feb 27, 2019 at 08:05:45PM +, Chris Packham wrote: > Hi Borislav, Russell, > > This seems to have fallen off the radar. Is there anything stopping this > series from being merged? I was told this is not going through my tree and so I gave Reviewed-by's for the EDAC bits. --

Re: [PATCH v3 4/4] RISC-V: Allow booting kernel from any 4KB aligned address

2019-03-28 Thread Mike Rapoport
On Wed, Mar 27, 2019 at 12:54:41AM -0700, Christoph Hellwig wrote: > On Mon, Mar 25, 2019 at 09:46:59PM +0530, Anup Patel wrote: > > > Why do you even care about kernel mappings for non-existant ram. > > > > We care because there will always be some buggy kernel driver/code going > > out-of-bound

Re: [PATCH 1/2] regulator: as3722: Convert to use regulator_set/get_current_limit_regmap

2019-03-28 Thread Laxman Dewangan
On Wednesday 27 March 2019 06:59 AM, Axel Lin wrote: Use regulator_set/get_current_limit_regmap helpers to save some code. Signed-off-by: Axel Lin Acked-by: Laxman Dewangan

Re: [PATCH 2/2] regulator: as3722: Slightly improve readability

2019-03-28 Thread Laxman Dewangan
On Wednesday 27 March 2019 06:59 AM, Axel Lin wrote: Add a local variable *desc to avoid too many change lines due to over 80 characters. Signed-off-by: Axel Lin Acked-by: Laxman Dewangan

Re: [linux-sunxi] [PATCH 4/7] ARM: dts: sun8i: a83t: Add UART2 PB pins

2019-03-28 Thread Chen-Yu Tsai
On Wed, Mar 27, 2019 at 8:18 AM megous via linux-sunxi wrote: > > From: Ondrej Jirman > > Add pin definitions for UART2 PB pins. These are used on TBS-A711 > tablet. > > Signed-off-by: Ondrej Jirman > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff

Re: [PATCH 4/6] x86, mm: make split_mem_range() more easy to read

2019-03-28 Thread Thomas Gleixner
Wei, On Thu, 28 Mar 2019, Wei Yang wrote: please trim your replies. It's annoying if one has to search the content in the middle of a large useless quote. > On Sun, Mar 24, 2019 at 03:29:04PM +0100, Thomas Gleixner wrote: > >Wei, > >-static int __meminit split_mem_range(struct map_range *mr,

Re: [PATCH 4/6] x86, mm: make split_mem_range() more easy to read

2019-03-28 Thread Thomas Gleixner
On Thu, 28 Mar 2019, Wei Yang wrote: > On Sun, Mar 24, 2019 at 03:29:04PM +0100, Thomas Gleixner wrote: > My question is to the for loop. > > For example, we have a range > >+--+-+---+ >^ 128M 1G 2G >128M - 4K > > If my

Re: [PATCH v4 2/2] mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning

2019-03-28 Thread Adrian Hunter
On 27/03/19 1:47 PM, Faiz Abbas wrote: > Hi Adrian, > > On 27/03/19 4:45 PM, Adrian Hunter wrote: >> On 26/03/19 1:00 PM, Faiz Abbas wrote: >>> commit 5b0d62108b46 ("mmc: sdhci-omap: Add platform specific reset >>> callback") skips data resets during tuning operation. Because of this, >>> a data

Re: [RFC PATCH 0/10] Another Approach to Use PMEM as NUMA Node

2019-03-28 Thread Dan Williams
On Wed, Mar 27, 2019 at 7:09 PM Yang Shi wrote: > On 3/27/19 1:09 PM, Michal Hocko wrote: > > On Wed 27-03-19 11:59:28, Yang Shi wrote: > >> > >> On 3/27/19 10:34 AM, Dan Williams wrote: > >>> On Wed, Mar 27, 2019 at 2:01 AM Michal Hocko wrote: > On Tue 26-03-19 19:58:56, Yang Shi wrote: >

Re: INFO: rcu detected stall in __perf_sw_event

2019-03-28 Thread Dmitry Vyukov
On Wed, Mar 27, 2019 at 12:28 AM Finn Thain wrote: > > On Tue, 26 Mar 2019, syzbot wrote: > > > syzbot has bisected this bug to: > > > > commit cf85d89562f39cc7ae73de54639f1915a9195b7a > > Author: Finn Thain > > Date: Fri May 25 07:34:36 2018 + > > > >m68k/mac: Enable PDMA for

Re: Issues with i.MX SPI DMA transfers

2019-03-28 Thread Uwe Kleine-König
On Thu, Mar 28, 2019 at 10:04:21AM +0300, Igor Plyatov wrote: > Dear Uwe, > > > > Hello Igor, > > > > On Wed, Mar 27, 2019 at 08:40:00PM +0300, Igor Plyatov wrote: > > > please, help to resolve two issues with SPI DMA transfers at i.MX6Q > > > platform. > > > > > > First issue is > > >  [

Re: possible deadlock in acct_pin_kill

2019-03-28 Thread Dmitry Vyukov
On Wed, Mar 27, 2019 at 8:16 AM Amir Goldstein wrote: > > On Wed, Mar 27, 2019 at 5:53 AM syzbot > wrote: > > > > syzbot has bisected this bug to: > > > > commit e950564b97fd0f541b02eb207685d0746f5ecf29 > > Author: Miklos Szeredi > > Date: Tue Jul 24 13:01:55 2018 + > > > > vfs:

Re: [PATCH v2 1/7] x86/boot: Convert early_serial_base to unsigned long

2019-03-28 Thread Borislav Petkov
On Tue, Mar 19, 2019 at 09:43:19PM +0300, Andy Shevchenko wrote: > As a preparatory of adding flexible serial I/O accessors, convert > early_serial_base to unsigned long to cover all possible bus addresses > on the system. > > No functional change intended. > > Signed-off-by: Andy Shevchenko >

Re: [PATCH] pinctrl: intel: save HOSTSW_OWN register over suspend/resume

2019-03-28 Thread Mika Westerberg
On Wed, Mar 27, 2019 at 07:29:40PM +0200, Mika Westerberg wrote: > I wonder if it would be simpler to save it always and then upon resume > compare them and if changed, log this in dmesg and restore the saved > one. Actually I think better is to restore hostsw_own only for GPIOs that are already

Re: [PATCH v2] thunderbolt: property: fix a missing check of kzalloc

2019-03-28 Thread Mika Westerberg
On Mon, Mar 25, 2019 at 03:23:08PM -0500, Kangjie Lu wrote: > No check is enforced for the return value of kzalloc, > which may lead to NULL-pointer dereference. > > The patch fixes this issue. > > Signed-off-by: Kangjie Lu > Reviewed-by: Mukesh Ojha Applied, thanks!

Re: [PATCH 1/2] mtd: maps: physmap: Store gpio_values correctly

2019-03-28 Thread Boris Brezillon
On Thu, 28 Mar 2019 17:02:15 +1300 Chris Packham wrote: > When the gpio-addr-flash.c driver was merged with physmap-core.c the > code to store the current gpio_values was lost. This meant that once a > gpio was asserted it was never de-asserted. Fix this by storing the > current offset in

Re: [PATCH v3] thunderbolt: Fix to check the return value of kmemdup

2019-03-28 Thread Mika Westerberg
On Mon, Mar 25, 2019 at 04:25:22PM -0500, Aditya Pakki wrote: > uuid in add_switch is allocted via kmemdup which can fail. The patch > logs the error and cleans up the allocated memory for switch. > > Signed-off-by: Aditya Pakki Applied, thanks!

PRIVATE...

2019-03-28 Thread svetlana
I have a business Proposal that will be of benefit to the both of us.Kindly contact me on mrmichealwu...@yahoo.com.hk should this be of interest to you.

Re: [PATCH] regulator: rc5t583: Get rid of struct rc5t583_regulator

2019-03-28 Thread Laxman Dewangan
On Wednesday 27 March 2019 05:24 PM, Axel Lin wrote: The struct rc5t583_regulator only has 2 members, the *rdev is no longer used because this driver is using devm_regulator_register now. After remove *rdev, only *reg_info left. We can use struct rc5t583_regulator_info directly, so remove

Re: [PATCH v2 2/2] arm64: dts: imx8qxp: Add EDMA0/EDMA1 nodes

2019-03-28 Thread Daniel Baluta
On Thu, Mar 28, 2019 at 4:32 AM Aisheng Dong wrote: > > > From: Daniel Baluta > > Sent: Thursday, March 28, 2019 3:03 AM > > > > i.MX8QXP contains a total of 4 EDMA controllers of which two are primarily > > for audio components and the other two are for non-audio periperhals. > > > > This patch

Re: [PATCH] drivers/acpi: Clear status of an event before enabling it

2019-03-28 Thread Rafael J. Wysocki
On Thu, Mar 28, 2019 at 1:46 AM Furquan Shaikh wrote: > > On Wed, Mar 27, 2019 at 5:24 AM Rafael J. Wysocki wrote: > > > > On Thu, Mar 21, 2019 at 3:16 AM Furquan Shaikh wrote: > > > > > > On Wed, Mar 20, 2019 at 5:11 PM Rafael J. Wysocki > > > wrote: > > > > > > > > On Wed, Mar 20, 2019 at

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

2019-03-28 Thread Jan Kara
On Wed 27-03-19 18:59:48, Al Viro wrote: > On Wed, Mar 27, 2019 at 05:58:31PM +0100, Jan Kara wrote: > > On Tue 26-03-19 04:15:10, Al Viro wrote: > > > On Mon, Mar 25, 2019 at 08:18:25PM -0700, Mark Fasheh wrote: > > > > > > > Hey Al, > > > > > > > > It's been a while since I've looked at that

Re: [PATCH v3 2/4] lib/hexdump.c: factor out generic hexdump formatting for reuse.

2019-03-28 Thread Andy Shevchenko
On Wed, Mar 27, 2019 at 05:34:59PM -0700, Life is hard, and then you die wrote: > > On Wed, Mar 27, 2019 at 09:46:48AM +0200, Andy Shevchenko wrote: > > On Wed, Mar 27, 2019 at 3:49 AM Ronald Tschalär > > wrote: > > > > > > This introduces print_hex_dump_to_cb() which contains all the hexdump >

[GIT PULL] s390 patches for 5.1 #2

2019-03-28 Thread Martin Schwidefsky
The following changes since commit 3717f613f48df0222311f974cf8a06c8a6c97bae: Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2019-03-05 14:49:11 -0800) are available in the git repository at:

Re: [PATCH] kbuild: do not overwrite .gitignore in output directory

2019-03-28 Thread Masahiro Yamada
On Thu, Mar 28, 2019 at 4:20 AM Andre Przywara wrote: > > On Tue, 26 Mar 2019 13:26:58 +0900 > Masahiro Yamada wrote: > > Masahiro, > > > Commit 3a51ff344204 ("kbuild: gitignore output directory") seemed to > > bother people who version-control output directories. > > Thanks a lot for the patch,

Re: [PATCH v2 1/7] x86/boot: Convert early_serial_base to unsigned long

2019-03-28 Thread Andy Shevchenko
On Thu, Mar 28, 2019 at 09:28:23AM +0100, Borislav Petkov wrote: > On Tue, Mar 19, 2019 at 09:43:19PM +0300, Andy Shevchenko wrote: > > As a preparatory of adding flexible serial I/O accessors, convert > > early_serial_base to unsigned long to cover all possible bus addresses > > on the system. >

Re: [PATCH v13 10/11] gpio: 74x164: Utilize the for_each_set_clump8 macro

2019-03-28 Thread Andy Shevchenko
On Thu, Mar 28, 2019 at 01:40:04PM +0900, William Breathitt Gray wrote: > On Wed, Mar 27, 2019 at 02:33:14PM +0200, Andy Shevchenko wrote: > > On Wed, Mar 27, 2019 at 02:02:39PM +0900, William Breathitt Gray wrote: > > > Replace verbose implementation in set_multiple callback with > > >

Re: [PATCH] pinctrl: intel: save HOSTSW_OWN register over suspend/resume

2019-03-28 Thread Andy Shevchenko
On Wed, Mar 27, 2019 at 07:29:40PM +0200, Mika Westerberg wrote: > On Wed, Mar 27, 2019 at 04:22:04PM +0800, Daniel Drake wrote: > > On Tue, Nov 21, 2017 at 8:13 PM Mika Westerberg > > wrote: > > > On Tue, Nov 21, 2017 at 07:54:26PM +0800, Chris Chiu wrote: > > > > Yup, I checked the value of the

Re: pidfd design

2019-03-28 Thread Christian Brauner
On Mon, Mar 25, 2019 at 05:24:49PM -0700, Andy Lutomirski wrote: > On Mon, Mar 25, 2019 at 5:12 PM Christian Brauner > wrote: > > > > On Mon, Mar 25, 2019 at 05:00:17PM -0700, Andy Lutomirski wrote: > > > On Mon, Mar 25, 2019 at 4:45 PM Christian Brauner > > > wrote: > > > > > > > > On Mon,

[PATCH] drivers/fmc: remove unneeded NULL check

2019-03-28 Thread Ding Xiang
The variable will check in debugfs_remove_recursive, so the NULL check here is not needed Signed-off-by: Ding Xiang --- drivers/fmc/fmc-debug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/fmc/fmc-debug.c b/drivers/fmc/fmc-debug.c index 3293072..ab868a3 100644

RE: Issues with i.MX SPI DMA transfers

2019-03-28 Thread Robin Gong
Hi Igor, Please have a try with the attached patch, assume you have already used the sdma firmware From https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma/sdma-imx6q.bin > -Original Message- > From: Igor Plyatov > Sent: 2019年3月28日 15:04 >

RE: [PATCH v2 2/2] arm64: dts: imx8qxp: Add EDMA0/EDMA1 nodes

2019-03-28 Thread Aisheng Dong
> > > diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > > > b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > > > index 0cb939861a60..84c7c3eca1a1 100644 > > > --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > > > +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi > > > @@ -182,6 +182,78 @@ >

Re: [PATCH v10 00/12] perf: enable compression of record mode trace to save storage space

2019-03-28 Thread Alexey Budankov
Hi, This is a gentle reminder regarding the patch set below. Thanks, Alexey On 18.03.2019 20:36, Alexey Budankov wrote: > > The patch set implements runtime trace compression (-z option) in > record mode and trace auto decompression in report and inject modes. > Streaming Zstd API [1] is

Re: [PATCH] watchdog: Respect watchdog cpumask on CPU hotplug

2019-03-28 Thread Maxime Coquelin
On 3/27/19 8:10 PM, Thomas Gleixner wrote: On Wed, 27 Mar 2019, Oleg Nesterov wrote: On 03/26, Thomas Gleixner wrote: The rework of the watchdog core to use cpu_stop_work broke the watchdog cpumask on CPU hotplug. The watchdog_enable/disable() functions are now called unconditionally from

Re: [PATCH] pinctrl: intel: save HOSTSW_OWN register over suspend/resume

2019-03-28 Thread Daniel Drake
On Thu, Mar 28, 2019 at 5:17 PM Andy Shevchenko wrote: > Hmm... Can you confirm that laptop you declared as a fixed case and the > mentioned here is the same one? They are definitely not the same exact unit - originally we had a pre-production sample, and now we briefly diagnosed a real

Re: [PATCH v2 1/6] device property: Add functions for accessing node's parents

2019-03-28 Thread Rafael J. Wysocki
On Wed, Mar 27, 2019 at 3:20 PM Sakari Ailus wrote: > > Hi Petr, > > On Wed, Mar 27, 2019 at 01:26:25PM +0100, Petr Mladek wrote: > > On Tue 2019-03-26 14:41:01, Sakari Ailus wrote: > > > Add two convenience functions for accessing node's parents: > > > > > > fwnode_count_parents() returns the

Re: [PATCH v2 2/6] device property: Add fwnode_get_name for returning the name of a node

2019-03-28 Thread Rafael J. Wysocki
On Tue, Mar 26, 2019 at 1:41 PM Sakari Ailus wrote: > > The fwnode framework did not have means to obtain the name of a node. Add > that now, in form of the fwnode_get_name() function and a corresponding > get_name fwnode op. OF and ACPI support is included. > > Signed-off-by: Sakari Ailus > ---

Re: [PATCH v3 3/4] cpufreq: schedutil: Simplify iowait boosting

2019-03-28 Thread Quentin Perret
Hi Rafael, On Tuesday 26 Mar 2019 at 12:18:00 (+0100), Rafael J. Wysocki wrote: > @@ -13,6 +13,8 @@ > #include > #include > > +#define IOWAIT_BOOST_MIN (SCHED_CAPACITY_SCALE / 8) > + > struct sugov_tunables { > struct gov_attr_set attr_set; > unsigned int

[PATCH v2] staging: pi433: Fix rf69_set_tx_cfg() logic

2019-03-28 Thread Sidong Yang
Moved code to configure sync to where check enable_sync option before. There is no need to check enable_sync twice. Configuring sync should be executed immediately after enabling sync. Signed-off-by: Sidong Yang --- v2: remove obvious comment. reordered size/value/enable sync functions.

Re: [PATCH v3 4/4] RISC-V: Allow booting kernel from any 4KB aligned address

2019-03-28 Thread Anup Patel
On Thu, Mar 28, 2019 at 1:25 PM Mike Rapoport wrote: > > On Wed, Mar 27, 2019 at 12:54:41AM -0700, Christoph Hellwig wrote: > > On Mon, Mar 25, 2019 at 09:46:59PM +0530, Anup Patel wrote: > > > > Why do you even care about kernel mappings for non-existant ram. > > > > > > We care because there

[PATCH 2/7] mtd: rawnand: Add Macronix MX25F0A NAND controller driver

2019-03-28 Thread Mason Yang
Add a driver for Macronix MX25F0A NAND controller. Signed-off-by: Mason Yang --- drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile| 1 + drivers/mtd/nand/raw/mxic_nand.c | 303 +++ 3 files changed, 310 insertions(+) create mode

[PATCH 5/7] spi: Add direct mapping mode for Macronix SPI controller

2019-03-28 Thread Mason Yang
Add direct mapping read mode for Macronix SPI controller driver. Signed-off-by: Mason Yang --- drivers/spi/spi-mxic.c | 129 ++--- 1 file changed, 100 insertions(+), 29 deletions(-) diff --git a/drivers/spi/spi-mxic.c b/drivers/spi/spi-mxic.c index

[PATCH 1/7] mfd: Add Macronix MX25F0A MFD controller driver

2019-03-28 Thread Mason Yang
Add a driver for Macronix MX25F0A multifunction device controller. Signed-off-by: Mason Yang --- drivers/mfd/Kconfig | 9 ++ drivers/mfd/Makefile | 1 + drivers/mfd/mxic-mx25f0a.c | 90 include/linux/mfd/mxic-mx25f0a.h | 173

[PATCH 3/7] spi: Patch Macronix MX25F0A SPI controller driver

2019-03-28 Thread Mason Yang
Patch a MFD driver for Macronix MX25F0A SPI controller. Signed-off-by: Mason Yang --- drivers/spi/spi-mxic.c | 159 + 1 file changed, 3 insertions(+), 156 deletions(-) diff --git a/drivers/spi/spi-mxic.c b/drivers/spi/spi-mxic.c index

[PATCH 6/7] mtd: rawnand: Add Macronix NAND read retry and randomizer support

2019-03-28 Thread Mason Yang
Add a driver for Macronix NAND read retry and randomizer. Signed-off-by: Mason Yang --- drivers/mtd/nand/raw/nand_macronix.c | 169 +++ 1 file changed, 169 insertions(+) diff --git a/drivers/mtd/nand/raw/nand_macronix.c b/drivers/mtd/nand/raw/nand_macronix.c

[PATCH 0/7] Add Macronix MX25F0A MFD driver and NAND function

2019-03-28 Thread Mason Yang
Hi, These patches support 1. Add Macronix MX25F0A MFD driver for SPI and raw NAND controller. 2. Add direct mapping read mode for SPI host controller. 3. Macronix NAND device read retry and randomizer function. 4. Macronix NAND device block protection function. thanks for your review. best

Re: [RFC PATCH v2] random: add get_random_max() function

2019-03-28 Thread George Spelvin
By the way, I just noticed that my fallback get_random_max64() algorithm (if there's no __int128 type) is completely broken and will need rewriting. It would work if I rejected and regenerated the high half if the low half were out of range, but that's not what it does. The worst case is a range

[PATCH 7/7] mtd: rawnand: Add Macronix NAND block protection driver

2019-03-28 Thread Mason Yang
Add a driver for Macronix NAND block protection function. Signed-off-by: Mason Yang --- drivers/mtd/nand/raw/mxic_nand.c | 3 +++ drivers/mtd/nand/raw/nand_macronix.c | 47 include/linux/mfd/mxic-mx25f0a.h | 3 +++ 3 files changed, 53 insertions(+)

[PATCH 4/7] dt-bindings: mfd: Document Macronix MX25F0A controller bindings

2019-03-28 Thread Mason Yang
Document the bindings used by the Macronix MX25F0A MFD controller. Signed-off-by: Mason Yang --- .../devicetree/bindings/mfd/mxic-mx25f0a.txt | 66 ++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/mxic-mx25f0a.txt diff

[PATCH RFC 1/1] gnss: get serial speed from subdrivers

2019-03-28 Thread Loys Ollivier
The default serial speed was hardcoded in the code. Rename current-speed to default-speed. Add a function parameter that lets the subdrivers specify their default speed. If not specified fallback to the device-tree default-speed. Signed-off-by: Loys Ollivier --- drivers/gnss/mtk.c| 6

[PATCH RFC 0/1] gnss: get serial speed from subdrivers

2019-03-28 Thread Loys Ollivier
Hello, Here's a patch that moves the currently hardcoded, default serial speed to the subdrivers. If the default speed is not specified by the subdriver then it is read from the device tree. Please let me know what you think ! Cheers, Loys Loys Ollivier (1): gnss: get serial speed from

Re: [PATCH 4/7] RISC-V: Update page tables to cover the whole linear mapping

2019-03-28 Thread Anup Patel
On Thu, Mar 28, 2019 at 3:06 AM Logan Gunthorpe wrote: > > With the new virtual address changes in an earlier patch, we want the > page tables to cover more of the linear mapping region. Instead of > only mapping from PAGE_OFFSET and up, we instead map starting > from an aligned version of

Re: [PATCH net-next v5 16/22] ethtool: provide link settings and link modes in GET_SETTINGS request

2019-03-28 Thread Michal Kubecek
On Wed, Mar 27, 2019 at 08:44:58PM -0700, Florian Fainelli wrote: > > > On 3/25/2019 10:08 AM, Michal Kubecek wrote: > > Implement GET_SETTINGS netlink request to get link settings and link mode > > information provided by ETHTOOL_GLINKSETTINGS ioctl command. > > > > The information in

Re: [PATCH 1/4] ACPI/PPTT: Add function to return ACPI 6.3 Identical tokens

2019-03-28 Thread Rafael J. Wysocki
On Tue, Mar 26, 2019 at 11:40 PM Jeremy Linton wrote: > > ACPI 6.3 adds a flag to indicate that child nodes are all > identical cores. This is useful to authoritatively determine > if a set of (possibly offline) cores are identical or not. > > Since the flag doesn't give us a unique id we can

Misplaced driver_sysfs_remove in really_probe?

2019-03-28 Thread Jiri Slaby
Hi, since commit 1901fb2604fbcd53201f38725182ea807581159e Author: Kay Sievers Date: Sat Oct 7 21:55:55 2006 +0200 Driver core: fix "driver" symlink timing driver_sysfs_remove seems to be misplaced in the fail path of really_probe. When driver_sysfs_add fails (or anything which is

[PATCH -next] Input: uinput - Avoid Use-After-Free with udev lock

2019-03-28 Thread Mukesh Ojha
uinput_destroy_device() gets called from two places. In one place, uinput_ioctl_handler() it is protected under a lock udev->mutex but same is not true for other place inside uinput_release(). This can result in a race where udev device gets freed while it is in use. [ 160.093398] Call trace: [

Re: [PATCH AUTOSEL 5.0 009/262] i2c: sis630: correct format strings

2019-03-28 Thread Pavel Machek
> From: Louis Taylor > > [ Upstream commit 60f7691c624b41a05bfc3493d9b0519e7951b7ef ] > > When compiling with -Wformat, clang warns: > > drivers/i2c/busses/i2c-sis630.c:482:4: warning: format specifies type > 'unsigned short' but the argument has type 'int' [-Wformat] >

Re: [PATCH AUTOSEL 5.0 010/262] apparmor: fix double free when unpack of secmark rules fails

2019-03-28 Thread Pavel Machek
> From: John Johansen > > [ Upstream commit d8dbb581d4f86a2ac669c056fc71a28ebeb367f4 ] > > if secmark rules fail to unpack a double free happens resulting in > the following oops > > Fixes: 9caafbe2b4cf ("apparmor: Parse secmark policy") > Reported-by: Alex Murray > Signed-off-by: John

[BUG] net: core: netif_receive_skb_list() crash on non-standard ptypes forwarding

2019-03-28 Thread Alexander Lobakin
Hi Edward, Seems like I've found another poisoned skb->next crash with netif_receive_skb_list(). This is similar to the one than has been already fixed in 22f6bbb7bcfc ("net: use skb_list_del_init() to remove from RX sublists"). This one however applies only to non-standard ptypes (in my case

[PATCH 2/3] PM / EM: Expose perf domain struct

2019-03-28 Thread Quentin Perret
In the current state, the perf_domain struct is fully defined only when CONFIG_ENERGY_MODEL=y. Since we need to write code that compiles both with or without that option in the thermal framework, make sure to actually define the struct regardless of the config option. That allows to avoid using

Re: [PATCH AUTOSEL 5.0 011/262] tracing: kdb: Fix ftdump to not sleep

2019-03-28 Thread Pavel Machek
> From: Douglas Anderson > > [ Upstream commit 31b265b3baaf55f209229888b7ffea523ddab366 ] > > As reported back in 2016-11 [1], the "ftdump" kdb command triggers a > BUG for "sleeping function called from invalid context". > > kdb's "ftdump" command wants to call ring_buffer_read_prepare() in >

[PATCH 0/3] cpu_cooling: Make IPA use PM_EM

2019-03-28 Thread Quentin Perret
The Intelligent Power Allocator (IPA) thermal governor uses an Energy Model (or EM) of the CPUs to re-distribute the power budget. To do so, it builds a table of tuples where the power values are computed using the 'dynamic-power-coefficient' DT property. All of this is done in and only for the

[PATCH 1/3] arm64: defconfig: Enable CONFIG_ENERGY_MODEL

2019-03-28 Thread Quentin Perret
The recently introduced Energy Model (EM) framework manages power cost tables for the CPUs of the system. Its only user right now is the scheduler, in the context of Energy Aware Scheduling (EAS). However, the EM framework also offers a generic infrastructure that could replace subsystem-specific

[PATCH 3/3] thermal: cpu_cooling: Migrate to using the EM framework

2019-03-28 Thread Quentin Perret
The newly introduced Energy Model framework manages power cost tables in a generic way. Moreover, it supports a several types of models since the tables can come from DT or firmware (through SCMI) for example. On the other hand, the cpu_cooling subsystem manages its own power cost tables using

  1   2   3   4   5   6   7   >