Page MenuHomeFreeBSD

br (Ruslan Bukin)
User

Projects

User Details

User Since
Nov 27 2014, 10:57 AM (259 w, 4 d)

Recent Activity

Thu, Nov 14

br accepted D21928: plic: support irq distribution.
Thu, Nov 14, 3:22 PM

Mon, Nov 11

br accepted D21927: plic: fix context calculation.

Looks good.

Mon, Nov 11, 2:22 PM
br added inline comments to D21928: plic: support irq distribution.
Mon, Nov 11, 2:19 PM

Mon, Nov 4

br accepted D21927: plic: fix context calculation.

Looks good

Mon, Nov 4, 1:30 PM

Mon, Oct 28

br added a comment to D21928: plic: support irq distribution.

I also have a comment from jhb@:
@br typically we only route device interrupts to a single core since interrupt handlers generally assume they are not run concurrently (interrupt filters, ithreads will be single-threaded even if the interrupt is broadcast)
as Andy noted, you want to handle interrupt binding requests, but you also need to do something for the “default” case.
Not sure what INTRNG does, but on x86 we round-robin interrupts among CPUs when they are first setup.

Mon, Oct 28, 7:00 PM
br added a comment to D21928: plic: support irq distribution.
In D21928#484089, @br wrote:

Why do we need to enable interrupts for all CPUs and not only current cpu?
where an interrupt will be signaled in that case?

PIC_ENABLE_INTR is called very seldomly, often only once while setting up the PIC during intr_setup_irq by the BSP. Since it is not called per-cpu, this function should handle enabling the interrupt for all active CPUs.
BBL sets all PLIC enable bits to 1 by default, whereas OpenSBI sets them to 0, which is how I noticed that APs weren't having their interrupts enabled.

Mon, Oct 28, 6:33 PM

Fri, Oct 25

br added a comment to D21927: plic: fix context calculation.

looks good!

Fri, Oct 25, 8:27 AM
br added a comment to D21928: plic: support irq distribution.

Why do we need to enable interrupts for all CPUs and not only current cpu?
where an interrupt will be signaled in that case?

Fri, Oct 25, 8:18 AM

Oct 15 2019

br committed rS353575: Fix dwmmc(4) driver attachment when ext_resources are not present..
Fix dwmmc(4) driver attachment when ext_resources are not present.
Oct 15 2019, 5:24 PM
br closed D22043: Fix dwmmc(4) attachment.
Oct 15 2019, 5:24 PM
br created D22043: Fix dwmmc(4) attachment.
Oct 15 2019, 5:09 PM

Oct 14 2019

br committed rS353493: Fix the driver attachment in cases when the external resource devices.
Fix the driver attachment in cases when the external resource devices
Oct 14 2019, 3:53 PM

Oct 11 2019

br accepted D21975: RISC-V: Call devmap_bootstrap().
Oct 11 2019, 3:15 PM
br committed rS353431: Install the libopencsd version header (other headers now depend on it)..
Install the libopencsd version header (other headers now depend on it).
Oct 11 2019, 9:19 AM

Oct 10 2019

br committed rS353394: Remove a stale file left after merging..
Remove a stale file left after merging.
Oct 10 2019, 1:44 PM
br committed rS353393: Update ARM CoreSight trace decoder library..
Update ARM CoreSight trace decoder library.
Oct 10 2019, 1:30 PM
br committed rS353392: Update opencsd tag..
Update opencsd tag.
Oct 10 2019, 1:23 PM
br committed rS353391: Import OpenCSD -- an ARM CoreSight Trace Decode library..
Import OpenCSD -- an ARM CoreSight Trace Decode library.
Oct 10 2019, 1:19 PM
br committed rS353390: Update Intel Processor Trace decoder library..
Update Intel Processor Trace decoder library.
Oct 10 2019, 12:47 PM
br committed rS353389: Import Intel Processor Trace library..
Import Intel Processor Trace library.
Oct 10 2019, 12:20 PM

Oct 8 2019

br added a comment to D21927: plic: fix context calculation.

Are these example of PLIC contexts?

