Page MenuHomeFreeBSD
Feed All Stories

Jul 2 2020

jbeich committed rP541007: MFH: r535268.
MFH: r535268
Jul 2 2020, 2:56 AM
jbeich committed rP541006: MFH: r535267.
MFH: r535267
Jul 2 2020, 2:23 AM
jrtc27 added a comment to D25544: riscv: look for bootargs in FDT.

Also, please avoid filing revisions with CheriBSD tainting the diff; it can be misleading, as well as the fact that we're always a bit behind (and in this case it does matter because of the loader(8) patch landing).

Jul 2 2020, 2:22 AM · riscv
jrtc27 added a comment to D25544: riscv: look for bootargs in FDT.

arm64's parse_fdt_bootargs deals with loader(8) which will normally handle these for us when used, so we need to copy that approach given https://reviews.freebsd.org/D24912 has landed. My guess is the best place for it is parse_metadata around where we currently call init_static_kenv, to match arm64.

Jul 2 2020, 2:21 AM · riscv
freebsdphab-AX9_cmx.ietfng.org requested review of D25544: riscv: look for bootargs in FDT.
Jul 2 2020, 2:13 AM · riscv
ler committed rP541005: devel/cdecl: update to 7.4..
devel/cdecl: update to 7.4.
Jul 2 2020, 1:57 AM
mav committed rS362882: Release Ryan Moeller (freqlabs) from mentorship..
Release Ryan Moeller (freqlabs) from mentorship.
Jul 2 2020, 1:10 AM
mav committed rS362881: MFC r362630: Fix few panics on NVMe's timing out initialization requests..
MFC r362630: Fix few panics on NVMe's timing out initialization requests.
Jul 2 2020, 1:02 AM
jbeich committed rP541004: multimedia/vmaf: update to 1.5.2.
multimedia/vmaf: update to 1.5.2
Jul 2 2020, 12:54 AM
jbeich committed rP541003: graphics/mesa-devel: update to 20.1.b.2478.
graphics/mesa-devel: update to 20.1.b.2478
Jul 2 2020, 12:54 AM

Jul 1 2020

tuexen committed rS362880: MFC r349893:.
MFC r349893:
Jul 1 2020, 11:48 PM
cem requested changes to D25312: Relax the rule against declaring variables in nested scopes..

The first hunk is fine and should go in on its own. Again, I'd prefer a vague "prefer top-level default" / don't overdo it, folks, but whatever. It's ok.

Jul 1 2020, 11:25 PM
sef accepted D25312: Relax the rule against declaring variables in nested scopes..
Jul 1 2020, 11:21 PM
markm accepted D25312: Relax the rule against declaring variables in nested scopes..

Happy with this.

Jul 1 2020, 11:20 PM
jrtc27 added a comment to D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.
In D25531#564563, @jhb wrote:

FWIW, the general strategy on x86 and other platforms is to mask the interrupt in the PIC in the "pre_ithread" hook and later re-enable it in the PIC again in the "post_ithread" hook. Both "pre_ithread" and "post_filter" send an EOI as they are the only ones guaranteed to run synchronously on the CPU which received the interrupt. MSI alleviates the need for masking on most platforms since it is effectively edge triggered so actual level-triggered interrupts are rare on many modern systems. I'm not quite sure how that model translates to the PLIC, but on the surface reading the description of this commit seems to imply it is not doing the same thing at all. The reason we did this on x86 is that the EOI was global and could not be deferred to post_ithread. If you don't have a global EOI but instead are free to get additional interrupts (including additional lower priority interrupts) while the interrupt is not claimed, then I think your commit will work fine. However, if a high priority interrupt (PLIC priority) blocks other interrupts then you are letting that ithread starve the filters, etc. for other devices which is probably not ideal.

That's what the driver is currently doing in plic_pre_ithread and plic_post_ithread. The spec sucks and doesn't really say what claim/complete actually do, but at least the QEMU and Bluespec implementations of the PLIC will clear the IP bit and forbid the IP bit going high until completed, effectively masking the interrupt for _every_ target by masking on the _source_.

Jul 1 2020, 11:07 PM
dbaio committed rP541002: security/pecl-ssh2: Update to 1.2.
security/pecl-ssh2: Update to 1.2
Jul 1 2020, 11:02 PM
joneum committed rP541001: Update to -rc11.
Update to -rc11
Jul 1 2020, 10:59 PM
tuexen committed rS362879: MFC r356796:.
MFC r356796:
Jul 1 2020, 10:31 PM
jbeich committed rP541000: UCLify pkg-message in my ports.
UCLify pkg-message in my ports
Jul 1 2020, 10:22 PM
tuexen committed rS362878: MFC r356663:.
MFC r356663:
Jul 1 2020, 10:22 PM
jbeich committed rP540999: emulators/yuzu: drop Qt5OpenGL runtime dependency.
emulators/yuzu: drop Qt5OpenGL runtime dependency
Jul 1 2020, 10:22 PM
jbeich committed rP540998: emulators/yuzu: drop USES=iconv after r466695.
emulators/yuzu: drop USES=iconv after r466695
Jul 1 2020, 10:21 PM
jbeich committed rP540997: emulators/yuzu: drop -Werror workaround after r531465.
emulators/yuzu: drop -Werror workaround after r531465
Jul 1 2020, 10:21 PM
jbeich committed rP540996: emulators/yuzu: update pkg-descr.
emulators/yuzu: update pkg-descr
Jul 1 2020, 10:21 PM
asomers requested review of D25543: Fix page fault in zfsctl_snapdir_getattr.
Jul 1 2020, 10:17 PM
mandree committed rP540995: security/putty*: take LICENCE file from extracted source,.
security/putty*: take LICENCE file from extracted source,
Jul 1 2020, 10:14 PM
tuexen committed rS362877: MFC r356660:.
MFC r356660:
Jul 1 2020, 10:00 PM
tuexen committed rS362876: MFC r356378:.
MFC r356378:
Jul 1 2020, 9:59 PM
tuexen committed rS362875: MFC r356377:.
MFC r356377:
Jul 1 2020, 9:57 PM
tuexen committed rS362874: MFC r356376:.
MFC r356376:
Jul 1 2020, 9:56 PM
tuexen committed rS362873: MFC r356357:.
MFC r356357:
Jul 1 2020, 9:54 PM
tuexen committed rS362872: MFC r356270:.
MFC r356270:
Jul 1 2020, 9:52 PM
tuexen committed rS362871: MFC r355272:.
MFC r355272:
Jul 1 2020, 9:48 PM
arichardson accepted D25312: Relax the rule against declaring variables in nested scopes..
Jul 1 2020, 9:44 PM
tuexen committed rS362870: MFC r356227:.
MFC r356227:
Jul 1 2020, 9:43 PM
tuexen committed rS362869: MFC r356226:.
MFC r356226:
Jul 1 2020, 9:40 PM
tuexen committed rS362868: MFC r355931:.
MFC r355931:
Jul 1 2020, 9:37 PM
melifaro accepted D25312: Relax the rule against declaring variables in nested scopes..
Jul 1 2020, 9:34 PM
gnn accepted D25312: Relax the rule against declaring variables in nested scopes..
Jul 1 2020, 9:33 PM
rmacklem committed rS362867: Get rid of a shutdown() call, since it is now done in the kernel for this case..
Get rid of a shutdown() call, since it is now done in the kernel for this case.
Jul 1 2020, 9:27 PM
rmacklem committed rS362866: Clarify a comment related to closing a socket after handshake failure..
Clarify a comment related to closing a socket after handshake failure.
Jul 1 2020, 9:21 PM
jilles added a comment to D25525: Add timerisvalid() from OpenBSD.

Since struct timeval is mostly obsoleted by struct timespec, I suggest adding this only when there is existing code using it.

Jul 1 2020, 9:20 PM
rmacklem committed rS362865: Add a new xp_tls flag to indicate handshake failure..
Add a new xp_tls flag to indicate handshake failure.
Jul 1 2020, 9:19 PM
gbe added a comment to D25522: Handbook: Pre-Installation Tasks: Update the dd example.
In D25522#564549, @bcr wrote:

OK, thanks for these assessments.
@gbe: Can you either update the diff or close the PR if you think that is better than changing the existing text (just for the process= part)? For example, it could be "not a bug".

Jul 1 2020, 9:07 PM
kp accepted D25312: Relax the rule against declaring variables in nested scopes..
Jul 1 2020, 9:05 PM
linimon committed rP540994: Add compiler:c++17-lang to USES to attempt to fix the build on GCC-based.
Add compiler:c++17-lang to USES to attempt to fix the build on GCC-based
Jul 1 2020, 8:56 PM
imp added a comment to D25312: Relax the rule against declaring variables in nested scopes..
In D25312#564662, @jhb wrote:

I think the rule to only use initializers when the value is constant is probably a good compromise.

Jul 1 2020, 8:52 PM
linimon committed rP540993: Add compiler:c++11-lang to USES to fix build on GCC-based systems:.
Add compiler:c++11-lang to USES to fix build on GCC-based systems:
Jul 1 2020, 8:47 PM
tuexen committed rS362864: MFC r355268:.
MFC r355268:
Jul 1 2020, 8:45 PM
jhb accepted D25312: Relax the rule against declaring variables in nested scopes..

I think this is probably consistent with a fair bit of code in the tree which does use patterns like

Jul 1 2020, 8:45 PM
tsoome accepted D25312: Relax the rule against declaring variables in nested scopes..
Jul 1 2020, 8:43 PM
linimon committed rP540992: Add compiler:c++11-lang to USES to fix build on GCC-based systems:.
Add compiler:c++11-lang to USES to fix build on GCC-based systems:
Jul 1 2020, 8:43 PM
tuexen committed rS362863: MFC r355266:.
MFC r355266:
Jul 1 2020, 8:41 PM
jhb added a comment to D25417: Add a driver for the SafeXcel EIP-97..

The OCF interface looks fine to me. Supporting separate output and separate AAD is optional. For IPsec separate AAD will be more meaningful once the semi half folks land ESN support. (ESN uses a 64-bit sequence number where the upper 32-bits are implicit and never sent on the wire, so not in the mbuf.)

Jul 1 2020, 8:40 PM
tuexen committed rS362862: MFC r355265:.
MFC r355265:
Jul 1 2020, 8:39 PM
jhb added inline comments to D25417: Add a driver for the SafeXcel EIP-97..
Jul 1 2020, 8:38 PM
tuexen committed rS362861: MFC r355264:.
MFC r355264:
Jul 1 2020, 8:37 PM
imp updated the diff for D25312: Relax the rule against declaring variables in nested scopes..

Update to match what I think the conensus is in this review. Please
tell me how well I did :)

Jul 1 2020, 8:36 PM
tuexen committed rS362860: MFC r355172:.
MFC r355172:
Jul 1 2020, 8:33 PM
lwhsu closed D25542: Add markj to jenkins-admin as the new Core Team Liaison.
Jul 1 2020, 8:31 PM
lwhsu committed rD54308: Add markj to jenkins-admin as the new Core Team Liaison.
Add markj to jenkins-admin as the new Core Team Liaison
Jul 1 2020, 8:31 PM
tuexen committed rS362859: MFC r355135: Plug two mbuf leaks during INIT-ACK handling..
MFC r355135: Plug two mbuf leaks during INIT-ACK handling.
Jul 1 2020, 8:26 PM
bcr accepted D25542: Add markj to jenkins-admin as the new Core Team Liaison.

Looks good from the doc side of things.

Jul 1 2020, 8:25 PM
lwhsu requested review of D25542: Add markj to jenkins-admin as the new Core Team Liaison.
Jul 1 2020, 8:12 PM
Herald added a reviewer for D19118: Add Boundary and Overflow checks in Cubic formulas: transport.
Jul 1 2020, 8:09 PM
tuexen committed rS362858: MFC r354774:.
MFC r354774:
Jul 1 2020, 8:09 PM
dvl added a comment to D25450: Mk/Scripts/qa.sh: Allow users to override the depends_blacklist QA check.

What is the next step?

Jul 1 2020, 8:08 PM
jrm committed rP540991: www/chromium: Update to 83.0.4103.116, which includes two security fixes.
www/chromium: Update to 83.0.4103.116, which includes two security fixes
Jul 1 2020, 8:08 PM
jrm closed D25540: www/chromium: Update to 83.0.4103.116, which includes two security fixes.
Jul 1 2020, 8:08 PM
wulf added a comment to D25538: sysutils/iichid: Update to 0.0.3.

Following is Makefile I was going to submit to ports some time ago:

Jul 1 2020, 7:59 PM
tuexen committed rS362857: MFC r354773: Improve TCP CUBIC specific after idle reaction..
MFC r354773: Improve TCP CUBIC specific after idle reaction.
Jul 1 2020, 7:50 PM
vmaffione committed rS362856: MFC r362204.
MFC r362204
Jul 1 2020, 7:42 PM
tuexen committed rS362855: MFC r353482: Add missing include which breaks builds without VIMAGE..
MFC r353482: Add missing include which breaks builds without VIMAGE.
Jul 1 2020, 7:41 PM
zeising abandoned D23061: [NEW PORT] net/rpki-client: RFC 6480 resource PKI client.

The same port was added by me in rP540988.
Abandoning (the same as closing without committing) this.

Jul 1 2020, 7:38 PM
zeising commandeered D23061: [NEW PORT] net/rpki-client: RFC 6480 resource PKI client.
Jul 1 2020, 7:37 PM
vmaffione updated the summary of D25541: iflib: initialize netmap with the correct number of descriptors.
Jul 1 2020, 7:36 PM
vmaffione requested review of D25541: iflib: initialize netmap with the correct number of descriptors.
Jul 1 2020, 7:24 PM
zeising committed rP540990: x11/libinput: Update to 1.15.6.
x11/libinput: Update to 1.15.6
Jul 1 2020, 7:23 PM
tuexen committed rS362854: MFC r354772: Implement a TCP CUBIC-specific after idle reaction..
MFC r354772: Implement a TCP CUBIC-specific after idle reaction.
Jul 1 2020, 7:23 PM
Herald added 1 blocking reviewer(s) for D18954: Implement Cubic-specific After-Idle reaction: transport.
Jul 1 2020, 7:23 PM
kp added a comment to D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.
In D25531#564579, @kp wrote:

That reminds me: the qemu implementation has a bug that means it won't trigger interrupts when we re-enable them, leading to stalls (until you trigger another interrupt, e.g. by sending something on the console).

The following Qemu patch fixes that:

It appears that Qemu is aware of this, and a patch is either already in, or on its way in: https://lists.nongnu.org/archive/html/qemu-riscv/2020-06/msg00304.html
And upon re-reading that e-mail, it looks like you may already be aware of this too...

Jul 1 2020, 7:22 PM
jrtc27 added a comment to D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.
In D25531#564579, @kp wrote:

That's what the driver is currently doing in plic_pre_ithread and plic_post_ithread. The spec sucks and doesn't really say what claim/complete actually do, but at least the QEMU and Bluespec implementations of the PLIC will clear the IP bit and forbid the IP bit going high until completed, effectively masking the interrupt for _every_ target by masking on the _source_.

That reminds me: the qemu implementation has a bug that means it won't trigger interrupts when we re-enable them, leading to stalls (until you trigger another interrupt, e.g. by sending something on the console).

The following Qemu patch fixes that:

--- hw/riscv/sifive_plic.c.orig	2019-11-14 19:06:20.000000000 +0100
+++ hw/riscv/sifive_plic.c	2020-07-01 15:59:38.882119000 +0200
@@ -290,6 +290,7 @@
             qemu_log("plic: write priority: irq=%d priority=%d\n",
                 irq, plic->source_priority[irq]);
         }
+        sifive_plic_update(plic);
         return;
     } else if (addr >= plic->pending_base && /* 1 bit per source */
                addr < plic->pending_base + (plic->num_sources >> 3))

Ahh, I have experienced this. It might be responsible for the deadlocks @trasz has seen running the test suite in CI. Has this patch been submitted upstream?

Jul 1 2020, 7:21 PM
mhorne updated subscribers of D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.
In D25531#564579, @kp wrote:

That's what the driver is currently doing in plic_pre_ithread and plic_post_ithread. The spec sucks and doesn't really say what claim/complete actually do, but at least the QEMU and Bluespec implementations of the PLIC will clear the IP bit and forbid the IP bit going high until completed, effectively masking the interrupt for _every_ target by masking on the _source_.

That reminds me: the qemu implementation has a bug that means it won't trigger interrupts when we re-enable them, leading to stalls (until you trigger another interrupt, e.g. by sending something on the console).

The following Qemu patch fixes that:

--- hw/riscv/sifive_plic.c.orig	2019-11-14 19:06:20.000000000 +0100
+++ hw/riscv/sifive_plic.c	2020-07-01 15:59:38.882119000 +0200
@@ -290,6 +290,7 @@
             qemu_log("plic: write priority: irq=%d priority=%d\n",
                 irq, plic->source_priority[irq]);
         }
+        sifive_plic_update(plic);
         return;
     } else if (addr >= plic->pending_base && /* 1 bit per source */
                addr < plic->pending_base + (plic->num_sources >> 3))
Jul 1 2020, 7:20 PM
kp closed D25523: riscv pmap: zero reserved pte bits in ppn.
Jul 1 2020, 7:16 PM · riscv
kp committed rS362853: riscv pmap: zero reserved pte bits in ppn.
riscv pmap: zero reserved pte bits in ppn
Jul 1 2020, 7:16 PM
markj added a comment to D24755: Permit deferred creation of SMR structures for the VM radix zone..

Any objections to this change? It's a prerequisite for using 2MB pages for per-CPU data.

