Page MenuHomeFreeBSD

PowerPCUmbrella
ActivePublic

Recent Activity

Mon, May 18

minsoochoo0122_proton.me added a member for PowerPC: minsoochoo0122_proton.me.
Mon, May 18, 4:34 PM
ivy added reviewers for D56984: powerpc: Implement RTAS event log support: tpearson_raptorengineering.com, kevans.
Mon, May 18, 8:38 AM · drivers, PowerPC

Thu, May 14

ivy updated the diff for D56984: powerpc: Implement RTAS event log support.

remove an unused prototype

Thu, May 14, 8:32 AM · drivers, PowerPC
ivy updated the diff for D56984: powerpc: Implement RTAS event log support.

improve buffer handling

Thu, May 14, 8:29 AM · drivers, PowerPC

Wed, May 13

ivy updated the diff for D56984: powerpc: Implement RTAS event log support.

re: pointer arithmetic, i have a better idea of how to do this, but let's
see if this is a better way to handle shutdown in the mean time.

Wed, May 13, 3:52 PM · drivers, PowerPC
jhibbits added inline comments to D56984: powerpc: Implement RTAS event log support.
Wed, May 13, 3:16 PM · drivers, PowerPC
ivy added inline comments to D56984: powerpc: Implement RTAS event log support.
Wed, May 13, 3:08 PM · drivers, PowerPC
jhibbits added inline comments to D56984: powerpc: Implement RTAS event log support.
Wed, May 13, 2:56 PM · drivers, PowerPC
ivy updated the diff for D56984: powerpc: Implement RTAS event log support.

use uint8_t for bitfields

Wed, May 13, 2:44 PM · drivers, PowerPC
adrian added inline comments to D56984: powerpc: Implement RTAS event log support.
Wed, May 13, 2:30 PM · drivers, PowerPC
adrian added projects to D56984: powerpc: Implement RTAS event log support: PowerPC, drivers.
Wed, May 13, 2:28 PM · drivers, PowerPC

Sun, May 3

adrian added a comment to D56244: powerpc: refactor dmamap setup; free dmamap in error paths.

already landed in 0de6295af231aa5c13e1da2f40b29106962b6363

Sun, May 3, 8:52 PM · PowerPC

Fri, May 1

adrian closed D56243: powerpc: busdma declaration shuffling.
Fri, May 1, 9:15 PM · PowerPC
adrian closed D55340: powerpc: refactor common busdma tag setup.
Fri, May 1, 9:15 PM · PowerPC
adrian closed D56208: powerpc: use local flags for bounce buffers instead of common flags.
Fri, May 1, 9:15 PM · PowerPC
adrian closed D55313: powerpc: initial straight port of busdma_machdep.c -> busdma_bounce.c.
Fri, May 1, 9:15 PM · PowerPC
adrian closed D55315: powerpc: add in some busdma domain setup.
Fri, May 1, 9:15 PM · PowerPC
adrian closed D55314: powerpc: create a tag with the parents implementation if supplied.
Fri, May 1, 9:15 PM · PowerPC
adrian closed D56751: powerpc/pic: fix the openpic CPU logic to work on powermac.
Fri, May 1, 12:08 AM · PowerPC

Thu, Apr 30

jhibbits accepted D56751: powerpc/pic: fix the openpic CPU logic to work on powermac.

This really is funny, that we're working around broken IBM and Apple hardware by putting a quirk on the one conforming implementer.

Thu, Apr 30, 10:24 PM · PowerPC
adrian updated the diff for D56751: powerpc/pic: fix the openpic CPU logic to work on powermac.

update

Thu, Apr 30, 9:01 PM · PowerPC
adrian added a project to D56751: powerpc/pic: fix the openpic CPU logic to work on powermac: PowerPC.
Thu, Apr 30, 7:51 PM · PowerPC
adrian updated the diff for D56244: powerpc: refactor dmamap setup; free dmamap in error paths.

rebase

Thu, Apr 30, 3:04 PM · PowerPC
adrian updated the diff for D56243: powerpc: busdma declaration shuffling.

rebase

Thu, Apr 30, 3:04 PM · PowerPC
adrian updated the diff for D56208: powerpc: use local flags for bounce buffers instead of common flags.

rebase

Thu, Apr 30, 3:03 PM · PowerPC
adrian updated the diff for D55340: powerpc: refactor common busdma tag setup.

update

Thu, Apr 30, 3:03 PM · PowerPC
adrian updated the diff for D55315: powerpc: add in some busdma domain setup.

rebase

Thu, Apr 30, 3:03 PM · PowerPC
adrian updated the diff for D55314: powerpc: create a tag with the parents implementation if supplied.

rebase

Thu, Apr 30, 3:03 PM · PowerPC
adrian updated the diff for D55313: powerpc: initial straight port of busdma_machdep.c -> busdma_bounce.c.

rebase after jhb's vm_offset_t changes

Thu, Apr 30, 3:02 PM · PowerPC

Apr 12 2026

ivy added a member for PowerPC: ivy.
Apr 12 2026, 1:01 PM

Apr 3 2026

adrian added a reviewer for D56244: powerpc: refactor dmamap setup; free dmamap in error paths: PowerPC.
Apr 3 2026, 4:29 PM · PowerPC
adrian added a reviewer for D56243: powerpc: busdma declaration shuffling: PowerPC.
Apr 3 2026, 4:28 PM · PowerPC

Mar 31 2026

adrian added a reviewer for D56208: powerpc: use local flags for bounce buffers instead of common flags: PowerPC.

looks like this diff got the flags stuff and shuffling around where the 'struct bus_dma_tag' is defined.
I'll go clean that up shortly.

Mar 31 2026, 10:51 PM · PowerPC

Mar 12 2026

ali_mashtizadeh.com added a member for PowerPC: ali_mashtizadeh.com.
Mar 12 2026, 9:03 PM

Feb 22 2026

adrian closed D54936: powerpc64: initial conversion of oea64 to rwlocks.
Feb 22 2026, 2:26 AM · PowerPC

Feb 21 2026

adrian added a comment to D55084: powerpc64/busdma: Migrate bounce DMA to common framework.

ok, this one boots fine in p8 pseries and p9 pseries, but p8 powernv it .. just hangs during boot and eventually ends up at OPAL.

Feb 21 2026, 4:07 AM · PowerPC
adrian added a comment to D55315: powerpc: add in some busdma domain setup.

Seeing the same problem with just D54745, D55313, and D55314. I suppose it's possible D54745 could shift things around enough to make the problem appear, but I'm not comfortable merging code into the DMA system when I already know we're violating platform constraints (without D54745 I know for a fact we're allocating bounce buffer in an illegal region and Bad Things via undefined behavior are likely -- just because we get away with it long enough to boot doesn't mean we're not going to get data corruption and lockups later on).

Feb 21 2026, 2:32 AM · PowerPC

Feb 18 2026

tpearson_raptorengineering.com added a comment to D55315: powerpc: add in some busdma domain setup.

Seeing the same problem with just D54745, D55313, and D55314. I suppose it's possible D54745 could shift things around enough to make the problem appear, but I'm not comfortable merging code into the DMA system when I already know we're violating platform constraints (without D54745 I know for a fact we're allocating bounce buffer in an illegal region and Bad Things via undefined behavior are likely -- just because we get away with it long enough to boot doesn't mean we're not going to get data corruption and lockups later on).

Feb 18 2026, 4:16 PM · PowerPC
tpearson_raptorengineering.com added a comment to D55315: powerpc: add in some busdma domain setup.

That actually does make sense -- physmem is different on PowerNV vs. pSeries, especially because use of the IOMMU is effectively mandatory on pSeries. I'm not sure you're going to be able to reproduce easily on qemu short of setting up a PowerNV system to test with, which in turn requires a current skiboot build, etc. Additionally, the mpr driver is unique in the entire tree as far as I can tell, I'm not sure the DMA over-allocation issue will be reproducible without an LSI card attached.

Feb 18 2026, 4:01 PM · PowerPC
adrian added a comment to D55315: powerpc: add in some busdma domain setup.

ok, does this happen without this domain change? can you just try D55312, D55313, D55314?

Feb 18 2026, 3:54 PM · PowerPC
tpearson_raptorengineering.com added a comment to D55315: powerpc: add in some busdma domain setup.

All that said, I bet if the mpr DMA issue was fixed the problem introduced in the port would at least be masked. I'm unclear what the "correct" behavior should be when we run out of bounce buffers; with the stock kernel, it looks like ahci and usb are simply denied buffer allocation (-ENOSPC) so they fall back to a DMA-free mode, whereas with the patch series applied they're (successfully) allocated too small of a bounce region and just lock up.

Feb 18 2026, 3:49 PM · PowerPC
tpearson_raptorengineering.com added a comment to D55315: powerpc: add in some busdma domain setup.

This is why I was saying we should probably find the fault in my patchset, and fix that, along with whatever is going wrong with the DMA tag setup where the mpr driver is allocating too much bounce memory. There's something different in the DMA core vs. what the old powerpc DMA code is trying to do, and whatever it is is quite subtle.

Feb 18 2026, 3:40 PM · PowerPC
tpearson_raptorengineering.com added a comment to D55315: powerpc: add in some busdma domain setup.

Yeah, here's the boot from a stock kernel:

Feb 18 2026, 3:39 PM · PowerPC
adrian added a comment to D55315: powerpc: add in some busdma domain setup.

oh interesting. is this different from straight -head? If it is then i need to fix it. If it isn't then it's expected behaviour!

Feb 18 2026, 3:31 PM · PowerPC
tpearson_raptorengineering.com added a comment to D55315: powerpc: add in some busdma domain setup.

Unfortunately this fails to boot on POWER9/PowerNV with the following patch series:

Feb 18 2026, 2:39 PM · PowerPC
adrian added reviewers for D55340: powerpc: refactor common busdma tag setup: jhibbits, PowerPC.
Feb 18 2026, 6:53 AM · PowerPC
adrian updated the diff for D55315: powerpc: add in some busdma domain setup.

refactor

Feb 18 2026, 6:43 AM · PowerPC
adrian updated the diff for D55315: powerpc: add in some busdma domain setup.

refactor

Feb 18 2026, 6:41 AM · PowerPC
adrian updated the diff for D55314: powerpc: create a tag with the parents implementation if supplied.

refactor

Feb 18 2026, 6:38 AM · PowerPC
adrian updated the diff for D55313: powerpc: initial straight port of busdma_machdep.c -> busdma_bounce.c.

refactor

Feb 18 2026, 6:28 AM · PowerPC