Page MenuHomeFreeBSD

arm64Project
ActivePublic

Details

Description

FreeBSD/arm64

Recent Activity

Fri, Oct 30

vice-shore-grid_duck.com retitled D60803: [PATCH 5/7] aw_usbphy: look the VBUS regulators up when the PHY is enabled from [PATCH 5/5] aw_usbphy: look the VBUS regulators up when the PHY is enabled
Fri, Oct 30, 8:14 AM · arm64

Tue, Oct 20

mmel added a comment to D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures.

otherwise OK

Tue, Oct 20, 8:49 AM · arm64
mmel added inline comments to D60881: [PATCH 6/7] aw_pwm: implement pwmbus_channel_set_flags/get_flags.
Tue, Oct 20, 8:46 AM · arm64
vice-shore-grid_duck.com retitled D60818: [PATCH 3/7] Allwinner A64 Display Engine 2.0 display pipeline from [PATCH 3/5] Allwinner A64 Display Engine 2.0 display pipeline
Tue, Oct 20, 8:05 AM · arm64
vice-shore-grid_duck.com added inline comments to D60786: [PATCH 2/7] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights.
Tue, Oct 20, 8:04 AM · arm64
vice-shore-grid_duck.com retitled D60802: [PATCH 4/7] aw_mmc: recover a clock update stuck behind an unsolicited data transfer from [PATCH 4/5] aw_mmc: recover a clock update stuck behind an unsolicited data transfer
Tue, Oct 20, 6:23 AM · arm64
vice-shore-grid_duck.com retitled D60785: [PATCH 1/7] clk/allwinner: fixes and the A64 display clocks from [PATCH 1/5] clk/allwinner: fixes and the A64 display clocks
Tue, Oct 20, 6:23 AM · arm64
vice-shore-grid_duck.com updated the diff for D60786: [PATCH 2/7] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights.

spit the diff as requested by maintainer

Tue, Oct 20, 6:21 AM · arm64
vice-shore-grid_duck.com updated the diff for D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures.

I had mistakenly uploaded the wrong diff file

Tue, Oct 20, 6:16 AM · arm64
vice-shore-grid_duck.com retitled D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures from [PATCH 7/7] pwm_backlight: enable-gpios, PWM polarity, zero duty cycle, level bookkeeping
Tue, Oct 20, 6:15 AM · arm64
vice-shore-grid_duck.com requested review of D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures.
Tue, Oct 20, 6:12 AM · arm64
vice-shore-grid_duck.com retitled D60786: [PATCH 2/7] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights from [PATCH 2/5] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights
Tue, Oct 20, 5:59 AM · arm64
vice-shore-grid_duck.com requested review of D60881: [PATCH 6/7] aw_pwm: implement pwmbus_channel_set_flags/get_flags.
Tue, Oct 20, 5:57 AM · arm64

Mon, Oct 19

mmel added a comment to D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.

Please take this as an incomplete 'first look' review.

Mon, Oct 19, 7:54 PM · arm64

Sun, Oct 18

vice-shore-grid_duck.com added inline comments to D60785: [PATCH 1/7] clk/allwinner: fixes and the A64 display clocks.
Sun, Oct 18, 9:01 PM · arm64
vice-shore-grid_duck.com updated the diff for D60785: [PATCH 1/7] clk/allwinner: fixes and the A64 display clocks.

Fix context size + dsi_dphy_parents definition.

Sun, Oct 18, 7:37 PM · arm64
freebsd_sysctl.cz updated the diff for D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.
  • New common clock base (mt_clk.c/h, replaces mdtk_clk):** shared probe/attach, a base driver class, hwreset and optional syscon. All mt7622 clock drivers (topckgen, infracfg, pericfg, audio, eth, sgmii, ssusbsys, pciesys) were converted, which removes about 500 lines of duplicated code
  • Child nodes:** clock providers with child nodes attach them through simplebus_attach_impl(). A failure there no longer fails the attach, because the clocks are already registered and cannot be unregistered.
  • PLL driver (mt_clk_pll.c/h):** apmixedsys PLLs are no longer fixed-rate clocks. The driver reads the firmware-programmed PCW/postdiv and uses the Linux enable/disable sequence. armpll now reports the real 1350 MHz instead of 120 MHz, and main_core_en is enabled as a parent of infra_mux1_sel.
  • PLL frequency changes:** mt_clk_pll_set_freq() follows Linux mtk_pll_set_rate_regs() (PCW + postdiv, PCW_CHG latch, read-back check). Only PLLs flagged MT_PLL_SET_FREQ are changed (armpll, aud1pll, aud2pll), so a request passed up through gates and muxes cannot reprogram a system-wide PLL..
  • UART (mt_uart.c):** MediaTek high-speed baud modes (HIGHS / SAMPLE_COUNT / SAMPLE_POINT), the console baud rate is read back from the hardware, #ifdef FDT guards and style cleanup
Sun, Oct 18, 5:08 PM · arm64
adrian added inline comments to D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.
Sun, Oct 18, 4:50 PM · arm64
freebsd_sysctl.cz updated the diff for D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.
  • New common clock base (mt_clk.c/h, replaces mdtk_clk):** shared probe/attach, a base driver class, hwreset and optional syscon. All mt7622 clock drivers (topckgen, infracfg, pericfg, audio, eth, sgmii, ssusbsys, pciesys) were converted, which removes about 500 lines of duplicated code
  • Child nodes:** clock providers with child nodes attach them through simplebus_attach_impl(). A failure there no longer fails the attach, because the clocks are already registered and cannot be unregistered.
  • PLL driver (mt_clk_pll.c/h):** apmixedsys PLLs are no longer fixed-rate clocks. The driver reads the firmware-programmed PCW/postdiv and uses the Linux enable/disable sequence. armpll now reports the real 1350 MHz instead of 120 MHz, and main_core_en is enabled as a parent of infra_mux1_sel.
  • PLL frequency changes:** mt_clk_pll_set_freq() follows Linux mtk_pll_set_rate_regs() (PCW + postdiv, PCW_CHG latch, read-back check). Only PLLs flagged MT_PLL_SET_FREQ are changed (armpll, aud1pll, aud2pll), so a request passed up through gates and muxes cannot reprogram a system-wide PLL..
  • UART (mt_uart.c):** MediaTek high-speed baud modes (HIGHS / SAMPLE_COUNT / SAMPLE_POINT), the console baud rate is read back from the hardware, #ifdef FDT guards and style cleanup
Sun, Oct 18, 12:12 PM · arm64
mmel added inline comments to D60802: [PATCH 4/7] aw_mmc: recover a clock update stuck behind an unsolicited data transfer.
Sun, Oct 18, 7:43 AM · arm64
manu requested changes to D60785: [PATCH 1/7] clk/allwinner: fixes and the A64 display clocks.

Please upload diff with full context.

Sun, Oct 18, 6:48 AM · arm64
manu requested changes to D60786: [PATCH 2/7] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights.

Please upload your diff with full context next time.

Sun, Oct 18, 6:37 AM · arm64
manu added a comment to D60818: [PATCH 3/7] Allwinner A64 Display Engine 2.0 display pipeline.

The linux code will likely never be re-licenced which is why we started https://github.com/evadot/drm-subtree/ a while ago.

Sun, Oct 18, 6:15 AM · arm64
manu accepted D60802: [PATCH 4/7] aw_mmc: recover a clock update stuck behind an unsolicited data transfer.
Sun, Oct 18, 6:14 AM · arm64
manu requested changes to D60803: [PATCH 5/7] aw_usbphy: look the VBUS regulators up when the PHY is enabled.

This is not the correct fix, aw_rsb probably shouldn't attach at BUS_PASS_SUPPORTDEV as it's a BUS where PMIC lives, it should attach at BUS_PASS_INTERRUPT like a10_twsi.
Or maybe just simply move aw_usbphy to BUS_PASS_SUPPORTDEV + BUS_PASS_ORDER_LATE.

Sun, Oct 18, 6:11 AM · arm64

Sat, Oct 17

