#
46a923fd |
|
24-Jul-2023 |
Heiko Carstens <hca@linux.ibm.com> |
s390/pfault: use consistent comment style Use consistent comment style within the whole pfault C code. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|
#
4c89eb87 |
|
24-Jul-2023 |
Heiko Carstens <hca@linux.ibm.com> |
s390/pfault: cleanup inline assemblies Cleanup the pfault inline assemblies: - Use symbolic names for operands - Add extra linebreaks, and whitespace to improve readability In addition, change __pfault_init() to return -EOPNOTSUPP in case of an exception, and don't return a made up valid diag 258 return value (aka "8"). This allows to simplify the inline assembly, and makes debugging easier, in case something is broken. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|
#
28254f36 |
|
24-Jul-2023 |
Heiko Carstens <hca@linux.ibm.com> |
s390/pfault: use early_param() instead if __setup() early_param() is the standard way of defining early kernel command line parameters. Use that instead of the old __setup() variant. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|
#
c5b6eef5 |
|
24-Jul-2023 |
Heiko Carstens <hca@linux.ibm.com> |
s390/pfault: remove not needed packed and aligned attributes struct pfault_refbk is naturally packed and aligned; remove not needed packed and aligned attributes. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|
#
b60624bb |
|
24-Jul-2023 |
Heiko Carstens <hca@linux.ibm.com> |
s390/pfault: use UL instead of ULL Remove another leftover of the 31 bit area: replace the not needed "unsigned long long" suffix with "unsigned long", and stay consistent with the rest of the code. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|
#
c28c07fe |
|
24-Jul-2023 |
Heiko Carstens <hca@linux.ibm.com> |
s390/mm: move pfault code to own C file The pfault code has nothing to do with regular fault handling. Therefore move it to an own C file. Also add an own pfault header file. This way changes to setup.h don't cause a recompile of the pfault code and vice versa. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|