Received: by 2002:a05:6500:1b8a:b0:1ef:a0f1:aef6 with SMTP id df10csp106975lqb; Sun, 10 Mar 2024 07:03:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUIBEouJJqObM4HghqFy2rNIwiCCE6YAGxo7ra5UpcPeJS/a7Cq8fEuiGem8FOBu50QS29WvAFpYLA3tre3WN/AncBPXAOB8DfGLyerFQ== X-Google-Smtp-Source: AGHT+IHRHRsPX1tHyGMQdI4sy/F83abeMaOMvChBEvlaT+izMXjlCQsVg6srrHbI65I564/9pY/x X-Received: by 2002:a05:6e02:1948:b0:365:44:1ed6 with SMTP id x8-20020a056e02194800b0036500441ed6mr6471947ilu.5.1710079433926; Sun, 10 Mar 2024 07:03:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710079433; cv=pass; d=google.com; s=arc-20160816; b=GjBh5faKf4s9p1YHpag8zxpiSqzweKSh1bN4xPWXB42hRqBbpdNSl3VYrXPdnF/o1v ERXBZQPIowbAxByErL5IW5tzklspRXa1Km+KOi9d60sfJ+6+VeZ0lEjP58z0V1KtZuIf 1axHIqVJKxjKS90LLfC4HGkrEJRRV2RfQhZ3BwmiFvdP8p1prCPohjwGzM2JRp5W6XcJ A2E3+iHvC9vNTRAiVS+SIE9pxOxTnUxbjzRbRabu0ytx6BOoNs8Ly2xYJS7UjSunImiS Ii8cIDZcGH/95xwUMvy4Msc3arqIGa/2pIZFPBbWsTsMZ49xopxpZJ6aimVR58dT3Y2Z QAxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=bwiNExhP3G8/4ZF9l7HFtlTqhac5Y1om1nv7SCEhE0s=; fh=PphR712dXlIromgE5DtIV3yaZOE4vO8vTMjdDOo2Y6g=; b=DXeHVDMAEHWHcrnikwZGyT9CURzuIU/i403R+fAzXH3wiiXO0eJXZy6XzOTrDWuc7P DfeWp4IiwjlGRe3hm6wxRDG3LkFiJBQ4gHLLHRgcLvhYYHukU70LVMQcN56R/AfYimTp UhZo7gx7uvs98LU1OMEeq2fXYZB2NR9S0G/zvitnp2Uoy7XG16fkXm3v034D+nu23WR+ TX13oOLo1F260h1i+exixW2KoJhUtOtxAEk0L8R3jPurcjdx4eU8SxmuAu3BBwvvPto8 L+d6DyY6j9GVitBJUmgf1XwsGJ7niRGAzvV95RNAhJPilM0z515VK7Pvm0WlglnrMzaQ G2JA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="MrXAmr/F"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98240-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a18-20020a63bd12000000b005dc5dc82729si3193337pgf.541.2024.03.10.07.03.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 07:03:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98240-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="MrXAmr/F"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98240-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 92E9D2815B1 for ; Sun, 10 Mar 2024 14:03:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBB832D60F; Sun, 10 Mar 2024 14:03:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MrXAmr/F" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F17372C85A for ; Sun, 10 Mar 2024 14:03:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710079428; cv=none; b=hQcHh5zQUBaVzW1mytLOEEhdfywKLl0BYk0u+tfokBgR44Iw87eLWZvlgGpg5ijIeLtCNNa6STdnzTN+e9tC40A1TwJNuoLL3MvnKQbUz/AotAw24S0lP0Xq6lxN9cNo8NXlYHserhd2KL5ikXFwp9jchyblAgJgdizUhcs1BO8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710079428; c=relaxed/simple; bh=bwiNExhP3G8/4ZF9l7HFtlTqhac5Y1om1nv7SCEhE0s=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=BL51xYnC6m/ZdvSuhDqDRZrK44kAA3ffQDDETVFzK1MjRLdWBTOtVWlIUrEK2gwH+/z8QrjhIVULQ/L9Jykrj+AJyKwBNz3q2Nsw3Ho2Rg5mvqF/zW7Jmt5j+euGBmP95devI+y2tKTd/XgafVADfPGzE0WUdu4V5yCfq4tgGWM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MrXAmr/F; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87BDCC433C7 for ; Sun, 10 Mar 2024 14:03:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710079427; bh=bwiNExhP3G8/4ZF9l7HFtlTqhac5Y1om1nv7SCEhE0s=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MrXAmr/FhTA07M0n01frmkIyWEcGbzUxsBZ3MglRzMA1sj5v/+EIToP3BDzY2tTGt /cbyFRCTRKFSDyl7w0JWvI1Juc+PLpLIKiJv1Mu0vKZDGecbTd2pof3aaa/kBwWm+u e+KDYV/yCabWPpPlLag8CjPNMtJN7ak518OyBg1fOs5g1EjioPACaO7pK3Gj4VV/2U R7Wakre3MZB2i3QFN2E25FIXzcDY/14MuiyG9/KPly3Wo6SPR+eJZHBNItj1Rd+Og0 v7LZxSD+pHZIQEeeRJtiQ6LnMDL19Dw57/vSawx6RbtQdyEnoqCZQGH66iif1jH07D yAYIjfPlaNVNA== Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a44665605f3so541488666b.2 for ; Sun, 10 Mar 2024 07:03:47 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVHidxlczPfq60sO8IOOKYk5/3aBy8aeGHl+vGWCRKYc/5ZfjMYHg2OB1hRDlhTew+TZB8dPqVANmcrFkiBiOri3X9D8vGMyBf6MnAC X-Gm-Message-State: AOJu0YxDJLoddndzeXrJjlwQWqyxPRm0kOO9C4K35hUO9ubABPvipU+L 0Rs2EWJq3c84DmNJxsvpRBuVli0bBlkeRR5e+FZ7TsFKWz0yf3GYjYKtqmWUvRszvE24EPl8zed qkmiuoweXgLsqYWz9+69q5wa45fI= X-Received: by 2002:a17:906:564b:b0:a46:2e:ffdb with SMTP id v11-20020a170906564b00b00a46002effdbmr2316785ejr.49.1710079426029; Sun, 10 Mar 2024 07:03:46 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240308074600.3294338-1-max.kellermann@ionos.com> In-Reply-To: From: Huacai Chen Date: Sun, 10 Mar 2024 22:03:35 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] loongarch/pgtable.h: move {dmw,tlb}_virt_to_page() to page.h To: Max Kellermann Cc: kernel@xen0n.name, lienze@kylinos.cn, yangtiezhu@loongson.cn, tglx@linutronix.de, arnd@arndb.de, loongarch@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Max, On Sun, Mar 10, 2024 at 6:22=E2=80=AFPM Max Kellermann wrote: > > On Sun, Mar 10, 2024 at 2:14=E2=80=AFAM Huacai Chen wrote: > > Could you please share what kind of configuration will cause a build er= ror? > > With the current kernel, I found none; the problem is masked currently > due to the current order of include directives, but it caused problems > during my attempts to clean up linux/mm.h - see > https://lore.kernel.org/lkml/20240305085919.1601395-1-max.kellermann@iono= s.com/ > for the most recent submission; a later (not-yet-submitted) version of > the series which reproduces the problem can be found here: > https://github.com/MaxKellermann/linux/commits/mm.h/ OK, I will apply this patch if no one has objections. Huacai > > I saw this problem with "randconfig KCONFIG_SEED=3D0x5D8A9172" - config a= ttached. > > Max