From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v2] net: macb: Clean 64b dma addresses if they are not detected Date: Tue, 25 Sep 2018 10:37:05 -0700 (PDT) Message-ID: <20180925.103705.90948916724711521.davem@davemloft.net> References: <68051905ba59d7cfd74c63ef5bf0830dc2b9f6fe.1537857166.git.michal.simek@xilinx.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, edgar.iglesias@xilinx.com, netdev@vger.kernel.org, nicolas.ferre@microchip.com To: michal.simek@xilinx.com Return-path: In-Reply-To: <68051905ba59d7cfd74c63ef5bf0830dc2b9f6fe.1537857166.git.michal.simek@xilinx.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Michal Simek Date: Tue, 25 Sep 2018 08:32:50 +0200 > Clear ADDR64 dma bit in DMACFG register in case that HW_DMA_CAP_64B is > not detected on 64bit system. > The issue was observed when bootloader(u-boot) does not check macb > feature at DCFG6 register (DAW64_OFFSET) and enabling 64bit dma support > by default. Then macb driver is reading DMACFG register back and only > adding 64bit dma configuration but not cleaning it out. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - Clean reg at the first place - Edgar > - Update commit message Applied, thank you.