[PATCH] dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()

2019-08-15 Thread Wenwen Wang
If devm_request_irq() fails to disable all interrupts, no cleanup is performed before retuning the error. To fix this issue, invoke omap_dma_free() to do the cleanup. Signed-off-by: Wenwen Wang --- drivers/dma/ti/omap-dma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/d

[PATCH v2 1/3] dt-bindings: i2c: mv64xxx: Add compatible for the H6 i2c node.

2019-08-15 Thread Bhushan Shah
Allwinner H6 have a mv64xxx i2c interface available to be used. Signed-off-by: Bhushan Shah --- Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/de

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

2019-08-15 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: fdd61a013a24 ("gpio: Add support for hierarchical IRQ domains") from the gpio tree and commit: 9091373ab7ea ("gpio: remove less important #ifdef around declarations") f

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-08-15 Thread Feng Tang
Hi Thomas, On Tue, Aug 13, 2019 at 05:36:16PM +0800, Feng Tang wrote: > Hi Thomas, > > On Mon, Aug 12, 2019 at 03:25:45PM +0800, Feng Tang wrote: > > Hi Thomas, > > > > On Fri, Aug 09, 2019 at 04:12:29PM +0800, Rong Chen wrote: > > > Hi, > > > > > > >>Actually we run the benchmark as a backgro

[PATCH v2 3/3] arm64: allwinner: h6: add i2c0 node in PineH64

2019-08-15 Thread Bhushan Shah
i2c0 bus is exposed by PI-2 BUS in the PineH64, model B. Signed-off-by: Bhushan Shah --- Changes in v2: - Don't enable the i2c0 node in PineH64 by default arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allw

[PATCH v2 0/3] Enable the I2C nodes for Allwinner H6 CPU

2019-08-15 Thread Bhushan Shah
This patch series adds device-tree nodes for i2c nodes in the H6 dtsi, and enables it for the Pine H64. Changes in v2: - Add the SoC specific compatible string instead of re-using a31 one. - Don't enable the i2c0 node in PineH64 by default Bhushan Shah (3): dt-bindings: i2c: mv64xxx: Add co

[PATCH v2 2/3] arm64: allwinner: h6: add I2C nodes

2019-08-15 Thread Bhushan Shah
Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl nodes. Suggested-by: Icenowy Zheng Signed-off-by: Bhushan Shah --- Changes in v2: - Add the SoC specific compatible string instead of re-using a31 one. arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 56 +++-

[PATCH 1/4] resource: add a not device managed request_free_mem_region variant

2019-08-15 Thread Christoph Hellwig
Just add a simple macro that passes a NULL dev argument to dev_request_free_mem_region, and call request_mem_region in the function for that particular case. Signed-off-by: Christoph Hellwig --- include/linux/ioport.h | 2 ++ kernel/resource.c | 45 +

[PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-15 Thread Christoph Hellwig
The dev field in struct dev_pagemap is only used to print dev_name in two places, which are at best nice to have. Just remove the field and thus the name in those two messages. Signed-off-by: Christoph Hellwig --- include/linux/memremap.h | 1 - mm/memremap.c| 6 +- mm/page_allo

[PATCH 4/4] memremap: provide a not device managed memremap_pages

2019-08-15 Thread Christoph Hellwig
The kvmppc ultravisor code wants a device private memory pool that is system wide and not attached to a device. Instead of faking up one provide a low-level memremap_pages for it. Note that this function is not exported, and doesn't have a cleanup routine associated with it to discourage use from

add a not device managed memremap_pages v2

2019-08-15 Thread Christoph Hellwig
Hi Dan and Jason, Bharata has been working on secure page management for kvmppc guests, and one I thing I noticed is that he had to fake up a struct device just so that it could be passed to the devm_memremap_pages instrastructure for device private memory. This series adds non-device managed ver

[PATCH 3/4] memremap: don't use a separate devm action for devmap_managed_enable_get

2019-08-15 Thread Christoph Hellwig
Just clean up for early failures and then piggy back on devm_memremap_pages_release. This helps with a pending not device managed version of devm_memremap_pages. Signed-off-by: Christoph Hellwig --- mm/memremap.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v2] dmaengine: ti: dma-crossbar: Fix a memory leak bug

2019-08-15 Thread Peter Ujfalusi
On 16/08/2019 9.48, Wenwen Wang wrote: > In ti_dra7_xbar_probe(), 'rsv_events' is allocated through kcalloc(). Then > of_property_read_u32_array() is invoked to search for the property. > However, if this process fails, 'rsv_events' is not deallocated, leading to > a memory leak bug. To fix this

[PATCH] clocksource/drivers/sp804: make CONFIG_ARM_TIMER_SP804 selectable again

2019-08-15 Thread Helmut Grohne
Adding a dependency on CONFIG_COMPILE_TEST makes the relevant item unselectable for practical purposes. The correct solution is to add a dependency alternative on the relevant architecture. Fixes: dfc82faad72520 ("clocksource/drivers/sp804: Add COMPILE_TEST to CONFIG_ARM_TIMER_SP804") Link: https

