[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 04/10] xsm: convert xsm_ops hook calls to alternative call


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 15 Jul 2021 13:20:06 -0400
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626369610; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=GvfA/TmdesAxG38D5yZx/h99NwUqJPeF51Fjnjvl2Tw=; b=eEtqsdtQ9g4nv3Wto0Csf4qziLx2bd/Siy/gLhcUvGqgIQw94eKiqi1iIpuyPUBFPUsakZ3E3iwr7AR9bli3q9OCr0xdVtAMHQdnPVlD4j4SWAQcQrsBjRFBR3JFxOFgFoKOdaMYiQ33+PP9+p++/H/WVWlc+yiAT40B0Otr638=
  • Arc-seal: i=1; a=rsa-sha256; t=1626369610; cv=none; d=zohomail.com; s=zohoarc; b=aIbahkPSJsu/3BbAwxBPDQSrCj9Rqtc3Gx4NqLzS1CI3uuxdCWrHW5+bYitsKZUt0DDvFboG/HreGG5Jh20+EaYDHFvxzndWgvrPEkC0BIp/F+X7AVgqXQdBh2Luf70iFry16uv0/aJSJTLTDTIvA7T683Tct9VlnoYx9RyCNyc=
  • Cc: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
  • Delivery-date: Thu, 15 Jul 2021 17:20:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 7/12/21 7:44 PM, Andrew Cooper wrote:
> On 12/07/2021 21:32, Daniel P. Smith wrote:
>> To reduce retpolines convert all the pointer function calls of the
>> xsm_ops hooks over to the alternative_call infrastructure.
>>
>> Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
>> ---
>>  xen/include/xsm/xsm.h | 195 +++++++++++++++++++++---------------------
>>  1 file changed, 99 insertions(+), 96 deletions(-)
>>
>> diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h
>> index a8805f514b..a39b5dc42f 100644
>> --- a/xen/include/xsm/xsm.h
>> +++ b/xen/include/xsm/xsm.h
>> @@ -15,6 +15,9 @@
>>  #ifndef __XSM_H__
>>  #define __XSM_H__
>>  
>> +#ifdef CONFIG_XSM
>> +#include <xen/alternative-call.h>
>> +#endif
> 
> This guard needs dropping to fix the build on ARM.

Ack

> Otherwise, Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> 

v/r,
dps



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.