Page MenuHomeFreeBSD
Feed Advanced Search

Thu, Jul 18

greg_unrelenting.technology added a comment to D16698: First draft HID over I2C support (Mouse only).
  1. I compiled this driver with EVDEV support (https://gist.github.com/johalun/3c67a678e740b82512cec52bfe926092). How can I make use of it? I see no difference with and without this patch.

If there's a new device in /dev/input, it is working. You can run libinput debug-events to see the input events. To consume evdev devices from xorg, use xf86-input-libinput. There were patches for autodetection (one adding evdev autodetection to the devd backend, another switching to the udev backend with libudev-devd). The devd one might have been merged?? (I don't follow Xorg, I use Wayland exclusively)

Thanks; I thought that kldload evdev was enough; but kernel with EVDEV_SUPPORT was needed.

Thu, Jul 18, 10:46 AM · Contributor Reviews (base)

Wed, Jul 17

greg_unrelenting.technology added a reviewer for D20838: aarch64: expose esr in mcontext: Contributor Reviews (base).
Wed, Jul 17, 1:15 AM · arm64
greg_unrelenting.technology updated the summary of D20787: aarch64: make pmap_change_attr public like on other platforms.
Wed, Jul 17, 1:14 AM · arm64
greg_unrelenting.technology added a comment to D16698: First draft HID over I2C support (Mouse only).
  1. I compiled this driver with EVDEV support (https://gist.github.com/johalun/3c67a678e740b82512cec52bfe926092). How can I make use of it? I see no difference with and without this patch.
Wed, Jul 17, 1:06 AM · Contributor Reviews (base)

Tue, Jul 16

greg_unrelenting.technology updated the diff for D20974: Port sbsawdt (ARM SBSA generic watchdog) driver from NetBSD.
Tue, Jul 16, 11:06 PM · arm64
greg_unrelenting.technology created D20974: Port sbsawdt (ARM SBSA generic watchdog) driver from NetBSD.
Tue, Jul 16, 6:39 PM · arm64

Mon, Jul 15

greg_unrelenting.technology added inline comments to D20950: Implement a devtype command..
Mon, Jul 15, 11:24 AM

Mon, Jul 8

greg_unrelenting.technology added a comment to D20789: Use DEVICE memory instead of UNCACHEABLE on aarch64 in LinuxKPI ioremap.

please commit?

Mon, Jul 8, 10:34 PM · arm64

Thu, Jul 4

greg_unrelenting.technology updated the summary of D18754: sysutils/consolekit2: enable drm/evdev, fix drm device recognition.

Sure. I've actually made a couple more changes recently btw. I hope PATCH_SITES is okay here

Thu, Jul 4, 10:29 PM

Tue, Jul 2

greg_unrelenting.technology updated the test plan for D20835: aarch64: enable tagged pointers (TBI — Top Byte Ignored).
Tue, Jul 2, 11:41 PM · arm64
greg_unrelenting.technology created D20838: aarch64: expose esr in mcontext.
Tue, Jul 2, 9:25 PM · arm64
greg_unrelenting.technology retitled D20787: aarch64: make pmap_change_attr public like on other platforms from arm64: make pmap_change_attr public like on other platforms to aarch64: make pmap_change_attr public like on other platforms.
Tue, Jul 2, 9:21 PM · arm64
greg_unrelenting.technology created D20835: aarch64: enable tagged pointers (TBI — Top Byte Ignored).
Tue, Jul 2, 1:19 PM · arm64

Sat, Jun 29

greg_unrelenting.technology added a reviewer for D20787: aarch64: make pmap_change_attr public like on other platforms: Contributor Reviews (base).
Sat, Jun 29, 7:00 PM · arm64
greg_unrelenting.technology updated the summary of D20789: Use DEVICE memory instead of UNCACHEABLE on aarch64 in LinuxKPI ioremap.
Sat, Jun 29, 11:33 AM · arm64

Fri, Jun 28

greg_unrelenting.technology added a comment to D20348: arm64: pmap: Try to find the correct attribute.

UPDATE: actually this miiiight have been preventing the GPU from working.

Fri, Jun 28, 9:57 PM
greg_unrelenting.technology added a comment to D20789: Use DEVICE memory instead of UNCACHEABLE on aarch64 in LinuxKPI ioremap.

hm, just looked at linux — regular, _nocache and _wt are all PROT_DEVICE_nGnRE. Let's change them all then.

Fri, Jun 28, 1:50 PM · arm64
greg_unrelenting.technology created D20789: Use DEVICE memory instead of UNCACHEABLE on aarch64 in LinuxKPI ioremap.
Fri, Jun 28, 12:31 AM · arm64

Thu, Jun 27

greg_unrelenting.technology created D20787: aarch64: make pmap_change_attr public like on other platforms.
Thu, Jun 27, 11:06 PM · arm64
greg_unrelenting.technology added a comment to D20765: Add ACPI entries for Synopsys Designware UARTs used on ARM platforms.

I just tried booting with this patch applied and with EDK2 firmware built from master yesterday, and I still don't see any output - both with devicetree and acpi.

Thu, Jun 27, 10:56 PM · Contributor Reviews (base), arm64
greg_unrelenting.technology added a comment to D20348: arm64: pmap: Try to find the correct attribute.

Tested on += Marvell MACCHIATObin (Armada8k) [upstream EDK2, atf-marvell, ECAM shift removed, ACPI mode]

Thu, Jun 27, 10:11 PM
greg_unrelenting.technology added inline comments to D20780: Add support for getting early entropy from the UEFI RNG protocol.
Thu, Jun 27, 6:31 PM · security, arm64
greg_unrelenting.technology created D20780: Add support for getting early entropy from the UEFI RNG protocol.
Thu, Jun 27, 2:39 PM · security, arm64

Wed, Jun 26

greg_unrelenting.technology retitled D20775: Add missing ACPI GICv2 MSI/MSI-X attachment from Add missing ACPI GICv2 MSI/MSI-X support to Add missing ACPI GICv2 MSI/MSI-X attachment.
Wed, Jun 26, 8:54 PM · Contributor Reviews (base), arm64
greg_unrelenting.technology updated subscribers of D20775: Add missing ACPI GICv2 MSI/MSI-X attachment.
Wed, Jun 26, 8:52 PM · Contributor Reviews (base), arm64
greg_unrelenting.technology updated the test plan for D20775: Add missing ACPI GICv2 MSI/MSI-X attachment.
Wed, Jun 26, 8:51 PM · Contributor Reviews (base), arm64
greg_unrelenting.technology added a project to D20765: Add ACPI entries for Synopsys Designware UARTs used on ARM platforms: Contributor Reviews (base).
Wed, Jun 26, 8:48 PM · Contributor Reviews (base), arm64
greg_unrelenting.technology created D20775: Add missing ACPI GICv2 MSI/MSI-X attachment.
Wed, Jun 26, 8:47 PM · Contributor Reviews (base), arm64

Tue, Jun 25

greg_unrelenting.technology created D20765: Add ACPI entries for Synopsys Designware UARTs used on ARM platforms.
Tue, Jun 25, 11:48 PM · Contributor Reviews (base), arm64

Mon, Jun 24

greg_unrelenting.technology added a comment to D20720: Make linuxulator handle ELFOSABI_NONE ELF executables.

Many many many Linux binaries are ELFOSABI_NONE.
The Elf64_Brandinfo definitions directly above the added lines allow executables with ELFOSABI_NONE to run when interp_path matches. You can see one was added for musl libc, before that one was added, Alpine Linux did not work.
But that's for normal executables.

But the musl entry still says ELFOSABI_LINUX, doesn't it?

Mon, Jun 24, 3:25 PM

Sat, Jun 22

greg_unrelenting.technology added a comment to D20720: Make linuxulator handle ELFOSABI_NONE ELF executables.

Many many many Linux binaries are ELFOSABI_NONE.

Sat, Jun 22, 6:54 PM

Jun 18 2019

greg_unrelenting.technology added a comment to D20684: Don't do linuxulator path translation when chrooted.

Well, someone could chroot into a *FreeBSD* installation with the compat/linux packages installed in it..

Jun 18 2019, 9:20 PM

Jun 10 2019

greg_unrelenting.technology created D20591: Make it obvious that SR-IOV VF creation fails because of the PCIe bus, not the device driver.
Jun 10 2019, 7:12 PM · PCI

May 28 2019

greg_unrelenting.technology added a comment to D20437: lang/zig-devel: new port.

Works fine on aarch64, please add it to the list

May 28 2019, 8:59 PM

May 27 2019

greg_unrelenting.technology updated the diff for D19896: Match PCI UART devices using PCI data from the ACPI SPCR table.

Rebased for rS348195 (D20357)

May 27 2019, 10:32 AM · arm64

May 22 2019

greg_unrelenting.technology accepted D20357: Use ACPI SPCR on x86.
May 22 2019, 10:58 PM

May 21 2019

greg_unrelenting.technology added a comment to D20327: Don't reset memory attributes when mapping physical addresses for ACPI..

I wonder if this is what we need on aarch64 for the Ampere eMAG server to not panic in ACPI: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237055#c40

May 21 2019, 5:38 PM

May 14 2019

greg_unrelenting.technology added a comment to D19335: Add USB 3.0 support for Rockchip RK3328/RK3399 SoC.

update: what's hanging is the WRITE4 for putting the PLL into normal mode!

May 14 2019, 8:30 PM · arm64
greg_unrelenting.technology added a comment to D20250: Build arm64 kernel with inline ffs, fls.

Kernel with this patch boots fine on Amazon EC2 (which btw you can use too, freebsd-snapshots posts have aarch64 AMIs)

May 14 2019, 9:54 AM

May 11 2019

greg_unrelenting.technology abandoned D19336: Enable SD/MMC (microSD and eMMC controllers) on the Rockchip RK3399 SoC.

new emmc patch is D20156

May 11 2019, 2:19 PM · arm64

May 8 2019

greg_unrelenting.technology added inline comments to D19986: Add support for USB 3.0 XHCI via ACPI.
May 8 2019, 11:48 AM · arm64, Contributor Reviews (base)
greg_unrelenting.technology updated the diff for D19986: Add support for USB 3.0 XHCI via ACPI.
May 8 2019, 11:47 AM · arm64, Contributor Reviews (base)

May 7 2019

greg_unrelenting.technology added inline comments to D20153: x11-drivers/xf86-video-vmware: Enable hardware accelerated graphics in VMware.
May 7 2019, 10:34 AM

May 3 2019

greg_unrelenting.technology added a comment to D19335: Add USB 3.0 support for Rockchip RK3328/RK3399 SoC.
In D19335#433606, @manu wrote:
In D19335#433397, @manu wrote:

rebased, depends on D19986
not tested yet — for some reason my rockpro64 can't boot: clknode_register hangs when registering the first PLL on rk3399_cru0 :(

Could you test reverting r344626 ? ganbold@ have problem with this revision on the NanoPi T4. I personally don't have problems booting it (tried yesterday).

Mhm no, I've unplugged my eMMC module from my RockPro64 for a long time now so it's not that.
Could you try with the latest dtb ? It's installed now but on the wrong path until @kevans commit his fix. (so it's in /boot/dtb/ directly right now)

