Re: [PATCH] arm64: KVM: Reject non-compliant HVC calls from guest kernel

2017-08-08 Thread Marc Zyngier
On 08/08/17 08:36, Christoffer Dall wrote: > Hi Shanker, > > On Mon, Aug 07, 2017 at 02:03:28PM -0500, Shanker Donthineni wrote: >> The SMC/HVC instructions with an immediate value non-zero are not compliant >> according to 'SMC calling convention system software document'. Add a >> validation

Re: [PATCH] arm64: KVM: Reject non-compliant HVC calls from guest kernel

2017-08-08 Thread Marc Zyngier
On 08/08/17 08:36, Christoffer Dall wrote: > Hi Shanker, > > On Mon, Aug 07, 2017 at 02:03:28PM -0500, Shanker Donthineni wrote: >> The SMC/HVC instructions with an immediate value non-zero are not compliant >> according to 'SMC calling convention system software document'. Add a >> validation

Re: [PATCH] arm64: KVM: Reject non-compliant HVC calls from guest kernel

2017-08-08 Thread Christoffer Dall
Hi Shanker, On Mon, Aug 07, 2017 at 02:03:28PM -0500, Shanker Donthineni wrote: > The SMC/HVC instructions with an immediate value non-zero are not compliant > according to 'SMC calling convention system software document'. Add a > validation check in handle_hvc() to avoid malicious HVC calls

Re: [PATCH] arm64: KVM: Reject non-compliant HVC calls from guest kernel

2017-08-08 Thread Christoffer Dall
Hi Shanker, On Mon, Aug 07, 2017 at 02:03:28PM -0500, Shanker Donthineni wrote: > The SMC/HVC instructions with an immediate value non-zero are not compliant > according to 'SMC calling convention system software document'. Add a > validation check in handle_hvc() to avoid malicious HVC calls