Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5D5DC61D97 for ; Thu, 26 Jan 2023 23:20:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233085AbjAZXUa (ORCPT ); Thu, 26 Jan 2023 18:20:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232488AbjAZXU1 (ORCPT ); Thu, 26 Jan 2023 18:20:27 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8D8A6A5F for ; Thu, 26 Jan 2023 15:20:26 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 640756197F for ; Thu, 26 Jan 2023 23:20:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74A8FC433D2; Thu, 26 Jan 2023 23:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1674775225; bh=2bi/yWCYSEbTwdoD+ZRnucs0IxsKcEa74FkUlbYIl8w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=wfU526QeHtT25Dp80XTfipC5chr8bRteULrVAX3GXOkya9cbsZIy8wrbQ6brmYz0F vDGtdvSGZRQfERjweZU4px5C7Ix57ztsuDbAmmGFSywUjlhFzG0KOqtrvPm17eZhaV 02GCDMBiwBb7OPcfnJtFBFIWpxTHuJ9C+PSjF7U4= Date: Thu, 26 Jan 2023 15:20:24 -0800 From: Andrew Morton To: Christophe Leroy Cc: Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, kasan-dev@googlegroups.com, Nathan Lynch , Michael Ellerman Subject: Re: [PATCH] kasan: Fix Oops due to missing calls to kasan_arch_is_ready() Message-Id: <20230126152024.bfdd25de2ff5107fa7c02986@linux-foundation.org> In-Reply-To: <150768c55722311699fdcf8f5379e8256749f47d.1674716617.git.christophe.leroy@csgroup.eu> References: <150768c55722311699fdcf8f5379e8256749f47d.1674716617.git.christophe.leroy@csgroup.eu> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Jan 2023 08:04:47 +0100 Christophe Leroy wrote: > On powerpc64, you can build a kernel with KASAN as soon as you build it > with RADIX MMU support. However if the CPU doesn't have RADIX MMU, > KASAN isn't enabled at init and the following Oops is encountered. Should we backport to -stable? If so, can we identify a suitable Fixes: target? Thanks.