From patchwork Mon Jan 18 09:21:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Elver X-Patchwork-Id: 12026809 Return-Path: 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=-16.6 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 7E851C433E0 for ; Mon, 18 Jan 2021 09:22:07 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E6DA622241 for ; Mon, 18 Jan 2021 09:22:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E6DA622241 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0311B6B027F; Mon, 18 Jan 2021 04:22:06 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id EFD6E6B02BE; Mon, 18 Jan 2021 04:22:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DC4FF8D0002; Mon, 18 Jan 2021 04:22:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0058.hostedemail.com [216.40.44.58]) by kanga.kvack.org (Postfix) with ESMTP id C077F6B027F for ; Mon, 18 Jan 2021 04:22:05 -0500 (EST) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 87F84AF8C for ; Mon, 18 Jan 2021 09:22:05 +0000 (UTC) X-FDA: 77718354210.02.brush79_56066ec27548 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin02.hostedemail.com (Postfix) with ESMTP id 6607110097AA2 for ; Mon, 18 Jan 2021 09:22:05 +0000 (UTC) X-HE-Tag: brush79_56066ec27548 X-Filterd-Recvd-Size: 4663 Received: from mail-qk1-f201.google.com (mail-qk1-f201.google.com [209.85.222.201]) by imf28.hostedemail.com (Postfix) with ESMTP for ; Mon, 18 Jan 2021 09:22:04 +0000 (UTC) Received: by mail-qk1-f201.google.com with SMTP id l138so16493537qke.4 for ; Mon, 18 Jan 2021 01:22:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=QzGOv73ZFTudUcHTOtMvLbaz7ljjqIpJFfG6qI+sI6U=; b=X6NZCPTBA0MLtyfOsSc4T6WCOKT6Vu8X96m8uttmeTIoEZk1WlYwaTI1G7HnwWPaGM C9JwaP4knEZ+K1/cWKzAKbPKPFS0TaYSQMZaOYd99HTe3knZ2Z2MDj8TTj/z01Ed+QDj d9gCObF/0soZyQPQojVTlDJeZ0xWxUvLjKAtqqrGAvqBREkPPNToRqIO73NwQMFB7pae K4SBwcR4LuLbgqnVwpy7wF8YMo2BNEQu5UglRw7wMmUyEFtYEXf7Mk6mD4PvSOQe8lDX xPBPEfp4yrCGbzJ5uYDCsgg8sJj92cHsbmQS6Ds6/MbIovLHovhXwUxLlVQrpbMlC2p+ mqHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=QzGOv73ZFTudUcHTOtMvLbaz7ljjqIpJFfG6qI+sI6U=; b=bFQ+/lpp9uMrqxWS7yx7I9UM0t8j4PSssVbEKw9d8lxHpEpcJcuNOwZI5QlP0ewYU7 E0OATuGug3MF/I/Z8J6oEXBbcvYWiz5Zv026mPaWNbAWoXh6ZVjS4uly6qOPCVhDhWXG 52LJlL1OR3gRP1nE4S3jZXLLBfV72zo/m8JuGlmqoTEpBKBm/fcCzWoeNhNQcyt8A+mA L0IWPjB+8Vtj0XAOBuwjeQbWuJstalp+YVCd71uFzLHWITykZ4mrnwxUnVvfKLHz3jdU OICcC0ktENvzySNeX9YayFIkQ+JJl8trjFEg1ekCRvVbK2dLxd0P7CVp3z1s2Voa/h8l n16w== X-Gm-Message-State: AOAM531jmbLFpgiLHfXOsHhlmjug3UVjTCWg6VCemSMxktYJ5ufwnNMX dVTlUgN41tlZ7upYM8vgMMtFUV9KeA== X-Google-Smtp-Source: ABdhPJx+3xkjI1jXn9mZj3Qy2H/cCLEH37rxUjjfAZC8c3/tlUM9r+fDtU5g01+zeu+zN8zscX35Ykd70A== X-Received: from elver.muc.corp.google.com ([2a00:79e0:15:13:f693:9fff:fef4:2449]) (user=elver job=sendgmr) by 2002:ad4:43ea:: with SMTP id f10mr23237470qvu.52.1610961724181; Mon, 18 Jan 2021 01:22:04 -0800 (PST) Date: Mon, 18 Jan 2021 10:21:56 +0100 Message-Id: <20210118092159.145934-1-elver@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.30.0.284.gd98b1dd5eaa7-goog Subject: [PATCH mm 1/4] kfence: add missing copyright and description headers From: Marco Elver To: elver@google.com, akpm@linux-foundation.org Cc: glider@google.com, dvyukov@google.com, andreyknvl@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kasan-dev@googlegroups.com X-Bogosity: Ham, tests=bogofilter, spamicity=0.051494, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Add missing copyright and description headers to KFENCE source files. Signed-off-by: Marco Elver Reviewed-by: Alexander Potapenko --- If appropriate, to be squashed into: mm: add Kernel Electric-Fence infrastructure --- include/linux/kfence.h | 6 ++++++ mm/kfence/core.c | 5 +++++ mm/kfence/kfence.h | 6 ++++++ mm/kfence/report.c | 5 +++++ 4 files changed, 22 insertions(+) diff --git a/include/linux/kfence.h b/include/linux/kfence.h index c2c1dd100cba..a70d1ea03532 100644 --- a/include/linux/kfence.h +++ b/include/linux/kfence.h @@ -1,4 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0 */ +/* + * Kernel Electric-Fence (KFENCE). Public interface for allocator and fault + * handler integration. For more info see Documentation/dev-tools/kfence.rst. + * + * Copyright (C) 2020, Google LLC. + */ #ifndef _LINUX_KFENCE_H #define _LINUX_KFENCE_H diff --git a/mm/kfence/core.c b/mm/kfence/core.c index a5f8aa410a30..cfe3d32ac5b7 100644 --- a/mm/kfence/core.c +++ b/mm/kfence/core.c @@ -1,4 +1,9 @@ // SPDX-License-Identifier: GPL-2.0 +/* + * KFENCE guarded object allocator and fault handling. + * + * Copyright (C) 2020, Google LLC. + */ #define pr_fmt(fmt) "kfence: " fmt diff --git a/mm/kfence/kfence.h b/mm/kfence/kfence.h index 97282fa77840..1accc840dbbe 100644 --- a/mm/kfence/kfence.h +++ b/mm/kfence/kfence.h @@ -1,4 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0 */ +/* + * Kernel Electric-Fence (KFENCE). For more info please see + * Documentation/dev-tools/kfence.rst. + * + * Copyright (C) 2020, Google LLC. + */ #ifndef MM_KFENCE_KFENCE_H #define MM_KFENCE_KFENCE_H diff --git a/mm/kfence/report.c b/mm/kfence/report.c index 1996295ae71d..901bd7ee83d8 100644 --- a/mm/kfence/report.c +++ b/mm/kfence/report.c @@ -1,4 +1,9 @@ // SPDX-License-Identifier: GPL-2.0 +/* + * KFENCE reporting. + * + * Copyright (C) 2020, Google LLC. + */ #include From patchwork Mon Jan 18 09:21:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Elver X-Patchwork-Id: 12026811 Return-Path: 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=-16.6 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 447D5C433E0 for ; Mon, 18 Jan 2021 09:22:10 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C3F8B2222F for ; Mon, 18 Jan 2021 09:22:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C3F8B2222F Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 4501D8D0006; Mon, 18 Jan 2021 04:22:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3B2E88D0002; Mon, 18 Jan 2021 04:22:09 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 254808D0006; Mon, 18 Jan 2021 04:22:09 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0109.hostedemail.com [216.40.44.109]) by kanga.kvack.org (Postfix) with ESMTP id 0A4DA8D0002 for ; Mon, 18 Jan 2021 04:22:09 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id B97A8AF85 for ; Mon, 18 Jan 2021 09:22:08 +0000 (UTC) X-FDA: 77718354336.08.cup18_4609d3327548 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin08.hostedemail.com (Postfix) with ESMTP id 989D61819E62B for ; Mon, 18 Jan 2021 09:22:08 +0000 (UTC) X-HE-Tag: cup18_4609d3327548 X-Filterd-Recvd-Size: 3540 Received: from mail-wr1-f74.google.com (mail-wr1-f74.google.com [209.85.221.74]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Mon, 18 Jan 2021 09:22:08 +0000 (UTC) Received: by mail-wr1-f74.google.com with SMTP id m20so8005305wrh.2 for ; Mon, 18 Jan 2021 01:22:08 -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=IZxX31YwQJxY4qKXB8kaGSAyfVufijU5UZLnTc03xew=; b=PVEk3tnsQj1svfSEAwlXh1Vfsz4IAVEr1K6SIFCqfP3mDrILXQkPhAtk+ikkFUbhfK 2C1v3Xj/VmNnq2TOiiSOvVd2X9eN0eIeS1Vz2QZDvOoMzEm5h64GOoJAjp+qQzIoDysI NbQJIza1JcqqQziB282h52top1Nu9tBZUR4/8y2xEbE3zuBaiN7DT5CibGByDOJuh6mu 6K/JbsuW6Utttrk3lB4BtI9F6dW6UKyXA0hT/pOQFySx2c8YaBjn6CfCXWcqdsSNA/nU 9+QxvfAuMjYFpphvWTP7r4JyrU7OJ/6nTXlTmsuulAxTgSTwLlcs3owYQqALICDNr7OC N9ew== 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=IZxX31YwQJxY4qKXB8kaGSAyfVufijU5UZLnTc03xew=; b=LBSFd8mLkZOpLlhtnprOH9tH1ZMGJbKQNVT1dThFrARzaGBFCRXOwuOWoDGRo23kJx ObTja6nJTfMtIaYmgv7pVLJVj+D8CEbNR/O29dAfNhiTODHPseJqlmvcTOPQEHOW6Pw6 A8ntzy4OygQB3bKxKjWmFu/1arIUaluq65Qdf4ZXHmshpoK+zhtTUfBmwxfEqmxirU7z fRuhhAXTPLATjgXqpUy5PgD6ZBjlZUYum/e2LQ2Ew6ZHyOzn65z3Rmh2TywRqgRBUZvZ yF8Oj/ZLW1ByjhbrM2YfO96XIeZovO2bqwox7BPDDMMzj26jwfYwgIjlLpR6+kGiIHqO P4MA== X-Gm-Message-State: AOAM531xQ4RVLLqM/wVA4XTIkSpBFBAmm1XeS3oHSdidoEZvw/q6smHi nppyRmmS8x4T/R/pW5yny8+P/0wGlw== X-Google-Smtp-Source: ABdhPJyxTNm231M+X8FUTU+onEgKbTGm5BnbsTbZSQSA4gnoCzI1krEf2EoD1cSB8OT9Wriz/HQ/HifYQg== X-Received: from elver.muc.corp.google.com ([2a00:79e0:15:13:f693:9fff:fef4:2449]) (user=elver job=sendgmr) by 2002:adf:f60b:: with SMTP id t11mr25193199wrp.401.1610961726705; Mon, 18 Jan 2021 01:22:06 -0800 (PST) Date: Mon, 18 Jan 2021 10:21:57 +0100 In-Reply-To: <20210118092159.145934-1-elver@google.com> Message-Id: <20210118092159.145934-2-elver@google.com> Mime-Version: 1.0 References: <20210118092159.145934-1-elver@google.com> X-Mailer: git-send-email 2.30.0.284.gd98b1dd5eaa7-goog Subject: [PATCH mm 2/4] kfence, x86: add missing copyright and description header From: Marco Elver To: elver@google.com, akpm@linux-foundation.org Cc: glider@google.com, dvyukov@google.com, andreyknvl@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kasan-dev@googlegroups.com X-Bogosity: Ham, tests=bogofilter, spamicity=0.001898, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Add missing copyright and description header to KFENCE source file. Signed-off-by: Marco Elver Reviewed-by: Alexander Potapenko --- If appropriate, to be squashed into: x86, kfence: enable KFENCE for x86 --- arch/x86/include/asm/kfence.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/x86/include/asm/kfence.h b/arch/x86/include/asm/kfence.h index 2f3f877a7a5c..97bbb4a9083a 100644 --- a/arch/x86/include/asm/kfence.h +++ b/arch/x86/include/asm/kfence.h @@ -1,4 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0 */ +/* + * x86 KFENCE support. + * + * Copyright (C) 2020, Google LLC. + */ #ifndef _ASM_X86_KFENCE_H #define _ASM_X86_KFENCE_H From patchwork Mon Jan 18 09:21:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Elver X-Patchwork-Id: 12026815 Return-Path: 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=-16.6 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 8FF51C433E0 for ; Mon, 18 Jan 2021 09:22:12 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1943F22240 for ; Mon, 18 Jan 2021 09:22:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1943F22240 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 848A68D0008; Mon, 18 Jan 2021 04:22:11 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7D1478D0007; Mon, 18 Jan 2021 04:22:11 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6C0858D0008; Mon, 18 Jan 2021 04:22:11 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0242.hostedemail.com [216.40.44.242]) by kanga.kvack.org (Postfix) with ESMTP id 42F1B8D0007 for ; Mon, 18 Jan 2021 04:22:11 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 0A9F3181AF5CC for ; Mon, 18 Jan 2021 09:22:11 +0000 (UTC) X-FDA: 77718354462.28.act60_111012c27548 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin28.hostedemail.com (Postfix) with ESMTP id E34B4AF94 for ; Mon, 18 Jan 2021 09:22:10 +0000 (UTC) X-HE-Tag: act60_111012c27548 X-Filterd-Recvd-Size: 3554 Received: from mail-wr1-f74.google.com (mail-wr1-f74.google.com [209.85.221.74]) by imf13.hostedemail.com (Postfix) with ESMTP for ; Mon, 18 Jan 2021 09:22:10 +0000 (UTC) Received: by mail-wr1-f74.google.com with SMTP id v5so8010315wrr.0 for ; Mon, 18 Jan 2021 01:22:10 -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=hkWRLHOHbnA69ZqWFvUpIIVeHgC2CbanywSC7oN8uXE=; b=uXQQtcl2dxthbSBXRYjIkrcPQI0tlYId8LVzD6aku69Meg/Cb5VHsBAUfDaXyqlyNE L0LG16fo4mpl7oxowLlMuvAA0pLCbSQDE1fLIa9gXtmWKV0dVKvkMKtH368GR6bm60ib UUjsovJ/7NiA9c2e4lDEIS1gCHQA3hMwS+oQKu6DtLKHkzMnwtNztxrV3dqp0TcOrHSH Qr9vMAlwwvR0Ppk3IFFcF+XrVrNwfgzYbw+5chQj3BKMMoyRDy7EUZdWAYMfntntTUJa Uaw1w2CAI8GOeEWD6RLWo3qOE7+nn4WN6RS9+KyJePm34p5nPezFIwI0ZDJfiurfemnn Cnhg== 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=hkWRLHOHbnA69ZqWFvUpIIVeHgC2CbanywSC7oN8uXE=; b=h8yxde5gSu2PlU5oBV5C7tp7MJZwdS6pVOspRLxiALpdV/bX/9lsiHNMbpKrKfMnrk +HPbowCt2kuW+TNhx8T+3TMSiGmkVIl0yENLxQ8+19G++MV1f64nINckwS1+y1UXoCMY Gx2ObDarnooZmQtLZtV8uUFjzBPj1v2bohLFDERS6AOUC6pfApAa1pKFDdV7Ijq9iH/h qRGfx11AfQq66G6S70p1EyAJRTG7FCeSmtMkdMiuQdNh+ZvSHHN0oga3YJodgx88wBeo gbcWpAJSl+ExBFDKeW1uo83Y6pOKcWXCn3pvRLPuumW+WAvfHL0krjnslBlrf79qatz3 GQtQ== X-Gm-Message-State: AOAM532bCjn/LaW7t+6hhxann9UyZcXb+IKR6M5uSkPMCiXjc5LlpNNm J+IAqLVu6qTSRN2iOPExcd5Na7VXHA== X-Google-Smtp-Source: ABdhPJz/CP9bGY7nHc+SIQfL2A3fIqdDuw/7wztym7OBqCB81VON8CIJFu4EL4SK0b0w9a+W5FeUzqqKbA== X-Received: from elver.muc.corp.google.com ([2a00:79e0:15:13:f693:9fff:fef4:2449]) (user=elver job=sendgmr) by 2002:a05:600c:19c7:: with SMTP id u7mr9181180wmq.122.1610961729366; Mon, 18 Jan 2021 01:22:09 -0800 (PST) Date: Mon, 18 Jan 2021 10:21:58 +0100 In-Reply-To: <20210118092159.145934-1-elver@google.com> Message-Id: <20210118092159.145934-3-elver@google.com> Mime-Version: 1.0 References: <20210118092159.145934-1-elver@google.com> X-Mailer: git-send-email 2.30.0.284.gd98b1dd5eaa7-goog Subject: [PATCH mm 3/4] kfence, arm64: add missing copyright and description header From: Marco Elver To: elver@google.com, akpm@linux-foundation.org Cc: glider@google.com, dvyukov@google.com, andreyknvl@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kasan-dev@googlegroups.com X-Bogosity: Ham, tests=bogofilter, spamicity=0.000094, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Add missing copyright and description header to KFENCE source file. Signed-off-by: Marco Elver Reviewed-by: Alexander Potapenko --- If appropriate, to be squashed into: arm64, kfence: enable KFENCE for ARM64 --- arch/arm64/include/asm/kfence.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/include/asm/kfence.h b/arch/arm64/include/asm/kfence.h index 6c0afeeab635..d061176d57ea 100644 --- a/arch/arm64/include/asm/kfence.h +++ b/arch/arm64/include/asm/kfence.h @@ -1,4 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0 */ +/* + * arm64 KFENCE support. + * + * Copyright (C) 2020, Google LLC. + */ #ifndef __ASM_KFENCE_H #define __ASM_KFENCE_H From patchwork Mon Jan 18 09:21:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Elver X-Patchwork-Id: 12026813 Return-Path: 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=-16.6 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 76968C433E6 for ; Mon, 18 Jan 2021 09:22:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 068A422252 for ; Mon, 18 Jan 2021 09:22:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 068A422252 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7AEA48D0009; Mon, 18 Jan 2021 04:22:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 70E3D8D000A; Mon, 18 Jan 2021 04:22:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 563FF8D0009; Mon, 18 Jan 2021 04:22:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0128.hostedemail.com [216.40.44.128]) by kanga.kvack.org (Postfix) with ESMTP id 27D8C8D0007 for ; Mon, 18 Jan 2021 04:22:13 -0500 (EST) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id EC742180AD830 for ; Mon, 18 Jan 2021 09:22:12 +0000 (UTC) X-FDA: 77718354504.09.lead03_330605827548 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin09.hostedemail.com (Postfix) with ESMTP id C8342180AD806 for ; Mon, 18 Jan 2021 09:22:12 +0000 (UTC) X-HE-Tag: lead03_330605827548 X-Filterd-Recvd-Size: 3524 Received: from mail-qt1-f202.google.com (mail-qt1-f202.google.com [209.85.160.202]) by imf48.hostedemail.com (Postfix) with ESMTP for ; Mon, 18 Jan 2021 09:22:12 +0000 (UTC) Received: by mail-qt1-f202.google.com with SMTP id w3so14713156qti.17 for ; Mon, 18 Jan 2021 01:22:12 -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=exfgNhM4N6uxD6xPVxC+GkQm5KFoVDD34vOu2HQsR3U=; b=ePa1WRaCHti215OfsTBoRnjp4MNG6hanio44aTAdKSk7OEAeDYW5/CKBE91Wpfm4uF JPjSsc8RKA/agGfzfj/fG4LSrFfXTB0qYOJ+I6dnQIS1xC1ZKo0wIREzG27iu4Aao5JN lCw7K2vIXOpyZMneU/1cCghX6s4Hm6qiRrwFMlQKQTGfhhizvNmhGEAivNiePPYmxFZC RfL8cOqWYkMsyvcF/RmmBZ9vFbgRmJCEtqxMPLCdMBppJkIpG0zHhsvJCGMNL5kKXcmi la3nxydC/oLo5cf3APb/ZEpxDFLqVil3fhbQY+uE7sYOOTKsFgkNOgD8RhKtCaBsokxD /lLQ== 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=exfgNhM4N6uxD6xPVxC+GkQm5KFoVDD34vOu2HQsR3U=; b=ZOjYuYZ0dy+FuiPg+BKimKZxTbODh7VXPQDjVi1aF7T/r4n8YSMll7sY+sEuJPTDl3 9HruqvFdROZXTS6k9ofyg48cSs+FMhMDsrTsPgzZZLaaKlTA/5YW2z+ug42mD1Xds6ZG gO3YrTwkhYOns4EDgg1wp4gxucfEC4DI7el7BJ5bN/9WW3HS7UUAHbJ6Y2Tg2D0s9PaG Imyz8dYQ7lxnL2eVhyp2bdETmyEBfybXhgEeH1xdDvQc98D26Rx4GfW5zfSZXOW4kZpX JYZoisV2g0QD9z3S6+FAujvyPwI1K0Z07+3j5enkZWABchL8asmhkXEc++bNSCSrUAKi 895w== X-Gm-Message-State: AOAM531Kbe0KsYIDE2b7mDbL42hILWDWqcpSd7Vd35Bddwxfzu+CaYzE eB+3UDH+s6ES14RUtOTfSte8ZpG5ZQ== X-Google-Smtp-Source: ABdhPJy8ONyucjfHLa97PFzhpN5DSEpMmxhWWaRYJ69zcueJZKwhz/5HDEgSPCZMClEEXg/UelKUDYehmQ== X-Received: from elver.muc.corp.google.com ([2a00:79e0:15:13:f693:9fff:fef4:2449]) (user=elver job=sendgmr) by 2002:a0c:8e04:: with SMTP id v4mr23462144qvb.56.1610961731717; Mon, 18 Jan 2021 01:22:11 -0800 (PST) Date: Mon, 18 Jan 2021 10:21:59 +0100 In-Reply-To: <20210118092159.145934-1-elver@google.com> Message-Id: <20210118092159.145934-4-elver@google.com> Mime-Version: 1.0 References: <20210118092159.145934-1-elver@google.com> X-Mailer: git-send-email 2.30.0.284.gd98b1dd5eaa7-goog Subject: [PATCH mm 4/4] kfence: add missing copyright header to documentation From: Marco Elver To: elver@google.com, akpm@linux-foundation.org Cc: glider@google.com, dvyukov@google.com, andreyknvl@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kasan-dev@googlegroups.com X-Bogosity: Ham, tests=bogofilter, spamicity=0.019274, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Add missing copyright header to KFENCE documentation. Signed-off-by: Marco Elver Reviewed-by: Alexander Potapenko --- If appropriate, to be squashed into: kfence, Documentation: add KFENCE documentation --- Documentation/dev-tools/kfence.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/dev-tools/kfence.rst b/Documentation/dev-tools/kfence.rst index 06a454ec7712..58a0a5fa1ddc 100644 --- a/Documentation/dev-tools/kfence.rst +++ b/Documentation/dev-tools/kfence.rst @@ -1,4 +1,5 @@ .. SPDX-License-Identifier: GPL-2.0 +.. Copyright (C) 2020, Google LLC. Kernel Electric-Fence (KFENCE) ==============================