From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A5D44C636D4 for ; Fri, 3 Feb 2023 14:36:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ldo01SbLnwM/0ZwAz5nH+0poXvOU6ymBqRZCizYLFb8=; b=XfKfT/bFFZn89G SW25kjSFV7NvgxjSrOrQ2PKwm0rWKHABXilJzX4Z14NOmIK13Dc2UvTNuQIGWh8Jn/2vJlAvhqEer 2scy19b375uAVkGcw7WBCx6agJfsz5NF/5Qy6CdBrA7SMCY8qYqFyX3mx9675eQbIqyyPZOyGNLwd lnBjeSfPhOSEEI6qDOMIgb+Inl47fUToEGW7Zad95H6FCVhpHaXuzfaSgSNbeSMIDr2RAFciD5dCw xmAguU+RLBYR/XSRPKtv0oYS1eAn3d+5oFIVVEZ5M/IIG0X767jzqxcgjH9axY60RYJRylrIwqKs7 c0SHx1p+qcnxv72P8SCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNxB2-002UdJ-5m; Fri, 03 Feb 2023 14:36:32 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNx8d-002TYd-5j for linux-snps-arc@lists.infradead.org; Fri, 03 Feb 2023 14:34:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675434839; h=from:from: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:in-reply-to:references:references; bh=QVQjsvvXC5vAa55XgbnpLQZ7ycccPtxDGUTVFYgFp7U=; b=f2+IPbMydUOTtd6YtJFf6atZsgnyST89H8c379l50JuKxKUMqnOyyVazalYv7BczBEy8y/ QNdtwZAIYIgCTuoABfYpT+vuRAd48hsenzhVFrXIW53s9W1fXK9+58xnU7HIxxZpeq17cP 2VqHAQtQh3ybFzT/CCast2NmA4EgNuQ= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-252-DVc6vrmHNvuTUeNW-yUJjg-1; Fri, 03 Feb 2023 09:33:49 -0500 X-MC-Unique: DVc6vrmHNvuTUeNW-yUJjg-1 Received: by mail-wr1-f69.google.com with SMTP id u10-20020a5d6daa000000b002bfc2f61048so715813wrs.23 for ; Fri, 03 Feb 2023 06:33:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QVQjsvvXC5vAa55XgbnpLQZ7ycccPtxDGUTVFYgFp7U=; b=Rl7Dy6kHY+/Sd16Ih58sLjIVVhXLZyLElpdD1LXm5jb5jnNOE7qe7L824Wb8nTgnpW I7d+KvF9AG/tJ/4vjBAJBohgXjJVhSGouhec7mOyYygOAI8TQIPZVkOG5mxzzwPlQRjK /picUi8Y+JPC7WU2/r5qapgOY1FtwnKwU2NgFcHs1i/ShI13jjRH8ocrA+xwdr8GQvCD ySS75dIT042ZUvAuvgu19IA6qMxle3AZKUGTOkSvBRS2fvkkuJobF2o1c4SQwtV4NKT0 C7jlKyDV8yaHFd5CLGE6GXSUIOejn2y7sQHaOH2kJN1f/3e6Vvc564+PswZZk6PvkQak N+rg== X-Gm-Message-State: AO0yUKULITOS6L5PYotmmZSf6PWp4ttTfz1jpvmTv0m8pFpQUpGAXoKj YS+lCQmK+H8u/jXU/ygPmpBfJo8IQF7fy7b3C2GU0tytigfUnPKzA0KPqxDZTjevX83KHbg6MB4 6LSU4DM3dMStYdzbLrBH+VJjtRxMmIxhu X-Received: by 2002:a05:600c:3514:b0:3df:ead3:c6fc with SMTP id h20-20020a05600c351400b003dfead3c6fcmr1739775wmq.17.1675434828382; Fri, 03 Feb 2023 06:33:48 -0800 (PST) X-Google-Smtp-Source: AK7set+nCaLsRgMPjXxFJ2S9nOzpB4vodjtO+Yac8mpKGPJpDWQMNBTnVH2IJfyVyYdKVED3TZv5Cg== X-Received: by 2002:a05:600c:3514:b0:3df:ead3:c6fc with SMTP id h20-20020a05600c351400b003dfead3c6fcmr1739731wmq.17.1675434828065; Fri, 03 Feb 2023 06:33:48 -0800 (PST) Received: from [192.168.3.108] (p5b0c6376.dip0.t-ipconnect.de. [91.12.99.118]) by smtp.gmail.com with ESMTPSA id o35-20020a05600c512300b003cffd3c3d6csm3239260wms.12.2023.02.03.06.33.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Feb 2023 06:33:47 -0800 (PST) Message-ID: Date: Fri, 3 Feb 2023 15:33:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2 4/4] mm, arch: add generic implementation of pfn_valid() for FLATMEM To: Mike Rapoport , Andrew Morton Cc: Arnd Bergmann , Brian Cain , "David S. Miller" , Dinh Nguyen , Geert Uytterhoeven , Greg Ungerer , Guo Ren , Helge Deller , Huacai Chen , Matt Turner , Max Filippov , Michael Ellerman , Michal Simek , Palmer Dabbelt , Rich Felker , Richard Weinberger , Russell King , Stafford Horne , Thomas Bogendoerfer , Vineet Gupta , WANG Xuerui , Yoshinori Sato , linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, openrisc@lists.librecores.org, sparclinux@vger.kernel.org, x86@kernel.org, Huacai Chen References: <20230129124235.209895-1-rppt@kernel.org> <20230129124235.209895-5-rppt@kernel.org> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230129124235.209895-5-rppt@kernel.org> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230203_063403_316726_E6970CD1 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org On 29.01.23 13:42, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > Every architecture that supports FLATMEM memory model defines its own > version of pfn_valid() that essentially compares a pfn to max_mapnr. > > Use mips/powerpc version implemented as static inline as a generic > implementation of pfn_valid() and drop its per-architecture definitions. > > Signed-off-by: Mike Rapoport (IBM) > Acked-by: Arnd Bergmann > Acked-by: Guo Ren # csky > Acked-by: Huacai Chen # LoongArch > Acked-by: Stafford Horne # OpenRISC > --- LGTM with the fixup Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc