Page MenuHomeFreeBSD

manu (Emmanuel Vadot)
User

Projects (9)

User Details

User Since
Apr 24 2016, 4:47 PM (554 w, 2 h)

Recent Activity

Thu, Dec 3

manu added a comment to D62345: Revert "rc.subr: remove the dependency on bsdconfig".
In D62345#1429052, @ivy wrote:

did you move sysrc out of the bsdconfig package? the purpose of this change was to avoid the base system requiring bsdconfig to be installed.

Thu, Dec 3, 9:04 AM

Tue, Dec 1

manu closed D62184: usb: dwc3: derive 32-bit vs 64-bit DMA from DWC3_GHWPARAMS0 AWIDTH.

Commited as https://cgit.freebsd.org/src/commit/?id=01326b1e5a793696282ed8a005ef1074307fb442

Tue, Dec 1, 3:03 PM
manu closed D62185: usb: dwc3: treat a dual-role port whose default role is host as a host port.
Tue, Dec 1, 3:03 PM
manu committed rG01326b1e5a79: usb: dwc3: treat a dual-role port whose default role is host as a host port (authored by yarshure_gmail.com).
Tue, Dec 1, 3:03 PM
manu committed rG69511e1258e9: usb: dwc3: derive 32-bit vs 64-bit DMA from DWC3_GHWPARAMS0 AWIDTH (authored by yarshure_gmail.com).
Tue, Dec 1, 3:03 PM

Mon, Nov 30

manu accepted D62184: usb: dwc3: derive 32-bit vs 64-bit DMA from DWC3_GHWPARAMS0 AWIDTH.
Mon, Nov 30, 6:31 PM
manu requested changes to D62184: usb: dwc3: derive 32-bit vs 64-bit DMA from DWC3_GHWPARAMS0 AWIDTH.

Why not read the AWIDTH field from DWC3_GHWPARAMS0? It looks like it should be 64 when the HW supports 64-bit DMA.

Mon, Nov 30, 1:21 PM
manu committed rGc54c8a5b564f: cpufreq_dt: Use all the OPPs when the hardware version is unknown.
Mon, Nov 30, 8:14 AM
manu committed rG34b0e01a4e84: cpufreq_dt: Do not use an uninitialised OPP when restoring the state.
Mon, Nov 30, 8:14 AM
manu accepted D62184: usb: dwc3: derive 32-bit vs 64-bit DMA from DWC3_GHWPARAMS0 AWIDTH.
Mon, Nov 30, 7:22 AM

Sun, Nov 29

manu committed rG3df00fe29bcc: cpufreq_allwinner: Add the hardware version of the H6.
Sun, Nov 29, 3:09 PM
manu committed rG97dfe367f218: cpufreq_dt: Only register the first CPU of a group sharing the OPP table.
Sun, Nov 29, 3:09 PM
manu committed rG7178a47a4ffd: cpufreq_dt: Honor opp-supported-hw and opp-microvolt-<name>.
Sun, Nov 29, 3:09 PM
manu committed rG8e918cfd6110: cpufreq_dt: Add a hook for the SoC specific hardware version.
Sun, Nov 29, 3:09 PM
manu closed D61700: cpufreq_allwinner: Add the hardware version of the H6.
Sun, Nov 29, 3:09 PM
manu closed D61701: cpufreq_dt: Only register the first CPU of a group sharing the OPP table.
Sun, Nov 29, 3:09 PM
manu closed D61699: cpufreq_dt: Honor opp-supported-hw and opp-microvolt-<name>.
Sun, Nov 29, 3:09 PM
manu committed rG26804807ff80: nvmem: Add functions to get the provider and the location of a cell.
Sun, Nov 29, 3:09 PM
manu committed rGb95ef17061d1: cpufreq_dt: Move the parsing of opp-microvolt in its own function.
Sun, Nov 29, 3:09 PM
manu closed D61698: cpufreq_dt: Add a hook for the SoC specific hardware version.
Sun, Nov 29, 3:09 PM
manu closed D61697: nvmem: Add functions to get the provider and the location of a cell.
Sun, Nov 29, 3:09 PM
manu closed D61696: cpufreq_dt: Move the parsing of opp-microvolt in its own function.
Sun, Nov 29, 3:08 PM
manu committed rG120b4a498416: cpufreq_dt: Do not count the OPP table nodes that have no opp-hz.
Sun, Nov 29, 3:08 PM
manu closed D61695: cpufreq_dt: Do not count the OPP table nodes that have no opp-hz.
Sun, Nov 29, 3:08 PM
manu closed D61694: cpufreq_dt: Read clock-latency-ns and convert latencies to microseconds.
Sun, Nov 29, 3:08 PM
manu committed rGb219781922cc: cpufreq_dt: Read clock-latency-ns and convert latencies to microseconds.
Sun, Nov 29, 3:08 PM
manu updated the diff for D61697: nvmem: Add functions to get the provider and the location of a cell.

Address mmel's comments.

Sun, Nov 29, 8:03 AM
manu accepted D61960: mmc: Add MediaTek MSDC SD/MMC controller driver.

Small nit otherwise seems good.

Sun, Nov 29, 7:33 AM
manu accepted D62185: usb: dwc3: treat a dual-role port whose default role is host as a host port.
Sun, Nov 29, 7:24 AM
manu requested changes to D62184: usb: dwc3: derive 32-bit vs 64-bit DMA from DWC3_GHWPARAMS0 AWIDTH.

I'm pretty sure that this is needed for allwinner and rockchip (64 bits)

Sun, Nov 29, 7:23 AM

Sat, Nov 28

manu updated the diff for D61698: cpufreq_dt: Add a hook for the SoC specific hardware version.

Add cpufreq_dt.h

Sat, Nov 28, 7:43 AM
manu updated the diff for D61700: cpufreq_allwinner: Add the hardware version of the H6.

Use the new nvmem_cell_get_by_ofw_idx

Sat, Nov 28, 7:39 AM
manu retitled D61697: nvmem: Add functions to get the provider and the location of a cell from cpufreq_dt: Add a function to resolve an nvmem cell
Sat, Nov 28, 7:38 AM
manu updated the diff for D61697: nvmem: Add functions to get the provider and the location of a cell.

Move code to nvmem

Sat, Nov 28, 7:38 AM

Fri, Nov 27

manu added a comment to D61697: nvmem: Add functions to get the provider and the location of a cell.

This should be moved to sys/dev/nvmem as nvmem_cell_get_by_ofw_idx() and vmem_cell_get_by_ofw_name()

Fri, Nov 27, 6:10 PM
manu added a reviewer for D62135: linuxkpi: Call the close method of a mapping that is discarded in mmap: linuxkpi.
Fri, Nov 27, 1:32 PM
manu requested review of D62135: linuxkpi: Call the close method of a mapping that is discarded in mmap.
Fri, Nov 27, 1:32 PM
manu added a comment to D61960: mmc: Add MediaTek MSDC SD/MMC controller driver.

I'll try to have a look in the next few days but please add mmccam support, I'd like to move to mmccam by default for arm64 (at least) soon-ish.

Fri, Nov 27, 8:17 AM
manu closed D61766: bcm2835_fbd: Use the pixel order to choose the 32 bpp palette.

Commited as a972d2692bb789f9c79da4ee27dd3c32d3e3f349

Fri, Nov 27, 6:29 AM
manu committed rGa972d2692bb7: bcm2835_fbd: Use the pixel order to choose the 32 bpp palette.
Fri, Nov 27, 6:21 AM

Thu, Nov 26

manu added a reviewer for D61701: cpufreq_dt: Only register the first CPU of a group sharing the OPP table: mmel.
Thu, Nov 26, 5:55 PM
manu added a reviewer for D61700: cpufreq_allwinner: Add the hardware version of the H6: mmel.
Thu, Nov 26, 5:55 PM
manu added a reviewer for D61699: cpufreq_dt: Honor opp-supported-hw and opp-microvolt-<name>: mmel.
Thu, Nov 26, 5:55 PM
manu added a reviewer for D61698: cpufreq_dt: Add a hook for the SoC specific hardware version: mmel.
Thu, Nov 26, 5:55 PM
manu added a reviewer for D61697: nvmem: Add functions to get the provider and the location of a cell: mmel.
Thu, Nov 26, 5:54 PM
manu added a reviewer for D61696: cpufreq_dt: Move the parsing of opp-microvolt in its own function: mmel.
Thu, Nov 26, 5:54 PM
manu added a reviewer for D61695: cpufreq_dt: Do not count the OPP table nodes that have no opp-hz: mmel.
Thu, Nov 26, 5:54 PM
manu added a reviewer for D61694: cpufreq_dt: Read clock-latency-ns and convert latencies to microseconds: mmel.
Thu, Nov 26, 5:54 PM
manu added a comment to D60130: linuxkpi: track cache-attribute lifetimes for overlapping vmap mappings.

On my tigerlake machine it fixes some display timeout that I had under loads and also rendering is faster. (and again fixes load/unload of i915kms).
I've tested all $WORK machines with this patch (tigerlake, coffelake, baytrail is now usable, amd raven and amd venus).

