From patchwork Wed Oct 19 03:49:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 13011326 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81B18C43217 for ; Wed, 19 Oct 2022 03:30:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 18D5F6B0073; Tue, 18 Oct 2022 23:30:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0EE9C6B0078; Tue, 18 Oct 2022 23:30:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E0CCD6B007B; Tue, 18 Oct 2022 23:30:36 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id D128B6B0073 for ; Tue, 18 Oct 2022 23:30:36 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id A8A56804C8 for ; Wed, 19 Oct 2022 03:30:36 +0000 (UTC) X-FDA: 80036271672.27.3746938 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf18.hostedemail.com (Postfix) with ESMTP id 4C4181C0002 for ; Wed, 19 Oct 2022 03:30:34 +0000 (UTC) Received: from dggpemm500022.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MsbpQ4FcWzHtpy; Wed, 19 Oct 2022 11:30:22 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500022.china.huawei.com (7.185.36.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 11:29:56 +0800 Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 11:29:55 +0800 From: Kefeng Wang To: , Andrew Morton CC: Dinh Nguyen , Jarkko Sakkinen , Dave Hansen , , , , Kefeng Wang Subject: [PATCH 0/5] mm: cleanup with VM_ACCESS_FLAGS Date: Wed, 19 Oct 2022 11:49:40 +0800 Message-ID: <20221019034945.93081-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1666150236; a=rsa-sha256; cv=none; b=eeQnLX8qYVf4T0THi9z1eQHWrUsFhdESRK4vWcuqUT2dW558C1p4Lg1nq+3IqteethKr6d 4LwQ9Ru3XLJkmToc10Nfy6nUc4rresQvhOKjidAvImQbSUdhOOUquZfk1orLsqsrP/RI2M QRjZKMAVV3APGTpTrTKMBif7PPNGMW4= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf18.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1666150236; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=bMnc4pQ9cUionBNNlpE6szVMuPaLJSm59o2pw2w4JhA=; b=A0t3opzKrf7FeJm7N6wMhGX1N33Zpo+MQUtQ2fE4pBICbrrkO5w2m6/fVf8xNKO9ZuN6MZ HAO8DpTqSPNWQMJ92qGm9sunF3HxazqvRdofAnZWN6s5lUZeWc1WW1wiyXPoMM0If0HeN0 ie0sQfNtTCAdfMy0LlNAieOgbjU6OLo= X-Rspamd-Queue-Id: 4C4181C0002 Authentication-Results: imf18.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf18.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com X-Rspam-User: X-Rspamd-Server: rspam08 X-Stat-Signature: ss3tdsbpodszskyz7sqzcskq3wax3e94 X-HE-Tag: 1666150234-583111 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: Kefeng Wang (5): nios2: remove unused INIT_MMAP x86/sgx: use VM_ACCESS_FLAGS mm: mprotect: use VM_ACCESS_FLAGS mm: debug_vm_pgtable: use VM_ACCESS_FLAGS amdgpu: use VM_ACCESS_FLAGS arch/nios2/include/asm/processor.h | 3 --- arch/x86/kernel/cpu/sgx/encl.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- mm/debug_vm_pgtable.c | 8 ++------ mm/mprotect.c | 3 +-- 5 files changed, 6 insertions(+), 14 deletions(-)