Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2779331imu; Thu, 29 Nov 2018 10:04:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vru7KzqDPzKE0Dbw/qGD4o0AJWMP01xS+NUhv6WzC1hSNldfXO8/kczcZdpwGKqEnrY1/5 X-Received: by 2002:a63:741:: with SMTP id 62mr2028276pgh.352.1543514695390; Thu, 29 Nov 2018 10:04:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543514695; cv=none; d=google.com; s=arc-20160816; b=J7mucX9PdRCDohb8Bsh9bxnvlGWmdYNy7+y5ia/9jJtZSmtfDyaZP7GYhLo/HHZ8zd mKKv8aCq+lbWdDLefm0ZC8uFJzyy1H2/UAZYM0TQTa/bPBllGBeiTllv5AW6vCdaCfqN 7RPtG62d7VhusuHk4vJyt7csQoKmZKhJ9CVPG0JCle98yTk4QvN+S5ycWixVuIB92or4 i/x3QnrHC5mMeDgCsp/AaKhh0/tjtGwYUsButmIYet4KBFbmRNDRl4RlIA2D6D1TWdrf ueHDUI57WTS7fNV7TcgclfYXTCus9yW+rRpgjo6P7xWCy5CPUVAhXlKIYiTzUndit6fM lXyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0rkFgUpStJftAYI4djfuxa7yQIwut4nWcrcZznpA0wA=; b=QkqMJkm/WO2oSheE3ecopyKafmyFx/03gTECtx6zpyukc56BZUT195lIvY5BnMe/l3 Cb1V18L6U683AI6djMuARkvca6z1yc4Pw0vaHtiXxSuXTJAmbAhUgbUGAqKdrR/uY9gQ H1huaOY3AKYbrXt+QwJzyRUPPdRRXQ8adNGW4aQ7KuZpZkQxYYq0arI+UHWGSzvpZrzH rAHkhADW3djzWvFNZAAiNmLlMFjzYq6BrMjCDX3TQcOUFQ9vJFMf0BlES7S0NKEo35VC mYpb9oSw+BQHq0cL2xm+uOHrTsbAIl3riWo5SQQ0N5J55T+HjTmPapAECJ56lk5aA/hZ Cwww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si2537829ply.74.2018.11.29.10.04.26; Thu, 29 Nov 2018 10:04:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbeK3FH3 (ORCPT + 99 others); Fri, 30 Nov 2018 00:07:29 -0500 Received: from foss.arm.com ([217.140.101.70]:42314 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726019AbeK3FH3 (ORCPT ); Fri, 30 Nov 2018 00:07:29 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 05A901596; Thu, 29 Nov 2018 10:01:17 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C61C53F575; Thu, 29 Nov 2018 10:01:16 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 4D6791AE0FD4; Thu, 29 Nov 2018 18:01:35 +0000 (GMT) Date: Thu, 29 Nov 2018 18:01:35 +0000 From: Will Deacon To: Andrey Konovalov Cc: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Catalin Marinas , Christoph Lameter , Andrew Morton , Mark Rutland , Nick Desaulniers , Marc Zyngier , Dave Martin , Ard Biesheuvel , "Eric W . Biederman" , Ingo Molnar , Paul Lawrence , Geert Uytterhoeven , Arnd Bergmann , "Kirill A . Shutemov" , Greg Kroah-Hartman , Kate Stewart , Mike Rapoport , kasan-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sparse@vger.kernel.org, linux-mm@kvack.org, linux-kbuild@vger.kernel.org, Kostya Serebryany , Evgeniy Stepanov , Lee Smith , Ramana Radhakrishnan , Jacob Bramley , Ruben Ayrapetyan , Jann Horn , Mark Brand , Chintan Pandya , Vishwath Mohan Subject: Re: [PATCH v12 23/25] kasan, arm64: select HAVE_ARCH_KASAN_SW_TAGS Message-ID: <20181129180134.GA4318@arm.com> References: <996c9b3898bb3c5de977d00215ddc4bf8cf154c1.1543337629.git.andreyknvl@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <996c9b3898bb3c5de977d00215ddc4bf8cf154c1.1543337629.git.andreyknvl@google.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 27, 2018 at 05:55:41PM +0100, Andrey Konovalov wrote: > Now, that all the necessary infrastructure code has been introduced, > select HAVE_ARCH_KASAN_SW_TAGS for arm64 to enable software tag-based > KASAN mode. > > Signed-off-by: Andrey Konovalov > --- > arch/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 787d7850e064..8b331dcfb48e 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -111,6 +111,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_SW_TAGS if !(ARM64_16K_PAGES && ARM64_VA_BITS_48) Can you do if HAVE_ARCH_KASAN instead? Will