Thu, Nov 26, 8:58 AM

Tue, Nov 24

manu accepted D61976: TMP461 sensor: Fix temperature reading in extended range mode.
Tue, Nov 24, 11:14 AM
manu accepted D61763: TMP461 sensor: Fix UB when reading the temperature.
Tue, Nov 24, 11:11 AM
manu added a comment to D61832: dwc: Set the speed of the SoC from a task.

I don't see any LOR here, but a sleepable lock after a non-sleepable one.

Tue, Nov 24, 7:46 AM
manu added a comment to D61831: dwc: Do not panic when a new RX buffer cannot be mapped.

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.

Tue, Nov 24, 7:35 AM
manu added inline comments to D61830: dwc: Do not stall the transmit of the QoS core when a mapping fails.
Tue, Nov 24, 7:14 AM
manu added a comment to D61863: sysutils/rpi-firmware: Set 32-bit framebuffer depth on Raspberry Pi 5.

I couldn't find why the firmware defaults to 16bpp.
(U-Boot also notes that the Pi 5 firmware provides a 16bpp framebuffer.
https://github.com/u-boot/u-boot/commit/cce167e)

I rechecked: it still panics without framebuffer_depth=32 in config.txt.

Tue, Nov 24, 6:56 AM · arm64, Contributor Reviewers (ports)
manu added a reviewer for D61766: bcm2835_fbd: Use the pixel order to choose the 32 bpp palette: jaewon8868_gmail.com.
Tue, Nov 24, 6:56 AM
manu accepted D61959: dtb/mediatek: Build the BPI-R3 eMMC and SD overlays.
Tue, Nov 24, 6:40 AM

Sun, Nov 22

manu accepted D61863: sysutils/rpi-firmware: Set 32-bit framebuffer depth on Raspberry Pi 5.

I'm not against changing default depth (32bpp seems better to have by default) but it raises two questions :

  • Why does the firmware sets the default to 16bpp ?
  • We still panic with the default firmware configuration ?
Sun, Nov 22, 11:48 AM · arm64, Contributor Reviewers (ports)

Fri, Nov 20

manu added reviewers for D61829: dwc: rockchip: Do not use a NULL clock in the RMII output mode: arm64, br, mmel.
Fri, Nov 20, 6:25 PM
manu added reviewers for D61830: dwc: Do not stall the transmit of the QoS core when a mapping fails: br, mmel.
Fri, Nov 20, 6:25 PM
manu added reviewers for D61831: dwc: Do not panic when a new RX buffer cannot be mapped: br, mmel.
Fri, Nov 20, 6:25 PM
manu added reviewers for D61832: dwc: Set the speed of the SoC from a task: br, mmel.
Fri, Nov 20, 6:25 PM
manu requested review of D61832: dwc: Set the speed of the SoC from a task.
Fri, Nov 20, 6:25 PM
manu requested review of D61831: dwc: Do not panic when a new RX buffer cannot be mapped.
Fri, Nov 20, 6:24 PM
manu requested review of D61830: dwc: Do not stall the transmit of the QoS core when a mapping fails.
Fri, Nov 20, 6:24 PM
manu requested review of D61829: dwc: rockchip: Do not use a NULL clock in the RMII output mode.
Fri, Nov 20, 6:24 PM
manu closed D61705: lindebugfs: Do not expose a node before its private data is set.
Fri, Nov 20, 2:07 PM
manu committed rGd5cbb6229f53: lindebugfs: Do not expose a node before its private data is set.
Fri, Nov 20, 2:07 PM
manu committed rG200b2faf4819: dwc: Limit the DMA of the QoS core to the address width of the hardware.
Fri, Nov 20, 1:56 PM
manu committed rGd67880fca7ff: dwc: rockchip: Do not enable the same clock twice.
Fri, Nov 20, 1:56 PM
manu closed D61018: dwc: Limit the DMA of the QoS core to the address width of the hardware.
Fri, Nov 20, 1:56 PM
manu committed rGf23351e4ff05: dwc: Program the DMA burst length of the QoS core.
Fri, Nov 20, 1:56 PM
manu closed D61016: dwc: rockchip: Do not enable the same clock twice.
Fri, Nov 20, 1:56 PM
manu closed D60920: dwc: Program the DMA burst length of the QoS core.
Fri, Nov 20, 1:56 PM
manu committed rGcfa09932b9aa: dwc: Do not report a negative number of output errors with the QoS core.
Fri, Nov 20, 1:56 PM
manu committed rG9c3faa7da860: dwc: Configure the AXI request limits and mixed burst of the QoS core.
Fri, Nov 20, 1:56 PM
manu closed D60919: dwc: Do not report a negative number of output errors with the QoS core.
Fri, Nov 20, 1:56 PM
manu committed rG57f6320880ab: dwc: rockchip: Add support for the RK3568 GMAC.
Fri, Nov 20, 1:56 PM
manu closed D60918: dwc: Configure the AXI request limits and mixed burst of the QoS core.
Fri, Nov 20, 1:56 PM
manu closed D61019: rk3568_cru: Allow the GMAC RGMII speed clock to reparent.
Fri, Nov 20, 1:56 PM
manu closed D60917: dwc: rockchip: Add support for the RK3568 GMAC.
Fri, Nov 20, 1:56 PM
manu closed D60916: dwc: Use the MAC address from the device tree.
Fri, Nov 20, 1:56 PM
manu closed D61020: clk: Do not print errors when testing a frequency.
Fri, Nov 20, 1:56 PM
manu committed rG9efa26959d3f: dwc: Use the MAC address from the device tree.
Fri, Nov 20, 1:56 PM
manu committed rG39b33f2632ef: clk: Do not print errors when testing a frequency.
Fri, Nov 20, 1:56 PM
manu committed rG8559cae1ebf2: rk3568_cru: Allow the GMAC RGMII speed clock to reparent.
Fri, Nov 20, 1:56 PM
manu requested changes to D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.

That's just hidding the real problem IMHO

Fri, Nov 20, 1:50 PM · Contributor Reviews (src), arm64
manu abandoned D61017: dwc: Set the packet length in the TX descriptors of the QoS core.

Thanks for the review.
Looking at the RK3568 TRM (section 20.6.3, TDES3 read format): bits [14:0] are FL/TPL,
the length of the packet when TSE is not set,
but "when DWRR/WFQ algorithm is NOT enabled,
value written into this field is not used when TSE = 0".
The driver uses a single TX queue and does not select a scheduling algorithm,
so the hardware never looks at the value and this change has no effect.
Linux and U-Boot do write it, but there is nothing to gain here, so I am dropping the
commit for now and will bring it back if DWRR/WFQ or TSO gets enabled.

Fri, Nov 20, 10:40 AM
manu updated the diff for D61018: dwc: Limit the DMA of the QoS core to the address width of the hardware.

Rebase on latest code (Rebased on D61016)

Fri, Nov 20, 10:40 AM
manu committed R11:59c67976af50: sysutils/rpi-firmware: Use firmware DTB placement on Raspberry Pi 5 (authored by jaewon8868_gmail.com).
Fri, Nov 20, 8:09 AM
manu committed R11:33c820052675: sysutils/rpi-firmware: Set framebuffer_swap=0, no mmc overlay on RPi 4.
Fri, Nov 20, 8:09 AM
manu committed R11:821cc4b7470f: sysutils/rpi-firmware: Set framebuffer_swap=0, no mmc overlay on RPi 4.
Fri, Nov 20, 7:45 AM
manu committed R11:5eb3c528c969: sysutils/u-boot-rpi*: Remove the BGR pixel order patch.
Fri, Nov 20, 7:45 AM

Thu, Nov 19

manu added a comment to D61766: bcm2835_fbd: Use the pixel order to choose the 32 bpp palette.

Related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300542

Thu, Nov 19, 5:39 PM
manu added reviewers for D61766: bcm2835_fbd: Use the pixel order to choose the 32 bpp palette: brd, darkvincentdude_yahoo.com.
Thu, Nov 19, 5:38 PM
manu requested review of D61766: bcm2835_fbd: Use the pixel order to choose the 32 bpp palette.
Thu, Nov 19, 5:37 PM
manu closed D61541: sdhci_fdt: Add BCM2712 SD card support.

Commited as 48fa466426d90bfd02191448d7b81e0da1acee8a

Thu, Nov 19, 1:54 PM · Contributor Reviews (src), arm64
manu requested changes to D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.

That's likely not the root of the problem, firmware likely created space for a 16bpp framebuffer but the driver is changing it to 24bpp (See https://cgit.freebsd.org/src/tree/sys/arm/broadcom/bcm2835/bcm2835_fbd.c#n88), that's why it crashes.

Thu, Nov 19, 1:52 PM · Contributor Reviews (src), arm64
manu committed rG828f462240be: sdhci_fdt: Add BCM2712 SD card support (authored by jaewon8868_gmail.com).
Thu, Nov 19, 1:50 PM
manu closed D61542: bcm2835_vcbus: Recognize BCM2712.
Thu, Nov 19, 1:49 PM · Contributor Reviews (src), arm64