Message ID | 14da91876a25a6ae5b2096f7c06ebbc6deb3cf6b.1612546384.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=eMXW=HH=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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=-17.1 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,USER_AGENT_GIT 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 1361AC433E6 for <linux-arm-kernel@archiver.kernel.org>; Fri, 5 Feb 2021 17:37:46 +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 D013960C3F for <linux-arm-kernel@archiver.kernel.org>; Fri, 5 Feb 2021 17:37:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D013960C3F 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:From:Subject:References:Mime-Version:Message-Id: In-Reply-To:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OJ3SuST+VEvA2KiPwIGLhRogIT5DZNw4s3JOrTw0buc=; b=pyQkwE0ttwsmUc/eT/WADx56b JqQOKbCOB+i1jlrd0lQumPxPD3NHCvWkBqyOq5Y5xOjJ4u+d+t9ZuGoKgQRhgE6hsRqHk8kLNN94g 95DAso6xTEVHkkE9bJE1Fo/35hLYqFzvwb84oSDHsLHVgox4DCH0QZkCGKh8vJ0n+LCaWpE0pqqgT Gmgfom3x/vGZRAhwkIqxbgFVXOCZqgktYEk90xuTlsBA3S/ZpfwYh7JXfeCmvgjfF1Bqt8stAC6ht ddd7++u4ZzSaZq/ihj5F6DONwQ8AZd2MKIdEAQZmWMr6Arx1sSQiDkfsWAza3q8peQAHsd5KXWaVu v2rtT6BZg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l851v-0005Sm-Ib; Fri, 05 Feb 2021 17:36:27 +0000 Received: from mail-qt1-x84a.google.com ([2607:f8b0:4864:20::84a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l850t-0004zQ-Kg for linux-arm-kernel@lists.infradead.org; Fri, 05 Feb 2021 17:35:32 +0000 Received: by mail-qt1-x84a.google.com with SMTP id o7so5775328qtw.7 for <linux-arm-kernel@lists.infradead.org>; Fri, 05 Feb 2021 09:35:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=V3NcBz/sBuF9R5rbEs4mkivGfi7JQffIAtJVZQe6PVQ=; b=AyFbGRtZMQocl7Q5NZT214tJhO130JH2kzAWqSjD8+Setp/oN6e7y7y8sPvxLQ8TH6 UfeGhuUInm0NPCAigeTNrpGzDs0p+CeVjTEmhqouTHFWmbb5IGwrv+hy3nMqEPJ5yukw flPCVMav/pLrs8OsAbd8op8i84uJ0cBQXHIGczYU7OYXZ71NdHwo97Qy9Ohdp+Cmvc9v 5BhyH/fScylRm+CG12IxCgd5lj5u7a/9pl8SjQluL9wg2B8jUpNlP9gDHyB0ZVrHMbwx 6xr1/x0bN5rWepIoZ6NFyCEI08m5yhNOXHjLn12fmIibIaQ1QXL1I94o8s+BOLGB96yU 1XHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=V3NcBz/sBuF9R5rbEs4mkivGfi7JQffIAtJVZQe6PVQ=; b=R2O8zwYBR4qZZZDrOtQQGTvl0ZwaYCMTj6ZD3Za2m7+ksemhkgJuxUUEtRxshnwe7/ oPMmSPr1M+m0RHXHPi7l0/Xshoo5qcS6wnIyBVChxvahzMLTwjzcObVYIaBCJmekBLNR fVNM2K1Bb4Uzhw0pi+DgQH9ZCN4XLfst00nffgaXVgmc5kK29BxN8Zj5lIWiS60uu71V NR7CyWU/7mNRMvw8F/+PJEJSiD/J5eFhwmIadQMkQLvbvdOKUfLIq+moWpWeiU4q8wwI yQnWcuv6ne+Y+rdejIQbOLO1jxpDrNxlUU15Mc5NemLLbzTyBu1deI1EUVmSfEhUoLaS wFDw== X-Gm-Message-State: AOAM533jsJnDYyQJRmaC0sy8PtoRzz2pCu1XxrFPvk8y/ZRc0HZSohJu 13uZoqjmXmtsPWT5AVxSLnUqjf/3K6CvvPnw X-Google-Smtp-Source: ABdhPJweLbaw7VFlVSS/J9c4mZHXhCjW3eIz5PFMh/DXiJO3ThcuygtX+EQLe2kTQSSSDZUfps4nI4nhEccmHL6m X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:edb8:b79c:2e20:e531]) (user=andreyknvl job=sendgmr) by 2002:a0c:eda6:: with SMTP id h6mr5378538qvr.19.1612546519544; Fri, 05 Feb 2021 09:35:19 -0800 (PST) Date: Fri, 5 Feb 2021 18:34:46 +0100 In-Reply-To: <cover.1612546384.git.andreyknvl@google.com> Message-Id: <14da91876a25a6ae5b2096f7c06ebbc6deb3cf6b.1612546384.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1612546384.git.andreyknvl@google.com> X-Mailer: git-send-email 2.30.0.365.g02bc693789-goog Subject: [PATCH v3 mm 12/13] arm64: kasan: export MTE symbols for KASAN tests From: Andrey Konovalov <andreyknvl@google.com> To: Andrew Morton <akpm@linux-foundation.org>, Catalin Marinas <catalin.marinas@arm.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, Dmitry Vyukov <dvyukov@google.com>, Alexander Potapenko <glider@google.com>, Marco Elver <elver@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210205_123523_787728_602D259D X-CRM114-Status: GOOD ( 10.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Branislav Rankov <Branislav.Rankov@arm.com>, Andrey Konovalov <andreyknvl@google.com>, Kevin Brodsky <kevin.brodsky@arm.com>, Will Deacon <will.deacon@arm.com>, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, Andrey Ryabinin <aryabinin@virtuozzo.com>, Peter Collingbourne <pcc@google.com>, Evgenii Stepanov <eugenis@google.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
kasan: optimizations and fixes for HW_TAGS
|
expand
|
diff --git a/arch/arm64/kernel/mte.c b/arch/arm64/kernel/mte.c index 203108d51d40..a66c2806fc4d 100644 --- a/arch/arm64/kernel/mte.c +++ b/arch/arm64/kernel/mte.c @@ -113,11 +113,13 @@ void mte_enable_kernel(void) sysreg_clear_set(sctlr_el1, SCTLR_ELx_TCF_MASK, SCTLR_ELx_TCF_SYNC); isb(); } +EXPORT_SYMBOL_GPL(mte_enable_kernel); void mte_set_report_once(bool state) { WRITE_ONCE(report_fault_once, state); } +EXPORT_SYMBOL_GPL(mte_set_report_once); bool mte_report_once(void) {