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: 320 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp109357wrs; Tue, 18 Oct 2022 20:37:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5AsqHzwhEB6DYTXbVjFA3I0tq4l061ib0fs/vUw6VQ6BJnTdFOPV9FTtUUIMQLFqVxFcDe X-Received: by 2002:a17:902:7589:b0:178:4ded:a90a with SMTP id j9-20020a170902758900b001784deda90amr6326968pll.74.1666150679080; Tue, 18 Oct 2022 20:37:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666150679; cv=none; d=google.com; s=arc-20160816; b=yhnqo84Gp6blYQbr6ckbNZtG4DeGLHlh1UMer0Zd/J3eux/32vPI6FDHENwoTBc/gn 1v8Tle9HuKr9QSKpSBxYCWMRGo50LRuWnn6LgJMSI/n2Sf2XrvqADfXMetw/bdPE2Dil DfyfCIYI5SIB+UC5eeX86vmj1SOXRW3atXzWusaGSPWZhSISNQY4o+SgPu+tyQDcnldJ U+F9aYlb4kgKRhGBCqS9VrfLYsm5T2U4keLS9NG+dz2m8K3xD/tnYP09KtwDI9BubCGP W0czv3tCvWYNAUeRndeyZK/63N4bsYG9mGPA1Dizq/XDDgdlRTJUx1sA2jzPrmg1X8vj oheQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=bMnc4pQ9cUionBNNlpE6szVMuPaLJSm59o2pw2w4JhA=; b=rtx1Qp47yfdteGKE+wmC4FA/yBRAwToNoOcJGKKKQrqQw2cN59dS3+blR+0EG/sVgo 1NgUDHlmvUIWEz+xeIoeaD8FpipCiXJHxzMnwMr78BAlI9zrqh0g3wKokT1O7Hk5QfPp cc9WlP0TdGJV4JIFPX/s7znt8rYZ5a+iF9nmyrWq3dVpt1dMe/c+n1rBR3H2Jx4DgcUu X1rEve7i8Zn0csI/R4RkWoM2iRfrBbc0hAncxufmq5xxsISu+qV06Xcef6Fym3ifMfA+ C6lmFQVB0ruhlnP5UH7SEusfHuG3SfQ9HLHiRhnZEtSKiQBFG8pQJeLcpaKLOkyv9HyP GyOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020a170902aa9500b00179eb71c71csi15354958plr.198.2022.10.18.20.37.44; Tue, 18 Oct 2022 20:37:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229966AbiJSDbT (ORCPT + 99 others); Tue, 18 Oct 2022 23:31:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbiJSDao (ORCPT ); Tue, 18 Oct 2022 23:30:44 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C60ECA3A8B; Tue, 18 Oct 2022 20:30:31 -0700 (PDT) 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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747085614620345304?= X-GMAIL-MSGID: =?utf-8?q?1747085614620345304?= 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(-)