From patchwork Mon Feb 11 23:27:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Stoppa X-Patchwork-Id: 10806953 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C213A1390 for ; Mon, 11 Feb 2019 23:28:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B27F1299FB for ; Mon, 11 Feb 2019 23:28:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A6ABA29A9D; Mon, 11 Feb 2019 23:28:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB autolearn=no version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B645299FB for ; Mon, 11 Feb 2019 23:28:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1DF728E0195; Mon, 11 Feb 2019 18:28:20 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 1B7BB8E0189; Mon, 11 Feb 2019 18:28:20 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0A4718E0195; Mon, 11 Feb 2019 18:28:20 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by kanga.kvack.org (Postfix) with ESMTP id A9AF58E0189 for ; Mon, 11 Feb 2019 18:28:19 -0500 (EST) Received: by mail-wm1-f71.google.com with SMTP id y85so235736wmc.7 for ; Mon, 11 Feb 2019 15:28:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references:reply-to:mime-version :content-transfer-encoding; bh=ktrl99/4+i4VLz6USppssXo49kPq9nmcbGTF0KLoSBQ=; b=Fp6rWSipIfHmPYLRs5To0nlNMw3yzTAGWUxfazkqdPXOXhmuZfPm88zwkcawTgAeRm hmEMSZ4iBRCSFWgyHwPFdUqkiaIIHrp9hIRMlnZ81QgLjUoy4RmrsbwtGJzt74rKZU3O gTasceeAckEsBIRpYncpz+W4vQ9ibZs6+KvKeokWQE9Sfn5pCYcxHd1KoN/aw4trzwBy WOGZdHw/myX+FBJRcxlcPgS0OgMDU6K4FCunoZmx6jG4Vyk3dwbyJUzaHjl8kDT8+oJ/ avJ/qKnlRUjyFhIAwA1bnAig3onkw87NE0KkSP/bG5e6X2Zhux/ZRChAykLEWZ5Zmafn t9Ig== X-Gm-Message-State: AHQUAuYquMYZHML44pFseyToMbY8fKjhhsQs5ecAxYRROLH/gfCpjVpY btN0Em2f7UyRW4P992ol+SziJyUdkgewNMMZBnYj2w5FJgtE6GZiwKL9qh0EmCJpByj3tKeXeHp yno9aWzplVXBYitQNDClwL61YP0nDBbQgBIuI3KzngKa0IEenLW8juUawBEKFW2U8x/X7SbjeIx 6PVDWMsyo7ZkBc4yNnfLUcpIOL3JAxHJujOnE6A9YXM4d3nel540nZu5Aw7ZsWwDbt1B5fbEcuq 98CWlBbNiXJfpS9HRm+x9Kj3xDAEUPL2BAl5Z/F4axO3SFap+OB2EkxruJ3m54s5rJqiOnec3Ap TZbqtZBKCkKpUszGTzjO1C9fL6icDmspQKpbQ45Cu5ahU6ywQ4R1aR6HqHmsusV8ygwTaZvQwJa N X-Received: by 2002:a7b:c315:: with SMTP id k21mr442168wmj.145.1549927699136; Mon, 11 Feb 2019 15:28:19 -0800 (PST) X-Received: by 2002:a7b:c315:: with SMTP id k21mr442121wmj.145.1549927698144; Mon, 11 Feb 2019 15:28:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549927698; cv=none; d=google.com; s=arc-20160816; b=eGz+xJUR+f5+Y5sffnzQwFO1tc6eeyUgtiZHxg8AlPVVsv3rYetoxdHZ9bZR/IYDI+ RRycdz+jJnawtZr2UcYrIuDCJ6KZ59Vc51ar0Xp8Ba6qPDlfKkoCusJjKRywTTfMr/Ia cwmQKFdYzipgzwUd29oxzS/D8tfSdPw4WSvFMTlVrt0kM4lIgXPclzxKDmTQOAt3l+Ik HpA1vi/FHYyoVidsyGxAtnxGbTAvzCLj++G9tgxwtp4aP3jbJKrrQVHf5xhPfoIMHOKT f+KwwX6HTne10PDmxq2y6fRkI4/mybhYfLk2sDjO4WnegLuj2vnxEa5lZYjBTphRFR+S Xeyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=ktrl99/4+i4VLz6USppssXo49kPq9nmcbGTF0KLoSBQ=; b=KtukHwt/tmrRwAWiyY1i0krFWTl3fLWh1iNoCGzt8RWu6wwWUwZRx6Eh9rGFj31Hzi Sp4huVKhlzt+cqFWaGb3p6RqajsdGTV8ww7gZvtYLtlgxNQGwcecE+bbfZ2z4cCoqMN8 UySHOJiXl5+V2a1Rj6h/gvUVL6698rETt7CWnMlbOvIAlAAMOeplGz5VKiHFEIWB0hOI 4Q6iAA7Pq6uZsG7HaqsKGqoY879Mvn4pV0CmivnVzNKDvi/NaIVfLmSbSW3FZ7bFSjzw z3dyOcbDJSe3cKETw62pNp5PBApdt9pj3lfvWwxPfnMzl3O5s1FDZ/SeURzrag4yy5Gb lrlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ERfk6YwV; spf=pass (google.com: domain of igor.stoppa@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=igor.stoppa@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id v16sor487960wmc.26.2019.02.11.15.28.18 for (Google Transport Security); Mon, 11 Feb 2019 15:28:18 -0800 (PST) Received-SPF: pass (google.com: domain of igor.stoppa@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ERfk6YwV; spf=pass (google.com: domain of igor.stoppa@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=igor.stoppa@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=ktrl99/4+i4VLz6USppssXo49kPq9nmcbGTF0KLoSBQ=; b=ERfk6YwVVFsD4gpa86J3tNvUf/jRxA7negb6JBcQ5PSR0xZZvMMbnqTZ+wRrS2Husj Ggd8+h/Q6iGpIBl92FmkpdpssV2xt9w6MiuQS2cXjMtk96NDjzsy/uEnc/s7yXVpuL6c mpoDNWR+cp0zbAXtobA5UoCkq+orGEc1HmBwrLmgLHRuHzaFQ/+tRBnFd/U7BP3qfbPV ln/K1BHTqeaHXoV9cT0aGU+M7Xa55XRzuBeoCYotqmiST1osgENBFvz37ywgrYEko+pv OnWJ8Rdek3QLL7gzQPr7kKm7jyZ28jH2jgCwj74BAERzhEIIn+YrVvRGcUeyx16kqW+P hxEQ== X-Google-Smtp-Source: AHgI3IaPnxVvWxLjhqm0PsH5iF2NiueH7C1Z1h4hq25QVvV24PnbiOHB8xirGOEnJlaL7jk97tS8SA== X-Received: by 2002:a1c:7719:: with SMTP id t25mr513964wmi.7.1549927697736; Mon, 11 Feb 2019 15:28:17 -0800 (PST) Received: from localhost.localdomain (bba134232.alshamil.net.ae. [217.165.113.120]) by smtp.gmail.com with ESMTPSA id e67sm1470295wmg.1.2019.02.11.15.28.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 15:28:17 -0800 (PST) From: Igor Stoppa X-Google-Original-From: Igor Stoppa To: Cc: Igor Stoppa , Andy Lutomirski , Nadav Amit , Matthew Wilcox , Peter Zijlstra , Kees Cook , Dave Hansen , Mimi Zohar , Thiago Jung Bauermann , Ahmed Soliman , linux-integrity@vger.kernel.org, kernel-hardening@lists.openwall.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v4 04/12] __wr_after_init: x86_64: enable Date: Tue, 12 Feb 2019 01:27:41 +0200 Message-Id: <38307f2c7ae982478d33f55f7a7b827de489cdf3.1549927666.git.igor.stoppa@huawei.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: References: Reply-To: Igor Stoppa MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Set ARCH_HAS_PRMEM to Y for x86_64 Signed-off-by: Igor Stoppa CC: Andy Lutomirski CC: Nadav Amit CC: Matthew Wilcox CC: Peter Zijlstra CC: Kees Cook CC: Dave Hansen CC: Mimi Zohar CC: Thiago Jung Bauermann CC: Ahmed Soliman CC: linux-integrity@vger.kernel.org CC: kernel-hardening@lists.openwall.com CC: linux-mm@kvack.org CC: linux-kernel@vger.kernel.org --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 68261430fe6e..7392b53b12c2 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -32,6 +32,7 @@ config X86_64 select SWIOTLB select X86_DEV_DMA_OPS select ARCH_HAS_SYSCALL_WRAPPER + select ARCH_HAS_PRMEM # # Arch settings