Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10512403imu; Thu, 6 Dec 2018 02:21:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/V7/BxZXA3FZ8wF9sFnX3PlEVpozuESw9P35dEuZxYwp+eSgUl6dNeV5akMOpSD4OU4yquU X-Received: by 2002:a63:413:: with SMTP id 19mr22180605pge.7.1544091664626; Thu, 06 Dec 2018 02:21:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544091664; cv=none; d=google.com; s=arc-20160816; b=FqZIceMZzoZC1txOX/g3NftbBr2YnhGiw7/w/IWmGsI2qYzXvL8PhB5ZCUyxpjnynN /xrJGm/+4q3d67mmH5ZMLH49HQaf/7d2lX4J8B7mvBCDm75UOjvGkS3/JXYz7InK5h8v NJVsLlKriXY7U9HoTuTVr8vuQOUnMeDJXUN6Q96yX6+v9elzDJ4Y7/5qo/rvyJDIsen4 dx3vBB1MsEUYyMhFgP5bu+5MAsaHF5OadolaBO6ausJ/FcoI+yt4mjXAebDgGFSZbz7H lI2n8mVRqxKevfD1/nD+cyF99858sXSWD4WMQlaDz389LZmntsDqEnP+ak2qo4hUTACP ny4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qMLX7TZgGimHpOPxJ6kf9Gyqt7YLykVCggBq8z/2DPk=; b=ITGGr+AKrm0YklioOncUme+GHVIofFXoBUMFCKoQj+WJPpqo4vZa/05aYHJN55EhC4 NhZALQo/OSCMCseSfXNnIci04lfwEF5iCC84JOivv/Dt0LoNvouW0cYxZ0P8p8/4Mf7H baRGx2duccAHa/blX1rW3dTdrN+GX17Eg78PDWqj1GvesootCNxuXDzA/c4kzDz68WHd RRuKfpkFUy5jmfrvyQYQ458Ty+J4UuhK0MSREWj6OyjzkZdHMqoZxhwcilajLi/pnpgy A8xv1Oktdc6Oa8FDoteSXG+BOWGcxR2SPZBTVaFf8VGoyzBJ+W6ZhsMi3ibqS/Zp8rfP v+aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nINlQ++D; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 59si24265613ple.291.2018.12.06.02.20.48; Thu, 06 Dec 2018 02:21:04 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=nINlQ++D; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729267AbeLFKUK (ORCPT + 99 others); Thu, 6 Dec 2018 05:20:10 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:35846 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727908AbeLFKUJ (ORCPT ); Thu, 6 Dec 2018 05:20:09 -0500 Received: by mail-it1-f194.google.com with SMTP id c9so558474itj.1 for ; Thu, 06 Dec 2018 02:20:09 -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=qMLX7TZgGimHpOPxJ6kf9Gyqt7YLykVCggBq8z/2DPk=; b=nINlQ++D+/shIxgOMKvy2sqsuA0UcM6LgdCMXam3mX6f0qNCRtICzkK+cD0qDRUeym N4HQKf1ua05IzqSRb84TTyGK0f1aotpGruvCow11Ol+K/FmWe5zemmwA2VtpcfoXMVUV ShmC8TZkEaMMBdrtFzPFVzzqFb2MjpP6XaUZGv3ToA8pcl3CF9ogyiFDvKehemJ6e+tU GoquIWdl92+ABFOSi6naZEgd615nk8U2HbElPG3A5Qw3hcBGFKVG6hepUAyzzajue+LK 3it+GfnQaKjGwSpLlZQQiI1iuLUs890rUiM8qQnzymv4zRrFWl8+T6RW3wn9c+iDtieo 7kLw== 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=qMLX7TZgGimHpOPxJ6kf9Gyqt7YLykVCggBq8z/2DPk=; b=GjUUU/Fcs4y60TjqnaKHFcnsiJ6RQpKK4CZaGVGvcqoqDYELUQWX1YqEz2n6DA7BDQ ZZVXApSmntYJO1G3Ikb33iZAs2zhi+DFdYuWAwE1OJ1nFvCIyZscAFiWhtFSWUochPKd Sx2Nn3iRDyK9LrjHfa+cRXoG8PacTkJccNWPLDRKobb/e4yg5cfW3vXCvDbpIo0MTkps 5XSQejZJyrTY1JgOXgPFT3LIvZKTO67bgWjysVKWnwrCWv1ykvPM/HYVnfcnFCkDoGMJ 4TM8cCaxZnu6w+EJZMduVwcj74XDSbZDJ17wyM7aKTruei/11FzdlfOGJMClZSs92RkC lCWg== X-Gm-Message-State: AA+aEWbWJh/sei71DSwl827acXXNkDjpzC5upVrJJyc4vrvkrytEyZQb NYeVgF2UGHhMfERwrUYkvthavXqAu+ds0lhUgyu4Vw== X-Received: by 2002:a24:cb02:: with SMTP id u2mr16244774itg.87.1544091608562; Thu, 06 Dec 2018 02:20:08 -0800 (PST) MIME-Version: 1.0 References: <996c9b3898bb3c5de977d00215ddc4bf8cf154c1.1543337629.git.andreyknvl@google.com> <20181129180134.GA4318@arm.com> In-Reply-To: <20181129180134.GA4318@arm.com> From: Andrey Konovalov Date: Thu, 6 Dec 2018 11:19:57 +0100 Message-ID: Subject: Re: [PATCH v12 23/25] kasan, arm64: select HAVE_ARCH_KASAN_SW_TAGS To: Will Deacon 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 , "open list:DOCUMENTATION" , LKML , Linux ARM , linux-sparse@vger.kernel.org, Linux Memory Management List , Linux Kbuild mailing list , Kostya Serebryany , Evgenii Stepanov , Lee Smith , Ramana Radhakrishnan , Jacob Bramley , Ruben Ayrapetyan , Jann Horn , Mark Brand , Chintan Pandya , Vishwath Mohan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 29, 2018 at 7:01 PM Will Deacon wrote: > > 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 do in v13, thanks! > > Will