User Details
- User Since
- Feb 3 2015, 4:54 AM (617 w, 14 h)
Sun, Nov 29
Sat, Nov 28
Fri, Nov 27
oups, sent before accepting.
This is the only real objection I have; the rest look very good.
This should be moved to sys/dev/nvmem as nvmem_cell_get_by_ofw_idx() and vmem_cell_get_by_ofw_name()
Wed, Nov 25
Please split the code into common parts and MT7986-specific steps. It should now be trivial (imho), and the Linux driver will help you identify the SoC-specific parts. A newcomer implementing another SoC from the same family is in a much harder situation.
This is the only real objection I have; the rest look very good.
Tue, Nov 24
Why not? The driver mutex could cover the mii_tick in the same way as it does now. You just have to unlock it in dwc4_miibus_statchg() before IF_DWC_SET_SPEED() and relock it afterwards.
Mon, Nov 23
I don't understand this—why don't you just use the old mbuf if the allocation or mapping of the new one fails? Isn't all that dance with spare map unnecessary?
Also, this should be done in the dwc100 part as well.
I don't see any LOR here, but a sleepable lock after a non-sleepable one.
But it should be easier and cleaner to schedule the mii_tick directly to the task queue (without callout to taskqueue transition)
We already do this here: https://cgit.freebsd.org/src/tree/sys/dev/etherswitch/e6000sw/e6000sw.c#n561.
Thu, Nov 19
Wed, Nov 18
Tue, Nov 17
Oups, I take it back, sorry for the noise. My eyes/brain have an extreme tendency to skip the heading line in phabricator, taking only the 'Summary' subframe into account.
Again, commit message.
Please reformat the commit message according to the FreeBSD style.
Please reformat the commit message according to the FreeBSD style.
Please reformat the commit message according to the FreeBSD style.
Please reformat the commit message according to the FreeBSD style.
Mon, Nov 16
rest is OK for me
Instead of adding get_divisor() to lots of functions, can we use the following approach?
Sun, Nov 15
Only UART, clocks should be discussed in the appropriate reviews. However, I am unable to multitask at this time.
Sorry, but the whole code relating to clocks is wrong. Why can't you use the standard functions provided by the clk framework? I don't want to continue until we clarify this area.
Wed, Nov 4
Oh, it was a leftover from an earlier version of the struct kobj layout that I forgot to remove. Thanks for fix.
Tue, Nov 3
Oct 30 2026
I don't understand why we need this. We already have a delay (2ms) at the right place, at the end of the mmc_power_up(() function. The MMC/SD/SDIO specification requires 1 ms or 64 clock periods (+10 for stabilisation), thus totalling 0.2 ms, after power line is in range(2.7 - 3.3V) Are you sure that the regulators on the given board have the correct startup ramp constant defined?
Oct 29 2026
Oct 20 2026
Unfortunately, I know very little about MMC, so I'm not the right person to review this.
otherwise OK
Oct 19 2026
Please take this as an incomplete 'first look' review.
Oct 18 2026
Oct 11 2026
Yes, this is definitely a step in the right direction.
Oct 4 2026
imho, this is a complete mess with no concept.
At the very least, why do you need these tables at all? What's missing from the DT?
I'm sorry, but how does this work? There are multiple instances of 'ti_edma3tc' in the device tree (DT), so which one is stored in the single global softc?
Oct 2 2026
The clock property is located in the parent node/driver because the parent node provides this clock for all its children. The children have no individual gate functionality, meaning the parent driver must enable the clock for them.
Oct 1 2026
Sorry again. Would it not be better to connect the TI back to the tinderbox/universe?
Sep 29 2026
perfect, thanks.
Why to all? What about all the other objections?
The IFCAP_VLAN_MTU indicates that the hardware can receive and transmit packets of up to 1504 bytes in length, so nothing more is necessary.
So, the only thing missing is the IPv6 CSUM (but it is advertised)
Sep 28 2026
This is another gross hack. In theory, we could add read and write functions to this device to access EEPROM context. However, publishing raw EEPROM context outside of this device context would break all layering rules and is therefore nonsense.
This is pure hack, imho. The ACPI mux, buses and their devices must be enumerated in exactly the same way as in the FDT case.
Sep 26 2026
The driver advertises the following: IFCAP_VLAN_MTU, IFCAP_HWCSUM and IFCAP_HWCSUM_IPV6. What happens if the user enables one of these? I only see that IFCAP_RXCSUM is implemented, albeit probably only partially. In all other cases, the driver either emits an invalid packet, is unable to receive a valid packet, or it panics.
Sep 21 2026
I forgot about it yesterday. At worst, you can use .cfi_escape + DW_CFA_val_expression to select proper LR and SP directly in debugger.
Sep 20 2026
You're definitely right, from an INTRNG point of view. Thanks.
Of course, I don't know anything about annotating the trap frame.
However, adding instructions to the absolutely hot path(s) in the system to fix the debugger doesn't seem like a good idea to me.
Sep 19 2026
Sep 16 2026
I still have a personal problem with ops. It looks too fine-grained to me, but this can be solved with the following commit if we find it necessary.
Sep 11 2026
Sep 6 2026
Address objections.
