RE: [PATCH] x86/hyper-v: Zero out the VP assist page to fix CPU offlining

2019-07-17 Thread Dexuan Cui
> From: Thomas Gleixner > Sent: Wednesday, July 17, 2019 4:04 PM > To: Dexuan Cui > ... > On Thu, 4 Jul 2019, Dexuan Cui wrote: > > When a CPU is being offlined, the CPU usually still receives a few > > interrupts (e.g. reschedule IPIs), after hv_cpu_die() disables the > > HV_X64_MSR_VP_ASSIST_PA

Re: [PATCH] x86/hyper-v: Zero out the VP assist page to fix CPU offlining

2019-07-17 Thread Thomas Gleixner
Dexuan, On Thu, 4 Jul 2019, Dexuan Cui wrote: > When a CPU is being offlined, the CPU usually still receives a few > interrupts (e.g. reschedule IPIs), after hv_cpu_die() disables the > HV_X64_MSR_VP_ASSIST_PAGE, so hv_apic_eoi_write() may not write the EOI > MSR, if the apic_assist field's bit0

Re: WARNING in binder_transaction_buffer_release

2019-07-17 Thread Todd Kjos
+Hridya Valsaraju Fix posted: https://lkml.kernel.org/lkml/20190715191804.112933-1-hri...@google.com/ On Wed, Jun 12, 2019 at 1:14 PM Todd Kjos wrote: > > On Wed, Jun 12, 2019 at 12:23 PM Eric Biggers wrote: > > > > On Mon, May 20, 2019 at 07:18:06AM -0700, syzbot wrote: > > > Hello, > > > >

[PATCH] v3: staging: erofs: fix typo

2019-07-17 Thread Karen Palacio
Fix typo in Kconfig Signed-off-by: Karen Palacio diff --git a/drivers/staging/erofs/Kconfig b/drivers/staging/erofs/Kconfig index d04b798..0dcefac 100644 --- a/drivers/staging/erofs/Kconfig +++ b/drivers/staging/erofs/Kconfig @@ -88,7 +88,7 @@ config EROFS_FS_IO_MAX_RETRIES If unsure,

good day

2019-07-17 Thread Raymond Chien Kuo Fung
I am Vice Chairman of Hang Seng Bank, I have Important Matter to Discuss with you concerning my late client, Died without a NEXT OF KIN. Send me your private email for full details information. email me at (infocar...@aim.com) Mail:infocar...@aim.com Regards Dr.Raymond Chien Kuo Fung __

[PATCH] staging: rtl8723bs: core: Remove Unneeded variable ret

2019-07-17 Thread Hariprasad Kelam
Remove Unneeded variable ret . Return _FAIL . We cannot change return type of on_action_spct as its callback function. Issue identified with coccicheck. Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) di

[PATCH] staging: rtl8723bs: os_dep: change return type of rtw_suspend_ap_wow

2019-07-17 Thread Hariprasad Kelam
Change return type of rtw_suspend_ap_wow as its always return SUCCCESS. Issue found with coccicheck Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c

Limits for ION Memory Allocator

2019-07-17 Thread Alexander Popov
Hello! The syzkaller [1] has a trouble with fuzzing the Linux kernel with ION Memory Allocator. Syzkaller uses several methods [2] to limit memory consumption of the userspace processes calling the syscalls for testing the kernel: - setrlimit(), - cgroups, - various sysctl. But these methods d

Re: [PATCH] staging: android: ion: Remove unused rbtree for ion_buffer

2019-07-17 Thread Laura Abbott
On 7/12/19 4:47 AM, Lecopzer Chen wrote: ion_buffer_add() insert ion_buffer into rbtree every time creating an ion_buffer but never use it after ION reworking. Also, buffer_lock protects only rbtree operation, remove it together. Signed-off-by: Lecopzer Chen Cc: YJ Chiang Cc: Lecopzer Chen --

[PATCH v2] Staging: fbtft: Fix GPIO handling

2019-07-17 Thread Jan Sebastian Götte
Commit c440eee1a7a1 ("Staging: fbtft: Switch to the gpio descriptor interface") breaks GPIO handling. In several places, checks to only set a GPIO if it was configured ended up backwards. I have tested this fix. The fixed driver works with a ili9486 display connected to a raspberry pi via SPI. Fix

[driver-core:debugfs_cleanup 22/55] sound//soc/soc-core.c:231:2: note: in expansion of macro 'if'

2019-07-17 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup head: e1b58c1031e00b7530c136d770b15fff28fe127e commit: 404c2a99031c0ce08425dbec2e556c6a02861bbd [22/55] sound: soc: core: no need to check return value of debugfs_create functions config: x8

[PATCH] staging: rtl8192e: remove set but not used variable 'payload '

2019-07-17 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/staging/rtl8192e/rtllib_rx.c: In function rtllib_rx_InfraAdhoc: drivers/staging/rtl8192e/rtllib_rx.c:1303:6: warning: variable payload set but not used [-Wunused-but-set-variable] Reported-by: Hulk Robot Signed-off-by: YueHaibing --- driv

[PATCH] staging: rtl8723bs: remove set but not used variable 'cck_highpwr'

2019-07-17 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/staging/rtl8723bs/hal/odm_HWConfig.c: In function odm_RxPhyStatus92CSeries_Parsing: drivers/staging/rtl8723bs/hal/odm_HWConfig.c:92:5: warning: variable cck_highpwr set but not used [-Wunused-but-set-variable] It is never used and can be re

[PATCH] staging: media: sunxi: Add bool cast to value

2019-07-17 Thread Nishka Dasgupta
Typecast as bool the return value of cedrus_find_format in cedrus_check_format as the return value of cedrus_check_format is always treated like a boolean value. Signed-off-by: Nishka Dasgupta --- drivers/staging/media/sunxi/cedrus/cedrus_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH 2/2] staging: media: sunxi: Replace function cedrus_check_format()

2019-07-17 Thread Paul Kocialkowski
Hi, On Fri 05 Jul 19, 17:43, Nishka Dasgupta wrote: > On 05/07/19 3:56 PM, Paul Kocialkowski wrote: > > Hi, > > > > On Wed 03 Jul 19, 13:43, Nishka Dasgupta wrote: > > > Remove function cedrus_check_format as all it does is call > > > cedrus_find_format. > > > Rename cedrus_find_format to cedrus_

Re: [PATCH 1/2] staging: rts5208: Rewrite redundant if statement to improve code style

2019-07-17 Thread Dan Carpenter
On Sun, Jun 30, 2019 at 04:12:44PM +0200, Tobias Nießen wrote: > Am 26.06.2019 um 16:56 schrieb Dan Carpenter: > > Both these patches seem fine. > > > > On Wed, Jun 26, 2019 at 04:28:56PM +0200, Tobias Nießen wrote: > >> This commit uses the fact that > >> > >> if (a) { > >> if (b)