Page MenuHomeFreeBSD

br (Ruslan Bukin)
User

Projects

User Details

User Since
Nov 27 2014, 10:57 AM (575 w, 1 d)

Recent Activity

Thu, Nov 27

br committed rG06a4a092e684: riscv: include Xilinx PCIe controller driver. (authored by br).
riscv: include Xilinx PCIe controller driver.
Thu, Nov 27, 9:01 AM

Wed, Nov 26

br committed rG974ecf68903d: xae(4), axidma(4): rewrite DMA operation. (authored by br).
xae(4), axidma(4): rewrite DMA operation.
Wed, Nov 26, 4:40 PM
br closed D53932: xae, axidma: rewrite.
Wed, Nov 26, 4:39 PM
br requested review of D53932: xae, axidma: rewrite.
Wed, Nov 26, 4:23 PM

Tue, Nov 25

br closed D53903: em(4): fix capability bounds to access checksum context.
Tue, Nov 25, 9:22 AM
br committed rG64ee9c166ce5: em(4): fix capability bounds needed to access checksum context. (authored by br).
em(4): fix capability bounds needed to access checksum context.
Tue, Nov 25, 9:22 AM
br requested review of D53903: em(4): fix capability bounds to access checksum context.
Tue, Nov 25, 8:55 AM
br committed rGb87f6330013f: nvme(4): Increase HMB alignment. (authored by br).
nvme(4): Increase HMB alignment.
Tue, Nov 25, 8:47 AM
br closed D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.
Tue, Nov 25, 8:46 AM

Sat, Nov 15

br updated the diff for D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.

Agree on using PAGE_SIZE for everyone. Most likely more controllers have this issue (even within Crucial model range), so it is a way easier to align to page_size all of them rather than deal with bug reports from users. We are a general purpose OS.
And again, Linux align to PAGE_SIZE all of them as well.

Sat, Nov 15, 9:47 PM
br updated the diff for D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.

rename macro

Sat, Nov 15, 8:17 PM
br updated the diff for D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.

The issue arise on Crucial P310 only, so convert to a quirk

Sat, Nov 15, 12:17 PM

Oct 31 2025

br accepted D53496: riscv/vmm: Remove a redundant maxcpu check in vm_alloc_vcpu().

looks redundant. thanks

Oct 31 2025, 2:02 PM

Oct 27 2025

br committed rG8a25a04058a8: xilinx pci: Codasip Prime board support (authored by br).
xilinx pci: Codasip Prime board support
Oct 27 2025, 7:58 PM
br closed D53295: xilinx pcib fixes.
Oct 27 2025, 7:57 PM

Oct 24 2025

br added a comment to D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.

What I see when 32 byte requested it actually gives us PAGE_SIZE aligned address, which works.

Oct 24 2025, 7:08 AM

Oct 23 2025

br added a comment to D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.

Good points. I will check with Codasip if this is something to do with CHERI (I don't see any connection however)

Oct 23 2025, 4:49 PM
br updated the summary of D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.
Oct 23 2025, 11:03 AM
br updated the summary of D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.
Oct 23 2025, 11:02 AM
br updated the test plan for D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.
Oct 23 2025, 10:57 AM
br updated the test plan for D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.
Oct 23 2025, 10:57 AM
br updated the test plan for D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.
Oct 23 2025, 10:51 AM
br requested review of D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME.
Oct 23 2025, 10:46 AM
br requested review of D53295: xilinx pcib fixes.
Oct 23 2025, 10:42 AM

Oct 16 2025

br accepted D53134: pci/n1sdp: Disable HotPlug.
Oct 16 2025, 10:58 AM

Sep 2 2025

br added a comment to D50751: mmcspi: fix STOP retry.

Thanks @pkelsey. I will look at this once again (I did not forget about this but need to restore my CVA6 setup).

Sep 2 2025, 2:29 PM

Aug 18 2025

br accepted D51994: dev/fdt: Remove fdt_ic_list.
Aug 18 2025, 4:08 PM
br accepted D51993: virtio: Remove the unused poll method.
Aug 18 2025, 4:03 PM

Aug 5 2025

br updated the diff for D40477: HWT: ARM CoreSight support.

Regenerate

Aug 5 2025, 7:42 PM

Jul 11 2025

br committed rG55a25c753100: hwt(4): fix spelling. (authored by br).
hwt(4): fix spelling.
Jul 11 2025, 2:58 PM

Jul 9 2025

br committed rGbc2e3360107a: hwt(4): Add initial man page. (authored by br).
hwt(4): Add initial man page.
Jul 9 2025, 4:00 PM
br closed D51192: hwt(4) man page.
Jul 9 2025, 4:00 PM
br updated the diff for D51192: hwt(4) man page.

Add hwt.4 to the build and create MLINKS

Jul 9 2025, 1:11 PM
br added a comment to D51192: hwt(4) man page.

https://man-dev.freebsd.org/vt
And in current (not synced to web interface yet), check out uftdi, uchcom, or pf

Jul 9 2025, 12:40 PM
br updated the diff for D51192: hwt(4) man page.

rework SYNOPSIS

Jul 9 2025, 12:38 PM
br added inline comments to D51192: hwt(4) man page.
Jul 9 2025, 7:20 AM

Jul 8 2025

br added inline comments to D51192: hwt(4) man page.
Jul 8 2025, 6:28 PM
br updated the diff for D51192: hwt(4) man page.

improve HOOKS section

Jul 8 2025, 11:46 AM
br updated the diff for D51192: hwt(4) man page.

Address @ziaee comments

Jul 8 2025, 7:38 AM

Jul 7 2025

br updated the diff for D51192: hwt(4) man page.

reorder

Jul 7 2025, 3:23 PM
br updated the diff for D51192: hwt(4) man page.

Spelling

Jul 7 2025, 3:04 PM
br updated the diff for D51192: hwt(4) man page.

Fix issues found by mandoc lint

Jul 7 2025, 2:53 PM
br requested review of D51192: hwt(4) man page.
Jul 7 2025, 2:50 PM

Jul 3 2025

br committed rG906d7a4b521c: hwt: fix !SMP build. (authored by br).
hwt: fix !SMP build.
Jul 3 2025, 8:51 PM
br committed rG070d185b2f53: hwt: fix build. (authored by br).
hwt: fix build.
Jul 3 2025, 8:44 PM
br committed rGdf114daef4c4: Import the Hardware Trace (HWT) framework. (authored by br).
Import the Hardware Trace (HWT) framework.
Jul 3 2025, 3:03 PM
br closed D40466: Hardware Trace (HWT) framework.
Jul 3 2025, 3:03 PM

Jul 2 2025

br updated the diff for D40728: hwt(8) utility added.
  • take run time linker path from ELF binary rather than from INTERP record
  • address ziaee's comments
Jul 2 2025, 3:43 PM

Jul 1 2025

br updated the diff for D40466: Hardware Trace (HWT) framework.

Restore "unlock the vnode around the exec hook call"

Jul 1 2025, 7:08 AM

Jun 30 2025

br added inline comments to D40466: Hardware Trace (HWT) framework.
Jun 30 2025, 1:51 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Style.

Jun 30 2025, 1:31 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

do not unlock image text vnode

Jun 30 2025, 1:29 PM

Jun 27 2025

br added inline comments to D40466: Hardware Trace (HWT) framework.
Jun 27 2025, 9:11 AM

Jun 26 2025

br updated the diff for D40466: Hardware Trace (HWT) framework.

Add SCHED_4BSD hwt hooks

Jun 26 2025, 10:31 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.
  • Move ELF image activator hooks to generic kern_exec.c
  • HWT_HOOKS: Move variable declarations under the if()
  • HWT_HOOKS: Move contents of kern_hwt.c to kern_pmc.c
  • Remove VM_ALLOC_NOBUSY flag from vm_page_alloc_contig() request to meet KASSERTs in vm_page.c
Jun 26 2025, 9:45 AM

Jun 24 2025

br added a reviewer for D40466: Hardware Trace (HWT) framework: kib.
Jun 24 2025, 5:59 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate. Fix P2_HWT

Jun 24 2025, 4:39 PM

Jun 9 2025

br requested review of D50751: mmcspi: fix STOP retry.
Jun 9 2025, 12:35 PM

May 22 2025

br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate

May 22 2025, 10:59 AM
br updated the diff for D40728: hwt(8) utility added.

hwt_fmt added

May 22 2025, 10:56 AM
br updated the diff for D40477: HWT: ARM CoreSight support.

Regenerate

May 22 2025, 10:53 AM

Apr 22 2025

br committed rGa1a067b7131e: axidma(4): add local data cache flushes. (authored by br).
axidma(4): add local data cache flushes.
Apr 22 2025, 9:37 AM
br committed rG81e2d24bc6ea: riscv: support for Cache-Block Operations (CBO). (authored by br).
riscv: support for Cache-Block Operations (CBO).
Apr 22 2025, 9:07 AM
br closed D49852: riscv: zicbom extension support.
Apr 22 2025, 9:07 AM
br updated the diff for D49852: riscv: zicbom extension support.

handle return code of OF_getencprop() correctly

Apr 22 2025, 8:08 AM

Apr 16 2025

br updated the diff for D49852: riscv: zicbom extension support.

Remove 0

Apr 16 2025, 3:57 PM
br updated the diff for D49852: riscv: zicbom extension support.

Address @jrtc27 comments.

Apr 16 2025, 3:55 PM
br requested review of D49852: riscv: zicbom extension support.
Apr 16 2025, 3:00 PM

Apr 9 2025

br committed rGd20ed88f6630: mmcspi: depend on fdt support. (authored by br).
mmcspi: depend on fdt support.
Apr 9 2025, 1:32 PM
br committed rG253c83058deb: mmc: SPI-mode support for SD cards. (authored by br).
mmc: SPI-mode support for SD cards.
Apr 9 2025, 11:24 AM
br closed D49248: mmc: SPI mode support.
Apr 9 2025, 11:24 AM
br committed rG07da3bb5d56c: mmc: support for SPI bus type (authored by br).
mmc: support for SPI bus type
Apr 9 2025, 11:23 AM
br closed D49249: mmc: support for SPI bus type.
Apr 9 2025, 11:23 AM

Apr 8 2025

br updated the diff for D49248: mmc: SPI mode support.

Fix error mask settings when CRC is disabled

Apr 8 2025, 7:26 AM

Apr 7 2025

br updated the diff for D49248: mmc: SPI mode support.

the hack around MMC return code is now resolved by @pkelsey

Apr 7 2025, 8:12 AM
br added a comment to D49248: mmc: SPI mode support.

It does detect the card with your patch, but size is 0bytes (CSD is zero)

mmc0: New card detected (CID 035344534236344780da29024a014400)
mmc0: New card detected (CSD 00000200000000000000000000000000)

I am looking if I can find an issue...

I checked all of the response type mappings against the spec again and found a mistake where I had indexed into the wrong table for the SEND_CSD and SEND_CID translations when making this patch. Attached is a new version that corrects those mappings (as well as corrects another mapping for an SPI-only command, although that change has no functional effect). I expect this will sort out the issue you are observing.

Apr 7 2025, 8:05 AM

Apr 5 2025

br added a comment to D49248: mmc: SPI mode support.

@pkelsey Could you add permission to the file uploaded, so I can download.

@br I wasn't aware of that - I think it's resolved now.

Apr 5 2025, 11:32 AM

Apr 4 2025

br added a comment to D49248: mmc: SPI mode support.

I've uploaded a version of this file that removes the R7 translation hack and fixes the underlying issue as I've proposed. I did not compile this code, so please excuse any mechanical issues that you find. The SPI response type to SD/MMC response type correspondence that has been added here corresponds to what the code implemented prior to the commit I referenced above, and I double checked it for each command against the current version of the SD Physical Layer Simplified Specification.

Apr 4 2025, 10:02 AM

Apr 3 2025

br added inline comments to D49248: mmc: SPI mode support.
Apr 3 2025, 10:15 AM
br updated the diff for D49248: mmc: SPI mode support.

Fix comments per @pkelsey request

Apr 3 2025, 10:11 AM

Mar 26 2025

br committed rG3969b51ffa1c: xilinx axi ethernet: allocate memory for buffers. (authored by br).
xilinx axi ethernet: allocate memory for buffers.
Mar 26 2025, 3:15 PM
br committed rGc7ffe32b1b7d: xilinx quad spi: various fixes. (authored by br).
xilinx quad spi: various fixes.
Mar 26 2025, 12:11 PM
br committed rG6d58c670060a: riscv timer: fix interrupt handling. (authored by br).
riscv timer: fix interrupt handling.
Mar 26 2025, 8:26 AM
br closed D49487: riscv timer: fix interrupt handing.
Mar 26 2025, 8:26 AM

Mar 24 2025

br requested review of D49487: riscv timer: fix interrupt handing.
Mar 24 2025, 2:58 PM

Mar 14 2025

br added reviewers for D49249: mmc: support for SPI bus type: pkelsey, arm64.
Mar 14 2025, 11:41 AM
br added reviewers for D49248: mmc: SPI mode support: pkelsey, arm64.
Mar 14 2025, 11:41 AM
br accepted D49336: sgx: Add a simple cdev_pg_path method.
Mar 14 2025, 11:40 AM

Mar 5 2025

br requested review of D49249: mmc: support for SPI bus type.
Mar 5 2025, 4:53 PM
br requested review of D49248: mmc: SPI mode support.
Mar 5 2025, 4:46 PM

Feb 5 2025

br committed rG48f91cacc39c: bhyve/riscv: clean up SBI handlers. (authored by br).
bhyve/riscv: clean up SBI handlers.
Feb 5 2025, 9:35 AM
br committed rG6492ef7b832c: bhyve: Sleep for a short period after VM_EXITCODE_DEBUG exits (authored by br).
bhyve: Sleep for a short period after VM_EXITCODE_DEBUG exits
Feb 5 2025, 9:35 AM
br committed rGae65d59d4b8c: riscv vmm: various fixes in APLIC. (authored by br).
riscv vmm: various fixes in APLIC.
Feb 5 2025, 9:35 AM
br closed D48811: bhyve: Sleep for a short period after VM_EXITCODE_DEBUG exits.
Feb 5 2025, 9:35 AM
br closed D48829: bhyve/riscv: clean up SBI handlers.
Feb 5 2025, 9:35 AM
br committed rG4eee13813967: riscv vmm: clean up SBI code (authored by br).
riscv vmm: clean up SBI code
Feb 5 2025, 9:35 AM
br committed rGd69ab49ce081: bhyve/riscv: fix HSM extension handling. (authored by br).
bhyve/riscv: fix HSM extension handling.
Feb 5 2025, 9:35 AM
br closed D48807: bhyve/riscv: fix HSM.
Feb 5 2025, 9:35 AM
br closed D48808: riscv vmm: various fixes in APLIC.
Feb 5 2025, 9:35 AM
br closed D48575: riscv vmm: clean up SBI return code.
Feb 5 2025, 9:35 AM