Page MenuHomeFreeBSD
Feed Advanced Search

Apr 22 2019

imp closed D20014: Move setting of console earlier in boot..
Apr 22 2019, 6:33 PM
imp added a reviewer for D20015: Create boot_img as a global variable: bcran.
Apr 22 2019, 6:21 PM
imp added reviewers for D20015: Create boot_img as a global variable: tsoome, kevans.
Apr 22 2019, 6:20 PM
imp created D20015: Create boot_img as a global variable.
Apr 22 2019, 6:18 PM
imp created D20014: Move setting of console earlier in boot..
Apr 22 2019, 5:53 PM

Apr 21 2019

imp added a comment to D19992: Fix install-boot.sh to work with rootgen.sh.
In D19992#429679, @imp wrote:

I've also started to create a 'fallback loader' path to try to hash out a good design. I'm thinking that a good design might be to have loader.efi read in \efi\freebsd\loader.env and parse it like the command line with foo=bar variables. This would let us say uefi_rootdev=HD(3,GPT,0f91d7c6-2de5-11e8-b5f1-3cfdfe9d5250,0x619430,0x600000) and have that become / for the new system. The only downside to this is that we have to encode the size and offset of the partition into the device path which doesn't play well with the auto resize code, though we could hack that to update this env :)

I don't understand how loader.env fits into the idea of a fallback loader, but it's perhaps better to wait for your design document.

Apr 21 2019, 12:42 AM

Apr 20 2019

imp added a comment to D19992: Fix install-boot.sh to work with rootgen.sh.

I like this, but command line switches are too easy to quibble over, so I'll just have my say and let you decide.

Apr 20 2019, 10:42 PM
imp added a comment to D19962: stand: Don't verify entropy cache file..
In D19962#429625, @sjg wrote:

Would it be worth adding a means of explicitly marking a file in manifest as not to be verified?

Apr 20 2019, 10:29 PM
imp committed rS346430: Start to reduce the number of #ifdef EFI_ZFS_BOOT.
Start to reduce the number of #ifdef EFI_ZFS_BOOT
Apr 20 2019, 5:32 AM
imp accepted D19979: Use symlinks for kernel modules rather than hardlinks.
Apr 20 2019, 4:30 AM
imp added a comment to D19928: random(4): More thoroughly attempt to ensure seeding during priming.

(sorry, last comment was stale)

Apr 20 2019, 2:51 AM
imp added inline comments to D19979: Use symlinks for kernel modules rather than hardlinks.
Apr 20 2019, 2:37 AM

Apr 19 2019

imp added a comment to D19962: stand: Don't verify entropy cache file..

one minor style nit and we're good to go.

Apr 19 2019, 8:34 PM
imp committed rS346415: MFC: 342657, 345025.
MFC: 342657, 345025
Apr 19 2019, 8:23 PM
imp committed rS346414: MFC: 342657, 345025.
MFC: 342657, 345025
Apr 19 2019, 8:22 PM
imp committed rS346409: Add wrapper functions to convert strings to EFI_DEVICE_PATH.
Add wrapper functions to convert strings to EFI_DEVICE_PATH
Apr 19 2019, 7:45 PM
imp committed rS346408: Add UEFI definitions related to converting string to DEVICE_PATH.
Add UEFI definitions related to converting string to DEVICE_PATH
Apr 19 2019, 7:45 PM
imp committed rS346407: Add define for CONST..
Add define for CONST.
Apr 19 2019, 7:45 PM
imp closed D19971: Three commits for routines to convert text to EFI_DEVICE_PATH.
Apr 19 2019, 7:45 PM
imp added inline comments to D19971: Three commits for routines to convert text to EFI_DEVICE_PATH.
Apr 19 2019, 7:42 PM
imp created D19971: Three commits for routines to convert text to EFI_DEVICE_PATH.
Apr 19 2019, 7:18 PM

Apr 18 2019

imp committed rS346359: When parsing command line stuff, treat tabs and spaces the same..
When parsing command line stuff, treat tabs and spaces the same.
Apr 18 2019, 10:52 PM
imp added inline comments to D19944: random(4): Restore availability tradeoff prior to r346250.
Apr 18 2019, 5:24 PM
imp committed rS346354: Add note that I'm the defacto maintainer of libegacy, our.
Add note that I'm the defacto maintainer of libegacy, our
Apr 18 2019, 3:19 PM
imp committed rS346353: Minor tweak to the debug.
Minor tweak to the debug
Apr 18 2019, 3:19 PM
imp committed rS346346: Add efi_delenv.
Add efi_delenv
Apr 18 2019, 5:41 AM
imp committed rS346345: Add a more generic efi_setenv function..
Add a more generic efi_setenv function.
Apr 18 2019, 5:37 AM
imp accepted D19944: random(4): Restore availability tradeoff prior to r346250.
Apr 18 2019, 3:32 AM
imp added a comment to D19944: random(4): Restore availability tradeoff prior to r346250.

This looks good, and we can make good use of this in our automation. It's adequate for netflix to decide what to do at boot when the aberrant conditions happen, as well as accommodating our diverse deployment model which is currently biased towards servers, but may not always be.

Apr 18 2019, 3:31 AM

Apr 17 2019

imp accepted D18933: Ensure kernel.bootfile is a real file.

Other than fixing the misleading comments, I understand why we're doing this, and it looks good.

Apr 17 2019, 5:59 PM
imp requested changes to D18933: Ensure kernel.bootfile is a real file.

The sysctl returns non-nonsense now. Is this even needed?

Apr 17 2019, 5:57 PM
imp requested changes to D19928: random(4): More thoroughly attempt to ensure seeding during priming.

I like that we can have a fallback seeding to RND devices, but Netflix requires a system to be bootable to userland no matter what goes on with the randomness in early boot. As such, we'd like a mode that can report that something screwed up in the early random stuff so we can decide if we care or not about that. And then take appropriate action based on our level of caring and concern. We have boxes all over the world and a hung boot would mean an RMA which is quite costly. We'd rather the system come up at least enough to report broken randomness to our backplane, or to take remediation steps when, for example, our entropy file is corrupted on a crash by recreating it and rebooting.

Apr 17 2019, 5:38 PM

Apr 16 2019

imp accepted D19927: stack_protector: Add tunable to bypass random cookies.

this is a reasonable stopgap, approved with the understanding that there will be follow on work to allow MD sources of entropy, like RDSEED on x86 etc

Apr 16 2019, 6:29 PM

Apr 14 2019

imp accepted D19904: bhyve: Add Integrated Endpoint to PCIe Capability.

Looks good to me.

Apr 14 2019, 7:12 PM
imp added a comment to D19905: bhyve: Add EUI64 to NVMe device.

There's only one issue that I see with this commit, and that's OUI namespace management. It's likely not a huge deal, but I think it's an easy thing to get right. emaste@ or kevans@ have the context / information to get the allocation from the foundation that I think we need. It's a minor tweak to the code to o things that way.

Apr 14 2019, 7:06 PM

Apr 13 2019

imp committed rS346177: Move mpr/mps drivers from per-arch NOTES files into the MI notes.
Move mpr/mps drivers from per-arch NOTES files into the MI notes
Apr 13 2019, 6:30 AM
imp committed rS346176: Fix sbttons for values > 2s.
Fix sbttons for values > 2s
Apr 13 2019, 4:46 AM

Apr 12 2019

imp accepted D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.

Looks like Andy's suggestions were followed... I was going to make similar when I last looked at it as well.

Apr 12 2019, 11:09 PM · arm64
imp accepted D19781: rename nvme_ctrlr_destroy_qpair to nvme_ctrlr_destroy_qpairs.

This change looks correct to me. Unsure why we need to do it though. Would like to see the follow-on fixes that this depends on, since I'm pretty happy with this if there's some reason to change.

Apr 12 2019, 6:49 PM
imp accepted D19841: bhyve: add locks around NVMe queue accesses.

This looks OK to me, but my knowledge of what bhyve does to emulate PCI is weak.

Apr 12 2019, 6:47 PM

Apr 11 2019

imp accepted D19876: Allow this script to be run from within src/tools/boot dir, create image in $TMPDIR..
Apr 11 2019, 4:27 PM
imp added inline comments to D17675: Suspend to idle support.
Apr 11 2019, 3:22 PM

Apr 10 2019

imp accepted D19832: Add some CMD53-related definitions.
Apr 10 2019, 8:42 PM
imp added inline comments to D17055: gpioc user-space interrupt handling.
Apr 10 2019, 8:00 PM · ARM
imp accepted D19779: Add new fields to mmc_data in preparation to SDIO CMD53 block mode support.
Apr 10 2019, 7:43 PM · ARM
imp accepted D19871: Only set up the interrupts that will actually be used in arm generic_timer..
Apr 10 2019, 3:35 AM
imp accepted D19870: Parse MIPS relocations to unbreak kldxref on MIPS..

So this looks good to me. Having at least mips64 covered, even if other things are unknown is a win. one question about r_mips_32 to think about.

Apr 10 2019, 1:24 AM

Apr 9 2019