May 3 2019, 11:10 AM · arm64

May 1 2019

greg_unrelenting.technology added inline comments to D19335: Add USB 3.0 support for Rockchip RK3328/RK3399 SoC.
May 1 2019, 7:33 PM · arm64
greg_unrelenting.technology updated the diff for D19335: Add USB 3.0 support for Rockchip RK3328/RK3399 SoC.

rebased, depends on D19986

May 1 2019, 7:31 PM · arm64
greg_unrelenting.technology updated the diff for D19986: Add support for USB 3.0 XHCI via ACPI.

Added fdt detach corresponding to the current attach code (usb-phy)

May 1 2019, 4:58 PM · arm64, Contributor Reviews (base)
greg_unrelenting.technology added inline comments to D19986: Add support for USB 3.0 XHCI via ACPI.
May 1 2019, 4:56 PM · arm64, Contributor Reviews (base)
greg_unrelenting.technology accepted D20099: graphics/wayland: update to 1.17.0.

I don't think anyone really worked on the tests. I never tried to run them.

May 1 2019, 4:06 PM

Apr 25 2019

greg_unrelenting.technology updated the diff for D19986: Add support for USB 3.0 XHCI via ACPI.

Done. btw, the original version was confirmed working on the Ampere system.

Apr 25 2019, 6:48 PM · arm64, Contributor Reviews (base)
greg_unrelenting.technology added a comment to D19986: Add support for USB 3.0 XHCI via ACPI.
In D19986#430466, @manu wrote:

