[PATCH v3] Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic

2018-05-21 Thread Sunil Muthuswamy
In the VM mode on Hyper-V, currently, when the kernel panics, an error code and few register values are populated in an MSR and the Hypervisor notified. This information is collected on the host. The amount of information currently collected is found to be limited and not very actionable. To gather

Re: [PATCH 03/33] Staging: gdm724x: use match_string() helper

2018-05-21 Thread Andy Shevchenko
On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used intead of open coded variant. > + ret = match_string((const char **)DRIVER_STRING, > + TTY_MAX_COUNT, tty->driver->driver_n

[PATCH] staging: rtl8192e: rtllib_tx: fix spelling issue.

2018-05-21 Thread Davide Spataro
Fix a spelling problem. Issue found by checkpatch.pl. Signed-off-by: Davide Spataro --- drivers/staging/rtl8192e/rtllib_tx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index fc88d

[PATCH v3] staging: lustre: Change return type to vm_fault_t

2018-05-21 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. Ref-> commit 1c8f422059ae ("mm: change return type to vm_fault_t") was adde

Re: [PATCH v2] staging: lustre: Change return type to vm_fault_t

2018-05-21 Thread Souptick Joarder
On Sun, May 20, 2018 at 6:12 PM, Greg KH wrote: > On Thu, May 17, 2018 at 12:27:11AM +0530, Souptick Joarder wrote: >> Use new return type vm_fault_t for fault handler. For >> now, this is just documenting that the function returns >> a VM_FAULT value rather than an errno. Once all instances >> ar

RE: [PATCH v1] Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic

2018-05-21 Thread Sunil Muthuswamy
The v2 patch that I sent was prior to responding to this thread. I am sending out v3 which addresses the comments here. > -Original Message- > From: Greg KH > Sent: Saturday, May 19, 2018 12:01 AM > To: Sunil Muthuswamy > Cc: de...@linuxdriverproject.org; Haiyang Zhang > ; Stephen Hemmi

[PATCH 03/33] Staging: gdm724x: use match_string() helper

2018-05-21 Thread Yisheng Xie
match_string() returns the index of an array for a matching string, which can be used intead of open coded variant. Cc: Greg Kroah-Hartman Cc: Quytelda Kahja Cc: de...@driverdev.osuosl.org Signed-off-by: Yisheng Xie --- drivers/staging/gdm724x/gdm_tty.c | 16 1 file changed, 4

[PATCH] HV: Fix definition of struct hv_vp_assist_page.

2018-05-21 Thread Tianyu Lan
The struct hv_vp_assist_page was defined incorrectly. The "vtl_control" should be u64[3], "nested_enlightenments_control" should be a u64 and there is 7 reserved bytes following "enlighten_vmentry". This patch is to fix it. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/hyperv-tlfs.h | 9 +++