On 07/05/2018 07:25 PM, Jason J. Herne wrote: > From: "Jason J. Herne" <jjhe...@linux.vnet.ibm.com> > +void await_io_int(uint16_t sch_no) > +{ > + /* > + * wait_psw and ctl6 must be static to avoid stack allocation as gcc > cannot > + * align stack variables. The stctg, lctlg and lpswe instructions require > + * that their operands be aligned on an 8-byte boundary. > + */ In fact, the ABI guarantees that the stack is always 8 byte aligned and gcc should align any uint64_t to 8 byte as well on the stack. > + static uint64_t ctl6 __attribute__((__aligned__(8))); > + static PSW wait_psw; > +
- Re: [Qemu-devel] [qemu-s390x] [RFC 10/15] s... Christian Borntraeger
- Re: [Qemu-devel] [RFC 10/15] s390-bios: Support... Cornelia Huck
- Re: [Qemu-devel] [qemu-s390x] [RFC 10/15] s... Halil Pasic
- Re: [Qemu-devel] [qemu-s390x] [RFC 10/1... Cornelia Huck
- Re: [Qemu-devel] [qemu-s390x] [RFC ... Halil Pasic
- Re: [Qemu-devel] [qemu-s390x] ... Cornelia Huck
- Re: [Qemu-devel] [qemu-s39... Halil Pasic
- Re: [Qemu-devel] [qemu-s39... Jason J. Herne
- Re: [Qemu-devel] [RFC 10/15] s390-bios: Sup... Jason J. Herne
- Re: [Qemu-devel] [RFC 10/15] s390-bios:... Cornelia Huck
- Re: [Qemu-devel] [RFC 10/15] s390-bios: Support... Christian Borntraeger
- Re: [Qemu-devel] [RFC 10/15] s390-bios: Support... Christian Borntraeger
- [Qemu-devel] [RFC 02/15] s390-bios: decouple cio set... Jason J. Herne
- Re: [Qemu-devel] [RFC 02/15] s390-bios: decoupl... Cornelia Huck
- [Qemu-devel] [RFC 03/15] s390-bios: decouple common ... Jason J. Herne
- [Qemu-devel] [RFC 04/15] s390-bios: Extend find_dev(... Jason J. Herne
- [Qemu-devel] [RFC 07/15] s390-bios: Decouple channel... Jason J. Herne
- Re: [Qemu-devel] [RFC 07/15] s390-bios: Decoupl... Christian Borntraeger
- [Qemu-devel] [RFC 09/15] s390-bios: ptr2u32 and u32t... Jason J. Herne
- [Qemu-devel] [RFC 12/15] s390-bios: Use control unit... Jason J. Herne