From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C29D534EF0B for ; Thu, 4 Dec 2025 17:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764870035; cv=none; b=qw811f3TaPmteUDJ2JK5pgqAj4hccOE6alIzB6IkeRHk36S3qjZNv1z93lR/BioQhdo5MtWhRX9jZC6HpW193M6emGqIVX6hkSNTVKIShN9VkCtRgo6V6lm5WGl2rHZRJzcpbXaWvwob4oHvLYHBpt7Ad4es+7URBUSJ23+x+uA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764870035; c=relaxed/simple; bh=e5Dtz3J7MhH+bk1NnlcYmkH0V1GPFE2t+elnet8MhuA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cB/s7ElokB9bQ0tTOhNBpUliQH1imN3J+SRFq9C8TVusEi7jBnF7Oofh3fWSGiflhFso62zA2WNgHP2K6J5l76C/2L4g1msM7aVa1PMyRAAxJWEZ6FzMyfc0UHzlv9uwGm+uPYnkeZfN0nxgxW4NM0XOqxymkBLivZkyGO9m/8k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TwwxXpTq; arc=none smtp.client-ip=209.85.210.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TwwxXpTq" Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-7c95936e43cso441909a34.0 for ; Thu, 04 Dec 2025 09:40:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1764870032; x=1765474832; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=s7Rn5OHlrxb2qkeqjO8QCULVMCiSnHuDaJSd7PMI+Cc=; b=TwwxXpTqv/tK0HDZZR+jqFmFU8C0XWih5oZpoPv/b+nAv3v6+xDFRsDKMtpAwG+D1D eZwiP83aikPPwjen0KE6imWAKcQGtlRq1p4dKjmtKL42k2Gay4/z5SVIdoDXNAeIsY3h 2XjsMkKGYlkI6FGjGbmhS7Lfcoy3JojbpkW80= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764870032; x=1765474832; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=s7Rn5OHlrxb2qkeqjO8QCULVMCiSnHuDaJSd7PMI+Cc=; b=kz7r3YVLrryuL3KduIWW9HTK9f8OfOZPZxOLgk322cYYVIscIuF/vrsUNQo8ChFq2+ Bju4tZW1YXk5UO3qowegN3q3bTeDU7x4p/atzIksZmZPatIY7xKbW4WQ1H8pIDmSI3Qx v4CN560BvDehBkT54b90nqmI63qZ/BpvO8PPiTmMwRuZAv0FsQVAPmahO4XhcHTQjxB5 h80dE7S5wTV30nBfWlJ7gD7a+m2dUxnjNdLrCbbs9tYNB9eLpb1nfcdM8s+w49F2oX/+ VhhZ44Pdx049FAoue6GqPDtLCuCt1B4PI+Wnb1IkW1iq/7NrvA2E7XQyKEfSLeALp6XO RhTg== X-Forwarded-Encrypted: i=1; AJvYcCUv88x15ehFC1rlqs2kbA2PNrwvQdRKfnoZD50Fo44vjk/hEyesCM9rrNGmxIcfUEQK/IXBuRkVjzgdbSA=@vger.kernel.org X-Gm-Message-State: AOJu0YwArPARp/NSO60j8Os7doKjKj+/37epxi+UrVoZl15Jnr+rojqD YEkaybYTH+Qni6z8+K9l0U6doXLyoYVcOPUPyX9PBHc48XMeyOtUknmLFDp74w736Lbd/Jb3mii VTPiW X-Gm-Gg: ASbGncvoXJz8ru45cUhLQongOVyBvCxUQ5l7EWokHXd9uN3FSVnjrZL0b1jEAdeAY/V UnpOcgiqTRLwtLbrrm87inEQROTvaZ2If/AaOeXrDZz9VyBAoj8tWawjWqFxvMzwfDZAQ9mqTit 27rAs7E44YymeTawjOpX/5yfj8JjRpXby3YIQuOp8TGJq7SWJItoav++NyhAleRL+KqEMrsB4of 8sNGypiu1NW0boa0VSLffQROvxPVPBOIrqebOZD4a0CrOcN8fPjldwYMeWzQpQTNo5kN9IumqEG iYkTP6SWk8+vucV2IziXhbvTLpHS0QbkdpBkj5MQWU38xNPrrfYe3Nq2Otpg15hawK4WCSNQMi2 wrVYl9sTRhE3AUu6FTgak9P9arPJhooUwVbTVkm6jG7JzaS4jxKj63uzzrCov4iNRaUq1GCgC5s U8A/7s6kdMOd15DWEQZ+erF24= X-Google-Smtp-Source: AGHT+IFXMYm8uo/02RyQ9KYlJ4KVuvzBZjjPLJoJhlhqhfro08LIJnMS5kW+39YjCpGAgxuJvojUKQ== X-Received: by 2002:a05:6830:2406:b0:7c9:5c77:54da with SMTP id 46e09a7af769-7c95c775a7amr2219135a34.17.1764870031834; Thu, 04 Dec 2025 09:40:31 -0800 (PST) Received: from [192.168.1.14] ([38.175.187.108]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7c95acff1bfsm1802681a34.31.2025.12.04.09.40.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Dec 2025 09:40:31 -0800 (PST) Message-ID: Date: Thu, 4 Dec 2025 10:40:29 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Linux 6.18 amdgpu build error To: "David Hildenbrand (Red Hat)" , Linus Torvalds , akpm@linux-foundation.org Cc: Alexander Deucher , Linux Kernel Mailing List , amd-gfx@lists.freedesktop.org, dri-devel , Guenter Roeck , Linux Memory Management List , Shuah Khan References: <74032153-813a-4a40-8363-cce264f4d5ea@linuxfoundation.org> <1eb24816-530b-4470-8e58-ce7d8297996c@roeck-us.net> <0425d7b4-76e4-4057-83a5-a7b17a051c54@linuxfoundation.org> <9d520a1d-0b8d-4d30-b29f-230fc0f92b8a@linuxfoundation.org> <1f31b86d-283c-4878-92d0-ab90aed0c58d@roeck-us.net> <5af4522e-30ab-4eec-a861-c2760cdabd4f@linuxfoundation.org> <2bc690ca-fa57-46fa-949b-28b5441cd364@kernel.org> Content-Language: en-US From: Shuah Khan In-Reply-To: <2bc690ca-fa57-46fa-949b-28b5441cd364@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 12/3/25 23:05, David Hildenbrand (Red Hat) wrote: > On 12/4/25 03:34, Shuah Khan wrote: >> On 12/3/25 18:06, Guenter Roeck wrote: >>> On 12/3/25 14:16, Shuah Khan wrote: >> >>>> >>>> CONFIG_RANDSTRUCT is disabled and so are the GCC_PLUGINS in my config. >>> >>> I guess that would have been too easy... >>> >>>> I am also seeing issues with cloning kernel.org repos on my system after >>>> a recent update: >>>> >>>> remote: Enumerating objects: 11177736, done. >>>> remote: Counting objects: 100% (1231/1231), done. >>>> remote: Compressing objects: 100% (624/624), done. >>>> remote: Total 11177736 (delta 855), reused 781 (delta 606), pack-reused 11176505 (from 1) >>>> Receiving objects: 100% (11177736/11177736), 3.01 GiB | 7.10 MiB/s, done. >>>> Resolving deltas: 100% (9198323/9198323), done. >>>> fatal: did not receive expected object 0002003e951b5057c16de5a39140abcbf6e44e50 >>>> fatal: fetch-pack: invalid index-pack output >>>> >>> >> >> Linus, Andrew, and David, >> >> Finally figured this out. I narrowed it to  to be the HAVE_GIGANTIC_FOLIOS >> support that went into Linux 6.18-rc6 in this commit: >> >>   From 39231e8d6ba7f794b566fd91ebd88c0834a23b98 Mon Sep 17 00:00:00 2001 >> From: "David Hildenbrand (Red Hat)" >> Date: Fri, 14 Nov 2025 22:49:20 +0100 >> Subject: [PATCH] mm: fix MAX_FOLIO_ORDER on powerpc configs with hugetlb >> > > Unsuspected and confusing :( This commit has impact on all architectures, not a narrow scoped powerpc only thing - it enables HAVE_GIGANTIC_FOLIOS on x86_64 and changes the common code that determines MAX_FOLIO_ORDER in include/linux/mm.h > > Let me take a look at reply on the revert. > Sounds good. Reverting or finding a fix is good with me. It definitely impacted two of my systems and the problem was introduced in Linux 6.18-rc6 and is in Linux 6.18. thanks, -- Shuah