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

Re: [PATCH] xen/arm64: Zero the top 32 bits of gp registers on entry...


  • To: Michal Orzel <michal.orzel@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 15 Dec 2021 11:32:59 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fNY97RAWAvq49SPTtqhfLbGCOmtlRioiKDhBUo1Ak8Y=; b=OYKZ9RFxP5MQ2uMw+Jxq+Yb57KhMGZpmO3xYjhC2cwgqiM5mdfVAG365Sr1QEUVCR+QDgEgDxglxpG/nJxrFzU2l+6N0WDyApWSL/3Dqc6s7S1Ea4HtzzW+VYwiz5BrW0kglffOL6v3HSBHwp8CYhrZMFajpMdHCO0nrywGeQogCZVqc71Vb501CtzxAUV3Ci85sP7IN+/frC4BtZlgeoKNLJkdXF6Rn5HijG0lnO3ZzGBWIyppmEZ+Fu/55WVyOvlsKBoEPkeCrySgzoAokNX0pqbiqpDur1H0TMBcd5VVSHi/w2romRSIaQg55Ww3ytJxPxSHMflipgVq94Vl/Ig==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fAK28v7D0zIw+kCvuWgAIjrWGnDNIrI2JJP7/N7FwnVRYEHHSvGqWTSjSIm/5OfSFH5eTpufAGKDJc0Wda5tEGyiT4dAdsNtSMm+UwR18xaANLJ/O4Y+6GDyCOsDxpnfgfJUUAVeIefJAgRPzEXucq2WezXw773R+my5WC99YhK8bOwbcA7h1YlNS3RP8TSJV5K9vqjva3sCuMYdv7pK5BKGCNGct2det3fJh5VCG3PtN/N03DAwQgvj5nYtRFHoe0TQBWJ/t6biGJBWrAxBynn/ebVVK6J5vBq1q9Zo6Z5Us0cjyJRlJTuEZqp2gv2HDBAJh4pbCz0ZG+JR5G7c8g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Wed, 15 Dec 2021 10:33:21 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

(Re-sending an abridged version, as apparently spam filters didn't like
the original message with more retained context; I'll have to see whether
this one also isn't liked. Sorry.)

On 15.12.2021 10:48, Michal Orzel wrote:
> This patch and the problem it solves is about clearing top 32bits of all gp 
> registers so not only x0,x1.

That's well understood. Yet for everything still in registers simply
using mov ahead of the respective push (as you had it) is still
preferable imo.

Jan




 


Rackspace

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