[PATCH v3] virt: acrn: Fix document of acrn_msi_inject()

2021-03-10 Thread Shuo Liu
This fixes below build warning with extra build checks. $ make W=1 ../drivers/virt/acrn/vm.c:105: warning: expecting prototype for acrn_inject_msi(). Prototype was for acrn_msi_inject() instead Fixes: c7cf8d27244f ("virt: acrn: Introduce interrupt injection interfaces") Signed-off-by

[PATCH v2] virt: acrn: Fix document of acrn_msi_inject()

2021-03-10 Thread Shuo Liu
This fixes below build warning. ../drivers/virt/acrn/vm.c:105: warning: expecting prototype for acrn_inject_msi(). Prototype was for acrn_msi_inject() instead Fixes: c7cf8d27244f ("virt: acrn: Introduce interrupt injection interfaces") Signed-off-by: Shuo Liu --- drivers/virt/acr

[tip: x86/urgent] x86/acrn: Remove redundant chars from ACRN signature

2020-08-06 Thread tip-bot2 for Shuo Liu
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 4c7bfa383efd837d4ab8f86ef05886959ed8bfe5 Gitweb: https://git.kernel.org/tip/4c7bfa383efd837d4ab8f86ef05886959ed8bfe5 Author:Shuo Liu AuthorDate:Thu, 06 Aug 2020 19:41:11 +08:00 Committer

[tip: x86/urgent] x86/acrn: Allow ACRN guest to use X2APIC mode

2020-08-06 Thread tip-bot2 for Shuo Liu
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 86d709ce30eaa65706090865662a08d7bdd30c54 Gitweb: https://git.kernel.org/tip/86d709ce30eaa65706090865662a08d7bdd30c54 Author:Shuo Liu AuthorDate:Thu, 06 Aug 2020 19:38:02 +08:00 Committer

[PATCH] x86/acrn: Remove redundant chars from ACRN signature

2020-08-06 Thread Shuo Liu
hypervisor_cpuid_base() only handles 12 chars of the hypervisor signature string but is provided with 14 chars. Remove the redundancy. Additionally, replace the user space uint32_t with preferred kernel type u32. Signed-off-by: Shuo Liu Reviewed-by: Reinette Chatre Cc: Reinette Chatre

[PATCH] x86/acrn: Allow ACRN guest to use X2APIC mode

2020-08-06 Thread Shuo Liu
to CPUID features. Originally-by: Yakui Zhao Signed-off-by: Shuo Liu Reviewed-by: Reinette Chatre Cc: Dave Hansen Cc: Sean Christopherson Cc: Dan Williams Cc: Fengwei Yin Cc: Zhi Wang Cc: Zhenyu Wang Cc: Yu Wang Cc: Reinette Chatre --- arch/x86/kernel/cpu/acrn.c | 8 ++-- 1 file

[tip: x86/urgent] x86/acrn: Remove redundant chars from ACRN signature

2020-08-06 Thread tip-bot2 for Shuo Liu
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: d60ed6f07c9c8ed2cbdacea7ab9597ad81454545 Gitweb: https://git.kernel.org/tip/d60ed6f07c9c8ed2cbdacea7ab9597ad81454545 Author:Shuo Liu AuthorDate:Thu, 06 Aug 2020 19:41:11 +08:00 Committer

[tip: x86/urgent] x86/acrn: Allow ACRN guest to use X2APIC mode

2020-08-06 Thread tip-bot2 for Shuo Liu
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: f75576c4818fdf344691ca5b791f42bf3878c3a8 Gitweb: https://git.kernel.org/tip/f75576c4818fdf344691ca5b791f42bf3878c3a8 Author:Shuo Liu AuthorDate:Thu, 06 Aug 2020 19:38:02 +08:00 Committer

Re: [PATCH 1/2] pstore: fix buffer overflow while write offset equal to buffer size

2014-03-12 Thread Shuo Liu
2014-03-13 0:50 GMT+08:00 Kees Cook : > On Wed, Mar 12, 2014 at 6:24 AM, Liu Shuo wrote: >> From: Liu ShuoX >> >> In case new offset is equal to prz->buffer_size, it won't wrap at this >> time and will return old(overflow) value next time. >> >> Signed-off-by: Liu ShuoX > > This seems correct; g