diff options
| author | Martin Schwidefsky <[email protected]> | 2018-01-16 06:11:45 +0000 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2018-02-05 12:49:17 +0000 |
| commit | d768bd892fc8f066cd3aa000eb1867bcf32db0ee (patch) | |
| tree | 73856bebc552b175d71bef6859824d7ca8d8e051 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
| parent | s390/alternative: use a copy of the facility bit mask (diff) | |
| download | kernel-d768bd892fc8f066cd3aa000eb1867bcf32db0ee.tar.gz kernel-d768bd892fc8f066cd3aa000eb1867bcf32db0ee.zip | |
s390: add options to change branch prediction behaviour for the kernel
Add the PPA instruction to the system entry and exit path to switch
the kernel to a different branch prediction behaviour. The instructions
are added via CPU alternatives and can be disabled with the "nospec"
or the "nobp=0" kernel parameter. If the default behaviour selected
with CONFIG_KERNEL_NOBP is set to "n" then the "nobp=1" parameter can be
used to enable the changed kernel branch prediction.
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions
