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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA1E0D37482 for ; Thu, 17 Oct 2024 12:32:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3D93A6B007B; Thu, 17 Oct 2024 08:32:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3886B6B0082; Thu, 17 Oct 2024 08:32:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 278656B0083; Thu, 17 Oct 2024 08:32:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 07AF56B007B for ; Thu, 17 Oct 2024 08:32:50 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 154DE811BA for ; Thu, 17 Oct 2024 12:32:40 +0000 (UTC) X-FDA: 82683032922.25.792CCB4 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf04.hostedemail.com (Postfix) with ESMTP id 9F80F4001A for ; Thu, 17 Oct 2024 12:32:34 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf04.hostedemail.com: domain of ryan.roberts@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=ryan.roberts@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1729168319; a=rsa-sha256; cv=none; b=a/L9W4DzxZBtLNxYZVn7nkc129MrQrDgPLeGkzgFkgdJi1/vJ7TtH1enkYR0WuEuJWNzG9 gsoYr7YkiUvmUvwwAv8x2VKoVgiDlk8ccib5RCE9eZVoizMCVA3f6E5uD07Pu5l6hJfQJR U06b0KlDofzDVHyi97X8Re5Kt8J1PxI= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf04.hostedemail.com: domain of ryan.roberts@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=ryan.roberts@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1729168319; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n4KnyZz9UJ8Iq3DiAfvf+xaJOnAg/aar2FSj2zvY7wM=; b=l/JFdbbUV2kubFdwjLsEJVcjnbcfZOg1DBI2RlBW8xpMBUwtP2PwiwLOd7Ypw/hpdfdU5m qwspG2AyOFu5RYxXkz/Q4Y9awgnk3j2BgxABzOXfy+UIOppjYWm0Yt434PTGfvrxi4xsc5 2Z73QWM+hz+tCOSaxddtE6mfNM0lgKg= Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 04472FEC; Thu, 17 Oct 2024 05:33:16 -0700 (PDT) Received: from [10.1.34.186] (XHFQ2J9959.cambridge.arm.com [10.1.34.186]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 599A83F71E; Thu, 17 Oct 2024 05:32:44 -0700 (PDT) Message-ID: Date: Thu, 17 Oct 2024 13:32:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v1 00/57] Boot-time page size selection for arm64 Content-Language: en-GB To: Petr Tesarik Cc: Andrew Morton , Anshuman Khandual , Ard Biesheuvel , Catalin Marinas , David Hildenbrand , Greg Marsden , Ivan Ivanov , Kalesh Singh , Marc Zyngier , Mark Rutland , Matthias Brugger , Miroslav Benes , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <20241014105514.3206191-1-ryan.roberts@arm.com> <20241017142752.17f2c816@mordecai.tesarici.cz> From: Ryan Roberts In-Reply-To: <20241017142752.17f2c816@mordecai.tesarici.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Queue-Id: 9F80F4001A X-Rspamd-Server: rspam01 X-Stat-Signature: jprkxhnh1us3f5r7zw86zp7e18u1o74j X-HE-Tag: 1729168354-626231 X-HE-Meta: U2FsdGVkX1/Tvc9njfIYMb6ba0Nggix+LOjCqN5QdThl464JbA3ua9DWmVoGpZzv1zTsNHvXRlQTXX1eYd8CaAv+oCnkV2JoyH4xOI5/rONj3U6f4HiXcua/kCHpw8BROEdsr2sWUcNvKhDbsN49PneGcO+tIGfcYIQVxkbu+eHmMp9HUU209QRaurhFEogPgl5gij09IAys3kltzYA/LImr70r49+etymcjcyXyc6Am3zUdm5B08TLokWjTNnVt/jbjA9HFyt52x1k9MK6xUthpr5K9DO7TdlUtBOrAcrUnp+MAaeybWw/0+456aTedboleCF/ReXT/5unejzt5BYNdzddeWbfkSPYgY69BwTHku7emYzIc+QRF7kGNVfwtkc/WSsl/WWuRUV6UwIsmVNj/W6a9tFtdG0FJfGRatoQFZMaCIFQD4zzbKtDk4HCRzA6QHojIozqdFXRGl5VsE9bBMzWrN/72rIZcmSp8J6oBVroiHOA99CEDrsAKLLY7+jl4FAr4O3T5PgEj1jcPi07tRukoQ3Nmobi0iVvBiq5MxDC+wXFu4njrAlmbHou5LL8q2RVqGBYUdWDkuu6PmebuRNO/4w6MCKPvNWm30RnuOm5zalmw7/wOnS746ZuSNggMCtHLF7iiHTrGEAy0jgAjivRvieCL3WWRfMxmzsk5LI3NtFd1xaObUfRLageDgwXuRoC+LdQHQKtGZb7qpL0F+S2veJ5eRVBOAv56CDgFhux3ip3NiS3lh4BEb4Nl6eotJi7u1ee54O6lSkYMpWVigAc+UdcobPAaIShZFHLxFGEG8dZk2PN7/LiJdG4Xz09fmUWaktVQh3r0iYP+PP5uwGaZqLjm2uZcrOwpOoEBSEFz4b9sPizpXsLTcW70AnUGuCqotjvBSeixjEtR90rhW8+clDrkp5UdV4eNBbShftcrzvh0Na50dZnTxpmzRmW5+T/iqqCzcvnNVEW 1svVML1z iyuL2JekWufvZtxgMGnAFO59k0H2HAArr0vNchv6VVL+np9PfUMGFwlEIJ0bS5TAj9KzWIqyNls/2EVK2uDPLqQBcUuCXWZWEHPm9oXbPoWsAPvs8FRImcKZO3e/JCN/f3VccvrzFrfLzW0eGFHkUNW57QJswoeLGkgb8o7KOlYi1exci/pKfYJwsM/7NwbMWkyVVR1gqQHoXLo0/uWlsc8ECpZyIjohX07NiaobzQxO/XP4= 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: List-Subscribe: List-Unsubscribe: On 17/10/2024 13:27, Petr Tesarik wrote: > On Mon, 14 Oct 2024 11:55:11 +0100 > Ryan Roberts wrote: > >> [...] >> The series is arranged as follows: >> >> - patch 1: Add macros required for converting non-arch code to support >> boot-time page size selection >> - patches 2-36: Remove PAGE_SIZE compile-time constant assumption from all >> non-arch code > > I have just tried to recompile the openSUSE kernel with these patches > applied, and I'm running into this: > > CC arch/arm64/hyperv/hv_core.o > In file included from ../arch/arm64/hyperv/hv_core.c:14:0: > ../include/linux/hyperv.h:158:5: error: variably modified ‘reserved2’ at file scope > u8 reserved2[PAGE_SIZE - 68]; > ^~~~~~~~~ > > It looks like one more place which needs a patch, right? As mentioned in the cover letter, so far I've only converted enough to get the defconfig *image* building (i.e. no modules). If you are compiling a different config or compiling the modules for defconfig, you will likely run into these types of issues. That said, I do have some patches to fix Hyper-V, which Michael Kelley was kind enough to send me. I understand that Suse might be able to help with wider performance testing - if that's the reason you are trying to compile, you could send me your config and I'll start working on fixing up other drivers? Thanks, Ryan > > Petr T