imp accepted D19865: Make zfsd(8) build obey CFLAGS.
Apr 9 2019, 5:42 PM
imp accepted D18793: Implement support for "/SYM64/" archives in ar.

Couple of minor style nits, but the code looks good to my brain.

Apr 9 2019, 5:28 PM
imp accepted D19817: add mrsas_shutdown method.

This looks good to me, however I'd wait a few days to see if Scott can spot something that I can't.

Apr 9 2019, 5:20 PM
imp added inline comments to D19833: pci_cfgreg.c: Use io port config access for early boot time..
Apr 9 2019, 5:19 PM

Apr 8 2019

imp added inline comments to D19832: Add some CMD53-related definitions.
Apr 8 2019, 7:59 PM
imp accepted D19783: Implement CMD53 block mode support for SDHCI and AllWinner-based boards.

OK. this looks good, and you are using the flag I was complaining about not being used , so ignore that bit.
This is conditional on D19779.
and I'm ENOCLUE on the hardware, but it looks like it might be right.

Apr 8 2019, 7:58 PM
imp added inline comments to D19779: Add new fields to mmc_data in preparation to SDIO CMD53 block mode support.
Apr 8 2019, 7:56 PM · ARM
imp added inline comments to D19849: Reorg newvers.sh to eliminate VARS_ONLY and do things more directly.
Apr 8 2019, 7:21 PM
imp retitled D19849: Reorg newvers.sh to eliminate VARS_ONLY and do things more directly from Move function definitions to after the VARS_ONLY exit to Reorg newvers.sh to eliminate VARS_ONLY and do things more directly.
Apr 8 2019, 6:42 PM
imp updated the diff for D19849: Reorg newvers.sh to eliminate VARS_ONLY and do things more directly.

Finish the transition

Apr 8 2019, 6:39 PM
imp created D19849: Reorg newvers.sh to eliminate VARS_ONLY and do things more directly.
Apr 8 2019, 6:26 PM
imp committed rS346039: Style only change: Prefer $() to ``.
Style only change: Prefer $() to ``
Apr 8 2019, 6:25 PM
imp closed D19840: Style only change: Prefer $() to ``.
Apr 8 2019, 6:25 PM

Apr 7 2019

imp committed rS346022: Make RELDATE be on a single line..
Make RELDATE be on a single line.
Apr 7 2019, 9:01 PM
imp added reviewers for D19840: Style only change: Prefer $() to ``: emaste, allanjude.
Apr 7 2019, 6:58 PM
imp created D19840: Style only change: Prefer $() to ``.
Apr 7 2019, 6:57 PM
imp committed rS346018: Use default shell assignment rather more complicated if then.
Use default shell assignment rather more complicated if then
Apr 7 2019, 6:40 PM
imp closed D19797: Use default shell assignment rather more complicated if then construct..
Apr 7 2019, 6:40 PM

Apr 5 2019

imp added a comment to D19695: bhyve(8): Fix NVMe data structure copy to guest.
In D19695#423813, @imp wrote:

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?

The IO path appears to be OK, but I only took brief look. That said, I've run a fair amount of IO against and haven't seen any issues in practice. Where as this issue was easily reproducible.

Apr 5 2019, 4:20 PM
imp committed rS345947: Remove another instance of All Rights Reserved..
Remove another instance of All Rights Reserved.
Apr 5 2019, 2:28 PM
imp updated the diff for D19797: Use default shell assignment rather more complicated if then construct..

Fix line length, per ed.

Apr 5 2019, 6:16 AM
imp added a comment to D19816: Add an option for specifying the default debug flags for mps driver..

I debated tossing this into sys/conf/NOTES, but didn't want to play whack-a-mole with the architectures that I'd opt out of... Comments?

Apr 5 2019, 6:07 AM
imp updated the diff for D19816: Add an option for specifying the default debug flags for mps driver..

mps debug flags in NOTES, as appropriate.

Apr 5 2019, 6:04 AM
imp added a comment to D19827: aac(4): Add subvendor / subdevice to MODULE_PNP_INFO()'s descriptor_string.

I'm trying to recall that. I know that the different types of subdevices don't change what's probed (as there are catch-all entries). I had a specific reason, but I can't recall it now.

Apr 5 2019, 5:35 AM
imp added a comment to D19827: aac(4): Add subvendor / subdevice to MODULE_PNP_INFO()'s descriptor_string.

I specifically allowed those duplicates when I was originally reviewing this change....

Apr 5 2019, 5:20 AM
imp added a comment to D19816: Add an option for specifying the default debug flags for mps driver..
In D19816#425165, @cem wrote:

Why not just cut straight to a tunable instead and save a compile?

Apr 5 2019, 3:38 AM
imp committed rS345902: Add mpr, mps, mpt to NOTES file.
Add mpr, mps, mpt to NOTES file
Apr 5 2019, 2:54 AM

Apr 4 2019

imp added inline comments to D19817: add mrsas_shutdown method.
Apr 4 2019, 5:17 PM
imp added a comment to D19816: Add an option for specifying the default debug flags for mps driver..

If this looks good, I'll do the identical changes to mpr as well.

Apr 4 2019, 3:56 AM
imp updated the test plan for D19816: Add an option for specifying the default debug flags for mps driver..
Apr 4 2019, 3:54 AM
imp created D19816: Add an option for specifying the default debug flags for mps driver..
Apr 4 2019, 3:53 AM

Apr 3 2019

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

Looks great, apart from the stupid date nits :). And even if those weren't fixed, it wouldn't be too bad.

Apr 3 2019, 3:54 PM
imp requested changes to D19706: Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib..
Apr 3 2019, 4:39 AM

Apr 2 2019

imp added inline comments to D19690: mount/unmount events to devd.
Apr 2 2019, 10:07 PM · Contributor Reviews (src)
imp added inline comments to D19690: mount/unmount events to devd.
Apr 2 2019, 10:01 PM · Contributor Reviews (src)
imp added inline comments to D19779: Add new fields to mmc_data in preparation to SDIO CMD53 block mode support.
Apr 2 2019, 4:28 PM · ARM
imp added inline comments to D19797: Use default shell assignment rather more complicated if then construct..
Apr 2 2019, 4:24 PM
imp created D19797: Use default shell assignment rather more complicated if then construct..
Apr 2 2019, 3:44 PM

Apr 1 2019

imp added inline comments to D19779: Add new fields to mmc_data in preparation to SDIO CMD53 block mode support.
Apr 1 2019, 10:59 PM · ARM
imp added a comment to D19779: Add new fields to mmc_data in preparation to SDIO CMD53 block mode support.
In D19779#424220, @bz wrote:

This is missing files I think. The mmcreg.h structure changes are missing from this one. This won't compile.

Sorry, something has gone wrong with my tree. I will reupload.

Apr 1 2019, 10:23 PM · ARM
imp added inline comments to D19747: Improve sdhci slot_printf() debug printing..
Apr 1 2019, 10:20 PM
imp accepted D19748: Improve error/debug messages in sdhci.c.
Apr 1 2019, 10:17 PM
imp added a comment to D19778: Reap idle src bits.

So slm is Steve McConnell who has been the long-time driver maintainer inside of LSI/et-al. His day job has transitioned to firmware, but is active on phab.
Achim is from Adaptec / Microsemi and left Adaptec in 2016.
Scott is going to contact both of them as a courtesy to these vendors.

Apr 1 2019, 10:03 PM
imp accepted D19778: Reap idle src bits.

Apart from slm and achim, I'm good. Let's put those two in the not yet box.

Apr 1 2019, 9:54 PM
imp updated the diff for D19296: Generic cmd parsing.

Update after latest cleanups.

Apr 1 2019, 9:06 PM
imp accepted D15912: sys/cam/mmc/mmc_da.c: Refactor error handling.
Apr 1 2019, 6:24 PM
imp accepted D15892: Use information about max data size that the controller is able to operate.
Apr 1 2019, 6:24 PM
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.

Apr 1 2019, 5:10 PM
imp added a comment to D19507: Add quirk for ignoring SPCR AccessWidth values on the PL011 UART.
In D19507#423939, @greg_unrelenting.technology wrote:
In D19507#423825, @imp wrote:

IIRC, this violates the ACPI definition for these fields.

Where are they defined? https://docs.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table — Ctrl+F "width" — 0 results. (Thanks Microsoft.)

Apr 1 2019, 2:37 PM · arm64
imp added inline comments to D19646: Add BUS_RESET() and devctl reset..
Apr 1 2019, 2:26 PM
imp accepted D19773: Remove note about possible support changes for STABLE/12.
Apr 1 2019, 1:39 AM

Mar 31 2019

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

Dammit. The Ampere eMAG (which uses the pl011 SBSR UART) represents *shiftp = 2; as

[029h 0041   1]                    Bit Width : 20
[02Ah 0042   1]                   Bit Offset : 00
[02Bh 0043   1]         Encoded Access Width : 01 [Byte Access:8]
Mar 31 2019, 5:25 PM · arm64
imp added inline comments to D19019: zfs stand: plumb primary vdev out through zfs_probe_dev as needed.
Mar 31 2019, 5:14 PM