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

Re: [PATCH v4 2/5] xen/riscv: introduce trap_init()


  • To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 27 Feb 2023 13:50:34 +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=MY8LEK2B6hlb+oj2c9Iw4wZ82eXPqpeP2A9YpklpZLw=; b=fO7S76DqNvwnxUKjhNKZBZy8KkSv1vQBC8zr4BeJTGyZN3Y9JlXwWIJUjoJvFCHEkpo3iGC9F4w/GMIswnxA2u/fiDAnAwYH0mZahCHNtxcWCIDelk+q4ivnnXV89HSRAunSDak4a911IW7vOwZt7o7dTg+tSMPLIo5Fh1NYAStYZBCWLMBd2j7CITBU0CL5CJg1YBhN2Wn9vtXVG/rGEmSuXbL0Oy1tlBZp2yrJU9wJ5UitS+ZBGbLdC8mDy+HgpWlsEaNS08TjL5x+O8GVJ60D2BQUYS3r8vOJa4knmoyDTS6Jqeg+0PE3TvxVDrtawXPWe37DAab9iPVjUXX4vQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QzOoGP09TyknkK86hONgnd3WusulZfODsiaskFohOrtwqHJzgUlKelJ/4TeUn/8rgr83Db+jP8pAV1Sx2LqhgWMeFD9rkMaHuHXgg8EMHo6t3xpXhTcqF+b1akPv/WBQJ4b8fq3hpMUwou8tFMoCmdfkmmrZo4ImD7rMi8rOxvw30Du2Gk2C9uZ2jn4sDYFT9K1dNM2o8l9gZTMo8QAZ1HQOt2iyWPwy6NcLRYpu6qnoh023fTBl82zzQmnutKkRNdNc/5DChQ9M+xPt4QWNTxq/nbL3Jg8mLKUrukL8gwanRyKR8H87x7jEgl/nbvIMIt2OvjV9WOyWHBMpyhqkKQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Julien Grall <julien@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Gianluca Guida <gianluca@xxxxxxxxxxxx>, Bob Eshleman <bobbyeshleman@xxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 27 Feb 2023 12:50:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 24.02.2023 12:35, Oleksii Kurochko wrote:
> @@ -11,6 +13,8 @@ void __init noreturn start_xen(void)
>  {
>      early_printk("Hello from C env\n");
>  
> +    trap_init();
> +
>      for ( ;; )
>          asm volatile ("wfi");

Along the lines of what Andrew has said there - it's hard to see
how this can come (both code flow and patch ordering wise) ahead
of clearing .bss.

Jan




 


Rackspace

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