Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5002446rwd; Sun, 4 Jun 2023 18:26:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7l1t3ccxuqrXZ/CAqfYpvr32d4VoxX9tw+eSfxI4Y7SnybP17jTsrSFFGxBjKrfkYGLa7r X-Received: by 2002:a05:6808:c8:b0:398:4870:d2ed with SMTP id t8-20020a05680800c800b003984870d2edmr6925340oic.13.1685928360067; Sun, 04 Jun 2023 18:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685928360; cv=none; d=google.com; s=arc-20160816; b=lLd2k6SIyg5pujq3OwOjoT07MbRyXUU2MPSbzeikixliFPn0itRQggrRrVMHS4QvR6 npH7es0PlOgw3bMQemVDlGvWFCQSLXiYQ1sx3Y3+l0H/SyqrvolcedLYva1BhSDQrQo3 8SNg4FblUluD0XPRk9brq42etD8z9e1wVaPAy4WZevhcKIxXASRDP/ef/e4CBsWLgOe2 0OY+/dDXiE+aPDxIzHUekGrQGpkkAsnooWJQUxZUXaaoOMT4xaEuEkOsQv5UtPE3+xAW FbbOjlf8hxCO2+hoZwRLS4fg57EASxTPVVUWknEI+15OEH0UFqeERIzzR/Q/+XjF0LfX fZdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=qwQ8+I9GdKppDtElNdHollhlvPg0BaPVR625GVhapGs=; b=GhvAm1V0berfDHQ5f9kjoaQjkMp2o6CoE1JPuXS+ShZZ7ARbMmWaLO0a5yLVtUglSP WXXwtOorLDcfX8o6wbgSJyZ4sahAiOGw9srrneTOsvggp/Scburjyk4dPLA5JZ8bPu16 CGKZMnTngWQonSgcx67MzxdCcF9C3hMXnAWpfCU0AT3Yx5owtloJYQN2L180yC0RzLDQ C6Ci2rhAXuCPfo3NW548eK4LJJJcEKvsJjT+ity/XNICkjZXxsUwm86TaXesLNAJyHJz QSto4sEjFzxfHGRvkJuu80zzg26UJ829D2mVNliIFO7wLeB0S2GMASCC+irJu3GgUEzX x1ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b="KFq/P4B5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a170902c74500b001a96b56099fsi4532729plq.404.2023.06.04.18.25.48; Sun, 04 Jun 2023 18:26:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b="KFq/P4B5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232449AbjFEBWK (ORCPT + 99 others); Sun, 4 Jun 2023 21:22:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbjFEBWJ (ORCPT ); Sun, 4 Jun 2023 21:22:09 -0400 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69624BC; Sun, 4 Jun 2023 18:22:05 -0700 (PDT) Received: from [127.0.0.1] (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) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id 896FF42450; Mon, 5 Jun 2023 01:22:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1685928122; bh=6z/0S9faUaZ6zgRpxpD/gzAmGLCL2N5TsJeJv9RS2l8=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=KFq/P4B5tUrlQxvEizSZXMBcTuLu+y5/lBnfDQZT1XLK6pMGS5bo5YMZqmfBN9MfM QvCbMMGUGFhdg0hnhDHEILYO7LoJDLP1Qkqqa2xA1Ht88GLv0mKHw8EpwbolIxeEAC jtNzblqxtAS8yoBbO4iBRzvr1Blq9DZ3l/urdnonQ7qd0lWjMgOXi7MiXqsAfjQk+R qRCzOfdd6R6lm2yRiTmlRRvibPUnrzptgYwI5XIquYVGu5lAUwNqMa7ILtkfsQhuCh LhSAoNH2QMpRtzeFMaiw+d6wIiuL4jZUv3OEDOD2PeHFqm7jZZz7hEWKrlloc/QZvD qzblQAwFzhjDw== Message-ID: <69ea054d-9e3a-6a84-a38b-796f6f152961@marcan.st> Date: Mon, 5 Jun 2023 10:21:58 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: linux-next: build failure after merge of the asahi-soc tree Content-Language: en-US From: Hector Martin To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List , Asahi Linux References: <20230605085816.4f54bb43@canb.auug.org.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/06/2023 08.11, Hector Martin "marcan" wrote: > Hi! > > Thanks, looks like a missing include. I'll fix it up when I get home in a bit. Sorry for the noise! > > (And apologies for top-posting, I'm on mobile right now) > Should be fixed now, thanks again! TIL that allmodconfig includes COMPILE_TEST. Makes sense though. I don't build test for x86 often, and I think on arm64 we get bitfield.h pulled in via common headers, so this isn't the first time I've missed this one... > On June 5, 2023 7:58:16 AM GMT+09:00, Stephen Rothwell wrote: >> Hi all, >> >> After merging the asahi-soc tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> In file included from include/linux/io.h:13, >> from drivers/soc/apple/mailbox.c:22: >> drivers/soc/apple/mailbox.c: In function 'apple_mbox_send': >> drivers/soc/apple/mailbox.c:151:24: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] >> 151 | writeq_relaxed(FIELD_PREP(APPLE_MBOX_MSG1_MSG, msg.msg1), >> | ^~~~~~~~~~ >> arch/x86/include/asm/io.h:103:42: note: in definition of macro 'writeq_relaxed' >> 103 | #define writeq_relaxed(v, a) __writeq(v, a) >> | ^ >> drivers/soc/apple/mailbox.c: In function 'apple_mbox_poll_locked': >> drivers/soc/apple/mailbox.c:188:28: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration] >> 188 | msg.msg1 = FIELD_GET( >> | ^~~~~~~~~ >> >> Caused by commit >> >> 0d1f3f7f8486 ("soc: apple: mailbox: Add ASC/M3 mailbox driver") >> >> I have used the asshi-soc tree from next-20230602 for today. >> > > - Hector - Hector