Re: [Patch v5 6/8] media: i2c: ov2659: Add powerdown/reset gpio handling

2019-10-01 Thread Lad, Prabhakar
On Mon, Sep 30, 2019 at 2:07 PM Benoit Parrot wrote: > > On some board it is possible that the sensor 'powerdown' and or 'reset' > pin might be controlled by gpio instead of being tied. > > To implement we add pm_runtime support which will handle the power > up/down sequence when it is available

Re: [Patch v5 4/8] media: i2c: ov2659: fix s_stream return value

2019-10-01 Thread Lad, Prabhakar
On Mon, Sep 30, 2019 at 2:07 PM Benoit Parrot wrote: > > In ov2659_s_stream() return value for invoked function should be checked > and propagated. > > Signed-off-by: Benoit Parrot > --- > drivers/media/i2c/ov2659.c | 14 +- > 1 file changed, 9 insertions(+), 5 deletions(-) >

[PATCH v2 2/3] net: phy: at803x: add ar9331 support

2019-10-01 Thread Oleksij Rempel
Mostly this hardware can work with generic PHY driver, but this change is needed to provided interrupt handling support. Tested with dsa ar9331-switch driver. Signed-off-by: Oleksij Rempel --- drivers/net/phy/at803x.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH v2 3/3] net: phy: at803x: remove probe and struct at803x_priv

2019-10-01 Thread Oleksij Rempel
struct at803x_priv is never used in this driver. So remove it and the probe function allocating it. Suggested-by: Heiner Kallweit Signed-off-by: Oleksij Rempel --- drivers/net/phy/at803x.c | 21 - 1 file changed, 21 deletions(-) diff --git a/drivers/net/phy/at803x.c

[PATCH v2 1/3] net: phy: at803x: use PHY_ID_MATCH_EXACT for IDs

2019-10-01 Thread Oleksij Rempel
Use exact match for all IDs. We have no sanity checks, so we can peek a device with no exact ID and different register layout. Suggested-by: Heiner Kallweit Signed-off-by: Oleksij Rempel --- drivers/net/phy/at803x.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff

[PATCH v2 0/3] net: phy: at803x: add ar9331 support

2019-10-01 Thread Oleksij Rempel
changes v2: - use PHY_ID_MATCH_EXACT instead of leaky masking - remove probe and struct at803x_priv Oleksij Rempel (3): net: phy: at803x: use PHY_ID_MATCH_EXACT for IDs net: phy: at803x: add ar9331 support net: phy: at803x: remove probe and struct at803x_priv drivers/net/phy/at803x.c | 45

Re: [PATCH v2] virt: vbox: fix memory leak in hgcm_call_preprocess_linaddr

2019-10-01 Thread Hans de Goede
Hi, On 30-09-2019 22:42, Navid Emamdoost wrote: In hgcm_call_preprocess_linaddr memory is allocated for bounce_buf but is not released if copy_form_user fails. In order to prevent memory leak in case of failure, the assignment to bounce_buf_ret is moved before the error check. This way the

[PATCH v3 00/14] dmaengine/soc: Add Texas Instruments UDMA support

2019-10-01 Thread Peter Ujfalusi
Hi, Changes since v2 )https://patchwork.kernel.org/project/linux-dmaengine/list/?series=152609=*) - Based on 5.4-rc1 - Support for Flow only data transfer for the glue layer - cppi5 header - comments converted to kernel-doc style - Remove the excessive WARN_ONs and rely on the user for sanity

[PATCH v3 07/14] dt-bindings: dma: ti: Add document for K3 UDMA

2019-10-01 Thread Peter Ujfalusi
New binding document for Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P). UDMA-P is introduced as part of the K3 architecture and can be found in AM654 and j721e. Signed-off-by: Peter Ujfalusi --- .../devicetree/bindings/dma/ti/k3-udma.txt| 185 ++

[PATCH v3 03/14] dmaengine: doc: Add sections for per descriptor metadata support

2019-10-01 Thread Peter Ujfalusi
Update the provider and client documentation with details about the metadata support. Signed-off-by: Peter Ujfalusi --- Documentation/driver-api/dmaengine/client.rst | 75 +++ .../driver-api/dmaengine/provider.rst | 46 2 files changed, 121 insertions(+)

[PATCH v3 12/14] dmaengine: ti: New driver for K3 UDMA - split#5: dma_device callbacks 2

2019-10-01 Thread Peter Ujfalusi
Split patch for review containing: device_prep_slave_sg and device_prep_dma_cyclic implementation supporting packet and TR channels. DMA driver for Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P) The UDMA-P is intended to perform similar (but significantly upgraded)

[PATCH v3 01/14] bindings: soc: ti: add documentation for k3 ringacc

2019-10-01 Thread Peter Ujfalusi
From: Grygorii Strashko The Ring Accelerator (RINGACC or RA) provides hardware acceleration to enable straightforward passing of work between a producer and a consumer. There is one RINGACC module per NAVSS on TI AM65x and j721e. This patch introduces RINGACC device tree bindings.