interrupts-extended = <
				&cpu0_intc 0xffffffff
				&cpu1_intc 0xffffffff &cpu1_intc 9
				&cpu2_intc 0xffffffff &cpu2_intc 9
				&cpu3_intc 0xffffffff &cpu3_intc 9
				&cpu4_intc 0xffffffff &cpu4_intc 9>;
Oct 8 2019, 6:02 PM
br updated the summary of D12875: HWPMC tracing support (1) -- main.
Oct 8 2019, 3:45 PM
br updated the diff for D15092: HWPMC tracing support (6) -- pmctrace main.
  • Infer the tracing device based on compiler architecture (PT on amd64, Coresight on aarch64)
  • Document all the pmctrace usage flags
Oct 8 2019, 3:36 PM
br added a comment to D21927: plic: fix context calculation.

I was looking at Linux driver before writing this one. Why don't they do the same ?

Oct 8 2019, 1:38 PM
br added a comment to D21940: plic: handle renumbered harts.

hart ID is recorded to pcpup->pc_hart. Could it be used ? i.e. PCPU_GET(hart) or pcpu_find(cpu)->pc_hart

Oct 8 2019, 1:34 PM
br accepted D21926: RISC-V: Fix an alignment warning in libthr.
Oct 8 2019, 1:01 PM

Oct 7 2019

br added inline comments to D15091: HWPMC tracing support (5) -- Intel PT.
Oct 7 2019, 4:28 PM
br updated the summary of D12875: HWPMC tracing support (1) -- main.
Oct 7 2019, 4:22 PM
br created D21920: HWPMC tracing support (9) -- libpmcstat.
Oct 7 2019, 4:20 PM
br updated the diff for D15095: HWPMC tracing support (8) -- pmctrace ARM Coresight.

Regenerate patch.

Oct 7 2019, 4:17 PM
br updated the diff for D15094: HWPMC tracing support (7) -- pmctrace Intel PT.

Regenerate patch.

Oct 7 2019, 4:17 PM
br updated the diff for D15092: HWPMC tracing support (6) -- pmctrace main.

Regenerate patch.

Oct 7 2019, 4:17 PM
br updated the diff for D15091: HWPMC tracing support (5) -- Intel PT.

Regenerate patch.

Oct 7 2019, 4:17 PM
br updated the diff for D15090: HWPMC tracing support (4) -- ARM Coresight.

Regenerate patch.

Oct 7 2019, 4:16 PM
br updated the diff for D15088: HWPMC tracing support (3) -- libpmc.

Regenerate patch.

Oct 7 2019, 4:16 PM
br updated the diff for D15089: HWPMC tracing support (2) -- VM.

Regenerate patch.

Oct 7 2019, 4:16 PM
br updated the diff for D12875: HWPMC tracing support (1) -- main.

Regenerate patch.

Oct 7 2019, 4:15 PM

Sep 27 2019

br accepted D21684: Fix compiler_rt definition for RISC-V.

Thanks!

Sep 27 2019, 1:11 PM

Sep 18 2019

br committed rS352487: Add support for BERI statcounters..
Add support for BERI statcounters.
Sep 18 2019, 4:13 PM

Sep 13 2019

br committed rS352302: Add support for Intel Stratix 10 platform..
Add support for Intel Stratix 10 platform.
Sep 13 2019, 4:51 PM
br closed D21454: [new driver] Intel Stratix10 (S10) quad-core ARM64 and FPGA fabric..
Sep 13 2019, 4:51 PM
br committed rS352301: Add generic arm/arm64 secure-monitor SMCCC interface and switch.
Add generic arm/arm64 secure-monitor SMCCC interface and switch
Sep 13 2019, 3:56 PM
br closed D21439: Generic SMCCC.
Sep 13 2019, 3:56 PM

Sep 9 2019

br accepted D21537: csu: Add the riscv .init call sequence.
Sep 9 2019, 4:19 PM

Sep 7 2019

br accepted D21538: riscv: Ensure that BSS is 8-byte aligned.

I discussed with James Clarke jrtc27, it is fine

Sep 7 2019, 2:24 PM

Sep 6 2019

br added a comment to D21439: Generic SMCCC.

Can you update the psci code to use the arm_smccc_* functions? We should only have one copy the functions to make smccc calls and you can consider psci to be based on it.

Sep 6 2019, 3:13 PM
br updated the summary of D21439: Generic SMCCC.
Sep 6 2019, 3:09 PM
br updated the diff for D21439: Generic SMCCC.

Reuse generic SMCCC for PSCI.

Sep 6 2019, 3:04 PM

Sep 5 2019

br committed rS351880: Add dwgpio to NOTES so it gets built in LINT kernels..
Add dwgpio to NOTES so it gets built in LINT kernels.
Sep 5 2019, 5:55 PM

Sep 4 2019

br committed rS351818: Include dwgpio to the build..
Include dwgpio to the build.
Sep 4 2019, 3:55 PM
br committed rS351817: o Add support for multi-port instances of Synopsys DesignWare APB GPIO.
o Add support for multi-port instances of Synopsys DesignWare APB GPIO
Sep 4 2019, 3:37 PM

Sep 3 2019

br added inline comments to D21439: Generic SMCCC.
Sep 3 2019, 5:43 PM
br added inline comments to D21454: [new driver] Intel Stratix10 (S10) quad-core ARM64 and FPGA fabric..
Sep 3 2019, 5:41 PM
br updated the diff for D21454: [new driver] Intel Stratix10 (S10) quad-core ARM64 and FPGA fabric..

Check if device is opened before writing to it or closing it. This could happen if user process forks.

Sep 3 2019, 5:40 PM
br updated the diff for D21439: Generic SMCCC.

address Andy's comments

Sep 3 2019, 4:34 PM

Aug 28 2019

br created D21454: [new driver] Intel Stratix10 (S10) quad-core ARM64 and FPGA fabric..
Aug 28 2019, 4:01 PM

Aug 27 2019

br created D21439: Generic SMCCC.
Aug 27 2019, 2:48 PM

Jul 30 2019

br committed rS350444: Fix EFI loader build when LOADER_NET_SUPPORT=no..
Fix EFI loader build when LOADER_NET_SUPPORT=no.
Jul 30 2019, 2:54 PM
br committed rS350443: Fix MMCCAM kernel build..
Fix MMCCAM kernel build.
Jul 30 2019, 2:21 PM
br committed rS350440: Add support for the SD/MMC controller found in Terasic DE10-Pro.
Add support for the SD/MMC controller found in Terasic DE10-Pro
Jul 30 2019, 12:51 PM

Jul 29 2019

br committed rS350418: Add glue driver for Altera SOCFPGA Ethernet MAC (EMAC) found in.
Add glue driver for Altera SOCFPGA Ethernet MAC (EMAC) found in
Jul 29 2019, 4:32 PM
br committed rS350415: Find the correct node of PHY chip using "phy-handle" property of.
Find the correct node of PHY chip using "phy-handle" property of
Jul 29 2019, 2:58 PM

Jul 22 2019

br committed rS350213: Remove unused header..
Remove unused header.
Jul 22 2019, 4:50 PM
br committed rS350212: o Add support for BERI IOMMU device.
o Add support for BERI IOMMU device
Jul 22 2019, 4:01 PM

Jul 4 2019

br committed rS349732: Fix transfers that don't use busdma or bounce buffer (e.g. software dmas)..
Fix transfers that don't use busdma or bounce buffer (e.g. software dmas).
Jul 4 2019, 3:26 PM
br committed rS349727: Negate the logic of XCHAN_CAP_NOBUFS macro and rename it to.
Negate the logic of XCHAN_CAP_NOBUFS macro and rename it to
Jul 4 2019, 2:04 PM

Jun 27 2019

br committed rS349466: Add support for extended descriptor format to Altera mSGDMA driver..
Add support for extended descriptor format to Altera mSGDMA driver.
Jun 27 2019, 6:08 PM

Jun 4 2019

br committed rS348650: MFC r348364:.
MFC r348364:
Jun 4 2019, 5:42 PM
br committed rS348649: MFC r347514:.
MFC r347514:
Jun 4 2019, 5:39 PM
br committed rS348627: MFC r347427:.
MFC r347427:
Jun 4 2019, 3:42 PM
br committed rS348626: MFC r347351:.
MFC r347351:
Jun 4 2019, 3:40 PM
br committed rS348625: MFC r347344:.
MFC r347344:
Jun 4 2019, 3:39 PM
br committed rS348624: MFC r347342:.
MFC r347342:
Jun 4 2019, 3:37 PM
br committed rS348623: MFC r347337:.
MFC r347337:
Jun 4 2019, 3:35 PM
br committed rS348622: MFC r347226:.
MFC r347226:
Jun 4 2019, 3:34 PM
br committed rS348621: MFC r347225:.
MFC r347225:
Jun 4 2019, 3:33 PM
br committed rS348620: MFC r346994:.
MFC r346994:
Jun 4 2019, 3:30 PM
br committed rS348619: MFC r346896:.
MFC r346896:
Jun 4 2019, 3:28 PM
br committed rS348618: MFC r346634:.
MFC r346634:
Jun 4 2019, 3:26 PM
br committed rS348617: MFC r346633:.
MFC r346633:
Jun 4 2019, 3:25 PM
br committed rS348616: MFC r345796:.
MFC r345796:
Jun 4 2019, 3:19 PM
br committed rS348615: MFC r345581:.
MFC r345581:
Jun 4 2019, 3:15 PM
br committed rS348614: MFC r344252:.
MFC r344252:
Jun 4 2019, 3:13 PM
br committed rS348613: MFC 339774:.
MFC 339774:
Jun 4 2019, 3:11 PM

Jun 1 2019

br added inline comments to D20495: RISC-V: cleanup some GENERIC options.
Jun 1 2019, 8:27 PM

May 29 2019

br committed rS348364: Don't copy the data from bounce buffer back to the mbuf if channel does.
Don't copy the data from bounce buffer back to the mbuf if channel does
May 29 2019, 4:01 PM
br committed rS348363: Pass pci_base address instead of physical address to rman_manage_region()..
Pass pci_base address instead of physical address to rman_manage_region().
May 29 2019, 3:53 PM

May 12 2019

br committed rS347514: Add support for HiFive Unleashed -- the board with a multi-core RISC-V SoC.
Add support for HiFive Unleashed -- the board with a multi-core RISC-V SoC
May 12 2019, 4:17 PM
br closed D20225: HiFive Unleashed support.
May 12 2019, 4:17 PM

May 11 2019

br updated the diff for D20225: HiFive Unleashed support.
  • Assert that hart < MAXCPU
  • Rename cpu variable to hart
May 11 2019, 8:14 PM
br updated the diff for D20225: HiFive Unleashed support.

Fix bug: use CPU_FILL to fill up kernel pmap pm_active.
all_harts is not initialized yet in pmap_boostrap()

May 11 2019, 1:25 PM
br updated the diff for D20225: HiFive Unleashed support.

Use all_harts mask in release_aps()

May 11 2019, 11:56 AM
br updated the diff for D20225: HiFive Unleashed support.
  1. Store hart in struct pcpu
  2. Store harts not CPUIDs in pmap->pm_active
May 11 2019, 11:15 AM

May 10 2019

br updated the diff for D20225: HiFive Unleashed support.

Fix !SMP build.

May 10 2019, 3:13 PM
br created D20225: HiFive Unleashed support.
May 10 2019, 2:55 PM
br closed D20209: RISC-V PMAP: Ignore setting physical memory attributes.
May 10 2019, 11:22 AM
br committed rS347427: RISC-V ISA does not specify how to manage physical memory attributes (PMA)..
RISC-V ISA does not specify how to manage physical memory attributes (PMA).
May 10 2019, 11:22 AM

May 9 2019

br created D20209: RISC-V PMAP: Ignore setting physical memory attributes.
May 9 2019, 11:46 AM

May 8 2019

br committed rS347351: Connect Xilinx AXI drivers and Cadence Ethernet MAC to the RISC-V build..
Connect Xilinx AXI drivers and Cadence Ethernet MAC to the RISC-V build.
May 8 2019, 4:07 PM
br committed rS347344: Add driver for the Xilinx AXI Direct Memory Access (AXI DMA) controller.
Add driver for the Xilinx AXI Direct Memory Access (AXI DMA) controller
May 8 2019, 3:43 PM