[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 4/7] xen/riscv: introduce decode_cause() stuff
- To: Oleksii <oleksii.kurochko@xxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 22 Mar 2023 16:21:26 +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=Ai43Huxm1AZlXL/xvcOxgS3i7ZVwjIIUFpPEH0FGZoU=; b=lfe0NnPjAXBT6Otg24UXX9aBsioDSyqLw/N3BMSa+J2Oq8rl3ZH3D4+8B+BVoQMJeXISnMRihgBHRhyJMnUxBDeEq5ME4uzuA/WbHUiKaY4FPT6wJyU7Lxk6kk1v/GU7k7IerPIXkI6Sy8vjQkATZ29/GZb22XW//kFsyK3Za+XBLFNpkRjjTW4tjf7M7/evJtpXBfs9C1jB71U9YkwS4B21JLBs6L87ARGpp9QOT3P7M1Y2q/31tfIA8LtdhcyQqC2JxwUWJaunDkoDtT/CkEL+pRqgMo8sp5LRVzK5wi+KQoKNLn8ohc3QdCMIce4IGEUpMfBVs1Ev3aM9oEM8/g==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K4rsEGjijkEPyweEIbw6xGlQg7FGxdBIYiP/ChSqmsMr/EFQszCpEGGBYUFgtMJqfrjlFtvQTlecZEUs3MeGWvsvI8q4k4eiz9u6RU0OmF4t4NJFj1ACWbLTGS1XuQaBRHJhXxhZa5EDPdRfnarBLpCkyusCUHb7K0xLfi/m1rqp6rETahdMXEO61cBYK3Fadrm5daXNlvT7Dp4uWXGC9p0KjfpwXY705d/ULOz3a2pd98q1JQpVDjGeYvrXA7BG+l+91F34SE/Xca7tRbVkbvGmy5TeOZN9M75+NXCEDBHCcRM8toKPHzs827QeU0xQ+a8Z+DqZ70AF5pjd6DyeyA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: 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>, Julien Grall <julien@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 22 Mar 2023 15:21:35 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 22.03.2023 15:59, Oleksii wrote:
> Then it looks like enabling of MMU should go first but in that case
> this not clear what to do with BUG(), WARN() etc as for them it is
> needed excpetion handling functionality and MMU related code uses the
> macros.
It's still possible to reconsider and do the page table building
and MMU enabling before entering C. Or to have all that in a separate
source/object file, which is prohibited to use about all of the
infrastructure. And of course the option of (re-)applying relocations
also continues to exist.
Jan
|