Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp3018006lqz; Wed, 3 Apr 2024 15:58:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWi8sreE7iTw9DUekJ9dBQ4ZdGne1Wf+CAR9dzF6hBaTmUX2njqonGo7ojDn1dF+BHaYJZ2myYN6tuLyAyQtG3tgMeSs0cVE6Vb0heYAg== X-Google-Smtp-Source: AGHT+IHIRIcZt/ENL+FTZuMJuTB02nCdRK4k2kq1uj+ePJSYwGx07YO9bk17gzTriRWmIWNzvuk6 X-Received: by 2002:a54:418b:0:b0:3c4:e881:3bd2 with SMTP id 11-20020a54418b000000b003c4e8813bd2mr795717oiy.27.1712185109857; Wed, 03 Apr 2024 15:58:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712185109; cv=pass; d=google.com; s=arc-20160816; b=IDwLccHlRxWg+yGpGsVruHaCPcRNCZimGSzIgSogiTYxteZun53QY9+zEevhi/BfFx KxZxHX8RaRqd24P4Y+nxYEBatmgJDxxlbYsrBAHYLIA+ShlW8UBR1kYLmOgyF4TBdIqs VQ8oRuCA9kixiU37LkytRd9MFDBHJIWwFax6El4ja/X8capAnaKydvYw9Ombr26SUnp5 fGLZxOFsNYHpxI/XM2Yb7kXTUvHwwTeflnBk6hF3A1wIIVNgSnOnT708raxsWhxDas2g O3yqkSifVF+sqFDcZfMKWMFE2YK0dQveFnqUxLcil0uPG7e8IbUUFh7In9fbPeUg5YoY VEOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=AWtiyFTqYKwdJDHyaCD82L5617uAdz2F4Sz0PAghbhE=; fh=Cvd2qU/n69ekUZ5C/BVx8i0k6HqFK2TNJpIynkT6Ch0=; b=LvFQ8lh3bZxVRCMSTLLmlC6jddG2IHC/JH69xAQRSykYEDkB04TLwApB7Ph8IK74Lq cQBU2em7K1GXLVPlk8qVQsbP+uFNN6RGO25XJR0Rc5ENM+EudLTd7gs3vsQVaR4+KD10 VXDvLV2eRBImd2ozluKPxr0El9MyXzbwJOsTlo8/w4govH+vMVq/D1FHoopbItCpWxuu jrXXjm5nED13+mNh+vYqb1h4XkfOJwi7Prj73w1jkm/8wTwDjcQC8in11xZTG3/9K9ZJ ATfBMdkG2lc8U8Cl47rRJx569RS6nPJllQb1mz1+c9KCpcCe4p2eONGRk1AbomG4Ifne iylw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=altBgIa+; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-130703-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130703-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c22-20020a05620a269600b0078be558ff92si8220562qkp.173.2024.04.03.15.58.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 15:58:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130703-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=altBgIa+; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-130703-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130703-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7A0E21C26991 for ; Wed, 3 Apr 2024 22:57:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3C7D156C4B; Wed, 3 Apr 2024 22:57:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="altBgIa+" Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (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 5722B156871; Wed, 3 Apr 2024 22:57:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712185064; cv=none; b=Yzq2e5tCgx/vWKTL0MyknGv5/R75CwDfKUyTt1YWobgAYnPmXZ4hanJi+ZTsiTFtcpZrIUCjRZ/HXoqcK86nAJ2AGBsl/hgpQFWMygGDEpRsOvTAsezg1hNPmEu+8L8skb//W4GxYcdQ1F0tu/xSVC4r3E46cbke5FVFJNJP0Mg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712185064; c=relaxed/simple; bh=rSC5AEVZmjhxZcqf+HrPUcVtv4hsU7DupAfE4SmRWDc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VbYuBILgXEA6oBy5yE7MiYTnoXHWt53ygcdXdSTcwaziLPAe+NjZuQ4XU6gQJkWoRId/hCMRNkzMHjeH1Xln9zmIU1q01jPdTaTZJ7IRYjhIwJk77Agq/6O7h6Npeo9BFA6sv3DPmh4aYnzt93UXTlj1fx2Za5Us3RvObPVD9ao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=altBgIa+; arc=none smtp.client-ip=95.215.58.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Wed, 3 Apr 2024 18:57:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1712185059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AWtiyFTqYKwdJDHyaCD82L5617uAdz2F4Sz0PAghbhE=; b=altBgIa+MeRE72rlksdac4u+jogeiW19C04WbQpYqlQTv7yFrJi+DeOIswL1ev0MHQMoJz 3P/blHm1a9ObCUExPNH7tB1oeAvKxRHvqrARJ69T91VOSSObtkLUGmQ7Nd8eHpwXRM9vPE nRIje5E5zoSDcqJDGAKpSrukrB99Ej0= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: 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 Subject: Re: [PATCH v6 01/37] fix missing vmalloc.h includes Message-ID: 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e2d09f8-2234-42f3-8481-87bbd9ad4def@redhat.com> X-Migadu-Flow: FLOW_OUT 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.