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: 13140210 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D5A3C61DA4 for ; Tue, 14 Feb 2023 14:07:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D79D06B0072; Tue, 14 Feb 2023 09:07:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D297F6B0073; Tue, 14 Feb 2023 09:07:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BF1E46B0074; Tue, 14 Feb 2023 09:07:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id A99B56B0072 for ; Tue, 14 Feb 2023 09:07:48 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 7845140E78 for ; Tue, 14 Feb 2023 14:07:48 +0000 (UTC) X-FDA: 80466075816.13.975E5D2 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf23.hostedemail.com (Postfix) with ESMTP id 15C1E14000F for ; Tue, 14 Feb 2023 14:07:44 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=l3txA3xW; spf=pass (imf23.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1676383665; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=VYt5nPwm3PP3xzTEQTO6R40fmzf+w+BpLoaRanqF9gs=; b=71CytpXEqtsMthbM072Y/wkJL6qlTHkdPevGbyeSZy4pejGscfbov4wUsMy0j8hM1iZjca fD9A8t47lI2lZuCcmG/yCfzVISdPBXeg4c39I0SFPQxuQpTXcAeF9pYkUYx3ZY3uLYN9n4 9Er8BGWDXSFWKj/XIdIhVULaPpHyqas= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=l3txA3xW; spf=pass (imf23.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1676383665; a=rsa-sha256; cv=none; b=AER4ZaNSowmfIMKuKzWoADUN3tF2+B2esJgtfqMF79+RsGLtgoi6a35R1DVQ9PofF/rHna 4KqQ4y5CbS6JkcMqtAuIddrMM8xvURJIQC89qEcOrj2wuPqbjXWNjNYT7tkULwAimdzPOj 77p6pV8/zUz4tLIWLoVdY7TPyhj5iNM= 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 EEF206160E; Tue, 14 Feb 2023 14:07:43 +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-Rspamd-Queue-Id: 15C1E14000F X-Stat-Signature: twmnmkasfhdmc9wd7fqnrgpurbxyqr9y X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1676383664-434835 X-HE-Meta: U2FsdGVkX1/eANgPolpLjJEjHyNgUezsdjXc3HL2W8C8euBDaXbYPsj6XD05VdAaCfAw9vWaNF/RmB/E8ibJvNcVq8apbGBdKMl0rVi/Va3wPiA8fZSMg5qrwZrPx5oPAttFjHqHc33GqKoy+MOghdHu3/9tF2NOqV2/dewl1m+vh0RXBfeU3RwYsGNKkTh13ybFb3pgEaEIWLI8Rc0J3IA415V8X9iftUUT/Zs12SaFXK4gtx+YnsP1+KYvB7uczNbpOw4bI1oF36S7PNptY6AI0ycbkKso9ewFgjibRtESHrqXDSvpsRHmzLpMlihowJIT7ovr5g4EGi0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2xT8cpHk+hxyHZ35TGwhSCGWaxBFnutyjcAWlWdeixoPdnEo0Q== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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