Re: [PATCH 4.19 00/91] 4.19.67-stable review

2019-08-15 Thread Jinpu Wang
Greg Kroah-Hartman 于2019年8月14日周三 下午7:10写道: > > This is the start of the stable review cycle for the 4.19.67 release. > There are 91 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. > > Responses should

[PATCH v2] dmaengine: ti: dma-crossbar: Fix a memory leak bug

2019-08-15 Thread Wenwen Wang
In ti_dra7_xbar_probe(), 'rsv_events' is allocated through kcalloc(). Then of_property_read_u32_array() is invoked to search for the property. However, if this process fails, 'rsv_events' is not deallocated, leading to a memory leak bug. To fix this issue, free 'rsv_events' before returning the err

Re: [PATCH 2/2] vfs: don't allow writes to swap files

2019-08-15 Thread Darrick J. Wong
On Thu, Aug 15, 2019 at 11:41:21PM -0700, Christoph Hellwig wrote: > The new checks look fine to me, but where does the inode_drain_writes() > function come from, I can't find that in my tree anywhere. Doh. Forgot to include that patch in the series. :( /* * Flush file data before changing attr

Re: [PATCH RFC v1] clk: Fix potential NULL dereference in clk_fetch_parent_index()

2019-08-15 Thread Martin Blumenstingl
Hi Stephen, On Fri, Aug 16, 2019 at 1:29 AM Stephen Boyd wrote: > > Quoting Martin Blumenstingl (2019-08-15 15:31:55) > > Don't compare the parent clock name with a NULL name in the > > clk_parent_map. This prevents a kernel crash when passing NULL > > core->parents[i].name to strcmp(). > > > > A

Re: [PATCH v2 0/7] AMD64 EDAC fixes

2019-08-15 Thread Borislav Petkov
On Thu, Aug 15, 2019 at 08:08:39PM +, Ghannam, Yazen wrote: > Yes, I agree. I was planning to do a fix in a separate set. Is that > okay? Or should I add it here? If you have it, send it on, sure. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim

Re: [PATCH] dmaengine: ti: Fix a memory leak bug

2019-08-15 Thread Wenwen Wang
On Fri, Aug 16, 2019 at 2:42 AM Peter Ujfalusi wrote: > > > > On 16/08/2019 9.23, Wenwen Wang wrote: > > In ti_dra7_xbar_probe(), 'rsv_events' is allocated through kcalloc(). Then > > of_property_read_u32_array() is invoked to search for the property. > > However, if this process fails, 'rsv_event

Re: [PATCH] MAINTAINERS, x86/CPU: Tony Luck will maintain asm/intel-family.h

2019-08-15 Thread Borislav Petkov
On Thu, Aug 15, 2019 at 03:47:05PM -0700, Luck, Tony wrote: > On Thu, Aug 15, 2019 at 10:22:07PM +0200, Thomas Gleixner wrote: > > On Thu, 15 Aug 2019, Luck, Tony wrote: > > > On Thu, Aug 15, 2019 at 07:54:55PM +0200, Borislav Petkov wrote: > > So we should document the list of valid and usable one

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Uwe Kleine-König
Hello Baolin, On Fri, Aug 16, 2019 at 10:44:41AM +0800, Baolin Wang wrote: > On Thu, 15 Aug 2019 at 20:25, Uwe Kleine-König > wrote: > > > > On Thu, Aug 15, 2019 at 07:05:53PM +0800, Baolin Wang wrote: > > > On Thu, 15 Aug 2019 at 18:11, Uwe Kleine-König > > > wrote: > > > > > > > > Hello, > > >

Re: [PATCH v4 21/21] ARM: dts: imx6qdl-colibri.dtsi: UHS-I support for v1.1a hw

2019-08-15 Thread Philippe Schenker
On Mon, 2019-08-12 at 14:21 +, Philippe Schenker wrote: > From: Igor Opaniuk > > Provide proper configuration for VGEN3, to make sure it's is always > powered > which allows that rail to be automatically switched to 1.8 volts > for proper UHS-I operation. By default it's disabled. > > With U

Re: [PATCH v4 20/21] ARM: dts: imx7-colibri: Add UHS support to eval board

2019-08-15 Thread Philippe Schenker
On Mon, 2019-08-12 at 14:21 +, Philippe Schenker wrote: > This commit adds UHS capability to Toradex Eval Boards > > Signed-off-by: Philippe Schenker Please ignore this patch. There was a misunderstanding and this one shouldn't go into mainline. Sorry for that! > > --- > > Changes in v4: N

Re: [PATCH] dmaengine: ti: Fix a memory leak bug

2019-08-15 Thread Peter Ujfalusi
On 16/08/2019 9.23, Wenwen Wang wrote: > In ti_dra7_xbar_probe(), 'rsv_events' is allocated through kcalloc(). Then > of_property_read_u32_array() is invoked to search for the property. > However, if this process fails, 'rsv_events' is not deallocated, leading to > a memory leak bug. To fix this

