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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 11135C3ABBC for ; Fri, 9 May 2025 03:56:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kReT668iljc+xdnx+sOA0B0XxmKP7afSe7koHAM3W0w=; b=R+W4yZFEMdj6PQV9aHaKrn9bee tlKqBGoPndTbV9NvSdaplvZW+uoGP3p4OQMu/C//pGQKUwrOnaelnMgtgtBFCKPd9N7oOipC71rk4 8M0+hqqpYAxiL3sNW0YGtkZzyB+UpgnES6jOiYFjRF6bNl88GeRFJ2yKRPv2AztoVre2QEwhajvGG WSYa+rM6vdVhakZGBTlDM7fCDhPuQqD+0WEzjnr7VVEMp5Y8XpaglgbpBuS0VZXxIF9lApvLHgfm2 oE9L0YJbjwvTaltJYRdkACmj3S352UArDtkhkW8C7Fexbn7/W/qxEpJbQEXXbkeT6fcrS3yveJAcN O902GVcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uDEqU-00000002PYR-0UOs; Fri, 09 May 2025 03:56:22 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uDEAk-00000002Knw-3fWw; Fri, 09 May 2025 03:13:14 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 3B05360008; Fri, 9 May 2025 03:13:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41002C4CEE7; Fri, 9 May 2025 03:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1746760393; bh=rvYoCnD/Vbn1WCJh6yA8UpoAs4j9A3g4UDDTPLYIoec=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IwQa1MdwFZSGbFKmCmvyZ5Xcqge2+s8LP5NIf7PU2+tel+c4uXjgg63pIkBWYil3I uYx6bDmNym3bOhcxOK6Cg8lzJ8U3iiqDwfhVR67Q7e4tfD/MiPv+VySHmsqSfnI73I HgfmAhscXk3dzD4WEjLfZpv3nxzlyKrdwSuJBAh+hvF2m2JTiZ0sul95iZ1AoyctDj ZfEOGe7IeVnpHXeQhyxGCXm17d2LlgZWU96x2rca4oFRoTdZ3m8RxfCY9we2cJe0KG F/e/EwZfI9e0+Duo1VfnpGkUuRJxqH8jImmSCgXmS8MAsjWIbe6BZqGsbq44A8vwg0 hHzLFoAA3Jj4g== Date: Thu, 8 May 2025 20:13:12 -0700 From: Jakub Kicinski To: Lorenzo Bianconi Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next 2/2] net: airoha: Add the capability to allocate hw buffers in SRAM Message-ID: <20250508201312.078a0a37@kernel.org> In-Reply-To: <20250507-airopha-desc-sram-v1-2-d42037431bfa@kernel.org> References: <20250507-airopha-desc-sram-v1-0-d42037431bfa@kernel.org> <20250507-airopha-desc-sram-v1-2-d42037431bfa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Wed, 07 May 2025 19:48:46 +0200 Lorenzo Bianconi wrote: > In order to improve packet processing and packet forwarding > performances, EN7581 SoC supports allocating buffers for hw forwarding > queues in SRAM instead of DRAM if available on the system. > Rely on SRAM for buffers allocation if available on the system and use > DRAM as fallback. drivers/net/ethernet/airoha/airoha_eth.c:1113:30: warning: incorrect type in assignment (different address spaces) drivers/net/ethernet/airoha/airoha_eth.c:1113:30: expected void *q drivers/net/ethernet/airoha/airoha_eth.c:1113:30: got void [noderef] __iomem * -- pw-bot: cr