Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4934204rwi; Mon, 17 Oct 2022 12:56:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5IQVzA4aaCAvvj7OGYhvod7gLhfkiakaGYOuKM3aanRg8E9Bh9lAMiQ92FAUsilk3DorU0 X-Received: by 2002:a17:90b:1804:b0:20d:a753:7d4c with SMTP id lw4-20020a17090b180400b0020da7537d4cmr27760409pjb.78.1666036594456; Mon, 17 Oct 2022 12:56:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666036594; cv=none; d=google.com; s=arc-20160816; b=RkQvuBQAXx+5z+dlqgz9fHMLd/09ctxKzU6g7tmQycEMFYQd8J2rk5p0fuPsrJgadL I3/UkKq7ZdV8IKnFGydsVV32LfBlHAg5vLMBVHEgPsGuGyXFckCzDU3p0zY3QnfV2Oo/ /CYYFewpybT8wt1xjcO0NQO2US/W92xNwzfYo/x7uG8PrDvWpHaTYz+TuKJo/DdQuZg1 9g2CvgGpdoJaYe2JfS2ModlqQjfHWnJdK22U94BaG2jlP9Vng5rW6e7edRz9JlKorgio ym+9x+5Ujrl0/O26auICcg7ltWp4KdAzMVwC156kXhMpJEjXw/q/dKZMZpjHniSHX2kw UK6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ph0W5ZeCAY1CwGnCu+rEiiezPFlVHKSYMdyf9FTFMiA=; b=kIRo1X501nBS1RHS3fa69Rq1FAgu/QL+Dz6L/e9IYIOzZT3/iqLOgG4JxX3FfvHblN aPvc8hPWdNOZobQ7gRwDlnQ3pQVaRuv9A5ocL8iW2iw76Xh/OEK17eHNU/wOL3nlowG6 ptLZVKDEcI99Q7mx5z/LQytyVd0uNL3FRR1ffB2SjWP6EP5eQb8Mt3A69+Vy3nadL4sy 62wt+u4bg93e38Z8MXTgKtkWFpnEr8SIx6vKVNypo8JlS9N7Eiot5XvNZ0eIQbZindGT jCunJpgYd5l2Hpkjj7w/ugawjX6C/JSJ8qZwLgdlay/qSMlUrTZl0nDKTCUqAHry6Htu mHow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="prGbyX8/"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j15-20020aa78dcf000000b005631dab9f69si11954987pfr.301.2022.10.17.12.56.21; Mon, 17 Oct 2022 12:56:34 -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=@kernel.org header.s=k20201202 header.b="prGbyX8/"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230320AbiJQSzK (ORCPT + 99 others); Mon, 17 Oct 2022 14:55:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbiJQSzI (ORCPT ); Mon, 17 Oct 2022 14:55:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AD5857BE4 for ; Mon, 17 Oct 2022 11:55:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D7E5361208 for ; Mon, 17 Oct 2022 18:55:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CA2EC433D6; Mon, 17 Oct 2022 18:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666032905; bh=fqz0/dSKPxCpuYxX3KOjnFE48a7QeBm2US5pXceX9rw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=prGbyX8/cKdPxZmM+nurlnBVT/4oQFIZYASjVuul+4WEjq8tlz1KzTlIeS+CqXoTL xa+Q0PdmSUbW5KP4qY4FwOGnNHBKLoAHKSBlAPh9W2UwgRnBtTCijaYworYW0bZJNz s/vClosptpr8c+Wf14KnLxQ1wb+jKiHqcwzUz6ddAbMeyVMWWmx9HEXDrv+adQxki5 9ELB8/PPVTQmCTLc/64EDN5mF90TsWblIP+EJvVy9VS6rLWn5n0p/3QJBx5QMn14ho Z+4OsjrVlmwZLaYBgix+mdWTflJt6RSGjCdCGCKK5nUhsTirsLEk4Q5L+a23lW5YTp QgD74JndE6y7w== Date: Mon, 17 Oct 2022 19:54:59 +0100 From: Conor Dooley To: Guenter Roeck Cc: Linus Torvalds , Linux Kernel Mailing List , Andrew Jones , Conor Dooley , Atish Patra , Anup Patel , Hector Martin , Arnd Bergmann , Lee Jones , Yury Norov , Andy Shevchenko , Rasmus Villemoes , Guo Ren , Jakub Kicinski , palmer@dabbelt.com Subject: Re: Linux 6.1-rc1 Message-ID: References: <20221017123434.GA1062543@roeck-us.net> <7e5e4c7d-07f4-6ccd-6796-cd6f021f222e@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7e5e4c7d-07f4-6ccd-6796-cd6f021f222e@roeck-us.net> X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Mon, Oct 17, 2022 at 11:28:53AM -0700, Guenter Roeck wrote: > On 10/17/22 10:39, Linus Torvalds wrote: > > On Mon, Oct 17, 2022 at 5:35 AM Guenter Roeck wrote: > > > > > > Build results: > > > total: 152 pass: 152 fail: 0 > > > Qemu test results: > > > total: 490 pass: 420 fail: 70 > > > > Strange. You claim zero build failures, but then: > > > > > Build failures > > > > > > Building riscv:defconfig ... failed > > > > so I think your stats may be wrong somehow ;) > > > > Puzzled ... the logs show that the builds for riscv[32/64] succeeded > with no error, but a manual build test still shows the failure. > > Ah .... the build fails with gcc 11.3.0 / binutils 2.38, but passes > with gcc 11.3.0 / binutils 2.39. I had switched my builders to the > latter last night to fix a problem with powerpc builds. At the same time, > the manual test I just ran still used binutils 2.38. > > That is interesting; I didn't expect that the binutils version would > make a difference, but apparently it does. Comparing defconfig: > > 10c10 > < CONFIG_AS_VERSION=23900 > --- > > CONFIG_AS_VERSION=23800 > 12c12 > < CONFIG_LD_VERSION=23900 > --- > > CONFIG_LD_VERSION=23800 > 260d259 > < CONFIG_RISCV_DMA_NONCOHERENT=y > 297,298d295 > < CONFIG_CC_HAS_ZICBOM=y > < CONFIG_RISCV_ISA_ZICBOM=y > 4134,4137d4130 > < CONFIG_ARCH_HAS_SETUP_DMA_OPS=y > < CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE=y > < CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU=y > < CONFIG_ARCH_HAS_DMA_PREP_COHERENT=y > 4140,4142d4132 > < CONFIG_DMA_NONCOHERENT_MMAP=y > < CONFIG_DMA_COHERENT_POOL=y > < CONFIG_DMA_DIRECT_REMAP=y > > The build failure is only seen with CONFIG_RISCV_ISA_ZICBOM=n, > or in other words with binutils 2.38 or earlier. +CC Palmer since he's the maintainer of the code being changed by the fix. The Zicbom extension only got support in binutils 2.39, so it's automatically disabled for your older binutils, along with non-coherent DMA support. As pointed out, we've already got a reviewed fix for it, so hopefully that lands soon. Kinda surprised this didn't trigger complaints from more than just you and an LKP report, but it may be that having some other options selected hides the problem. Palmer, the fix is here if you get a chance to look at it: https://lore.kernel.org/all/20221013134217.1850349-1-ajones@ventanamicro.com/ Thanks, Conor.