vice-shore-grid_duck.com requested review of D60818: [PATCH 3/7] Allwinner A64 Display Engine 2.0 display pipeline.
Sat, Oct 17, 6:22 PM · arm64
vice-shore-grid_duck.com requested review of D60803: [PATCH 5/7] aw_usbphy: look the VBUS regulators up when the PHY is enabled.
Sat, Oct 17, 12:36 PM · arm64
vice-shore-grid_duck.com requested review of D60802: [PATCH 4/7] aw_mmc: recover a clock update stuck behind an unsolicited data transfer.
Sat, Oct 17, 12:29 PM · arm64

Fri, Oct 16

vice-shore-grid_duck.com requested review of D60786: [PATCH 2/7] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights.
Fri, Oct 16, 8:44 PM · arm64
vice-shore-grid_duck.com requested review of D60785: [PATCH 1/7] clk/allwinner: fixes and the A64 display clocks.
Fri, Oct 16, 8:38 PM · arm64

Sep 29 2026

rcm removed a member for arm64: rcm.
Sep 29 2026, 3:34 PM
mmel added a comment to D58812: arm64: mediatek: add initial MT7622/Banana Pi R64 support (revised).
  • Added simplebus_driver as a base class of all mt_clk based drivers.

Why to all? What about all the other objections?

Sep 29 2026, 2:36 PM · arm64
freebsd_sysctl.cz updated the diff for D58812: arm64: mediatek: add initial MT7622/Banana Pi R64 support (revised).
  • Added simplebus_driver as a base class of all mt_clk based drivers.
  • Used simplebus_attach_impl(dev, SB_FLAG_NO_RANGES, node) instead of open-coding simplebus_init() and the child enumeration loop.
  • Droped the embedded struct simplebus_softc from struct mt_clk_softc
Sep 29 2026, 2:11 PM · arm64
freebsd_sysctl.cz updated the diff for D58812: arm64: mediatek: add initial MT7622/Banana Pi R64 support (revised).
Sep 29 2026, 8:04 AM · arm64

Sep 27 2026

yarshure_gmail.com updated the diff for D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

Reworked along the lines @bz asked for, and split into a stack so each piece can
be read on its own. This revision is now only the consumer -- the SIOCGI2C
handler -- and the tunables are gone.

Sep 27 2026, 1:38 PM · network, drivers, arm64

Sep 15 2026

ziaee closed D59644: bcm2835_pwm: Fix dev.pwm.0.ratio2 register.
Sep 15 2026, 9:01 PM · arm64, ARM

Sep 13 2026

seuros added a project to D57082: arm64: review MT7622 support sysirq: drivers.
Sep 13 2026, 8:50 PM · drivers, arm64, ARM
adrian added projects to D59644: bcm2835_pwm: Fix dev.pwm.0.ratio2 register: ARM, arm64.
Sep 13 2026, 5:44 PM · arm64, ARM

Sep 12 2026

yarshure_gmail.com added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

@dsl @adrian — I took D58258#1368055 literally and built MACLINK, then ran it on
an LX2160A (SolidRun CEX7, UEFI/ACPI; dpni0 = dpmac.17 RGMII, dpni1 = dpmac.8 and
dpni2 = dpmac.9, both 10G SFP+ with modules in).

Sep 12 2026, 9:17 PM · network, drivers, arm64
adrian added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
In D58258#1367937, @dsl wrote:
In D58258#1367549, @dsl wrote:

@adrian well, I'm not sure that the contributor actually understands the code. It seems AI/ML generated to me and isn't aligned with the idea of mine about maclink. I'm against the changes.

What do you mean by "maclink" ? They said they used AI assistance in developing it, but it seems mostly simple enough:

  • sfp is an i2c device on a bus;
  • the i2c bus doesn't HAVE to be hooked up to the MAC in any way; it in theory could be hanging off of some other i2c controller in the system;
  • there's information about where said bus is linked to in FDT;
  • some simple shenanigans are required to be able to talk to it and fetch configuration parameters.

What doesn't quite jive with your assumptions of stuff?

MACLINK is supposed to be an abstraction which hides possibly complex topology of the devices and their interconnections which constitute a multi-gigabit link between the MAC (which is a part of a SoC usually) and a PHY/SFP+ on a PCB. This is the best explanation I've to date: https://github.com/mcusim/freebsd-src/blob/dpaa2/sys/dev/maclink/maclink.c#L31. All of the existing MACLINK bits live in https://github.com/mcusim/freebsd-src/tree/dpaa2/sys/dev/maclink, but haven't been tested yet.

