From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2CE5DC433EF for ; Wed, 18 May 2022 10:11:55 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4L380n3dXmz3cdq for ; Wed, 18 May 2022 20:11:53 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=E29m3+0M; dkim-atps=neutral Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4L37wv0fGBz3bxh for ; Wed, 18 May 2022 20:08:31 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=E29m3+0M; dkim-atps=neutral Received: by gandalf.ozlabs.org (Postfix) id 4L37ws3g6Hz4xbr; Wed, 18 May 2022 20:08:29 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix, from userid 1003) id 4L37ws3b5zz4xbt; Wed, 18 May 2022 20:08:29 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ozlabs.org; s=201707; t=1652868509; bh=BEpcwMm4tEDwvsUVe5PO9Ws/NyOuN64AEiZjiUI8eEY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E29m3+0Mga/MWUgJUQWMvNuQax4VqVnO8Qq7UsizPUSs1NBtIuxEMgIREDWxb371E tKMriNcF/Idyt7GfPjtZmey1l2zn9cdUHfJvzhLdxxGx/aRAYy6u0XAi6d0RR4z3hF 6K7NVJCEv+Pw3PowpGR5oHB679xlk/r3VheM1UMi57FOcWffeVygAwAjRW8KIKs0v8 T1CS1C0LwdSOXgGOOyPrTinYj8G3bXZiv8AkNwcNO7BSDMfHtJziFPtQv5yuo+yZto mhfb5VbeaRU583/KwPvmg2t1ux8rpvz7+eG/AM+VM6iGTt2hcsNNc4hje18C9Npu5j +3Et3CqEI/0GA== Date: Wed, 18 May 2022 20:04:12 +1000 From: Paul Mackerras To: linuxppc-dev@ozlabs.org Subject: [PATCH v2 1/6] kasan: Document support on 32-bit powerpc Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Axtens Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" From: Daniel Axtens KASAN is supported on 32-bit powerpc and the docs should reflect this. Suggested-by: Christophe Leroy Reviewed-by: Christophe Leroy Signed-off-by: Daniel Axtens Signed-off-by: Paul Mackerras --- Documentation/powerpc/kasan.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/powerpc/kasan.txt diff --git a/Documentation/powerpc/kasan.txt b/Documentation/powerpc/kasan.txt new file mode 100644 index 000000000000..26bb0e8bb18c --- /dev/null +++ b/Documentation/powerpc/kasan.txt @@ -0,0 +1,12 @@ +KASAN is supported on powerpc on 32-bit only. + +32 bit support +============== + +KASAN is supported on both hash and nohash MMUs on 32-bit. + +The shadow area sits at the top of the kernel virtual memory space above the +fixmap area and occupies one eighth of the total kernel virtual memory space. + +Instrumentation of the vmalloc area is optional, unless built with modules, +in which case it is required. -- 2.35.3