Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10633917imu; Thu, 6 Dec 2018 04:27:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/UtWlxVb/ETQz4uRdEHFRkeM1rKm9rwqKEwTjJOHLkUGgBVcVa1kKMPTHNmY4yWFsFCvpzm X-Received: by 2002:a17:902:b60a:: with SMTP id b10mr26238335pls.303.1544099236775; Thu, 06 Dec 2018 04:27:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544099236; cv=none; d=google.com; s=arc-20160816; b=wGF5O01dyN9MN37rOXeLArm2i1e6xFJQ6560AuuY60RWaOF9rNnrUwwCgXyKF1kBft KOVCPRTKhLh/8fcABnwTPsJDnyxBjaHPbzexTHb6RGXiJMK1Tqilmh6skO1U0FuH/9nN FTkPdMB1ChPMY0D4LPARRp7ftnJGmu979DVme3UFxT3A4Z9hJWvjSQyAY7GeH1kgVX+l 1jTh5niGjbzQGF67IrwXOI6306vVyKgVllyAz93s7VxrZ9SFR0+dmE4Fkh/rpWUBRmyv 6jUoYA7LLVgxz6PFCaE5sPyKbxlIBTwF9ZJ5zHiLn6z4d6A8raVV0E1iRWXNEbTl558x YCmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c3irOTZqglCe0+q+NuOFKdHcgcEut4vEB08n2fct2jM=; b=s8K9bz59OnXfDTrAZE7HaEkBWENA9AfScRLh/R9gwkN8BSvkk/JWwIjhimNuhDq41r urxRmZBC8wr+GidzR+99xy914sku4cOOLNib16F2HjAJnspIMWe4XJ0eH1H1E70EBTtU oRvvhf7MqNZicNGQ0ysbwAyg+xZAah6hQCUKkBXBG10lgeRbQhxcy2WYaO9plr211AfZ Gj3IDE8cO/B3Rd6xZSqFyEGre+UTbQEkm0IAiuO1Kk7RtiGJNiAN+MdhhAVl6nqduWlc k7Oblb7KzfiMbXiC5g+EGIuwZ2DvUX6+cmrsqZgH60ERIouT0vnolqVnOPrmV0Jb3KqG 5wdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=neyaAKT0; 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 r18si174292pgb.491.2018.12.06.04.27.01; Thu, 06 Dec 2018 04:27:16 -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=neyaAKT0; 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 S1729859AbeLFMZa (ORCPT + 99 others); Thu, 6 Dec 2018 07:25:30 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37683 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729826AbeLFMZ2 (ORCPT ); Thu, 6 Dec 2018 07:25:28 -0500 Received: by mail-wr1-f66.google.com with SMTP id j10so307516wru.4 for ; Thu, 06 Dec 2018 04:25:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c3irOTZqglCe0+q+NuOFKdHcgcEut4vEB08n2fct2jM=; b=neyaAKT0SnRF3m9Va46jiGHE6yqDTX+/qkDaGCzTfyovNE7fgEiBpHCH6E8H6pp+Dg 0V0P6R3gZXIzt6Npzf0dbDRYL8Segztlu9nPAwlHmkpVL6i1WQnVRLnveSf0VX7FUXUK 0cTIsQkBwIH3ZkWUotsAs+TKxDFa5Y9Z2Quc3dcP2YuxWCU42kiKEIGfhwIkNFXUNKSD hCfLOG5PdM3jVSyheXBqSSO9uucECOKJeKjxpGpB7xEix22PdxX5UErNMDlIZlw4oPq9 St5iuKFy2FfMyKSj8DLg2jVhjVWKfuYjzEnkhBGUnYmnyILzY+gq98tl22Emi+J1SvnQ mfsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c3irOTZqglCe0+q+NuOFKdHcgcEut4vEB08n2fct2jM=; b=PuQZjwkdsrGnNbQtzCDEagmQA9qf+XvYL8zgfJADHmI6BgepdIVVU6b4PgeIPh67Co FaP9OAEtF00SKeSN7MrGeSjv8U1CbLqUYztTtsmITpUWqMBqdEfo1IXTiAkLeoBQetzg 1qnBQUVkqBj736jw8X/nXM9KLdBxRe28UOJVCrbC2TpC5NndnbBsmW263/1T4FpJcdtD XKBwL+trKByNg4vq1h+X3hgqBq/eZThGHRDEjDzOinoX4GND4zkno2r5RxAjREo8F5tU zCDuQvw51t7llraLZ7ZRcXtO3P5jXVoWRkQEMNfJyuQZpqP9Cp1okUKr4HnA1Hmnwux8 xrNg== X-Gm-Message-State: AA+aEWZfZj+Or68pBgz0qThI1lAmq0T54dS6gLZxLxhdAo+mEqqkhJ8R W1sI8o86qwVueeZe+sPOOX5Xpg== X-Received: by 2002:adf:f091:: with SMTP id n17mr9679121wro.292.1544099125848; Thu, 06 Dec 2018 04:25:25 -0800 (PST) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:3180:41f8:3010:ff61]) by smtp.gmail.com with ESMTPSA id j8sm339988wrt.40.2018.12.06.04.25.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Dec 2018 04:25:25 -0800 (PST) From: Andrey Konovalov To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Catalin Marinas , Will Deacon , 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 Cc: Kostya Serebryany , Evgeniy Stepanov , Lee Smith , Ramana Radhakrishnan , Jacob Bramley , Ruben Ayrapetyan , Jann Horn , Mark Brand , Chintan Pandya , Vishwath Mohan , Andrey Konovalov Subject: [PATCH v13 23/25] kasan, arm64: select HAVE_ARCH_KASAN_SW_TAGS Date: Thu, 6 Dec 2018 13:24:41 +0100 Message-Id: <25abce9a21d0c1df2d9d72488aced418c3465d7b.1544099024.git.andreyknvl@google.com> X-Mailer: git-send-email 2.20.0.rc1.387.gf8505762e3-goog In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ea2ab0330e3a..66f2c625fd1c 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 HAVE_ARCH_KASAN select HAVE_ARCH_KGDB select HAVE_ARCH_MMAP_RND_BITS select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT -- 2.20.0.rc1.387.gf8505762e3-goog