Page MenuHomeFreeBSD
Feed Advanced Search

Apr 20 2019

rgrimes added a comment to D19993: Don't symlink fusefs.ko to fuse.ko on PPC.

We only need to maintain "backwards" compatibility in the stable/ branches (12 and 11) as far as I am concerned head can just nuke the compatibilty link, and have a 13.0 release notes item that is "fuse has been renamed to fusefs".

Apr 20 2019, 10:28 PM
rgrimes requested changes to D19976: bhyve: Support a _VARS.fd file for bootrom.
Apr 20 2019, 12:45 AM
rgrimes accepted D19975: vmm: Add emulation for the `add` instruction.

A question to @jhb, should the order of the enum and the code updated to be in alphabetic order, in a seperate review, it would only obfuscate the change to do it here.

Apr 20 2019, 12:09 AM

Apr 15 2019

rgrimes accepted D19587: net: adjust randomized address bits.
Apr 15 2019, 10:46 PM

Apr 14 2019

rgrimes accepted D19905: bhyve: Add EUI64 to NVMe device.
Apr 14 2019, 6:30 PM
rgrimes accepted D19904: bhyve: Add Integrated Endpoint to PCIe Capability.

Looks good, other than a lot of extra blank lines.

Apr 14 2019, 6:26 PM

Apr 12 2019

rgrimes added a comment to D19587: net: adjust randomized address bits.

Would iflib like any kind of UPDATING or relnote mention for the generated 'stable' MAC address likely changing (since we're restricting the range now to a subset of the FF OUI), or is it fine without explicit mention?

Apr 12 2019, 4:26 PM

Apr 7 2019

rgrimes accepted D19839: add INET6 support to nfsdumpstate for the client callback address.

You can mark all my comments as done, you have addressed them to my satisfaction.

Apr 7 2019, 8:47 PM
rgrimes added inline comments to D19839: add INET6 support to nfsdumpstate for the client callback address.
Apr 7 2019, 3:57 AM

Apr 6 2019

rgrimes added inline comments to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.
Apr 6 2019, 8:13 AM
rgrimes accepted D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.
Apr 6 2019, 4:14 AM

Apr 5 2019

rgrimes added a comment to D18670: Minor speedup for load_kld function.

I have performed a visual only review.

Greatly appreciated. Can I take that as approval by a src developer?

Apr 5 2019, 9:26 PM
rgrimes accepted D18670: Minor speedup for load_kld function.

I have performed a visual only review.

Apr 5 2019, 9:01 PM
rgrimes accepted D19829: Write string constant differently to improve readability..

Thank you, that is 100x clearer as to what is in the constant

Apr 5 2019, 8:15 AM

Apr 3 2019

rgrimes accepted D19695: bhyve(8): Fix NVMe data structure copy to guest.

Confirmation of a working Windows 2019 boot after this patch: https://lists.freebsd.org/pipermail/freebsd-virtualization/2019-April/007333.html

Apr 3 2019, 9:01 AM

Apr 2 2019

rgrimes added a comment to D19788: bhyve: Use separate fds for stdin and stdout..

Can we get a review to cause bhyve -b to emit a deprecation warning notice (gone_in(13)) if someone tries to use it? That could be merged to stable/12, then the code in head killed.
This would also apply to the bvmconsole driver, is there someway to emit a warning during config(8) when someone uses a feature being deprecated? Doing this provides us feedback
sooner rather than later that some feature was in use some place.

Apr 2 2019, 2:32 AM
rgrimes accepted D19786: bhyve: Fix indentation in uart_emul.c.

Looks like someone may of removed a condition at some time in the past and not re-dented the code to produce a minimal diff.

Apr 2 2019, 2:15 AM
rgrimes accepted D19787: bhyve: Stop compiling with -O0..

Does this variable get used by default? I saw this here and just ignored it as I thought it would only be invoked if I asked for a DEBUG build from a level above. If we are always adding DEBUG_FLAGS to our compiles perhaps it should be called something else?

Apr 2 2019, 1:54 AM

Mar 25 2019

rgrimes resigned from D19019: zfs stand: plumb primary vdev out through zfs_probe_dev as needed.
Mar 25 2019, 9:21 AM

Mar 19 2019

rgrimes added a comment to D19649: Rename fuse(4) to fusefs(4).

Please have a discussion on arch@ or filesystems@, this review needs more discussion

Mar 19 2019, 10:23 PM
rgrimes added a comment to D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.

Can I get some final accept on this, I updated the open issues

Mar 19 2019, 3:01 AM

Mar 15 2019

rgrimes added inline comments to D19587: net: adjust randomized address bits.
Mar 15 2019, 7:42 PM

Mar 14 2019

rgrimes accepted D19580: Fix bhyve PCIe capability emulation.
Mar 14 2019, 11:38 AM
rgrimes added reviewers for D19580: Fix bhyve PCIe capability emulation: jhb, rgrimes.
Mar 14 2019, 11:34 AM
rgrimes accepted D19579: Fix bhyve's NVMe Identify Namespace data.
Mar 14 2019, 11:30 AM
rgrimes added a reviewer for D19579: Fix bhyve's NVMe Identify Namespace data: jhb.
Mar 14 2019, 11:29 AM

Mar 11 2019

rgrimes added inline comments to D19357: PFIL_MEMPTR support for ipfw link level hook.
Mar 11 2019, 10:05 PM
rgrimes accepted D19535: Support device-independent labels for geom_flashmap slices..
Mar 11 2019, 5:16 PM
rgrimes added a comment to D19535: Support device-independent labels for geom_flashmap slices..

I like it, just nits, that for the most part you can ignore, other than $FreeBSD: vs $FreeBSD$

Mar 11 2019, 5:16 PM

Mar 9 2019

rgrimes added a comment to D19506: Fix bug in bhyve by ignoring writes to errata MSRs in AMD cpus.

This appears to be used to deal with a core hang on specific CPU's, we need to see that we have mitigated that in the host, and the decide what the appropriate action here is, I am uncomfortable with just making this silently disappear. Deferning to jhb.

Mar 9 2019, 7:55 PM · bhyve
rgrimes added a comment to D19506: Fix bug in bhyve by ignoring writes to errata MSRs in AMD cpus.

Though this does fix your issue by silencing the log, it does little to improve the situation. I think what we may want to do is to add yet another option to the bhyve command that along with -w to ignore invalid MSR access to do so silently so that we do not have to add code like this everything a new msr comes into play. John, Patrick your thoughts on this approach?

Mar 9 2019, 1:44 PM · bhyve
rgrimes added reviewers for D19506: Fix bug in bhyve by ignoring writes to errata MSRs in AMD cpus: jhb, pmooney_pfmooney.com.
Mar 9 2019, 1:34 PM · bhyve

Mar 8 2019

rgrimes added a comment to D19426: post-commit hooks: Accept BZ URLs in PR lines.

I would be comfortable with simply "https://bugs.freebsd.org/12344" as that can likely work forever.

Note that https://bugs.freebsd.org/12344 does work - we should accept either https://bugs.freebsd.org/bugzilla/show_bug.cgi?id= or https://bugs.freebsd.org/[0-9]+

Mar 8 2019, 9:33 PM
rgrimes added a comment to D19459: subversion: update commit message template to allow URLs in PR field.

I believe what your wanting is web server re-write rules, that would rewrite the URL in and out of the web pages to have the preffered form. Beyond my area of expertise to implement, but I know it can be done and that is probably the easiest place to do it (ie, no modifying bugzilla should be required.)

Mar 8 2019, 4:43 PM

Mar 7 2019

rgrimes accepted D19501: bhyve virtio needs barriers.
Mar 7 2019, 8:51 PM
rgrimes accepted D19499: bhyve uart broken for win2016 guest.

I removed a redundant "to" in the description. Patch looks good to me. Copyright over to jhb@

Mar 7 2019, 8:47 PM · bhyve
rgrimes updated the summary of D19499: bhyve uart broken for win2016 guest.
Mar 7 2019, 8:46 PM · bhyve

Mar 6 2019

rgrimes accepted D19485: Drop "All rights reserved" from my copyright statements..
Mar 6 2019, 9:58 PM
rgrimes added inline comments to D19485: Drop "All rights reserved" from my copyright statements..
Mar 6 2019, 9:28 PM
rgrimes added a comment to D19485: Drop "All rights reserved" from my copyright statements..

I'll review if you ack your are done updating John

Mar 6 2019, 8:07 PM
rgrimes accepted D19485: Drop "All rights reserved" from my copyright statements..
Mar 6 2019, 7:46 PM

Mar 5 2019

rgrimes accepted D19460: subversion: update commit message template to allow URLs in PR field.
Mar 5 2019, 7:42 PM
rgrimes added a comment to D19460: subversion: update commit message template to allow URLs in PR field.

Close, very very close, but still slightly short of leaving no doubt as to what goes here.

Mar 5 2019, 7:22 PM

Mar 4 2019

rgrimes added inline comments to D19459: subversion: update commit message template to allow URLs in PR field.
Mar 4 2019, 10:12 PM

Mar 1 2019

rgrimes added a reviewer for D19426: post-commit hooks: Accept BZ URLs in PR lines: rgrimes.
Mar 1 2019, 9:24 PM
rgrimes added a comment to D19426: post-commit hooks: Accept BZ URLs in PR lines.

Missing is the change to the commit message template to update it to say URL instead of PRxxxx

Mar 1 2019, 9:23 PM
rgrimes accepted D19422: if_vxlan(4) Allow set MTU more than 1500 bytes..
Mar 1 2019, 4:56 PM

Feb 28 2019

rgrimes added inline comments to D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.
Feb 28 2019, 2:51 PM
rgrimes updated the diff for D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.

Convert nat64_check_ip4 in sys/netpfil/ipfw/nat64/nat64_translate.h to use IN_foo macros rather than hand rolled code.

Feb 28 2019, 2:50 PM
rgrimes added a reviewer for D19400: attempt to load vmm.ko if it's not already loaded (bhyveload): jhb.
Feb 28 2019, 2:01 AM
rgrimes added a reviewer for D19400: attempt to load vmm.ko if it's not already loaded (bhyveload): bhyve.
Feb 28 2019, 2:00 AM

Feb 27 2019

rgrimes accepted D19299: bhyve can miss PIR wake-ups.
Feb 27 2019, 9:01 PM · bhyve
rgrimes added inline comments to D19299: bhyve can miss PIR wake-ups.
Feb 27 2019, 8:42 PM · bhyve
rgrimes added a comment to D19380: build SD images for boards.
In D19380#414840, @manu wrote:

I don't think this is a good approach.
My goal for this is :

  • Finish u-boot-install (https://gist.github.com/evadot/1bcad7c4c1e5cc7f9a692f4d19ab5421) to handle multi file u-boot
  • Do a rpi-fw-install script and include it in the rpi-firmware package
  • Create to GENERICSD image for arm64 (like the armv7 one), one with MBR and one with GPT scheme.
  • Remove board configs that have no quirks from release.
  • re@ could then create only two images (GENERICSD-MBR, GENERICSD-GPT) and install u-boot on each one based on list somewhere.
Feb 27 2019, 7:27 PM
rgrimes updated the test plan for D19380: build SD images for boards.
Feb 27 2019, 7:25 PM
rgrimes added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.

I agree with John that we should do everything we can to eliminate class A/B/C rather than just shuffle it around. ..trimmed...

Some of the patches I have already posted do infact remove the direct use of IN_CLASSA by use of the proper macro IN_LOOPBACK. I shall keep an eye out as I look over the code for issues that effect my stated goals in cleaning up things such that IN_ZERONET, IN_LOOPBACK, and IN_EXPERIMENTAL can be used to fully effect all places that are trying to deal with these ranges should they ever be redefined.

Feb 27 2019, 2:27 PM

Feb 25 2019

rgrimes accepted D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

The added kernel code seems to be mssing INET/INET6 ifdefs. None of the inline comments are marked done, but the code looks as if you have addressed them.

Feb 25 2019, 1:08 AM
rgrimes added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.

Re: Classs A/B/C: I'd be quite happy to see those definitions go away.

In my first pass audit of a search results on IN_CLASS[A-E] the common use cases here are the default calculation of netmasks, 2 minutes ago I would of told you that probably can not go away, but it just hit me, IN_DEFAULTMASKFOR(i) could be written that would incorporate the ancient class rules in a central place and cleaning up some code. Thoughts?

Feb 25 2019, 12:58 AM

Feb 24 2019

rgrimes added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.

I don't understand the purpose of this review. As it says, these changes should not be committed. I'm not actually sure of the official status of Class E, although I suspect it is still experimental/not for production use.

The changes well need expansion, the present form is to make a patch available so that the other patches can be tested.
A walk down through the RFC's say a few things, one is that it is not called Class E anymore. It is still reserved.

Feb 24 2019, 6:08 PM
rgrimes added a reviewer for D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code: kp.
Feb 24 2019, 5:51 PM
rgrimes removed a reviewer for D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo: bz.
Feb 24 2019, 5:30 PM
rgrimes edited reviewers for D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code, added: karels; removed: bz.
Feb 24 2019, 5:30 PM
rgrimes added a reviewer for D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo: karels.
Feb 24 2019, 5:29 PM
rgrimes updated the diff for D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.

Add some more places that hand crafted macros are used, ip_input, ip_output, netdump code.

Feb 24 2019, 7:38 AM
rgrimes created D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.
Feb 24 2019, 5:36 AM
rgrimes created D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.
Feb 24 2019, 5:10 AM
rgrimes committed rS344490: MFC r339707: Allow fdisk(8) to deal with sectors larger than 2048.
MFC r339707: Allow fdisk(8) to deal with sectors larger than 2048
Feb 24 2019, 1:56 AM

Feb 23 2019

rgrimes updated the diff for D18755: Add accessor for vm->maxcpus in preperation for run time maxcpu setting.

Address review comments from Patrick Mooney. Found some additional places that caching would be helpful so update them too.

Feb 23 2019, 7:06 PM

Feb 22 2019

rgrimes added a comment to D19299: bhyve can miss PIR wake-ups.

In the future it helps to upload full file diffs, not sure what vcs your using or what its command is, for svn I use svn diff -x U999999.

Feb 22 2019, 10:53 PM · bhyve
rgrimes added inline comments to D18755: Add accessor for vm->maxcpus in preperation for run time maxcpu setting.
Feb 22 2019, 6:23 PM
rgrimes added a comment to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

Whether or not "#ifdef INET6" and "#ifdef INET" should be in the code is still an open question.
I was hoping bz@ could answer this?
(I, personally, was of the understanding that this was no longer required/recommended for
FreeBSD sources. If bz@ does not know the correct answer for this, I will ask on freebsd-net@.)
At this point I have made no changes to the Makefile.
To build/run it, there is a small kernel change required, but I did not include that in this review.

Feb 22 2019, 12:51 AM

Feb 21 2019

rgrimes added inline comments to D18846: Move amd apic page and intel guest_msrs pages into seperate data structures.
Feb 21 2019, 8:56 PM
rgrimes updated the diff for D18998: Make bhyve SMBIOS table topology aware.

Add handling of cores or threads > 254 by truncating to 0, per smbios 2.6 spec

Feb 21 2019, 8:42 PM
rgrimes added a comment to D18998: Make bhyve SMBIOS table topology aware.
In D18998#412749, @jhb wrote:

FYI, you can get SMBIOS specs here: https://www.dmtf.org/standards/smbios

Feb 21 2019, 8:24 PM
rgrimes added a comment to D18815: Bhyve acpi MADT table correction for VM_MAXCPU > 21.

It doesn't looks quite right! I need more time to articulate better arguments, but this patch as it is, must not be committed in.

Feb 21 2019, 3:57 PM
rgrimes added inline comments to D18815: Bhyve acpi MADT table correction for VM_MAXCPU > 21.
Feb 21 2019, 3:55 PM
rgrimes updated the diff for D18815: Bhyve acpi MADT table correction for VM_MAXCPU > 21.

Wrap comment text, provide details of MADT_SIZE formula

Feb 21 2019, 3:47 PM
rgrimes updated the diff for D18755: Add accessor for vm->maxcpus in preperation for run time maxcpu setting.

Update to incorporate feedback from bde@ (mentor), wrap long lines, sort prototypes within group vm_get* in sys/amd64/include/vmm.h.

Feb 21 2019, 8:15 AM
rgrimes requested changes to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

I smashed the wrong thing. I do not see the Makefile in the diffs, nor do I see the inline #ifdef's.

Feb 21 2019, 6:10 AM
rgrimes accepted D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.
In D19218#412405, @bz wrote:

I think doing DNS things for these is not a good thing. Especially given inside an IP jail a "localhost" will give you different results.

Could you elaborate on that "give you different results?" This may be the very thing I am trying to say, and it may be what could break this code if run inside a jail, or in my other cases test bed with modified localhost value.

Feb 21 2019, 6:06 AM

Feb 20 2019

rgrimes edited reviewers for D8100: Bhyve hypercall implementation, added: bhyve; removed: grehan.
Feb 20 2019, 6:30 PM
rgrimes removed a reviewer for D2469: Allow byte reads of AHCI registers.: grehan.
Feb 20 2019, 6:14 PM
rgrimes removed a reviewer for D11768: Add support to devel/libhyve-remote. (VNC Server): grehan.
Feb 20 2019, 6:09 PM
rgrimes removed a reviewer for D2350: Implement NMI window exiting on AMD/SVM processors.: grehan.
Feb 20 2019, 5:59 PM
rgrimes removed a reviewer for D2838: Add on bhyvectl the capability to list the running vms.: grehan.
Feb 20 2019, 5:58 PM
rgrimes removed a reviewer for D9033: Raise BLOCKIF_IOV_MAX to 128. : grehan.
Feb 20 2019, 5:57 PM
rgrimes edited reviewers for D10009: Fix a memory leak in bhyve, added: bhyve; removed: grehan.
Feb 20 2019, 5:57 PM
rgrimes removed a reviewer for D10335: VirtFS/9p filesystem passthrough support (virtio-9p): grehan.
Feb 20 2019, 5:55 PM
rgrimes removed a reviewer for D12419: HD Audio Emulation For Bhyve (Based on D7840): grehan.
Feb 20 2019, 5:55 PM
rgrimes removed a reviewer for D10070: vmm.ko: retire compile time VM_MAXCPU, replace with per VM topology maxcpus: grehan.
Feb 20 2019, 5:52 PM

Feb 19 2019

rgrimes added a comment to D18816: bhyve vmm statistics tables need to be sized relative to VM_MAXCPU.
In D18816#411819, @jhb wrote:
In D18816#411818, @jhb wrote:

Pasting a reply from Rod:

I am just trying to fix the current bug that this code does not
work correctly if you raise VM_MAXCPU, it starts to give you
problems at something like 24 due to the stats array not having
space for the ipi table that tries to get added.

This also documents the size dependancy and removes the
false /* arbitrary */ comment.

The problem is you can't change it. Changing the constant in vmm_dev.h changes the ABI since the size of the structure is assumed in vmm_stat_copy()'s current API and that is also encoded in the ioctl value since the size of the structure is part of the constant. One of the approaches I described above is the only way you can do this without breaking the ABI.

Feb 19 2019, 7:21 PM
rgrimes added inline comments to D18755: Add accessor for vm->maxcpus in preperation for run time maxcpu setting.
Feb 19 2019, 7:04 PM
rgrimes added a comment to D13706: sysv_ipc.c: merge copyright assignment to the NetBSD Foundation.

pfg I think you miss understood, and upon looking I was not clear, it is not you that I am unhappy with about "playing with copyrights and licenses", it is NetBSD and possibly Charles Hannum who as Robert points out modified a license without ALL authors approval. I would be very upset if someone disturbed my disclaimer in this manner.

Feb 19 2019, 6:17 PM
rgrimes added a comment to D18816: bhyve vmm statistics tables need to be sized relative to VM_MAXCPU.

The review does nothing about addressing your other issues, it simply corrects a current state of affairs that is wrong if you raise VM_MAXCPU above 24.

Feb 19 2019, 5:58 PM
rgrimes added inline comments to D18815: Bhyve acpi MADT table correction for VM_MAXCPU > 21.
Feb 19 2019, 5:55 PM
rgrimes added inline comments to D18755: Add accessor for vm->maxcpus in preperation for run time maxcpu setting.
Feb 19 2019, 5:45 PM
rgrimes added a comment to D18944: freebsd-update: Clarify unclear help text.

Ping

Feb 19 2019, 5:29 PM
rgrimes commandeered D10070: vmm.ko: retire compile time VM_MAXCPU, replace with per VM topology maxcpus.
Feb 19 2019, 5:02 PM
rgrimes retitled D10070: vmm.ko: retire compile time VM_MAXCPU, replace with per VM topology maxcpus from WIP: make VM_MAXCPU tunable to vmm.ko: retire compile time VM_MAXCPU, replace with per VM topology maxcpus.
Feb 19 2019, 4:58 PM
rgrimes added a comment to D10070: vmm.ko: retire compile time VM_MAXCPU, replace with per VM topology maxcpus.

Fabian, I have done some other work that moves forward with this concept, mostly correcting stuff that puts limits in place on how high VM_MAXCPU can go, and have WIP that actually changes this to a run time per vm value. Can we either abandon and retire this differential, and I'll start a new one or can I commandeer this one and make all the other work subordanate to it?

Feb 19 2019, 4:34 PM