Something like D19389 would be better.

Ah, yes. GregV would you rework it using that approach?

Apr 25 2019, 2:22 PM · arm64, Contributor Reviews (base)

Apr 21 2019

greg_unrelenting.technology updated the diff for D19983: Enable Mellanox drivers on AArch64.

Done. Checked that mlx5ib loads.

Apr 21 2019, 3:28 PM · arm64, Contributor Reviews (base)

Apr 20 2019

greg_unrelenting.technology added a comment to D19983: Enable Mellanox drivers on AArch64.

Can you verify that the LINT kernel passes with this change on aarch64?

Apr 20 2019, 3:13 PM · arm64, Contributor Reviews (base)
greg_unrelenting.technology retitled D19987: Enable ioremap for aarch64 in the LinuxKPI from LinuxKPI: enable ioremap on AArch64 to Enable ioremap for aarch64 in the LinuxKPI.
Apr 20 2019, 3:04 PM · arm64, Contributor Reviews (base)
greg_unrelenting.technology updated the diff for D19983: Enable Mellanox drivers on AArch64.

Sure, split to D19987

Apr 20 2019, 2:10 PM · arm64, Contributor Reviews (base)
greg_unrelenting.technology created D19987: Enable ioremap for aarch64 in the LinuxKPI.
Apr 20 2019, 2:09 PM · arm64, Contributor Reviews (base)
greg_unrelenting.technology created D19986: Add support for USB 3.0 XHCI via ACPI.
Apr 20 2019, 2:05 PM · arm64, Contributor Reviews (base)
greg_unrelenting.technology created D19983: Enable Mellanox drivers on AArch64.
Apr 20 2019, 1:01 PM · arm64, Contributor Reviews (base)

Apr 19 2019

greg_unrelenting.technology added a comment to D19845: to be compatible with an IOMMU LinuxKPI should use bus_dma(9).

Update: the GPU hangs are *not* caused by IOMMU remapping. Possibly a bug in drm-v5.0… I'll try the updated version of this patch with stable drm later

Apr 19 2019, 3:51 PM

Apr 18 2019

greg_unrelenting.technology added a comment to D19845: to be compatible with an IOMMU LinuxKPI should use bus_dma(9).

Looks like a symptom of non-translatable physical address. I've encountered drivers which need additional work outside of the scope of this effort. Perhaps this is the case there as I can't any more cases in the Linux KPI where a physical address is substituted for a DMA one.
Also, I assume this is in remap mode. Does it work in identify map mode hw.busdma.default="bounce"? Unless there is an API which escaped, if it works in hw.dmar.enable="0" it's not a regression from before :-/

Apr 18 2019, 12:52 PM
greg_unrelenting.technology added a comment to D19845: to be compatible with an IOMMU LinuxKPI should use bus_dma(9).

Some more i915 GPU testing (w/o the latest update here): after using Firefox (opengl layers, xwayland) for some time, GPU resets start happening

Apr 18 2019, 9:29 AM

Apr 14 2019

greg_unrelenting.technology added a reviewer for D19896: Match PCI UART devices using PCI data from the ACPI SPCR table: Contributor Reviews (base).
Apr 14 2019, 10:22 PM · arm64
greg_unrelenting.technology updated subscribers of D19914: ACPI SPCR: handle BaudRate=0.
Apr 14 2019, 10:21 PM · arm64
greg_unrelenting.technology created D19914: ACPI SPCR: handle BaudRate=0.
Apr 14 2019, 10:21 PM · arm64
greg_unrelenting.technology added a comment to D19192: lang/elixir: update to 1.8.1 and use OTP-21 shim.

works very well, will this be committed soon?

Apr 14 2019, 3:57 PM

Apr 13 2019

greg_unrelenting.technology created D19897: Do not overwrite DISTNAME when USE_GITLAB=nodefault.
Apr 13 2019, 1:39 PM · Contributor Reviewers (ports)
greg_unrelenting.technology added a comment to D19845: to be compatible with an IOMMU LinuxKPI should use bus_dma(9).

Also tested on an AMD Ryzen + Vega system, no regressions. (No IOMMU there because no one wrote a dmar equivalent for AMD IOMMU…)

Apr 13 2019, 12:48 PM
greg_unrelenting.technology added a comment to D19845: to be compatible with an IOMMU LinuxKPI should use bus_dma(9).

Tested on my Haswell laptop with drm-v5.0, everything works (both with DMAR on and off), this line is new in dmesg:

Apr 13 2019, 12:40 PM
greg_unrelenting.technology updated the diff for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.

okay, PCI is now https://reviews.freebsd.org/D19896

Apr 13 2019, 11:08 AM · arm64
greg_unrelenting.technology created D19896: Match PCI UART devices using PCI data from the ACPI SPCR table.
Apr 13 2019, 11:05 AM · arm64

Apr 10 2019

greg_unrelenting.technology added inline comments to D19869: Add a new uefi-edk2-qemu port..
Apr 10 2019, 11:09 AM

Apr 6 2019

greg_unrelenting.technology added a comment to D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.

done

Apr 6 2019, 9:18 AM · arm64
greg_unrelenting.technology updated the diff for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
Apr 6 2019, 9:17 AM · arm64

Apr 5 2019

greg_unrelenting.technology updated the diff for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.

The quirk is a much more elegant way, thanks for the suggestion!

Apr 5 2019, 11:40 PM · arm64

Apr 2 2019

greg_unrelenting.technology abandoned D18372: Enable building if_ena on aarch64.

Landed as r345407.

Apr 2 2019, 5:51 PM · arm64
greg_unrelenting.technology updated the diff for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
Apr 2 2019, 5:18 PM · arm64
greg_unrelenting.technology added a comment to D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
In D19507#423995, @imp wrote:

I wouldn't be opposed to that either. I dislike special cases, but this may be a good case for an exception.

Apr 2 2019, 5:18 PM · arm64
greg_unrelenting.technology updated the diff for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
Apr 2 2019, 5:12 PM · arm64

Apr 1 2019

greg_unrelenting.technology added a comment to D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
In D19507#423825, @imp wrote:

IIRC, this violates the ACPI definition for these fields.

Apr 1 2019, 11:50 AM · arm64

Mar 31 2019

greg_unrelenting.technology added a comment to D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.

Dammit. The Ampere eMAG (which uses the pl011 SBSR UART) represents *shiftp = 2; as

Mar 31 2019, 12:38 PM · arm64

Mar 22 2019

greg_unrelenting.technology added a comment to D19438: Revert revision 254095.
In D19438#416304, @ae wrote:

I have no objection. AFAIR, the main goal of this change was the adding ability to extend number of entries for some tables, that have very little number of partition entries, e.g. 1 or 2.
I think if you revert this change, then you will not able to add new partitions for these tables, even if there are enough space to keep them.

Mar 22 2019, 11:51 PM

Mar 20 2019

greg_unrelenting.technology updated the diff for D19657: Enable NVMe on aarch64.
Mar 20 2019, 10:15 PM · arm64
greg_unrelenting.technology added inline comments to D19657: Enable NVMe on aarch64.
Mar 20 2019, 8:47 PM · arm64
greg_unrelenting.technology added a comment to D19641: Add bus_release_resource() method to nexus on arm64.

I can confirm that mtu changes on ena work fine with this patch, nice

Mar 20 2019, 11:48 AM · arm64
greg_unrelenting.technology created D19657: Enable NVMe on aarch64.
Mar 20 2019, 11:01 AM · arm64

Mar 10 2019

greg_unrelenting.technology updated the diff for D18371: Allow building EC2 AMIs for arm64, use GPT/EFI in VM images consistently.
Mar 10 2019, 9:49 PM

Mar 9 2019

greg_unrelenting.technology abandoned D19502: Unbreak manual UART settings (hw.uart.console) on aarch64.

Merged into D19507

Mar 9 2019, 12:05 AM · arm64

Mar 8 2019

greg_unrelenting.technology updated the diff for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
Mar 8 2019, 11:59 PM · arm64
greg_unrelenting.technology updated the diff for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
Mar 8 2019, 11:58 PM · arm64
greg_unrelenting.technology added a comment to D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.

btw, would it be better to integrate all my uart patches into this, or post them separately?

Mar 8 2019, 5:49 PM · arm64
greg_unrelenting.technology added a comment to D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.

Could you use spcr->SerialPort.AccessWidth to find this? It's set to 1 in the copy of the spcr table I have indicating byte access.

Mar 8 2019, 2:56 PM · arm64
greg_unrelenting.technology updated the diff for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
Mar 8 2019, 2:32 PM · arm64
greg_unrelenting.technology updated subscribers of D19502: Unbreak manual UART settings (hw.uart.console) on aarch64.
Mar 8 2019, 2:23 PM · arm64
greg_unrelenting.technology added a reviewer for D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART: andrew.
Mar 8 2019, 1:58 PM · arm64
greg_unrelenting.technology added a reviewer for D19502: Unbreak manual UART settings (hw.uart.console) on aarch64: andrew.
Mar 8 2019, 1:58 PM · arm64
greg_unrelenting.technology created D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
Mar 8 2019, 1:53 PM · arm64

Mar 7 2019

greg_unrelenting.technology created D19502: Unbreak manual UART settings (hw.uart.console) on aarch64.
Mar 7 2019, 8:54 PM · arm64

Feb 27 2019

greg_unrelenting.technology added a comment to D19330: Allow setting O_NONBLOCK on shm file descriptors.

I still think that the change should apply only to shm descriptors

Feb 27 2019, 6:54 PM
greg_unrelenting.technology updated the diff for D19330: Allow setting O_NONBLOCK on shm file descriptors.
Feb 27 2019, 6:47 PM
greg_unrelenting.technology added a comment to D19354: lang/rust: update to 1.33.0.

Greg, can you help fix stdsimd on aarch64?

Feb 27 2019, 6:35 PM