Today
Note: I separated out the whitespace and comment fixes before pushing.
@emaste you are correct / needs escaping in regex pattern groups.
Oh it looks like / needs to be escaped in the [] expression, so [.-\/]. I tried that expression locally and it looked OK but double check
Change the regex for both OSRELEASE and VOLUME_LABEL.
Oh yeah, of course -- I missed the . if !defined(${_V}) || empty(${_V}). So then the question is do we want to take the branch from Cirrus? I.e., is FreeBSD-16.0-CURRENT-amd64 desired, or FreeBSD-16.0-pull_1234-amd64?
I think CIRRUS-CI also has an environment variable named BRANCH.
This seems a bit strange - BRANCH should be coming out of newvers.sh and be something like BRANCH="CURRENT" (unless BRANCH_OVERRIDE is set). How is pull/XXXX making its way in?
Just in case I created PR and it was fired into our persistent worker.
No objection, seems fine. This will be the first use I believe?
sort optstr
getopt
parse
As we discussed in private email exchange, this is speculatively supposed to be safe. I tested only on CPU Family=0x19 Model=0xa0 Stepping=0x02, that doesn't have updated BIOS. The microcode in the CPU matches the first version in the blob and safely failed to upgrade to the newer version. The expected failure message was printed.
net/zapret: Update 72.4 => 72.5
Let's give it a shot!
Since we are starting to expand the usage of vmem, I want to point out something that I only noticed around the time we added support for nextfit allocation. What we call bestfit is really an implementation of firstfit allocation. (A comment pointing this out was actually deleted from the Netbsd original when vmem was imported.) And, what we call firstfit is what, I believe, Solaris calls instantfit. We have no actual implementation of bestfit allocation. That said, mav's long ago change to "create own free list for each of the first 32 possible allocation sizes" has the effect of bestfit allocation for small sizes.
FYI, here is what's included in this update:
% for f in /usr/local/share/cpucontrol/microcode_amd*.bin; do ./amd_ucode_info.py ${f}; done
Microcode patches in /usr/local/share/cpucontrol/microcode_amd_fam15h.bin:
Family=0x15 Model=0x01 Stepping=0x02: Patch=0x0600063e Length=2592 bytes
Family=0x15 Model=0x02 Stepping=0x00: Patch=0x06000852 Length=2592 bytes
Family=0x15 Model=0x10 Stepping=0x01: Patch=0x06001119 Length=2592 bytes
Microcode patches in /usr/local/share/cpucontrol/microcode_amd_fam16h.bin:
Family=0x16 Model=0x00 Stepping=0x01: Patch=0x0700010f Length=3458 bytes
Microcode patches in /usr/local/share/cpucontrol/microcode_amd_fam17h.bin:
Family=0x17 Model=0x71 Stepping=0x00: Patch=0x08701034 Length=3200 bytes
Family=0x17 Model=0x01 Stepping=0x02: Patch=0x0800126f Length=3200 bytes
Family=0x17 Model=0x31 Stepping=0x00: Patch=0x0830107c Length=3200 bytes
Family=0x17 Model=0x60 Stepping=0x01: Patch=0x0860010d Length=3200 bytes
Family=0x17 Model=0x08 Stepping=0x02: Patch=0x0800820d Length=3200 bytes
Family=0x17 Model=0xa0 Stepping=0x00: Patch=0x08a0000a Length=3200 bytes
Family=0x17 Model=0x68 Stepping=0x01: Patch=0x08608108 Length=3200 bytes
Microcode patches in /usr/local/share/cpucontrol/microcode_amd_fam19h.bin:
WARNING: Duplicate CPUID 0x00a00f11 (Family=0x19 Model=0x01 Stepping=0x01) in the equivalence table for equiv_id 0xa011
WARNING: Duplicate CPUID 0x00a00f12 (Family=0x19 Model=0x01 Stepping=0x02) in the equivalence table for equiv_id 0xa012
WARNING: Duplicate CPUID 0x00a10f11 (Family=0x19 Model=0x11 Stepping=0x01) in the equivalence table for equiv_id 0xa111
WARNING: Duplicate CPUID 0x00a10f12 (Family=0x19 Model=0x11 Stepping=0x02) in the equivalence table for equiv_id 0xa112
WARNING: Duplicate CPUID 0x00aa0f02 (Family=0x19 Model=0xa0 Stepping=0x02) in the equivalence table for equiv_id 0xaa02
Family=0x19 Model=0x01 Stepping=0x00: Patch=0x0a00107a Length=5568 bytes
Family=0x19 Model=0x01 Stepping=0x01: Patch=0x0a0011d5 Length=5568 bytes
Family=0x19 Model=0x01 Stepping=0x01: Patch=0x0a0011de Length=5568 bytes
Family=0x19 Model=0x01 Stepping=0x02: Patch=0x0a001238 Length=5568 bytes
Family=0x19 Model=0x01 Stepping=0x02: Patch=0x0a001247 Length=5568 bytes
Family=0x19 Model=0x08 Stepping=0x02: Patch=0x0a00820d Length=5568 bytes
Family=0x19 Model=0x11 Stepping=0x01: Patch=0x0a101148 Length=5568 bytes
Family=0x19 Model=0x11 Stepping=0x01: Patch=0x0a101158 Length=5568 bytes
Family=0x19 Model=0x11 Stepping=0x02: Patch=0x0a101248 Length=5568 bytes
Family=0x19 Model=0x11 Stepping=0x02: Patch=0x0a101253 Length=5568 bytes
Family=0x19 Model=0x18 Stepping=0x01: Patch=0x0a108109 Length=5568 bytes
Family=0x19 Model=0x21 Stepping=0x00: Patch=0x0a20102e Length=5568 bytes
Family=0x19 Model=0x21 Stepping=0x02: Patch=0x0a201211 Length=5568 bytes
Family=0x19 Model=0x44 Stepping=0x01: Patch=0x0a404108 Length=5568 bytes
Family=0x19 Model=0x50 Stepping=0x00: Patch=0x0a500012 Length=5568 bytes
Family=0x19 Model=0x61 Stepping=0x02: Patch=0x0a60120a Length=5568 bytes
Family=0x19 Model=0x74 Stepping=0x01: Patch=0x0a704108 Length=5568 bytes
Family=0x19 Model=0x75 Stepping=0x02: Patch=0x0a705208 Length=5568 bytes
Family=0x19 Model=0x78 Stepping=0x00: Patch=0x0a708008 Length=5568 bytes
Family=0x19 Model=0x7c Stepping=0x00: Patch=0x0a70c008 Length=5568 bytes
Family=0x19 Model=0xa0 Stepping=0x01: Patch=0x0aa00116 Length=5568 bytes
Family=0x19 Model=0xa0 Stepping=0x02: Patch=0x0aa00215 Length=5568 bytes
Family=0x19 Model=0xa0 Stepping=0x02: Patch=0x0aa0021c Length=5568 bytes
Microcode patches in /usr/local/share/cpucontrol/microcode_amd_fam1ah.bin:
Family=0x1a Model=0x02 Stepping=0x01: Patch=0x0b002161 Length=14368 bytes
Family=0x1a Model=0x08 Stepping=0x01: Patch=0x0b008121 Length=14368 bytes
Family=0x1a Model=0x11 Stepping=0x00: Patch=0x0b101058 Length=14368 bytes
Family=0x1a Model=0x24 Stepping=0x00: Patch=0x0b204037 Length=14368 bytes
Family=0x1a Model=0x44 Stepping=0x00: Patch=0x0b404035 Length=14368 bytes
Family=0x1a Model=0x44 Stepping=0x01: Patch=0x0b404108 Length=14368 bytes
Family=0x1a Model=0x60 Stepping=0x00: Patch=0x0b600037 Length=14368 bytes
Family=0x1a Model=0x68 Stepping=0x00: Patch=0x0b608038 Length=14368 bytes
Family=0x1a Model=0x70 Stepping=0x00: Patch=0x0b700037 Length=14368 bytes
Microcode patches in /usr/local/share/cpucontrol/microcode_amd.bin:
Family=0x10 Model=0x02 Stepping=0x03: Patch=0x01000083 Length=960 bytes
Family=0x10 Model=0x02 Stepping=0x02: Patch=0x01000083 Length=960 bytes
Family=0x10 Model=0x02 Stepping=0x0a: Patch=0x01000084 Length=960 bytes
Family=0x10 Model=0x06 Stepping=0x02: Patch=0x010000c7 Length=960 bytes
Family=0x10 Model=0x04 Stepping=0x03: Patch=0x010000c8 Length=960 bytes
Family=0x10 Model=0x06 Stepping=0x03: Patch=0x010000c8 Length=960 bytes
Family=0x10 Model=0x05 Stepping=0x03: Patch=0x010000c8 Length=960 bytes
Family=0x10 Model=0x08 Stepping=0x01: Patch=0x010000d9 Length=960 bytes
Family=0x10 Model=0x09 Stepping=0x01: Patch=0x010000d9 Length=960 bytes
Family=0x10 Model=0x08 Stepping=0x00: Patch=0x010000da Length=960 bytes
Family=0x10 Model=0x04 Stepping=0x02: Patch=0x010000db Length=960 bytes
Family=0x10 Model=0x05 Stepping=0x02: Patch=0x010000db Length=960 bytes
Family=0x10 Model=0x0a Stepping=0x00: Patch=0x010000dc Length=960 bytes
Family=0x11 Model=0x03 Stepping=0x01: Patch=0x02000032 Length=512 bytes
Family=0x12 Model=0x01 Stepping=0x00: Patch=0x03000027 Length=960 bytes
Family=0x14 Model=0x01 Stepping=0x00: Patch=0x05000029 Length=1568 bytes
Family=0x14 Model=0x02 Stepping=0x00: Patch=0x05000119 Length=1568 bytesCan I please get a decision on this?
The jimage file is truly architecture independent. Not just amd64 vs arm64. But it works for FreeBSD, Linux, Windows, basically anything that has a janet interpreter.
The jdn file is the janet equivalent of edn which is the clojure equivalent of JSON. It is just recording what is inside the jimage.
Panel Used By
| Dashboard | abemcintyre66_gmail.com's Dashboard |