Re: [PATCH v3 1/5] net: macb: add phylink support

2019-06-21 Thread Russell King - ARM Linux admin
On Fri, Jun 21, 2019 at 09:34:44AM +0100, Parshuram Thombare wrote: > @@ -438,115 +439,145 @@ static void macb_set_tx_clk(struct clk *clk, int > speed, struct net_device *dev) > netdev_err(dev, "adjusting tx_clk failed.\n"); > } > > -static void macb_handle_link_change(struct

Re: linux-next: unexpected file in the usb tree

2019-06-21 Thread Greg KH
On Fri, Jun 21, 2019 at 09:24:23PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Commit > > ecefae6db042 ("docs: usb: rename files to .rst and add them to drivers-api") > > added this unexpected file: > > Documentation/index.rst.rej Ugh, that's what I get for having to manually apply a

Re: [PATCH 2/3] Emulate simple x86 instructions in userspace

2019-06-21 Thread Alexander Graf
On 12.06.19 17:19, samc...@amazon.com wrote: On 5/31/19 10:38 AM, Alexander Graf wrote: On 21.05.19 17:39, Sam Caccavale wrote: +static void dump_state_after(const char *desc, struct state *state) +{ +    debug(" -- State after %s --\n", desc); +    debug("mode: %s\n",

Re: [PATCH 02/25] vfs: Allow fsinfo() to query what's in an fs_context [ver #13]

2019-06-21 Thread Christian Brauner
On Fri, Jun 21, 2019 at 03:16:04PM +0200, Christian Brauner wrote: > On June 21, 2019 3:12:43 PM GMT+02:00, David Howells > wrote: > >Christian Brauner wrote: > > > >> > static int vfs_fsinfo_fd(unsigned int fd, struct fsinfo_kparams > >*params) > >> > { > >> > struct fd f =

Re: [PATCH 0/5] BT scheduling class

2019-06-21 Thread Valentin Schneider
On 21/06/2019 14:03, Peter Zijlstra wrote: > On Fri, Jun 21, 2019 at 03:45:52PM +0800, xiaoggc...@tencent.com wrote: > >> First only server application exists in the system and the success >> rate is 99.998% and the average cpu use is only 25%. > > Have you guys looked at this series: > >

RE: [LINUX PATCH v16] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2019-06-21 Thread Naga Sureshkumar Relli
Hi Helmut, > -Original Message- > From: Helmut Grohne > Sent: Friday, June 21, 2019 2:12 PM > To: Naga Sureshkumar Relli > Cc: miquel.ray...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com; vigne...@ti.com; linux- >

[PATCH 3/6] cpufreq/drivers/arm_big_little: Remove cooling device usage

2019-06-21 Thread Daniel Lezcano
The cpufreq_cooling_unregister() function uses now the policy to unregister itself. The only purpose of the cooling device pointer is to unregister the cpu cooling device. As there is no more need of this pointer, remove it. Signed-off-by: Daniel Lezcano --- drivers/cpufreq/arm_big_little.c |

[PATCH 5/6] thermal/drivers/imx: Remove cooling device usage

2019-06-21 Thread Daniel Lezcano
The cpufreq_cooling_unregister() function uses now the policy to unregister itself. The only purpose of the cooling device pointer is to unregister the cpu cooling device. As there is no more need of this pointer, remove it. Signed-off-by: Daniel Lezcano --- drivers/thermal/imx_thermal.c | 8

[PATCH 4/6] cpufreq: Remove cooling device usage

2019-06-21 Thread Daniel Lezcano
The cpufreq_cooling_unregister() function uses now the policy to unregister itself. The only purpose of the cooling device pointer is to unregister the cpu cooling device. As there is no more need of this pointer, remove it. Signed-off-by: Daniel Lezcano --- drivers/cpufreq/cpufreq.c | 6

[PATCH 6/6] thermal/drivers/ti: Remove cooling device usage

2019-06-21 Thread Daniel Lezcano
The cpufreq_cooling_unregister() function uses now the policy to unregister itself. The only purpose of the cooling device pointer is to unregister the cpu cooling device. As there is no more need of this pointer, remove it. Signed-off-by: Daniel Lezcano ---

[PATCH 2/6] thermal/drivers/cpu_cooling: Unregister with the policy

2019-06-21 Thread Daniel Lezcano
Currently the function cpufreq_cooling_register() returns a cooling device pointer which is used back as a pointer to call the function cpufreq_cooling_unregister(). Even if it is correct, it would make sense to not leak the structure inside a cpufreq driver and keep the code thermal code

[PATCH 1/6] cpufreq: Use existing stub functions instead of IS_ENABLED macro

2019-06-21 Thread Daniel Lezcano
The functions stub already exist for the condition the IS_ENABLED is trying to avoid. Remove the IS_ENABLED macros as they are pointless. Signed-off-by: Daniel Lezcano --- drivers/cpufreq/cpufreq.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] [media] media: mtk-mdp: fix reference count on old device tree

2019-06-21 Thread Greg KH
On Fri, Jun 21, 2019 at 01:32:50PM +0200, Matthias Brugger wrote: > of_get_next_child() increments the reference count of the returning > device_node. Decrement it in the check if we are using the old or the > new DTB. > > Fixes: ba1f1f70c2c0 ("[media] media: mtk-mdp: Fix mdp device tree") >

Re: [RFC 0/5] livepatch: new API to track system state changes

2019-06-21 Thread Joe Lawrence
On Tue, Jun 11, 2019 at 03:56:22PM +0200, Petr Mladek wrote: > Hi, > > this is another piece in the puzzle that helps to maintain more > livepatches. > > Especially pre/post (un)patch callbacks might change a system state. > Any newly installed livepatch has to somehow deal with system state >

Re: [PATCH -next v2] mm/hotplug: fix a null-ptr-deref during NUMA boot

2019-06-21 Thread Qian Cai
Sigh... I don't see any benefit to keep the broken commit, "x86, numa: always initialize all possible nodes" for so long in linux-next that just prevent x86 NUMA machines with any memory- less node from booting. Andrew, maybe it is time to drop this patch until Michal found some time to fix it

Re: [PATCH v4 5/5] uprobe: collapse THP pmd after removing all uprobes

2019-06-21 Thread Song Liu
> On Jun 21, 2019, at 5:48 AM, Kirill A. Shutemov wrote: > > On Thu, Jun 13, 2019 at 10:57:47AM -0700, Song Liu wrote: >> After all uprobes are removed from the huge page (with PTE pgtable), it >> is possible to collapse the pmd and benefit from THP again. This patch >> does the collapse. >>

Re: [PATCH v3 3/5] net: macb: add support for c45 PHY

2019-06-21 Thread Andrew Lunn
On Fri, Jun 21, 2019 at 09:34:59AM +0100, Parshuram Thombare wrote: > This patch modify MDIO read/write functions to support > communication with C45 PHY. > > Signed-off-by: Parshuram Thombare Reviewed-by: Andrew Lunn Andrew

Re: [patch 0/5] *** DMA based UART driver for AST2500 ***

2019-06-21 Thread Greg KH
On Fri, Jun 21, 2019 at 04:47:30PM +0530, sudheer.v wrote: > From: sudheer veliseti > > Hi, > AST2500 has dedicated Uart DMA controller which has 12 sets of > Tx and RX channels connected to UART controller directly. > Since the DMA controller have dedicated buffers and registers, > there would

Re: [PATCH v3 0/5] net: macb: cover letter

2019-06-21 Thread Andrew Lunn
On Fri, Jun 21, 2019 at 09:33:57AM +0100, Parshuram Thombare wrote: > Hello ! > > 2. 0002-net-macb-add-support-for-sgmii-MAC-PHY-interface.patch >This patch add support for SGMII mode. Hi Parshuram What PHYs are using to test this? You mention TI PHY DP83867, but that seems to be a plain

Re: [PATCH 01/16] mm: use untagged_addr() for get_user_pages_fast addresses

2019-06-21 Thread Jason Gunthorpe
On Tue, Jun 11, 2019 at 04:40:47PM +0200, Christoph Hellwig wrote: > This will allow sparc64 to override its ADI tags for > get_user_pages and get_user_pages_fast. > > Signed-off-by: Christoph Hellwig > --- > mm/gup.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by:

Re: [PATCH 02/25] vfs: Allow fsinfo() to query what's in an fs_context [ver #13]

2019-06-21 Thread Christian Brauner
On June 21, 2019 3:12:43 PM GMT+02:00, David Howells wrote: >Christian Brauner wrote: > >> > static int vfs_fsinfo_fd(unsigned int fd, struct fsinfo_kparams >*params) >> > { >> >struct fd f = fdget_raw(fd); >> >> You're using fdget_raw() which means you want to allow O_PATH fds but >>

Re: [PATCH 02/25] vfs: Allow fsinfo() to query what's in an fs_context [ver #13]

2019-06-21 Thread David Howells
Christian Brauner wrote: > > static int vfs_fsinfo_fd(unsigned int fd, struct fsinfo_kparams *params) > > { > > struct fd f = fdget_raw(fd); > > You're using fdget_raw() which means you want to allow O_PATH fds but > below you're checking whether the f_ops correspond to > fscontext_fops.

Re: [PATCH v5 6/6] mm,thp: avoid writes to file with THP in pagecache

2019-06-21 Thread Song Liu
> On Jun 21, 2019, at 6:07 AM, Kirill A. Shutemov wrote: > > On Thu, Jun 20, 2019 at 01:53:48PM -0700, Song Liu wrote: >> In previous patch, an application could put part of its text section in >> THP via madvise(). These THPs will be protected from writes when the >> application is still

Re: [PATCH 4/4] rts5208: Fix usleep range is preferred over udelay

2019-06-21 Thread Lukas Schneider
Am 21.06.2019 um 13:04 schrieb Pavel Machek: On Wed 2019-06-19 17:46:48, Lukas Schneider wrote: This patch fixes the issue reported by checkpatch: CHECK: usleep_range is preferred over udelay; see Doucmentation/timers/timers-howto.txt It's save to sleep here instead of using busy waiting,

Re: [PATCH v5 6/6] mm,thp: avoid writes to file with THP in pagecache

2019-06-21 Thread Kirill A. Shutemov
On Thu, Jun 20, 2019 at 01:53:48PM -0700, Song Liu wrote: > In previous patch, an application could put part of its text section in > THP via madvise(). These THPs will be protected from writes when the > application is still running (TXTBSY). However, after the application > exits, the file is

[PATCH 4/4] dm: add zone open, close and finish support

2019-06-21 Thread Matias Bjørling
From: Ajay Joshi Implement REQ_OP_ZONE_OPEN, REQ_OP_ZONE_CLOSE and REQ_OP_ZONE_FINISH support to allow explicit control of zone states. Signed-off-by: Ajay Joshi --- drivers/md/dm-flakey.c| 7 +++ drivers/md/dm-linear.c| 2 +- drivers/md/dm.c | 5 +++--

Re: [PATCH 0/5] BT scheduling class

2019-06-21 Thread Peter Zijlstra
On Fri, Jun 21, 2019 at 03:45:52PM +0800, xiaoggc...@tencent.com wrote: > First only server application exists in the system and the success > rate is 99.998% and the average cpu use is only 25%. Have you guys looked at this series:

[PATCH v1] mfd: intel-lpss: Add Intel Elkhart Lake PCH PCI IDs

2019-06-21 Thread Andy Shevchenko
Intel Elkhart Lake has the same LPSS than Intel Broxton. Add the new IDs to the list of supported devices. Signed-off-by: Andy Shevchenko --- drivers/mfd/intel-lpss-pci.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/mfd/intel-lpss-pci.c

memory leak in llc_ui_create (2)

2019-06-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14cc10b1a0 kernel config: https://syzkaller.appspot.com/x/.config?x=56f1da14935c3cce

KASAN: use-after-free Write in validate_chain

2019-06-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=128b8be6a0 kernel config: https://syzkaller.appspot.com/x/.config?x=28ec3437a5394ee0

BUG: unable to handle kernel paging request in cpuacct_account_field

2019-06-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=164d94f6a0 kernel config: https://syzkaller.appspot.com/x/.config?x=e5c77f8090a3b96b

WARNING in is_bpf_text_address

2019-06-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15336041a0 kernel config: https://syzkaller.appspot.com/x/.config?x=28ec3437a5394ee0

[PATCH v1] mfd: intel-lpss: release ida resources

2019-06-21 Thread Andy Shevchenko
ida instances allocate some internal memory for ->free_bitmap in addition to the base 'struct ida'. Use ida_destroy() to release that memory at module_exit(). Fixes: 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSS devices") Signed-off-by: Andy Shevchenko --- drivers/mfd/intel-lpss.c

Re: [PATCH -next] slub: play init_on_free=1 well with SLAB_RED_ZONE

2019-06-21 Thread Qian Cai
On Thu, 2019-06-20 at 18:19 -0700, Kees Cook wrote: > On Thu, Jun 20, 2019 at 06:14:33PM -0700, Kees Cook wrote: > > On Thu, Jun 20, 2019 at 03:28:01PM -0400, Qian Cai wrote: > > > diff --git a/mm/slub.c b/mm/slub.c > > > index a384228ff6d3..787971d4fa36 100644 > > > --- a/mm/slub.c > > > +++

Re: [PATCH V6 3/3] arm64/mm: Enable memory hot remove

2019-06-21 Thread Anshuman Khandual
On 06/19/2019 09:47 AM, Anshuman Khandual wrote: > +#ifdef CONFIG_MEMORY_HOTPLUG > + /* > + * FIXME: We should have called remove_pagetable(start, end, true). > + * vmemmap and vmalloc virtual range might share intermediate kernel > + * page table entries. Removing vmemmap

Re: [PATCH v4 5/5] uprobe: collapse THP pmd after removing all uprobes

2019-06-21 Thread Kirill A. Shutemov
On Thu, Jun 13, 2019 at 10:57:47AM -0700, Song Liu wrote: > After all uprobes are removed from the huge page (with PTE pgtable), it > is possible to collapse the pmd and benefit from THP again. This patch > does the collapse. > > An issue on earlier version was discovered by kbuild test robot. >

[PATCH V2 4/4] dt-bindings: iio: adc: Convert ad7124 documentation to YAML

2019-06-21 Thread Mircea Caprioru
Convert AD7124 bindings documentation to YAML format. Signed-off-by: Mircea Caprioru --- Changelog v2: - modified SPDX license to GPL-2.0 OR BSD-2-Clause - added regex for a range from 0 to 15 - added minimum and maximum constraints for reg property - set type and range of values for

Re: [PATCH v4 3/5] mm, thp: introduce FOLL_SPLIT_PMD

2019-06-21 Thread Kirill A. Shutemov
On Thu, Jun 13, 2019 at 10:57:45AM -0700, Song Liu wrote: > @@ -419,6 +419,11 @@ static struct page *follow_pmd_mask(struct > vm_area_struct *vma, > put_page(page); > if (pmd_none(*pmd)) > return no_page_table(vma, flags);

[PATCH V2 1/4] iio: adc: ad7124: Remove input number limitation

2019-06-21 Thread Mircea Caprioru
The driver limits the user to use only 4/8 differential inputs, but this device has the option to use pseudo-differential channels. This will increase the number of channels to be equal with the number of inputs so 8 channels for ad7124-4 and 16 for ad7124-8. This patch removes the check between

[PATCH V2 3/4] iio: adc: ad7124: Shift to dynamic allocation for channel configuration

2019-06-21 Thread Mircea Caprioru
This patch changes the channel configuration member of the device structure from a fixed size array to a dynamic allocated one with a size equal to the number of channels specified in the device tree. This will ensure a more flexibility for compatible devices. Ex. ad7124-4 - can have 4

Re: [PATCH 0/5] BT scheduling class

2019-06-21 Thread Peter Zijlstra
On Fri, Jun 21, 2019 at 03:45:52PM +0800, xiaoggc...@tencent.com wrote: > From: chen xiaoguang > > This patch set introduces a new scheduler, we name it BT scheduler > for the moment. > The BT scheduler is similar with the CFS scheduler. We also use the > rb-tree as the run queue to save the

Re: [PATCH modules v2 0/2] Fix handling of exit unwinding sections (on ARM)

2019-06-21 Thread Matthias Schiffer
On Fri, 2019-06-07 at 12:49 +0200, Matthias Schiffer wrote: > For some time (050d18d1c651 "ARM: 8650/1: module: handle negative > R_ARM_PREL31 addends correctly", v4.11+), building a kernel without > CONFIG_MODULE_UNLOAD would lead to module loads failing on ARM > systems with > certain memory

[PATCH V2 2/4] iio: adc: ad7124: Add buffered input support

2019-06-21 Thread Mircea Caprioru
This patch adds the option to enable the buffered mode for positive and negative inputs. Each option can be enabled independently. In buffered mode, the input channel feeds into a high impedance input stage of the buffer amplifier. Therefore, the input can tolerate significant source impedances

Re: [PATCH] time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint

2019-06-21 Thread Peter Zijlstra
On Fri, Jun 21, 2019 at 05:16:30AM -0700, Paul E. McKenney wrote: > A pair of full hangs at boot (TASKS03 and TREE04), no console output > whatsoever. Not sure how these changes could cause that, but suspicion > falls on sched_tick_offload_init(). Though even that is a bit strange > because if

Re: [PATCH -next v2] mm/page_alloc: fix a false memory corruption

2019-06-21 Thread Qian Cai
On Fri, 2019-06-21 at 12:39 +0200, Alexander Potapenko wrote: > On Fri, Jun 21, 2019 at 3:01 AM Kees Cook wrote: > > > > On Thu, Jun 20, 2019 at 04:46:06PM -0400, Qian Cai wrote: > > > The linux-next commit "mm: security: introduce init_on_alloc=1 and > > > init_on_free=1 boot options" [1]

Re: [PATCH] mips: Remove q-accessors from non-64bit platforms

2019-06-21 Thread Maciej W. Rozycki
On Fri, 21 Jun 2019, Arnd Bergmann wrote: > > > The other property of packet memory and similar things is that you > > > basically want memcpy()-behavior with no byteswaps. This is one > > > of the few cases in which __raw_readq() is actually the right accessor > > > in (mostly) portable code. >

Re: [PATCH v6 4/7] i2c: core: Make i2c_acpi_get_irq available to the rest of the I2C core

2019-06-21 Thread Andy Shevchenko
On Fri, Jun 21, 2019 at 11:08:12AM +0100, Charles Keepax wrote: > In preparation for more refactoring make i2c_acpi_get_irq available > outside i2c-core-acpi.c. > > Signed-off-by: Charles Keepax > --- > > Changes since v5: > - Pass a struct device rather than acpi_device to i2c_acpi_get_irq, >

[PATCH] scsi: ufshdc-pci: Add Intel PCI Ids for EHL

2019-06-21 Thread Adrian Hunter
Add more Intel PCI Ids. Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufshcd-pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/ufs/ufshcd-pci.c b/drivers/scsi/ufs/ufshcd-pci.c index ffe6f82182ba..3b19de3ae9a3 100644 --- a/drivers/scsi/ufs/ufshcd-pci.c +++

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-06-21 Thread Andrea Parri
> > FWIW (and as anticipated time ago in a private email), when I see code > > like this I tend to look elsewhere... ;-/ > > Do you really mean "code" or are you just referring to "code comments"? > If you really mean code, then I'd appreciate some feedback about what > should change. I really

Re: [PATCH] time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint

2019-06-21 Thread Paul E. McKenney
On Fri, Jun 21, 2019 at 12:55:03PM +0200, Peter Zijlstra wrote: > On Thu, Jun 20, 2019 at 03:13:36PM -0700, Paul E. McKenney wrote: > > So how about the following patch, which passes very light rcutorture > > testing but should otherwise be regarded as being under suspicion? > > Looks good to me,

Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-21 Thread Peter Zijlstra
On Fri, Jun 21, 2019 at 02:09:23PM +0200, Peter Zijlstra wrote: > --- /dev/null > +++ b/arch/x86/include/asm/jump_label_asm.h > @@ -0,0 +1,44 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef _ASM_X86_JUMP_LABEL_ASM_H > +#define _ASM_X86_JUMP_LABEL_ASM_H > + > +#include > +#include > + >

Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-21 Thread Peter Zijlstra
On Thu, Jun 20, 2019 at 11:22:56PM +0200, Peter Zijlstra wrote: > On Thu, Jun 20, 2019 at 11:48:17AM -0700, Vineet Gupta wrote: > > I do worry about the occasional alignment induced extra NOP_S instruction > > (2 byte) > > but there doesn't seem to be an easy solution. Heck if we could use the

Re: [PATCH] mm: fix setting the high and low watermarks

2019-06-21 Thread Vlastimil Babka
On 6/21/19 1:43 PM, Alan Jenkins wrote: > When setting the low and high watermarks we use min_wmark_pages(zone). > I guess this is to reduce the line length. But we forgot that this macro > includes zone->watermark_boost. We need to reset zone->watermark_boost > first. Otherwise the watermarks

Re: [ANNOUNCE] New release rt-tests-1.4

2019-06-21 Thread John Kacur
On Fri, 21 Jun 2019, David Runge wrote: > Hi! > > On 2019-06-20 15:26:30 (+0200), John Kacur wrote: > > We haven't had a release in a while as people were content to work > > from git. However, in order to make it easier to use, test, and put > > into distributions, now would be a good time

Re: [PATCH] gpio: Fix return value mismatch of function gpiod_get_from_of_node()

2019-06-21 Thread Mark Brown
On Wed, Jun 19, 2019 at 09:54:48AM +, Waibel Georg wrote: > In case the requested gpio property is not found in the device tree, some > callers of gpiod_get_from_of_node() expect a return value of NULL, others > expect -ENOENT. > In particular devm_fwnode_get_index_gpiod_from_child() expects

Re: [PATCH] watchdog: convert remaining drivers to use SPDX license identifier

2019-06-21 Thread Matthias Brugger
On 20/06/2019 18:28, Guenter Roeck wrote: > This gets rid of the unnecessary license boilerplate, and avoids > having to deal with individual patches one by one. > > No functional changes. > > Signed-off-by: Guenter Roeck > --- > Note: Several drivers include a paragraph such as > >

[PATCH v4 0/2] power: supply: max8998-charger: Device Tree support

2019-06-21 Thread Paweł Chmiel
This patch series compose of 2 patches. First patch, updates max8998 charger driver, so it's possible to parse devicetree for configuration. Second patch, updates max8998 documentation, so it includes new node and properties, needed for charger. Patches has been tested on, Samsung Galaxy S

[PATCH v4 1/2] power: supply: max8998-charger: Parse device tree for required data.

2019-06-21 Thread Paweł Chmiel
This patch adds missing code for reading charger configuration from devicetree. Signed-off-by: Paweł Chmiel --- Changes from v3: - Property prefix should be maxim, not max8998 - Changed property name to more meaning full Changes from v2: - Make restart level and charge timeout properties

[PATCH v4 2/2] dt-bindings: mfd: max8998: Add charger subnode binding

2019-06-21 Thread Paweł Chmiel
This patch adds devicetree bindings documentation for battery charging controller as the subnode of MAX8998 PMIC. Signed-off-by: Paweł Chmiel --- Changes from v3: - Property prefix should be maxim, not max8998 - Describe what End of Charge in percent means Changes from v2: - Make

Re: [RFC 5/5] livepatch: Selftests of the API for tracking system state changes

2019-06-21 Thread Miroslav Benes
> diff --git a/lib/livepatch/test_klp_state.c b/lib/livepatch/test_klp_state.c > new file mode 100644 > index ..c43dc2f2e01d > --- /dev/null > +++ b/lib/livepatch/test_klp_state.c > @@ -0,0 +1,161 @@ > +// SPDX-License-Identifier: GPL-2.0 > +// Copyright (C) 2019 SUSE > + > +#define

Re: Next 20190620: fails to compile in netfilter on x86-32

2019-06-21 Thread Stephen Rothwell
errors > scripts/Makefile.build:278: recipe for target > 'net/netfilter/core.o' failed > make[2]: *** [net/netfilter/core.o] Error 1 > scripts/Makefile.build:498: recipe for target 'net/netfilter' failed > make[1]: *** [net/netfilter] Error 2 > > Is it

[PATCH] mm: fix setting the high and low watermarks

2019-06-21 Thread Alan Jenkins
When setting the low and high watermarks we use min_wmark_pages(zone). I guess this is to reduce the line length. But we forgot that this macro includes zone->watermark_boost. We need to reset zone->watermark_boost first. Otherwise the watermarks will be set inconsistently. E.g. this could

linux-next: Fixes tags need some work in the arm64 tree

2019-06-21 Thread Stephen Rothwell
Hi all, In commit 86fc32fee888 ("arm64: Fix incorrect irqflag restore for priority masking") Fixes tag Fixes: commit 4a503217ce37 ("arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking") has these problem(s): - leading word 'commit' unexpected In commit 1500e8ca63f4 ("arm64: Fix

Re: [PATCH] mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind

2019-06-21 Thread Vlastimil Babka
On 6/20/19 6:08 PM, Yang Shi wrote: > > > On 6/20/19 12:18 AM, Vlastimil Babka wrote: >> On 6/19/19 8:19 PM, Yang Shi wrote: >> This is getting even more muddy TBH. Is there any reason that we >> have to >> handle this problem during the isolation phase rather the migration? > I

[PATCH] [media] media: mtk-mdp: fix reference count on old device tree

2019-06-21 Thread Matthias Brugger
of_get_next_child() increments the reference count of the returning device_node. Decrement it in the check if we are using the old or the new DTB. Fixes: ba1f1f70c2c0 ("[media] media: mtk-mdp: Fix mdp device tree") Signed-off-by: Matthias Brugger ---

Re: [PATCH 3/3] jz4740_fb: fix DMA API abuse

2019-06-21 Thread Bartlomiej Zolnierkiewicz
Hi, On 6/7/19 2:21 PM, Bartlomiej Zolnierkiewicz wrote: > > On 5/9/19 7:38 PM, Christoph Hellwig wrote: >> Virtual addresses return from dma(m)_alloc_coherent are opaque in what >> backs then, and drivers must not poke into them. Switch the driver >> to use the generic DMA API mmap helper to

Re: [PATCH] rt2x00: fix rx queue hang

2019-06-21 Thread Soeren Moch
Hi! On 18.06.19 11:34, Stanislaw Gruszka wrote: > Hi > > On Mon, Jun 17, 2019 at 11:46:56AM +0200, Soeren Moch wrote: >> Since commit ed194d136769 ("usb: core: remove local_irq_save() around >> ->complete() handler") the handlers rt2x00usb_interrupt_rxdone() and >> rt2x00usb_interrupt_txdone()

Re: [RFC 3/5] livepatch: Allow to distinguish different version of system state changes

2019-06-21 Thread Miroslav Benes
> +/* Check if the patch is able to deal with the given system state. */ > +static bool klp_is_state_compatible(struct klp_patch *patch, > + struct klp_state *state) > +{ > + struct klp_state *new_state; > + > + new_state = klp_get_state(patch, state->id); >

linux-next: unexpected file in the usb tree

2019-06-21 Thread Stephen Rothwell
Hi Greg, Commit ecefae6db042 ("docs: usb: rename files to .rst and add them to drivers-api") added this unexpected file: Documentation/index.rst.rej -- Cheers, Stephen Rothwell pgpyQTQwC6kyT.pgp Description: OpenPGP digital signature

Re: [PATCH] video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/21/19 1:05 PM, Arnd Bergmann wrote: > On Fri, Jun 21, 2019 at 12:58 PM Bartlomiej Zolnierkiewicz > wrote: >> >> On 6/17/19 3:16 PM, Arnd Bergmann wrote: >>> When the driver is built-in for PCI, we reference the exit function >>> after discarding it: >>> >>> `pvr2fb_pci_exit' referenced in

[PATCH] ARM: dts: socfpga: update to new Denali NAND binding

2019-06-21 Thread Masahiro Yamada
With commit d8e8fd0ebf8b ("mtd: rawnand: denali: decouple controller and NAND chips"), the Denali NAND controller driver migrated to the new controller/chip representation. Update DT for it. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/socfpga.dtsi| 2 +-

Re: [PATCH v2] riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver

2019-06-21 Thread Anup Patel
On Fri, Jun 21, 2019 at 4:27 PM Yash Shah wrote: > > DT node for SiFive FU540-C000 GEMGXL Ethernet controller driver added > > Signed-off-by: Yash Shah > --- > arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 16 > arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 9

Re: [PATCH v3 2/2] arch: wire-up clone3() syscall

2019-06-21 Thread Christian Brauner
On Fri, Jun 21, 2019 at 11:37:50AM +0200, Arnd Bergmann wrote: > On Fri, Jun 21, 2019 at 12:10 AM Christian Brauner > wrote: > > On Thu, Jun 20, 2019 at 11:44:51AM -0700, Guenter Roeck wrote: > > > On Tue, Jun 04, 2019 at 06:09:44PM +0200, Christian Brauner wrote: > > > > clone3() was placed

[patch 1/5] AST2500 DMA UART driver

2019-06-21 Thread sudheer.v
From: sudheer veliseti UART driver for Aspeed's bmc chip AST2500 Design approch: AST2500 has dedicated Uart DMA controller which has 12 sets of Tx and RX channels connected to UART controller directly. Since the DMA controller have dedicated buffers and registers, there would be little benifit

[patch 2/5] build configuration for AST2500 DMA UART driver

2019-06-21 Thread sudheer.v
From: sudheer veliseti Signed-off-by: sudheer veliseti --- drivers/tty/serial/8250/Kconfig | 35 +++- drivers/tty/serial/8250/Makefile | 1 + 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/Kconfig

[patch 4/5] defconfig and MAINTAINERS updated for AST2500 DMA UART driver

2019-06-21 Thread sudheer.v
From: sudheer veliseti Signed-off-by: sudheer veliseti --- MAINTAINERS | 13 + arch/arm/configs/aspeed_g5_defconfig | 1 + 2 files changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 997e27ab492f..c9a9790b97f6 100644 --- a/MAINTAINERS

[patch 3/5] DT nodes for AST2500 DMA UART driver

2019-06-21 Thread sudheer.v
From: sudheer veliseti DT node for DMA controller(ast_uart_sdma) doesn't bind to any DMA controller driver. This is because Software for DMA controller is not based on DMA framework,but is dedicated and serves only UARTs in AST2500. ast_uart_sdma node is searched by compatible string in the

[patch 5/5] Documentation: DT bindings AST2500 DMA UART driver

2019-06-21 Thread sudheer.v
From: sudheer veliseti Signed-off-by: sudheer veliseti --- .../bindings/serial/ast2500-dma-uart.txt | 40 +++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/ast2500-dma-uart.txt diff --git

[patch 0/5] *** DMA based UART driver for AST2500 ***

2019-06-21 Thread sudheer.v
From: sudheer veliseti Hi, AST2500 has dedicated Uart DMA controller which has 12 sets of Tx and RX channels connected to UART controller directly. Since the DMA controller have dedicated buffers and registers, there would be little benifit in adding DMA framework overhead. So the software for

[PATCH v2 2/2] extcon: Add fsa9480 extcon driver

2019-06-21 Thread Paweł Chmiel
From: Tomasz Figa This patch adds extcon driver for Fairchild Semiconductor FSA9480 microUSB switch. Signed-off-by: Tomasz Figa Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Remove license sentences - Remove custom sysfs entries - Remove manual

[PATCH v2 0/2] extcon: Add fsa9480 extcon driver

2019-06-21 Thread Paweł Chmiel
This small patchset adds support for Fairchild Semiconductor FSA9480 microUSB switch. It has been tested on Samsung Galaxy S and Samsung Fascinate 4G, but it can be found also on other Samsung Aries (s5pv210) based devices. Tomasz Figa (2): dt-bindings: extcon: Add support for fsa9480 switch

[PATCH v2 1/2] dt-bindings: extcon: Add support for fsa9480 switch

2019-06-21 Thread Paweł Chmiel
From: Tomasz Figa This patch adds documentation for binding of extcont Fairchild Semiconductor FSA9480 microusb switch. This usb port accessory detector and switch, can be found for example in some Samsung s5pv210 based phones. Signed-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel Acked-by:

Re: [PATCH 6/6] ARM: dts: exynos: Add regulator suspend configuration to Odroid XU3/XU4/HC1 family

2019-06-21 Thread Marek Szyprowski
Hi, On 2019-06-20 20:35, Krzysztof Kozlowski wrote: > Add the PMIC regulator suspend configuration to entire Odroid > XU3/XU4/HC1 family of boards to reduce power usage during suspend. The > configuration is based on vendor (Hardkernel) reference kernel. > > Signed-off-by: Krzysztof Kozlowski

[PATCH V6 3/3] PCI: dwc: Export APIs to support .remove() implementation

2019-06-21 Thread Vidya Sagar
Export all configuration space access APIs and also other APIs to support host controller drivers of DesignWare core based implementations while adding support for .remove() hook to build their respective drivers as modules Signed-off-by: Vidya Sagar Acked-by: Gustavo Pimentel --- Changes from

[PATCH V6 1/3] PCI: dwc: Add API support to de-initialize host

2019-06-21 Thread Vidya Sagar
Add an API to group all the tasks to be done to de-initialize host which can then be called by any DesignWare core based driver implementations while adding .remove() support in their respective drivers. Signed-off-by: Vidya Sagar Acked-by: Gustavo Pimentel --- Changes from v5: * None Changes

[PATCH V6 2/3] PCI: dwc: Cleanup DBI read and write APIs

2019-06-21 Thread Vidya Sagar
Cleanup DBI read and write APIs by removing "__" (underscore) from their names as there are no no-underscore versions and the underscore versions are already doing what no-underscore versions typically do. It also removes passing dbi/dbi2 base address as one of the arguments as the same can be

Re: [PATCH] mips: Remove q-accessors from non-64bit platforms

2019-06-21 Thread Arnd Bergmann
On Fri, Jun 21, 2019 at 12:09 PM Maciej W. Rozycki wrote: > > On Fri, 21 Jun 2019, Arnd Bergmann wrote: > > > > The use of 64-bit operations to access option's packet memory, which is > > > true SRAM, i.e. no side effects, is to improve throughput only and there's > > > no need for atomicity

Re: [PATCH V2 2/4] csky: Add new asid lib code from arm

2019-06-21 Thread Guo Ren
Sorry, I forgot delete arm's. It's mistake, no change arm64 file. On Fri, Jun 21, 2019 at 6:10 PM Julien Grall wrote: > > Hi, > > On 21/06/2019 10:39, guo...@kernel.org wrote: > > Signed-off-by: Guo Ren > > Cc: Arnd Bergmann > > Cc: Julien Grall > > --- > > arch/arm64/lib/asid.c|

Re: [PATCH 4/4] rts5208: Fix usleep range is preferred over udelay

2019-06-21 Thread Pavel Machek
On Wed 2019-06-19 17:46:48, Lukas Schneider wrote: > This patch fixes the issue reported by checkpatch: > > CHECK: usleep_range is preferred over udelay; > see Doucmentation/timers/timers-howto.txt > > It's save to sleep here instead of using busy waiting, > because we are not in an atomic

[PATCH] arm64: dts: uniphier: update to new Denali NAND binding

2019-06-21 Thread Masahiro Yamada
With commit d8e8fd0ebf8b ("mtd: rawnand: denali: decouple controller and NAND chips"), the Denali NAND controller driver migrated to the new controller/chip representation. Update DT for it. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts | 4

Next 20190620: fails to compile in netfilter on x86-32

2019-06-21 Thread Pavel Machek
Hi! I get this during compilation: CC net/netfilter/core.o In file included from net/netfilter/core.c:19:0: ./include/linux/netfilter_ipv6.h: In function ‘nf_ipv6_cookie_init_sequence’: ./include/linux/netfilter_ipv6.h:174:2: error: implicit declaration of function

Re: [PATCH v2 3/3] leds-pwm.c: support ACPI via firmware-node framework

2019-06-21 Thread Pavel Machek
On Wed 2019-06-12 10:36:08, Nikolaus Voss wrote: > DT specific handling is replaced by firmware-node abstration to support > ACPI specification of PWM LEDS. > > Example ASL: > Device (PWML) > { > Name (_HID, "PRP0001") > Name (_DSD, Package () { >

Re: [PATCH v2 12/28] drivers: Introduce class_find_device_by_name() helper

2019-06-21 Thread Pavel Machek
On Fri 2019-06-14 18:54:07, Suzuki K Poulose wrote: > Add a new wrapper for class_find_device() to search for devices > by name and convert the existing users to use the new helper. > > Signed-off-by: Suzuki K Poulose Acked-by: Pavel Machek -- (english)

linux-next: Tree for Jun 21

2019-06-21 Thread Stephen Rothwell
Hi all, Changes since 20190620: The samsung-krzk tree gained a conflict against the arm tree. The fbdev tree still had its build failure so I used the version from next-20190619. The net-next tree still had its build failure for which I reverted a commit. The block tree gained a build failure

[PATCH v2] riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver

2019-06-21 Thread Yash Shah
DT node for SiFive FU540-C000 GEMGXL Ethernet controller driver added Signed-off-by: Yash Shah --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 16 arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 9 + 2 files changed, 25 insertions(+) diff --git

[PATCH v2] DT node for SiFive FU540 Ethernet Controller driver

2019-06-21 Thread Yash Shah
This patch-set is based on 'riscv-for-v5.2/fixes-rc6' tag of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git Tested on HiFive Unleashed board with additional patches required for testing can be found at dev/yashs/ethernet_dt_v2 branch of: https://github.com/yashshah7/riscv-linux.git

Re: [PATCH] x86/mm: Handle physical-virtual alignment mismatch in phys_p4d_init()

2019-06-21 Thread Kirill A. Shutemov
On Fri, Jun 21, 2019 at 05:02:49PM +0800, Baoquan He wrote: > Hi Kirill, > > On 06/20/19 at 02:22pm, Kirill A. Shutemov wrote: > > Kyle has reported that kernel crashes sometimes when it boots in > > 5-level paging mode with KASLR enabled: > > This is a great finding, thanks for the fix. I ever

Re: [PATCH] time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint

2019-06-21 Thread Peter Zijlstra
On Thu, Jun 20, 2019 at 03:13:36PM -0700, Paul E. McKenney wrote: > So how about the following patch, which passes very light rcutorture > testing but should otherwise be regarded as being under suspicion? Looks good to me, Acked-by: Peter Zijlstra (Intel) Or, if you want me to apply it, I can

[PATCH] ARM: dts: uniphier: update to new Denali NAND binding

2019-06-21 Thread Masahiro Yamada
With commit d8e8fd0ebf8b ("mtd: rawnand: denali: decouple controller and NAND chips"), the Denali NAND controller driver migrated to the new controller/chip representation. Update DT for it. In the new binding, the number of connected chips are described in DT instead of run-time probed. I

Re: [PATCH] mmc: remove another TMIO MMC variant usdhi6rol0.c

2019-06-21 Thread Wolfram Sang
Hi, On Fri, Jun 21, 2019 at 03:16:11PM +0900, Masahiro Yamada wrote: > (Added Lars Persson, Guennadi Liakhovetski) > > On Fri, Jun 21, 2019 at 3:06 PM Masahiro Yamada > wrote: > > This needs Ack from Renesas. > But, I do not know if TMIO folks are sure about this driver, though. > (If they had

<    1   2   3   4   5   6   7   8   9   >