diff options
| author | Helge Deller <[email protected]> | 2022-03-25 13:31:08 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2022-03-29 19:37:12 +0000 |
| commit | 88b3aac6228baaac6a3bcc0808845083b9d9f08f (patch) | |
| tree | 35090d471f95c2b811a24233c753c49241dc8af0 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | parisc: Add PDC locking functions for rendezvous code (diff) | |
| download | kernel-88b3aac6228baaac6a3bcc0808845083b9d9f08f.tar.gz kernel-88b3aac6228baaac6a3bcc0808845083b9d9f08f.zip | |
parisc: Implement __cpu_die() and __cpu_disable() for CPU hotplugging
Add relevant code to __cpu_die() and __cpu_disable() to finally enable
the CPU hotplugging features. Reset the irq count values in smp_callin()
to zero before bringing up the CPU.
It seems that the firmware may need up to 8 seconds to fully stop a CPU
in which no other PDC calls are allowed to be made. Use a timeout
__cpu_die() to accommodate for this.
Use "chcpu -d 1" to bring CPU1 down, and "chcpu -e 1" to bring it up.
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