Personally, I'd like a proper abstraction to be introduced first with a clear understanding how a maclink_bus can be attached by the network interface drivers and introduce new (specific?) maclink adapters which will be incapsulating all of the complex logic to discover PHYs, SFF/SFPs, PCSs, etc. and let the maclink bus (and the attaching network interface) know about high-level events, e.g. state changes, link's up/down, etc.

Sep 12 2026, 4:54 PM · network, drivers, arm64
dsl added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
In D58258#1367549, @dsl wrote:

@adrian well, I'm not sure that the contributor actually understands the code. It seems AI/ML generated to me and isn't aligned with the idea of mine about maclink. I'm against the changes.

What do you mean by "maclink" ? They said they used AI assistance in developing it, but it seems mostly simple enough:

  • sfp is an i2c device on a bus;
  • the i2c bus doesn't HAVE to be hooked up to the MAC in any way; it in theory could be hanging off of some other i2c controller in the system;
  • there's information about where said bus is linked to in FDT;
  • some simple shenanigans are required to be able to talk to it and fetch configuration parameters.

What doesn't quite jive with your assumptions of stuff?

Sep 12 2026, 1:59 PM · network, drivers, arm64
yarshure_gmail.com updated the diff for D58259: sdhci_fsl: add ACPI front-end for NXP Layerscape eSDHC (NXP0003).

Thanks for the accept.

Sep 12 2026, 5:49 AM · arm64, drivers
bz added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

.. My reading is that you have in mind a MAC-link layer
for dpaa2 along the lines of Linux's phylink: one place that owns link state for a
DPMAC and drives it from whatever is attached - a PHY via MDIO, a fixed-link, or an
SFP cage - so that module presence/LOS, TX_DISABLE and rate selection are handled
there rather than in each consumer. If that is roughly it, please correct the
details and I will work to it.

Sep 12 2026, 1:56 AM · network, drivers, arm64
bz added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

I believe the ACPI path was never tested on main - or we haven't flipped the defaults yet -- but for sure it'll fail to link modules due to unresolved symbols (in the future).

Sep 12 2026, 1:27 AM · network, drivers, arm64
yarshure_gmail.com added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

@dsl - on maclink: I want to make sure I am answering the right objection, because
I cannot find maclink in the tree (only enum dpaa2_mac_link_type in dpaa2_mac.h),
so I am guessing at its shape. My reading is that you have in mind a MAC-link layer
for dpaa2 along the lines of Linux's phylink: one place that owns link state for a
DPMAC and drives it from whatever is attached - a PHY via MDIO, a fixed-link, or an
SFP cage - so that module presence/LOS, TX_DISABLE and rate selection are handled
there rather than in each consumer. If that is roughly it, please correct the
details and I will work to it.

Sep 12 2026, 12:18 AM · network, drivers, arm64
yarshure_gmail.com updated the diff for D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

v3 addresses @adrian's two points:

Sep 12 2026, 12:18 AM · network, drivers, arm64

Sep 11 2026

adrian added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
In D58258#1367549, @dsl wrote:

@adrian well, I'm not sure that the contributor actually understands the code. It seems AI/ML generated to me and isn't aligned with the idea of mine about maclink. I'm against the changes.

Sep 11 2026, 9:38 PM · network, drivers, arm64
dsl added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

@adrian well, I'm not sure that the contributor actually understands the code. It seems AI/ML generated to me and isn't aligned with the idea of mine about maclink. I'm against the changes.

Sep 11 2026, 8:16 PM · network, drivers, arm64
adrian added inline comments to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.
Sep 11 2026, 6:40 PM · network, drivers, arm64
adrian added a comment to D58258: dpaa2: read SFP+ module EEPROM through SIOCGI2C.

this looks fine; please just remove teh BSD copyright text itself as the SPDX + your copyright name/email is enough. Then we should be fine for landing it!

Sep 11 2026, 6:39 PM · network, drivers, arm64