Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp56773iof; Sun, 5 Jun 2022 21:00:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZvFA/howLRS8yWadt2kybRSy3WUFa5b3O+feOViWipJakC2Efd4iv6OsCQoPpsgmdq73H X-Received: by 2002:a17:903:208:b0:162:284:3396 with SMTP id r8-20020a170903020800b0016202843396mr22682311plh.121.1654488021087; Sun, 05 Jun 2022 21:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654488021; cv=none; d=google.com; s=arc-20160816; b=mZBMY6WMu9C8r6agVZDXAhfobWoNMCIxpsYnTa2s5hBJH+FYphXuuGWMI/8+SyoP4F lB2WtbXH4s+U4SdcHcREXH3P5t9+l6unq56jVYb5yYfaQUhPj4aVwjpD+kEiGCrv0hu+ 6sI7rbFQZld1ZtZlQutQF+J++eu6Txa5M4pb0RZdWrJ9A+e3x6R1erHjTGU6xtAinJrJ 0baTwshhXi7Y8wpk9vfA89v0LqaB27yfHNcbTRoT6zYIP1K5snXUFOzIU5nbY2voJaMo Byq9uikXcHYiD6A8LaLbE5VQOsG5cCCN7u0VVrGJ3O5TA35RJEODlZba1QFmPv2Plm/l /k3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=wQhR+wxV/3u7GBkNHWOvlE3GBR2plxsv4IJY2gXjhr8=; b=LZn6/Hjhp7XFR47ePwywyXcYfOGn0U42k69y4fts4u3p32bWmtIukSNo9TQaREqmHL X9uMPP0kNxOi3V5VXkR0uU5hMU4de2S0vu8jVpzMFWDuMR+hWJLBwkOjF7M/cSK/HSj6 /X/ZPGF3JvT/iLcM1hT9YGkRNnyDl1ChpnaPVujx1R3Re8xQqR8dAhDrfalMaABpq8H4 Utla53lpM8SwAQkfznWW3DOspklSuNBiyxmGHFGg2DZvqExgqphLVAS1+1WYCw1lfZ3A aYuDaRPm0NCRlaHqu9nM+NADzuRoLAbjjTB9MAo1QLzBh40FIdqHdREZDN1szBYXuyll eQMg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 22-20020a631956000000b003fce47b18absi14638379pgz.296.2022.06.05.21.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:00:21 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D197F68994; Sun, 5 Jun 2022 20:46:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245233AbiFEJss (ORCPT + 99 others); Sun, 5 Jun 2022 05:48:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245150AbiFEJsq (ORCPT ); Sun, 5 Jun 2022 05:48:46 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 90A67183A5; Sun, 5 Jun 2022 02:48:45 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1AB5DD6E; Sun, 5 Jun 2022 02:48:44 -0700 (PDT) Received: from [10.163.37.253] (unknown [10.163.37.253]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 241D53F73D; Sun, 5 Jun 2022 02:48:35 -0700 (PDT) Message-ID: Date: Sun, 5 Jun 2022 15:18:35 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 6/6] openrisc/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT Content-Language: en-US To: Stafford Horne Cc: linux-mm@kvack.org, Catalin Marinas , Will Deacon , Michael Ellerman , Paul Mackerras , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Heiko Carstens , Vasily Gorbik , Thomas Bogendoerfer , Geert Uytterhoeven , Dinh Nguyen , Jonas Bonn , Andrew Morton , x86@kernel.org, openrisc@lists.librecores.org, linux-csky@vger.kernel.org, linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220603101411.488970-1-anshuman.khandual@arm.com> <20220603101411.488970-7-anshuman.khandual@arm.com> From: Anshuman Khandual In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 6/5/22 11:37, Stafford Horne wrote: > On Fri, Jun 03, 2022 at 03:44:11PM +0530, Anshuman Khandual wrote: >> This defines and exports a platform specific custom vm_get_page_prot() via >> subscribing ARCH_HAS_VM_GET_PAGE_PROT. Subsequently all __SXXX and __PXXX >> macros can be dropped which are no longer needed. >> >> Cc: Jonas Bonn >> Cc: openrisc@lists.librecores.org >> Cc: linux-kernel@vger.kernel.org >> Acked-by: Stafford Horne >> Signed-off-by: Anshuman Khandual > > Is it possible to retract my Acked-by? I was following the discussion of this > new function actually being sub optimal. So as far as I am concerned all these > architecture patches should be nak'ed. Sure, alright. I am planning to redo these arch patches via making the protection_map[] array private to the platforms but possibly with a common look up function as Christophe had suggested earlier.