Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3780043rdb; Sun, 10 Dec 2023 22:14:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpLw33lb+x4Reb91fDAxcAVxzWcxSAKluThK+SIj9YGCi3DSUipmjJE6K46UbbDLXDVKz9 X-Received: by 2002:a05:6a20:1044:b0:18b:556b:6d54 with SMTP id gt4-20020a056a20104400b0018b556b6d54mr1286458pzc.55.1702275275715; Sun, 10 Dec 2023 22:14:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702275275; cv=none; d=google.com; s=arc-20160816; b=qHwsEBQiCVcghNlfEFP7w7Oj7L1PvZQEC+6imOIcNqX7+cKgCjJs6GGCKfozGfjPSr 9Z80t4qYcQfmFTXtJ5gvP6pF+j+hCiT4mMX9Sr3zu6rGdXg2ipN1dDZbQAAbid2pbtRk O4a6Z3CTE7xUBQETQl6eKJgMivrlZroNCHIZKBY1MYYi+auwwkCe5JW4uf/bc+juK0lY +NlsF0mQv/m4dCg+ICfbdzoowho4St56FWhxvczV8CFZFAilmtocaWyD3oXxUssY6/0j rfZPb/81OpnUjgLgVMMkwH2gvvj2UDnBFkjB7y0a30xOcY408rM5cXHRpQslwOB+ziR2 4NWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=75WDSYsZLPIbgO3BE3vbjhlnfBOpxpqabZdatv1Aju8=; fh=0x9bu+ZNroJY/FJavxFbofcmS51XOrYyLrr75LqQCvo=; b=XAXzNEA+uYEWvgREBXo5XKrSA4B3nRferB7m0s93XDrCJk8x41VG0KehXo7r8Jnkun GZp8pGewuMoRjYTZfsjY7wOqO1j2m7Jv6SCddFnTlg2NOTvSWm7uFGEWJkrOxOg/rrda rca0BYE2MI3ueP+YaojVnYgcez2Fb+9uLPKm3cL7BeiC3vD8U67vcv6pFPtK4Ulys6a+ mkV0earVrcjAom1Q8pyIbrx1yOl1zQNS2E7R9AzxLGSyYRwZRnbpbOe5XDfDjiX+Fd+s 5/DgYgmWqx6V3y9lAIi0wwtpWBzusvqDLQCfZvFY4YJUGUFk5ZPbowp4NWuc5P2UTNYA qruQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=E1CMVOzF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id x24-20020a17090abc9800b0028a0244d5d9si5667464pjr.164.2023.12.10.22.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 22:14:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=E1CMVOzF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 677878065818; Sun, 10 Dec 2023 22:14:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233435AbjLKGON (ORCPT + 99 others); Mon, 11 Dec 2023 01:14:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233068AbjLKGOK (ORCPT ); Mon, 11 Dec 2023 01:14:10 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E102D114; Sun, 10 Dec 2023 22:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1702275247; bh=75WDSYsZLPIbgO3BE3vbjhlnfBOpxpqabZdatv1Aju8=; h=Date:From:To:Cc:Subject:From; b=E1CMVOzFav5IQxbdMPtH0LEQEosdxl67LJjuRKEeDdNGtPLgwM8UyT2jJT+0q8pDD 62QBePhmoo4iTXkSQczOw18C68pN72y11A1ETj5CeSqh/TR1g4x5Se8gN3hiHfaoKP tg49ViigFmjTYYihp0b1D1kf00wkoKG1TRF+Nc3ZImuKfBMNkFEZqidPfMe1ji/pCX MYV83sgx3z7HV+diLI5DHC/u24zncjgPeBEGciyHcr5QIo7QYn16t6z3yqa+D8I1m6 gq5UTuAMQeVx57lbeU3pVQZMysJgh0ezUyi0aAVixOY/TANQe+mXLTlSB2z2vOojTX TK1tH1tLemiGg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SpWfR4LWfz4xRj; Mon, 11 Dec 2023 17:14:07 +1100 (AEDT) Date: Mon, 11 Dec 2023 17:14:06 +1100 From: Stephen Rothwell To: Dennis Zhou , Tejun Heo , Christoph Lameter , Ingo Molnar Cc: Alexandre Ghiti , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the percpu tree Message-ID: <20231211171406.71fdc29b@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/XWUqHXP3e4df7xtjMdu4NhY"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 10 Dec 2023 22:14:33 -0800 (PST) --Sig_/XWUqHXP3e4df7xtjMdu4NhY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the percpu tree, today's linux-next build (sparc64 defconfig) failed like this: mm/percpu.c: In function 'pcpu_page_first_chunk': mm/percpu.c:3336:17: error: implicit declaration of function 'flush_cache_v= map_early'; did you mean 'flush_cache_vmap'? [-Werror=3Dimplicit-function-d= eclaration] 3336 | flush_cache_vmap_early(unit_addr, unit_addr + ai->u= nit_size);=20 | ^~~~~~~~~~~~~~~~~~~~~~ | flush_cache_vmap cc1: some warnings being treated as errors Caused by commit a95c15a43f4a ("mm: Introduce flush_cache_vmap_early() and its riscv imple= mentation") I have applied the following fix patch for today. Are there other archs that don't use asm-generic/cacheflush.h? From: Stephen Rothwell Date: Mon, 11 Dec 2023 16:57:00 +1100 Subject: [PATCH] fix up for "mm: Introduce flush_cache_vmap_early() and its= riscv implementation" Signed-off-by: Stephen Rothwell --- arch/sparc/include/asm/cacheflush.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/sparc/include/asm/cacheflush.h b/arch/sparc/include/asm/c= acheflush.h index 881ac76eab93..9d87b2bcb217 100644 --- a/arch/sparc/include/asm/cacheflush.h +++ b/arch/sparc/include/asm/cacheflush.h @@ -10,4 +10,11 @@ #else #include #endif + +#ifndef __ASSEMBLY__ +static inline void flush_cache_vmap_early(unsigned long start, unsigned lo= ng end) +{ +} +#endif + #endif --=20 2.40.1 --=20 Cheers, Stephen Rothwell --Sig_/XWUqHXP3e4df7xtjMdu4NhY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmV2qK4ACgkQAVBC80lX 0GypFAf+KVrM+YaWGK2g1LhJmq5o5hvkWztCuYalAVhU6GQt45d+EPncwQtek6vm ITHCyM3v/TVIksPLcwMUVkDemFMKX1jAEt+W8dRJ33193BfJZtUC6VGvMjsCAbuD VHSw9pn0+VzPtGq4Ur6ijo4H6AssLUjdTVrWw3ii8nnm4AzPhbZ20WOqMdx3RSGG gpuhjjzSZFrdAoA+CND4dmcnLUeK/b3NutEKU95V461+Wh2xZirL06Pk3r0iwofi MfQA9WovfTHjVdffchA5LWN19/6W46PRhXZeW/f5st9gVvKi0rbsoYMecpDT9HZL zXx4d9o2j6ALSYEGc+1xZ5QbERlhOw== =OVpx -----END PGP SIGNATURE----- --Sig_/XWUqHXP3e4df7xtjMdu4NhY--