Page MenuHomeFreeBSD

PowerPCUmbrella
ActivePublic

Recent Activity

Today

tpearson_raptorengineering.com added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

! In D54745#1259084, @adrian wrote:
my POWER8 box does, but that may not be good enough?

Tue, Feb 3, 5:42 PM · PowerPC
adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

When testing, does anyone else have access to a SATA controller that does DMA? I'm sporadically seeing the Blackbird's AHCI controller lock up but I don't know if this is a PE freeze, bad DMA, or something completely unrelated (flaky cabling?):

ahcich1: is ffffffff cs ffffffff ss ffffffff rs ffffffff tfd ffffffff serr ffffffff cmd ffffffff
(ada0:ahcich1:0:0:0): READ_FPDMA_QUEUED. ACB: 60 40 e8 35 8b 40 24 00 00 00 00 00
(ada0:ahcich1:0:0:0): CAM status: Command timeout
ahcich1: AHCI reset...
(ada0:ahcich1:0:0:0): Retrying command, 3 more tries remain
ahcich1: stopping AHCI engine failed
ahcich1: SATA connect timeout time=100000us status=ffffffff
ahcich1: AHCI reset: device not found
pass0 at ahcich1 bus 0 scbus1 target 0 lun 0
pass0: <Hitachi HDS722020ALA330 JKAOA3MA> s/n JK11A8B9H82U0F detached
ada0 at ahcich1 bus 0 scbus1 target 0 lun 0
ada0: <Hitachi HDS722020ALA330 JKAOA3MA> s/n JK11A8B9H82U0F detached
g_vfs_done(): ada0p2 converting all errors to ENXIO
g_vfs_done():ada0p2[WRITE(offset=212411777024, length=32768)]error = 6 suppressing further ENXIO
panic: UFS: root fs would be forcibly unmounted
Tue, Feb 3, 5:37 PM · PowerPC
tpearson_raptorengineering.com updated subscribers of D55084: powerpc64/busdma: Migrate bounce DMA to common framework.

@adrian Could you give this patch set a thorough test as well? It is not dependent on D54745, I mainly want some additional testing without this on top of D54745 and a merge before going to the next phase of IOMMU enablement. D54745 has some issues with DMA and the AHCI controller that I don't currently understand and will need further investigation.

Tue, Feb 3, 5:34 PM · PowerPC
tpearson_raptorengineering.com added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

When testing, does anyone else have access to a SATA controller that does DMA? I'm sporadically seeing the Blackbird's AHCI controller lock up but I don't know if this is a PE freeze, bad DMA, or something completely unrelated (flaky cabling?):

Tue, Feb 3, 4:29 PM · PowerPC
tpearson_raptorengineering.com requested review of D55084: powerpc64/busdma: Migrate bounce DMA to common framework.
Tue, Feb 3, 4:27 PM · PowerPC
adrian added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Tue, Feb 3, 7:14 AM · PowerPC
adrian added a project to D55073: sdt: fix macro to compile on powerpc: PowerPC.
Tue, Feb 3, 3:57 AM · PowerPC
jhibbits accepted D55071: powerpc: enable HPT superpages by default.

Do It!

Tue, Feb 3, 2:23 AM · PowerPC
adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

(I still haven't forgotten about this diff; I'm going to test it in VMs and on power8 hardware this week.)

Tue, Feb 3, 1:39 AM · PowerPC
adrian added reviewers for D55071: powerpc: enable HPT superpages by default: PowerPC, jhibbits.
Tue, Feb 3, 1:39 AM · PowerPC

Fri, Jan 30

jhibbits added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Fri, Jan 30, 2:21 PM · PowerPC
jhibbits added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Fri, Jan 30, 1:44 PM · PowerPC
adrian added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Fri, Jan 30, 6:47 AM · PowerPC

Thu, Jan 29

jhibbits added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Thu, Jan 29, 4:02 PM · PowerPC
kib added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Thu, Jan 29, 6:05 AM · PowerPC
alfredo added inline comments to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.
Thu, Jan 29, 4:52 AM · PowerPC
jhibbits added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Thu, Jan 29, 4:25 AM · PowerPC
adrian added reviewers for D54936: powerpc64: initial conversion of oea64 to rwlocks: PowerPC, jhibbits, markj, kib.

This is sort of WIP - there's some TODOs in here. I'd like some feedback on the locking changes and whether I missed something. Thanks!

Thu, Jan 29, 4:18 AM · PowerPC

Tue, Jan 27

adrian closed D54855: powerpc: disable the TLBIE lock, it's not needed for POWER8.
Tue, Jan 27, 4:40 AM · PowerPC
adrian closed D54821: powerpc: add a best-effort SMP time base sync for G5's that need it.
Tue, Jan 27, 4:40 AM · PowerPC

Mon, Jan 26

adrian added a comment to D54246: powerpc64: only sync icache if we relocated in executable segment.

ok so I had a chat with jessica, and after some more digging to try and understand what's going on here, I see both views:

Mon, Jan 26, 6:47 AM · PowerPC
jrtc27 added a comment to D54246: powerpc64: only sync icache if we relocated in executable segment.
In D54246#1254644, @kib wrote:

ok, but on insistence from jrtc27 i added some debug logging here and it's never actually invoking syncicache in my tests.

This does not mean much. It only shows that the current binaries do not have this issue. But old binaries might have, then removing the hack breaks them.

Mon, Jan 26, 12:47 AM · PowerPC
kib added a comment to D54246: powerpc64: only sync icache if we relocated in executable segment.

