Re: [PULL v2 1/3] target/hppa: Fix OS reboot issues

2023-06-26 Thread Michael Tokarev
26.06.2023 19:20, Helge Deller wrote: .. starting in both branches (staging-7.2 and staging-8.0) this works for me: git cherry-pick bb9c998ca9343d445c76b69fa15dea9db692f526 git cherry-pick 50ba97e928b44ff5bc731c9ffe68d86acbe44639 git cherry-pick 069d296669448b9eef72c6332ae84af962d9582c git cherr

Re: [PULL v2 1/3] target/hppa: Fix OS reboot issues

2023-06-26 Thread Helge Deller
On 6/26/23 14:22, Michael Tokarev wrote: 25.06.2023 14:20, Helge Deller wrote: Is this a -stable material?  It applies cleanly to 8.0 and 7.2. Yes, please. At least for 8.0 I think it should be added. I didn't tested 7.2, but can do and would prefer it if could be added there too. Just test

Re: [PULL v2 1/3] target/hppa: Fix OS reboot issues

2023-06-26 Thread Michael Tokarev
25.06.2023 14:20, Helge Deller wrote: Is this a -stable material?  It applies cleanly to 8.0 and 7.2. Yes, please. At least for 8.0 I think it should be added. I didn't tested 7.2, but can do and would prefer it if could be added there too. Just tested: The patches work nicely when applied t

Re: [PULL v2 1/3] target/hppa: Fix OS reboot issues

2023-06-25 Thread Helge Deller
On 6/25/23 12:07, Helge Deller wrote: On 6/25/23 10:57, Michael Tokarev wrote: 24.06.2023 14:50, Helge Deller пишет: When the OS triggers a reboot, the reset helper function sends a qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET) together with an EXCP_HLT exception to halt the CPUs. So,

Re: [PULL v2 1/3] target/hppa: Fix OS reboot issues

2023-06-25 Thread Helge Deller
On 6/25/23 10:57, Michael Tokarev wrote: 24.06.2023 14:50, Helge Deller пишет: When the OS triggers a reboot, the reset helper function sends a qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET) together with an EXCP_HLT exception to halt the CPUs. So, at reboot when initializing the CPUs ag

Re: [PULL v2 1/3] target/hppa: Fix OS reboot issues

2023-06-25 Thread Michael Tokarev
24.06.2023 14:50, Helge Deller пишет: When the OS triggers a reboot, the reset helper function sends a qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET) together with an EXCP_HLT exception to halt the CPUs. So, at reboot when initializing the CPUs again, make sure to set all instruction poin

[PULL v2 1/3] target/hppa: Fix OS reboot issues

2023-06-24 Thread Helge Deller
When the OS triggers a reboot, the reset helper function sends a qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET) together with an EXCP_HLT exception to halt the CPUs. So, at reboot when initializing the CPUs again, make sure to set all instruction pointers to the firmware entry point, disabl