[PATCH v3 08/14] dmaengine: ti: New driver for K3 UDMA - split#1: defines, structs, io func

2019-10-01 Thread Peter Ujfalusi
Split patch for review containing: defines, structs, io and low level functions and interrupt callbacks. DMA driver for Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P) The UDMA-P is intended to perform similar (but significantly upgraded) functions as the

[PATCH v3 06/14] dmaengine: ti: Add cppi5 header for UDMA

2019-10-01 Thread Peter Ujfalusi
Signed-off-by: Peter Ujfalusi --- include/linux/dma/ti-cppi5.h | 1049 ++ 1 file changed, 1049 insertions(+) create mode 100644 include/linux/dma/ti-cppi5.h diff --git a/include/linux/dma/ti-cppi5.h b/include/linux/dma/ti-cppi5.h new file mode 100644 index

[PATCH v3 11/14] dmaengine: ti: New driver for K3 UDMA - split#4: dma_device callbacks 1

2019-10-01 Thread Peter Ujfalusi
Split patch for review containing: device_config, device_issue_pending, device_tx_status, device_pause, device_resume, device_terminate_all and device_synchronize callback implementation and the custom udma_vchan_complete. DMA driver for Texas Instruments K3 NAVSS Unified DMA – Peripheral Root

[PATCH v3 10/14] dmaengine: ti: New driver for K3 UDMA - split#3: alloc/free chan_resources

2019-10-01 Thread Peter Ujfalusi
Split patch for review containing: channel rsource allocation and free functions. DMA driver for Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P) The UDMA-P is intended to perform similar (but significantly upgraded) functions as the packet-oriented DMA used on previous

[PATCH v3 09/14] dmaengine: ti: New driver for K3 UDMA - split#2: probe/remove, xlate and filter_fn

2019-10-01 Thread Peter Ujfalusi
Split patch for review containing: module probe/remove functions, of_xlate and filter_fn for slave channel requests. DMA driver for Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P) The UDMA-P is intended to perform similar (but significantly upgraded) functions as the

[PATCH v3 13/14] dmaengine: ti: New driver for K3 UDMA - split#6: Kconfig and Makefile

2019-10-01 Thread Peter Ujfalusi
Split patch for review containing: Kconfig and Makefile changes DMA driver for Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P) The UDMA-P is intended to perform similar (but significantly upgraded) functions as the packet-oriented DMA used on previous SoC devices. The

[PATCH v3 14/14] dmaengine: ti: k3-udma: Add glue layer for non DMAengine users

2019-10-01 Thread Peter Ujfalusi
From: Grygorii Strashko Certain users can not use right now the DMAengine API due to missing features in the core. Prime example is Networking. These users can use the glue layer interface to avoid misuse of DMAengine API and when the core gains the needed features they can be converted to use

[PATCH v3 02/14] soc: ti: k3: add navss ringacc driver

2019-10-01 Thread Peter Ujfalusi
From: Grygorii Strashko The Ring Accelerator (RINGACC or RA) provides hardware acceleration to enable straightforward passing of work between a producer and a consumer. There is one RINGACC module per NAVSS on TI AM65x SoCs. The RINGACC converts constant-address read and write accesses to

[PATCH v3 04/14] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2019-10-01 Thread Peter Ujfalusi
The metadata is best described as side band data or parameters traveling alongside the data DMAd by the DMA engine. It is data which is understood by the peripheral and the peripheral driver only, the DMA engine see it only as data block and it is not interpreting it in any way. The metadata can

[PATCH v3 05/14] dmaengine: Add support for reporting DMA cached data amount

2019-10-01 Thread Peter Ujfalusi
A DMA hardware can have big cache or FIFO and the amount of data sitting in the DMA fabric can be an interest for the clients. For example in audio we want to know the delay in the data flow and in case the DMA have significantly large FIFO/cache, it can affect the latenc/delay Signed-off-by:

Re: [PATCH 5.3 00/25] 5.3.2-stable review

2019-10-01 Thread Greg Kroah-Hartman
On Mon, Sep 30, 2019 at 04:31:51PM -0600, shuah wrote: > On 9/29/19 7:56 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.3.2 release. > > There are 25 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH 5.3 00/25] 5.3.2-stable review

2019-10-01 Thread Greg Kroah-Hartman
On Mon, Sep 30, 2019 at 08:11:37PM -0500, Dan Rue wrote: > On Sun, Sep 29, 2019 at 03:56:03PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.3.2 release. > > There are 25 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 5.3 00/25] 5.3.2-stable review

2019-10-01 Thread Greg Kroah-Hartman
On Mon, Sep 30, 2019 at 11:30:15AM -0700, Guenter Roeck wrote: > On Sun, Sep 29, 2019 at 03:56:03PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.3.2 release. > > There are 25 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH] staging: speakup: document sysfs attributes