Re: [PATCH net-next v2 4/5] r8152: support skb_add_rx_frag

2019-08-15 Thread Eric Dumazet
On 8/13/19 5:42 AM, Hayes Wang wrote: > Use skb_add_rx_frag() to reduce the memory copy for rx data. > > Use a new list of rx_used to store the rx buffer which couldn't be > reused yet. > > Besides, the total number of rx buffer may be increased or decreased > dynamically. And it is limited by

Re: [PATCH 2/3] x86: cpu: Add new Intel Atom CPU type

2019-08-15 Thread Borislav Petkov
On Fri, Aug 16, 2019 at 11:22:16AM +0800, Tanwar, Rahul wrote: > > Hi Boris, > > Well noted, will have Tony in loop from now on. Thanks. Ok. Now to another question: you see how I put my reply to the previous mail *below* the quoted text. Why is yours ontop? Why not put it after mine since you'

Re: [PATCH 2/2] vfs: don't allow writes to swap files

2019-08-15 Thread Christoph Hellwig
The new checks look fine to me, but where does the inode_drain_writes() function come from, I can't find that in my tree anywhere. Also what does inode_drain_writes do about existing shared writable mapping? Do we even care about that corner case?

linux-next: manual merge of the scsi tree with the scsi-fixes tree

2019-08-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the scsi tree got a conflict in: drivers/scsi/qla2xxx/qla_os.c between commit: 26fa656e9a0c ("scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure") from the scsi-fixes tree and commit: 26a77799195f ("scsi: qla2xxx: Correct error handling duri

Re: [PATCH net-next] r8152: divide the tx and rx bottom functions

2019-08-15 Thread Eric Dumazet
On 8/14/19 10:30 AM, Hayes Wang wrote: > Move the tx bottom function from NAPI to a new tasklet. Then, for > multi-cores, the bottom functions of tx and rx may be run at same > time with different cores. This is used to improve performance. > > tasklet and NAPI are scheduled on the same core

Re: [PATCH 5.2 000/144] 5.2.9-stable review

2019-08-15 Thread Kelsey Skunberg
On Wed, Aug 14, 2019 at 06:59:16PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.2.9 release. > There are 144 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.

Re: [PATCH 1/2] mm: set S_SWAPFILE on blockdev swap devices

2019-08-15 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH 4.19 00/91] 4.19.67-stable review

2019-08-15 Thread Kelsey Skunberg
On Wed, Aug 14, 2019 at 07:00:23PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.67 release. > There are 91 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

Re: [RFC PATCH 00/15] acrn: add the ACRN driver module

2019-08-15 Thread Borislav Petkov
On Fri, Aug 16, 2019 at 10:25:41AM +0800, Zhao Yakui wrote: > The first three patches are the changes under x86/acrn, which adds the > required APIs for the driver and reports the X2APIC caps. > The remaining patches add the ACRN driver module, which accepts the ioctl > from user-space and then co

Re: [PATCH 4.14 00/69] 4.14.139-stable review

2019-08-15 Thread Kelsey Skunberg
On Wed, Aug 14, 2019 at 07:00:58PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.139 release. > There are 69 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 kno

Re: [PATCHv6 28/36] posix-clocks: Add align for timens_offsets

2019-08-15 Thread Thomas Gleixner
On Thu, 15 Aug 2019, Thomas Gleixner wrote: > So using struct timespec64 for the offset is wrong. You really need to open > code that offset storage if you don't want to end up with weird workarounds > for BE. > > Something like this: > > struct timens_offs { > time64_t tv_sec; >

Re: [PATCHv6 01/36] ns: Introduce Time Namespace

