diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-07-16 13:50:53 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-07-23 16:02:31 +0200 |
commit | b3e0c5f734f934dab1cfdef669e3baa165a0cbfe (patch) | |
tree | 08104be96abe1be8cfd1d66337f69fea8d2f4569 /arch/s390/crypto | |
parent | 030f7951c5b293739301fb616add0f1d3fb46073 (diff) |
s390/alternatives: Rework to allow for callbacks
Rework alternatives to allow for callbacks. With this every
alternative entry has additional data encoded:
- When (aka context) an alternative is supposed to be applied
- The type of an alternative, which allows for type specific handling
and callbacks
- Extra type specific payload (patch information), which can be passed
to callbacks in order to decide if an alternative should be applied
or not
With this only the "late" context is implemented, which means there is
no change to the previous behaviour. All code is just converted to the
more generic new infrastructure.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Tested-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/crypto')
0 files changed, 0 insertions, 0 deletions