Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp57838imu; Tue, 27 Nov 2018 09:00:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/VjysJwWhKNz0LS91yGZqDOkTT4Y6Kb+vwLHgn8o9Z7xURagKIcfWCQaU8Ka1B6NpBliJ6h X-Received: by 2002:a17:902:227:: with SMTP id 36mr33343330plc.140.1543338025245; Tue, 27 Nov 2018 09:00:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543338025; cv=none; d=google.com; s=arc-20160816; b=lkTcaS+2KO6o10XgsV1RUoG4Q4UyCNPBBzvwYmX1QCdmttEpM5rOrsY0nlyBmkY1bB IEF36ENl+WGsjrrQtViphoW2CCNNs1OCd02pYMuINa/EbYoDqvsJHlGTcrVYONXgpn4b JGTu15oyaFcf1mM0/kCa4mH7wxKvZ+EZHS2h/NOIKKnl5QJWAafT7QgRTDlBHife4vQX nlL814dmIdhZ8FLNodt18TnKwyxZ66UCjAtMcCY6qKnZXJLAaiuaJCz9M922PaGan6aI rXRBuairI7nrEC83iPc1NBEIMxJXu561yibw28eznYyr5z8lNgKFQ0LivjwXTq6hf/HS +X1g== 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=25C8CIYC9SPU9SBI9QwghyxTcLF9XSvMZTbWdHBvFm8=; b=rq3Tj7DFHj4KMaBknU5eIk7Lcsn2p+qpJ30bCoXM8uOBNQzlPGUjFkD1FwIKAyKaQW CX4qfCuYZyk4Y3qB5nhhLufDAGHmpSSdZ5A7ZISOJVjdTVN1IIlUXkp1KMz5B7p17/S7 URpoaOc/oZDap/92czQ1Au/Ie3K+KMCCXA2Eq4L0EibWpMsawVWIEdCYJRKOJPwQflSg 1mXXKlyhZ5Ox+IMTC/zczlPODlLteMx6bEzwR+O7P6nvqa2PA2Be4+nJNy/maS/vggpt z8RQeiF1O+qNEfzoucnAXc5zQBYct2HUU+gKBL3txGJaKFg9iyFkBhZoozrTwyj7/1dz bC7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=uH0SgLiO; 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 l61si4474944plb.6.2018.11.27.09.00.06; Tue, 27 Nov 2018 09:00:25 -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=uH0SgLiO; 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 S1731839AbeK1DzE (ORCPT + 99 others); Tue, 27 Nov 2018 22:55:04 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:32768 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731819AbeK1DzE (ORCPT ); Tue, 27 Nov 2018 22:55:04 -0500 Received: by mail-wm1-f66.google.com with SMTP id l3so434365wme.0 for ; Tue, 27 Nov 2018 08:56:32 -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=25C8CIYC9SPU9SBI9QwghyxTcLF9XSvMZTbWdHBvFm8=; b=uH0SgLiO2qJbc33GzR5cf2JRTRQSW8zulwrxK/hoUgGgbafXk6UjDGyoGxOOx3yngy 5c00VcRJCyxcL2Ph7XpOtbaV2bk2uik5gfamA5GwT4W7hoj3qiGR8QgE0pXggaU4jVAx 7G3MfcTqmzJ0xcXdCTdjiFWW4nElcJUYi20y32Xq5iru0Uk0YeMnVelD/8Jq9ijBY5UQ HGIO0a8dSjuTcDRktBQUpifl4dngA+P7svdpob0De+rPlPH2xheaba1MpWjV/2U1hiZJ XmWbZaE5COdjciH4j/7xRajIIKeGdB4dVoZNR6MtEORI/8BGGjlnmzCkU4/tckzR+vEG BC+A== 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=25C8CIYC9SPU9SBI9QwghyxTcLF9XSvMZTbWdHBvFm8=; b=AHJVaJ410K0Z9QBq/rvhDdnc7QQ4Bw69wxnzsuTG2W3RHMYoQwqhasj89YDWq+dD7x yEjDEXCC8qio415EqHsaTCbbRo3iUqKsOLCwBsFZ/s4WcbqrSxZw5TxskKWHqjT//+TH dn0yMdjzfZostsla5JfQpshcwfMy0OSjPJ6NOS6HqyN7KMnCz7jVCkcx6dtTS4XCjVDk jmscmtPu8V6W9JMpN6YQ1cX4K1MS7k//4Wp1afHGNwPYU337B1S84vNg9M0EeHoSoTi6 osyeEInpAzKOtt2dsQd8BrfSg1kT0HIJTlvclYDQSmfmOAyoQ/6vdDSbBLBF2U4N4PJw jBZw== X-Gm-Message-State: AA+aEWad7TtuAGBoPk+NTQVf74A2ceDLVgm7wfrmxqPPHO9M9L+pkOVn R+UWYHazbc/novq/QArqWdT0zA== X-Received: by 2002:a1c:ee86:: with SMTP id j6mr30100231wmi.135.1543337791517; Tue, 27 Nov 2018 08:56:31 -0800 (PST) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:3180:41f8:3010:ff61]) by smtp.gmail.com with ESMTPSA id k73sm6383099wmd.36.2018.11.27.08.56.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 08:56:30 -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 v12 23/25] kasan, arm64: select HAVE_ARCH_KASAN_SW_TAGS Date: Tue, 27 Nov 2018 17:55:41 +0100 Message-Id: <996c9b3898bb3c5de977d00215ddc4bf8cf154c1.1543337629.git.andreyknvl@google.com> X-Mailer: git-send-email 2.20.0.rc0.387.gc7a69e6b6c-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 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) select HAVE_ARCH_KGDB select HAVE_ARCH_MMAP_RND_BITS select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT -- 2.20.0.rc0.387.gc7a69e6b6c-goog