Re: [committed, amdgcn] Disable trampolines on GCN5

2019-06-28 Thread Andrew Stubbs
On 22/05/2019 23:21, Andrew Stubbs wrote: Trampolines work just fine on GCN3 devices, but GCN5 devices have execute permission hardware, and the driver sets permission off for the private segment allocation in which the stacks are located. It may be possible to implement indirect calls to nest

[committed, amdgcn] Disable trampolines on GCN5

2019-05-22 Thread Andrew Stubbs
Trampolines work just fine on GCN3 devices, but GCN5 devices have execute permission hardware, and the driver sets permission off for the private segment allocation in which the stacks are located. It may be possible to implement indirect calls to nested functions another way, but for now this