Page MenuHomeFreeBSD
Feed Advanced Search

Jun 24 2019

imp committed rS349343: Move to using a common kernel path between the boot / laoder bits and.
Move to using a common kernel path between the boot / laoder bits and
Jun 24 2019, 8:35 PM
imp committed rS349342: Use the cam_ed copy of ata_params rather than malloc and freeing.
Use the cam_ed copy of ata_params rather than malloc and freeing
Jun 24 2019, 8:23 PM
imp committed rS349341: Use ata_param_fixup instead of a custom copy here.
Use ata_param_fixup instead of a custom copy here
Jun 24 2019, 8:19 PM
imp committed rS349340: Create ata_param_fixup.
Create ata_param_fixup
Jun 24 2019, 8:19 PM
imp committed rS349339: Go ahead and completely fix the ata_params before calling the veto.
Go ahead and completely fix the ata_params before calling the veto
Jun 24 2019, 8:19 PM
D20643: loader: add HTTP support using UEFI is now accepted and ready to land.

I'm tapped out. Can't find anything else.

Jun 24 2019, 7:45 PM
imp added a comment to D20643: loader: add HTTP support using UEFI.

Looks a lot better. Found one minor thing...

Jun 24 2019, 7:20 PM
imp added a comment to D20745: Remove NAND and NANDFS support.

Missed references.

Jun 24 2019, 5:25 PM
imp added inline comments to D20745: Remove NAND and NANDFS support.
Jun 24 2019, 5:13 PM
imp created D20745: Remove NAND and NANDFS support.
Jun 24 2019, 4:33 PM
imp added inline comments to D20643: loader: add HTTP support using UEFI.
Jun 24 2019, 2:50 AM
imp added inline comments to D20643: loader: add HTTP support using UEFI.
Jun 24 2019, 1:29 AM

Jun 23 2019

imp added a comment to D20643: loader: add HTTP support using UEFI.

This looks pretty close, but there are still a couple of issues that need to be resolved before the commit.

Jun 23 2019, 7:55 PM

Jun 22 2019

imp added a comment to D20315: Add list of valid CPUTYPE flags for arm/arm64 to make.conf example.

committed.... thanks!

Jun 22 2019, 4:54 PM · arm64, ARM
imp committed rS349291: Add list of valid CPUTYPE flags for arm/arm64 to make.conf example.
Add list of valid CPUTYPE flags for arm/arm64 to make.conf example
Jun 22 2019, 4:54 PM
imp closed D20315: Add list of valid CPUTYPE flags for arm/arm64 to make.conf example.
Jun 22 2019, 4:54 PM · arm64, ARM

Jun 21 2019

imp committed rS349275: I forgot to add Johannes Lundberg to mentors when I added him to the.
I forgot to add Johannes Lundberg to mentors when I added him to the
Jun 21 2019, 4:02 PM
imp accepted D20718: Add atomic_long_sub in linuxkpi.
Jun 21 2019, 3:59 PM
imp committed rS349261: Mount and unmount devfs around calls to add packages..
Mount and unmount devfs around calls to add packages.
Jun 21 2019, 3:49 AM
imp added a member for committers: chs.
Jun 21 2019, 12:56 AM
imp committed rS349255: Add Chuck Silvers. He'll be working on the block and buffer layers..
Add Chuck Silvers. He'll be working on the block and buffer layers.
Jun 21 2019, 12:52 AM
imp accepted D20715: Reduce namespace pollution from r349233.
Jun 21 2019, 12:48 AM

Jun 20 2019

imp added a comment to D18613: Add driver for the VMware Paravirtual SCSI (pvscsi) controller.
In D18613#416846, @imp wrote:

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.

Jun 20 2019, 5:47 PM

Jun 19 2019

imp added a comment to D20562: The efifat files are no longer used: remove the code to build them..

Are they already unhooked from install?

It seems not - they're optionally not installed if NOFAT is defined (rS348722/rS348763). There are several ways it could be accomplished (e.g. change to #ifdef EFIFAT) but my suggestion is that by default we do not install them and move the entries to ObsoleteFiles.inc unconditionally. Folks with out-of-tree uses can just do something like (cd stand/efi/boot1 && make -DEFIFAT)

Jun 19 2019, 5:34 PM
imp added a comment to D20394: Ports Tree Base Packages.
In D20394#444436, @mat wrote:

Anyway, open to suggestions on where to next take this conversation to reach some consensus around these topics.

The consensus is that this does not belong in the ports tree.

I want to piggyback on this. The ports tree needs to be about ports, and it just doesn't make sense to mix src and ports in the same tree.

If I were you(pl.), I'd make a new tree for building src packages. It can piggyback ports/Mk, and with the addition of some src-tree Mk/Uses files you should be in business. The process and resources are identical, but it should live in its own tree.

To build pkgs out of src, I would have suggested calling it /usr/pkgsrc but that name means something else :-)

Jun 19 2019, 4:31 PM

Jun 17 2019

imp added inline comments to D20678: Changes to allow camcontrol to use cached data more often.
Jun 17 2019, 8:59 PM
imp added reviewers for D20678: Changes to allow camcontrol to use cached data more often: scottl, ken, mav.
Jun 17 2019, 8:33 PM
imp created D20678: Changes to allow camcontrol to use cached data more often.
Jun 17 2019, 8:32 PM
imp added a comment to D20153: x11-drivers/xf86-video-vmware: Enable hardware accelerated graphics in VMware.

Looks OK to me. One possible nit

Jun 17 2019, 5:46 AM
D20652: Document the PCIOCATTACHED ioctl(2) in pci(4) is now accepted and ready to land.
Jun 17 2019, 3:05 AM

Jun 16 2019

imp added inline comments to D20652: Document the PCIOCATTACHED ioctl(2) in pci(4).
Jun 16 2019, 5:45 PM

Jun 15 2019

imp committed rS336770: Remove Atmel AT91RM9200 and AT91SAM9 support..
Remove Atmel AT91RM9200 and AT91SAM9 support.
Jun 15 2019, 4:37 PM
imp requested changes to D20644: MFC 348757,351225: acpi and nvdimm location_str updates.
Jun 15 2019, 4:10 PM

Jun 13 2019

imp committed rS349025: Add opt_cam.h so we can build this outside of a kernel build..
Add opt_cam.h so we can build this outside of a kernel build.
Jun 13 2019, 10:04 PM
imp added inline comments to D20626: bhyve: move common code to net_utils.c.
Jun 13 2019, 4:02 PM
imp added a comment to D20630: ACPI support for USB , mainly hub..

I've not looked deeply into this, but it seems to my limited understanding in the right direction, though I'll defer to hps@ should his opinion differ.
Just noted a couple of nits, plus there's some minor style issues with some of the code that we can get into once other comments are made to the source.

Jun 13 2019, 3:47 PM
imp added inline comments to D20626: bhyve: move common code to net_utils.c.
Jun 13 2019, 3:43 PM
imp committed rS349011: Don't print the request we may be aborting in ciss_notify_abort as.
Don't print the request we may be aborting in ciss_notify_abort as
Jun 13 2019, 5:19 AM
imp committed rS349010: Increase the timeout for READ NATIVE MAX.
Increase the timeout for READ NATIVE MAX
Jun 13 2019, 5:19 AM

Jun 12 2019

imp added inline comments to D20615: Add support for retrieving the VPD pages that are supported..
Jun 12 2019, 10:25 PM
imp accepted D20622: Fix gcc build.

yea, this never should have been in boot_module.h to start with.

Jun 12 2019, 9:52 PM

Jun 11 2019

imp updated the diff for D20615: Add support for retrieving the VPD pages that are supported..

Nits

Jun 11 2019, 9:37 PM
imp created D20615: Add support for retrieving the VPD pages that are supported..
Jun 11 2019, 9:17 PM
imp committed rS348963: Minor white space changes..
Minor white space changes.
Jun 11 2019, 8:48 PM

Jun 10 2019

imp accepted D20591: Make it obvious that SR-IOV VF creation fails because of the PCIe bus, not the device driver.
Jun 10 2019, 10:59 PM · PCI
imp accepted D20507: enable synaptics and elantech touchpads by default.
Jun 10 2019, 6:09 PM
imp added inline comments to D20562: The efifat files are no longer used: remove the code to build them..
Jun 10 2019, 12:31 AM

Jun 8 2019

imp added a comment to D20562: The efifat files are no longer used: remove the code to build them..

Added emaste as a sanity check for the 'not used' bit. I'd like to see this die in fire.

Jun 8 2019, 10:46 PM
imp added a reviewer for D20562: The efifat files are no longer used: remove the code to build them.: emaste.
Jun 8 2019, 10:46 PM
imp accepted D20562: The efifat files are no longer used: remove the code to build them..
Jun 8 2019, 10:45 PM
imp committed rS348814: Add stuff to disable warning for %S.
Add stuff to disable warning for %S
Jun 8 2019, 7:59 PM
imp committed rS348812: Create gptboot.efi.
Create gptboot.efi
Jun 8 2019, 7:02 PM
imp committed rS348811: Break out the disk selection protocol from the rest of boot1..
Break out the disk selection protocol from the rest of boot1.
Jun 8 2019, 7:00 PM
imp closed D20547: Split boot1 in half and use the useful half for gptboot.efi.
Jun 8 2019, 7:00 PM
imp added inline comments to D20547: Split boot1 in half and use the useful half for gptboot.efi.
Jun 8 2019, 5:23 PM
imp added inline comments to D20547: Split boot1 in half and use the useful half for gptboot.efi.
Jun 8 2019, 5:43 AM
imp added inline comments to D20547: Split boot1 in half and use the useful half for gptboot.efi.
Jun 8 2019, 5:40 AM
imp added inline comments to D20547: Split boot1 in half and use the useful half for gptboot.efi.
Jun 8 2019, 5:34 AM
imp added inline comments to D20547: Split boot1 in half and use the useful half for gptboot.efi.
Jun 8 2019, 5:28 AM

Jun 7 2019

imp accepted D20482: Free MCA entries after logging.
Jun 7 2019, 6:37 PM
imp added a comment to D20293: ucom(4): synchronously execute param changes.
In D20293#444094, @ian wrote:

I agree about that, but as you know the TTY layer holds a mutex while calling us, so sleeping is not allowed or am I wrong? You don't solve mutex problems by just dropping the TTY lock, that leaves races wide open.

I suggest a new method in the ttydevsw which drain any pending commands off the underlying layer, which can be called outside the tty_lock() so we don't mess with the TTY's internal state.

Oh right, I had forgotten about tty_lock() being held during calls to ttydevsw stuff. Now I remember looking into all this once before, a few years ago. What I discovered (and re-discovered yesterday) is that lots of places now are dropping and reacquiring the tty lock, unsafely. At a minimum, you have to check tty_gone() after recaquiring it. In addition you have to consider the other parts of tty state that the lock protects and what might have changed there, and that's hard to do because what the lock protects is not documented.

Jun 7 2019, 3:22 PM
imp added a comment to D20116: Introduce <sys/qmath.h>.
In D20116#443964, @cem wrote:

The concept is cool but it's impossible to closely review 2000 lines of novel content.

Jun 7 2019, 2:24 PM
imp accepted D20548: Teach readelf about some OpenBSD ELF program headers.
Jun 7 2019, 3:49 AM
imp updated the test plan for D20547: Split boot1 in half and use the useful half for gptboot.efi.
Jun 7 2019, 2:27 AM
imp created D20547: Split boot1 in half and use the useful half for gptboot.efi.
Jun 7 2019, 2:24 AM
imp committed rS348768: Rework the reporting of the priority..
Rework the reporting of the priority.
Jun 7 2019, 2:05 AM
imp closed D20537: Rework the reporting of the priority..
Jun 7 2019, 2:05 AM
imp committed rS348766: Remove left-over status variables.
Remove left-over status variables
Jun 7 2019, 12:02 AM

Jun 6 2019

imp committed rS348763: Fix when NOFAT is defined.
Fix when NOFAT is defined
Jun 6 2019, 10:57 PM
imp committed rS348760: Use simple malloc/free instead of dropping down to the UEFI.
Use simple malloc/free instead of dropping down to the UEFI
Jun 6 2019, 9:04 PM
imp closed D20540: Use simple malloc/free instead of dropping down to the UEFI BootServices AllocatePool/FreePool calls. They are simpler to use and result in the same thing happening..
Jun 6 2019, 9:04 PM
imp accepted D20542: Remove an overly-aggressive assertion..
Jun 6 2019, 8:54 PM
imp accepted D20315: Add list of valid CPUTYPE flags for arm/arm64 to make.conf example.
Jun 6 2019, 8:34 PM · arm64, ARM
imp updated the test plan for D20540: Use simple malloc/free instead of dropping down to the UEFI BootServices AllocatePool/FreePool calls. They are simpler to use and result in the same thing happening..
Jun 6 2019, 6:58 PM
imp created D20540: Use simple malloc/free instead of dropping down to the UEFI BootServices AllocatePool/FreePool calls. They are simpler to use and result in the same thing happening..
Jun 6 2019, 6:56 PM
imp accepted D20527: improve performance of ipmi kcs interface..
Jun 6 2019, 5:46 PM
imp updated the test plan for D20537: Rework the reporting of the priority..
Jun 6 2019, 4:54 PM
imp created D20537: Rework the reporting of the priority..
Jun 6 2019, 4:41 PM
imp accepted D20031: Allow control over initial state of RTS and DTR lines.

Use rtsdtr as the stty argument to set the default mode, and -rtsdtr to
disable automatically asserting them on open().

This causes the stty argument to have the opposite polarity as the control
flag. The stty flag name can be renamed fairly easily, but the control flag
pretty much needs to default to zero.

Jun 6 2019, 4:23 PM
imp committed rS348722: Don't make the efifat thing if NOFAT is defined..
Don't make the efifat thing if NOFAT is defined.
Jun 6 2019, 3:07 AM

Jun 5 2019

imp accepted D20506: isa/isa_common.c: remove needless if (!rl) check in isa_get_resource_list().

I'd just roll with this. IMHO, the simplicity trumps the other patterns in the file because using the pattern here gives no real benefit.

Jun 5 2019, 3:36 PM
imp requested changes to D20520: Normalize deployment tools usage and definitions.

bootools is a terrible name, so bad I'm ticking 'request changes'.

Jun 5 2019, 3:35 PM
imp added a comment to D20458: first step towards enforcing must-succeed semantics for bus accessors.
In D20458#443364, @cem wrote:
In D20458#443358, @avg wrote:

I would like to commit this change as is now. And then change printf to KASSERT in a week rather than in a month.
Hope that no one would object.

Ok by me.

In D20458#443359, @avg wrote:

Also, another thing that I realized is that this defensive code won't help much if a bus defines BUS1_IVAR_X and a child device requests BUS2_IVAR_Y when BUS1_IVAR_X == BUS2_IVAR_Y.
BUS_READ_IVAR / BUS_WRITE_IVAR may succeed in that case but the result could be meaningless.

The only idea I have is to start gradually introducing a pattern where a first value of an ivar enum is some randomly chosen number.
E.g.:

enum {
        IICBUS_IVAR_ADDR = 100500,      /* Address or base address */
        IICBUS_IVAR_NOSTOP,             /* nostop defaults */
};

enum smbus_ivars {
    SMBUS_IVAR_ADDR = 100600,           /* slave address of the device */
};

That might help to minimize a chance of an accidental ivar value clash.
But changing this for existing ivars would break the ABI.
So, I guess, that we could start doing this only for new bus devices.

Could do something cute like compile time hash of svn/git rev + bus + var name? Would require some makefile support or a c++1x constexpr compilation unit with extern C visibility (depending on how much we care to detect this). Obviously svn/git revision would be frozen at stable branch. Maybe too cute for little benefit.

Jun 5 2019, 3:30 PM
imp committed rS348678: Eliminate unused uuid parameters from gptread and gptread_table. We.
Eliminate unused uuid parameters from gptread and gptread_table. We
Jun 5 2019, 2:35 AM
imp committed rS348675: ufs_module.c can't currently be compiled with -Wcast-align, but the.
ufs_module.c can't currently be compiled with -Wcast-align, but the
Jun 5 2019, 12:08 AM
imp committed rS348674: Don't shadow a global zfsmount variable..
Don't shadow a global zfsmount variable.
Jun 5 2019, 12:04 AM

Jun 4 2019

imp added a comment to D19746: Introduce sim_dev and cam_sim_alloc_dev()..

The change looks reasonable to me. Are there any ABI issues with changing the size of struct cam_sim?

Jun 4 2019, 11:02 PM
imp accepted D19746: Introduce sim_dev and cam_sim_alloc_dev()..
Jun 4 2019, 10:58 PM
imp committed rS348659: Use newly minted efi_devpath_same_disk() instead of.
Use newly minted efi_devpath_same_disk() instead of
Jun 4 2019, 6:36 PM
imp committed rS348658: Introduce efi_devpath_same_disk.
Introduce efi_devpath_same_disk
Jun 4 2019, 6:36 PM
imp closed D20513: Fix regression in r347193 in selecting which drive to boot..
Jun 4 2019, 6:36 PM
imp added a reviewer for D20513: Fix regression in r347193 in selecting which drive to boot.: tsoome.
Jun 4 2019, 3:32 PM
imp created D20513: Fix regression in r347193 in selecting which drive to boot..
Jun 4 2019, 2:55 PM
imp added a comment to D20506: isa/isa_common.c: remove needless if (!rl) check in isa_get_resource_list().

Warner, do you want me to update the diff to use return (&DEVTOISA(child)->id_resources);? I'm a bit worried that it would cause more repochurn compared to the current diff which only removes the lines and thus does not affect svn blame on the the others.

Jun 4 2019, 2:12 PM
imp accepted D20509: daemon(8): Don't block TERM during restart delay.
Jun 4 2019, 2:00 PM

Jun 3 2019

imp accepted D20507: enable synaptics and elantech touchpads by default.

This change should do what it says it will do.
Let's see if we can get a bunch of 'works for me' reports from testers :)

Jun 3 2019, 8:29 PM
imp accepted D20506: isa/isa_common.c: remove needless if (!rl) check in isa_get_resource_list().

It's never needed it

Jun 3 2019, 7:16 PM
imp committed rS348569: [zfsboot] Fix boot env back compat (#190).
[zfsboot] Fix boot env back compat (#190)
Jun 3 2019, 7:11 PM
imp abandoned D19816: Add an option for specifying the default debug flags for mps driver..

On second thought, I'll use the tunable.

Jun 3 2019, 6:03 PM
imp accepted D20501: loader: disk_open() should honor D_PARTNONE.

I think this is good, thought I thought'd I'd committed the PARTWILD stuff already. Are there more places I/we've missed?

Jun 3 2019, 3:12 PM