Page MenuHomeFreeBSD
Feed Advanced Search

Mar 31 2019

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

This looks good to me. It's the right thing to do.
Do we need to expand it more generally (in a different commit) for any time we have to copy data out, or is the I/O path good?

Mar 31 2019, 4:14 PM
imp accepted D19676: bhyve: Fix NVMe BAR size calculation.

one quick Q. if you know the windows versions, document it in the comment. the code is good to go. If you know, update the comment. If you don't know, that's cool too. either way, I no need to do a round trip through the review. you can just tweak that and commit.

Mar 31 2019, 4:11 PM

Mar 30 2019

imp added a comment to D19754: cxgbe(4): Integrate with PNP PCIID-based autoload.

jhb specifically asked me not to do this driver. Please be sure to get sign off from him.

Mar 30 2019, 6:28 AM
imp added a comment to D19749: Add a CAM-Newbus SDIO support module..

I'd be happier if we copied usbdevs.awk to sdiodevs.awk.
I'll take a closer look next week when I'm back in the office.

Mar 30 2019, 6:24 AM
imp requested changes to D19749: Add a CAM-Newbus SDIO support module..

I'd be happier if we copied usbdevs.awk to sdiodevs.awk.

Mar 30 2019, 6:23 AM

Mar 29 2019

imp accepted D19736: fdt: further consolidate DTB building and revise manpage.

These are good changes, though the conf/files and kern.post.mk fragments seem a separate thing...

Mar 29 2019, 1:39 AM

Mar 28 2019

imp accepted D19646: Add BUS_RESET() and devctl reset..

generally, I'm happy. Once minor nit that you can do or not as you see fit.

Mar 28 2019, 8:48 PM

Mar 26 2019

imp added inline comments to D19646: Add BUS_RESET() and devctl reset..
Mar 26 2019, 8:59 PM
imp accepted D19696: Make smartpqi(4) behave better when running out of memory..

I think this looks good, but I've not studied it in enough detail to know for sure.
It might make sense to see if Scott or Ken has a chance to look into this to be sure it's the right solution.

Mar 26 2019, 3:58 AM

Mar 25 2019

imp added inline comments to D19424: config: Only warn if duplicate option/device comes from the same file.
Mar 25 2019, 11:53 PM
imp added a comment to D18902: Change default value of kernel.bootfile.

My mistake... 386bsd booted from a file named /386bsd. FreeBSD changed that early on to be /kernel.

Mar 25 2019, 6:47 AM

Mar 24 2019

imp added a comment to D18902: Change default value of kernel.bootfile.

Current default was set before 1996, when "/kernel" was the
actual path I guess.

Mar 24 2019, 9:20 PM
imp accepted D18902: Change default value of kernel.bootfile.

Defaults should match defaults. If we don't know, guess the default FFS.

Mar 24 2019, 9:15 PM

Mar 23 2019

imp committed rS345456: Remove duplicate options..
Remove duplicate options.
Mar 23 2019, 6:32 PM
imp committed rS345455: Add device xz. This was somehow missed in the last round..
Add device xz. This was somehow missed in the last round.
Mar 23 2019, 6:32 PM

Mar 22 2019

imp added a comment to D19677: Fix timeout-related panics in MPR and MPS.

derp... I missed you did both...

Mar 22 2019, 2:05 PM
imp accepted D19677: Fix timeout-related panics in MPR and MPS.

Does MPR need a similar fix?

Mar 22 2019, 2:04 PM

Mar 21 2019

imp accepted D19661: Add Cirrus-CI CI build and QEMU boot test.
Mar 21 2019, 1:31 PM
imp added a comment to D19661: Add Cirrus-CI CI build and QEMU boot test.

You might want to take a look at tools/boot/rootgen.sh. It's as shell script I use to generate about 24 or 32 different images to test all the different ways you can boot. It also generates a bunch of different scripts to do the qemu testing that likely could be leveraged to provide more complete qemu coverage testing.

Mar 21 2019, 1:30 PM
imp committed rS345365: Remove -n flag, fix setting date / time.
Remove -n flag, fix setting date / time
Mar 21 2019, 6:47 AM
imp closed D19668: Remove -n flag, fix setting date / time.
Mar 21 2019, 6:47 AM
imp committed rS345363: Make WD and WDC aliases for HGST..
Make WD and WDC aliases for HGST.
Mar 21 2019, 6:28 AM
imp updated the diff for D19668: Remove -n flag, fix setting date / time.

xref fix

Mar 21 2019, 2:26 AM
imp updated the diff for D19668: Remove -n flag, fix setting date / time.

another

Mar 21 2019, 2:25 AM
imp updated the diff for D19668: Remove -n flag, fix setting date / time.

remove more -n info

Mar 21 2019, 2:24 AM
imp added reviewers for D19668: Remove -n flag, fix setting date / time: cem, gnn, ian.
Mar 21 2019, 2:17 AM
imp created D19668: Remove -n flag, fix setting date / time.
Mar 21 2019, 2:16 AM

Mar 20 2019

imp accepted D19657: Enable NVMe on aarch64.

+1 on cperciva's spacing nits.

Mar 20 2019, 9:57 PM · arm64

Mar 19 2019

imp committed rS345311: Fix two typos: an -> and; the the -> the.
Fix two typos: an -> and; the the -> the
Mar 19 2019, 9:46 PM
imp committed rS345298: Add comment about why we bother to use endian macros here, and why we.
Add comment about why we bother to use endian macros here, and why we
Mar 19 2019, 3:03 PM
imp added inline comments to D19640: oce: Simplify probe method.
Mar 19 2019, 2:58 PM

Mar 17 2019

imp added inline comments to D19588: Add a new efi-update-loader script and associated man page.
Mar 17 2019, 6:01 AM
imp added inline comments to D19588: Add a new efi-update-loader script and associated man page.
Mar 17 2019, 3:27 AM
imp added a comment to D19588: Add a new efi-update-loader script and associated man page.

partial review.... more to come

Mar 17 2019, 3:21 AM

Mar 15 2019

imp added inline comments to D19587: net: adjust randomized address bits.
Mar 15 2019, 4:54 PM
imp added a comment to D19587: net: adjust randomized address bits.
In D19587#419445, @bz wrote:
In D19587#419396, @imp wrote:

OUI spaces aren't for randomly assigning address bits that change from boot to boot. They are for more permanent allocations according to the standards that I read a few years ago. The local administrative space is for things like random assignment of MAC addresses.

(a) the fact that we are still not preserving the "randomly generated" addresses across boot is rather a management problem we still have and not a reason not to use OUI space.

(b) bhyve, despite having a block from FreeBSD allocated, is still using the NetAPP OUI in two places, in exactly the same way this will use it for other interfaces. Same problem as (a) there (though there's actually things in place to pass them in on startup, and so does ifconfig ether exist).

(c) the locally administered space is not for random stuff, it is for a locally *administered* space, some local authority who assigns and manages; I have learnt this the hard way by sys-admins telling me off "no DHCPv4 for you", this LA MAC address was not assigned by us, before. They were actually keeping track of each locally administered address.

(d) What you are thinking of is an "unmanaged, I don't care network" where it doesn't even matter if you have conflicts with official OUI space or not. Been there; made that thinking mistake myself.

(e) Using the FreeBSD OUI, like other companies do, gives us a unique space, allows our users to rely on same EUI-48 if they want even in spaces where locally administered is not a thing and I'd hope that now that we centralise the "computation", we'd actually also grow a management part, as writing a rc snippet to save and restore them isn't that hard, we could even have notifications. That way FreeBSD "cloud" deployments or even just lots of FreeBSD machines running these interfaces and bridging them out (also for jail+vnet for example, which is not so much of a difference from say bhyve or the Fusion running on your OSX) can finally stop the admin headache.

(f) for that we should have long time ago carved out some space; if we carve it out anyway, we can as well use it.

(g) the other standards usages of OUIs (I believe NVME also uses the FreeBSD OUI somewhere; maybe that was in bhyve as well to identify the controller vendor), for config spaces, and others, for fixed, special purpose Ethernet MAC address values, exist and are equally valid; some may conflict, others don't, some could possibly even overlap, I guess, without causing any conflicts.

Mar 15 2019, 4:46 PM
imp added a comment to D19587: net: adjust randomized address bits.

OUI spaces aren't for randomly assigning address bits that change from boot to boot. They are for more permanent allocations according to the standards that I read a few years ago. The local administrative space is for things like random assignment of MAC addresses.

Mar 15 2019, 3:34 AM

Mar 14 2019

imp added a comment to D19500: Add endian.h to LHDRS..
In D19500#418483, @imp wrote:

Here's what I had come up with for a glibc compatable header. Feel free to steal any or all of this. Foundation copyright is fine.

I didn't bother to fix the namespace pollution when I did this, but I was never targeting MESA. I did this to save me from hacking a dozen places in nvme-cli. The pollution was fine for the nvme-cli.

For now I'm just trying to create a minimal header that survives an exp-run; we can always add to it.

Mar 14 2019, 11:24 PM
imp accepted D19580: Fix bhyve PCIe capability emulation.
Mar 14 2019, 11:19 PM
imp accepted D19579: Fix bhyve's NVMe Identify Namespace data.
Mar 14 2019, 11:18 PM
imp accepted D19583: Remove radeonkmsfw firmware files.

Doh! How'd I miss that?

Mar 14 2019, 3:13 PM
imp accepted D19581: firmware(9): remove uuencoded example.

maybe a better example than the old arm firmware too? But this is a good change.

Mar 14 2019, 3:12 PM

Mar 12 2019

imp committed rS345081: Remove the -d and -t flags from the man page.
Remove the -d and -t flags from the man page
Mar 12 2019, 9:04 PM
imp accepted D19515: Direct readers to the license policy. Encourage questions..
Mar 12 2019, 5:34 PM
imp committed rS345053: Tweak wording a little..
Tweak wording a little.
Mar 12 2019, 6:02 AM
imp added a comment to D19500: Add endian.h to LHDRS..

Here's what I had come up with for a glibc compatable header. Feel free to steal any or all of this. Foundation copyright is fine.

Mar 12 2019, 5:55 AM
imp committed rS345052: Fix botched merge with 355066.
Fix botched merge with 355066
Mar 12 2019, 5:10 AM
imp closed D19536: Add -l to camcontrol readcap..
Mar 12 2019, 4:57 AM
imp committed rS345051: Add -l to camcontrol readcap..
Add -l to camcontrol readcap.
Mar 12 2019, 4:57 AM
imp committed rS345050: Remove now useless -d and -t flags..
Remove now useless -d and -t flags.
Mar 12 2019, 4:50 AM
imp committed rS345049: Kill tz_minuteswest and tz_dsttime..
Kill tz_minuteswest and tz_dsttime.
Mar 12 2019, 4:50 AM
imp closed D19550: Kill tz_minuteswest and tz_dsttime..
Mar 12 2019, 4:50 AM

Mar 11 2019

imp added a comment to D19550: Kill tz_minuteswest and tz_dsttime..
In D19550#418301, @jhb wrote:

I would maybe split kernel commit from date(1) commit?

Mar 11 2019, 10:40 PM
imp updated the summary of D19550: Kill tz_minuteswest and tz_dsttime..
Mar 11 2019, 10:37 PM
imp updated the summary of D19550: Kill tz_minuteswest and tz_dsttime..
Mar 11 2019, 10:17 PM
imp created D19550: Kill tz_minuteswest and tz_dsttime..
Mar 11 2019, 9:55 PM
imp committed rS345025: Upgrade Chipfancier SLC quirk to all versions.
Upgrade Chipfancier SLC quirk to all versions
Mar 11 2019, 8:58 PM
imp added reviewers for D19536: Add -l to camcontrol readcap.: ken, scottl.
Mar 11 2019, 5:58 AM
imp created D19536: Add -l to camcontrol readcap..
Mar 11 2019, 2:36 AM

Mar 9 2019

imp committed rS344972: Augment ino64 entry.
Augment ino64 entry
Mar 9 2019, 5:18 PM
imp committed rS344971: Fix a number of entries (almost all mine) that were > 80 columns..
Fix a number of entries (almost all mine) that were > 80 columns.
Mar 9 2019, 5:18 PM
imp committed rS344970: Misc fixes based on upgrading a laptop from 11.1R to -current.
Misc fixes based on upgrading a laptop from 11.1R to -current
Mar 9 2019, 5:18 PM
imp committed rS344955: Don't print all the I/O we abort on a reset, unless we're out of.
Don't print all the I/O we abort on a reset, unless we're out of
Mar 9 2019, 1:18 AM
imp closed D19431: Don't print all the I/O we abort on a reset, unless we're out of retries..
Mar 9 2019, 1:18 AM
imp accepted D19515: Direct readers to the license policy. Encourage questions..
Mar 9 2019, 12:39 AM

Mar 8 2019

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

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.

The EC2 one also shows byte access (1). Here's the table.

I'm not familiar with the details of UART hardware, but looks like regshift is something else. It's hardcoded to 2 in uart_dev_pl011 and to 0 in uart_dev_ns8250.

Mar 8 2019, 8:38 PM · arm64

Mar 7 2019

imp added a reviewer for D19431: Don't print all the I/O we abort on a reset, unless we're out of retries.: jimharris.
Mar 7 2019, 6:24 PM

Mar 6 2019

imp accepted D19341: Add retry loop around GetMemoryMap call to fix fragmentation bug.

generally this looks good.
I'm unsure about some of the times you call printf, but it can't hurt, I guess and might help.
minor style issues that I flagged.

Mar 6 2019, 4:22 AM

Mar 5 2019

imp added a comment to D18613: Add driver for the VMware Paravirtual SCSI (pvscsi) controller.

Added license concern, but it shouldn't be a huge deal. haven't looked at the CAM integration yet.... That will come in time.
And in case it isn't clear, I'll drive the License issue inside of core.

Mar 5 2019, 11:34 PM
imp added a reviewer for D18613: Add driver for the VMware Paravirtual SCSI (pvscsi) controller: imp.
Mar 5 2019, 11:31 PM
imp accepted D19437: explain fsck -f more in detail.
Mar 5 2019, 8:58 PM
imp accepted D19358: Codify use of Apache License 2.0 software..
Mar 5 2019, 7:44 PM
imp added a comment to D19465: Round # partitions up to fill the last GPT table sector.

btw, I scrolled past the .uu files assuming they were correct.
Do we still need the uudecode dance? Though that would be a different commit

Mar 5 2019, 5:50 PM
imp accepted D19465: Round # partitions up to fill the last GPT table sector.
Mar 5 2019, 5:49 PM
imp added inline comments to D19263: Document the efivar --load-option option.
Mar 5 2019, 6:22 AM

Mar 4 2019

imp added inline comments to D19373: Silence irrelevant warning on 32 bit platforms..
Mar 4 2019, 9:21 PM

Mar 3 2019

imp created D19431: Don't print all the I/O we abort on a reset, unless we're out of retries..
Mar 3 2019, 3:38 AM
imp committed rS344736: Add ABORTED_BY_REQUEST to the list of things we look at DNR bit and tell why to….
Add ABORTED_BY_REQUEST to the list of things we look at DNR bit and tell why to…
Mar 3 2019, 3:36 AM

Mar 1 2019

imp added a comment to D19408: camcontrol: possibly wrong sector count in ata_do_identify().

I figured that this was OK, but just checked this am and I noticed this commit.
Just wanted to say that it looks good to me too.
Thanks for driving this home @smh

Mar 1 2019, 4:34 PM

Feb 28 2019

imp accepted D19398: Fix a scribbler in the PMS driver..

While I don't know what the hardware will do if these bits aren't cleared, this looks to me to implement the solution described in the commit message.

Feb 28 2019, 10:42 PM
imp added inline comments to D19375: Prevent detaching driver if the attach is not finished.
Feb 28 2019, 10:29 PM
imp updated the diff for D19296: Generic cmd parsing.

It compiles now. Fixed a few bugs that have come up in testing,
especially with shortopts.

Feb 28 2019, 5:45 AM
imp committed rS344653: Add SPDX tag..
Add SPDX tag.
Feb 28 2019, 2:30 AM

Feb 27 2019

imp committed rS344642: Unconditionally support unmapped BIOs. This was another shim for.
Unconditionally support unmapped BIOs. This was another shim for
Feb 27 2019, 10:17 PM
imp committed rS344640: Remove #ifdef code to support FreeBSD versions that haven't been.
Remove #ifdef code to support FreeBSD versions that haven't been
Feb 27 2019, 10:05 PM
imp committed rS344637: Remove empty directories..
Remove empty directories.
Feb 27 2019, 9:52 PM
imp added inline comments to D19237: Fix TARGET_TRIPLE assembly and retrieve OS version automatically.
Feb 27 2019, 5:32 PM · PowerPC
imp added inline comments to D19341: Add retry loop around GetMemoryMap call to fix fragmentation bug.
Feb 27 2019, 2:32 PM
imp accepted D19375: Prevent detaching driver if the attach is not finished.

It's an OK workaround, but the real problem is that we're not properly interlocked elsewhere.

Feb 27 2019, 2:29 PM
imp accepted D19374: EFI: don't call printf after ExitBootServices, since it uses Boot Services.
Feb 27 2019, 2:26 PM

Feb 26 2019

imp updated the diff for D19296: Generic cmd parsing.

nvmecontrol now compiles

Feb 26 2019, 4:32 AM

Feb 25 2019

imp added inline comments to D19358: Codify use of Apache License 2.0 software..
Feb 25 2019, 10:22 PM
imp accepted D19356: Remove text about handling software with GPLv3 upstreams..
Feb 25 2019, 10:20 PM

Feb 23 2019

imp added inline comments to D19299: bhyve can miss PIR wake-ups.
Feb 23 2019, 6:31 AM · bhyve

Feb 22 2019

imp added inline comments to D19296: Generic cmd parsing.
Feb 22 2019, 4:38 PM
imp added a reviewer for D19296: Generic cmd parsing: jhb.
Feb 22 2019, 4:05 PM
imp created D19296: Generic cmd parsing.
Feb 22 2019, 4:05 PM
imp committed rS344469: Rework logpage extensibility..
Rework logpage extensibility.
Feb 22 2019, 3:15 PM
imp closed D19275: Rework logpage extensibility..
Feb 22 2019, 3:15 PM
imp added a comment to D19275: Rework logpage extensibility..
In D19275#412819, @jhb wrote:

I know the linkerset for commands is also ultimately my fault (I used it mfiutil and then mptutil and this looks like it was copied from there), but those should perhaps register in the same way. That is a bit harder because of the tree of lists though.

Feb 22 2019, 3:14 PM