Page MenuHomeFreeBSD

bnovkov (Bojan Novković)
User

Projects

User Details

User Since
Jan 29 2022, 5:50 PM (157 w, 5 d)

Recent Activity

Thu, Jan 30

bnovkov requested review of D48728: umtx: Don't sleep after casueword32 failure in do_sem2_wake.
Thu, Jan 30, 4:14 PM

Wed, Jan 29

bnovkov updated the diff for D48527: sdhci: Refactor the generic FDT driver.

Address @manu 's comments.

Wed, Jan 29, 5:44 PM

Mon, Jan 27

bnovkov added a comment to D47050: vm_page: Add batch page allocation routine.

After the last two diff updates the patch is no longer blocked on the pctrie batching patches and is ready for review. I'd appreciate any input on this patch (and other in the series).

Mon, Jan 27, 6:45 PM
bnovkov updated the diff for D47050: vm_page: Add batch page allocation routine.

Minor style fixes.

Mon, Jan 27, 6:41 PM
bnovkov updated the diff for D48527: sdhci: Refactor the generic FDT driver.

Address @manu 's comments - include sdhci_fdt_rockchip.c in files.arm64.

Mon, Jan 27, 6:25 PM

Sun, Jan 26

bnovkov added inline comments to D48527: sdhci: Refactor the generic FDT driver.
Sun, Jan 26, 11:26 AM
bnovkov updated the diff for D48527: sdhci: Refactor the generic FDT driver.

Add the sdhci_fdt_xilinx.c to the aarch64 build files.

Sun, Jan 26, 11:25 AM

Sat, Jan 25

bnovkov added inline comments to D48534: riscv: Add the sdhci_fdt driver to the build.
Sat, Jan 25, 6:37 PM
bnovkov added inline comments to D48532: riscv: Add driver for the cvitek restart controller.
Sat, Jan 25, 6:24 PM
bnovkov updated the diff for D48532: riscv: Add driver for the cvitek restart controller.

Minor style(9) fixes.

Sat, Jan 25, 6:22 PM
bnovkov updated the diff for D48532: riscv: Add driver for the cvitek restart controller.

Properly handle howto bitmask.

Sat, Jan 25, 6:18 PM
bnovkov added inline comments to D48530: dwc: Add support for the cvitek ethernet controller.
Sat, Jan 25, 6:12 PM
bnovkov updated the diff for D48530: dwc: Add support for the cvitek ethernet controller.

Remove redundant initialization steps.

Sat, Jan 25, 6:09 PM
bnovkov updated the diff for D48527: sdhci: Refactor the generic FDT driver.

Address @manu 's comments:

  • Correct authorship info
  • Split out xilinx-specific code into a separate file
  • Move several generic reoutines into sdhci_fdt.c
Sat, Jan 25, 6:01 PM

Wed, Jan 22

bnovkov committed rGf0d036cf6655: amd64/fpu: Fix build for NODEBUG kernels (authored by bnovkov).
amd64/fpu: Fix build for NODEBUG kernels
Wed, Jan 22, 3:16 PM
bnovkov updated the diff for D46397: amd64: Intel Processor Trace support.

Adjust calls to xsave_* routines after changes in D48466.

Wed, Jan 22, 1:05 PM
bnovkov committed rGb9951017bab3: amd64/fpu: Track supervisor state XSAVE components (authored by bnovkov).
amd64/fpu: Track supervisor state XSAVE components
Wed, Jan 22, 12:59 PM
bnovkov closed D48466: amd64/fpu: Track supervisor state XSAVE components.
Wed, Jan 22, 12:59 PM
bnovkov added inline comments to D48466: amd64/fpu: Track supervisor state XSAVE components.
Wed, Jan 22, 12:57 PM

Tue, Jan 21

bnovkov added a comment to D48530: dwc: Add support for the cvitek ethernet controller.

You should add the file to one of the std.XXX file in sys/riscv/conf