2019-10-01 Thread Greg Kroah-Hartman
On Sat, Sep 21, 2019 at 11:22:14AM +0100, Okash Khawaja wrote: > Speakup exposes a set of sysfs attributes under > /sys/accessibility/speakup/ for user-space to interact with and > configure speakup's kernel modules. This patch describes those > attributes. Some attributes either lack a

Re: [PATCH] media: uvcvideo: Use streaming DMA APIs to transfer buffers

2019-10-01 Thread Christoph Hellwig
On Mon, Sep 30, 2019 at 01:23:10AM -0700, Christoph Hellwig wrote: > And drivers really have no business looking at the dma mask. I have > a plan for dma_alloc_pages API that could replace that cruft, but > until then please use GFP_KERNEL and let the dma subsystem bounce > buffer if needed. Can

Re: [PATCH v5 0/3] mfd: mc13xxx: Fixes and enhancements for NXP's mc34708

2019-10-01 Thread Lee Jones
On Mon, 30 Sep 2019, Lukasz Majewski wrote: > Dear Lee, > > > This patch set provides several enhancements to mc13xxx MFD family > > of devices by introducing mc34708 as a separate device. > > > > This IC has dedicated pen detection feature, which allows better > > touchscreen experience. > >

Re: [PATCH] dma/coherent: remove unused dma_get_device_base()

2019-10-01 Thread Christoph Hellwig
On Wed, Sep 25, 2019 at 04:54:37PM -0400, Qian Cai wrote: > Ping. Please take a look at this trivial patch. No need to rush. We just had the 5.4 merge window closing. I'll queue this up in the dma-mapping for-next tree for 5.5 once I open it.

[PATCH net v2] net: ag71xx: fix mdio subnode support

2019-10-01 Thread Oleksij Rempel
This patch is syncing driver with actual devicetree documentation: Documentation/devicetree/bindings/net/qca,ar71xx.txt |Optional subnodes: |- mdio : specifies the mdio bus, used as a container for phy nodes | according to phy.txt in the same directory The driver was working with fixed phy

Re: [PATCH v4 1/2] edac: Add an API for edac device to report for multiple errors

2019-10-01 Thread Robert Richter
On 30.09.19 16:50:46, Borislav Petkov wrote: > -- > On Mon, Sep 23, 2019 at 08:17:40PM +0100, Hanna Hawa wrote: > > +void edac_device_handle_ce(struct edac_device_ctl_info *edac_dev, > > + int inst_nr, int

[PATCH v8 0/5] kasan: support backing vmalloc space with real shadow memory

2019-10-01 Thread Daniel Axtens
Currently, vmalloc space is backed by the early shadow page. This means that kasan is incompatible with VMAP_STACK. This series provides a mechanism to back vmalloc space with real, dynamically allocated memory. I have only wired up x86, because that's the only currently supported arch I can work

[PATCH v8 3/5] fork: support VMAP_STACK with KASAN_VMALLOC

2019-10-01 Thread Daniel Axtens
Supporting VMAP_STACK with KASAN_VMALLOC is straightforward: - clear the shadow region of vmapped stacks when swapping them in - tweak Kconfig to allow VMAP_STACK to be turned on with KASAN Reviewed-by: Dmitry Vyukov Signed-off-by: Daniel Axtens --- arch/Kconfig | 9 +

[PATCH v8 2/5] kasan: add test for vmalloc

2019-10-01 Thread Daniel Axtens
Test kasan vmalloc support by adding a new test to the module. Signed-off-by: Daniel Axtens -- v5: split out per Christophe Leroy --- lib/test_kasan.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/lib/test_kasan.c b/lib/test_kasan.c index

[PATCH v8 1/5] kasan: support backing vmalloc space with real shadow memory

2019-10-01 Thread Daniel Axtens
Hook into vmalloc and vmap, and dynamically allocate real shadow memory to back the mappings. Most mappings in vmalloc space are small, requiring less than a full page of shadow space. Allocating a full shadow page per mapping would therefore be wasteful. Furthermore, to ensure that different

[PATCH v8 5/5] kasan debug: track pages allocated for vmalloc shadow

2019-10-01 Thread Daniel Axtens
Provide the current number of vmalloc shadow pages in /sys/kernel/debug/kasan/vmalloc_shadow_pages. Signed-off-by: Daniel Axtens --- v8: rename kasan_vmalloc/shadow_pages -> kasan/vmalloc_shadow_pages On v4 (no dynamic freeing), I saw the following approximate figures on my test VM: - fresh

[PATCH v8 4/5] x86/kasan: support KASAN_VMALLOC

2019-10-01 Thread Daniel Axtens
In the case where KASAN directly allocates memory to back vmalloc space, don't map the early shadow page over it. We prepopulate pgds/p4ds for the range that would otherwise be empty. This is required to get it synced to hardware on boot, allowing the lower levels of the page tables to be filled

Re: [v6 PATCH] RISC-V: Remove unsupported isa string info print

2019-10-01 Thread Christoph Hellwig
On Mon, Sep 30, 2019 at 05:23:18PM -0700, Atish Patra wrote: > /proc/cpuinfo should just print all the isa string as an information > instead of determining what is supported or not. ELF hwcap can be > used by the userspace to figure out that. > > Simplify the isa string printing by removing the

Re: [PATCH 2/2] pwm: stm32: add power management support

2019-10-01 Thread Uwe Kleine-König
Hello Fabrice, On Mon, Sep 30, 2019 at 05:39:11PM +0200, Fabrice Gasnier wrote: > Add suspend/resume PM sleep ops. When going to low power, enforce the PWM > channel isn't active. Let the PWM consumers disable it during their own > suspend sequence, see [1]. So, perform a check here, and handle

Linux 5.3.2

2019-10-01 Thread Greg KH
I'm announcing the release of the 5.3.2 kernel. All users of the 5.3 kernel series must upgrade. The updated 5.3.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.3.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 5.3.2

2019-10-01 Thread Greg KH
diff --git a/Makefile b/Makefile index f32e8d2e09c3..13fa3a409ddd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 3 -SUBLEVEL = 1 +SUBLEVEL = 2 EXTRAVERSION = NAME = Bobtail Squid diff --git a/arch/powerpc/include/asm/opal.h

Re: [PATCH] x86/PAT: priority the PAT warn to error to highlight the developer

2019-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2019 at 05:00:25AM +, Zhang, Jun wrote: > Please see my comments. > Please use a normal MUA that can quote text you're replying to. This is unreadable garbage.

5.3.3??? [was Re: Linux 5.3.2]

2019-10-01 Thread Greg KH
On Tue, Oct 01, 2019 at 09:04:57AM +0200, Greg KH wrote: > I'm announcing the release of the 5.3.2 kernel. > > All users of the 5.3 kernel series must upgrade. Ok, I messed up this morning and typed "5.3" instead of "5.2" in my scripts and an "empty" 5.3.3 kernel got released. Well kind of, it

[PATCH] Revert "Input: elantech - enable SMBus on new (2018+) systems"

2019-10-01 Thread Kai-Heng Feng
This reverts commit 883a2a80f79ca5c0c105605fafabd1f3df99b34c. Apparently use dmi_get_bios_year() as manufacturing date isn't accurate and this breaks older laptops with new BIOS update. So let's revert this patch. There are still new HP laptops still need to use SMBus to support all features,

Re: [PATCH] i2c: i2c-stm32f7: fix first byte to send in slave mode

2019-10-01 Thread Pierre Yves MORDRET
Hi, Reviewed-by: Pierre-Yves MORDRET Thx On 9/30/19 5:28 PM, Fabrice Gasnier wrote: > The slave-interface documentation [1] states "the bus driver should > transmit the first byte" upon I2C_SLAVE_READ_REQUESTED slave event: > - 'val': backend returns first byte to be sent > The driver

lift the xfs writepage code into iomap v5

2019-10-01 Thread Christoph Hellwig
Hi all, this series cleans up the xfs writepage code and then lifts it to fs/iomap.c so that it could be use by other file system. I've been wanting to this for a while so that I could eventually convert gfs2 over to it, but I never got to it. Now Damien has a new zonefs file system for

Re: Linux 4.19.76

2019-10-01 Thread Greg KH
diff --git a/Makefile b/Makefile index 4bf6f24916bf..9cb471a75a1b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 75 +SUBLEVEL = 76 EXTRAVERSION = NAME = "People's Front" diff --git

Linux 4.19.76

2019-10-01 Thread Greg KH
I'm announcing the release of the 4.19.76 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

[PATCH 09/11] xfs: remove the fork fields in the writepage_ctx and ioend

2019-10-01 Thread Christoph Hellwig
In preparation for moving the writeback code to iomap.c, replace the XFS-specific COW fork concept with the iomap IOMAP_F_SHARED flag. Signed-off-by: Christoph Hellwig Reviewed-by: Carlos Maiolino Reviewed-by: Darrick J. Wong --- fs/xfs/xfs_aops.c | 42

[PATCH 11/11] iomap: move struct iomap_page out of iomap.h

2019-10-01 Thread Christoph Hellwig
Now that all the writepage code is in the iomap code there is no need to keep this structure public. Signed-off-by: Christoph Hellwig Reviewed-by: Carlos Maiolino Reviewed-by: Darrick J. Wong --- fs/iomap/buffered-io.c | 17 + include/linux/iomap.h | 17 - 2

[PATCH 08/11] xfs: use a struct iomap in xfs_writepage_ctx

2019-10-01 Thread Christoph Hellwig
In preparation for moving the XFS writeback code to fs/iomap.c, switch it to use struct iomap instead of the XFS-specific struct xfs_bmbt_irec. Signed-off-by: Christoph Hellwig Reviewed-by: Carlos Maiolino Reviewed-by: Darrick J. Wong --- fs/xfs/libxfs/xfs_bmap.c | 14 +--

[PATCH 06/11] xfs: remove the readpage / readpages tracing code

2019-10-01 Thread Christoph Hellwig
The actual iomap implementations now have equivalent trace points. Signed-off-by: Christoph Hellwig --- fs/xfs/xfs_aops.c | 2 -- fs/xfs/xfs_trace.h | 26 -- 2 files changed, 28 deletions(-) diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index

[PATCH 03/11] iomap: warn on inline maps in iomap_writepage_map

2019-10-01 Thread Christoph Hellwig
And inline mapping should never mark the page dirty and thus never end up in writepages. Add a check for that condition and warn if it happens. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- fs/iomap/buffered-io.c | 2 ++ 1 file changed, 2

[PATCH 02/11] iomap: copy the xfs writeback code to iomap.c

2019-10-01 Thread Christoph Hellwig
Takes the xfs writeback code and copies it to iomap.c. A new structure with three methods is added as the abstraction from the generic writeback code to the file system. These methods are used to map blocks, submit an ioend, and cancel a page that encountered an error before it was added to an

[PATCH 05/11] iomap: zero newly allocated mapped blocks

2019-10-01 Thread Christoph Hellwig
File systems like gfs2 don't support delayed allocations or unwritten extents and thus allocate normal mapped blocks to fill holes. To cover the case of such file systems allocating new blocks to fill holes also zero out mapped blocks with the new flag. Signed-off-by: Christoph Hellwig

[PATCH 07/11] xfs: initialize iomap->flags in xfs_bmbt_to_iomap

2019-10-01 Thread Christoph Hellwig
Currently we don't overwrite the flags field in the iomap in xfs_bmbt_to_iomap. This works fine with 0-initialized iomaps on stack, but is harmful once we want to be able to reuse an iomap in the writeback code. Replace the shared paramter with a set of initial flags an thus ensures the flags

[PATCH 04/11] xfs: set IOMAP_F_NEW more carefully

2019-10-01 Thread Christoph Hellwig
Don't set IOMAP_F_NEW if we COW over and existing allocated range, as these aren't strictly new allocations. This is required to be able to use IOMAP_F_NEW to zero newly allocated blocks, which is required for the iomap code to fully support file systems that don't do delayed allocations or use

[PATCH 01/11] iomap: add tracing for the readpage / readpages

2019-10-01 Thread Christoph Hellwig
Lift the xfs code for tracing address space operations to the iomap layer. Signed-off-by: Christoph Hellwig --- fs/iomap/buffered-io.c | 7 +++ include/trace/events/iomap.h | 27 +++ 2 files changed, 34 insertions(+) create mode 100644

[PATCH 10/11] xfs: use the iomap write page code

2019-10-01 Thread Christoph Hellwig
Use the new iomap writeback code that was copied from XFS to perform writeback. Signed-off-by: Christoph Hellwig [darrick: reduce this patch only to convert the xfs writeback code] Signed-off-by: Darrick J. Wong --- fs/xfs/xfs_aops.c | 667 +

Re:⏰Hi

2019-10-01 Thread nik_bin_nek_alwi
Grandios! http://knrsbwy.Merissa836.xyz/index ___ Bis bald nik_bin_nek_a...@yahoo.com

Re: [PATCH] get_maintainer: Add signatures from Fixes: lines in commit message

2019-10-01 Thread Dan Carpenter
Looks good! Thanks for this, Joe. regards, dan carpenter

Re: [GIT PULL] scheduler fixes

2019-10-01 Thread Peter Zijlstra
On Mon, Sep 30, 2019 at 04:45:49PM -0700, John Stultz wrote: > Reverting the following patches: > "sched/membarrier: Fix p->mm->membarrier_state racy load" ARGH, I fudged it... please try: diff --git a/kernel/sched/membarrier.c b/kernel/sched/membarrier.c index a39bed2c784f..168479a7d61b

Re: [PATCH] mm, vmpressure: Fix a signedness bug in vmpressure_register_event()

2019-10-01 Thread Dan Carpenter
Sorry, for not replying. I got sick last week so I was out of office. Feeling better now. regards, dan carpenter

Linux 5.2.18

2019-10-01 Thread Greg KH
I'm announcing the release of the 5.2.18 kernel. All users of the 5.2 kernel series must upgrade. The updated 5.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 5.2.18

2019-10-01 Thread Greg KH
diff --git a/Makefile b/Makefile index 32226d81fbb5..440e473687eb 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 2 -SUBLEVEL = 17 +SUBLEVEL = 18 EXTRAVERSION = NAME = Bobtail Squid diff --git a/arch/powerpc/include/asm/opal.h

Re: [PATCH net v3] vsock: Fix a lockdep warning in __vsock_release()

2019-10-01 Thread Stefano Garzarella
On Mon, Sep 30, 2019 at 06:43:50PM +, Dexuan Cui wrote: > Lockdep is unhappy if two locks from the same class are held. > > Fix the below warning for hyperv and virtio sockets (vmci socket code > doesn't have the issue) by using lock_sock_nested() when __vsock_release() > is called

Re: [PATCH v2 0/3] Add support for SBI v0.2

2019-10-01 Thread Atish Patra
On Tue, 2019-10-01 at 12:58 +0800, Alan Kao wrote: > On Fri, Sep 27, 2019 at 10:57:45PM +, Atish Patra wrote: > > On Fri, 2019-09-27 at 15:19 -0700, Christoph Hellwig wrote: > > > On Thu, Sep 26, 2019 at 05:09:12PM -0700, Atish Patra wrote: > > > > The Supervisor Binary Interface(SBI)

[PATCH] fs: cifs: mute -Wunused-const-variable message

2019-10-01 Thread Austin Kim
After 'Initial git repository build' commit, 'mapping_table_ERRHRD' variable has not been used. So 'mapping_table_ERRHRD' const variable could be removed to mute below warning message: fs/cifs/netmisc.c:120:40: warning: unused variable 'mapping_table_ERRHRD' [-Wunused-const-variable]

[PATCH] m68k: defconfig: Update defconfigs for v5.4-rc1

2019-10-01 Thread Geert Uytterhoeven
Actual changes: -# CONFIG_BACKLIGHT_CLASS_DEVICE is not set -CONFIG_CRYPTO_AEGIS128L=m -CONFIG_CRYPTO_AEGIS256=m -CONFIG_CRYPTO_MORUS1280=m -CONFIG_CRYPTO_MORUS640=m +CONFIG_DM_CLONE=m +CONFIG_EROFS_FS=m -# CONFIG_LCD_CLASS_DEVICE is not set Signed-off-by: Geert

[PATCHv3 RESEND-next 0/3] Odroid c2 missing regulator linking

2019-10-01 Thread Anand Moon
Looks like this changes got lost so resend these changes again. Below small changes help re-configure or fix missing inter linking of regulator node. Re-based on *next-20191001* Changes from previous patch's series. Build using Cross Compiler. Added missing Reviewed-by Neil's and Martin. Added

[PATCHv3 RESEND-next 3/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

2019-10-01 Thread Anand Moon
As per schematics HDMI_P5V0 is supplied by P5V0 so add missing link. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Changes from previous Patchv1 - As per Martin's suggestion added the

[PATCHv3 RESEND-next 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-10-01 Thread Anand Moon
As per schematics VDDIO_AO18, VDDIO_AO3V3/VDD3V3 DDR3_1V5/DDR_VDDC: fixed regulator output which is supplied by P5V0. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Changes from

[PATCHv3 RESEND-next 2/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator

2019-10-01 Thread Anand Moon
As per schematics TFLASH_VDD, TF_IO, VCC3V3 fixed regulator output which is supplied by VDDIO_AO3V3. While here, move the comment name with the signal name in the schematics above the gpio property to make it consistent with other regulators. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil

Re: [PATCH v6 1/1] memory_hotplug: Add a bounds check to __add_pages

2019-10-01 Thread David Hildenbrand
On 30.09.19 08:23, Alastair D'Silva wrote: > From: Alastair D'Silva > > On PowerPC, the address ranges allocated to OpenCAPI LPC memory > are allocated from firmware. These address ranges may be higher > than what older kernels permit, as we increased the maximum > permissable address in commit

Re: [PATCH] x86/kdump: Fix 'kmem -s' reported an invalid freepointer when SME was active

2019-10-01 Thread Baoquan He
On 09/30/19 at 05:14am, Eric W. Biederman wrote: > Baoquan He writes: > >> needs a little better description. I know it is not a lot on modern > >> systems but reserving an extra 1M of memory to avoid having to special > >> case it later seems in need of calling out. > >> > >> I have an old

Re: [PATCH 2/2] can: C_CAN: add bus recovery events

2019-10-01 Thread Kurt Van Dijck
On do, 26 sep 2019 08:50:51 +, Jeroen Hofstee wrote: > While the state is update when the error counters increase and decrease, > there is no event when the bus recovers and the error counters decrease > again. So add that event as well. > > Change the state going downward to be ERROR_PASSIVE

Re: [Patch 1/3] media: ov5640: add PIXEL_RATE control

2019-10-01 Thread Sakari Ailus
Hi Benoit, On Wed, Sep 25, 2019 at 10:22:59AM -0500, Benoit Parrot wrote: > Add v4l2 controls to report the pixel rates of each mode. This is > needed by some CSI2 receiver in order to perform proper DPHY > configuration. > > Signed-off-by: Benoit Parrot > --- > drivers/media/i2c/ov5640.c | 25

Re: KMSAN: uninit-value in adu_disconnect

2019-10-01 Thread Johan Hovold
On Mon, Sep 30, 2019 at 08:29:07PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:014077b5 DO-NOT-SUBMIT: usb-fuzzer: main usb gadget fuzzer.. > git tree: https://github.com/google/kmsan.git master > console output:

[PATCH] sunrpc: fix crash when cache_head become valid before update

2019-10-01 Thread Pavel Tikhomirov
I was investigating a crash in our Virtuozzo7 kernel which happened in in svcauth_unix_set_client. I found out that we access m_client field in ip_map structure, which was received from sunrpc_cache_lookup (we have a bit older kernel, now the code is in sunrpc_cache_add_entry), and these field

Re: [PATCH v2 2/3] mm, page_owner: decouple freeing stack trace from debug_pagealloc

2019-10-01 Thread Vlastimil Babka
On 10/1/19 1:49 AM, Qian Cai wrote: > > >> On Sep 30, 2019, at 5:43 PM, Vlastimil Babka wrote: >> >> Well, my use case is shipping production kernels with CONFIG_PAGE_OWNER >> and CONFIG_DEBUG_PAGEALLOC enabled, and instructing users to boot-time >> enable only for troubleshooting a crash or

Re: [PATCH v3] PCI: aardvark: Use LTSSM state to build link training flag

2019-10-01 Thread Andrew Murray
On Mon, Sep 30, 2019 at 06:52:30PM +0200, Remi Pommarel wrote: > On Mon, Sep 30, 2019 at 04:40:18PM +0100, Andrew Murray wrote: > > On Wed, May 22, 2019 at 11:33:51PM +0200, Remi Pommarel wrote: > > > Aardvark's PCI_EXP_LNKSTA_LT flag in its link status register is not > > > implemented and does

Re: [PATCH 0/2] scsi: ufs: Add driver for TI wrapper for Cadence UFS IP

2019-10-01 Thread Vignesh Raghavendra
On 01/10/19 9:27 AM, Martin K. Petersen wrote: > > Vignesh, > >> This series add DT bindings and driver for TI wrapper for Cadence UFS >> IP that is present on TI's J721e SoC > > Will need some reviews from DT and ufs folks respectively before I can > queue this up. > Ok, thanks for the

WARNING in rcu_note_context_switch

2019-10-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:54ecb8f7 Linux 5.4-rc1 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14972bf360 kernel config: https://syzkaller.appspot.com/x/.config?x=fb0b431ccdf08c1c dashboard link:

WARNING: lock held when returning to user space in membarrier_private_expedited

2019-10-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:afb37288 Add linux-next specific files for 20191001 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1761963560 kernel config: https://syzkaller.appspot.com/x/.config?x=659cb5bf73e72c6c

Re: [PATCH v3 04/10] sched/fair: rework load_balance

2019-10-01 Thread Vincent Guittot
On Mon, 30 Sep 2019 at 18:24, Dietmar Eggemann wrote: > > Hi Vincent, > > On 19/09/2019 09:33, Vincent Guittot wrote: > > these are just some comments & questions based on a code study. Haven't > run any tests with it yet. > > [...] > > > The type of sched_group has been extended to better

Re: [PATCH v3 04/10] sched/fair: rework load_balance

2019-10-01 Thread Dietmar Eggemann
On 19/09/2019 09:33, Vincent Guittot wrote: [...] > @@ -8042,14 +8104,24 @@ static inline void update_sg_lb_stats(struct lb_env > *env, > } > } > > - /* Adjust by relative CPU capacity of the group */ > + /* Check if dst cpu is idle and preferred to this group */

Re: [PATCH v5 0/3] mfd: mc13xxx: Fixes and enhancements for NXP's mc34708

2019-10-01 Thread Lukasz Majewski
Hi Lee, > On Mon, 30 Sep 2019, Lukasz Majewski wrote: > > > Dear Lee, > > > > > This patch set provides several enhancements to mc13xxx MFD family > > > of devices by introducing mc34708 as a separate device. > > > > > > This IC has dedicated pen detection feature, which allows better > > >

Re: [PATCH 2/2] pwm: stm32: add power management support

2019-10-01 Thread Fabrice Gasnier
On 10/1/19 9:04 AM, Uwe Kleine-König wrote: > Hello Fabrice, > > On Mon, Sep 30, 2019 at 05:39:11PM +0200, Fabrice Gasnier wrote: >> Add suspend/resume PM sleep ops. When going to low power, enforce the PWM >> channel isn't active. Let the PWM consumers disable it during their own >> suspend

Re: [PATCH 2/3] KVM: x86/vPMU: Reuse perf_event to avoid unnecessary pmc_reprogram_counter

2019-10-01 Thread Peter Zijlstra
On Mon, Sep 30, 2019 at 03:22:56PM +0800, Like Xu wrote: > diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c > index 46875bbd0419..74bc5c42b8b5 100644 > --- a/arch/x86/kvm/pmu.c > +++ b/arch/x86/kvm/pmu.c > @@ -140,6 +140,35 @@ static void pmc_reprogram_counter(struct kvm_pmc *pmc, > u32 type,

Re: [PATCH 0/4] USB: fix runtime PM after driver unbind

2019-10-01 Thread Johan Hovold
On Mon, Sep 30, 2019 at 01:36:03PM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 30 Sep 2019 18:12:01 +0200 > Johan Hovold escreveu: > > > A recent change in USB core broke runtime-PM after driver unbind in > > several drivers (when counting all USB serial drivers). Specifically, > > drivers

Re: [v6 PATCH] RISC-V: Remove unsupported isa string info print

2019-10-01 Thread Atish Patra
On Tue, 2019-10-01 at 00:02 -0700, Christoph Hellwig wrote: > On Mon, Sep 30, 2019 at 05:23:18PM -0700, Atish Patra wrote: > > /proc/cpuinfo should just print all the isa string as an > > information > > instead of determining what is supported or not. ELF hwcap can be > > used by the userspace to

Re: [PATCH 3/3] KVM: x86/vPMU: Add lazy mechanism to release perf_event per vPMC

2019-10-01 Thread Peter Zijlstra
On Mon, Sep 30, 2019 at 03:22:57PM +0800, Like Xu wrote: > + union { > + u8 event_count :7; /* the total number of created perf_events */ > + bool enable_cleanup :1; That's atrocious, don't ever create a bitfield with base _Bool. > + } state;

Re: [PATCH] ARM: fix __get_user_check() in case uaccess_* calls are not inlined

2019-10-01 Thread Masahiro Yamada
Hi Russell, On Tue, Oct 1, 2019 at 2:50 AM Russell King - ARM Linux admin wrote: > > On Mon, Sep 30, 2019 at 02:59:25PM +0900, Masahiro Yamada wrote: > > KernelCI reports that bcm2835_defconfig is no longer booting since > > commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING > >

[PATCH] xen/efi: have a common runtime setup function

2019-10-01 Thread Juergen Gross
Today the EFI runtime functions are setup in architecture specific code (x86 and arm), with the functions themselves living in drivers/xen as they are not architecture dependent. As the setup is exactly the same for arm and x86 move the setup to drivers/xen, too. This at once removes the need to

Re: [PATCH] ARM: fix __get_user_check() in case uaccess_* calls are not inlined

2019-10-01 Thread Masahiro Yamada
Hi Nick, On Tue, Oct 1, 2019 at 7:19 AM Nick Desaulniers wrote: > > On Sun, Sep 29, 2019 at 11:00 PM Masahiro Yamada > wrote: > > > > KernelCI reports that bcm2835_defconfig is no longer booting since > > commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING > > forcibly"): > > > >

[PATCH 0/3] Pine64+ specific hacks for RTL8211E Ethernet PHY

2019-10-01 Thread Icenowy Zheng
There're some Pine64+ boards known to have broken RTL8211E chips, and a hack is given by Pine64+, which is said to be from Realtek. This patchset adds the hack. The hack is taken from U-Boot, and it contains magic numbers without any document. Icenowy Zheng (3): dt-bindings: add binding for

[PATCH 1/3] dt-bindings: add binding for RTL8211E Ethernet PHY

2019-10-01 Thread Icenowy Zheng
From: Icenowy Zheng Some RTL8211E Ethernet PHY have an issue that needs a workaround, and a way to indicate the need of the workaround should be added. Add the binding for a DT property that indicates this workaround. Signed-off-by: Icenowy Zheng --- .../bindings/net/realtek,rtl8211e.yaml

Re: [PATCH v2] fs: affs: fix a memory leak in affs_remount

2019-10-01 Thread Markus Elfring
> The allocated memory for new_opts is only released if pare_options fail. Can the following wording be nicer? The allocated memory for the buffer “new_opts” will be released only if a call of the function “parse_options” failed. > The release for new_opts is added. * How do you think

[PATCH 3/3] arm64: allwinner: a64: dts: apply hack for RTL8211E on Pine64+

2019-10-01 Thread Icenowy Zheng
Some of the Pine64+ boards are known to use a batch of broken RTL8211E PHYs. A magic number that is in an undocumented field of a register is passed from Realtek via Pine64. Add the property to apply the hack to the Pine64+ device tree. Signed-off-by: Icenowy Zheng ---

Re: [PATCH v4 1/2] edac: Add an API for edac device to report for multiple errors

2019-10-01 Thread Borislav Petkov
On Tue, Oct 01, 2019 at 06:56:58AM +, Robert Richter wrote: > It is *not* the counterpart. The __* version already has the... Lemme cut to the chase: "Make the main workhorse the "count" functions which can log a @count of errors. Have the current APIs edac_device_handle_{ce,ue}() call the

  1   2   3   4   5   6   7   8   9   10   >