Page MenuHomeFreeBSD

jrtc27 (Jessica Clarke)
User

Projects

User Details

User Since
Jul 4 2018, 7:23 PM (343 w, 3 d)

Recent Activity

Yesterday

jrtc27 added a comment to D48317: ARM64 GICv3 Cache bits.

TL;DR I am annoyed at your desire to insert hacks into a core driver for all modern arm64 platforms and do not want to see good engineering practice thrown out the window in the name of making a specific piece of hardware "work" in the quickest way possible

Sat, Feb 1, 9:04 PM
jrtc27 added a comment to D48317: ARM64 GICv3 Cache bits.

Your unwillingness to try and actually understand the problem is your own choice, not mine. Adding a platform-specific quirk to ignore the inability to set something that the specification does not give implementations license to restrict is one thing, but doing it unilaterally for every platform is quite another thing and I wholeheartedly object to just disabling checks that get in the way with our current implementation on your hardware. We could quite easily have a real bug in our driver here, and in doing so we're just ignoring that. I also have absolutely no desire to encounter cache coherency bugs in future because of a change like this which just decides that cache coherency is something that can be ignored and everything will be fine, don't worry about it. I do not know what the implications of picking up a different firmware-chosen value here is and whether FreeBSD can in fact cope with it. Do you?

Sat, Feb 1, 9:03 PM
jrtc27 added a comment to D48317: ARM64 GICv3 Cache bits.

I also wrote the following on IRC a couple of weeks back:

Sat, Feb 1, 8:29 PM
jrtc27 added a comment to D48317: ARM64 GICv3 Cache bits.

The first hunk should not be necessary according to the specification, but if it helps your platform, does not regress others and is believed to be better anyway according to Andy then that's fine. The second hunk I do not believe should be committed.

Sat, Feb 1, 8:26 PM

Fri, Jan 31

jrtc27 added a comment to D45409: vm_phys: reduce touching of page->pool fields.
In D45409#1112416, @dim wrote:
In D45409#1111300, @pho wrote:

FYI: I came across this i386 problem after commit 0078df5f0258.

Trying to mount root from ufs:/dev/vtbd0p1 [rw]...
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
WARNING: 32-bit kernels are deprecated and may be removed in FreeBSD 15.0.
panic: vm_page_t 0x5d49be0 phys_addr mismatch ffffffffb8779000 00000000b8779405
cpuid = 3
time = 1738177579
KDB: stack backtrace:
db_trace_self_wrapper(7,114beb40,5d49be0,ffffffff,ffffffff,...) at db_trace_self_wrapper+0x28/frame 0x113f6744
vpanic(148badd,113f6780,113f6780,113f67f0,13a54e9,...) at vpanic+0xf4/frame 0x113f6760
panic(148badd,5d49be0,b8779000,ffffffff,b8779405,...) at panic+0x14/frame 0x113f6774
pmap_pae_remove_pages(114128e8) at pmap_pae_remove_pages+0x599/frame 0x113f67f0
exec_new_vmspace(113f6994,188247c) at exec_new_vmspace+0x1cb/frame 0x113f6810
exec_elf32_imgact(113f6994,16d4801,113f6984,0,0,...) at exec_elf32_imgact+0x5e4/frame 0x113f6874
kern_execve(114beb40,113f6a8c,0,1141284c) at kern_execve+0x72c/frame 0x113f6a74
sys_execve(114beb40,114bedf0,114beb40,13ae913,114bede4,...) at sys_execve+0x4e/frame 0x113f6ac8
syscall(113f6ba8,3b,3b,3b,402aaf,...) at syscall+0x1e6/frame 0x113f6b9c
Xint0x80_syscall() at 0xffc03479/frame 0x113f6b9c
--- syscall (59, FreeBSD ELF32, execve), eip = 0x47e53f, esp = 0xffbfe848, ebp = 0xffbfe858 ---
KDB: enter: panic
[ thread pid 17 tid 100080 ]
Stopped at      kdb_enter+0x34: movl    $0,kdb_why
db> x/s version
version:        FreeBSD 15.0-CURRENT #0 main-n275068-0078df5f0258-dirty: Wed Jan 29 18:44:45 CET 2025\012    pho@mercat1.netperf.freebsd.org:/mnt25/obj/usr/src/i386.i386/sys/PHO\012
db>

Yeah I have almost exactly the same:

Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex SYSMAPS (SYSMAPS) r = 0 (0x1af1b3c) locked @ /usr/src/sys/i386/i386/pmap.c:4597
stack backtrace:
#0 0xfd9123 at ??+0
#1 0xfda008 at ??+0
#2 0x13a5ca7 at ??+0
#3 0x13a5276 at ??+0
#4 0x1382f3f at ??+0
#5 0x28 at ??+0


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x1f01000
fault code              = supervisor write data, reserved bits in PTE
instruction pointer     = 0x20:0x13ab070
stack pointer           = 0x28:0x1ef9ab4
frame pointer           = 0x28:0x1ef9ac0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self_wrapper(0,1a4d3e0,1ef9a74,1f01000,c,...) at db_trace_self_wrapper+0x28/frame 0x1ef9900
vpanic(1442402,1ef993c,1ef993c,1ef9968,13a5c44,...) at vpanic+0xf4/frame 0x1ef991c
panic(1442402,149cbab,0,fffff,1aac59b,...) at panic+0x14/frame 0x1ef9930
trap_fatal(8,1470e0e,5e0,1aa05e0,46,...) at trap_fatal+0x344/frame 0x1ef9968
trap_pfault(1f01000,0,0) at trap_pfault+0x6f/frame 0x1ef999c
trap(1ef9a74) at trap+0x326/frame 0x1ef9a68
calltrap() at calltrap+0x8/frame 0x1ef9a68
--- trap 0xc, eip = 0x13ab070, esp = 0x1ef9ab4, ebp = 0x1ef9ac0 ---
memset(1f01000,0,1000) at memset+0x50/frame 0x1ef9ac0
pmap_pae_zero_page(5d74994) at pmap_pae_zero_page+0xb2/frame 0x1ef9aec
vm_page_alloc_noobj_contig_domain(0,8062,1,0,0,ffffffff,ffffffff,1,0,0,6) at vm_page_alloc_noobj_contig_domain+0x20a/frame 0x1ef9b1c
uma_startup1(5f5e000) at uma_startup1+0xc5/frame 0x1ef9bcc
vm_mem_init(0) at vm_mem_init+0x30/frame 0x1ef9bd8
mi_startup() at mi_startup+0x1a4/frame 0x1ef9bf8
btext() at btext+0x5f
KDB: enter: panic
Fri, Jan 31, 6:40 PM
jrtc27 committed rG4015ff43cbbe: vm: Fix overflow issues in vm_page_startup (authored by jrtc27).
vm: Fix overflow issues in vm_page_startup
Fri, Jan 31, 6:38 PM

Thu, Jan 30

jrtc27 accepted D48719: vmimage.subr: Redirect etcupdate log to stdout.
Thu, Jan 30, 5:22 PM
jrtc27 accepted D48719: vmimage.subr: Redirect etcupdate log to stdout.

Probably best to land this, since it's actually important for reproducibility, then we can update both to something else later that gives extra visibility into the build less urgently

Thu, Jan 30, 4:33 PM

Wed, Jan 29

jrtc27 committed rG697fd8476ea7: Makefile: Fix several issues with bmake upgrade (authored by jrtc27).
Makefile: Fix several issues with bmake upgrade
Wed, Jan 29, 7:18 PM
jrtc27 closed D48708: Makefile: Fix several issues with bmake upgrade.
Wed, Jan 29, 7:18 PM
jrtc27 updated the summary of D48708: Makefile: Fix several issues with bmake upgrade.
Wed, Jan 29, 6:39 PM
jrtc27 updated the diff for D48708: Makefile: Fix several issues with bmake upgrade.

Emit an error if MYMAKE is being messed with in any way

Wed, Jan 29, 6:37 PM
jrtc27 added inline comments to D48708: Makefile: Fix several issues with bmake upgrade.
Wed, Jan 29, 3:52 PM
jrtc27 added inline comments to D48708: Makefile: Fix several issues with bmake upgrade.
Wed, Jan 29, 3:35 PM

Tue, Jan 28

jrtc27 added inline comments to D48708: Makefile: Fix several issues with bmake upgrade.
Tue, Jan 28, 10:56 PM
jrtc27 requested review of D48708: Makefile: Fix several issues with bmake upgrade.
Tue, Jan 28, 7:01 PM

Mon, Jan 27

jrtc27 added a comment to D48699: riscv bhyve: add peripheral clock.

It doesn't need clocks, it needs one of clocks or clock-frequency. QEMU's virt board lists the latter, which is far simpler and preferable in a virtualisation setting. It also uses 3686400 as the frequency, which I believe lets the guest go up to 230400 baud. We should align with QEMU where possible in order to avoid surprises.

Mon, Jan 27, 9:13 PM
jrtc27 added a comment to D48675: libdevinfo: Avoid false positives for the root0 sentinel value.

One could conceivably imagine the handles being small positive integers (nexus0 is 1, and so on) rather than using kernel addresses, so -1 seems more flexible IMO, and is generally a clear sentinel.

Mon, Jan 27, 6:47 PM

Fri, Jan 24

jrtc27 added a comment to D48501: simplebus: Stop accepting SYS_RES_IOPORT resources.
In D48501#1110074, @jhb wrote:
In D48501#1109382, @jhb wrote:

Booting a RISC-V image under qemu with a virtio-rng-pci device seems to have exercised this as it has a pci_host_generic as a child of a simplebus:

pcib0: <Generic PCI host controller> mem 0x30000000-0x3fffffff on simplebus1
pcib0: parsing FDT for ECAM0:
pcib0: Bus is cache-coherent
pcib0: PCI addr: 0x0, CPU addr: 0x3000000, Size: 0x10000, Type: I/O port
pcib0: PCI addr: 0x40000000, CPU addr: 0x40000000, Size: 0x40000000, Type: memory
pcib0: PCI addr: 0x400000000, CPU addr: 0x400000000, Size: 0x400000000, Type: memory
pci0: <PCI bus> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x1b36, dev=0x0008, revid=0x00
        domain=0, bus=0, slot=0, func=0
        class=06-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1af4, dev=0x1005, revid=0x00
        domain=0, bus=0, slot=1, func=0
        class=00-ff-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=0
        MSI-X supports 2 messages in map 0x14
        map[10]: type I/O Port, range 32, base 0, size  5, port disabled
        map[14]: type Memory, range 32, base 0, size 12, memory disabled
        map[20]: type Prefetchable Memory, range 64, base 0, size 14, memory disabled
virtio_pci0: <VirtIO PCI (legacy) Entropy adapter> irq 16 at device 1.0 on pci0
virtio_pci0: Lazy allocation of 0x20 bytes rid 0x10 type 4 at 0
virtio_pci0: Lazy allocation of 0x1000 bytes rid 0x14 type 3 at 0x40000000
`

Some command output:

root@riscv64:~ # pciconf -lb
hostb0@pci0:0:0:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1b36 device=0x0008 subvendor=0x1af4 subdevice=0x1100
virtio_pci0@pci0:0:1:0: class=0x00ff00 rev=0x00 hdr=0x00 vendor=0x1af4 device=0x1005 subvendor=0x1af4 subdevice=0x0004
    bar   [10] = type I/O Port, range 32, base 0, size 32, enabled
    bar   [14] = type Memory, range 32, base 0x40000000, size 4096, enabled
    bar   [20] = type Prefetchable Memory, range 64, base 0, size 16384, enabled
root@riscv64:~ # devinfo -u
I/O memory addresses:
    0x0-0xfffff (root0)
    0x100000-0x100fff (riscv_syscon0)
    0x101000-0x101fff (goldfish_rtc0)
    0x102000-0x2ffffff (root0)
    0x3000000-0x300ffff (pcib0)
    0x3010000-0xbffffff (root0)
....
pcib0 I/O port window:
    0x0-0x1f (virtio_pci0)
    0x20-0xffff (root0)
....

Not with D44207 though, right? Even absent this change it should show up as I/O memory rather than I/O port, right? Or is that just showing that it's still an I/O port from pcib0 downwards; if so, that's not so relevant because that's not changed, what's relevant is how simplebus0 and above see it?

This is after D44207 was merged, so it has it included. The point is that it only looks like an I/O port for pcib0 downwards. For simplebus0 it instead sees the SYS_RES_MEMORY resource allocated to pcib0 (0x3000000-0x300ffff (pcib0)) corresponding to the I/O window.

Fri, Jan 24, 10:40 PM

Thu, Jan 23

jrtc27 added a comment to D48501: simplebus: Stop accepting SYS_RES_IOPORT resources.
In D48501#1109382, @jhb wrote:

Booting a RISC-V image under qemu with a virtio-rng-pci device seems to have exercised this as it has a pci_host_generic as a child of a simplebus:

pcib0: <Generic PCI host controller> mem 0x30000000-0x3fffffff on simplebus1
pcib0: parsing FDT for ECAM0:
pcib0: Bus is cache-coherent
pcib0: PCI addr: 0x0, CPU addr: 0x3000000, Size: 0x10000, Type: I/O port
pcib0: PCI addr: 0x40000000, CPU addr: 0x40000000, Size: 0x40000000, Type: memory
pcib0: PCI addr: 0x400000000, CPU addr: 0x400000000, Size: 0x400000000, Type: memory
pci0: <PCI bus> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x1b36, dev=0x0008, revid=0x00
        domain=0, bus=0, slot=0, func=0
        class=06-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1af4, dev=0x1005, revid=0x00
        domain=0, bus=0, slot=1, func=0
        class=00-ff-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=0
        MSI-X supports 2 messages in map 0x14
        map[10]: type I/O Port, range 32, base 0, size  5, port disabled
        map[14]: type Memory, range 32, base 0, size 12, memory disabled
        map[20]: type Prefetchable Memory, range 64, base 0, size 14, memory disabled
virtio_pci0: <VirtIO PCI (legacy) Entropy adapter> irq 16 at device 1.0 on pci0
virtio_pci0: Lazy allocation of 0x20 bytes rid 0x10 type 4 at 0
virtio_pci0: Lazy allocation of 0x1000 bytes rid 0x14 type 3 at 0x40000000
`

Some command output:

root@riscv64:~ # pciconf -lb
hostb0@pci0:0:0:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1b36 device=0x0008 subvendor=0x1af4 subdevice=0x1100
virtio_pci0@pci0:0:1:0: class=0x00ff00 rev=0x00 hdr=0x00 vendor=0x1af4 device=0x1005 subvendor=0x1af4 subdevice=0x0004
    bar   [10] = type I/O Port, range 32, base 0, size 32, enabled
    bar   [14] = type Memory, range 32, base 0x40000000, size 4096, enabled
    bar   [20] = type Prefetchable Memory, range 64, base 0, size 16384, enabled
root@riscv64:~ # devinfo -u
I/O memory addresses:
    0x0-0xfffff (root0)
    0x100000-0x100fff (riscv_syscon0)
    0x101000-0x101fff (goldfish_rtc0)
    0x102000-0x2ffffff (root0)
    0x3000000-0x300ffff (pcib0)
    0x3010000-0xbffffff (root0)
....
pcib0 I/O port window:
    0x0-0x1f (virtio_pci0)
    0x20-0xffff (root0)
....
Thu, Jan 23, 11:31 PM

Wed, Jan 22

jrtc27 added a comment to D48575: riscv vmm: clean up SBI return code.

This doesn't seem to conform to the spec.

Wed, Jan 22, 3:28 PM

Tue, Jan 21

jrtc27 accepted D48582: riscv nexus: Remove support for I/O port resources.

This always bugged me :)

Tue, Jan 21, 5:37 PM

Mon, Jan 20

jrtc27 added inline comments to D48533: riscv: Add cvitek SoC files to the build.
Mon, Jan 20, 6:46 PM
jrtc27 added inline comments to D48532: riscv: Add driver for the cvitek restart controller.
Mon, Jan 20, 6:44 PM
jrtc27 added inline comments to D48531: riscv: Add driver for the cvitek reset controller.
Mon, Jan 20, 6:43 PM
jrtc27 added a comment to D48519: depend-cleanup: Add a regex for files that moved.

Since this seems to be a saga that keeps on giving, I'm going to ask the important question to which the answer must have been no for every other commit for this, despite my comments on IRC:

Mon, Jan 20, 2:40 PM

Fri, Jan 17

jrtc27 accepted D48506: certctl: Set METALOG ownership to root:wheel.

Please put the rationale from your comment in the commit message, and mention that this may be improved in future to use the right DB (I intend to do that if nobody beats me to it).

Fri, Jan 17, 9:29 PM
jrtc27 added a comment to D48502: depend-cleanup: bea89d038ac5 also moved memchr.

Uh, why do we need that wrapper instead of just calling memchr itself?

Fri, Jan 17, 3:15 PM

Wed, Jan 15

jrtc27 added a comment to D48465: munmap.2: Unaligned addresses do not return error.

Hm, this used to be required by POSIX but newer versions allow the implementation not to treat that as an error

Wed, Jan 15, 5:03 PM

Tue, Jan 14

jrtc27 added inline comments to D48441: riscv vmm: implement SBI RFNC.
Tue, Jan 14, 9:36 PM
jrtc27 added inline comments to D48317: ARM64 GICv3 Cache bits.
Tue, Jan 14, 8:25 PM
jrtc27 added inline comments to D48317: ARM64 GICv3 Cache bits.
Tue, Jan 14, 7:08 PM
jrtc27 added inline comments to D44910: sys: Add cpu_update_pcb hook.
Tue, Jan 14, 3:51 PM

Sat, Jan 11

jrtc27 accepted D48430: clock: Use .balign to align ticksl.
Sat, Jan 11, 5:03 PM
jrtc27 added inline comments to D48420: clock: Simplify subr_ticks and rename.
Sat, Jan 11, 6:37 AM

Fri, Jan 10

jrtc27 accepted D48123: ofw_cpu: check for "disabled" status.

I was going to suggest using the device_t-taking APIs instead, but then realised that doesn't work for the early case... bit sad but oh well.

Fri, Jan 10, 6:39 PM
jrtc27 accepted D48420: clock: Simplify subr_ticks and rename.

(but please mention BSS in the commit message)

Fri, Jan 10, 5:41 PM
jrtc27 added inline comments to D48420: clock: Simplify subr_ticks and rename.
Fri, Jan 10, 5:34 PM
jrtc27 added inline comments to D48420: clock: Simplify subr_ticks and rename.
Fri, Jan 10, 5:32 PM

Thu, Jan 9

jrtc27 added a comment to D43237: Use gnu17 for buildworld.
In D43237#1103894, @jhb wrote:

Also, the only contrib things I could find that are using c99 explicitly is ZFS. I wonder if those can use c17?

OpenZFS seems to use gnu99 (source code). I don't think it is necessary, but if it is, it can be done in a separate commit/revision.

Thu, Jan 9, 8:00 PM · Contributor Reviews (src)

Mon, Jan 6

jrtc27 added inline comments to D48269: vmm: Fix error handling in vmm_handler().
Mon, Jan 6, 8:04 AM

Sat, Jan 4

jrtc27 added inline comments to D48317: ARM64 GICv3 Cache bits.
Sat, Jan 4, 5:15 PM

Dec 21 2024

jrtc27 added inline comments to D47867: eswin pcie attachment driver.
Dec 21 2024, 4:49 PM

Dec 20 2024

jrtc27 added inline comments to D47867: eswin pcie attachment driver.
Dec 20 2024, 12:02 AM

Dec 19 2024

jrtc27 added a comment to D47478: zfsboot: Add an option to edit the ZFS pool creation options..
In D47478#1097625, @jhb wrote:

So I wonder what the dialog looks like now by default on an 80x25 console? Does bsddialog do something sane to truncate the option list if it is too long or does it render oddly?

I created some frame grabs with a 80x34 xterm (my default since the 80's)

zfsboot2 is with the installation default.
zfsboot3 is with some extra (bogus) flags.
zfsboot4 is the same as zfsboot3 but with a 121x34 window.

zfsboot2.png (480×564 px, 11 KB)

zfsboot3.png (480×564 px, 11 KB)

zfsboot4.png (480×851 px, 12 KB)

Dec 19 2024, 12:50 AM

Dec 18 2024

jrtc27 added a comment to D48133: riscv vmm: SBI timer support.

Wait so you put up a patch to disable Sstc before an alternative was provided?

Dec 18 2024, 4:10 PM

Dec 17 2024

jrtc27 committed rGe1060f6dfd80: ofw: Fix inverted bcmp in ofw_bus_node_status_okay (authored by jrtc27).
ofw: Fix inverted bcmp in ofw_bus_node_status_okay
Dec 17 2024, 8:55 PM
jrtc27 added inline comments to D48123: ofw_cpu: check for "disabled" status.
Dec 17 2024, 8:49 PM
jrtc27 added inline comments to D48123: ofw_cpu: check for "disabled" status.
Dec 17 2024, 8:43 PM
jrtc27 added inline comments to D48123: ofw_cpu: check for "disabled" status.
Dec 17 2024, 8:21 PM
jrtc27 accepted D48122: ofw_cpu: fix __riscv preprocessor check.

From grepping the tree this doesn't actually have any consequences currently, right, other than possible prints? The only real use I see is cpufreq, which we don't currently have for RISC-V.

Dec 17 2024, 8:15 PM

Dec 16 2024

jrtc27 added a comment to D48058: riscv vmm: add SSTC check.

I have no objection to the current revision, although we can say a few things about how the code may look/change in the future.

Obviously, the feature-to-ISA-string code will continue to expand/balloon, as we will want to advertise the availability of the many unprivileged ISA extensions to the guest as well.

The problem is that we have no mechanism for reporting extension presence from the kernel to userspace, therefore you are using vm_cap_type here. I am working on something "official" for this, most likely it will be a sysarch exporting a bitmap, with bit definitions compatible to what can be found in Linux. Therefore one call can obtain the full set of supported extensions (sanitized), and we will be able to use this in bhyve to construct the ISA string for the guest.

Dec 16 2024, 11:05 PM

Dec 14 2024

jrtc27 added a comment to D48057: iwm: Stop shipping firmware as kernel module.
In D48057#1095862, @cy wrote:

Will we (or how about directly) move them to wifi-firmware- ports?

That's not my plan no, since we're moving toward pkgbase users will have a way to install them or not, moving them to ports gives us nothing.

How will buildworld users install the firmware then?

Dec 14 2024, 4:15 AM

Dec 13 2024

jrtc27 committed rG9aed7107bbfb: mips: Extract HWREna configuration and call from APs (authored by jrtc27).
mips: Extract HWREna configuration and call from APs
Dec 13 2024, 9:38 PM
jrtc27 committed rG8176157d69b8: mips: Extract HWREna configuration and call from APs (authored by jrtc27).
mips: Extract HWREna configuration and call from APs
Dec 13 2024, 9:38 PM
jrtc27 closed D48064: mips: Extract HWREna configuration and call from APs.
Dec 13 2024, 9:37 PM
jrtc27 committed rGd4e02f74fe8d: rtld-elf: Fix for mips with LLD 14+ (authored by jrtc27).
rtld-elf: Fix for mips with LLD 14+
Dec 13 2024, 12:30 AM
jrtc27 committed rGd7bf409a6350: rtld-elf: Fix for mips with LLD 14+ (authored by jrtc27).
rtld-elf: Fix for mips with LLD 14+
Dec 13 2024, 12:19 AM

Dec 12 2024

jrtc27 added inline comments to D48064: mips: Extract HWREna configuration and call from APs.
Dec 12 2024, 11:20 PM
jrtc27 added a comment to D48060: mips: Save off the BSP HWREna register to share with APs.

Alternative proposal: https://reviews.freebsd.org/D48064

Dec 12 2024, 11:19 PM
jrtc27 requested review of D48064: mips: Extract HWREna configuration and call from APs.
Dec 12 2024, 11:19 PM
jrtc27 committed rG50a53aacc9d3: Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS (authored by arichardson).
Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS
Dec 12 2024, 10:45 PM
jrtc27 committed rG3e750057fbba: makefs: avoid warning when creating FAT filesystem on existing file (authored by emaste).
makefs: avoid warning when creating FAT filesystem on existing file
Dec 12 2024, 10:45 PM
jrtc27 added inline comments to D48010: Makefile.inc1: Make reproducible release tarballs.
Dec 12 2024, 9:57 PM
jrtc27 committed rG0c9b413e1a73: mips/malta: Prefer _start over _locore for entry point symbol (authored by jrtc27).
mips/malta: Prefer _start over _locore for entry point symbol
Dec 12 2024, 9:25 PM
jrtc27 committed rGe32b14ef10a7: mips/malta: Prefer _start over _locore for entry point symbol (authored by jrtc27).
mips/malta: Prefer _start over _locore for entry point symbol
Dec 12 2024, 9:25 PM
jrtc27 committed rG2151a0bec08c: mips/malta: Explicitly set AP entry point to _locore (authored by jrtc27).
mips/malta: Explicitly set AP entry point to _locore
Dec 12 2024, 9:11 PM
jrtc27 committed rGcc521bcf790b: mips/malta: Explicitly set AP entry point to _locore (authored by jrtc27).
mips/malta: Explicitly set AP entry point to _locore
Dec 12 2024, 9:10 PM
jrtc27 added inline comments to D48060: mips: Save off the BSP HWREna register to share with APs.
Dec 12 2024, 7:12 PM
jrtc27 added inline comments to D48060: mips: Save off the BSP HWREna register to share with APs.
Dec 12 2024, 7:06 PM
jrtc27 added inline comments to D48010: Makefile.inc1: Make reproducible release tarballs.
Dec 12 2024, 6:29 PM
jrtc27 added a comment to D48058: riscv vmm: add SSTC check.

Also, please upload with full context

Dec 12 2024, 4:56 PM
jrtc27 added a comment to D48058: riscv vmm: add SSTC check.

Do we really want one vm_cap_type entry per extension?

Dec 12 2024, 4:55 PM
jrtc27 added inline comments to D48010: Makefile.inc1: Make reproducible release tarballs.
Dec 12 2024, 4:52 PM
jrtc27 added inline comments to D48056: pkgbase: Remove /boot/firmware from bootloader package.
Dec 12 2024, 4:44 PM

Dec 11 2024

jrtc27 added a comment to D48016: freebsd-update: Error for -b basedir without UNAME_r set.

Is there a reason to not do the right thing automatically via ROOT=... freebsd-version?

Dec 11 2024, 6:25 PM

Dec 10 2024

jrtc27 added inline comments to D44910: sys: Add cpu_update_pcb hook.
Dec 10 2024, 8:00 PM
jrtc27 added inline comments to D48016: freebsd-update: Error for -b basedir without UNAME_r set.
Dec 10 2024, 6:22 PM

Dec 9 2024

jrtc27 added inline comments to D47819: ARM64 GICv3: Fix device table size calculation.
Dec 9 2024, 10:10 PM · arm64
jrtc27 committed rGf8c90b704189: gic_v3: Correctly handle GICC GIGR Base Address case (authored by jrtc27).
gic_v3: Correctly handle GICC GIGR Base Address case
Dec 9 2024, 9:56 PM
jrtc27 closed D47560: gic_v3: Correctly handle GICC GIGR Base Address case.
Dec 9 2024, 9:56 PM
jrtc27 committed rGbe778581eb31: depend-cleanup.sh: Fix overzealous rescue.mk cleanup (authored by jrtc27).
depend-cleanup.sh: Fix overzealous rescue.mk cleanup
Dec 9 2024, 4:25 PM
jrtc27 committed rG9266d812eaf4: depend-cleanup.sh: Fix pretend (-n) mode (authored by jrtc27).
depend-cleanup.sh: Fix pretend (-n) mode
Dec 9 2024, 4:25 PM

Nov 30 2024

jrtc27 added inline comments to D47853: eswin reset driver.
Nov 30 2024, 9:59 PM
jrtc27 added a comment to D47854: hwreset: fix clk_id type.

Honestly we should instead be removing the use of intptr_t for hwreset, it's not a sensible type to use for an ID.

Nov 30 2024, 8:57 PM
jrtc27 added inline comments to D47853: eswin reset driver.
Nov 30 2024, 8:56 PM

Nov 28 2024

jrtc27 added inline comments to D47831: sifive ccache driver.
Nov 28 2024, 10:44 PM

Nov 21 2024

jrtc27 committed rG169e23d41f8f: hexdump.3: Add missing LIBRARY section (authored by dgilbert_eicat.ca).
hexdump.3: Add missing LIBRARY section
Nov 21 2024, 8:24 PM
jrtc27 added a comment to D47560: gic_v3: Correctly handle GICC GIGR Base Address case.

Ping @andrew

Nov 21 2024, 8:01 PM
jrtc27 added a comment to D47688: riscv: Permit spurious faults in kernel mode.

Perhaps worth mentioning in the commit message that RISC-V is unusual in allowing the TLB to cache invalid PTEs

Nov 21 2024, 4:42 PM

Nov 20 2024

jrtc27 committed rG7a3af393d8ac: sys/cdefs.h: Add comments to make #if/#else/#endif triple more obvious (authored by jrtc27).
sys/cdefs.h: Add comments to make #if/#else/#endif triple more obvious
Nov 20 2024, 8:10 PM
jrtc27 added inline comments to D47409: release: factor out common code from make-memstick.sh.
Nov 20 2024, 6:45 PM
jrtc27 added a comment to D47688: riscv: Permit spurious faults in kernel mode.

And amd64 has:

Nov 20 2024, 6:42 PM
jrtc27 added a comment to D47688: riscv: Permit spurious faults in kernel mode.

Also, perhaps worth pointing out arm64 does an unconditional intr_enable for the kernel too...

Nov 20 2024, 6:39 PM
jrtc27 added a comment to D47688: riscv: Permit spurious faults in kernel mode.

Presumably in practice the td_critnest check meant the interrupt enabling didn't matter, as spinlock_enter increments it? I assume there aren't many places where we disable interrupts without also being inside a critical section, so it would only be a problem if that sequence of code itself took a spurious fault.

Nov 20 2024, 6:37 PM
jrtc27 accepted D47407: release: install wireless firmware onto disc1 and dvd.

Thanks, no more objections from me

Nov 20 2024, 4:01 AM
jrtc27 added inline comments to D47491: bsdinstall: add menu to install firmware.
Nov 20 2024, 1:55 AM
jrtc27 added inline comments to D47491: bsdinstall: add menu to install firmware.
Nov 20 2024, 1:41 AM
jrtc27 added inline comments to D47491: bsdinstall: add menu to install firmware.
Nov 20 2024, 1:26 AM
jrtc27 added inline comments to D47491: bsdinstall: add menu to install firmware.
Nov 20 2024, 1:11 AM