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 1707CE77173 for ; Fri, 6 Dec 2024 07:50:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 55A9D6B01A5; Fri, 6 Dec 2024 02:50:34 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 50AAB6B01A6; Fri, 6 Dec 2024 02:50:34 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D1CF6B01A7; Fri, 6 Dec 2024 02:50:34 -0500 (EST) 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 1FE866B01A5 for ; Fri, 6 Dec 2024 02:50:34 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 8A56AC1910 for ; Fri, 6 Dec 2024 07:50:33 +0000 (UTC) X-FDA: 82863761610.18.07931BC Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by imf24.hostedemail.com (Postfix) with ESMTP id 6623D180007 for ; Fri, 6 Dec 2024 07:50:29 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=suse.com header.s=google header.b=dF+W7fjP; spf=pass (imf24.hostedemail.com: domain of ptesarik@suse.com designates 209.85.218.43 as permitted sender) smtp.mailfrom=ptesarik@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733471414; 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:dkim-signature; bh=eZ1KZrKq9fjjZZzg1BpDFYDzANeNx3Q16LjjyXms8rg=; b=mA9lEGkOHUF0spyw8wvgba2LgtxufRfHbAFG0HM4QA34v0Ug8aW4WYEodiuE988qrPPU9B sflBxdrdh9kL1dAbOn9nGO5aSgd8g8BkhlbetNOqQfeIyvJ1LILZf9Zs2fJOJbkhqrd1H8 DpJnuu6LyaYPDCuMNruNDV/I2zv7F0o= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1733471414; a=rsa-sha256; cv=none; b=E6yNc9A/RMnX/Mi1Hm9QTAwwbMj7fzeInv6na0DJY+uct9KY5lItDCMdin4PTZRn2J/pkX kUzEMSipaKv1n+D4VxwyuPv0owX7A7leSHbeUhCLoFA4KDNBmznsd0YcGnsw1pRuj0ZF8X xXdT862aYgZnghlFUWcLXqVndPvzGEQ= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=suse.com header.s=google header.b=dF+W7fjP; spf=pass (imf24.hostedemail.com: domain of ptesarik@suse.com designates 209.85.218.43 as permitted sender) smtp.mailfrom=ptesarik@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-aa551d5dd72so28141066b.3 for ; Thu, 05 Dec 2024 23:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1733471430; x=1734076230; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=eZ1KZrKq9fjjZZzg1BpDFYDzANeNx3Q16LjjyXms8rg=; b=dF+W7fjPAYf5lhak3+G6OhkFun7n0Iq/hxnpLH0TW0ZCWI/Tt4mcj6rRhbb6N6oB8+ 3BqoawSB1ctSNXf29w1jZp3g5n4p6UVgFuy7+0/6Uw3qe9aM5Jn+MLcbp8K/Kqb1IKlH ad7NftHGCKsp9Y78vfJT4XuMQzPZPIJQZPq0MQvmjX3eKxaYJkLQZxNvAP17mzR9clrQ pkIhekXxGyPkHEkiuRm6sqlx8T974QmOva9YEQTJ20ULQFHJU7zowizmkKaKawUdTM76 HY3r9nT4y8RIL+7q5xUy5gZrcH2XZaEtPdKNZ/RWiM8eKRsY0PExUm2GiKlu8fe8Bhs3 zN+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733471430; x=1734076230; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eZ1KZrKq9fjjZZzg1BpDFYDzANeNx3Q16LjjyXms8rg=; b=ox+z52ek+uBe/fXIxzK24TBr4+sI7MEtuTctKpfib3gzhsHr8YbVPaVtWAwIDVIUaF jBYaJmeoNTGyyAzarWYeTJ3/5DXB3l31h/yYjmTp95TY4RjUSq4LGC0MZ+i+BHqjjyFW G/4oLn3l3lJffTn+KENguNk8fsRVGUmXGKqCj2FqmKmhq0bDwl2is2RVYb+Wa45fFY0I jLsHUzrogyn5B2nj6/s/LKBHriynw6l39A5t0h6MkUrPfHVWHN46JHg+09ZFcoxVa0eI 3aPs9/LV2YiujuCMZhqWUiZNopI78QSioiFtsToGKohsGKnEDFacUq35aH/s/mYovSr1 T0wA== X-Forwarded-Encrypted: i=1; AJvYcCWPrJZJn6/E68WDOZ8BKhsgrA0BKbD5zyaCMeh9sUXd7XplzcM80zQb3i1AICX5Wz7A9GQAUQMx8Q==@kvack.org X-Gm-Message-State: AOJu0YzCv144BcxlyiQHb6ZkFPabDBB/ZT6V2HvXUz/ZXYSuNUB9bSl2 D0TzXkvY0JPFJX5lVp+98H7TuumAW4MJOnIZP7WuoAJf9DhjQz7j7f2XvamWLoY= X-Gm-Gg: ASbGnct/gjszqcZJ8BXhzV2y6eg9snb3mAxu7yinmU/1vkGOSmH/ZkiokDTc/HthD2U DoD2h5D7QzZAK+SJPZ602ixHkw2b+zDmMboe1pP+WAhRRs6Ftff4AiUAY7bm7ChpT/+V31OUNT5 EngYADhg6TG9Pd2yZ5gKg//E1X74fvT4LIHeuRD4gD3eXq1dg6FBel+Sh8c1uysjaiTrClTZg6u l5rSCwTIor7wd1ZYen52tUJO0SZLR0q9IVZc+990eu8oV58SqtsTNvopWw+Lrp4maJhIhfEZ2pO rWr5GJRY76XKQANOmpCUJ0SD3HKrR0Q0GbbX/uoEQSLU5QiDeP+VfwY= X-Google-Smtp-Source: AGHT+IF8xoPo6If2nLWiursPzHftrg3L5Sg/0RCI2v1dsSwqFkxqadIQUN7AYaRQbEqFSAHgtuUilA== X-Received: by 2002:a17:907:3fa8:b0:a9a:8216:2f4d with SMTP id a640c23a62f3a-aa639fa5dfamr62692766b.3.1733471429904; Thu, 05 Dec 2024 23:50:29 -0800 (PST) Received: from mordecai.tesarici.cz (dynamic-2a00-1028-83b8-1e7a-3010-3bd6-8521-caf1.ipv6.o2.cz. [2a00:1028:83b8:1e7a:3010:3bd6:8521:caf1]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa625e58da5sm202707966b.28.2024.12.05.23.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 23:50:29 -0800 (PST) Date: Fri, 6 Dec 2024 08:50:26 +0100 From: Petr Tesarik To: Michael Kelley Cc: Ryan Roberts , 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" Subject: Re: [RFC PATCH v1 00/57] Boot-time page size selection for arm64 Message-ID: <20241206085026.32c89a03@mordecai.tesarici.cz> In-Reply-To: References: <20241014105514.3206191-1-ryan.roberts@arm.com> <20241017142752.17f2c816@mordecai.tesarici.cz> <20241205182008.2b36476a@mordecai.tesarici.cz> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 6623D180007 X-Rspam-User: X-Rspamd-Server: rspam07 X-Stat-Signature: nbmqpok19agjxka3afjux6otzno7ng3t X-HE-Tag: 1733471429-95097 X-HE-Meta: U2FsdGVkX18RL1TE1vyT+J/44FoFektkFqenTpxNxyTtR73YKjGplkCaGfhb8XNm2EUfOYRl3bFIO2+2hSpHvxPdQcxi9c8Gk1sVyGXRgWLA2OHnHYEblDfhYObcoyZDSDnA08/nwqQkIi+m1qH1NufpoShQlHIxALd8WDuxxS6nu69yDDoHf8oxtZk9DS0cXpI8LvzfO8Grt3Eal9KtmeSAC/NPkb4sKz4cAx4xOd2ynR8aY/2dwmREx3M+z8GfuStxQBT+ApYMKamNgsVPeJaUKk6HDJDx3zqF8RaWYKhxD2IBpLgQD19HD92rHB8PB6R6AdVgRT+uf9PdFDJa79fHfzUSYeYVU5YbP84LThRkLavZFhIPq7QkOf7761fA2fjBM6BIZCAL5/5PDteQDlqxJje+OfOtKRoDTyWfBfbLJ4cX4AhLcm/MiKx8RVjIzu63Bvw4reiwj2YjdLT6gwBDfh1Uqzg3JMZtbfKzxWktqSi1Bvw8ovVVwvj3CWmCrMkulpBtFwkc9S/QIs0ii4qLYh0EiUAgMrdqV0F41zZW1d8tq8fjzl5xhlM+Eq0+kCbFVsyHbzNk2EvWv0v2IqrpW9/2HMaJZ05RsIn7I0Z1jve6ELrNsT2nric9UX9fXIHbLWmYCKTMerC9sClBRnla5RdG02kRsWNtXbFedS82uttyFjNMHMyWsK3ZPuO/6Naz7EkMesFKUqWT1B82+wxzHiA0JiJKoIz8qpR9ETvojTmYIBQIYxFkBP5G/LfeAAj8TUUmIJGzWE8uCuTK/l+upSMv3WLbaD/r/R3+QN7IG4wExGxJFO7QPJov4VVhUD4PF1c2onDO/6Y5Lilqesx1R8oLKAN76Z7OS1rpHMoinWuH9u2DEfz30WMIVDcmGuH6fodf0vbH/7BIrjYF3NlSpnAZ4lRiOFEWW0D7qAsyve/K2UnpGEQDNS3eT0dtRJT39PDm3EVfooURDQ2 yKvMFmAO Ez6q21SAwp87vzZa15bZ1Ei9b9Q+K7YCMOlCD1MXSVW174e/Stjuo/t9ASOZQJHJDt/I4euMYC005edAqDQSadTnlPu95uutNzo07kbBfFETB8C4zoGi0v1ElznB26Y8HnPeNxRVBTqbbYQDpGaIfml8/Kbx7s+UUy+pRYuQuGNpqRoPt51pJWa+iruUCETkfyN/BAWCrJ5iDda9Np4BTrVqPW9VxPGws0cb4xfgP22KAJ5gF5wk5wkdQ3nv4G4FYW4EJr8mU3rv4I7D2QiCZLc/Vrd7D3DS3njDilq325LlcatN32U8UFGmqlCIproYLMAGQIZR9o12Etjpdfx0+c5WgQL4ZboE7xRggwdBJV6y+HhU3uWZaYd5aeigjQ2d71Hq9tb7n4Virx6epOieGV2Lb6Q== 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 Thu, 5 Dec 2024 18:52:35 +0000 Michael Kelley wrote: > From: Petr Tesarik Sent: Thursday, December 5, 2024 9= :20 AM > >=20 > > Hi Ryan, > >=20 > > On Thu, 17 Oct 2024 13:32:43 +0100 > > Ryan Roberts wrote: > > =20 > > > On 17/10/2024 13:27, Petr Tesarik wrote: =20 > > > > On Mon, 14 Oct 2024 11:55:11 +0100 > > > > Ryan Roberts wrote: > > > > =20 > > > >> [...] > > > >> The series is arranged as follows: > > > >> > > > >> - patch 1: Add macros required for converting non-arch code t= o support > > > >> boot-time page size selection > > > >> - patches 2-36: Remove PAGE_SIZE compile-time constant assumpti= on from all > > > >> non-arch code =20 > > > > > > > > I have just tried to recompile the openSUSE kernel with these patch= es > > > > 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 =E2=80=98= reserved2=E2=80=99 at file scope > > > > u8 reserved2[PAGE_SIZE - 68]; > > > > ^~~~~~~~~ > > > > > > > > It looks like one more place which needs a patch, right? =20 > > > > > > As mentioned in the cover letter, so far I've only converted enough t= o 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 in= to these > > > types of issues. > > > > > > That said, I do have some patches to fix Hyper-V, which Michael Kelle= y was kind > > > enough to send me. > > > > > > I understand that Suse might be able to help with wider performance t= esting - if > > > that's the reason you are trying to compile, you could send me your c= onfig and > > > I'll start working on fixing up other drivers? =20 > >=20 > > This project was de-prioritised for some time, but I have just returned > > to it, and one of our test systems uses a Mellanox 5 NIC, which did not= build. > >=20 > > If you still have time to work on your patch series, please, can you > > look into enabling MLX5_CORE_EN? > >=20 > > Oh, and have you rebased the series to 6.12 yet? > > =20 >=20 > FWIW, here's what I hacked together to compile and run the mlx5 driver in > a Hyper-V VM. This was against a 6.11 kernel code base. Wow! Thank you, Michael. I'll give it a try. Petr T