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

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: [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?

[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] 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 > > > +#

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: 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

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

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

[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,

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] 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: 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 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

[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 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 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 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

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

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: [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: [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] 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 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 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

[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

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.

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

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

[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: [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_

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: [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: [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 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 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

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 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?

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] 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 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 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] 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 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] 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 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 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 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

[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 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] 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 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

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

[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

[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 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

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

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

[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

<    4   5   6   7   8   9