From patchwork Fri Jul 3 01:19:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 11640529 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6D6236C1 for ; Fri, 3 Jul 2020 01:20:14 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3AAA220748 for ; Fri, 3 Jul 2020 01:20:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HkoezpR3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3AAA220748 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 1F2088D0024; Thu, 2 Jul 2020 21:20:13 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 17B7F8D0021; Thu, 2 Jul 2020 21:20:13 -0400 (EDT) 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 042EE8D0024; Thu, 2 Jul 2020 21:20:12 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0044.hostedemail.com [216.40.44.44]) by kanga.kvack.org (Postfix) with ESMTP id DE2178D0021 for ; Thu, 2 Jul 2020 21:20:12 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 5D522180AD807 for ; Fri, 3 Jul 2020 01:20:12 +0000 (UTC) X-FDA: 76995008664.14.lunch53_4f086ac26e8d Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin14.hostedemail.com (Postfix) with ESMTP id 381CF18229837 for ; Fri, 3 Jul 2020 01:20:12 +0000 (UTC) X-Spam-Summary: 1,0,0,816a4581106acc58,d41d8cd98f00b204,npiggin@gmail.com,,RULES_HIT:41:69:355:379:541:968:973:988:989:1260:1311:1314:1345:1437:1515:1534:1541:1711:1730:1747:1777:1792:1801:2393:2559:2562:2890:3138:3139:3140:3141:3142:3352:3865:3866:3867:3870:3872:3874:4042:4362:4605:5007:6261:6653:7903:9413:10004:11026:11657:11658:11914:12043:12296:12297:12517:12519:12555:12679:12895:13069:13161:13229:13311:13357:13894:14096:14384:14394:14581:14687:14721:21080:21444:21450:21451:21627:21666:30001:30054:30056:30070,0,RBL:209.85.210.195:@gmail.com:.lbl8.mailshell.net-62.50.0.100 66.100.201.100;04yfckjc14d358bdwse744k5e5fozop5toppj6k4ttmpkmnwku7df4xefsixacd.g6zp78y3j6zcozbnye7wb6syt3uws1g51d16xbowbjjsmjxnqt3t5wrwmpn857u.e-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:23,LUA_SUMMARY:none X-HE-Tag: lunch53_4f086ac26e8d X-Filterd-Recvd-Size: 4235 Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by imf24.hostedemail.com (Postfix) with ESMTP for ; Fri, 3 Jul 2020 01:20:11 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id u185so11250928pfu.1 for ; Thu, 02 Jul 2020 18:20:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5/bbf0lUkrxiWX+PZ82pZ/eXhfvbz8TXVOafo3xC3F0=; b=HkoezpR3Rsole2z2xQyFjnqIZB96rn8qursrHwJyGGYjCnRvK0CdUvFnNkVo/a3oxj tZiHoW4EOwjWjrKuT2Fm0bHj61Tn91It9qgnjPgpDfdHlzL2Rlc61PP2G4uxcEZQcv0y w6XzjQRr0TwzY4uc++FK4kSVBTQBG+RodfVT1VXSveDOiIlzGe3a76zuRl1MDiD9AlX2 +xkRcvI6Lm+n9CV6fcCl/0wJ6EDqI0+ggDPF5JcvZa/PqxcGUsPy/bYxa4mg881CjKEp CnafRjr0co53AqXKYi9sZr1G8CzaLd9T4cVFMb+x/IRXsfr3HT7FKDjoe7W1Gvpdr8R1 iVnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5/bbf0lUkrxiWX+PZ82pZ/eXhfvbz8TXVOafo3xC3F0=; b=e2IfpwZxaF0IOhxxJJWGlqCM+qiH+vz2wmLhMPZ4GFIUhcsmAz0HtkCTufOdCsGYLS epVhpWFajAH97NMTKu8+jnmxuFClBR0o2VdGicuJas3tp59rOoTnnNXbI55Y+ZZ8W3Uw ZSMims7ebldKd2fmfDPANxeYRKYP5n/5ErdWJVix2avCDjiMAEONBH6MVpSjA7uwB1pp dmMEBBL4uhdChJ+mi/3PZ8ZZ6X3mNYvcM+ucvm6z2cB70Yc5nc7JwGS2S/TU6hZFqStU 1HR4+YgnY1Oawq54J6DxoAak3bd5cw27zfW4LI3+FQJ6JapumH4gOucg7UQq0yFnVZVJ fJtA== X-Gm-Message-State: AOAM533Q3ybwDimEoROTUoUCBp7oK8YXdpSLM+APYCW1aZAFIvLetYNF sq1yWhLAb7Hwuzuy+JmPZsmNM60k X-Google-Smtp-Source: ABdhPJxTT4D2raEsHiMfFaMgNHqSE7CiS0TXVGXWZARc5uCHcybm0Uq1+PwOqMoXtrME3PxEG4EBvA== X-Received: by 2002:a63:e00c:: with SMTP id e12mr26903209pgh.413.1593739210833; Thu, 02 Jul 2020 18:20:10 -0700 (PDT) Received: from bobo.ozlabs.ibm.com (61-68-186-125.tpgi.com.au. [61.68.186.125]) by smtp.gmail.com with ESMTPSA id v186sm10094222pfv.141.2020.07.02.18.20.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jul 2020 18:20:10 -0700 (PDT) From: Nicholas Piggin To: linuxppc-dev@lists.ozlabs.org Cc: Nicholas Piggin , kvm-ppc@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org Subject: [PATCH v2 0/3] remove PROT_SAO support and disable Date: Fri, 3 Jul 2020 11:19:55 +1000 Message-Id: <20200703011958.1166620-1-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 381CF18229837 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 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: It was suggested that I post this to a wider audience on account of the change to supported userspace features in patch 2 particularly. Thanks, Nick Nicholas Piggin (3): powerpc: remove stale calc_vm_prot_bits comment powerpc/64s: remove PROT_SAO support powerpc/64s/hash: disable subpage_prot syscall by default arch/powerpc/Kconfig | 7 +++- arch/powerpc/configs/powernv_defconfig | 1 - arch/powerpc/configs/pseries_defconfig | 1 - arch/powerpc/include/asm/book3s/64/pgtable.h | 8 ++-- arch/powerpc/include/asm/cputable.h | 10 ++--- arch/powerpc/include/asm/kvm_book3s_64.h | 5 ++- arch/powerpc/include/asm/mman.h | 30 ++----------- arch/powerpc/include/asm/nohash/64/pgtable.h | 2 - arch/powerpc/include/uapi/asm/mman.h | 2 +- arch/powerpc/kernel/dt_cpu_ftrs.c | 2 +- arch/powerpc/mm/book3s64/hash_utils.c | 2 - include/linux/mm.h | 2 - include/trace/events/mmflags.h | 2 - mm/ksm.c | 4 -- tools/testing/selftests/powerpc/mm/.gitignore | 1 - tools/testing/selftests/powerpc/mm/Makefile | 4 +- tools/testing/selftests/powerpc/mm/prot_sao.c | 42 ------------------- 17 files changed, 25 insertions(+), 100 deletions(-) delete mode 100644 tools/testing/selftests/powerpc/mm/prot_sao.c