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

Re: [PATCH v2 0/3] xen/arm: Add emulation of Debug Data Transfer Registers


  • To: Julien Grall <julien@xxxxxxx>, Luca Fancellu <Luca.Fancellu@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • From: Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Date: Wed, 20 Dec 2023 14:59:38 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.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=lLibqHQl5Lh7gdw75MjkVAELP7ICyRhFymEua1ELmb0=; b=Cv/cOeh3ftDhl/LvWBaK/nfJiciMKiCOgjoWdCKJHt2c2eCXpm7ZJDuCvaRvfNcf2t/oUfg9Fc0UZ9Grk6jifLhmeGM/gdxPCiBhZ9bDNkDqgdgI4BsdUsSoO5Fj4LI3200BNg1x5C99BsUXYsH93L++lercLAgdVjpDQzSBiidF/rS+rWThxUCMy33DXTwYbIy+BiimTFdwnNInQZiOaL6zqcbF7YO8qBocVyusLChzZyjy1KG4Xbe7wAfzb7NZ2N6kznssYBZWMkols+6Vfz/XkoTLxiD1pVVnIo7XthbpkWRH82fMLyU5lAFKzLYj5mhANtTEFF5Z2dJMxLpNRg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GOAL/qqOWfQFahdPE8Xwqur4nZw/JVpvVGygR5z7sUZh95k7JENkxDKFuSrXkNLJCX7PsRdwZlRSo3XrSJpcycyrj9udzTjdPVJ5gcTg1+3C6bXYdcZ4+d77J6Js8JbmC7WkOo2pWsWQk+btG291wzArUhSN74FvVvbiHZl66UkYuX7oPbYpSUxEKmWnlE2tAWRxClIB6g0wiE8aD0bUi6//6GDap2fjwYGLLbhVi4AaNnri020/qiU5rpmr8NOITZ8TDb3alPgBGc3hWtDNcUvz44h8cPZ7No6VECcvgGguXexT5gNE/kE/oXRm3coHQURx1GZlW88sCPLe2ly12A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, "michal.orzel@xxxxxxx" <michal.orzel@xxxxxxx>, "Volodymyr_Babchuk@xxxxxxxx" <Volodymyr_Babchuk@xxxxxxxx>, "stefano.stabellini@xxxxxxx" <stefano.stabellini@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 20 Dec 2023 15:00:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 20/12/2023 13:16, Julien Grall wrote:
Hi,
Hi Julien/Luca,

On 20/12/2023 12:15, Ayan Kumar Halder wrote:

On 20/12/2023 09:43, Luca Fancellu wrote:

On 20 Dec 2023, at 09:29, Luca Fancellu <Luca.Fancellu@xxxxxxx> wrote:

Hi Ayan,

Hi Luca,

Thanks for looking into this.


On 18 Dec 2023, at 20:29, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx> wrote:

Hi,

Refer https://lore.kernel.org/all/alpine.DEB.2.22.394.2312071341540.1265976@ubuntu-linux-20-04-desktop/T/
for the previous discussion on this issue.

Also, the linux earlycon hvc driver has been fixed.
See https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/commit/?h=tty-next&id=0ec058ece2f933aed66b76bd5cb9b5e6764853c3

Changes from v1:-
1. Split the change across 3 patches as per the design consensus.

Ayan Kumar Halder (3):
xen/arm: Add emulation of Debug Data Transfer Registers
xen: arm: Introduce CONFIG_PARTIAL_EMULATION
xen/arm: Introduce "partial-emulation" xen command line option
I’m a bit puzzled about the order of these changes, wouldn’t be better to Introduce the partial emulation Kconfig and command line args in the same
patch together with something that uses it?

You have read my mind. :) I wan't sure about how to do the split...


I think here you wanted to keep Michal patch untouched, but I feel that a correct split for this serie would be maybe introducing Kconfig, boot args and
one of the arm64/arm32 emulation, and on a second patch the other one
(Or vice-versa)?
  ^^^^^^^-----> for the vice-versa, I meant 1st patch Arm64, 2nd Arm32
  or vice-versa.

I wanted to keep Michal's change for the arm64 as it is. And introduce Kconfig and command line in separate patches.

I agree and the Kconfig/command line should be a separate patches. However, I think it should be introduced first rather than last (I don't want the code to be always enabled even temporiraly). So my preferred option would be...


But I agree, it does not look clean.


I am fine to follow your suggestion ie (Option 1)

Patch 1 ---> arm64 changes + Kconfig + cmd_line (authored by Michal)

Patch 2 ---> arm32 changes (which will use the Kconfig and cmd_line introduced before)


Alternatively, I am thinking like this (Option 2)

Patch 1 --> arm64 changes (authored by Michal)

Patch 2 --> arm32 changes

Patch 3 ---> Kconfig + cmd_line (which will touch patch 1 and 2).


Option 3

Patch 1 -> Kconfig + cmd_line
Patch 2 -> Arm64 changes
Patch 3 -> Arm32 changes

I like this option and will go with this.

If you can review the current patches, that will be great.

I will incorporate your feedback while sending v3.

- Ayan


I could also settle with option 1.

Cheers,




 


Rackspace

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