Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp448724ybl; Wed, 4 Dec 2019 05:32:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwg0dOuSWSVkP3By61rUeFEnaNpYiJgPAxwREk6xOmtdEJa7HVJvJ6nmIQuhmoHnWoNqURL X-Received: by 2002:a05:6830:1582:: with SMTP id i2mr2463719otr.50.1575466324426; Wed, 04 Dec 2019 05:32:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575466324; cv=none; d=google.com; s=arc-20160816; b=SiQ9OTVFigPj8OUG1rryl8ofE36V0hBSES2uJSC8aAF2c1OmC778haS8JoJO0znwNe xZXTwS94IUzvurjlc9MIbcJaIg3ew694Xdc+0eLAHqHMxKJwRxIztdFs7TbNT6gByoCE glL+TyoNYFpZMIvxrp4NBiGTbMeoTTMyhsO3mAGF7XDV6lxQBprEsUhCNbi1UPuwMcL9 r9ZiUxHH5ifG+LA8JNUk8KOs+r6mdKaDtt+YXRl1fRmW7/EiQDGQjf5qu9+REcFINN3n ay0zCBi5la4NuPhEr0x29KOLYI3baGT1jI8rhtSNI0F9CJKY11S0ZnosBeOT1U2GWELM bdvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=ZYoaN+/ejkc3xaLbUIslZ0s27PLOrqLH2RQMXHLvsS4=; b=IvmyFL/s+UEMgdc/LlUgazgLV5ZK2Qm/Yd3oYX988uK+Cy948XY8OsSb0v133aZvxP lERU9i/ruuvVyOfj1tcdWqgHRlVzLU7+LBFqA+4DkRJ2XcCad2ZkG3ytd5hNjZeWC5R3 x26PCUCYo/Zp3Swx1kPgz0BQfTGUcUrCP3Vow1l0fo0bHNtfsq+GE1D4cOeIK4+pmxFF mvtWWACSjMYmS700M16/pyYGMjbPx48UgaV5gu8Nq2iX6YujZBZU8pn6eLyRlQ+H+IIT Rl4DSIlWPwulRVqUnySR6iViRNga51JrSva/Bf1xSza3ZLEaADYVfkqPwMmo7p4twi8N eB2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h22si3083879otn.279.2019.12.04.05.31.51; Wed, 04 Dec 2019 05:32:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727944AbfLDNa5 (ORCPT + 99 others); Wed, 4 Dec 2019 08:30:57 -0500 Received: from ozlabs.org ([203.11.71.1]:55827 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727838AbfLDNa4 (ORCPT ); Wed, 4 Dec 2019 08:30:56 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 47Sfqy1cy5z9sR7; Thu, 5 Dec 2019 00:30:53 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 71eb40fc53371bc247c8066ae76ad9e22ae1e18d In-Reply-To: To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , shaolexi@huawei.com From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/kasan: fix boot failure with RELOCATABLE && FSL_BOOKE Message-Id: <47Sfqy1cy5z9sR7@ozlabs.org> Date: Thu, 5 Dec 2019 00:30:53 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-11-29 at 14:26:41 UTC, Christophe Leroy wrote: > When enabling CONFIG_RELOCATABLE and CONFIG_KASAN on FSL_BOOKE, > the kernel doesn't boot. > > relocate_init() requires KASAN early shadow area to be set up because > it needs access to the device tree through generic functions. > > Call kasan_early_init() before calling relocate_init() > > Reported-by: Lexi Shao > Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support") > Signed-off-by: Christophe Leroy Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/71eb40fc53371bc247c8066ae76ad9e22ae1e18d cheers