Page MenuHomeFreeBSD
Feed Advanced Search

Aug 24 2020

scottph added a comment to D26130: vm_reserv: Sparsify the vm_reserv_array when VM_PHYSSEG_SPARSE.

Instead of modifying vm_phys.c to have some knowledge of superpage reservations, could we instead allocation a reservation array per vm_phys_seg, at least in the VM_PHYSSEG_SPARSE case? I think that would keep the layering clean, and make it easy to solve the issue I pointed out in vm_reserv_from_page().

Aug 24 2020, 11:44 PM
scottph updated the diff for D26130: vm_reserv: Sparsify the vm_reserv_array when VM_PHYSSEG_SPARSE.
Aug 24 2020, 11:42 PM
scottph added inline comments to D26129: Move vm_page_dump bitset array definition to MI code.
Aug 24 2020, 11:37 PM
scottph added inline comments to D26129: Move vm_page_dump bitset array definition to MI code.
Aug 24 2020, 11:35 PM
scottph updated the diff for D26129: Move vm_page_dump bitset array definition to MI code.
Aug 24 2020, 11:32 PM
scottph updated the diff for D26129: Move vm_page_dump bitset array definition to MI code.
Aug 24 2020, 11:30 PM
scottph added a comment to D25798: arm64: Make local stores observable before sending IPIs.

Sorry, I missed the reply somehow.

Don't other PIC drivers require a similar change then? i.e., why isn't the change in pic_ipi_send() instead?

Aug 24 2020, 11:28 PM
scottph updated the diff for D25798: arm64: Make local stores observable before sending IPIs.
Aug 24 2020, 11:27 PM

Aug 21 2020

scottph updated the diff for D26133: arm64/acpi: Give the real PA limit to ACPI.
Aug 21 2020, 7:36 AM
scottph added inline comments to D26129: Move vm_page_dump bitset array definition to MI code.
Aug 21 2020, 7:35 AM
scottph updated the diff for D26129: Move vm_page_dump bitset array definition to MI code.
Aug 21 2020, 7:18 AM
scottph added inline comments to D26128: bitset: add BIT_FFS_AT() for finding the first bit set greater than a start bit.
Aug 21 2020, 7:18 AM
scottph updated the diff for D26128: bitset: add BIT_FFS_AT() for finding the first bit set greater than a start bit.
Aug 21 2020, 7:16 AM

Aug 20 2020

scottph added inline comments to D26128: bitset: add BIT_FFS_AT() for finding the first bit set greater than a start bit.
Aug 20 2020, 9:00 PM
scottph updated the diff for D26128: bitset: add BIT_FFS_AT() for finding the first bit set greater than a start bit.
Aug 20 2020, 8:56 PM
scottph added a comment to D26134: arm64: Increase dmap size to 95 TiB.

Reviews D26128, D26129, D26130, D26131, D26132, D26133 deal with various arrays that explode in size when the last physical address becomes really huge.

Aug 20 2020, 7:01 AM
scottph requested review of D26134: arm64: Increase dmap size to 95 TiB.
Aug 20 2020, 6:59 AM
scottph requested review of D26133: arm64/acpi: Give the real PA limit to ACPI.
Aug 20 2020, 6:56 AM
scottph requested review of D26132: arm64/pmap: Sparsify pv_table.
Aug 20 2020, 6:55 AM
scottph requested review of D26131: Sparsify the vm_page_dump bitmap.
Aug 20 2020, 6:54 AM
scottph requested review of D26130: vm_reserv: Sparsify the vm_reserv_array when VM_PHYSSEG_SPARSE.
Aug 20 2020, 6:52 AM
scottph added inline comments to D26129: Move vm_page_dump bitset array definition to MI code.
Aug 20 2020, 6:50 AM
scottph requested review of D26129: Move vm_page_dump bitset array definition to MI code.
Aug 20 2020, 6:49 AM
scottph requested review of D26128: bitset: add BIT_FFS_AT() for finding the first bit set greater than a start bit.
Aug 20 2020, 6:48 AM

Jul 28 2020

scottph added inline comments to D25839: efibootmgr: Add option to request booting to the firmware user interface.
Jul 28 2020, 5:06 PM
scottph added inline comments to D25839: efibootmgr: Add option to request booting to the firmware user interface.
Jul 28 2020, 4:29 PM
scottph added a comment to D25839: efibootmgr: Add option to request booting to the firmware user interface.
In D25839#572447, @manu wrote:

LGTM.
I didn't knew this features, looks useful, is the variable reset by the
firmware ? (Or at least is supposed to be ?)

Jul 28 2020, 3:17 PM

Jul 27 2020

scottph requested review of D25839: efibootmgr: Add option to request booting to the firmware user interface.
Jul 27 2020, 11:19 PM

Jul 26 2020

scottph added a comment to D25798: arm64: Make local stores observable before sending IPIs.

smp_rendezvous_cpus() uses a store-release to update smp_rv_waiters before
sending the IPI - why isn't that sufficient?

Jul 26 2020, 11:46 PM

Jul 25 2020

scottph requested review of D25798: arm64: Make local stores observable before sending IPIs.
Jul 25 2020, 4:57 AM

Apr 3 2020

scottph added a comment to D24066: bhyve: support relocating fbuf and passthru data BARs.

It could well be worth investigating if the changes to UEFI to properly support PcdPciDisableBusEnumeration = TRUE are less invasive than allowing runtime BAR changes
(Intel ACRN has this as TRUE)

Apr 3 2020, 6:47 AM · bhyve
scottph updated the diff for D24066: bhyve: support relocating fbuf and passthru data BARs.
Apr 3 2020, 6:43 AM · bhyve

Mar 14 2020

scottph created D24066: bhyve: support relocating fbuf and passthru data BARs.
Mar 14 2020, 3:17 AM · bhyve

Nov 15 2019

scottph added inline comments to D22374: TSX Asynchronous Abort Mitigation.
Nov 15 2019, 8:12 PM

Nov 12 2019

scottph committed rS354648: nvdimm(4): Fix various problems when the using the second label index block.
nvdimm(4): Fix various problems when the using the second label index block
Nov 12 2019, 4:24 PM
scottph closed D22253: nvdimm(4): Fix various problems when the using the second label index block.
Nov 12 2019, 4:24 PM
scottph committed rS354645: nvdimm(4): Only expose namespaces for accessible data SPAs.
nvdimm(4): Only expose namespaces for accessible data SPAs
Nov 12 2019, 3:50 PM
scottph closed D21987: nvdimm(4): Only expose namespaces for accessible data SPAs.
Nov 12 2019, 3:50 PM
scottph updated the diff for D21987: nvdimm(4): Only expose namespaces for accessible data SPAs.
Nov 12 2019, 1:03 AM
scottph updated the diff for D22253: nvdimm(4): Fix various problems when the using the second label index block.

Updated with @cem's suggestions. Reposting for mentor approval.

Nov 12 2019, 12:55 AM

Nov 11 2019

scottph accepted D22007: amd64: Ensure that the state of the switched-out thread is fully flushed.
Nov 11 2019, 6:23 PM

Nov 6 2019

scottph added a comment to D22253: nvdimm(4): Fix various problems when the using the second label index block.
In D22253#486458, @cem wrote:

Thanks!

Some initial tentative feedback and CCing kib@. Caveat, I haven't yet consulted any official documentation nor have I looked at the adjacent code to understand what it is doing, so my comments may just be uninformed. But, provisionally, I don't understand the motivation for some of this changeset.

Nov 6 2019, 7:13 PM
scottph created D22253: nvdimm(4): Fix various problems when the using the second label index block.
Nov 6 2019, 1:34 AM

Nov 4 2019

scottph added inline comments to D22007: amd64: Ensure that the state of the switched-out thread is fully flushed.
Nov 4 2019, 10:48 PM

Nov 1 2019

scottph added a comment to D22007: amd64: Ensure that the state of the switched-out thread is fully flushed.
In D22007#481175, @cem wrote:

Write Combining (WC) ... If the WC buffer is partially filled, the writes may be delayed until the next occurrence of a serializing event; such as, an SFENCE or MFENCE instruction, CPUID execution, a read or write to uncached memory, an interrupt occurrence, or a LOCK instruction execution.

The list is oddly specific and does not include 'mov to control registers,' but the "such as" language and cpuid example suggest to me that setting cr3 may be sufficient (if, as Konstantin points out, we actually did so).

Nov 1 2019, 7:43 PM

Oct 30 2019

scottph committed rP516085: devel/pmdk: update to 1.6.1.
devel/pmdk: update to 1.6.1
Oct 30 2019, 4:21 PM
scottph closed D19504: devel/pmdk: update to 1.6.1.
Oct 30 2019, 4:20 PM

Oct 29 2019

scottph updated the diff for D18028: Add support for Intel Speed Shift.

ah sorry, here's the same patch, but with context restored.

Oct 29 2019, 11:23 PM
scottph updated the diff for D19504: devel/pmdk: update to 1.6.1.

This fixes a failure in the test suite. libvmmalloc was using more thread local storage in the inital-exec mode than rtld was reserving space for, causing the library to fail to load. Switching to the local-dynamic model fixes the issue and allows the test suite to pass.

Oct 29 2019, 11:10 PM

Oct 28 2019

scottph added a comment to D21987: nvdimm(4): Only expose namespaces for accessible data SPAs.
In D21987#480367, @cem wrote:

Do Control Region SPAs have namespaces? I'm still fairly new to NFIT.

Oct 28 2019, 6:14 PM
scottph added inline comments to D18028: Add support for Intel Speed Shift.
Oct 28 2019, 6:09 PM
scottph updated the diff for D18028: Add support for Intel Speed Shift.
Oct 28 2019, 6:03 PM

Oct 23 2019

scottph added a comment to D18028: Add support for Intel Speed Shift.

Likewise, thanks for the speedy reviews all.

Oct 23 2019, 1:42 AM
scottph updated the diff for D18028: Add support for Intel Speed Shift.
  • remove the machdep.intel_speed_shift tunable
  • call out to hwpstate_intel's identify from est's
  • show the cf_drv_dev's nameunit in dev.cpufreq.%d.freq_driver
  • initialize the debug sysctl's sbuf w/o a drain function
  • reject percentages outside [0, 100] in epp sysctl
Oct 23 2019, 1:31 AM

Oct 17 2019

scottph updated the diff for D18028: Add support for Intel Speed Shift.
  • update cpufreq.4
  • create hwpstate_intel.4
  • guard intel_speed_shift with amd64 || i386
  • undo dev => cf_dev
  • some cf_drv_dev => dev
  • some style fixes
  • SYSCTL_ADD_STRING => SYSCTL_ADD_CONST_STRING
  • SYSCTL_OUT thing
Oct 17 2019, 9:53 PM

Oct 11 2019

scottph added inline comments to D21987: nvdimm(4): Only expose namespaces for accessible data SPAs.
Oct 11 2019, 11:04 PM
scottph commandeered D18028: Add support for Intel Speed Shift.
Oct 11 2019, 10:37 PM
scottph created D21987: nvdimm(4): Only expose namespaces for accessible data SPAs.
Oct 11 2019, 10:27 PM

Oct 2 2019

scottph accepted D21871: nvdimm: Fix error path mis-free.
Oct 2 2019, 5:33 PM

Sep 9 2019

scottph committed rS352109: MFC 351897: nvdimm(4): Add description of NVDIMM Namespace support.
MFC 351897: nvdimm(4): Add description of NVDIMM Namespace support
Sep 9 2019, 9:03 PM
scottph committed rS352108: MFC 348757,351225: acpi and nvdimm location_str updates.
MFC 348757,351225: acpi and nvdimm location_str updates
Sep 9 2019, 8:50 PM
scottph closed D20644: MFC 348757,351225: acpi and nvdimm location_str updates.
Sep 9 2019, 8:50 PM

Sep 5 2019

scottph committed rS351897: nvdimm(4): Add description of NVDIMM Namespace support.
nvdimm(4): Add description of NVDIMM Namespace support
Sep 5 2019, 8:52 PM
scottph closed D21536: nvdimm(4): Add description of NVDIMM Namespace support.
Sep 5 2019, 8:52 PM
scottph updated the diff for D21536: nvdimm(4): Add description of NVDIMM Namespace support.
Sep 5 2019, 8:01 PM
scottph created D21536: nvdimm(4): Add description of NVDIMM Namespace support.
Sep 5 2019, 6:37 PM

Aug 30 2019

scottph retitled D19504: devel/pmdk: update to 1.6.1 from devel/pmdk: update to 1.5.1 to devel/pmdk: update to 1.6.1.

Sorry for the long delay here, I was waiting for the pmdk-1.6 release which incorporates some of our fixes upstream, and then went on vacation for the summer.

Aug 30 2019, 6:08 PM

Aug 26 2019

scottph retitled D20644: MFC 348757,351225: acpi and nvdimm location_str updates from MFC 348757: nvdimm: Provide nvdimm location information to MFC 348757,351225: acpi and nvdimm location_str updates.

Index: stable/12

and also:

Aug 26 2019, 5:10 PM

Aug 19 2019

scottph closed D21326: Don't set the string "unknown" as a device's location_str.
Aug 19 2019, 5:51 PM
scottph committed rS351225: Don't set the string "unknown" as a device's location_str.
Don't set the string "unknown" as a device's location_str
Aug 19 2019, 5:51 PM
scottph created D21326: Don't set the string "unknown" as a device's location_str.
Aug 19 2019, 5:10 PM

Aug 16 2019

scottph added a comment to D19976: bhyve: Support a _VARS.fd file for bootrom.

The additional note on style(9) on variable order declaration is informative only, you can choose to fix at your option.

Aug 16 2019, 6:52 PM
scottph added a comment to D19976: bhyve: Support a _VARS.fd file for bootrom.

@rgrimes I believe I've addressed your comments from earlier. Would you mind taking a look at the new patch? Thanks.

Aug 16 2019, 5:09 PM
scottph added a comment to D21281: Work around a bug in the EFI HTTP driver.

Is this error case something that happens only sometimes? Fetching multiple files is something that has definitely worked for me before.

Yes, it only happens if a file can't be found. For example if it's asked to open /boot/foo, then it'll try /boot/foo and /boot/foo/ before failing. And the crash is only seen when booting over a secure connection: HTTP works fine, HTTPS crashes.

Aug 16 2019, 4:45 PM

Aug 15 2019

scottph added a comment to D21281: Work around a bug in the EFI HTTP driver.

Is this error case something that happens only sometimes? Fetching multiple files is something that has definitely worked for me before.

Aug 15 2019, 10:56 PM

Jun 23 2019

scottph added inline comments to D20644: MFC 348757,351225: acpi and nvdimm location_str updates.
Jun 23 2019, 1:22 PM

Jun 14 2019

scottph created D20644: MFC 348757,351225: acpi and nvdimm location_str updates.
Jun 14 2019, 9:36 PM
scottph created D20643: loader: add HTTP support using UEFI.
Jun 14 2019, 8:55 PM
scottph created D20642: efinet: Defer exclusively opening the network handles.
Jun 14 2019, 8:53 PM

Jun 6 2019

scottph committed rS348757: nvdimm: Provide nvdimm location information.
nvdimm: Provide nvdimm location information
Jun 6 2019, 8:12 PM
scottph closed D20528: nvdimm: Provide nvdimm location information.
Jun 6 2019, 8:12 PM

Jun 5 2019

scottph added inline comments to D20528: nvdimm: Provide nvdimm location information.
Jun 5 2019, 7:36 PM
scottph created D20528: nvdimm: Provide nvdimm location information.
Jun 5 2019, 7:19 PM
scottph committed rS348680: Add myself to committers-src.dot and calendar.freebsd.
Add myself to committers-src.dot and calendar.freebsd
Jun 5 2019, 4:01 AM

Jun 3 2019

scottph committed rD53103: Add myself as a new committer.
Add myself as a new committer
Jun 3 2019, 10:49 PM

May 31 2019

pi renamed scottph from scott.d.phillips_intel.com to scottph.
May 31 2019, 6:18 AM

May 23 2019

scottph added a comment to D20309: Support software breakpoints in the debug server..

Still working on fully reviewing this, but I noticed this one thing in testing.

May 23 2019, 4:41 PM

May 21 2019

scottph accepted D20308: Add initial support for qSupported..

Looks good to me

May 21 2019, 9:05 PM
scottph accepted D20307: Add support for writing to guest memory in the debug server..

gdb_read_mem and gdb_write_mem could conceivably be factored together, though I'm not sure the complexity of that would be worth it. With or without that, this patch looks good to me.

May 21 2019, 9:03 PM

May 3 2019

scottph added inline comments to D19975: vmm: Add emulation for the `add` instruction.
May 3 2019, 8:04 PM

Apr 24 2019

scottph added a comment to D19976: bhyve: Support a _VARS.fd file for bootrom.

@scott.d.phillips_intel.com I'm wondering if sysutils/uefi-edk2-bhyve will work out of the box with these new options, or do we need to update this port as well?

Apr 24 2019, 5:21 PM

Apr 22 2019

scottph added inline comments to D19976: bhyve: Support a _VARS.fd file for bootrom.
Apr 22 2019, 10:43 PM
scottph updated the diff for D19976: bhyve: Support a _VARS.fd file for bootrom.
Apr 22 2019, 10:32 PM
scottph updated the diff for D19975: vmm: Add emulation for the `add` instruction.

reword comment about GETADDFLAGS macro

Apr 22 2019, 10:31 PM
scottph added a comment to 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 separate review, it would only obfuscate the change to do it here.

Apr 22 2019, 6:16 PM

Apr 19 2019

scottph updated the diff for D19976: bhyve: Support a _VARS.fd file for bootrom.

bhyve.8, update .Dd, start sentences on a new line.

Apr 19 2019, 9:43 PM
scottph added a comment to D19976: bhyve: Support a _VARS.fd file for bootrom.

Note that the UEFI firmware used with this needs to have the flash variable driver added in, as in: https://github.com/freebsd/uefi-edk2/pull/8

Apr 19 2019, 9:09 PM
scottph created D19976: bhyve: Support a _VARS.fd file for bootrom.
Apr 19 2019, 9:08 PM
scottph created D19975: vmm: Add emulation for the `add` instruction.
Apr 19 2019, 9:05 PM

Apr 15 2019

scottph added inline comments to D19875: Add sysutils/uefi-edk2-bhyve-devel based on branch bhyve/edk2-stable201903.
Apr 15 2019, 7:51 PM