Page MenuHomeFreeBSD

cperciva (Colin Percival)
User

Projects

User Details

User Since
Jun 3 2014, 6:45 PM (565 w, 6 d)

Recent Activity

Fri, Apr 4

cperciva committed R9:ab385b5f2de5: 14.3: Add hardware notes generated from stable/14 (authored by cperciva).
14.3: Add hardware notes generated from stable/14
Fri, Apr 4, 10:51 PM
cperciva committed R9:b6ee0b9a735b: Allow hardware notes to be generated from STABLE (authored by cperciva).
Allow hardware notes to be generated from STABLE
Fri, Apr 4, 10:51 PM
cperciva committed R9:968a62ad536b: 14.3: Schedule reminder has gone out (authored by cperciva).
14.3: Schedule reminder has gone out
Fri, Apr 4, 5:39 PM
cperciva closed D49325: Status/2025Q1/releng.adoc: Add report.
Fri, Apr 4, 4:19 PM
cperciva closed D49326: Status/2025Q1/ec2.adoc: Add report.
Fri, Apr 4, 4:19 PM
cperciva committed R9:d6761053a274: Status/2025Q1/releng.adoc: Add report (authored by cperciva).
Status/2025Q1/releng.adoc: Add report
Fri, Apr 4, 4:19 PM
cperciva committed R9:fe9ef4c5bc7b: Status/2025Q1/ec2.adoc: Add report (authored by cperciva).
Status/2025Q1/ec2.adoc: Add report
Fri, Apr 4, 4:19 PM

Thu, Apr 3

cperciva added a comment to D49634: iwx: Shorten log code field.

Please commit ASAP.

Thu, Apr 3, 4:31 AM

Wed, Apr 2

cperciva committed rG80febaa1714e: EC2: Set PCIe eject timeout to 0 (authored by cperciva).
EC2: Set PCIe eject timeout to 0
Wed, Apr 2, 8:15 PM
cperciva committed rG9be42ee6c9c7: pci: Make PCIe Eject timeout configurable (authored by cperciva).
pci: Make PCIe Eject timeout configurable
Wed, Apr 2, 8:15 PM
cperciva closed D49585: pci: Make PCIe Eject timeout configurable.
Wed, Apr 2, 8:15 PM
cperciva added a comment to D49585: pci: Make PCIe Eject timeout configurable.

Thanks, committed with the two minor changes you suggested.

Wed, Apr 2, 8:14 PM
cperciva added a comment to D49326: Status/2025Q1/ec2.adoc: Add report.

@salvadore Ping?

Wed, Apr 2, 5:19 PM
cperciva committed R11:8b0061e89739: sysutils/spiped: Update to 1.6.4 (authored by cperciva).
sysutils/spiped: Update to 1.6.4
Wed, Apr 2, 5:12 PM
cperciva committed R11:a96356078cfe: sysutils/spiped: Update to 1.6.4 (authored by cperciva).
sysutils/spiped: Update to 1.6.4
Wed, Apr 2, 5:11 PM
cperciva committed rGe85aaed60eb0: Correct CTLTYPE of SYSCTL_SBINTIME_MSEC etc (authored by cperciva).
Correct CTLTYPE of SYSCTL_SBINTIME_MSEC etc
Wed, Apr 2, 3:52 PM
cperciva closed D49584: Correct CTLTYPE of SYSCTL_SBINTIME_MSEC etc.
Wed, Apr 2, 3:52 PM

Tue, Apr 1

cperciva committed rG423362c3d8d6: pci: Only claim to support PCI ASPM on x86 (authored by andrew).
pci: Only claim to support PCI ASPM on x86
Tue, Apr 1, 5:47 PM
cperciva committed rG355f02cddbf0: conf: Add acpi_pci.c to the arm64 build (authored by andrew).
conf: Add acpi_pci.c to the arm64 build
Tue, Apr 1, 5:47 PM
cperciva committed rG3c9eae3c11da: pci_host_generic:Add pcib_request_feature on ACPI (authored by andrew).
pci_host_generic:Add pcib_request_feature on ACPI
Tue, Apr 1, 5:47 PM
cperciva committed rG479872ce9194: pci_host_generic: Support ACPI_IVAR_HANDLE (authored by andrew).
pci_host_generic: Support ACPI_IVAR_HANDLE
Tue, Apr 1, 5:47 PM
cperciva committed rGa64357f31b7c: acpi_pci: Add quirk for PSTAT_PME-before-detach (authored by cperciva).
acpi_pci: Add quirk for PSTAT_PME-before-detach
Tue, Apr 1, 5:47 PM
cperciva committed rG506e41a1517e: pci: Make generic_pcie_read_ivar non static (authored by andrew).
pci: Make generic_pcie_read_ivar non static
Tue, Apr 1, 5:47 PM
cperciva committed rGd3916945e4e1: pci: Use a switch statement when reading ivars (authored by andrew).
pci: Use a switch statement when reading ivars
Tue, Apr 1, 5:47 PM
cperciva committed rG3af851edd0b9: acpica: Extract _OSC parsing to a common file (authored by andrew).
acpica: Extract _OSC parsing to a common file
Tue, Apr 1, 5:47 PM

Mon, Mar 31

cperciva added a reverting change for rG0e33c2e6df7a: pci: Only re-route IRQs based on firmware on x86: rG680d34896c36: Revert "pci: Only re-route IRQs based on firmware on x86".
Mon, Mar 31, 9:01 PM
cperciva committed rG680d34896c36: Revert "pci: Only re-route IRQs based on firmware on x86" (authored by cperciva).
Revert "pci: Only re-route IRQs based on firmware on x86"
Mon, Mar 31, 9:01 PM
cperciva added a reverting change for D49560: pci: Only re-route IRQs based on firmware on x86: rG680d34896c36: Revert "pci: Only re-route IRQs based on firmware on x86".
Mon, Mar 31, 9:01 PM
cperciva added a comment to D49585: pci: Make PCIe Eject timeout configurable.

Requires https://reviews.freebsd.org/D49584 to work properly (otherwise setting the sysctl(8) gets confused).

Mon, Mar 31, 4:14 AM
cperciva requested review of D49585: pci: Make PCIe Eject timeout configurable.
Mon, Mar 31, 4:13 AM
cperciva requested review of D49584: Correct CTLTYPE of SYSCTL_SBINTIME_MSEC etc.
Mon, Mar 31, 4:13 AM

Sun, Mar 30

cperciva committed rG25df691800f0: nvme: Fix hotplug on one of the amazon platforms (authored by imp).
nvme: Fix hotplug on one of the amazon platforms
Sun, Mar 30, 11:46 PM

Sat, Mar 29

cperciva committed rG0e33c2e6df7a: pci: Only re-route IRQs based on firmware on x86 (authored by cperciva).
pci: Only re-route IRQs based on firmware on x86
Sat, Mar 29, 8:18 PM
cperciva closed D49560: pci: Only re-route IRQs based on firmware on x86.
Sat, Mar 29, 8:18 PM
cperciva closed D49543: Correctly track index of first free irq map entry.
Sat, Mar 29, 8:18 PM
cperciva committed rG4cb527be7a25: Correctly track index of first free irq map entry (authored by cperciva).
Correctly track index of first free irq map entry
Sat, Mar 29, 8:18 PM

Fri, Mar 28

cperciva added inline comments to D49543: Correctly track index of first free irq map entry.
Fri, Mar 28, 9:02 PM
cperciva added a comment to D49543: Correctly track index of first free irq map entry.

The one user-visible difference is that if we avoid reusing freed IDs then we can quickly hit PCI_INVALID_IRQ and get a panic. If we reuse freed IDs then we only hit that panic when we leak an IRQ (which is a separate issue I'm talking to @jhb about).

If someone can figure out how to resolve the "returning PCI_INVALID_IRQ from intr_map_irq makes bad things happen" issue then I agree there will be no functional difference.

Fri, Mar 28, 6:33 PM
cperciva requested review of D49560: pci: Only re-route IRQs based on firmware on x86.
Fri, Mar 28, 6:13 PM
cperciva committed rGa1759dca9674: arm64: Fix off-by-one in its_init_cpu_lpi (authored by cperciva).
arm64: Fix off-by-one in its_init_cpu_lpi
Fri, Mar 28, 5:59 PM
cperciva closed D49542: arm64: Fix off-by-one in its_init_cpu_lpi.
Fri, Mar 28, 5:58 PM
cperciva updated subscribers of D49543: Correctly track index of first free irq map entry.

IMO it is logically preferable to exhaust all unique/unused IDs before issuing one that was previously assigned, then freed. This is how the current code behaves.

Fri, Mar 28, 5:55 PM
cperciva added a comment to D49543: Correctly track index of first free irq map entry.

Isn't this just working around a bug in the pci code that assumes an interrupt ID can't be PCI_INVALID_IRQ? This change doesn't fix that, just less likely to be seen. I'm not sure how useful the interrupt number field is on arm64 as it depends on which interrupt controller is used.

Fri, Mar 28, 2:15 PM

Thu, Mar 27

cperciva added a comment to D49544: release/vm: fix setting NO_ROOT and WITHOUT_QEMU.

Looks good to me. Slight commit message nit, the issue here is actually .if defined(NO_ROOT) in Makefile logic rather than -n or -z in a shell script. But the same concept applies.

Thu, Mar 27, 11:28 PM
cperciva requested review of D49543: Correctly track index of first free irq map entry.
Thu, Mar 27, 11:23 PM
cperciva added a comment to D49542: arm64: Fix off-by-one in its_init_cpu_lpi.

FWIW I don't have any particular way to test this, except that I've booted an EC2 instance with this patch and everything seems to be working fine. But it seems like an obviously-correct change per the documentation.

Thu, Mar 27, 11:03 PM
cperciva updated the summary of D49542: arm64: Fix off-by-one in its_init_cpu_lpi.
Thu, Mar 27, 9:48 PM
cperciva updated the diff for D49542: arm64: Fix off-by-one in its_init_cpu_lpi.

Switch to ilog2_long.

Thu, Mar 27, 9:46 PM
cperciva requested review of D49542: arm64: Fix off-by-one in its_init_cpu_lpi.
Thu, Mar 27, 8:31 PM

Wed, Mar 26

cperciva added a comment to D49326: Status/2025Q1/ec2.adoc: Add report.

@salvadore Is this ok now?

Wed, Mar 26, 8:55 PM

Fri, Mar 21

cperciva committed R11:469175ec1ce0: sysutils/tarsnap: Update to 1.0.41 (authored by cperciva).
sysutils/tarsnap: Update to 1.0.41
Fri, Mar 21, 5:11 PM
cperciva committed R11:191dbe220cee: sysutils/tarsnap: Update to 1.0.41 (authored by cperciva).
sysutils/tarsnap: Update to 1.0.41
Fri, Mar 21, 5:10 PM

Wed, Mar 19

cperciva added inline comments to D49326: Status/2025Q1/ec2.adoc: Add report.
Wed, Mar 19, 3:29 PM
cperciva updated the diff for D49326: Status/2025Q1/ec2.adoc: Add report.

Fix: One sentence per line.

Wed, Mar 19, 3:28 PM

Mon, Mar 17

cperciva committed R9:4907bc76913f: 13.5: Now owned by security-officer (authored by cperciva).
13.5: Now owned by security-officer
Mon, Mar 17, 11:13 PM

Fri, Mar 14

cperciva committed rG55c3348ed78f: acpi_pci: Add quirk for DELAY-after-EJ0 (authored by cperciva).
acpi_pci: Add quirk for DELAY-after-EJ0
Fri, Mar 14, 6:45 PM
cperciva closed D49252: acpi_pci: Add quirk for DELAY-after-EJ0.
Fri, Mar 14, 6:45 PM
cperciva added a comment to D49252: acpi_pci: Add quirk for DELAY-after-EJ0.
In D49252#1125653, @jhb wrote:

I assume the parties in question realize that the correct behavior is the bus should be settled with _EJ0 returns, but that since that is on the older systems they don't plan to fix it?

Fri, Mar 14, 6:29 PM

Wed, Mar 12

cperciva committed R9:3668c6b10680: 13.5R/relnotes: 'man:' markup (authored by grahamperrin).
13.5R/relnotes: 'man:' markup
Wed, Mar 12, 7:26 PM
cperciva committed R9:030f18b2d507: 13.5R/relnotes: cdce(4), not dce(4) (authored by grahamperrin).
13.5R/relnotes: cdce(4), not dce(4)
Wed, Mar 12, 7:26 PM
cperciva added a reviewer for D49326: Status/2025Q1/ec2.adoc: Add report: status.

I may have more to add to this report later in the month, but I wanted to get something up here before I forgot.

Wed, Mar 12, 6:34 AM
cperciva requested review of D49326: Status/2025Q1/ec2.adoc: Add report.
Wed, Mar 12, 6:33 AM
cperciva added reviewers for D49325: Status/2025Q1/releng.adoc: Add report: status, releng.
Wed, Mar 12, 6:27 AM
cperciva requested review of D49325: Status/2025Q1/releng.adoc: Add report.
Wed, Mar 12, 6:26 AM

Tue, Mar 11

cperciva committed R9:29c5bae51b0b: 13.5: Is no longer upcoming; 14.3 is (authored by cperciva).
13.5: Is no longer upcoming; 14.3 is
Tue, Mar 11, 2:50 AM
cperciva committed R9:29acf77c151c: 13.5: Add release announcement (authored by cperciva).
13.5: Add release announcement
Tue, Mar 11, 12:05 AM
cperciva committed R9:1e8794e97255: 13.5: Add checksums for 13.5-RELEASE (authored by cperciva).
13.5: Add checksums for 13.5-RELEASE
Tue, Mar 11, 12:05 AM
cperciva committed R9:a587e34fca7d: 13.5: Release-related website updates (authored by cperciva).
13.5: Release-related website updates
Tue, Mar 11, 12:05 AM
cperciva committed R11:d06105db2cdc: misc/freebsd-release-manifests: Add 13.5-RELEASE MANIFEST files (authored by cperciva).
misc/freebsd-release-manifests: Add 13.5-RELEASE MANIFEST files
Tue, Mar 11, 12:05 AM
cperciva committed R11:02dd5021d6f9: misc/freebsd-release-manifests: Add 13.5-RELEASE MANIFEST files (authored by cperciva).
misc/freebsd-release-manifests: Add 13.5-RELEASE MANIFEST files
Tue, Mar 11, 12:04 AM

Mar 7 2025

cperciva committed R9:766cf30a36c4: 13.5: Builds have started (authored by cperciva).
13.5: Builds have started
Mar 7 2025, 1:41 AM
cperciva committed rG882b9f3f2218: Update in preparation for 13.5-RELEASE (authored by cperciva).
Update in preparation for 13.5-RELEASE
Mar 7 2025, 12:01 AM

Mar 6 2025

cperciva added a comment to D49266: acpi_pci: Use pci_has_pm and pci_clear_pme.

Looks reasonable to me. Should I test in EC2? (If yes, which other patches do I need?)

Mar 6 2025, 6:32 PM
cperciva requested review of D49252: acpi_pci: Add quirk for DELAY-after-EJ0.
Mar 6 2025, 5:30 AM

Mar 5 2025

cperciva committed rGd70bac252d30: acpi_pci: Add quirk for PSTAT_PME-before-detach (authored by cperciva).
acpi_pci: Add quirk for PSTAT_PME-before-detach
Mar 5 2025, 8:28 PM
cperciva closed D49146: acpi_pci: Add quirk for PSTAT_PME-before-detach.
Mar 5 2025, 8:28 PM
cperciva added inline comments to D49146: acpi_pci: Add quirk for PSTAT_PME-before-detach.
Mar 5 2025, 5:53 PM
cperciva updated the diff for D49146: acpi_pci: Add quirk for PSTAT_PME-before-detach.

Change quirk name

Mar 5 2025, 5:52 PM
cperciva updated the summary of D49146: acpi_pci: Add quirk for PSTAT_PME-before-detach.
Mar 5 2025, 5:09 AM
cperciva retitled D49146: acpi_pci: Add quirk for PSTAT_PME-before-detach from acpi_pci: Poweroff PCI devices before detach to acpi_pci: Add quirk for PSTAT_PME-before-detach.
Mar 5 2025, 5:09 AM
cperciva updated the diff for D49146: acpi_pci: Add quirk for PSTAT_PME-before-detach.

Make this an ACPI quirk.

Mar 5 2025, 5:08 AM

Mar 4 2025

cperciva added a comment to D49222: pci: Clear active PME# and disable PME# generation.

Yes, the PCIM_PSTAT_PMEENABLE is set to 0 until the eject request arrives at which point it is set to 1.

Mar 4 2025, 9:51 PM
cperciva added a comment to D49222: pci: Clear active PME# and disable PME# generation.
In D49222#1122616, @jhb wrote:

This doesn't cause any problems in EC2, but it doesn't solve the "recognizing that we're ready for an nvme disk to go away" problem either. They're definitely using a write to the power status register as a cue to remove the device (per https://reviews.freebsd.org/D49146 ).

Humm, I can't imagine what the goal of this behavior is on the part of EC2. Can the engineers there explain why they think the PME is still pending and needs to be cleared? Do they assert a PME as part of the eject notification? (You can read the PME bit to see when it changes from 0 to 1 if that's helpful.)

Mar 4 2025, 8:25 PM
cperciva accepted D48382: release: add cloudware oracle targets to package and upload .oci files.
Mar 4 2025, 6:25 PM

Mar 3 2025

cperciva added a comment to D49222: pci: Clear active PME# and disable PME# generation.

This doesn't cause any problems in EC2, but it doesn't solve the "recognizing that we're ready for an nvme disk to go away" problem either. They're definitely using a write to the power status register as a cue to remove the device (per https://reviews.freebsd.org/D49146 ).

Mar 3 2025, 10:27 PM
cperciva committed R9:4acc7fc3dc9a: 13.5: Remove ena_com from relnotes (authored by cperciva).
13.5: Remove ena_com from relnotes
Mar 3 2025, 8:40 PM
cperciva committed R9:1dfb1cdfa065: 13.5: Remove empty release notes sections (authored by cperciva).
13.5: Remove empty release notes sections
Mar 3 2025, 8:40 PM

Mar 2 2025

cperciva committed R9:4adc3b5787bb: 13.5: Count correctly (authored by cperciva).
13.5: Count correctly
Mar 2 2025, 2:26 AM
cperciva committed R9:9578a040ab00: 13.5: Announce RC1 (authored by cperciva).
13.5: Announce RC1
Mar 2 2025, 2:04 AM
cperciva committed R9:dfaf4cc6634f: 13.5: Add checksums for 13.5-RC1 (authored by cperciva).
13.5: Add checksums for 13.5-RC1
Mar 2 2025, 2:01 AM
cperciva committed R11:41b53198325e: misc/freebsd-release-manifests: Add 13.5-RC1 MANIFEST files (authored by cperciva).
misc/freebsd-release-manifests: Add 13.5-RC1 MANIFEST files
Mar 2 2025, 2:00 AM
cperciva committed R11:bce99ebf6eec: misc/freebsd-release-manifests: Add 13.5-RC1 MANIFEST files (authored by cperciva).
misc/freebsd-release-manifests: Add 13.5-RC1 MANIFEST files
Mar 2 2025, 1:59 AM

Mar 1 2025

cperciva added a comment to D49193: freebsd-update add -4.
In D49193#1121912, @sjg wrote:

FYI I run freebsd-update cron on 1st of each month, this morning I noted that my home machine did not get the updates that the ones at work got.
I ran freebsd-update fetch which failed claiming there was no support for FreeBSD 14.1 amd64, using fetch -4 fixes this.

I don't know why, but I find from my home network that IPv6 is not as reliable as IPv4.

Mar 1 2025, 4:58 PM

Feb 28 2025

cperciva added a comment to D48382: release: add cloudware oracle targets to package and upload .oci files.

Ok, please commit this and send me instructions on how I should use it. :-)

Feb 28 2025, 11:05 PM
cperciva committed R9:2cbe49abcd0a: 13.5: Approximately on schedule (authored by cperciva).
13.5: Approximately on schedule
Feb 28 2025, 8:11 PM
cperciva accepted D48574: release: build OCI images with shell scripts.

LGTM, please commit.

Feb 28 2025, 7:02 PM
cperciva committed rGa24b044a1e3b: 13.5: Update to RC1 (authored by cperciva).
13.5: Update to RC1
Feb 28 2025, 12:55 AM
cperciva committed rG956fb94dd608: 13.5: Switch from "quarterly" to "release" pkgs (authored by cperciva).
13.5: Switch from "quarterly" to "release" pkgs
Feb 28 2025, 12:55 AM

Feb 27 2025

cperciva added inline comments to D48574: release: build OCI images with shell scripts.
Feb 27 2025, 7:37 PM
cperciva added a comment to D48574: release: build OCI images with shell scripts.
In D48574#1121221, @dfr wrote:

To make the script simpler, I chose to squash everything into a single layer per image. In theory, it might be possible to construct 'delta' layers e.g. by parsing the output of diff but it doesn't gain much given that the static and dynamic images are so small.

Feb 27 2025, 7:31 PM