[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 7/9] pc-bios: s390x: Move panic() into header and add infi
From: |
Thomas Huth |
Subject: |
Re: [PATCH v4 7/9] pc-bios: s390x: Move panic() into header and add infinite loop |
Date: |
Mon, 22 Jun 2020 13:48:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 22/06/2020 09.42, Janosch Frank wrote:
> panic() was defined for the ccw and net bios, i.e. twice, so it's
> cleaner to rather put it into the header.
>
> Also let's add an infinite loop into the assembly of disabled_wait() so
> the caller doesn't need to take care of it.
>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
> Reviewed-by: David Hildenbrand <david@redhat.com>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> ---
> pc-bios/s390-ccw/main.c | 7 -------
> pc-bios/s390-ccw/netmain.c | 8 --------
> pc-bios/s390-ccw/s390-ccw.h | 9 +++++++--
> pc-bios/s390-ccw/start.S | 5 +++--
> 4 files changed, 10 insertions(+), 19 deletions(-)
[...]
> diff --git a/pc-bios/s390-ccw/start.S b/pc-bios/s390-ccw/start.S
> index aa8fceb19d..35be141d8d 100644
> --- a/pc-bios/s390-ccw/start.S
> +++ b/pc-bios/s390-ccw/start.S
> @@ -47,8 +47,9 @@ memsetxc:
> */
> .globl disabled_wait
> disabled_wait:
> - larl %r1,disabled_wait_psw
> - lpswe 0(%r1)
> + larl %r1,disabled_wait_psw
> + lpswe 0(%r1)
> +1: j 1b
Could you please fix the white spaces here while you're at it (TABs vs.
spaces).
Thanks,
Thomas
- [PATCH v4 1/9] pc-bios: s390x: cio.c cleanup and compile fix, (continued)
- [PATCH v4 1/9] pc-bios: s390x: cio.c cleanup and compile fix, Janosch Frank, 2020/06/22
- [PATCH v4 4/9] pc-bios: s390x: Get rid of magic offsets into the lowcore, Janosch Frank, 2020/06/22
- [PATCH v4 3/9] pc-bios: s390x: Move sleep and yield to helper.h, Janosch Frank, 2020/06/22
- [PATCH v4 2/9] pc-bios: s390x: Consolidate timing functions into time.h, Janosch Frank, 2020/06/22
- [PATCH v4 7/9] pc-bios: s390x: Move panic() into header and add infinite loop, Janosch Frank, 2020/06/22
- Re: [PATCH v4 7/9] pc-bios: s390x: Move panic() into header and add infinite loop,
Thomas Huth <=
- [PATCH v4 6/9] pc-bios: s390x: Use PSW masks where possible and introduce PSW_MASK_SHORT_ADDR, Janosch Frank, 2020/06/22
- [PATCH v4 8/9] pc-bios: s390x: Use ebcdic2ascii table, Janosch Frank, 2020/06/22
- [PATCH v4 9/9] pc-bios: s390x: Make u32 ptr check explicit, Janosch Frank, 2020/06/22
- [PATCH v4 5/9] pc-bios: s390x: Rename and use PSW_MASK_ZMODE constant, Janosch Frank, 2020/06/22
- Re: [PATCH v4 0/9] pc-bios: s390x: Cleanup part 1, no-reply, 2020/06/22