[PATCH 0/6] m68k: Overhaul of MOVEC instruction to support exception/MSP

BALATON Zoltan posted 6 patches 3 years, 2 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1612137712.git.balaton@eik.bme.hu
Maintainers: Laurent Vivier <laurent@vivier.eu>
target/m68k/cpu.c       | 116 ++++++++++++++------
target/m68k/cpu.h       |  64 +++++++----
target/m68k/helper.c    | 234 +++++++++++++++++++++++++++++++---------
target/m68k/translate.c |   2 +-
4 files changed, 309 insertions(+), 107 deletions(-)
[PATCH 0/6] m68k: Overhaul of MOVEC instruction to support exception/MSP
Posted by BALATON Zoltan 3 years, 2 months ago
Hello,

This is Lucien's m68k series rebased on and fixed up to work with
current master as per previous discussion:
https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg02840.html

I've left previous Reviewed-by tags for reference but these should
probably be reviewed again. I've only lightly tested it so I don't
know if everything is correct but it does seem to fix the problem my
original patch tried to fix at least. More testing, review and help to
finish this so it can be merged at last is welcome.

Regards,
BALATON Zoltan

Lucien Murray-Pitts (6):
  m68k: improve cpu instantiation comments
  m68k: cascade m68k_features by m680xx_cpu_initfn() to improve
    readability
  m68k: improve comments on m68k_move_to/from helpers
  m68k: add missing BUSCR/PCR CR defines, and BUSCR/PCR/CAAR CR to
    m68k_move_to/from
  m68k: MOVEC insn. should generate exception if wrong CR is accessed
  m68k: add MSP detection support for stack pointer swap helpers

 target/m68k/cpu.c       | 116 ++++++++++++++------
 target/m68k/cpu.h       |  64 +++++++----
 target/m68k/helper.c    | 234 +++++++++++++++++++++++++++++++---------
 target/m68k/translate.c |   2 +-
 4 files changed, 309 insertions(+), 107 deletions(-)

-- 
2.21.3


Re: [PATCH 0/6] m68k: Overhaul of MOVEC instruction to support exception/MSP
Posted by BALATON Zoltan 3 years, 2 months ago
On Mon, 1 Feb 2021, BALATON Zoltan wrote:
> Hello,
>
> This is Lucien's m68k series rebased on and fixed up to work with
> current master as per previous discussion:
> https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg02840.html
>
> I've left previous Reviewed-by tags for reference but these should
> probably be reviewed again. I've only lightly tested it so I don't
> know if everything is correct but it does seem to fix the problem my
> original patch tried to fix at least. More testing, review and help to
> finish this so it can be merged at last is welcome.

Ping?

> Regards,
> BALATON Zoltan
>
> Lucien Murray-Pitts (6):
>  m68k: improve cpu instantiation comments
>  m68k: cascade m68k_features by m680xx_cpu_initfn() to improve
>    readability
>  m68k: improve comments on m68k_move_to/from helpers
>  m68k: add missing BUSCR/PCR CR defines, and BUSCR/PCR/CAAR CR to
>    m68k_move_to/from
>  m68k: MOVEC insn. should generate exception if wrong CR is accessed
>  m68k: add MSP detection support for stack pointer swap helpers
>
> target/m68k/cpu.c       | 116 ++++++++++++++------
> target/m68k/cpu.h       |  64 +++++++----
> target/m68k/helper.c    | 234 +++++++++++++++++++++++++++++++---------
> target/m68k/translate.c |   2 +-
> 4 files changed, 309 insertions(+), 107 deletions(-)
>
>

Re: [PATCH 0/6] m68k: Overhaul of MOVEC instruction to support exception/MSP
Posted by Laurent Vivier 3 years, 2 months ago
Le 01/02/2021 à 01:01, BALATON Zoltan a écrit :
> Hello,
> 
> This is Lucien's m68k series rebased on and fixed up to work with
> current master as per previous discussion:
> https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg02840.html
> 
> I've left previous Reviewed-by tags for reference but these should
> probably be reviewed again. I've only lightly tested it so I don't
> know if everything is correct but it does seem to fix the problem my
> original patch tried to fix at least. More testing, review and help to
> finish this so it can be merged at last is welcome.
> 
> Regards,
> BALATON Zoltan
> 
> Lucien Murray-Pitts (6):
>   m68k: improve cpu instantiation comments
>   m68k: cascade m68k_features by m680xx_cpu_initfn() to improve
>     readability
>   m68k: improve comments on m68k_move_to/from helpers
>   m68k: add missing BUSCR/PCR CR defines, and BUSCR/PCR/CAAR CR to
>     m68k_move_to/from
>   m68k: MOVEC insn. should generate exception if wrong CR is accessed
>   m68k: add MSP detection support for stack pointer swap helpers
> 
>  target/m68k/cpu.c       | 116 ++++++++++++++------
>  target/m68k/cpu.h       |  64 +++++++----
>  target/m68k/helper.c    | 234 +++++++++++++++++++++++++++++++---------
>  target/m68k/translate.c |   2 +-
>  4 files changed, 309 insertions(+), 107 deletions(-)
> 

Series applied to my m68k-for-6.0 branch.

Thanks,
Laurent