From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D039FC433EF for ; Wed, 8 Jun 2022 18:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233668AbiFHSB1 (ORCPT ); Wed, 8 Jun 2022 14:01:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233735AbiFHSBY (ORCPT ); Wed, 8 Jun 2022 14:01:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11DD51D08A4; Wed, 8 Jun 2022 11:01:19 -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 A312C61B4C; Wed, 8 Jun 2022 18:01:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B85A6C3411D; Wed, 8 Jun 2022 18:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654711278; bh=ouTWCQV2FJOU0tYVG2Vo0naFeodFz3HUPrKg1MuC5Bg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Oo+Y0vtluQ9zhBDQRiYPK1PY6K9gpG9m57+wdsaCpDwNZJwF7YRyA7qhRJGIRcuYd TSHDTZhAPWju7PPejSRgTgi63T4Y4Q1B/MpfYEmZ9CC46R1vSpwRKOsPQLl/B3rCuI fj2JxK9UYKXzQdZDCLQ+OlXXLeCgXi1/l87xowxwnJmjUFL5GUB+0dIkNoarkGK1Cp PwY1f6ZB/2FDa4Ou8b0XNwPeglOFeTY4RIk5DNOq/JVLpgoXLmRewREwpERjUbyeWq jnq1lg+TY9MEiPN8iP5hVHrbZIt4MuAlcoZFfPT0BB/155ryrYdL7Ee7KhD+ybxviD gB4wDejHSCpcQ== Date: Wed, 8 Jun 2022 11:01:16 -0700 From: Jakub Kicinski To: Arnd Bergmann Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Arnd Bergmann , Manuel Lauss , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] au1000_eth: stop using virt_to_bus() Message-ID: <20220608110116.12e5c2e6@kernel.org> In-Reply-To: <20220607090206.19830-1-arnd@kernel.org> References: <20220607090206.19830-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 7 Jun 2022 11:01:46 +0200 Arnd Bergmann wrote: > From: Arnd Bergmann > > The conversion to the dma-mapping API in linux-2.6.11 was incomplete > and left a virt_to_bus() call around. There have been a number of > fixes for DMA mapping API abuse in this driver, but this one always > slipped through. > > Change it to just use the existing dma_addr_t pointer, and make it > use the correct types throughout the driver to make it easier to > understand the virtual vs dma address spaces. > > Cc: Manuel Lauss > Signed-off-by: Arnd Bergmann Hi Arnd, this can go via net-next, right? The changes are simple enough, we can try to slip them into -rc2 if necessary.