From 59b128c21072050a04806459359a3cd80b42292e Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Wed, 14 Aug 2019 08:44:11 +0900 Subject: [PATCH] IHK-smp: do not abort boot even if LWK Linux map fails Change-Id: Ifc42b075fc20a140273e96206752d6376aaac74e --- linux/driver/smp/smp-driver.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/linux/driver/smp/smp-driver.c b/linux/driver/smp/smp-driver.c index 335f0009..de182907 100644 --- a/linux/driver/smp/smp-driver.c +++ b/linux/driver/smp/smp-driver.c @@ -928,11 +928,10 @@ static int smp_ihk_os_load_file(ihk_os_t ihk_os, void *priv, const char *fn) fput(file); ihk_smp_unmap_virtual(elf64); - + if ((ret = smp_ihk_os_map_lwk(phys))) { - pr_info("%s: ERROR: smp_ihk_os_map_lwk failed (%d)\n", + pr_info("%s: WARNING: smp_ihk_os_map_lwk failed: %d\n", __func__, ret); - return ret; } if ((ret = smp_ihk_os_setup_startup(os, phys, entry))) {