ok, but on insistence from jrtc27 i added some debug logging here and it's never actually invoking syncicache in my tests.

Mon, Jan 26, 12:44 AM · PowerPC
adrian added a comment to D54246: powerpc64: only sync icache if we relocated in executable segment.

ok, but on insistence from jrtc27 i added some debug logging here and it's never actually invoking syncicache in my tests.

Mon, Jan 26, 12:21 AM · PowerPC

Sun, Jan 25

jhibbits accepted D54821: powerpc: add a best-effort SMP time base sync for G5's that need it.
Sun, Jan 25, 11:55 PM · PowerPC
adrian updated the diff for D54821: powerpc: add a best-effort SMP time base sync for G5's that need it.

cleanup

Sun, Jan 25, 10:12 PM · PowerPC
jrtc27 added inline comments to D54246: powerpc64: only sync icache if we relocated in executable segment.
Sun, Jan 25, 10:06 PM · PowerPC
jrtc27 requested changes to D54246: powerpc64: only sync icache if we relocated in executable segment.

This works for me on freebsd-16 on power8, I'm doing test buildworld -j32 on it right now!

Sun, Jan 25, 10:03 PM · PowerPC
adrian accepted D54246: powerpc64: only sync icache if we relocated in executable segment.

This works for me on freebsd-16 on power8, I'm doing test buildworld -j32 on it right now!

Sun, Jan 25, 10:00 PM · PowerPC
adrian added a reviewer for D54246: powerpc64: only sync icache if we relocated in executable segment: PowerPC.
Sun, Jan 25, 10:00 PM · PowerPC

Sat, Jan 24

jhibbits added inline comments to D54821: powerpc: add a best-effort SMP time base sync for G5's that need it.
Sat, Jan 24, 8:37 PM · PowerPC
jhibbits accepted D54855: powerpc: disable the TLBIE lock, it's not needed for POWER8.
Sat, Jan 24, 8:32 PM · PowerPC
adrian updated the diff for D54821: powerpc: add a best-effort SMP time base sync for G5's that need it.

remove extra mttb()

Sat, Jan 24, 4:00 AM · PowerPC
adrian updated the diff for D54855: powerpc: disable the TLBIE lock, it's not needed for POWER8.

don't duplicate the section, thanks ppl

Sat, Jan 24, 3:59 AM · PowerPC
adrian added reviewers for D54855: powerpc: disable the TLBIE lock, it's not needed for POWER8: jhibbits, PowerPC.
Sat, Jan 24, 3:10 AM · PowerPC

Fri, Jan 23

tpearson_raptorengineering.com added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

ok, now that i have power8 hardware up and running, what should i be on the lookout for?
Just the same devinfo/dmesg resource assignment, devices found, etc?

Fri, Jan 23, 4:59 PM · PowerPC
adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

ok, now that i have power8 hardware up and running, what should i be on the lookout for?
Just the same devinfo/dmesg resource assignment, devices found, etc?

Fri, Jan 23, 7:44 AM · PowerPC

Thu, Jan 22

adrian added inline comments to D54821: powerpc: add a best-effort SMP time base sync for G5's that need it.
Thu, Jan 22, 3:14 PM · PowerPC
jhibbits added inline comments to D54821: powerpc: add a best-effort SMP time base sync for G5's that need it.
Thu, Jan 22, 2:15 PM · PowerPC
adrian added a reviewer for D54821: powerpc: add a best-effort SMP time base sync for G5's that need it: PowerPC.
Thu, Jan 22, 5:28 AM · PowerPC
adrian added a reviewer for D54821: powerpc: add a best-effort SMP time base sync for G5's that need it: jhibbits.
Thu, Jan 22, 5:27 AM · PowerPC

Wed, Jan 21

adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

I'm in the process of documenting / getting powernv8 and powernv9 qemu guests up and running.
(And I now have a power8 booting freebsd powernv so I can test it on real hardware as well.)

Wed, Jan 21, 4:42 PM · PowerPC

Mon, Jan 19

jhibbits added inline comments to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.
Mon, Jan 19, 5:09 AM · PowerPC
jhibbits added a reviewer for D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support: PowerPC.

Adding the wider powerpc umbrella, so others can take a look as well.

Mon, Jan 19, 5:05 AM · PowerPC
jrtc27 added a comment to D54771: pmu: avoid NULL ofw_get_bus_type(); handle pmu_send() calls w/ NULL recv buffers.

the "extint-gpio1" check returned NULL

Mon, Jan 19, 3:47 AM · PowerPC
jhibbits added a comment to D54771: pmu: avoid NULL ofw_get_bus_type(); handle pmu_send() calls w/ NULL recv buffers.

The type NULL checks are good. I think the whole of the changes for pmu_send() are a bit overkill. Could you test with just the one line I pointed out, and the rest reverted?

Mon, Jan 19, 3:41 AM · PowerPC
adrian added a reviewer for D54771: pmu: avoid NULL ofw_get_bus_type(); handle pmu_send() calls w/ NULL recv buffers: PowerPC.
Mon, Jan 19, 1:21 AM · PowerPC

Fri, Jan 16

tpearson_raptorengineering.com requested review of D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.
Fri, Jan 16, 5:53 PM · PowerPC

Sun, Jan 11

adrian closed D54639: powerpc: fix release image building for Apple partitions.
Sun, Jan 11, 7:05 AM · PowerPC
adrian added a comment to D54639: powerpc: fix release image building for Apple partitions.
In D54639#1248394, @imp wrote:

You could combine the two lines too by

OFFSET=$((0x$(hd...) ))
Sun, Jan 11, 7:01 AM · PowerPC