Jul 1 2020, 7:13 PM
kp committed rS362852: riscv locore.S: load constant prior to loop.
riscv locore.S: load constant prior to loop
Jul 1 2020, 7:13 PM
kp closed D25524: riscv locore.S: load constant prior to loop.
Jul 1 2020, 7:13 PM · riscv
kp committed rS362851: riscv: Log missing registers in dump_regs().
riscv: Log missing registers in dump_regs()
Jul 1 2020, 7:11 PM
kp updated the diff for D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.

Add comments requested by mhorne

Jul 1 2020, 7:07 PM
kp added a comment to D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.

That's what the driver is currently doing in plic_pre_ithread and plic_post_ithread. The spec sucks and doesn't really say what claim/complete actually do, but at least the QEMU and Bluespec implementations of the PLIC will clear the IP bit and forbid the IP bit going high until completed, effectively masking the interrupt for _every_ target by masking on the _source_.

Jul 1 2020, 7:03 PM
kp added a comment to D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.
In D25531#564563, @jhb wrote:

FWIW, the general strategy on x86 and other platforms is to mask the interrupt in the PIC in the "pre_ithread" hook and later re-enable it in the PIC again in the "post_ithread" hook. Both "pre_ithread" and "post_filter" send an EOI as they are the only ones guaranteed to run synchronously on the CPU which received the interrupt.

Jul 1 2020, 6:49 PM
yuri committed rP540989: devel/simdjson: Update 0.3.1 -> 0.4.6.
devel/simdjson: Update 0.3.1 -> 0.4.6
Jul 1 2020, 6:43 PM
jrtc27 added a comment to D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.
In D25531#564563, @jhb wrote:

FWIW, the general strategy on x86 and other platforms is to mask the interrupt in the PIC in the "pre_ithread" hook and later re-enable it in the PIC again in the "post_ithread" hook. Both "pre_ithread" and "post_filter" send an EOI as they are the only ones guaranteed to run synchronously on the CPU which received the interrupt. MSI alleviates the need for masking on most platforms since it is effectively edge triggered so actual level-triggered interrupts are rare on many modern systems. I'm not quite sure how that model translates to the PLIC, but on the surface reading the description of this commit seems to imply it is not doing the same thing at all. The reason we did this on x86 is that the EOI was global and could not be deferred to post_ithread. If you don't have a global EOI but instead are free to get additional interrupts (including additional lower priority interrupts) while the interrupt is not claimed, then I think your commit will work fine. However, if a high priority interrupt (PLIC priority) blocks other interrupts then you are letting that ithread starve the filters, etc. for other devices which is probably not ideal.

Jul 1 2020, 6:42 PM
zeising committed rP540988: Add new port: net/rpki-client.
Add new port: net/rpki-client
Jul 1 2020, 6:38 PM
mmacy added a comment to D25530: Fix LOR with bpf detach.

Why is it safe to just drop the lock?

What exactly is the LOR? I just see a stack.

Jul 1 2020, 6:37 PM
cem accepted D25540: www/chromium: Update to 83.0.4103.116, which includes two security fixes.

Rene reported build success on CURRENT-amd64 as well. Small update, LGTM.

Jul 1 2020, 6:30 PM
jrm updated the test plan for D25540: www/chromium: Update to 83.0.4103.116, which includes two security fixes.
Jul 1 2020, 6:24 PM
jrm requested review of D25540: www/chromium: Update to 83.0.4103.116, which includes two security fixes.
Jul 1 2020, 6:23 PM
jhb added a comment to D25531: riscv plic: Do not complete interrupts until the interrupt handler has run.

FWIW, the general strategy on x86 and other platforms is to mask the interrupt in the PIC in the "pre_ithread" hook and later re-enable it in the PIC again in the "post_ithread" hook. Both "pre_ithread" and "post_filter" send an EOI as they are the only ones guaranteed to run synchronously on the CPU which received the interrupt. MSI alleviates the need for masking on most platforms since it is effectively edge triggered so actual level-triggered interrupts are rare on many modern systems. I'm not quite sure how that model translates to the PLIC, but on the surface reading the description of this commit seems to imply it is not doing the same thing at all. The reason we did this on x86 is that the EOI was global and could not be deferred to post_ithread. If you don't have a global EOI but instead are free to get additional interrupts (including additional lower priority interrupts) while the interrupt is not claimed, then I think your commit will work fine. However, if a high priority interrupt (PLIC priority) blocks other interrupts then you are letting that ithread starve the filters, etc. for other devices which is probably not ideal.

Jul 1 2020, 6:20 PM