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

Re: [PATCH] xen/arm: Fix arm32 build failure when early printk is enabled


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Thu, 29 Feb 2024 11:07:05 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=aM7XNxdFsKX0tite25WaThEAVbSQuAhgx4TeZHguDqQ=; b=B0JiKpFaJZCbWpeQYgC1KfmOa5UeRzFDFjbezova2CnGSgIVhVUODrnvtqrEyS1qxZKt4UUtPe+ICMyAC+uT7RN3xXVs8P4MsALogTs10kO8GAPjlM3+f3gBko8NB35iVpEpn0BqSk0NCgrAHFHVPKLrhxnOxQIMOpuJc3BxftT6/78CGaZj+fkP2ldOAt428UL+6i2IxV35dsgd/goYJvGiPuohrNN0Agnh1nuwqlGoke4MJbS3YGAlbdehlJS7mV07hTXSHSV89QqdQvDyfu33X6crxFAFvZ9Bw0F2wqAK5CIAf/5l4sLo4Q0vcEXzOr+1LOcz0bPDVko/oRMcOQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OLHOJfkeThvy+wjs4tOSNKWnp5XJhKR5svN6Gm58zE3XbkTjTmo/MiG4vTe8cyRLF1xnTddxeH5sLGnKB0YRRJUF9w7+9mT8fwXW9npqDJciFI19BMPB4yaLCYrQ5sA2h9ckA9j3SPv0ZtkHp9b2JTN6yh8QSVg3xj8BarP3krhGCKGRYjpdWRsrH+Xaahaj/zlGLC0lXRXJ1k67aO/IQK6llXko2KbSS3/kO9b8rO+nVZXLZ+8vy8DaVXY48ELNofcdWTX48fksTQgGA0l2X1OUGEPbX/q2/P1HA6maYceXXjSo0cKj6hB8/WBFANa9CRgh7ZbZfILXpyrzMPW7bA==
  • Cc: Julien Grall <julien@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Bertrand Marquis" <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Thu, 29 Feb 2024 10:07:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 28/02/2024 23:27, Stefano Stabellini wrote:
> 
> 
> On Wed, 28 Feb 2024, Michal Orzel wrote:
>> Hi Julien,
>>
>> On 28/02/2024 12:42, Julien Grall wrote:
>>>
>>>
>>> Hi Michal,
>>>
>>> On 28/02/2024 10:35, Michal Orzel wrote:
>>>> Commit 0441c3acc7e9 forgot to rename FIXMAP_CONSOLE to FIX_CONSOLE in
>>>> TEMPORARY_EARLY_UART_VIRTUAL_ADDRESS macro. This results in a build
>>>> failure on arm32, when early printk is enabled:
>>>> arch/arm/arm32/mmu/head.S:311: Error: invalid operands (*UND* and *ABS* 
>>>> sections) for `*'
>>>
>>> Good catch! Somewhat related I wonder whether we should add earlyprintk
>>> testing in gitlab?
>> I thought about adding this and I think we should at least have build jobs 
>> (hypervisor only, no toolstack)
>> selecting early printk. When it comes to testing if early printk works, I'm 
>> not sure. It'd be nice
>> but FWIR we have limited bandwidth.
>>
>> @Stefano, what's your opinion?
> 
> I think it would be a good and quick test to have. To save testing
> bandwidth I think we should reduce the amount of debug/non-debug
> variations of the same tests that we have.
Yes, I suggested that some time ago. We could keep both versions for generic 
tests,
but remove the non-debug version (unless you prefer to do the opposite) for:
Arm64:
- staticmem
- staticheap
- shared-mem
- boot-cpupools
Arm32:
- gzip
- without-dom0

This would save us some bandwidth that we could use for testing other features 
(e.g. early printk).

~Michal




 


Rackspace

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