xen/arm: Add emulation of Debug Data Transfer Registers
v2 cover xen/arm: Add emulation of Debug Data Transfer Registers
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
docs/misc/xen-command-line.pandoc | 7 +++++ xen/arch/arm/Kconfig | 8 +++++ xen/arch/arm/arm64/vsysreg.c | 32 ++++++++++++++++--- xen/arch/arm/include/asm/arm64/hsr.h | 3 ++ xen/arch/arm/include/asm/cpregs.h | 2 ++ xen/arch/arm/include/asm/regs.h | 6 ++++ xen/arch/arm/include/asm/traps.h | 4 +++ xen/arch/arm/traps.c | 21 +++++++++++++ xen/arch/arm/vcpreg.c | 47 +++++++++++++++++++++++----- 9 files changed, 117 insertions(+), 13 deletions(-)
Signature · 1 line
2.25.1
Hi Ayan,
Quoted 10 lines · Ayan Kumar Halder
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
Quoted 7 lines
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: IntroduceCONFIG_PARTIAL_EMULATIONxen/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?
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)?
If there is something that I’m missing let me know.
Quoted 16 lines
docs/misc/xen-command-line.pandoc | 7 +++++ xen/arch/arm/Kconfig | 8 +++++ xen/arch/arm/arm64/vsysreg.c | 32 ++++++++++++++++--- xen/arch/arm/include/asm/arm64/hsr.h | 3 ++ xen/arch/arm/include/asm/cpregs.h | 2 ++ xen/arch/arm/include/asm/regs.h | 6 ++++ xen/arch/arm/include/asm/traps.h | 4 +++ xen/arch/arm/traps.c | 21 +++++++++++++ xen/arch/arm/vcpreg.c | 47 +++++++++++++++++++++++----- 9 files changed, 117 insertions(+), 13 deletions(-)Signature · 1 line
2.25.1
Quoted 24 lines · Luca Fancellu
Hi Ayan,
Quoted 10 lines · Ayan Kumar Halder
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=0ec058ece2f933aed66b76bd5cb9b5e6764853c3Quoted 7 lines
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: IntroduceCONFIG_PARTIAL_EMULATIONxen/arm: Introduce "partial-emulation" xen command line option
Quoted 8 lines
I’m a bit puzzled about the order of these changes, wouldn’t be better to Introduce the partial emulation
Kconfigand command line args in the same patch together with something that uses it?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.
Quoted 20 lines
If there is something that I’m missing let me know.
Quoted 16 lines
docs/misc/xen-command-line.pandoc | 7 +++++ xen/arch/arm/Kconfig | 8 +++++ xen/arch/arm/arm64/vsysreg.c | 32 ++++++++++++++++--- xen/arch/arm/include/asm/arm64/hsr.h | 3 ++ xen/arch/arm/include/asm/cpregs.h | 2 ++ xen/arch/arm/include/asm/regs.h | 6 ++++ xen/arch/arm/include/asm/traps.h | 4 +++ xen/arch/arm/traps.c | 21 +++++++++++++ xen/arch/arm/vcpreg.c | 47 +++++++++++++++++++++++----- 9 files changed, 117 insertions(+), 13 deletions(-)Signature · 1 line
2.25.1
Quoted 4 lines · Luca Fancellu
Quoted 4 lines · Luca Fancellu
Hi Ayan,
Hi Luca,
Thanks for looking into this.
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines · Ayan Kumar Halder
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=0ec058ece2f933aed66b76bd5cb9b5e6764853c3Changes from v1:-
1. Split the change across 3 patches as per the design consensus.
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Ayan Kumar Halder (3):
xen/arm: Add emulation of Debug Data Transfer Registers
xen: arm: IntroduceCONFIG_PARTIAL_EMULATIONxen/arm: Introduce "partial-emulation" xen command line optionI’m a bit puzzled about the order of these changes, wouldn’t be better to Introduce the partial emulation
Kconfigand 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...
Quoted 7 lines
Quoted 5 lines
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.
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).
Let me know what you (+ Stefano, Julien, Bertrand) think about the split.
I don't have a strong preference on how the split should be done.
- Ayan
Quoted 17 lines
Quoted 17 lines
If there is something that I’m missing let me know.
Quoted 15 lines
docs/misc/xen-command-line.pandoc | 7 +++++ xen/arch/arm/Kconfig | 8 +++++ xen/arch/arm/arm64/vsysreg.c | 32 ++++++++++++++++--- xen/arch/arm/include/asm/arm64/hsr.h | 3 ++ xen/arch/arm/include/asm/cpregs.h | 2 ++ xen/arch/arm/include/asm/regs.h | 6 ++++ xen/arch/arm/include/asm/traps.h | 4 +++ xen/arch/arm/traps.c | 21 +++++++++++++ xen/arch/arm/vcpreg.c | 47 +++++++++++++++++++++++----- 9 files changed, 117 insertions(+), 13 deletions(-)Signature · 1 line
2.25.1
Quoted 18 lines
I wanted to keep Michal's change for the arm64 as it is. And introduce
Kconfigand command line in separate patches.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
Kconfigandcmd_lineintroduced before)Alternatively, I am thinking like this (Option 2)
Patch 1 --> arm64 changes (authored by Michal)
Quoted 7 lines
Patch 2 --> arm32 changes
Patch 3 --->
Kconfig+cmd_line(which will touch patch 1 and 2).Let me know what you (+ Stefano, Julien, Bertrand) think about the split.
I don't have a strong preference on how the split should be done.
The maintainers will decide, but I feel that with option 2, there will be, in the tree, a state where the design decision won’t be fulfilled, so with patch 1 and 2 we will have partial emulation unconditionally.
Instead with option 1 we will have always a proper state, which will be arm64 conditional partial emulation with patch 1 and arm32 conditional partial emulation with patch 2.
Maybe maintainers will decide if that matters or not.
Cheers,
Luca
Hi,
Quoted 36 lines · Ayan Kumar Halder
Quoted 4 lines · Luca Fancellu
Quoted 4 lines · Luca Fancellu
Hi Ayan,
Hi Luca,
Thanks for looking into this.
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines · Ayan Kumar Halder
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=0ec058ece2f933aed66b76bd5cb9b5e6764853c3Changes from v1:-
1. Split the change across 3 patches as per the design consensus.Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Ayan Kumar Halder (3):
xen/arm: Add emulation of Debug Data Transfer Registers
xen: arm: IntroduceCONFIG_PARTIAL_EMULATIONxen/arm: Introduce "partial-emulation" xen command line optionI’m a bit puzzled about the order of these changes, wouldn’t be better to Introduce the partial emulation
Kconfigand 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...
Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
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
Kconfigand 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...
Quoted 11 lines
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
Kconfigandcmd_lineintroduced before)
Quoted 7 lines
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 could also settle with option 1.
Cheers,
Signature · 1 line
Julien Grall
Quoted 1 line · Julien Grall
Hi,
Hi Julien/Luca,
Quoted 66 lines · Ayan Kumar Halder
Quoted 36 lines · Luca Fancellu
Quoted 4 lines
Quoted 4 lines · Luca Fancellu
Hi Ayan,
Hi Luca,
Thanks for looking into this.
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines · Ayan Kumar Halder
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=0ec058ece2f933aed66b76bd5cb9b5e6764853c3Changes from v1:-
1. Split the change across 3 patches as per the design consensus.Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Ayan Kumar Halder (3):
xen/arm: Add emulation of Debug Data Transfer Registers
xen: arm: IntroduceCONFIG_PARTIAL_EMULATIONxen/arm: Introduce "partial-emulation" xen command line optionI’m a bit puzzled about the order of these changes, wouldn’t be better to Introduce the partial emulation
Kconfigand 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...
Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
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
Kconfigand 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...
Quoted 17 lines
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
Kconfigandcmd_lineintroduced before)Alternatively, I am thinking like this (Option 2)
Patch 1 --> arm64 changes (authored by Michal)
Patch 2 --> arm32 changes
Quoted 8 lines
Quoted 1 line
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
Quoted 5 lines
I could also settle with option 1.
Cheers,