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 03AB6FF885A for ; Mon, 4 May 2026 12:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ov6I0fG6PAhk6kzcN0LszLBnd8CpCPYKOpd/yoDhomk=; b=lY35pNgA/KZHGDg6tvbEj2ow7q MoEuF3HXtR+hENQ7Oq6X8xuDY9Cfc3HG1g6N6HqFJq16Im6Bg8n5OeemhvgR1UfegkNeKsTqJe25X zICyBbUGgyLyKcG6TyHaXabCQeWNENJ6YtaQ2PtPUnGCseNOuCVd85AXovtUzjDvSj3LnVAC1CmS5 t4ph8NjFZ9oqM+oOWSHCk/jfhN/UYuZbIwQwIFDIU26NQSCSULw8KZj0Nyot/NglXsTT5ko08yJ3f 9G288RUCdWswB+5rX5vGrRpmCe7u/Y8InDGwjJBZ9kZ0nqixet+0z4I5C7ZbiyjC3bhTQ6fDWnkJc u16HgKIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wJsUC-0000000DARy-3Vt6; Mon, 04 May 2026 12:33:20 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wJsU9-0000000DARO-2E1S for kexec@lists.infradead.org; Mon, 04 May 2026 12:33:18 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3027B402AD; Mon, 4 May 2026 12:33:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE8A0C2BCB8; Mon, 4 May 2026 12:33:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777897997; bh=LA1iLLIBKGSqtuYqkYcNQYTiEQFmcJ4cV7wZm2qC/PU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CoB4RQQJaumPYMEwrV4y7Wo+oUqeWjddWOodEV8YfxYmYJUJzbw9Wiu9SjHA5zpEB J7W6a41Zys8k3f++8yirXpAwwCwUrwO58Ae7pKD1jv8LgxP3xNYzGV227bquDARcDQ AjUxxnzkor+xdDaHX5WrW2BXuzYGJvsYQNLDBo1TvK9ID6Eequrxo+FsVRn/10N9m7 MlahN3TmZy82LP+WK3ke3NkO9B+LioA2CaVr3J9A+vDGIC9ZXCZ0UoFFjCeSzypeBU 0kVE5sdbY/OXQ2DHga2a5WbAdaKrUwXvq/C59u4yjN2bVhKuc4spaoL4B+f0zh/i3p z7kO8dJEn3M5w== From: Pratyush Yadav To: Pratyush Yadav Cc: Pasha Tatashin , Mike Rapoport , Michal Clapinski , kexec@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] memblock tests: define MIGRATE_CMA In-Reply-To: <2vxz8q9z2w6t.fsf@kernel.org> (Pratyush Yadav's message of "Mon, 04 May 2026 14:31:06 +0200") References: <20260504102742.3833159-1-pratyush@kernel.org> <2vxz8q9z2w6t.fsf@kernel.org> Date: Mon, 04 May 2026 14:33:14 +0200 Message-ID: <2vxz4ikn2w39.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260504_053317_619354_8F0F23E6 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kexec" Errors-To: kexec-bounces+kexec=archiver.kernel.org@lists.infradead.org On Mon, May 04 2026, Pratyush Yadav wrote: > On Mon, May 04 2026, Pasha Tatashin wrote: > >> On Mon, May 4, 2026 at 6:27=E2=80=AFAM Pratyush Yadav wrote: >>> >>> From: "Pratyush Yadav (Google)" >>> >>> kho_scratch_migratetype(), defined in include/linux/memblock.h uses enum >>> migratetype. This breaks build for memblock tests with: >>> >>> ./linux/memblock.h:634:73: error: parameter 2 (=E2=80=98mt=E2=80=99) ha= s incomplete type >>> 634 | enum mig= ratetype mt) >>> >>> Fix it by defining enum migratetype and MIGRATE_CMA. As is the case with >>> the other headers in tools/testing/memblock, do not bring in the whole >>> thing, only what is needed. >>> >>> Reported-by: Mike Rapoport >>> Closes: https://lore.kernel.org/linux-mm/afcdDm4aAJvNaQqH@kernel.org/ >> >> Link does not open for me. > > Dunno why. Works fine for me... Maybe some temporary issue with lore? Or, look for the thread under "Re: [PATCH v9 0/3] kho: add support for deferred struct page init" in your mailbox. --=20 Regards, Pratyush Yadav