Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp108406lqe; Thu, 4 Apr 2024 00:43:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXvHgEK7U9Zm+ve+s6C+jIambSy4RkSrkCeQHazk9UZu3hflM6CaW78M/zD/xSBl8JJ5N/U2drZipuPHzpg7KH6nGPTSXcIEa3KcfFaVg== X-Google-Smtp-Source: AGHT+IHZIJo8yibm/IZAYPUUky9AIoW3BgxHbB6DMWu2iQ/xA6QI86JOVcjcyvy2A/v+DgNt79mn X-Received: by 2002:a50:aad8:0:b0:565:bb25:bb7a with SMTP id r24-20020a50aad8000000b00565bb25bb7amr1103904edc.24.1712216581377; Thu, 04 Apr 2024 00:43:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712216581; cv=pass; d=google.com; s=arc-20160816; b=X9IZUxR441RmdFWrzSpSEhStsWJG4V3XNMsulKBoe7UuuYFF+sNwMn2mWO9tjSasdA pTV9vFZURD4RBqM9OLgOlBdH6fmqSUPQKQIBIKRkCiJsrzgOmq1VuWaUGVeHYioN8h8U JhPuHO5laWv1BGfbwwwB98E6s2JBDvbSJ6AHZFmGoCeS/6/Q/+PRlrUEPKHq6lru9CbY emMud1Y/d4vO3yfOrycOhA5zZQT3cq2il+OjQap7GAa8qcjAMqACkl7HyHAXKBPjWV1H wNIgp5X9Xl+JD/KfE3etVUW9T28fmyqpm7LtHOmjVKvgP8TKwBZ6aoLlDeuzK8BDwk3x DTzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=b2H16tqCkJ6i90mQLPDpV1ZsYZDW4KEWWz9R9e+0Oig=; fh=0++Z8iPaToeXsiYPhMz2g02LF1kl+WvaMBku9FSLiKI=; b=0jQFCFeF6fcsHFmPqCzvgqoOkuogyigCyoCMCUtaWweSv/7ZuUwgCCY2t4H+rseFo1 cYNytCkbc/asaJMrS/hPp0C0mr1vvfixvY7mDb6Wq2e6H7TylhveDnCHBNRVttslRdBk RJynzR0sQfB1qe6Ao8JxtScFfLs++7GTTf9zGgLGapx8xA0LcXkUVn001Q72x+kQe6lL kPGRZdlyRAldO2q7oNXZF3Mnr3CSmbdYrTCze0gUV41szsNHkdawLh7tf0Z85jd7WCMG udIf2hu7RdtLXKb6ttM/KflNqwbkZfNBurUwdK0Nz6l/W3x7ywrpSCpLL6zuEBpV9Iyv 43Pw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=DOYOq1kt; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-130848-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130848-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x16-20020a05640226d000b00568b49bb9c7si7660081edd.343.2024.04.04.00.43.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 00:43:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130848-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=DOYOq1kt; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-130848-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130848-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 013691F285C9 for ; Thu, 4 Apr 2024 02:56:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 899EB208AF; Thu, 4 Apr 2024 02:56:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="DOYOq1kt" 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.subspace.kernel.org (Postfix) with ESMTPS id 8F74EEEB2; Thu, 4 Apr 2024 02:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712199359; cv=none; b=mSiz+APlstW1ljXZskE8dV+mg/iOxpb6u7p1+aCINou+Wy/MMTqUKqo0Z73Dp+3HUt1ZYevStMNpWVylHKEFhIjXVyJiiXAz6V9wDZVxDFEWd+cFL8kJL/R1V03jjnJ3TNGfCNxhV6AizvhvQUbDqn4FhHNFlbBkF5GuVJcSENc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712199359; c=relaxed/simple; bh=woQPwN94SfTkVo2nkrzwmeNCeR1tcNFP0GrDX8U1n6g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oOO6hyjDrgYEyeqM6WiNg0nyVqPu4f/vz4XKFWPHMz52UQcdoxzDazSOxB3oMqBMcUMfT9xHtWHAHrFelZi4N6L4fTB5JuVDDJyWtG6G12VxXrEr2PKDTX5Gcy88ddmGjA+XXOnAq17cq/5d5nbGonlnwxcRHSIDi4brBAW34r4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=DOYOq1kt; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=b2H16tqCkJ6i90mQLPDpV1ZsYZDW4KEWWz9R9e+0Oig=; b=DOYOq1ktip9OrPqyMbwDoNqDtq VB6HauYA/GGMAstDHOFp3X/FsrrMKv6YfXGD+QUD67yFNWCAcxzrPxwIanfV6S3L97X/TEZcue6x1 DEi6bN9guWRaHhck/D7JnDVcfH/ggNwDsVGjKVdBzXBBK0zM3jPjOcv259vAlag3vudS0kmURSzoM aJYzWCso5E+7of2Er2nfWcoIvHsHbXLcHILwObAIYPaSB1QJuojxjuRFiDBF8ddzqHDVt2GWbVL/+ xR+0t7YyOlbaQgK6MbdXjKGC7weqzQ++wCpmLrtM1OisyiYiLNHGQ3qfa4nDy1kb8yHh9fC1vn6Yz GUTgK+bw==; Received: from [50.53.2.121] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsDGA-000000012Up-3OOS; Thu, 04 Apr 2024 02:55:27 +0000 Message-ID: <5a349108-afd9-4290-acb6-8ec176a80a84@infradead.org> Date: Wed, 3 Apr 2024 19:55:22 -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: [PATCH v6 01/37] fix missing vmalloc.h includes To: Kent Overstreet , David Hildenbrand Cc: Nathan Chancellor , Suren Baghdasaryan , akpm@linux-foundation.org, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, penguin-kernel@i-love.sakura.ne.jp, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, dennis@kernel.org, jhubbard@nvidia.com, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, songmuchun@bytedance.com, jbaron@akamai.com, aliceryhl@google.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org References: <20240321163705.3067592-1-surenb@google.com> <20240321163705.3067592-2-surenb@google.com> <20240403211240.GA307137@dev-arch.thelio-3990X> <4qk7f3ra5lrqhtvmipmacgzo5qwnugrfxn5dd3j4wubzwqvmv4@vzdhpalbmob3> <9e2d09f8-2234-42f3-8481-87bbd9ad4def@redhat.com> Content-Language: en-US From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/3/24 3:57 PM, Kent Overstreet wrote: > On Wed, Apr 03, 2024 at 11:48:12PM +0200, David Hildenbrand wrote: >> On 03.04.24 23:41, Kent Overstreet wrote: >>> On Wed, Apr 03, 2024 at 02:12:40PM -0700, Nathan Chancellor wrote: >>>> On Thu, Mar 21, 2024 at 09:36:23AM -0700, Suren Baghdasaryan wrote: >>>>> From: Kent Overstreet >>>>> >>>>> The next patch drops vmalloc.h from a system header in order to fix >>>>> a circular dependency; this adds it to all the files that were pulling >>>>> it in implicitly. >>>>> >>>>> Signed-off-by: Kent Overstreet >>>>> Signed-off-by: Suren Baghdasaryan >>>>> Reviewed-by: Pasha Tatashin >>>> >>>> I bisected an error that I see when building ARCH=loongarch allmodconfig >>>> to commit 302519d9e80a ("asm-generic/io.h: kill vmalloc.h dependency") >>>> in -next, which tells me that this patch likely needs to contain >>>> something along the following lines, as LoongArch was getting >>>> include/linux/sizes.h transitively through the vmalloc.h include in >>>> include/asm-generic/io.h. >>> >>> gcc doesn't appear to be packaged for loongarch for debian (most other >>> cross compilers are), so that's going to make it hard for me to test >>> anything... >> >> The latest cross-compilers from Arnd [1] include a 13.2.0 one for >> loongarch64 that works for me. Just in case you haven't heard of Arnds work >> before and want to give it a shot. >> >> [1] https://mirrors.edge.kernel.org/pub/tools/crosstool/ > > Thanks for the pointer - but something seems to be busted with the > loongarch build, if I'm not mistaken; one of the included headers > references loongarch-def.h, but that's not included. > That file is part of gcc plugins. If you disable CONFIG_GCC_PLUGINS, it should build without having that issue. Of course, there may be other unrelated issues.... -- #Randy