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

Re: [PATCH 3/4] xen/ppc: Implement early serial printk on pseries


  • To: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 22 Jun 2023 10:03:55 +0200
  • 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=5fSgQa3puLw26q+rm2itAR3cQNOG9PA/mStDcsaH9bU=; b=ikgm91nToezvv5gje0Yl6YT+WwW7XVeaQZHkAzY/U/EOfmt3opC+hKCkMWpcBMFIns2z/E2ywrboVLvpawB/bh1HlZjOhKxl3lKQktwWNrz+bVhJ/xJgRunbZ0JhHDQ6G9a1O6hvTicGALjyqpJIYiclhuHDFtdFgWgG8+jfInOMpdUbR3wOEAnYaFixTlsygWKPOjVe1PDEYE06fPpfvLm30+yLVZX+R1ZChm0ib/Hg/Z8YPmh4PGYgm5CUZTujfXdo49JvHvsqa/eZk73x/CfyWnh2RQ20NBtazqaOYVC2Moa/mFAmO8eVFEYZzNvwdwitR2djGFJgnBuq2zQcWA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hqwzJfO8b34wEWwrgH/X/c4sL1rTLt2ToxRAVmR0sHb1/azIxUgJYfDY/PhWW4Hlv9fTef988M/60STyt8GzBlLjmX8U3s+Nu7j3mWVRq84lphYmFWNdFitz5JaNW7v/zugu6ZnJMPicZKzol7qGSSXKKDNO7UNlq0wdJMADVbUFHBkL30nRJBFlDOD2B2qqZXB0klbeI6TYxiVYTsOrmBFY67dKCyiU467tfNkWpHAblfeTsKUXGGFYMHgMzFbO0B/geWOLPu9cMlRqeGvIjUcArckx21bOMD+x9QkBfbS9XyPACxZfaGbGNDTmA9UEeipPDmPT33rQSCh5tv7OUg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: tpearson@xxxxxxxxxxxxxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 22 Jun 2023 08:04:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 21.06.2023 20:21, Shawn Anastasio wrote:
> On 6/21/23 12:54 PM, Andrew Cooper wrote:
>> Given:
>>
>> #define r0  0
>>
>> do the assemblers really not understand register names?  That seems mad.
> 
> Yeah as surprising as it is, ppc64 assemblers don't handle register
> names by default. I think at some point a flag was added to GAS (and
> probably llvm? will have to check) to define them for you, but I'm not
> sure which version introduced the flag.

Isn't it that you simply need to prefix them with %? That looks to be
working for me without any special options in PPC code I maintain for
an entirely different purpose.

Jan



 


Rackspace

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