Article View: linux.kernel.netdev
Article #4143Re: [PATCH net-next v3 6/6] net: ftgmac100: Allow building on ARM64
From: Andrew Lunn
Date: Fri, 16 Oct 2026 21:06
Date: Fri, 16 Oct 2026 21:06
25 lines
7206 bytes
7206 bytes
On Thu, Oct 15, 2026 at 02:46:58PM +0800, Jacky Chou wrote:
> Allow the Faraday vendor menu and FTGMAC100 driver to be selected on
> ARM64 so AST2700 platforms can enable the MAC. The driver now programs
> the upper DMA address fields, so it no longer needs to be marked BROKEN
> for 64-bit builds.
>
> AST2700 has no dedicated MACH_ASPEED_G7 symbol; unlike the 32-bit
> generations it is only gated by the common ARCH_ASPEED symbol. On
> 32-bit Aspeed platforms, arch/arm/mach-aspeed/Kconfig nests
> MACH_ASPEED_G4/G5/G6 under "if ARCH_ASPEED", so MACH_ASPEED_G6 already
> implies ARCH_ASPEED and is redundant once ARCH_ASPEED is part of the
> condition. Drop it and select MDIO_ASPEED directly on ARCH_ASPEED.
>
> This does widen the MDIO_ASPEED select beyond AST2600: it is now also
> selected for AST2400/AST2500, which keep driving their embedded MDIO
> controller from FTGMAC100 itself and have no MDIO node for this driver
> to bind to, so it is built but stays unused there. Update the
> MDIO_ASPEED help text to describe this.
>
> Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
Technical Details
Message-ID:
<d6b2d632-c61a-4ad1-9f9c-581652d70c51@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347544-linux-kernel-netdev=dewy.ruReferences:
<20261015-support_ast2700-v3-0-8d7999171ac4@aspeedtech.com> <20261015-support_ast2700-v3-6-8d7999171ac4@aspeedtech.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347544-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v3 6/6] net: ftgmac100: Allow building on ARM64 Date: Fri, 16 Oct 2026 23:06:16 +0200 Organization: Usenet Network Message-ID: <d6b2d632-c61a-4ad1-9f9c-581652d70c51@lunn.ch> References: <20261015-support_ast2700-v3-0-8d7999171ac4@aspeedtech.com> <20261015-support_ast2700-v3-6-8d7999171ac4@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="2882655"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:s8IF/VL2RbO6JHLHGVtIHChAeOY= sha256:JWKeEFufojrvO/zd52mhbpK4h26vEDfWmL7ZODvJ4lw= sha1:w0J2kEv4tUGCPgmVXUleLpOWD/Q= sha256:HAJyqa8sh1oQUwV33Z0ulUQlmzSC24X/Yk0xmAqvok0= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 784401105F7; Sat, 17 Oct 2026 00:07:09 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QbKWtOO2DN9f; Sat, 17 Oct 2026 00:07:07 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347544-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id BF4631105B1; Sat, 17 Oct 2026 00:06:57 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 1BB7030957; Fri, 16 Oct 2026 21:06:30 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 788654446FA; Fri, 16 Oct 2026 21:06:29 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="wCtwaJZc" X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0325E3EFD04; Fri, 16 Oct 2026 21:06:28 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792184789; cv=none; b=HCdGKuMeuB04kZqW3oXPYCi+wmlBMkoRGQurkouIwzlrluRatcDEEAiSQMs+PtE22IdUZgMcVUejx5K6fQFgaASknKrZe7OcTBvtPzNB+umBcKWDrvuDm9QXc6WP3AI1nWAVOo58jP3Rl4sdblS/VdtMcz2Dw2wj76eG1PUCQ1A= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792184789; c=relaxed/simple; bh=IzwJfVp2kxmpdoLQf+XgRud+uhuJM1P3/ZHnsps1PgY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gC/RJYD/bi8ZyQLCFLxtF0bYy90/If7GrtxyBsulmOdwgHZcpaob/Uu7HhtfwrF5q1u7fWHsHMy2Vei/C2eWmkwgMjQufM4YYp8LuNXQ5BSnaAcCRqIJ6ZBOetdqTqP57jCXFgLoWl+ZOun7P6uV/1TcwjrVfj5A3kubLrUNIWE= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=wCtwaJZc; arc=none smtp.client-ip=156.67.10.101 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=vAS2Gr3NeYg5wvMMHPUcZ5111hrdazaeXRxJGvQo2cw=; b=wCtwaJZckzkUVA/RHTAdPnqXXu yjzrMlbfLoncfcmM+k/WlLxmChbaTILFXLFhHRpghCAfV7GYSA5i8ttwiVJ4Vhc1qv78kbAkuJuBT zxjqOHwzj9VNeiBi/ofgn9vjNuZGmBZ9EvhZvzEBhw+HJ+L1VKF2UvxLrhqXWAnoYDAg=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xHp84-00BE4M-Dj; Fri, 16 Oct 2026 23:06:16 +0200 X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Po-Yu Chuang <ratbert@faraday-tech.com>, Eric Dumazet <edumazet@kernel.org>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261015-support_ast2700-v3-6-8d7999171ac4@aspeedtech.com>