[Qemu-commits] [qemu/qemu] 2786a3: target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT a...

2024-04-14 Thread Peter Maydell via Qemu-commits
  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 2786a3f8d3a047cc21271380324c0b7d8217f238
  
https://github.com/qemu/qemu/commit/2786a3f8d3a047cc21271380324c0b7d8217f238
  Author: Richard Henderson 
  Date:   2024-04-12 (Fri, 12 Apr 2024)

  Changed paths:
M target/sparc/helper.h
M target/sparc/ldst_helper.c
M target/sparc/translate.c

  Log Message:
  ---
  target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT

Reads are done with execute access.  It is not clear whether writes
are legal at all -- for now, leave helper_st_asi unchanged, so that
we continue to raise an mmu fault.

This generalizes the exiting code for ASI_KERNELTXT to be usable for
ASI_USERTXT as well, by passing down the MemOpIdx to use.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2281
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2059
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1609
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1166
Signed-off-by: Richard Henderson 
Acked-by: Mark Cave-Ayland 
Tested-by: M Bazz 


  Commit: 824ebb92c39920a65b34a93d1bd462baf0d2d174
  
https://github.com/qemu/qemu/commit/824ebb92c39920a65b34a93d1bd462baf0d2d174
  Author: Peter Maydell 
  Date:   2024-04-13 (Sat, 13 Apr 2024)

  Changed paths:
M target/sparc/helper.h
M target/sparc/ldst_helper.c
M target/sparc/translate.c

  Log Message:
  ---
  Merge tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu into staging

target/sparc: Fix ASI_USERTXT for Solaris gdb crashes

# -BEGIN PGP SIGNATURE-
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmYZt4kdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9B4Qf/eWD0DszuAJIVUBAc
# kfF+Ii+6MSbJG2kGEhbE8FeuiDJfqog+JLUf0UU0wUOy0OxwUraL6xxTszCYbwd8
# GsIF5C0lXXi4hfsnkX86uD0C6mnvmh2v0Ol3S/SDvTmPT/w+LrrvIr0JLwWK9K/E
# oC4O8FuECxyc/DWcONelz5Mqzs0TgFG2aBXugmyKRdj7k5zlAoc7V6qQko/gh+Gq
# bd9N/a7TWNzZaedvvoDMaa4dA/5DZ+PCu7MnXdKyrmj/wFK7GGDdsw51LWY3MeUY
# rwv6ESFjHFC3jdRtuLOuiCvVdP/jVeimF537iGYs2AblvrUn9uhSi5vspUUrirQ3
# +f5K6w==
# =fsfq
# -END PGP SIGNATURE-
# gpg: Signature made Fri 12 Apr 2024 23:36:57 BST
# gpg:using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:issuer "richard.hender...@linaro.org"
# gpg: Good signature from "Richard Henderson " 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu:
  target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT

Signed-off-by: Peter Maydell 


Compare: https://github.com/qemu/qemu/compare/be72d6ab361a...824ebb92c399

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications



[Qemu-commits] [qemu/qemu] 2786a3: target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT a...

2024-04-13 Thread Peter Maydell via Qemu-commits
  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 2786a3f8d3a047cc21271380324c0b7d8217f238
  
https://github.com/qemu/qemu/commit/2786a3f8d3a047cc21271380324c0b7d8217f238
  Author: Richard Henderson 
  Date:   2024-04-12 (Fri, 12 Apr 2024)

  Changed paths:
M target/sparc/helper.h
M target/sparc/ldst_helper.c
M target/sparc/translate.c

  Log Message:
  ---
  target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT

Reads are done with execute access.  It is not clear whether writes
are legal at all -- for now, leave helper_st_asi unchanged, so that
we continue to raise an mmu fault.

This generalizes the exiting code for ASI_KERNELTXT to be usable for
ASI_USERTXT as well, by passing down the MemOpIdx to use.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2281
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2059
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1609
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1166
Signed-off-by: Richard Henderson 
Acked-by: Mark Cave-Ayland 
Tested-by: M Bazz 


  Commit: 824ebb92c39920a65b34a93d1bd462baf0d2d174
  
https://github.com/qemu/qemu/commit/824ebb92c39920a65b34a93d1bd462baf0d2d174
  Author: Peter Maydell 
  Date:   2024-04-13 (Sat, 13 Apr 2024)

  Changed paths:
M target/sparc/helper.h
M target/sparc/ldst_helper.c
M target/sparc/translate.c

  Log Message:
  ---
  Merge tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu into staging

target/sparc: Fix ASI_USERTXT for Solaris gdb crashes

# -BEGIN PGP SIGNATURE-
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmYZt4kdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9B4Qf/eWD0DszuAJIVUBAc
# kfF+Ii+6MSbJG2kGEhbE8FeuiDJfqog+JLUf0UU0wUOy0OxwUraL6xxTszCYbwd8
# GsIF5C0lXXi4hfsnkX86uD0C6mnvmh2v0Ol3S/SDvTmPT/w+LrrvIr0JLwWK9K/E
# oC4O8FuECxyc/DWcONelz5Mqzs0TgFG2aBXugmyKRdj7k5zlAoc7V6qQko/gh+Gq
# bd9N/a7TWNzZaedvvoDMaa4dA/5DZ+PCu7MnXdKyrmj/wFK7GGDdsw51LWY3MeUY
# rwv6ESFjHFC3jdRtuLOuiCvVdP/jVeimF537iGYs2AblvrUn9uhSi5vspUUrirQ3
# +f5K6w==
# =fsfq
# -END PGP SIGNATURE-
# gpg: Signature made Fri 12 Apr 2024 23:36:57 BST
# gpg:using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:issuer "richard.hender...@linaro.org"
# gpg: Good signature from "Richard Henderson " 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu:
  target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT

Signed-off-by: Peter Maydell 


Compare: https://github.com/qemu/qemu/compare/be72d6ab361a...824ebb92c399

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications