Message ID | 4186aefd368b019eaf27c907c4fa692a89448d66.1696605143.git.andreyknvl@google.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp405213vqo; Fri, 6 Oct 2023 08:19:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3Zk6TP5T+A/ue3TzxxDVPEBMmztdQn57nv2dDG1RJHkVIwEZ9RMW/trWqHa69MvFVpxuO X-Received: by 2002:a05:6e02:1d87:b0:34f:525d:198 with SMTP id h7-20020a056e021d8700b0034f525d0198mr9622138ila.13.1696605576499; Fri, 06 Oct 2023 08:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696605576; cv=none; d=google.com; s=arc-20160816; b=M9r7J8sGaI5CTBldcRSABYdyAn2QLQfYBD0j12plp4Ljd1HhzJC9t0vyC8ALsIZPvb XjwFbDdd+oi6YfM5L4jQIxIiFB2bzvCLdu6+HIuBR1QWIdV+/J9hyqBYzSJMrJfhQa2K TShHvKutmrQByyheRLF/7Whh/QJoSUoj0ZZbtYZGeqFp1td7ge9cSX4M9Z51RuRS1pEc qBQgV2yd6nKfYip/S4TlJbIBDxYMZwd2GDwXl6QVODpg331L3cQQY66sQcfUPMpaO+Yr KGXfeQ8zowvd9wrZ0+RUDQsLCEWOpqiKzSKEJEo2tTSB5CjGYRjKNN6t4jwgN9xN1LFE Syqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7bRSqkxN7Q+9ijSJoX74SBiGUljonarnkrx60Wx+bkw=; fh=MvduW7TtfFJGfZiC/W6aaLQjI7EqApwiKAwimfBfFME=; b=aXAz9ouvKUZnk2IQMkvIYfQdzy3CXQCP6Y3WxV5EoK7IeuinuAFUWVQ557XVBG0rhW gEH8aGN9EKzCueEUni2kk882z1HMUt5o69DM6XhwGlbX/uVZZR+H1lTz5fGakGxOhpRg 1VsHWFSDV00tGXID7Q0HrHUrE3peatQtRtrDVr5uYhDuSbekricz2XK8iVhWZRNPqmjr Cuh3U1P4MbOt7QwKXr56hhxikJ04anUSg5QD/uQ1fOnZnsT3lyMfrUYKK7iNiU2ZLfOY sHbfx4tamsUsXgMi7sZJ7FypSqG+4+3fwjEBPCAw7S6C4dNeSU5cYP/AAKat/vyVS3aj 21ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=cfUq+xwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id q24-20020a63d618000000b00577f50580bbsi3746381pgg.299.2023.10.06.08.19.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 08:19:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=cfUq+xwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 78C7E801B89C; Fri, 6 Oct 2023 08:19:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232830AbjJFPSz (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Fri, 6 Oct 2023 11:18:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232799AbjJFPSw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 6 Oct 2023 11:18:52 -0400 Received: from out-193.mta0.migadu.com (out-193.mta0.migadu.com [91.218.175.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5F479F for <linux-kernel@vger.kernel.org>; Fri, 6 Oct 2023 08:18:51 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1696605530; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7bRSqkxN7Q+9ijSJoX74SBiGUljonarnkrx60Wx+bkw=; b=cfUq+xwn8SvZdwXdBSvn+lOVW4mTTNH+3vYsrHS9wPpyy75UL7eZvoAJWh5ErDkOQTkB/Z 6CcQvDfLP02vPvFsMD6rqUHIi59WSRdq08BWofr7cq82Bj8S7En3GCDIj1DrHNzNDgWcpC 062N0xdUSrakIx60YdvoRifF3qqFydA= From: andrey.konovalov@linux.dev To: Marco Elver <elver@google.com>, Alexander Potapenko <glider@google.com> Cc: Andrey Konovalov <andreyknvl@gmail.com>, Dmitry Vyukov <dvyukov@google.com>, Andrey Ryabinin <ryabinin.a.a@gmail.com>, kasan-dev@googlegroups.com, Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov <andreyknvl@google.com> Subject: [PATCH 1/5] arm64, kasan: update comment in kasan_init Date: Fri, 6 Oct 2023 17:18:42 +0200 Message-Id: <4186aefd368b019eaf27c907c4fa692a89448d66.1696605143.git.andreyknvl@google.com> In-Reply-To: <cover.1696605143.git.andreyknvl@google.com> References: <cover.1696605143.git.andreyknvl@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 06 Oct 2023 08:19:17 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779019888824259157 X-GMAIL-MSGID: 1779019888824259157 |
Series | kasan: assorted fixes and improvements | |
Commit Message
andrey.konovalov@linux.dev
Oct. 6, 2023, 3:18 p.m. UTC
From: Andrey Konovalov <andreyknvl@google.com> Update the comment in kasan_init to also mention the Hardware Tag-Based KASAN mode. Signed-off-by: Andrey Konovalov <andreyknvl@google.com> --- arch/arm64/mm/kasan_init.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/mm/kasan_init.c b/arch/arm64/mm/kasan_init.c index f17d066e85eb..555285ebd5af 100644 --- a/arch/arm64/mm/kasan_init.c +++ b/arch/arm64/mm/kasan_init.c @@ -300,7 +300,11 @@ void __init kasan_init(void) kasan_init_shadow(); kasan_init_depth(); #if defined(CONFIG_KASAN_GENERIC) - /* CONFIG_KASAN_SW_TAGS also requires kasan_init_sw_tags(). */ + /* + * Generic KASAN is now fully initialized. + * Software and Hardware Tag-Based modes still require + * kasan_init_sw_tags() and kasan_init_hw_tags() correspondingly. + */ pr_info("KernelAddressSanitizer initialized (generic)\n"); #endif }