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: 13140225 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F440C61DA4 for ; Tue, 14 Feb 2023 14:09:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233132AbjBNOJ1 (ORCPT ); Tue, 14 Feb 2023 09:09:27 -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 Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org 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