Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14291627rwd; Sat, 24 Jun 2023 16:36:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6a3A11gK2seEgel9Ovp+FpYpkBv3UqiRuMuChYjHfHkETVfknQyjDhBUC2Oq+YFm0xiQ6v X-Received: by 2002:a05:6808:1a08:b0:39a:bd3b:9cb3 with SMTP id bk8-20020a0568081a0800b0039abd3b9cb3mr34087615oib.23.1687649762641; Sat, 24 Jun 2023 16:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687649762; cv=none; d=google.com; s=arc-20160816; b=yExB1RtJKP1g4YIa9nG+RkK/TDrLC9JcYrxc6IJnwkVIqM0Kx7wa7BwRUHqgOyM8I9 UhbANBU7NHaV5mx2mnT2FHbU03UPxgeAEnhVZySva57+360BsPXUxW3cDNvmk0rFTfeZ 1DoIVgoyAkV3zB/DC7LgRqRSMWf4wJ6Q05Fuz8GJwHqH/6S5ZepJtJdNg4AuD4wIb0Vg X2lVDDUYmrz0hK8DJuVE1Q15xQ7SBfKoiezT9gDE/IFWYNgOHOqLZIrf7bv+NCEieyXa XGYKfCHtOdENT/GvOwDU/nWox9/xhKVzjz3wmooeAXPiXRWuJrOZPsxB30eigdycUg/6 /7yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=xzfAiXDuglWoX6p1lPCJ+Yo/U8LN5l2GfDVxDyHSMM4=; fh=QmirWDkUYC95tdm8CriUC9kUwkDKg/brKAKzP1vj/ag=; b=vn0jCoSZJdP3CC3FvOqI7GAp9pLFTVS4IaRCoqeAgKVCojD+OU8/o3uqOTfwRvnqL/ kmcF5oczy8Xc6+zo6LEkJv9PVIPYjKEJ2UuU5oiFBuqTZMr1kjCqQvRd/WRrf3TCMnTO KV+YaO8Bykpb+lJvsLBaWfnlFArocJEe+0uf7UM1IdLA9IqpYX2ynHL++bRA6rhWqqo5 J9zDINOMnEfjPq/Lc3p+OzsLOvDawdyYCkXyRWS5AuHHI1W16D204SuMcuBjjzbqdE1o ACmGgSkx8IQXHTi/W2BZkO/l090aRgWGMov2oJ/rr+KzamrcczQpEw7dT4fakDown0gh WwOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X+Ahd5NJ; 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 pg18-20020a17090b1e1200b0025c1ff9cd67si2583427pjb.184.2023.06.24.16.35.51; Sat, 24 Jun 2023 16:36:02 -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=X+Ahd5NJ; 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 S229779AbjFXWud (ORCPT + 99 others); Sat, 24 Jun 2023 18:50:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjFXWu0 (ORCPT ); Sat, 24 Jun 2023 18:50:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03657171A for ; Sat, 24 Jun 2023 15:50:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6E05860ADE for ; Sat, 24 Jun 2023 22:50:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id BADC3C433C0; Sat, 24 Jun 2023 22:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687647019; bh=XfzAH5D+NJ2x73kry8Xp6iNcZsdkJPTh9EhjfSDHT3w=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=X+Ahd5NJdGZpuc+mdW4+2vHXTYlT/9gdnj0nZ71A2RhOnm1y6XAcW+dUiucW9gPae Kc+tQQrq7suCGPQzEpTqOeOSVtNoWbSHOmYfrsFGzJiQvVCvqRuzTmH3e6bbQuoHh0 JqCQD0F92LV26K4G9PIbMD0Ww1rgeDLZb6kRql2NMmE7TSkhZhOif/2rkxqoGJjk4y F3nHgUA2n/Q4tdy0lOPRlFdXOCTZTS5RUgzhAyeP/JUb9Jj1whQsMLhBhWVpnTlSIV iyuPsEZ8w5NyCLBG5MsS4mNLD0yl1VBsZoXml+O7+CocqGIt38PmkZJZQND0AK1NMx gjsCbG50IUd/A== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 9FE1DC395C7; Sat, 24 Jun 2023 22:50:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3 1/1] net: axienet: Move reset before DMA detection From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168764701964.4822.15290219701986465008.git-patchwork-notify@kernel.org> Date: Sat, 24 Jun 2023 22:50:19 +0000 References: <20230622185131.113717-1-fido_max@inbox.ru> In-Reply-To: <20230622185131.113717-1-fido_max@inbox.ru> To: Maxim Kochetkov Cc: netdev@vger.kernel.org, robert.hancock@calian.com, radhey.shyam.pandey@amd.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, michal.simek@amd.com, andre.przywara@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Thu, 22 Jun 2023 21:51:30 +0300 you wrote: > DMA detection will fail if axienet was started before (by boot loader, > boot ROM, etc). In this state axienet will not start properly. > XAXIDMA_TX_CDESC_OFFSET + 4 register (MM2S_CURDESC_MSB) is used to detect > 64 DMA capability here. But datasheet says: When DMACR.RS is 1 > (axienet is in enabled state), CURDESC_PTR becomes Read Only (RO) and > is used to fetch the first descriptor. So iowrite32()/ioread32() trick > to this register to detect DMA will not work. > So move axienet reset before DMA detection. > > [...] Here is the summary with links: - [v3,1/1] net: axienet: Move reset before DMA detection https://git.kernel.org/netdev/net/c/f1bc9fc4a06d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html