Tue, Jan 21, 7:18 PM
bnovkov updated the diff for D48530: dwc: Add support for the cvitek ethernet controller.

Address @manu 's comments.

Tue, Jan 21, 7:18 PM
bnovkov updated the diff for D48533: riscv: Add cvitek SoC files to the build.

Address @jrtc27 's comments.

Tue, Jan 21, 7:14 PM
bnovkov added inline comments to D48531: riscv: Add driver for the cvitek reset controller.
Tue, Jan 21, 7:09 PM
bnovkov updated the diff for D48531: riscv: Add driver for the cvitek reset controller.

Address @jrtc27 's comments.

Tue, Jan 21, 7:09 PM
bnovkov updated the diff for D48532: riscv: Add driver for the cvitek restart controller.

Address @br 's and @jrtc27 's comments:

  • remove redundant property checks
  • style fixes
Tue, Jan 21, 7:04 PM
bnovkov added inline comments to D48527: sdhci: Refactor the generic FDT driver.
Tue, Jan 21, 7:00 PM
bnovkov updated the diff for D48527: sdhci: Refactor the generic FDT driver.

Address @manu 's comments:

  • Correct copyright lines
  • Add missing sdhci_fdt.c to build
Tue, Jan 21, 7:00 PM

Mon, Jan 20

bnovkov requested review of D48534: riscv: Add the sdhci_fdt driver to the build.
Mon, Jan 20, 6:43 PM
bnovkov requested review of D48533: riscv: Add cvitek SoC files to the build.
Mon, Jan 20, 6:38 PM
bnovkov requested review of D48532: riscv: Add driver for the cvitek restart controller.
Mon, Jan 20, 6:35 PM
bnovkov requested review of D48531: riscv: Add driver for the cvitek reset controller.
Mon, Jan 20, 6:31 PM
bnovkov requested review of D48530: dwc: Add support for the cvitek ethernet controller.
Mon, Jan 20, 6:04 PM
bnovkov requested review of D48529: if_dwc: Ignore clk_set_assigned errors if "assigned_clocks" is not specified.
Mon, Jan 20, 5:58 PM
bnovkov requested review of D48528: sdhci: Add support for the cvitek sdhci controller.
Mon, Jan 20, 5:56 PM
bnovkov requested review of D48527: sdhci: Refactor the generic FDT driver.
Mon, Jan 20, 5:44 PM

Sun, Jan 19

bnovkov added a comment to D47044: pctrie: Introduce batch pctrie insertion routines.

This is a challenging patch to review, and every time I start to review it, I want to rewrite it to make it clearer. I'll hold off one more time. But I really don't think that enums or switches with fallthroughs really help much.

I agree that it's a bit verbose and I really appreciate your feedback on this patch.
I'd really like to have some flavor of batch insertion in the tree, but I'm not hell-bent on landing the current iteration of the patch.
I'll suspend work on this until your memq removal patch lands as that'll make performance evaluation and development easier.
In the meantime, I'd appreciate if you could share any tips on how you'd like this patch to look like.

Sun, Jan 19, 12:46 PM

Fri, Jan 17

bnovkov updated the diff for D47050: vm_page: Add batch page allocation routine.

Simplify patch by switching to loop-based vm_page_iter_insert radix insertion.

Fri, Jan 17, 7:34 PM

Wed, Jan 15

bnovkov requested review of D48466: amd64/fpu: Track supervisor state XSAVE components.
Wed, Jan 15, 5:10 PM

Dec 23 2024

bnovkov committed rG6e8233df18c8: hwpmc_x86: Fix NULL deref when loading on unsupported hardware (authored by bnovkov).
hwpmc_x86: Fix NULL deref when loading on unsupported hardware
Dec 23 2024, 10:08 AM
bnovkov closed D48168: hwpmc_x86: Fix NULL deref when loading on unsupported hardware.
Dec 23 2024, 10:08 AM

Dec 22 2024

bnovkov updated the diff for D48168: hwpmc_x86: Fix NULL deref when loading on unsupported hardware.

Address @kib 's comments.

Dec 22 2024, 11:12 AM

Dec 21 2024

bnovkov requested review of D48168: hwpmc_x86: Fix NULL deref when loading on unsupported hardware.
Dec 21 2024, 11:19 AM

Dec 16 2024

bnovkov added inline comments to D47044: pctrie: Introduce batch pctrie insertion routines.
Dec 16 2024, 3:42 PM
bnovkov updated the diff for D47044: pctrie: Introduce batch pctrie insertion routines.

Address @dougm 's comments.

Dec 16 2024, 3:17 PM
bnovkov updated the diff for D47043: vm_domainset: Add batch page allocation iterators.

Fix compile errors when building without NUMA.

Dec 16 2024, 3:13 PM
bnovkov added inline comments to D47181: vm_reserv: Introduce vm_reserv_populate_range.
Dec 16 2024, 3:12 PM
bnovkov updated the diff for D47181: vm_reserv: Introduce vm_reserv_populate_range.

Address @alc 's comments.

Dec 16 2024, 3:10 PM

Dec 15 2024

bnovkov committed rG3342e5967dc7: i386: Fix incorrect NMI handler invocations (authored by bnovkov).
i386: Fix incorrect NMI handler invocations
Dec 15 2024, 5:49 PM
bnovkov abandoned D46985: x86: Add definitions for Intel PT XSAVE state.

Dropping this revision since it was made obsolete by D47394.

Dec 15 2024, 3:45 PM
bnovkov committed rGd5ce54dddf49: hwpmc_x86: Register interrupt handler using the dynamic NMI registration… (authored by bnovkov).
hwpmc_x86: Register interrupt handler using the dynamic NMI registration…
Dec 15 2024, 3:41 PM
bnovkov committed rG7bcaff05223e: x86: Add routines for querying XSAVE feature information (authored by bnovkov).
x86: Add routines for querying XSAVE feature information
Dec 15 2024, 3:41 PM
bnovkov committed rG0c4fa0bdcf87: x86: Add definitions for some Intel Processor Trace bits (authored by bnovkov).
x86: Add definitions for some Intel Processor Trace bits
Dec 15 2024, 3:41 PM
bnovkov committed rG593e874e6124: amd64: Add wrappers for XRSTORS and XSAVES (authored by bnovkov).
amd64: Add wrappers for XRSTORS and XSAVES
Dec 15 2024, 3:41 PM
bnovkov committed rG04e832672159: x86: Allow sharing of perfomance counter interrupts (authored by bnovkov).
x86: Allow sharing of perfomance counter interrupts
Dec 15 2024, 3:41 PM
bnovkov closed D47989: hwpmc_x86: Register interrupt handler using the dynamic NMI registration interface.
Dec 15 2024, 3:41 PM
bnovkov closed D47394: x86: Add routines for querying XSAVE feature information.
Dec 15 2024, 3:41 PM
bnovkov committed rG459dc427873c: x86: Refactor kernel-mode NMI handling (authored by bnovkov).
x86: Refactor kernel-mode NMI handling
Dec 15 2024, 3:41 PM
bnovkov closed D46419: x86: Add definitions for some Intel Processor Trace bits.
Dec 15 2024, 3:41 PM
bnovkov closed D46984: amd64: Add wrappers for XRSTORS and XSAVES.
Dec 15 2024, 3:41 PM
bnovkov closed D46420: x86: Allow sharing of perfomance counter interrupts.
Dec 15 2024, 3:40 PM
bnovkov closed D46421: x86: Refactor kernel-mode NMI handling .
Dec 15 2024, 3:40 PM

Dec 8 2024

bnovkov updated the diff for D46397: amd64: Intel Processor Trace support.

Update driver to use XSAVE interfaces added in D47394.

Dec 8 2024, 5:18 PM
bnovkov requested review of D47989: hwpmc_x86: Register interrupt handler using the dynamic NMI registration interface.
Dec 8 2024, 5:14 PM
bnovkov updated the diff for D47394: x86: Add routines for querying XSAVE feature information.

Address @kib 's comments.

Dec 8 2024, 5:00 PM

Dec 5 2024

bnovkov added inline comments to D47044: pctrie: Introduce batch pctrie insertion routines.
Dec 5 2024, 6:32 PM
bnovkov updated the diff for D47044: pctrie: Introduce batch pctrie insertion routines.

Refactor patch to avoid precalculating the number of nodes or passing allocfn to subr_pctrie.c:

  • the old pctrie_batch_insert logic was moved into pctrie.h
  • lookup logic was split out into a separate lookup function
  • pctrie.h will now use said lookup function to allocate nodes and pass them to pctrie_batch_insert using a "lookup result" structure
Dec 5 2024, 6:25 PM

Dec 4 2024

bnovkov added inline comments to D47394: x86: Add routines for querying XSAVE feature information.
Dec 4 2024, 5:51 PM
bnovkov updated the diff for D47394: x86: Add routines for querying XSAVE feature information.

Address @kib 's comments:

  • Move XFEATURE component metadata into xsave_area_desc
Dec 4 2024, 5:49 PM

Dec 1 2024

bnovkov accepted D46895: pctrie: unlock writes without smr.
Dec 1 2024, 7:35 PM
bnovkov added inline comments to D47394: x86: Add routines for querying XSAVE feature information.
Dec 1 2024, 7:33 PM
bnovkov updated the diff for D47394: x86: Add routines for querying XSAVE feature information.

Address @kib 's comments:

  • Move checks to assertions
  • Check for use_xsave
Dec 1 2024, 7:27 PM

Nov 27 2024

bnovkov added inline comments to D46895: pctrie: unlock writes without smr.
Nov 27 2024, 8:22 PM

Nov 26 2024

bnovkov committed rGb42b18fb24f5: x86: Add definitions for XSAVE state component information (authored by bnovkov).
x86: Add definitions for XSAVE state component information
Nov 26 2024, 6:17 PM
bnovkov added inline comments to D47394: x86: Add routines for querying XSAVE feature information.
Nov 26 2024, 6:15 PM
bnovkov updated the diff for D47394: x86: Add routines for querying XSAVE feature information.

Address @kib 's comments:

  • split specialreg.h definitions into separate commit
  • move xstate routines to amd64/fpu.c
Nov 26 2024, 6:02 PM

Nov 25 2024

bnovkov retitled D47744: pctrie: Add a function for calculating the number of allocations for inserting a range of keys from pctrie: Add a function for calculating number of allocation when inserting to pctrie: Add a function for calculating the number of allocations for inserting a range of keys.
Nov 25 2024, 8:05 PM
bnovkov updated the summary of D47744: pctrie: Add a function for calculating the number of allocations for inserting a range of keys.
Nov 25 2024, 8:02 PM
bnovkov attached a referenced file: F103496949: lagrida_latex_editor.png.
Nov 25 2024, 7:52 PM
bnovkov requested review of D47744: pctrie: Add a function for calculating the number of allocations for inserting a range of keys.
Nov 25 2024, 7:52 PM

Nov 7 2024

bnovkov added inline comments to D47044: pctrie: Introduce batch pctrie insertion routines.
Nov 7 2024, 8:25 PM

Nov 5 2024

bnovkov added inline comments to D47044: pctrie: Introduce batch pctrie insertion routines.
Nov 5 2024, 7:32 PM
bnovkov updated the diff for D47044: pctrie: Introduce batch pctrie insertion routines.

Address @dougm 's comments:

Nov 5 2024, 7:23 PM

Nov 4 2024

bnovkov added inline comments to D47044: pctrie: Introduce batch pctrie insertion routines.
Nov 4 2024, 7:26 PM
bnovkov accepted D47347: pctrie: breakup pctrie_root_store.
Nov 4 2024, 7:21 PM
bnovkov added a comment to D47044: pctrie: Introduce batch pctrie insertion routines.

If you're inserting batch [a,b,...,y.z], and if you began by inserting a and z with normal iter-insert, then your BATCH_SPLIT case would never happen and some of the complexity of batch_insert could be reduced. True or false?

Nov 4 2024, 7:14 PM
bnovkov updated the diff for D47044: pctrie: Introduce batch pctrie insertion routines.

Address @dougm 's comments:

  • Removed separate lookup function and enum type
  • Explicit range lookup before insertion
  • Moved pctrie_iter_insert to subr_pctrie.c so it can be used for single-element insertions
Nov 4 2024, 6:53 PM

Nov 1 2024

bnovkov added a comment to D47394: x86: Add routines for querying XSAVE feature information.

A quick remark regarding code placement - I couldn't decide where this code should reside so I ultimately placed it in cpu_machdep.c, but I'm not too happy about it.
I'd certainly like to hear your thoughts on where this should reside.

Nov 1 2024, 3:32 PM
bnovkov requested review of D47394: x86: Add routines for querying XSAVE feature information.
Nov 1 2024, 3:29 PM
bnovkov accepted D47320: pctrie: reduce code duplication in PCTRIE_REMOVE_*.
Nov 1 2024, 1:33 PM

Oct 29 2024

bnovkov accepted D47328: service(8): Allow for passing no arguments to the service script.
Oct 29 2024, 6:31 PM · rc

Oct 28 2024

bnovkov added a comment to D47046: vm_radix: Add iter lookup_le interface.
In D47046#1078597, @alc wrote:

I'm looking at patches from both you and @dougm that define this function. However, each of you adds it in a different location within the file. :-)

There doesn't seem to be any rhyme or reason to the order of the function definitions. Could we please decide on one, and add this function accordingly?

Oct 28 2024, 7:07 PM
bnovkov accepted D47288: pctrie: reduce code duplication in PCTRIE_INSERT_*.
Oct 28 2024, 6:55 PM
bnovkov added inline comments to D47044: pctrie: Introduce batch pctrie insertion routines.
Oct 28 2024, 6:52 PM
bnovkov updated the diff for D47044: pctrie: Introduce batch pctrie insertion routines.

Address @dougm 's comments.

Oct 28 2024, 6:51 PM

Oct 25 2024

bnovkov accepted D47207: subr_pctrie: improve iter nbr search.
Oct 25 2024, 5:41 PM
bnovkov accepted D47277: pctrie: drop meaningless neighbor check.
Oct 25 2024, 5:06 PM

Oct 24 2024

bnovkov added a comment to D46895: pctrie: unlock writes without smr.

I'd appreciate if you could break this patch into a couple of smaller ones, it'll make D47271 easier to review as well.

Oct 24 2024, 5:48 PM

Oct 21 2024

bnovkov added a comment to D46985: x86: Add definitions for Intel PT XSAVE state.
In D46985#1071417, @kib wrote:

Since XSAVES always use the compact format, and since we already handle the save area format differently for XSAVE. I suggest to not add the pt_save_area structure definition as is. If we ever want to add yet another system feature from XSAVES, using such structures cause exponential explosion of the needed definitions. It is better to define the pt_ext_area, and then calculate the position of it in the save area based on the feature bitmap.

Oct 21 2024, 4:38 PM
bnovkov updated the diff for D46984: amd64: Add wrappers for XRSTORS and XSAVES.

Address @kib 's comments.

Oct 21 2024, 4:09 PM
bnovkov accepted D47216: vm_meter: Fix laundry accounting.

LGTM, it would be good to briefly note this change in the 'Physical Memory Stats' section of the top(1) manpage as well.

Oct 21 2024, 3:58 PM