2019-08-15 Thread Thomas Gleixner
Andrei, On Thu, 15 Aug 2019, Andrei Vagin wrote: > On Thu, Aug 15, 2019 at 07:19:12PM +0200, Thomas Gleixner wrote: > > > +static int timens_install(struct nsproxy *nsproxy, struct ns_common *new) > > > +{ > > > + struct time_namespace *ns = to_time_ns(new); > > > + > > > + if (!current_is_single_

[PATCH] rtw88: pci: Move a mass of jobs in hw IRQ to soft IRQ

2019-08-15 Thread Jian-Hong Pan
There is a mass of jobs between spin lock and unlock in the hardware IRQ which will occupy much time originally. To make system work more efficiently, this patch moves the jobs to the soft IRQ (bottom half) to reduce the time in hardware IRQ. Signed-off-by: Jian-Hong Pan --- drivers/net/wireless

Re: cleanup the walk_page_range interface

2019-08-15 Thread Christoph Hellwig
On Thu, Aug 08, 2019 at 10:50:37AM -0700, Linus Torvalds wrote: > On Thu, Aug 8, 2019 at 8:42 AM Christoph Hellwig wrote: > > > > this series is based on a patch from Linus to split the callbacks > > passed to walk_page_range and walk_page_vma into a separate structure > > that can be marked const

Re: [PATCH v5 02/15] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2019-08-15 Thread Code Kipper
On Wed, 14 Aug 2019 at 13:08, Maxime Ripard wrote: > > Hi, > > On Wed, Aug 14, 2019 at 08:08:41AM +0200, codekip...@gmail.com wrote: > > From: Marcus Cooper > > > > Codecs without a control connection such as i2s based HDMI audio and > > the Pine64 DAC require a different amount of bit clocks per

I need your prompt response

2019-08-15 Thread Godwin Pete
My good friend, I just want to know if you, can help me, to transfer the amount of ($6Million). After the transfer we have to share it, 50% for me, and 50% for you. Please let me know if you can help me for more information regarding the transfer. I hope you can work with me honestly? Thanks.

[PATCH] dmaengine: ti: Fix a memory leak bug

2019-08-15 Thread Wenwen Wang
In ti_dra7_xbar_probe(), 'rsv_events' is allocated through kcalloc(). Then of_property_read_u32_array() is invoked to search for the property. However, if this process fails, 'rsv_events' is not deallocated, leading to a memory leak bug. To fix this issue, free 'rsv_events' before returning the err

Re: [PATCH v5 02/15] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2019-08-15 Thread Code Kipper
On Wed, 14 Aug 2019 at 11:30, Mark Brown wrote: > > On Wed, Aug 14, 2019 at 08:08:41AM +0200, codekip...@gmail.com wrote: > > From: Marcus Cooper > > > > Codecs without a control connection such as i2s based HDMI audio and > > the Pine64 DAC require a different amount of bit clocks per frame than

Re: [PATCHv6 30/36] selftest/timens: Add Time Namespace test for supported clocks

2019-08-15 Thread Andrei Vagin
On Thu, Aug 15, 2019 at 05:18:21PM -0600, shuah wrote: > Hi Dmitry, > > Thanks for the patch. > > On 8/15/19 10:38 AM, Dmitry Safonov wrote: > > A test to check that all supported clocks work on host and inside > > a new time namespace. Use both ways to get time: through VDSO and > > by entering

Re: [Intel-gfx] [PATCH 2/5] kernel.h: Add non_block_start/end()

2019-08-15 Thread Daniel Vetter
On Fri, Aug 16, 2019 at 3:00 AM Jason Gunthorpe wrote: > On Thu, Aug 15, 2019 at 10:49:31PM +0200, Daniel Vetter wrote: > > On Thu, Aug 15, 2019 at 10:27 PM Jason Gunthorpe wrote: > > > On Thu, Aug 15, 2019 at 10:16:43PM +0200, Daniel Vetter wrote: > > > > So if someone can explain to me how that

Re: [PATCH] iio: dac: ad5380: fix incorrect assignment to val

2019-08-15 Thread Ardelean, Alexandru
On Thu, 2019-08-15 at 12:58 +0100, Colin King wrote: > [External] > Reviewed-by: Alexandru Ardelean > From: Colin Ian King > > Currently the pointer val is being incorrectly incremented > instead of the value pointed to by val. Fix this by adding > in the missing * indirection operator. > >

Re: [PATCHv6 01/36] ns: Introduce Time Namespace

2019-08-15 Thread Andrei Vagin
On Thu, Aug 15, 2019 at 07:19:12PM +0200, Thomas Gleixner wrote: > Dmitry, > > On Thu, 15 Aug 2019, Dmitry Safonov wrote: > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 420567d1519a..97b7737f5aba 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -12898,6 +12898,8 @@ T: git > > git:

Re: [PATCH v4 11/14] net: phy: adin: implement Energy Detect Powerdown mode

2019-08-15 Thread Ardelean, Alexandru
On Wed, 2019-08-14 at 10:57 -0700, Florian Fainelli wrote: > [External] > > > > On 8/12/2019 4:23 AM, Alexandru Ardelean wrote: > > The ADIN PHYs support Energy Detect Powerdown mode, which puts the PHY into > > a low power mode when there is no signal on the wire (typically cable > > unplugged)

RE: [PATCH 1/3] bus: fsl-mc: remove explicit device_link_del

2019-08-15 Thread Laurentiu Tudor
Hi Leo, > -Original Message- > From: Li Yang > Sent: Friday, August 16, 2019 2:13 AM > To: Ioana Ciornei > Cc: Laurentiu Tudor ; Roy Pledge > ; lkml > Subject: Re: [PATCH 1/3] bus: fsl-mc: remove explicit device_link_del > Importance: High > > On Wed, Jul 3, 2019 at 9:58 AM Ioana Ciorn

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

2019-08-15 Thread Stephen Rothwell
Hi Andrii, On Thu, 15 Aug 2019 22:21:29 -0700 Andrii Nakryiko wrote: > > Thanks, Stephen! Looks good except one minor issue below. Thanks for checking. > > vmlinux_link() > > { > > + info LD ${2} > > This needs to be ${1}. At least its only an information message and doesn't affe

[PATCH 1/5] powerpc/mm: define empty update_mmu_cache() as static inline

2019-08-15 Thread Christophe Leroy
Only BOOK3S and FSL_BOOK3E have a usefull update_mmu_cache(). For the others, just define it static inline. In the meantime, simplify the FSL_BOOK3E related ifdef as book3e_hugetlb_preload() only exists when CONFIG_PPC_FSL_BOOK3E is selected. Signed-off-by: Christophe Leroy --- arch/powerpc/in

[PATCH 3/5] powerpc/mm: move update_mmu_cache() into book3s hash utils.

2019-08-15 Thread Christophe Leroy
update_mmu_cache() is only for BOOK3S, and can be simplified for BOOK3S32. Move it out of mem.c into respective BOOK3S32 and BOOK3S64 files containing hash utils. BOOK3S64 version of hash_preload() is only used locally, declare it static. Remove the radix_enabled() stuff in BOOK3S32 version. Si

[PATCH 4/5] powerpc/mm: Simplify update_mmu_cache() on BOOK3S32

2019-08-15 Thread Christophe Leroy
On BOOK3S32, hash_preload() neither use is_exec nor trap, so drop those parameters and simplify update_mmu_cached(). Signed-off-by: Christophe Leroy --- arch/powerpc/mm/book3s32/mmu.c | 29 +++-- arch/powerpc/mm/mmu_decl.h | 3 +-- arch/powerpc/mm/pgtable_32.c | 2

[PATCH 2/5] powerpc/mm: move FSL_BOOK3 version of update_mmu_cache()

2019-08-15 Thread Christophe Leroy
Move FSL_BOOK3E version of update_mmu_cache() at the same place as book3e_hugetlb_preload() as update_mmu_cache() is the only user of book3e_hugetlb_preload(). Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/hugetlb.h | 3 --- arch/powerpc/mm/mem.c |

[PATCH 5/5] powerpc/mm: ppc 603 doesn't need update_mmu_cache()

2019-08-15 Thread Christophe Leroy
On powerpc 603, there is no hash table so get out of update_mmu_cache() early. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/book3s32/mmu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/mm/book3s32/mmu.c b/arch/powerpc/mm/book3s32/mmu.c index 3a62bf99f93f..c20269be79ec

[PATCH V1 1/1] serial: 8250_pci: Add F81504A series Support

2019-08-15 Thread Ji-Ze Hong (Peter Hong)
Fintek F81504A/508A/512A is PCIE to 4/8/12 UARTs device. It's support IO/MMIO/PCIE conf to access all functions. The old F81504/508/512 is only support IO. Signed-off-by: Ji-Ze Hong (Peter Hong) --- drivers/tty/serial/8250/8250_pci.c | 121 + 1 file changed, 1

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

2019-08-15 Thread Andrii Nakryiko
On Thu, Aug 15, 2019 at 7:42 PM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > scripts/link-vmlinux.sh > > between commit: > > e167191e4a8a ("kbuild: Parameterize kallsyms generation and correct > reporting") > > from the kbuild tr

[PATCH] ASoC: imx-audmux: Add driver suspend and resume to support MEGA Fast

2019-08-15 Thread Shengjiu Wang
For i.MX6 SoloX, there is a mode of the SoC to shutdown all power source of modules during system suspend and resume procedure. Thus, AUDMUX needs to save all the values of registers before the system suspend and restore them after the system resume. Signed-off-by: Shengjiu Wang --- sound/soc/fs

Re: [PATCH net-next] r8152: divide the tx and rx bottom functions

2019-08-15 Thread David Miller
From: Hayes Wang Date: Fri, 16 Aug 2019 02:59:16 + > David Miller [mailto:da...@davemloft.net] >> Sent: Friday, August 16, 2019 4:59 AM > [...] >> Theoretically, yes. >> >> But do you have actual performance numbers showing this to be worth >> the change? >> >> Always provide performance nu

[PATCH] ACPI: custom_method: fix memory leaks

2019-08-15 Thread Wenwen Wang
In cm_write(), 'buf' is allocated through kzalloc(). In the following execution, if an error occurs, 'buf' is not deallocated, leading to memory leaks. To fix this issue, free 'buf' before returning the error. Signed-off-by: Wenwen Wang --- drivers/acpi/custom_method.c | 5 - 1 file changed,

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

2019-08-15 Thread Stephen Rothwell
Hi all, After merging the keys tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/md/dm-verity-verify-sig.c: In function 'verity_verify_get_sig_from_key': drivers/md/dm-verity-verify-sig.c:38:8: error: too few arguments to function 'request_key' key = request_key(&k

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

2019-08-15 Thread Michael Ellerman
Will Deacon writes: > On Tue, Aug 06, 2019 at 07:34:36PM -0700, Peter Collingbourne wrote: >> On Tue, Aug 6, 2019 at 4:50 PM Stephen Rothwell >> wrote: >> > After merging the arm64 tree, today's linux-next build (powerpc >> > ppc64_defconfig) was just spinning in make - it executing some scripts

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

2019-08-15 Thread Sam Ravnborg
Hi Stephen. On Fri, Aug 16, 2019 at 01:31:32PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > warning: same module names found: > drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl804

linux-next: manual merge of the keys tree with the fscrypt tree

2019-08-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the keys tree got a conflict in: fs/crypto/keyinfo.c between commit: feed82586191 ("fscrypt: rename keyinfo.c to keysetup.c") from the fscrypt tree and commit: f802f2b3a991 ("keys: Replace uid/gid/perm permissions checking with an ACL") from the keys

Re: [PATCH 2/2] dmaengine: milbeaut-hdmac: Add HDMAC driver for Milbeaut platforms

2019-08-15 Thread Vinod Koul
On 15-08-19, 21:25, Jassi Brar wrote: > On Mon, Jun 24, 2019 at 1:47 AM Vinod Koul wrote: > > > > On 12-06-19, 19:52, jassisinghb...@gmail.com wrote: > > > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#

[PATCH] ACPI / PCI: fix a memory leak bug

2019-08-15 Thread Wenwen Wang
In acpi_pci_irq_enable(), 'entry' is allocated by invoking acpi_pci_irq_lookup(). However, it is not deallocated if acpi_pci_irq_valid() returns false, leading to a memory leak. To fix this issue, free 'entry' before returning 0. Signed-off-by: Wenwen Wang --- drivers/acpi/pci_irq.c | 4 +++- 1

Re: [PATCH 2/2] clk: qcom: clk-rpmh: Add support for SM8150

2019-08-15 Thread Vinod Koul
On 14-08-19, 10:19, Stephen Boyd wrote: > Quoting Vinod Koul (2019-08-14 05:29:58) > > Add support for rpmh clocks found in SM8150 > > > > Signed-off-by: Vinod Koul > > --- > > Patch looks OK, but can you convert this driver to use the new parent > style and then update the binding to handle it?

Re: [PATCH v3 0/4] PCI: Clean up pci-sysfs.c

2019-08-15 Thread Don Dutile
On 08/15/2019 11:33 AM, Kelsey Skunberg wrote: This series is designed to clean up device attributes and permissions in pci-sysfs.c. Then move the sysfs SR-IOV functions from pci-sysfs.c to iov.c for better organization. Patch 1: Define device attributes with DEVICE_ATTR* instead of __ATTR*. Pa

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

2019-08-15 Thread Z.q. Hou
Hi Xiaowei, > -Original Message- > From: Xiaowei Bao > Sent: 2019年8月6日 14:16 > To: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; kis...@ti.com; > lorenzo.pieral...@arm.com; a...@arndb.de; gre...@linuxfoundation.org; > M.h. Lian ; Mingkai Hu

Linux Kernel 5.2.8 iwlwifi driver

2019-08-15 Thread Nathaniel Russell
I'm looking at my new dmesg log after logging out of my wifi and then reactivating it and I find this error in my dmesg logs. new Description: Binary data

Re: [PATCH v2] clk: Fix falling back to legacy parent string matching

2019-08-15 Thread Taniya Das
Hello Stephen, Thanks for the patch, I have tested it on the device. On 8/14/2019 3:11 AM, Stephen Boyd wrote: Calls to clk_core_get() will return ERR_PTR(-EINVAL) if we've started migrating a clk driver to use the DT based style of specifying parents but we haven't made any DT updates yet. Thi

[PATCH] airo: fix memory leaks

2019-08-15 Thread Wenwen Wang
In proc_BSSList_open(), 'file->private_data' is allocated through kzalloc() and 'data->rbuffer' is allocated through kmalloc(). In the following execution, if an error occurs, they are not deallocated, leading to memory leaks. To fix this issue, free the allocated memory regions before returning th

Re: [PATCH] kprobes: fix potential deadlock in kprobe_optimizer()

2019-08-15 Thread Masami Hiramatsu
Hi Andrea, Thank you for reporting this bug. On Mon, 12 Aug 2019 20:43:02 +0200 Andrea Righi wrote: > lockdep reports the following: > > WARNING: possible circular locking dependency detected > > kworker/1:1/48 is trying to acquire lock: > 8d7a62b2 (text_mutex){+.+.}, at: kprobe_op

[PATCH] vfio_pci: Replace pci_try_reset_function() with __pci_reset_function_locked() to ensure that the pci device configuration space is restored to its original state

2019-08-15 Thread hexin
In vfio_pci_enable(), save the device's initial configuration information and then restore the configuration in vfio_pci_disable(). However, the execution result is not the same. Since the pci_try_reset_function() function saves the current state before resetting, the configuration information rest

[GIT PULL] Hisilicon fixes for v5.3

2019-08-15 Thread Wei Xu
Hi ARM-SoC team, Please consider to pull the following fixes. Thanks! Best Regards, Wei --- 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://github.com/hisilicon/linux-his

Re: [PATCH 2/3] x86: cpu: Add new Intel Atom CPU type

2019-08-15 Thread Tanwar, Rahul
Hi Boris, Well noted, will have Tony in loop from now on. Thanks. Regards, Rahul On 15/8/2019 8:22 PM, Borislav Petkov wrote: On Thu, Aug 15, 2019 at 05:46:46PM +0800, Rahul Tanwar wrote: This patch adds a new variant of Intel Atom Airmont CPU model used in a network processor SoC named Li

Re: [PATCH 1/3] x86: cpu: Use constant definitions for CPU type

2019-08-15 Thread Tanwar, Rahul
Hi Thomas, Thanks for your comments. On 15/8/2019 6:31 PM, Thomas Gleixner wrote: Rahul, On Thu, 15 Aug 2019, Rahul Tanwar wrote: Please use the proper prefix for your patches. x86 uses x86/subsystem: not x86: subsystem: Well noted. This patch replaces direct values usage with cons

Re: Linux Kernel 5.2.8 (uvc or i915? <<<)

2019-08-15 Thread Randy Dunlap
[adding mailing lists etc. with Nathaniel's test info] On 8/15/19 7:21 PM, Nathaniel Russell wrote: > Well i surpressed the uvcvideo driver and you are right Randy it > definitely is not the uvcvideo driver. There is something going on in > the i915 driver. > > > On 8/15/19, Randy Dunlap wrote

Re: [PATCH v9 0/7] Solve postboot supplier cleanup and optimize probe ordering

2019-08-15 Thread Frank Rowand
Hi Saravana, On 8/15/19 6:50 PM, Saravana Kannan wrote: > On Fri, Aug 9, 2019 at 10:20 PM Frank Rowand wrote: >> >> On 8/9/19 10:00 PM, Saravana Kannan wrote: >>> On Fri, Aug 9, 2019 at 7:57 PM Frank Rowand wrote: Hi Saravana, On 7/31/19 3:17 PM, Saravana Kannan wrote: >

RE: [PATCH 05/10] PCI: layerscape: Modify the way of getting capability with different PEX

2019-08-15 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年8月15日 20:51 > To: Xiaowei Bao > Cc: jingooh...@gmail.com; gustavo.pimen...@synopsys.com; > bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; kis...@ti.com; > lorenzo.pieral...@arm.com; a

RE: [PATCH net-next] r8152: divide the tx and rx bottom functions

2019-08-15 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Friday, August 16, 2019 4:59 AM [...] > Theoretically, yes. > > But do you have actual performance numbers showing this to be worth > the change? > > Always provide performance numbers with changes that are supposed to > improve performance. On x

[PATCH v2 -rcu dev 2/3] rcu/tree: Fix issue where sometimes rcu_urgent_qs is not set on IPI

2019-08-15 Thread Joel Fernandes (Google)
Sometimes I see rcu_urgent_qs is not set. This could be when the last IPI was a long time ago, however, the grace period just started. Set rcu_urgent_qs so the tick can indeed not be stopped. Signed-off-by: Joel Fernandes (Google) --- kernel/rcu/tree.c | 1 + 1 file changed, 1 insertion(+) diff

RE: [PATCH 02/10] PCI: designware-ep: Add the doorbell mode of MSI-X in EP mode

2019-08-15 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年8月15日 19:54 > To: Xiaowei Bao > Cc: jingooh...@gmail.com; gustavo.pimen...@synopsys.com; > bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; kis...@ti.com; > lorenzo.pieral...@arm.com; a

RE: [PATCH 01/10] PCI: designware-ep: Add multiple PFs support for DWC

2019-08-15 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年8月15日 19:32 > To: Xiaowei Bao > Cc: jingooh...@gmail.com; gustavo.pimen...@synopsys.com; > bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; kis...@ti.com; > lorenzo.pieral...@arm.com; a

Re: [PATCH -rcu dev 2/3] rcu/tree: Fix issue where sometimes rcu_urgent_qs is not set on IPI

2019-08-15 Thread Joel Fernandes
On Thu, Aug 15, 2019 at 10:53:10PM -0400, Joel Fernandes (Google) wrote: > Sometimes I see rcu_urgent_qs is not set. This could be when the last > IPI was a long time ago, however, the grace period just started. Set > rcu_urgent_qs so the tick can indeed be stopped. Here I meant:

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

2019-08-15 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,

[PATCH -rcu dev 2/3] rcu/tree: Fix issue where sometimes rcu_urgent_qs is not set on IPI

2019-08-15 Thread Joel Fernandes (Google)
Sometimes I see rcu_urgent_qs is not set. This could be when the last IPI was a long time ago, however, the grace period just started. Set rcu_urgent_qs so the tick can indeed be stopped. Signed-off-by: Joel Fernandes (Google) --- kernel/rcu/tree.c | 1 + 1 file changed, 1 insertion(+) diff --g

[PATCH -rcu dev 3/3] RFC: rcu/tree: Read dynticks_nmi_nesting in advance

2019-08-15 Thread Joel Fernandes (Google)
I really cannot explain this patch, but without it, the "else if" block just doesn't execute thus causing the tick's dep mask to not be set and causes the tick to be turned off. I tried various _ONCE() macros but the only thing that works is this patch. Signed-off-by: Joel Fernandes (Google) ---

[PATCH -rcu dev 1/3] rcu/tree: tick_dep_set/clear_cpu should accept bits instead of masks

2019-08-15 Thread Joel Fernandes (Google)
This commit fixes the issue. Signed-off-by: Joel Fernandes (Google) --- kernel/rcu/tree.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 0512de9ead20..322b1b57967c 100644 --- a/kernel/rcu/tree.c +++

Re: [PATCH 4/4] clk: qcom: Remove error prints from DFS registration

2019-08-15 Thread Taniya Das
On 8/15/2019 9:30 PM, Stephen Boyd wrote: These aren't useful and they reference the init structure name. Let's just drop them. Cc: Taniya Das Signed-off-by: Stephen Boyd --- Acked-by: Taniya Das -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Auror

Re: [PATCH v2] fs: fs_parser: avoid NULL param->string to kstrtouint

2019-08-15 Thread Eric Biggers
On Sat, Jul 20, 2019 at 07:29:49AM +0800, Yin Fengwei wrote: > syzbot reported general protection fault in kstrtouint: > https://lkml.org/lkml/2019/7/18/328 > > From the log, if the mount option is something like: >fd, > > The default parameter (which has NULL param->strin

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Baolin Wang
On Thu, 15 Aug 2019 at 20:25, Uwe Kleine-König wrote: > > On Thu, Aug 15, 2019 at 07:05:53PM +0800, Baolin Wang wrote: > > On Thu, 15 Aug 2019 at 18:11, Uwe Kleine-König > > wrote: > > > > > > Hello, > > > > > > On Thu, Aug 15, 2019 at 05:34:02PM +0800, Baolin Wang wrote: > > > > On Thu, 15 Aug 2

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

2019-08-15 Thread Stephen Rothwell
Hi Alex, On Thu, 15 Aug 2019 21:52:19 -0400 Alex Deucher wrote: > > Yes, sorry, just pushed out now. Excellent, thanks. -- Cheers, Stephen Rothwell pgpO8j1uoiXrU.pgp Description: OpenPGP digital signature

[rcu:dev.2019.08.13a 35/60] ERROR: "tick_nohz_full_running" [kernel/rcu/rcutorture.ko] undefined!

2019-08-15 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.08.13a head: 6526f1dba87b58de082c55f69fea5632213ebb65 commit: 6a534fc062a9e2e879021b2b038438eb8a479ac6 [35/60] rcutorture: Force on tick for readers and callback flooders config: x86_64-rhel (attach

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

2019-08-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: scripts/link-vmlinux.sh between commit: e167191e4a8a ("kbuild: Parameterize kallsyms generation and correct reporting") from the kbuild tree and commits: 341dfcf8d78e ("btf: expose BTF info through sysfs") 7fd78

RE: rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-15 Thread Biwen Li
> > > > Subject: rtc: pcf85363/pcf85263: fix error that failed to run > > > > hwclock -w > > > > > > > > Issue: > > > > # hwclock -w > > > > hwclock: RTC_SET_TIME: Invalid argument > > > > > > > > The patch fixes error when run command hwclock -w with rtc > > > > pcf85363/pcf85263 > > > > >

Re: [PATCH 4.14 00/69] 4.14.139-stable review

2019-08-15 Thread shuah
On 8/14/19 11:00 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.139 release. There are 69 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. Responses should be mad

[PATCH v5 4/6] drm/i915/gvt: Deliver vGPU refresh event to userspace

2019-08-15 Thread Tina Zhang
Deliver the display refresh events to the user land. Userspace can use the irq mask/unmask mechanism to disable or enable the event delivery. As we know, delivering refresh event at each vblank safely avoids tearing and unexpected event overwhelming, but there are still spaces to optimize. For ha

[PATCH v5 3/6] drm/i915/gvt: Register vGPU display event irq

2019-08-15 Thread Tina Zhang
Gvt-g emulates and injects the vGPU's display interrupts in kernel space. However the dma-buf based framebuffer consumer in the user land (e.g. Qemu vfio/display) may also need to be notified by this event. Register the display irq as VFIO_IRQ_SUBTYPE_GFX_DISPLAY_IRQ to each vGPU, so that the disp

[PATCH v5 1/6] vfio: Define device specific irq type capability

2019-08-15 Thread Tina Zhang
Cap the number of irqs with fixed indexes and use capability chains to chain device specific irqs. Signed-off-by: Tina Zhang Signed-off-by: Eric Auger --- include/uapi/linux/vfio.h | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/vfio.h

  1   2   3   4   5   6   7   8   9   >