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 CA2E6C05027 for ; Fri, 3 Feb 2023 14:37:10 +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=aAhN+Qu7J9BKs5prBNteoOz9EoH+1AaRrxx9IjPAPEo=; b=Q0Ix5CVEYvwte0 dFT7aPS7bPTqqWVsUfDDYjP7hKuh9MbvFix6PGPH66jaajh/ody+CDLY7BI00fqCM3erevWyNDAEI MwBAJt3niywCRv+A/ADFrCbCVFbi5fYYup9xsmStMhxBDlF+o/zxYStEVAyGmE/ClqnkozP2Mxpmr WqYsFHPzL9bpbEO1Ksgxj0UsR0/KDP4+VSTDyST5Ml62i4CgkjMVPEVHekV0WJks/K6yLpmUyCwyK G7T3RTPFuhyWi31B7ohYfVBso0mWomPHvMc//N6aASpsNKZaKXCd89rX6MogNU2SetXemGq9U/Rek rFccp1Zk5QsYAXL8ODnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNxAP-002UMv-Bu; Fri, 03 Feb 2023 14:35:55 +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 1pNx8T-002TTo-L3 for linux-arm-kernel@lists.infradead.org; Fri, 03 Feb 2023 14:33:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675434832; 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=AsQoeRQUoXF06E8GG4hOFVjtLFOqD90puxdOeHL9PJQqsjq8FTRxRqj5ayVwS7YLc6jym1 LdSekvX16hYPOX6sjeg1tqhbF+JNgboxiBkaC26yoRQ5bUEL6zTpL5S8IAIT16osxU1ZmL WXzOm0z7tmxvODDQgB6XBfQ3IFGV/Lk= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-60-_WtCMXvHOqa24Sa_qsAscA-1; Fri, 03 Feb 2023 09:33:50 -0500 X-MC-Unique: _WtCMXvHOqa24Sa_qsAscA-1 Received: by mail-wm1-f69.google.com with SMTP id e38-20020a05600c4ba600b003dc434dabbdso4697708wmp.6 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=X4GZrJeb4+12DqLaNCiNrwKCkxdnpG07gDRPnROrNT3m5Z9uI1t5dPzMsHd4X8Bauy c0zmg+8p5iX0pNWlmTw8A1GtMHUDTCkokmAaxjzhFqU1rGaRwk3J/JfyGePlN73ByJvB f/AfuMdh4jb186d+gs69qw81eoou6U1Z2pStDxt9GM0leC4qMHt6xoPJkm+NoPe8NgQq iykwHcFBg/A1ZeltP2OuP5aaAdtmIXbTnJfLJUwtuK880iwwOwrRyko3Cpoz2lkbC3WF QzmSdlwu3gaudA/ZO4xfcRv2vCwEL5aZ+VI2GpSv1tazLMN9fypzD2viTvgOpRkfFO16 Z6rA== X-Gm-Message-State: AO0yUKUB1xe0RF2IK6pCyrHly8yzqWGWKUKcOk/nr147y3wW9MAEWjc2 VFmBFPpiERHKDSLmVn/FKVhyzH9d46Yac8fCmprTbvLOSyiVWG6ON9Mx08TPjQ8FaZGqevhTJCI QYlTs+KAMbYmFIQ1u5uafkRKwIjs5F8wRsVo= X-Received: by 2002:a05:600c:3514:b0:3df:ead3:c6fc with SMTP id h20-20020a05600c351400b003dfead3c6fcmr1739785wmq.17.1675434828386; 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_063353_818785_7A11C521 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel