Page MenuHomeFreeBSD

freebsdphab-AX9_cmx.ietfng.org (Nathaniel Filardo)
User

Projects

User does not belong to any projects.

User Details

User Since
Apr 17 2020, 10:28 PM (241 w, 4 d)

Recent Activity

Jul 10 2021

freebsdphab-AX9_cmx.ietfng.org added a comment to D31118: riscv pmap_fault: SFENCE.VMA more selectively.

Oof, that erratum; thanks for the heads up. I guess that means there should be some mechanism to replace (other uses of) sfence_vma_page with sfence_vma on effected chips? I think specifically for this case, though, it's fine: the ITLB may still fill with the old entry before this sfence.vma, but pmap_fault only changes A/D here. I suppose there could be an extra fault delivered from caching an A-clear PTE (if the load is done now by some very prognosticative speculation, say) despite that pmap_fault just set it, and I imagine the ITLB doesn't care about D at all. This extra fault will land us here again and cause another sfence.vma and even if the ITLB simultaneously refills the PTE about to be sfence.vma-ed, it will definitely see the A-set PTE from the last go around. That is, I don't think this makes anything worse.

Jul 10 2021, 3:20 PM · riscv

Jul 9 2021

freebsdphab-AX9_cmx.ietfng.org requested review of D31118: riscv pmap_fault: SFENCE.VMA more selectively.
Jul 9 2021, 1:30 PM · riscv

Jun 23 2021

freebsdphab-AX9_cmx.ietfng.org updated the diff for D30286: kqueue: add EV_KEEPUDATA flag.
Jun 23 2021, 2:19 PM
freebsdphab-AX9_cmx.ietfng.org updated the diff for D30864: vm: Change result code for VM_FAULT_NOFILL.
Jun 23 2021, 2:19 PM
freebsdphab-AX9_cmx.ietfng.org updated the diff for D30863: vm: introduce VM_ALLOC_NOZERO.
Jun 23 2021, 2:18 PM

Jun 22 2021

freebsdphab-AX9_cmx.ietfng.org updated the diff for D30286: kqueue: add EV_KEEPUDATA flag.
Jun 22 2021, 7:20 PM
freebsdphab-AX9_cmx.ietfng.org requested review of D30864: vm: Change result code for VM_FAULT_NOFILL.
Jun 22 2021, 1:49 PM
freebsdphab-AX9_cmx.ietfng.org requested review of D30863: vm: introduce VM_ALLOC_NOZERO.
Jun 22 2021, 1:43 PM

Jun 5 2021

freebsdphab-AX9_cmx.ietfng.org accepted D30644: riscv: Handle hardware-managed dirty bit updates in pmap_promote_l2().
Jun 5 2021, 3:16 PM
freebsdphab-AX9_cmx.ietfng.org added a comment to D30644: riscv: Handle hardware-managed dirty bit updates in pmap_promote_l2().

Yes, this does look like it fixes the original panic I saw as well as my hand-written test. Thanks!

Jun 5 2021, 3:15 PM

Jun 4 2021

freebsdphab-AX9_cmx.ietfng.org added inline comments to D30644: riscv: Handle hardware-managed dirty bit updates in pmap_promote_l2().
Jun 4 2021, 8:51 PM

Jun 2 2021

freebsdphab-AX9_cmx.ietfng.org abandoned D30550: RISC-V pmap: remove incorrect assertions in pmap_demote_l2_locked.

Thanks to @markj for the explanation; this is an incorrect fix.

Jun 2 2021, 6:21 PM · riscv

Jun 1 2021

freebsdphab-AX9_cmx.ietfng.org added a reviewer for D30286: kqueue: add EV_KEEPUDATA flag: jhb.
Jun 1 2021, 12:50 PM

May 30 2021

freebsdphab-AX9_cmx.ietfng.org added a comment to D30550: RISC-V pmap: remove incorrect assertions in pmap_demote_l2_locked.

Well, for whatever it's worth, the reproducer seems not to panic on amd64, which is a little surprising as I don't see any special handling for setting PG_M on !VPO_UNMANAGED, PG_RW, psind=1 pages in pmap_enter(), and I'd have thought the MI layers were doing the same thing on both.

May 30 2021, 4:00 PM · riscv
freebsdphab-AX9_cmx.ietfng.org requested review of D30550: RISC-V pmap: remove incorrect assertions in pmap_demote_l2_locked.
May 30 2021, 2:12 PM · riscv

May 29 2021

freebsdphab-AX9_cmx.ietfng.org updated the diff for D27458: makefs cast daddr_t to off_t before multiplication.

Just the casts now, no function or structure type changes. This appears to pass muster locally.

May 29 2021, 12:00 AM

May 16 2021

freebsdphab-AX9_cmx.ietfng.org requested review of D30286: kqueue: add EV_KEEPUDATA flag.
May 16 2021, 12:17 PM

Apr 27 2021

freebsdphab-AX9_cmx.ietfng.org requested review of D30017: libsysdecode vmprot should accept underscores in bit names.
Apr 27 2021, 11:22 PM

Dec 7 2020

freebsdphab-AX9_cmx.ietfng.org updated the summary of D27458: makefs cast daddr_t to off_t before multiplication.
Dec 7 2020, 8:55 PM
freebsdphab-AX9_cmx.ietfng.org requested review of D27502: kqueue: tidy knlist_init.
Dec 7 2020, 8:53 PM

Dec 3 2020

freebsdphab-AX9_cmx.ietfng.org requested review of D27458: makefs cast daddr_t to off_t before multiplication.
Dec 3 2020, 3:13 PM

Oct 8 2020

freebsdphab-AX9_cmx.ietfng.org updated the diff for D26607: riscv pmap: zero reserved pte bits in ppn for l2 leaf entries, too.

Renamed macro as per mhorne's feedback

Oct 8 2020, 11:37 PM · riscv

Sep 30 2020

freebsdphab-AX9_cmx.ietfng.org requested review of D26607: riscv pmap: zero reserved pte bits in ppn for l2 leaf entries, too.
Sep 30 2020, 12:35 PM · riscv

Jul 17 2020

freebsdphab-AX9_cmx.ietfng.org added a comment to D25544: riscv: look for bootargs in FDT.

Incorporate feedback from @mhorne

Jul 17 2020, 1:38 PM · riscv
freebsdphab-AX9_cmx.ietfng.org updated the diff for D25544: riscv: look for bootargs in FDT.
Jul 17 2020, 1:37 PM · riscv
freebsdphab-AX9_cmx.ietfng.org added inline comments to D25544: riscv: look for bootargs in FDT.
Jul 17 2020, 2:09 AM · riscv

Jul 2 2020

freebsdphab-AX9_cmx.ietfng.org updated the diff for D25544: riscv: look for bootargs in FDT.

Sorry, newbie learning way around arc. Seems it grabbed an unintended commit.

Jul 2 2020, 4:16 PM · riscv
freebsdphab-AX9_cmx.ietfng.org updated the diff for D25544: riscv: look for bootargs in FDT.

Slightly less code motion; tested using qemu "-append -s" on FreeBSD machine I'd forgotten about.

Jul 2 2020, 4:15 PM · riscv
freebsdphab-AX9_cmx.ietfng.org updated the diff for D25544: riscv: look for bootargs in FDT.

Revised in light of jrtc27's comments. Unfortunately, I lack a FreeBSD box to build and test this on (sorry, CheriBSD builds fine and I didn't think about our being lagged relative to upstream); perhaps someone who does would be so kind as to let me know if I've broken something?

Jul 2 2020, 4:18 AM · riscv
freebsdphab-AX9_cmx.ietfng.org updated the test plan for D25544: riscv: look for bootargs in FDT.
Jul 2 2020, 4:16 AM · riscv
freebsdphab-AX9_cmx.ietfng.org requested review of D25544: riscv: look for bootargs in FDT.
Jul 2 2020, 2:13 AM · riscv

Jul 1 2020

freebsdphab-AX9_cmx.ietfng.org updated the diff for D25523: riscv pmap: zero reserved pte bits in ppn.

Feedback from mhorne.

Jul 1 2020, 5:20 PM · riscv
freebsdphab-AX9_cmx.ietfng.org added a comment to D25524: riscv locore.S: load constant prior to loop.

Yes, that's a fine "Submitted by".

Jul 1 2020, 3:02 PM · riscv

Jun 30 2020

freebsdphab-AX9_cmx.ietfng.org updated the summary of D25524: riscv locore.S: load constant prior to loop.
Jun 30 2020, 8:15 PM · riscv
freebsdphab-AX9_cmx.ietfng.org requested review of D25524: riscv locore.S: load constant prior to loop.
Jun 30 2020, 8:13 PM · riscv
freebsdphab-AX9_cmx.ietfng.org requested review of D25523: riscv pmap: zero reserved pte bits in ppn.
Jun 30 2020, 8:08 PM · riscv

Apr 24 2020

freebsdphab-AX9_cmx.ietfng.org updated the diff for D24491: mips _pmap_unwire_ptp races MipsDoTLBMiss.

More respose to markj feedback

Apr 24 2020, 2:40 PM · MIPS

Apr 23 2020

freebsdphab-AX9_cmx.ietfng.org updated the diff for D24491: mips _pmap_unwire_ptp races MipsDoTLBMiss.

Revised version as per markj's feedback

Apr 23 2020, 1:20 AM · MIPS
freebsdphab-AX9_cmx.ietfng.org added inline comments to D24491: mips _pmap_unwire_ptp races MipsDoTLBMiss.
Apr 23 2020, 1:18 AM · MIPS

Apr 21 2020

freebsdphab-AX9_cmx.ietfng.org retitled D24491: mips _pmap_unwire_ptp races MipsDoTLBMiss from Fix two races in the MIPS pmap to mips _pmap_unwire_ptp races MipsDoTLBMiss.
Apr 21 2020, 6:40 PM · MIPS
freebsdphab-AX9_cmx.ietfng.org updated the diff for D24491: mips _pmap_unwire_ptp races MipsDoTLBMiss.

Now without D24523 included

Apr 21 2020, 6:39 PM · MIPS
freebsdphab-AX9_cmx.ietfng.org added reviewers for D24523: mips pmap: pmap_emulate_modified race fix: kib, markj, brett-gutstein.
Apr 21 2020, 6:37 PM · MIPS
freebsdphab-AX9_cmx.ietfng.org created D24523: mips pmap: pmap_emulate_modified race fix.
Apr 21 2020, 6:35 PM · MIPS

Apr 18 2020

freebsdphab-AX9_cmx.ietfng.org added a reviewer for D24491: mips _pmap_unwire_ptp races MipsDoTLBMiss: brett-gutstein.
Apr 18 2020, 11:15 PM · MIPS
freebsdphab-AX9_cmx.ietfng.org added reviewers for D24491: mips _pmap_unwire_ptp races MipsDoTLBMiss: kib, markj.
Apr 18 2020, 11:14 PM · MIPS
freebsdphab-AX9_cmx.ietfng.org created D24491: mips _pmap_unwire_ptp races MipsDoTLBMiss.
Apr 18 2020, 11:11 PM · MIPS