mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 14:36:06 +07:00
s390/cmma: remove "cmma disable" code in case of dump again
This is not necessary anymore, since the offending code is gone with the conversion to the memblock code. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>- Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
6c8cd5bbda
commit
71c40f7f8f
@ -12,8 +12,6 @@
|
|||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
#include <linux/gfp.h>
|
#include <linux/gfp.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <asm/setup.h>
|
|
||||||
#include <asm/ipl.h>
|
|
||||||
|
|
||||||
#define ESSA_SET_STABLE 1
|
#define ESSA_SET_STABLE 1
|
||||||
#define ESSA_SET_UNUSED 2
|
#define ESSA_SET_UNUSED 2
|
||||||
@ -43,14 +41,6 @@ void __init cmma_init(void)
|
|||||||
|
|
||||||
if (!cmma_flag)
|
if (!cmma_flag)
|
||||||
return;
|
return;
|
||||||
/*
|
|
||||||
* Disable CMM for dump, otherwise the tprot based memory
|
|
||||||
* detection can fail because of unstable pages.
|
|
||||||
*/
|
|
||||||
if (OLDMEM_BASE || ipl_info.type == IPL_TYPE_FCP_DUMP) {
|
|
||||||
cmma_flag = 0;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
asm volatile(
|
asm volatile(
|
||||||
" .insn rrf,0xb9ab0000,%1,%1,0,0\n"
|
" .insn rrf,0xb9ab0000,%1,%1,0,0\n"
|
||||||
"0: la %0,0\n"
|
"0: la %0,0\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user