From patchwork Tue Feb 14 14:07:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 5404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2994368wrn; Tue, 14 Feb 2023 06:10:23 -0800 (PST) X-Google-Smtp-Source: AK7set/NdsIflRWa3p01nOryyPuObX+LwQR9JqnNzjgZfIOcPC+gKAm3UwEa25JMFSGGI1ypEmoa X-Received: by 2002:a17:903:234a:b0:19a:ab73:2168 with SMTP id c10-20020a170903234a00b0019aab732168mr3370340plh.1.1676383823497; Tue, 14 Feb 2023 06:10:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676383823; cv=none; d=google.com; s=arc-20160816; b=lHiqkp+zdLpTlHdFDN1irXf/lYkLMOTBldM+/QgBUp9f0i0JPU9VgG2jCOx5F83nD+ aDHy1sBi12YDHTR2FO6rFJexBBXYyDcSaFHkDJwOZZI7RQmbP0ZA8MtL02RdY147ZFcZ lAzmyAsS1ftjVIoGOP0SP9lyROZQtw/W+08uYkHfFzmutgrNuySxk6n8iwqbajcVA06/ noYEvz83KV6FhDa86vlUwh/RMDhpV7K5DfW9TecSz2AkxbpkYbUJz5+WnCepr6SSEIZh hcoWFpmFob2uHKXdxx5csYzwIs2qc6x42HsnQLaISwS949aL//inDKijykpL0gxO5bFr Cxcg== 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:dkim-signature; bh=VYt5nPwm3PP3xzTEQTO6R40fmzf+w+BpLoaRanqF9gs=; b=wetbYVKECnMjUEmm1ENWcwO/dvFhuHQr6e2PyZc06EB/88uTZwJaLK3tnx8Wi8y3aq frEQgil3M9oGw1OFXiiOrO3HacCJ8bCzcEf0G+lwGafYrilL/kXhhOhHAO8Qqcq4plQg 4zY6pzLV1+I/FLh19sTxOflXQ7HW1vDie8732gd8O0dpghAVx7w0v9W0VBxidlAjFA/s KkHAkvSWed9rEKEPwIX5TFikLDhkJHU1BS9DWNf8fLGOCxlDRO9Q+BIRmP47W/3GSbu8 SM3p6VqE7xIpKD7XB6bpYmsxPKYLXEE2b43VzIExI43nUMR+sb3m70dEV5RAaFYaDWG2 20rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l3txA3xW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a170902b70400b0017f7faef235si13354779pls.148.2023.02.14.06.10.10; Tue, 14 Feb 2023 06:10:23 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l3txA3xW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233205AbjBNOJa (ORCPT + 99 others); Tue, 14 Feb 2023 09:09:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233115AbjBNOJZ (ORCPT ); Tue, 14 Feb 2023 09:09:25 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE78E29400; Tue, 14 Feb 2023 06:08:35 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0230F61652; Tue, 14 Feb 2023 14:07:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B239C433D2; Tue, 14 Feb 2023 14:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676383663; bh=zce8QKVBJkEIXF59dxMyDtcW4qvuXPNLJ6sOhE8RueQ=; h=From:To:Cc:Subject:Date:From; b=l3txA3xWDmy4ooFkvP7a5PQ7BIHvWpV3aTqjbR5wtUChigPobs0oCXRVdK0QRgWen TDT+mSJD71UNB57zahQLRycH6xKd81Sw0M4cr+rNVRJz3K/3/7zbsYwc5seltenHIB N+SxGGaMnA06DbxbDhTPkpix5+7ccGris499RL7Yg5j/BVHcqT6onexKczZXC9ZQZl XMihRoVWr8ZIZPFy5gfGZOjVoTmmwlRx9V1npvxM1vfTlMJfHrRytuA90Nn7YOz6hM rqNy0rwEiGAf+cte9ESjyQntRAbj+APkwss5PKVo70x15m7/k6Wi7T7IEgjJGdKJFD XxWTCPceUj8xw== From: Mike Rapoport To: Andrew Morton Cc: Arnd Bergmann , Geert Uytterhoeven , Greg Ungerer , Guenter Roeck , "Mike Rapoport (IBM)" , Rich Felker , Yoshinori Sato , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mm@kvack.org, linux-sh@vger.kernel.org Subject: [PATCH 0/2] fixups for generic implementation of pfn_valid() Date: Tue, 14 Feb 2023 16:07:27 +0200 Message-Id: <20230214140729.1649961-1-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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?1757815844023944988?= X-GMAIL-MSGID: =?utf-8?q?1757815844023944988?= From: "Mike Rapoport (IBM)" Hi, Guenter reported boot failures on m68k-nommu and sh caused by the switch to the generic implementation of pfn_valid(): https://lore.kernel.org/all/20230212173513.GA4052259@roeck-us.net https://lore.kernel.org/all/20230212161320.GA3784076@roeck-us.net These are small fixups on top of mm-stable that address the issues. Mike Rapoport (IBM) (2): m68k/nommu: add missing definition of ARCH_PFN_OFFSET sh: initialize max_mapnr arch/m68k/include/asm/page_no.h | 2 ++ arch/sh/mm/init.c | 1 + 2 files changed, 3 insertions(+) base-commit: f67d6b26649379f8520abe6a6c7ed335310bf01e