[PATCH] staging: wfx: add gcc extension __force cast

2019-11-08 Thread Jules Irenge
Add gcc extension __force and __le32 cast to fix warning issued by Sparse tool."warning: cast to restricted __le32" Signed-off-by: Jules Irenge --- drivers/staging/wfx/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wfx/debug.c

Re: [PATCH v1 04/10] vfio/type1: Prepare is_invalid_reserved_pfn() for PG_reserved changes

2019-11-08 Thread David Hildenbrand
On 08.11.19 19:29, Dan Williams wrote: On Fri, Nov 8, 2019 at 2:22 AM David Hildenbrand wrote: On 08.11.19 08:14, David Hildenbrand wrote: On 08.11.19 06:09, Dan Williams wrote: On Thu, Nov 7, 2019 at 2:07 PM David Hildenbrand wrote: On 07.11.19 19:22, David Hildenbrand wrote: Am

Re: [PATCH 01/16] staging: exfat: use prandom_u32() for i_generation

2019-11-08 Thread Valdis Klētnieks
On Fri, 08 Nov 2019 22:32:39 +0100, Arnd Bergmann said: > Similar to commit 46c9a946d766 ("shmem: use monotonic time for i_generation") > we should not use the deprecated get_seconds() interface for i_generation. > > prandom_u32() is the replacement used in other file systems. > > Signed-off-by:

[PATCH 01/16] staging: exfat: use prandom_u32() for i_generation

2019-11-08 Thread Arnd Bergmann
Similar to commit 46c9a946d766 ("shmem: use monotonic time for i_generation") we should not use the deprecated get_seconds() interface for i_generation. prandom_u32() is the replacement used in other file systems. Signed-off-by: Arnd Bergmann --- drivers/staging/exfat/exfat_super.c | 4 ++-- 1

[PATCH 00/16] drivers: y2038 updates

2019-11-08 Thread Arnd Bergmann
These are updates to devidce drivers and file systems that for some reason or another were not included in the kernel in the previous y2038 series. I've gone through all users of time_t again to make sure the kernel is in a long-term maintainable state. Posting these as a series for better

RE: [PATCH v5 3/8] arm64: hyperv: Add memory alloc/free functions for Hyper-V size pages

2019-11-08 Thread Michael Kelley
From: Marc Zyngier Sent: Thursday, November 7, 2019 6:20 AM > > +/* > > + * Functions for allocating and freeing memory with size and > > + * alignment HV_HYP_PAGE_SIZE. These functions are needed because > > + * the guest page size may not be the same as the Hyper-V page > > + * size. And while

Re: kernel BUG at arch/x86/kvm/mmu.c:LINE! (2)

2019-11-08 Thread Paolo Bonzini
#syz dup: KASAN: slab-out-of-bounds Read in handle_vmptrld On 08/11/19 20:14, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:    847120f8 Merge branch 'for-linus' of > git://git.kernel.org/.. > git tree:   upstream > console output:

kernel BUG at arch/x86/kvm/mmu.c:LINE! (2)

2019-11-08 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:847120f8 Merge branch 'for-linus' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12d60164e0 kernel config: https://syzkaller.appspot.com/x/.config?x=8c5e2eca3f31f9bf

Re: [PATCH v1 04/10] vfio/type1: Prepare is_invalid_reserved_pfn() for PG_reserved changes

2019-11-08 Thread Dan Williams
On Fri, Nov 8, 2019 at 2:22 AM David Hildenbrand wrote: > > On 08.11.19 08:14, David Hildenbrand wrote: > > On 08.11.19 06:09, Dan Williams wrote: > >> On Thu, Nov 7, 2019 at 2:07 PM David Hildenbrand wrote: > >>> > >>> On 07.11.19 19:22, David Hildenbrand wrote: > > > > Am

Re: [PATCH] staging: most: Convert to the common vmalloc memalloc

2019-11-08 Thread Greg Kroah-Hartman
On Fri, Nov 08, 2019 at 05:45:28PM +0100, Takashi Iwai wrote: > The recent change (*) in the ALSA memalloc core allows us to drop the > special vmalloc-specific allocation and page handling. This patch > coverts to the common code. > (*) 1fe7f397cfe2: ALSA: memalloc: Add vmalloc buffer allocation

[PATCH] staging: most: Convert to the common vmalloc memalloc

2019-11-08 Thread Takashi Iwai
The recent change (*) in the ALSA memalloc core allows us to drop the special vmalloc-specific allocation and page handling. This patch coverts to the common code. (*) 1fe7f397cfe2: ALSA: memalloc: Add vmalloc buffer allocation support 7e8edae39fd1: ALSA: pcm: Handle special

[PATCH 1/2] staging: most: configfs: move configfs subsystems to container struct

2019-11-08 Thread Christian Gromm
This patch moves the declarations of the configfs subsystems to a superordinate container structure. This is done to get access to private subsystem data. Signed-off-by: Christian Gromm --- drivers/staging/most/configfs.c | 80 +++-- 1 file changed, 45

[PATCH 0/2] staging: most: prevent module removal if configfs directory is populated

2019-11-08 Thread Christian Gromm
Currently the core module does not hold any reference to component modules. Hence, a component could be unloaded from the system anytime. Even if the configuration interface is still being populated with configfs items/groups. User space then has no chance to fix the usage count by calling rmdir

[PATCH 2/2] staging: most: block module removal while having active configfs items

2019-11-08 Thread Christian Gromm
This patch avoids that core component modules are being unloaded while the related configfs interface has active items in its directories. It is needed to prevent the situation where the core module cannot be unloaded anymore, because the reference count 'used by' indicates that the module is

Re: [PATCH v2] staging: octeon: fix missing a blank line after declaration

2019-11-08 Thread Matthew Wilcox
I would like to reiterate my opinion that this checkpatch warning is bullshit. For large functions, sure. For this kind of function, it's a waste of space. On Fri, Nov 08, 2019 at 02:23:29PM +, Valery Ivanov wrote: > This patch fixes "WARNING: Missing a blank line after declarations" >

[PATCH v2] staging: octeon: fix missing a blank line after declaration

2019-11-08 Thread Valery Ivanov
This patch fixes "WARNING: Missing a blank line after declarations" Issue found by checkpatch.pl Signed-off-by: Valery Ivanov --- Changes in v2: - fix huge indentation in commit message --- drivers/staging/octeon/octeon-stubs.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 0/2] Add initial support for slimport anx7625

2019-11-08 Thread Xin Ji
Hi all, The following series add initial support for the Slimport ANX7625 transmitter, a ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device. This is the initial version, any mistakes, please let me know, I will fix it in the next series. Thanks, Xin Xin Ji (2):

[PATCH v4 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2019-11-08 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. The ANX7625 can support both USB Type-C PD feature and MIPI DSI/DPI to DP feature. This driver only enabled MIPI DSI/DPI to DP feature. Signed-off-by: Xin Ji

Re: [PATCH v3 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2019-11-08 Thread Xin Ji
Hi Pi-Hsun Shih, I'll fix the issue on version v4. Thanks, Xin On Fri, Nov 08, 2019 at 02:50:36PM +0800, Pi-Hsun Shih wrote: > Hi, > > On Tue, Oct 15, 2019 at 5:52 PM Xin Ji wrote: > > > > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > > for portable device. It

[PATCH AUTOSEL 4.19 187/205] android: binder: no outgoing transaction when thread todo has transaction

2019-11-08 Thread Sasha Levin
From: Sherry Yang [ Upstream commit 44b73962cb25f1c8170ea695c4564b05a75e1fd4 ] When a process dies, failed reply is sent to the sender of any transaction queued on a dead thread's todo list. The sender asserts that the received failed reply corresponds to the head of the transaction stack. This

Re: [PATCH v3 1/4] iio: adc: Add support for AD7091R5 ADC

2019-11-08 Thread Dan Carpenter
On Thu, Nov 07, 2019 at 05:07:56PM +0200, Beniamin Bia wrote: > +static int ad7091r_set_mode(struct ad7091r_state *st, enum ad7091r_mode mode) > +{ > + int ret, conf; > + > + switch (mode) { > + case AD7091R_MODE_SAMPLE: > + conf = 0; > + break; > + case

[PATCH v4 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2019-11-08 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI to DisplayPort 1.3 4K. You can add support to your board with binding. Example: anx7625_bridge: encoder@58 { compatible = "analogix,anx7625"; reg =

Re: [PATCH v1 04/10] vfio/type1: Prepare is_invalid_reserved_pfn() for PG_reserved changes

2019-11-08 Thread David Hildenbrand
On 08.11.19 08:14, David Hildenbrand wrote: On 08.11.19 06:09, Dan Williams wrote: On Thu, Nov 7, 2019 at 2:07 PM David Hildenbrand wrote: On 07.11.19 19:22, David Hildenbrand wrote: Am 07.11.2019 um 16:40 schrieb Dan Williams : On Thu, Oct 24, 2019 at 5:12 AM David Hildenbrand wrote: