Page MenuHomeFreeBSD
Feed Advanced Search

Sun, Apr 7

karels added a comment to D44453: coredirector - Intel TD/HFI driver - Part1: Add ITD/HFI related MSR/CPUID defines to specialregs.h.

Is this project derived from Intel's code (see https://github.com/intel/intel_hfi)? It was originally GPL, but is now dual-licensed.

I understand that this github code has no origin.
I based this driver on FreeBSD's coretemp driver.

Since this is a serious topic related to licensing, I will explain it in a little more detail.
This github is the source code of the driver for Linux kernel, and I learned it.
However, the PowerManagement-related mechanisms are different between the Linux kernel and FreeBSD. In the Linux kernel, this is added to the existing thermal throtlling code, but FreeBSD does not have this mechanism.
Therefore, it is not possible to create the coredirector driver using the source code from this github.
As proof of this, for example, I needed to add the Local APIC's thermal interupt handler as a patch in Part 2.
Also, the table reference processing of Intel HFI/TD is simple, just referencing the table when an thermal interrupt occurs. I believe that if it were created based on the Intel SDM article, the process flow would be similar.

Sun, Apr 7, 3:04 AM

Wed, Apr 3

karels added a comment to D44453: coredirector - Intel TD/HFI driver - Part1: Add ITD/HFI related MSR/CPUID defines to specialregs.h.

Is this project derived from Intel's code (see https://github.com/intel/intel_hfi)? It was originally GPL, but is now dual-licensed.

Wed, Apr 3, 3:49 PM

Wed, Mar 27

karels committed rG970ea0b2cb69: bsdinstall: draw attention to new network config options (authored by karels).
bsdinstall: draw attention to new network config options
Wed, Mar 27, 8:21 PM

Mar 24 2024

karels added a comment to D44453: coredirector - Intel TD/HFI driver - Part1: Add ITD/HFI related MSR/CPUID defines to specialregs.h.

I'm sorry.
I tried uploading a full-context patch file from "Update Diff" in the upper right menu, but when I download it afterwards, only the modified parts are shown.
Since I don't know how to use this site, I will attach the full context file here.
If I'm wrong, please let me know how to upload it.

{F79832604}

Mar 24 2024, 12:42 PM

Mar 23 2024

karels updated subscribers of D44453: coredirector - Intel TD/HFI driver - Part1: Add ITD/HFI related MSR/CPUID defines to specialregs.h.
Mar 23 2024, 3:09 PM
karels added a comment to D44453: coredirector - Intel TD/HFI driver - Part1: Add ITD/HFI related MSR/CPUID defines to specialregs.h.

fwiw, I've been experimenting with sched_ule changes for hybrid cores, although I have nothing worth committing yet. I'll be interested to see the rest of this.

Mar 23 2024, 2:52 PM

Mar 17 2024

karels accepted D44395: Document ways to reduce Copy times in the nfsd.
Mar 17 2024, 7:28 PM

Mar 16 2024

karels added inline comments to D44395: Document ways to reduce Copy times in the nfsd.
Mar 16 2024, 10:43 PM

Mar 4 2024

karels committed R9:3d3bc802d9a4: 13.3 readme: fix bibliography link (authored by karels).
13.3 readme: fix bibliography link
Mar 4 2024, 3:47 PM
karels committed R9:3f7e82960414: 13.3 relnotes: fix gitrefs (authored by karels).
13.3 relnotes: fix gitrefs
Mar 4 2024, 1:44 PM
karels committed R9:52a66f314fe3: 13.3 installation: remove unneeded warning (authored by karels).
13.3 installation: remove unneeded warning
Mar 4 2024, 1:56 AM
karels closed D44190: 13.3 relnotes: last-minute updates.
Mar 4 2024, 1:53 AM
karels committed R9:24255dc12c96: 13.3 relnotes: last-minute updates (authored by karels).
13.3 relnotes: last-minute updates
Mar 4 2024, 1:53 AM
karels added a comment to D44190: 13.3 relnotes: last-minute updates.

I'm going to push this now, but please send me any additional comments.

Mar 4 2024, 1:51 AM

Mar 3 2024

karels updated the summary of D44190: 13.3 relnotes: last-minute updates.
Mar 3 2024, 1:32 PM
karels updated the diff for D44190: 13.3 relnotes: last-minute updates.

Remove rollback warning, it is incorrect for 13.3. Add gve,
re-adding virtualization section.

Mar 3 2024, 1:30 PM
karels added inline comments to D44190: 13.3 relnotes: last-minute updates.
Mar 3 2024, 1:25 PM
karels added inline comments to D44190: 13.3 relnotes: last-minute updates.
Mar 3 2024, 3:05 AM
karels added inline comments to D44190: 13.3 relnotes: last-minute updates.
Mar 3 2024, 2:41 AM

Mar 2 2024

karels requested review of D44190: 13.3 relnotes: last-minute updates.
Mar 2 2024, 4:55 PM

Feb 27 2024

karels closed D44054: 13.3 relnotes: additions and corrections.
Feb 27 2024, 12:09 AM
karels committed R9:a5ba1c9303f2: 13.3 relnotes: additions and corrections (authored by karels).
13.3 relnotes: additions and corrections
Feb 27 2024, 12:09 AM

Feb 26 2024

karels added a comment to D44092: build: add Wswitch to clang for more consistency with gcc.

Does -Wswitch require a default if all values of an enum are explicitly included? I don't know if that is common though.

Feb 26 2024, 9:31 PM
karels updated the diff for D44054: 13.3 relnotes: additions and corrections.

Add vnode/vfs sysctl section from 14.0.

Feb 26 2024, 2:08 AM

Feb 24 2024

karels requested review of D44054: 13.3 relnotes: additions and corrections.
Feb 24 2024, 3:29 PM

Feb 22 2024

karels closed D43995: 13.3 relnotes: first draft.
Feb 22 2024, 12:18 AM
karels committed R9:bc9dae715fc0: 13.3 relnotes: first draft (authored by karels).
13.3 relnotes: first draft
Feb 22 2024, 12:18 AM
karels added inline comments to D43995: 13.3 relnotes: first draft.
Feb 22 2024, 12:08 AM

Feb 21 2024

karels added inline comments to D43995: 13.3 relnotes: first draft.
Feb 21 2024, 2:26 PM
karels updated the diff for D43995: 13.3 relnotes: first draft.

Various updates from out-of-band correspondence with involved parties;
update zlib revision; a few additions including clang.

Feb 21 2024, 1:44 PM

Feb 20 2024

karels added inline comments to D43995: 13.3 relnotes: first draft.
Feb 20 2024, 10:28 PM
karels updated the summary of D43995: 13.3 relnotes: first draft.
Feb 20 2024, 9:17 PM
karels added a comment to D43995: 13.3 relnotes: first draft.

John, I included you specifically for the last section on 32-bit systems, but I think you have at least one other item in here.

Feb 20 2024, 8:52 PM
karels requested review of D43995: 13.3 relnotes: first draft.
Feb 20 2024, 8:41 PM

Feb 15 2024

karels committed rG313b30b6ab1f: lld: work around elftoolchain bug which causes bloated RISCV binaries (authored by dim).
lld: work around elftoolchain bug which causes bloated RISCV binaries
Feb 15 2024, 6:11 PM
karels closed D43840: 13.3 relnotes: create skeleton.
Feb 15 2024, 4:16 PM
karels committed R9:b04b9b6490c7: 13.3 relnotes: create skeleton (authored by karels).
13.3 relnotes: create skeleton
Feb 15 2024, 4:16 PM

Feb 13 2024

karels added a comment to D43840: 13.3 relnotes: create skeleton.

Has anyone else from docs looked at this? Anyone willing to approve?

Feb 13 2024, 11:42 PM
karels accepted D43848: release: make SD card partition layout more flexible.
Feb 13 2024, 11:38 PM
karels accepted D43849: riscv: add firmware partitions to GENERICSD.conf.
Feb 13 2024, 3:05 PM
karels updated the diff for D43840: 13.3 relnotes: create skeleton.

Remove PowerPC updating note (probably no longer applies);
correct sentence about "new in this release unless marked MERGED";
remove section about i386 CPUTYPE.

Feb 13 2024, 4:48 AM

Feb 12 2024

karels added a comment to D43849: riscv: add firmware partitions to GENERICSD.conf.

Is the following summary accurate: This change is not required for all systems, but doesn't hurt; it makes it easier for some configurations. If that's true, then I don't have a problem with it.

Feb 12 2024, 9:09 PM
karels accepted D43847: release: deduplicate arm.subr fstab logic.
Feb 12 2024, 8:40 PM

Feb 11 2024

karels added inline comments to D43840: 13.3 relnotes: create skeleton.
Feb 11 2024, 10:59 PM
karels requested review of D43840: 13.3 relnotes: create skeleton.
Feb 11 2024, 7:22 PM

Feb 7 2024

karels committed R9:976386b04ed8: Replace my PGP key by a stronger one (authored by karels).
Replace my PGP key by a stronger one
Feb 7 2024, 10:50 PM

Feb 1 2024

karels accepted D43683: where.adoc: add 14-STABLE snapshot links.

Seems like the same list as -CURRENT, right? That should be correct.

Feb 1 2024, 6:37 PM
karels accepted D43682: where.adoc: remove armv6 link for 15-CURRENT snapshots.

Looks right to me.

Feb 1 2024, 6:33 PM

Jan 30 2024

karels committed rG30c741c6e4bb: RELNOTES: document powerd enable on RPI images (authored by karels).
RELNOTES: document powerd enable on RPI images
Jan 30 2024, 8:18 PM
karels committed rG28a8192a34ca: inet(3): clarify syntax accepted by inet_pton (authored by karels).
inet(3): clarify syntax accepted by inet_pton
Jan 30 2024, 8:11 PM
karels committed rGe889b5a892b6: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images (authored by karels).
arm64/RPI: enable powerd by default on arm64-aarch64-RPI images
Jan 30 2024, 8:11 PM
karels committed rGe9e63d77c6b5: inet(3): clarify syntax accepted by inet_pton (authored by karels).
inet(3): clarify syntax accepted by inet_pton
Jan 30 2024, 8:11 PM
karels committed rG0c6e3bfd1362: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images (authored by karels).
arm64/RPI: enable powerd by default on arm64-aarch64-RPI images
Jan 30 2024, 8:11 PM

Jan 27 2024

karels committed rG9231c42127bf: inet(3): clarify syntax accepted by inet_pton (authored by karels).
inet(3): clarify syntax accepted by inet_pton
Jan 27 2024, 3:41 PM
karels closed D43537: inet(3): clarify syntax accepted by inet_pton.
Jan 27 2024, 3:41 PM
karels added a comment to D43537: inet(3): clarify syntax accepted by inet_pton.

Anyone from manpages want to approve this?

Jan 27 2024, 3:22 PM

Jan 23 2024

karels committed rG2e68c5a44c40: tmpfs: increase vfs.tmpfs.memory_percent to 100 as workaround (authored by karels).
tmpfs: increase vfs.tmpfs.memory_percent to 100 as workaround
Jan 23 2024, 6:47 PM
karels accepted D42773: CDs are not usable anymore.

Looks good, I can approve for releng; someone from docs should approve, though, and commit if necessary.

Jan 23 2024, 4:59 PM · docs

Jan 22 2024

karels committed rG74e52718aa73: route: error on IPv4 network routes with incorrect destination (authored by karels).
route: error on IPv4 network routes with incorrect destination
Jan 22 2024, 4:44 PM
karels committed rG7e88d8fec4e8: route: error on IPv4 network routes with incorrect destination (authored by karels).
route: error on IPv4 network routes with incorrect destination
Jan 22 2024, 4:43 PM

Jan 21 2024

karels requested review of D43537: inet(3): clarify syntax accepted by inet_pton.
Jan 21 2024, 7:45 PM

Jan 18 2024

karels accepted D42722: handbook: update current version before freebsd-upgrade.
Jan 18 2024, 11:28 PM

Jan 16 2024

karels added a comment to D43466: newsyslog(8): Remove -c command line option..
In D43466#990869, @olce wrote:
In D43466#990866, @dvl wrote:

I think you're saying why have a command-line switch when we have the in-conf-file option?

I was just trying to guess the reasoning for the removal of this command-line option, by stating one possible inference, since I anticipate that the use of -c is infrequent and it's always possible for the administrator to change the configuration file (well, I also can see situations where these are not equivalent...). Personally, I don't have a need to remove it, and at the same time I'll likely never use it, in that sense I'm neutral.

Jan 16 2024, 7:29 PM

Jan 15 2024

karels committed rGb9e8ae1d8a42: route: error on IPv4 network routes with incorrect destination (authored by karels).
route: error on IPv4 network routes with incorrect destination
Jan 15 2024, 9:16 PM
karels closed D43384: route: error on IPv4 network routes with incorrect destination.
Jan 15 2024, 9:15 PM
karels added inline comments to D43384: route: error on IPv4 network routes with incorrect destination.
Jan 15 2024, 9:10 PM
karels committed rGc10c15319676: Increase the size of riscv GENERICSD images to 6 GB (authored by karels).
Increase the size of riscv GENERICSD images to 6 GB
Jan 15 2024, 1:32 PM
karels committed rG9895c3a22783: Increase the size of riscv GENERICSD images to 6 GB (authored by karels).
Increase the size of riscv GENERICSD images to 6 GB
Jan 15 2024, 1:31 PM
karels committed rG6137b5f7b8c1: Increase the size of riscv GENERICSD images to 6 GB (authored by karels).
Increase the size of riscv GENERICSD images to 6 GB
Jan 15 2024, 1:31 PM

Jan 14 2024

karels added inline comments to D42773: CDs are not usable anymore.
Jan 14 2024, 7:48 PM · docs
karels updated the diff for D43384: route: error on IPv4 network routes with incorrect destination.

Use local variables to factor out parts of long expression, simplify

Jan 14 2024, 4:04 PM

Jan 11 2024

karels added a comment to D43384: route: error on IPv4 network routes with incorrect destination.

I tried formatting the check as a separate function, and that doesn't help much. The main part of the expression (computing the host part) still doesn't fit on one line. I think I'll leave it as it is.

Jan 11 2024, 11:38 PM
karels added a comment to D43384: route: error on IPv4 network routes with incorrect destination.

Any comments on this, including the plan to MFC? I didn't reply to Ed's comment on the bug about possibly erroring on 15, and restoring the workaround on 13 and 14,. But I think it will have been long enough since this "worked" that people will have gotten used to the new behavior unless they stick with 12.4 until 13.3 is out.

Jan 11 2024, 8:16 PM

Jan 9 2024

karels requested review of D43384: route: error on IPv4 network routes with incorrect destination.
Jan 9 2024, 9:14 PM

Jan 5 2024

karels committed rG4347ef60501f: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images (authored by karels).
arm64/RPI: enable powerd by default on arm64-aarch64-RPI images
Jan 5 2024, 7:42 PM
karels closed D43296: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images.
Jan 5 2024, 7:42 PM

Jan 4 2024

karels added a member for releng: karels.
Jan 4 2024, 1:59 PM

Jan 3 2024

karels added a comment to D43296: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images.

There is an alternative approach in https://reviews.freebsd.org/D43141. The main difference is that it splits RPI4 into a separate image, leaving RPI for RPi 3 etc. I don't think that is necessary, as noted in that review. The other difference is in using the quirks mechanism, which would require modification to be effective in this case.

Jan 3 2024, 9:39 PM
karels added a comment to D43141: Add powerd_enable for RPI4.

I put my change in review https://reviews.freebsd.org/D43296. Comments welcome.

Jan 3 2024, 9:35 PM · Contributor Reviews (src)
karels added a reviewer for D43296: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images: releng.
Jan 3 2024, 9:34 PM
karels requested review of D43296: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images.
Jan 3 2024, 9:33 PM

Jan 1 2024

karels added a comment to D43141: Add powerd_enable for RPI4.

I spoke too soon. The quirk mechanism won't work here without other changes, as /etc/rc.conf is truncated after the quirk is called.

Jan 1 2024, 10:22 PM · Contributor Reviews (src)
karels added a comment to D43141: Add powerd_enable for RPI4.

I added the following comment to the bug:

Jan 1 2024, 10:12 PM · Contributor Reviews (src)

Dec 31 2023

karels added a comment to D43245: tcp: limit namespace for tcp_[gs]et_flags.

Moving the #endif might be worth mentioning in the description too; only TCP_NODELAY should be visible without __BSD_VISIBLE

Dec 31 2023, 3:14 PM
karels accepted D43245: tcp: limit namespace for tcp_[gs]et_flags.

Thanks for moving the #endif!

Dec 31 2023, 2:20 PM

Dec 30 2023

karels added a comment to D43245: tcp: limit namespace for tcp_[gs]et_flags.

There is another namespace issue in tcp.h. There have been several additions near the end of the file, after the #endif at line 458. The #endif closes the #ifdef _BSD_VISIBLE at line 181. The #endif should be moved to line 544, just before the closing #endif, as the additions are not in POSIX, and the #endif should be commented as /* _BSD_VISIBLE */ so people are less likely to add things after it. If you don't want to combine the namespace fixes, I can do it later.

Dec 30 2023, 4:32 PM

Dec 29 2023

karels added a comment to D43231: tcp: fix ports.

Most of netinet/tcp.h is already inside #ifdef __BSD_VISIBLE, so it would be "legal" to use tcp_[gs]et_flags. It would be better to avoid intruding into the BSD namespace, though, using __tcp_[gs]et_flags for user space, and providing aliases for the kernel. I can imagine network tools using these names.

Dec 29 2023, 10:08 PM
karels accepted D43227: Clarify that copy_file_range(2) only operates on regular file objects in copy_file_range.2.

Looks good to me.

Dec 29 2023, 2:27 AM

Dec 28 2023

karels added a comment to D43227: Clarify that copy_file_range(2) only operates on regular file objects in copy_file_range.2.

Oh, the title has a typo in the man page name.

Dec 28 2023, 11:45 PM
karels added a comment to D43227: Clarify that copy_file_range(2) only operates on regular file objects in copy_file_range.2.

The change seems reasonable to me. I marked a pre-existing nit that is probably worth fixing while in the area.

Dec 28 2023, 11:44 PM

Dec 25 2023

karels added a comment to D43174: newsyslog(8): Add support of specifying compression method in configuration file..

I think this is a step in the right direction (having the compression specified in the config file), but I think it needs better integration with the existing flags. For example, there could be a new flag selecting the default as specified with <compress>, replacing J in the default config file lines.

Dec 25 2023, 4:16 PM

Dec 22 2023

karels accepted D43163: Update exports.5 man page for handling of special characters in directory names.
Dec 22 2023, 2:08 AM
karels added inline comments to D43163: Update exports.5 man page for handling of special characters in directory names.
Dec 22 2023, 12:09 AM

Dec 19 2023

karels committed rG636592343c3e: tmpfs: increase memory reserve to a percent of available memory + swap (authored by karels).
tmpfs: increase memory reserve to a percent of available memory + swap
Dec 19 2023, 3:35 PM
karels committed rGed19c0989fe7: tmpfs: enforce size limit on writes when file system size is default (authored by karels).
tmpfs: enforce size limit on writes when file system size is default
Dec 19 2023, 3:35 PM
karels closed D43011: tmpfs: increase memory reserve to a percent of available memory + swap.
Dec 19 2023, 3:34 PM
karels closed D43010: tmpfs: enforce size limit on writes when file system size is default.
Dec 19 2023, 3:34 PM
karels added inline comments to D43011: tmpfs: increase memory reserve to a percent of available memory + swap.
Dec 19 2023, 3:20 PM
karels added a comment to D43092: tcp_hpts: make the module unloadable.

Looks plausible to me, but I'll let someone more familiar with the code approve.

Dec 19 2023, 3:57 AM

Dec 17 2023

karels added a comment to D43010: tmpfs: enforce size limit on writes when file system size is default.

Any questions or comments on this review?

Dec 17 2023, 1:42 PM