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 X-Spam-Level: X-Spam-Status: No, score=-23.6 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2377C433DB for ; Fri, 8 Jan 2021 18:30:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D84F23A7F for ; Fri, 8 Jan 2021 18:30:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728317AbhAHSa2 (ORCPT ); Fri, 8 Jan 2021 13:30:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727648AbhAHSa1 (ORCPT ); Fri, 8 Jan 2021 13:30:27 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E62CEC061380 for ; Fri, 8 Jan 2021 10:29:46 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id q7so6238681pgm.5 for ; Fri, 08 Jan 2021 10:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ImNmyS8KVcMriGTOlK4oD0X1A4b7wVMix0T8JHsJDBw=; b=Y0K7rPxt7Xxsk60fVNg19jFZvTgygV+/JV0g08lleOn3I3xFx3/pVCAHl2K20exays bgRQx37jUuscIru6TAY1YUB2MKnooMRFygwz/6ktZwf+kkg0C/SQON+OfJ/oW7W2WStE JrKrTtAiBZ7Y8ECm9juQWdQftv9s19Paay+kdH2j7DBXXHhQAmtvnmCjJUZc5zzRxONO nPGaC3wuxqbMV0eV2bCZtiHWCCJ46Nh2RHPMv8f7Il+0yQw+vDeyKJtnEhu/3+gFdvWl Fej5Denqp+sQyYl++MVYFHzquIrTUG6S36GHtVpIR744TONmjxbFaHGGsKk9DLgeXNOM cObA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ImNmyS8KVcMriGTOlK4oD0X1A4b7wVMix0T8JHsJDBw=; b=YCWegXIiJ8Cgw6wiRN3thsPrP6E9CGMJz9STwMb1F6lWq1QVnM0nagorRgdO4Ff/le MjKHqWKIrkXwy8p843lcAVWdeYffF9d7gEBceggUx/WFPCWYs0uB/sVAVtAruan2fPPd puoYmtRftNjeFdPfFfy3tdIpd3lwx4UPsFDzM842zpA2GRacwEfpwnSxR7+UYGHcGnYu khP9SgzfsBBxtHhlpU3fPYMYPu+T2ZI3uQ6xfD4bmt/SlJKw0CBxU9b8HiM+YqRzTp+0 1WaM36AVuVrdE2/Osg2lzLV08kYbSGgkaan4erKG8Q4/lP/bygiLEkw7TWNgqAhW6NSG 0v5w== X-Gm-Message-State: AOAM531vVefQPV8A6V/JuGnw5qh7U90rxvgfe5dD6jYfpAGheyv7ysta 3FOufDyp7VX8aqvvJA8u/y03DOvUMTVK5x/h8hAq8Q== X-Google-Smtp-Source: ABdhPJwRVQkqjw+eGZx3kmV8ynRpiyG2GnMECRiKr0qdFfd6rO/yKeaxlSxN3DB3SIBtCjRla8iMWhyfoyRubShuGWM= X-Received: by 2002:a62:14c4:0:b029:19d:d3f5:c304 with SMTP id 187-20020a6214c40000b029019dd3f5c304mr4738308pfu.55.1610130586296; Fri, 08 Jan 2021 10:29:46 -0800 (PST) MIME-Version: 1.0 References: <20210103171137.153834-1-lecopzer@gmail.com> <20210103171137.153834-4-lecopzer@gmail.com> In-Reply-To: <20210103171137.153834-4-lecopzer@gmail.com> From: Andrey Konovalov Date: Fri, 8 Jan 2021 19:29:35 +0100 Message-ID: Subject: Re: [PATCH 3/3] arm64: Kconfig: support CONFIG_KASAN_VMALLOC To: Lecopzer Chen Cc: LKML , Linux Memory Management List , kasan-dev , Linux ARM , Dan Williams , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Andrew Morton , linux-mediatek@lists.infradead.org, yj.chiang@mediatek.com, Will Deacon , Catalin Marinas , Lecopzer Chen Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 3, 2021 at 6:13 PM Lecopzer Chen wrote: > > Now I have no device to test for HW_TAG, so keep it not selected > until someone can test this. > > Signed-off-by: Lecopzer Chen > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 05e17351e4f3..29ab35aab59e 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -136,6 +136,7 @@ config ARM64 > select HAVE_ARCH_JUMP_LABEL > select HAVE_ARCH_JUMP_LABEL_RELATIVE > select HAVE_ARCH_KASAN if !(ARM64_16K_PAGES && ARM64_VA_BITS_48) > + select HAVE_ARCH_KASAN_VMALLOC if (HAVE_ARCH_KASAN && !KASAN_HW_TAGS) KASAN_VMALLOC currently "depends on" KASAN_GENERIC. I think we should either do "HAVE_ARCH_KASAN && KASAN_GENERIC" here as well, or just do "if HAVE_ARCH_KASAN". > select HAVE_ARCH_KASAN_SW_TAGS if HAVE_ARCH_KASAN > select HAVE_ARCH_KASAN_HW_TAGS if (HAVE_ARCH_KASAN && ARM64_MTE) > select HAVE_ARCH_KGDB > -- > 2.25.1 > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/20210103171137.153834-4-lecopzer%40gmail.com. 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 X-Spam-Level: X-Spam-Status: No, score=-23.6 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B33CAC433E0 for ; Fri, 8 Jan 2021 18:29:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 34A9F23A7F for ; Fri, 8 Jan 2021 18:29:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 34A9F23A7F Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A3DF58D0192; Fri, 8 Jan 2021 13:29:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9ECDD8D0156; Fri, 8 Jan 2021 13:29:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8B4BE8D0192; Fri, 8 Jan 2021 13:29:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0234.hostedemail.com [216.40.44.234]) by kanga.kvack.org (Postfix) with ESMTP id 74F688D0156 for ; Fri, 8 Jan 2021 13:29:48 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 39298180AD802 for ; Fri, 8 Jan 2021 18:29:48 +0000 (UTC) X-FDA: 77683446456.18.shock45_5f101fa274f5 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin18.hostedemail.com (Postfix) with ESMTP id 09E4D100EC692 for ; Fri, 8 Jan 2021 18:29:48 +0000 (UTC) X-HE-Tag: shock45_5f101fa274f5 X-Filterd-Recvd-Size: 4657 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by imf40.hostedemail.com (Postfix) with ESMTP for ; Fri, 8 Jan 2021 18:29:47 +0000 (UTC) Received: by mail-pf1-f181.google.com with SMTP id c79so6773318pfc.2 for ; Fri, 08 Jan 2021 10:29:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ImNmyS8KVcMriGTOlK4oD0X1A4b7wVMix0T8JHsJDBw=; b=Y0K7rPxt7Xxsk60fVNg19jFZvTgygV+/JV0g08lleOn3I3xFx3/pVCAHl2K20exays bgRQx37jUuscIru6TAY1YUB2MKnooMRFygwz/6ktZwf+kkg0C/SQON+OfJ/oW7W2WStE JrKrTtAiBZ7Y8ECm9juQWdQftv9s19Paay+kdH2j7DBXXHhQAmtvnmCjJUZc5zzRxONO nPGaC3wuxqbMV0eV2bCZtiHWCCJ46Nh2RHPMv8f7Il+0yQw+vDeyKJtnEhu/3+gFdvWl Fej5Denqp+sQyYl++MVYFHzquIrTUG6S36GHtVpIR744TONmjxbFaHGGsKk9DLgeXNOM cObA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ImNmyS8KVcMriGTOlK4oD0X1A4b7wVMix0T8JHsJDBw=; b=c+4x6Dop4Ge1oTtM7KbVoeSHu8CtAyV/stYv/XmkVWDLtI6xUsA/Igg8CRqlckt0re k2d02SBK8XGce1a9UDxin4i8Tf/NEo5FfSEKt9vRYMkIJTxOxlHLn4WFqWnoqMgAwdAb C5d8U0VaTra4DlyjGjGHOmbxaj5Ea0+mFusxTgR2Prd/R2zG+l05YJlttDBRdlD9NMTa 5MvMVrfZifKXUiWg4lGGjKILvRM88xEwOQ5PH1kCN4nyTzrtECnG7xplPXb2F57R+TA7 zTqJP7WVjF0So8uGC1dJ4Iv4tPCixpn0qWswSmeocyU3bv4wFRxkP+yvSVJOLHbTc/D9 qdKw== X-Gm-Message-State: AOAM530SKdQZyb4rPS4gXZS37L2DjFgwamVpixrJZdtCPICVSQqDuhXm tuazFaHRcsAXCsYbjtr1EA7u0QGd0nP53qaELZRH32a5bgfskw== X-Google-Smtp-Source: ABdhPJwRVQkqjw+eGZx3kmV8ynRpiyG2GnMECRiKr0qdFfd6rO/yKeaxlSxN3DB3SIBtCjRla8iMWhyfoyRubShuGWM= X-Received: by 2002:a62:14c4:0:b029:19d:d3f5:c304 with SMTP id 187-20020a6214c40000b029019dd3f5c304mr4738308pfu.55.1610130586296; Fri, 08 Jan 2021 10:29:46 -0800 (PST) MIME-Version: 1.0 References: <20210103171137.153834-1-lecopzer@gmail.com> <20210103171137.153834-4-lecopzer@gmail.com> In-Reply-To: <20210103171137.153834-4-lecopzer@gmail.com> From: Andrey Konovalov Date: Fri, 8 Jan 2021 19:29:35 +0100 Message-ID: Subject: Re: [PATCH 3/3] arm64: Kconfig: support CONFIG_KASAN_VMALLOC To: Lecopzer Chen Cc: LKML , Linux Memory Management List , kasan-dev , Linux ARM , Dan Williams , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Andrew Morton , linux-mediatek@lists.infradead.org, yj.chiang@mediatek.com, Will Deacon , Catalin Marinas , Lecopzer Chen Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun, Jan 3, 2021 at 6:13 PM Lecopzer Chen wrote: > > Now I have no device to test for HW_TAG, so keep it not selected > until someone can test this. > > Signed-off-by: Lecopzer Chen > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 05e17351e4f3..29ab35aab59e 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -136,6 +136,7 @@ config ARM64 > select HAVE_ARCH_JUMP_LABEL > select HAVE_ARCH_JUMP_LABEL_RELATIVE > select HAVE_ARCH_KASAN if !(ARM64_16K_PAGES && ARM64_VA_BITS_48) > + select HAVE_ARCH_KASAN_VMALLOC if (HAVE_ARCH_KASAN && !KASAN_HW_TAGS) KASAN_VMALLOC currently "depends on" KASAN_GENERIC. I think we should either do "HAVE_ARCH_KASAN && KASAN_GENERIC" here as well, or just do "if HAVE_ARCH_KASAN". > select HAVE_ARCH_KASAN_SW_TAGS if HAVE_ARCH_KASAN > select HAVE_ARCH_KASAN_HW_TAGS if (HAVE_ARCH_KASAN && ARM64_MTE) > select HAVE_ARCH_KGDB > -- > 2.25.1 > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/20210103171137.153834-4-lecopzer%40gmail.com. 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 X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B509C433E0 for ; Fri, 8 Jan 2021 18:30:06 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B49EE23A7F for ; Fri, 8 Jan 2021 18:30:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B49EE23A7F Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0mTFVCQb3lI0Fa4vBYiiBwbSZPbkvYot4953+6uOi0U=; b=stmt1RYvuqo3k06IjGHFC4NE7 MQ9KcTPjiQkfVTIa4wFXMTHYAi1/Elov8lDZbtvqlPq76CL+UoALqxejbyN6Q4WGBxm6b0B/A4Xcv Vkd4V/leXOjBtMt93+TIKI3+bjWturES0g5ofytiEMoilM2KySRAace8Ni3jyGOpg82wbUqPbaPaw DgtgYUQEvA/gUHvmLeGde0CTENzl3WW6VcJLSGNncdoieNjnagaQJWVxmywiXGZjPxNNYhHfZyYDc auJcO3BwR00vYoNCL6bLrguIsDEwZnYBToQkD31Wy/8+xoJmYmn2BC4pF8Ar/Ww5QSVHaF6Tk6FWS kNOxXbz8A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxwWF-0005kT-JF; Fri, 08 Jan 2021 18:29:52 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxwWC-0005ix-Ip for linux-mediatek@lists.infradead.org; Fri, 08 Jan 2021 18:29:49 +0000 Received: by mail-pf1-x430.google.com with SMTP id x126so6771083pfc.7 for ; Fri, 08 Jan 2021 10:29:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ImNmyS8KVcMriGTOlK4oD0X1A4b7wVMix0T8JHsJDBw=; b=Y0K7rPxt7Xxsk60fVNg19jFZvTgygV+/JV0g08lleOn3I3xFx3/pVCAHl2K20exays bgRQx37jUuscIru6TAY1YUB2MKnooMRFygwz/6ktZwf+kkg0C/SQON+OfJ/oW7W2WStE JrKrTtAiBZ7Y8ECm9juQWdQftv9s19Paay+kdH2j7DBXXHhQAmtvnmCjJUZc5zzRxONO nPGaC3wuxqbMV0eV2bCZtiHWCCJ46Nh2RHPMv8f7Il+0yQw+vDeyKJtnEhu/3+gFdvWl Fej5Denqp+sQyYl++MVYFHzquIrTUG6S36GHtVpIR744TONmjxbFaHGGsKk9DLgeXNOM cObA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ImNmyS8KVcMriGTOlK4oD0X1A4b7wVMix0T8JHsJDBw=; b=qSgFgLwzJk5HOlbykdHtxxxcjAzEJ2roDeovGoSnGqxePmWQSI402+CLVKMfiHXCs8 b8OPg7S1WD8an57IM3AypRXp7RCGoVHxrWefPRFD4OLleDAyJS+YBwC9w1/pFsBxV3UP K2dttGyjKKExxbwrUw2p/9QZMYRJQrVfdP9kbBEJuu1eQ61rczrLl259l+n52QbCCZr4 J3vZ0a3hCJbIHVmutSBIDqPjF656hWvSRm7dGvxaLNIlAaHeDmx6F9sOMdekWNdfQ63Q WrjOGv4YQpE1aNkLwJOA74Gj/nsTYbtbLnTbS03s6WD9rFtERlK32gKzlODFnOlkZQ8y BKrw== X-Gm-Message-State: AOAM532mmb2Ew3qCImULqUwd3uGQR6BhvXs9m1Trtxr1TsH6bOOLGySn UZNAsUSFrPKusm711ltgGpdEYqHTNhh2VUmYr1Oesw== X-Google-Smtp-Source: ABdhPJwRVQkqjw+eGZx3kmV8ynRpiyG2GnMECRiKr0qdFfd6rO/yKeaxlSxN3DB3SIBtCjRla8iMWhyfoyRubShuGWM= X-Received: by 2002:a62:14c4:0:b029:19d:d3f5:c304 with SMTP id 187-20020a6214c40000b029019dd3f5c304mr4738308pfu.55.1610130586296; Fri, 08 Jan 2021 10:29:46 -0800 (PST) MIME-Version: 1.0 References: <20210103171137.153834-1-lecopzer@gmail.com> <20210103171137.153834-4-lecopzer@gmail.com> In-Reply-To: <20210103171137.153834-4-lecopzer@gmail.com> From: Andrey Konovalov Date: Fri, 8 Jan 2021 19:29:35 +0100 Message-ID: Subject: Re: [PATCH 3/3] arm64: Kconfig: support CONFIG_KASAN_VMALLOC To: Lecopzer Chen X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210108_132948_642862_46FF8D88 X-CRM114-Status: GOOD ( 20.37 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lecopzer Chen , Catalin Marinas , yj.chiang@mediatek.com, linux-mediatek@lists.infradead.org, LKML , kasan-dev , Linux Memory Management List , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , Dan Williams , Will Deacon , Andrew Morton , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Sun, Jan 3, 2021 at 6:13 PM Lecopzer Chen wrote: > > Now I have no device to test for HW_TAG, so keep it not selected > until someone can test this. > > Signed-off-by: Lecopzer Chen > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 05e17351e4f3..29ab35aab59e 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -136,6 +136,7 @@ config ARM64 > select HAVE_ARCH_JUMP_LABEL > select HAVE_ARCH_JUMP_LABEL_RELATIVE > select HAVE_ARCH_KASAN if !(ARM64_16K_PAGES && ARM64_VA_BITS_48) > + select HAVE_ARCH_KASAN_VMALLOC if (HAVE_ARCH_KASAN && !KASAN_HW_TAGS) KASAN_VMALLOC currently "depends on" KASAN_GENERIC. I think we should either do "HAVE_ARCH_KASAN && KASAN_GENERIC" here as well, or just do "if HAVE_ARCH_KASAN". > select HAVE_ARCH_KASAN_SW_TAGS if HAVE_ARCH_KASAN > select HAVE_ARCH_KASAN_HW_TAGS if (HAVE_ARCH_KASAN && ARM64_MTE) > select HAVE_ARCH_KGDB > -- > 2.25.1 > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/20210103171137.153834-4-lecopzer%40gmail.com. _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek 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 X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 359CCC433E0 for ; Fri, 8 Jan 2021 18:31:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E52B723A7E for ; Fri, 8 Jan 2021 18:31:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E52B723A7E Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pR/yHXMlwCLYOjXCEMD46878wmoFkfXDBiJy0EWra2s=; b=TnuBd7xCALznsfoZUHZ3cEkBb hj7TzTlbnX5tlTpWoyNm1OF19DzzokJyEGa3ehcqLZJRvWAS1q1Ei1Wmu6DOyGdYdfyozuuPDYfG7 En0sEpo59Ua/nwLsywWPXeP5cj6FHWyqFLu2LEwTCZVc80/09Q+hyovK+TkwLFXJ9RYzOJLXvJ+Cd RMoCs24Kn7z5QjuaO+nmlhj7/WfTl3PxHcvsFslEXets3ZYbLGLJy1hwqbkzLHU2BPUsjp8qscXLU m1y8Z59Kg6hmPzqOx6tV4C7QyqTZ2PB7UcMzVtWVhiUTXZMkfJ1R7DVRls09u/VQEG8Nr0Ze92FAl kr5UMIGsA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxwWH-0005kf-JJ; Fri, 08 Jan 2021 18:29:53 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxwWC-0005iw-TQ for linux-arm-kernel@lists.infradead.org; Fri, 08 Jan 2021 18:29:49 +0000 Received: by mail-pg1-x536.google.com with SMTP id g15so8134585pgu.9 for ; Fri, 08 Jan 2021 10:29:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ImNmyS8KVcMriGTOlK4oD0X1A4b7wVMix0T8JHsJDBw=; b=Y0K7rPxt7Xxsk60fVNg19jFZvTgygV+/JV0g08lleOn3I3xFx3/pVCAHl2K20exays bgRQx37jUuscIru6TAY1YUB2MKnooMRFygwz/6ktZwf+kkg0C/SQON+OfJ/oW7W2WStE JrKrTtAiBZ7Y8ECm9juQWdQftv9s19Paay+kdH2j7DBXXHhQAmtvnmCjJUZc5zzRxONO nPGaC3wuxqbMV0eV2bCZtiHWCCJ46Nh2RHPMv8f7Il+0yQw+vDeyKJtnEhu/3+gFdvWl Fej5Denqp+sQyYl++MVYFHzquIrTUG6S36GHtVpIR744TONmjxbFaHGGsKk9DLgeXNOM cObA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ImNmyS8KVcMriGTOlK4oD0X1A4b7wVMix0T8JHsJDBw=; b=HiV4zd9AQwS2mzfsaoolzMKFKzjdV/wgQt3RM4RuM4gxtH4dJAuvfuqw7MMUJODXGu k0q0ylWEfAOEpxbrw1lc5zLN2i2oH2/J/xq93bRA3oZQIOOEI8qQUX7AvP1jFgsHcna1 RAalZKoUtsstIMiCIFUEEPN6F5p8uwuCUXnwQ7D7o47AmzcAGiqJOEs49aJ2VB2FdDt9 SH2VZI87xa5ACWr3rsJsELXivGxyLJVFbjeoYseaUlPIyAYJzU7Cq1ifiIQHpeOl+Lo4 GjIfQTMjpSOHj1ZvuXWYVyCYENVVTQHs89AxKjaBp9LtJti2mgVM4Ma2NSWVhqJhvIoU P5HA== X-Gm-Message-State: AOAM533KFa+IwGlDSDwCIzwpbjDmZX54rT9XcGVD0YGi7n0o59cfw41I TSWNnbPK4Ntg5gN64dziOK0IRIH5jkU0LokN9T3nBQ== X-Google-Smtp-Source: ABdhPJwRVQkqjw+eGZx3kmV8ynRpiyG2GnMECRiKr0qdFfd6rO/yKeaxlSxN3DB3SIBtCjRla8iMWhyfoyRubShuGWM= X-Received: by 2002:a62:14c4:0:b029:19d:d3f5:c304 with SMTP id 187-20020a6214c40000b029019dd3f5c304mr4738308pfu.55.1610130586296; Fri, 08 Jan 2021 10:29:46 -0800 (PST) MIME-Version: 1.0 References: <20210103171137.153834-1-lecopzer@gmail.com> <20210103171137.153834-4-lecopzer@gmail.com> In-Reply-To: <20210103171137.153834-4-lecopzer@gmail.com> From: Andrey Konovalov Date: Fri, 8 Jan 2021 19:29:35 +0100 Message-ID: Subject: Re: [PATCH 3/3] arm64: Kconfig: support CONFIG_KASAN_VMALLOC To: Lecopzer Chen X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210108_132948_973154_23FF49B6 X-CRM114-Status: GOOD ( 21.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lecopzer Chen , Catalin Marinas , yj.chiang@mediatek.com, linux-mediatek@lists.infradead.org, LKML , kasan-dev , Linux Memory Management List , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , Dan Williams , Will Deacon , Andrew Morton , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Jan 3, 2021 at 6:13 PM Lecopzer Chen wrote: > > Now I have no device to test for HW_TAG, so keep it not selected > until someone can test this. > > Signed-off-by: Lecopzer Chen > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 05e17351e4f3..29ab35aab59e 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -136,6 +136,7 @@ config ARM64 > select HAVE_ARCH_JUMP_LABEL > select HAVE_ARCH_JUMP_LABEL_RELATIVE > select HAVE_ARCH_KASAN if !(ARM64_16K_PAGES && ARM64_VA_BITS_48) > + select HAVE_ARCH_KASAN_VMALLOC if (HAVE_ARCH_KASAN && !KASAN_HW_TAGS) KASAN_VMALLOC currently "depends on" KASAN_GENERIC. I think we should either do "HAVE_ARCH_KASAN && KASAN_GENERIC" here as well, or just do "if HAVE_ARCH_KASAN". > select HAVE_ARCH_KASAN_SW_TAGS if HAVE_ARCH_KASAN > select HAVE_ARCH_KASAN_HW_TAGS if (HAVE_ARCH_KASAN && ARM64_MTE) > select HAVE_ARCH_KGDB > -- > 2.25.1 > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/20210103171137.153834-4-lecopzer%40gmail.com. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel