Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp455177rdb; Fri, 6 Oct 2023 08:19:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGS3kfNq0haRggpPw2FG4Ec6cv/NGcvoqhuRqjiXuUcDHqjt/0dhvSzkOZFRI5ri31HnKup X-Received: by 2002:a05:6830:11c6:b0:6b9:c7de:68e0 with SMTP id v6-20020a05683011c600b006b9c7de68e0mr8288664otq.29.1696605556490; Fri, 06 Oct 2023 08:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696605556; cv=none; d=google.com; s=arc-20160816; b=Xsxk/sBgjvGnp45iS3esSO7H0sw7B3Pf/iwRUaKk9lkQjevl1Tcb7lWWCLBAbAy44z 8qW0QgTZyw9fwp9/Hhqu97zX/mnmMUQ5HO5tVTLMnTlH0l0wbQiTIDpKCjwzlMdk87xT 0X21jOd252Y2lBnmmoBruNkH4gmGdNsn/Ioz1U/iKQ2qbkFr/qvsFhnCpKJpF4hKKiMT RWC/iIaXh+yxhQKtRcnS3ZC6Izb/fmKONL6c4+ZyqSU1mTAtjEX/mMDhKXOyNqxN0Lnr /2D38/s4K+VQqDeGIf9yNJYStcvf2q4D6wRLb+vbYuZFuyZ1f7Vdrv/Gz5zok77mSwNd rKVA== 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:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id s140-20020a632c92000000b0056533c00e83si640169pgs.413.2023.10.06.08.19.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 08:19:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; 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:1 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 morse.vger.email (Postfix) with ESMTP id 0837980A9E3F; Fri, 6 Oct 2023 08:19:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232827AbjJFPSz (ORCPT + 99 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 ); 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 ; 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 , Alexander Potapenko Cc: Andrey Konovalov , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov 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: References: 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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 06 Oct 2023 08:19:13 -0700 (PDT) X-Spam-Level: ** From: Andrey Konovalov Update the comment in kasan_init to also mention the Hardware Tag-Based KASAN mode. Signed-off-by: Andrey Konovalov --- 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 } -- 2.25.1