Page MenuHomeFreeBSD

adrian (Adrian Chadd)
User

Projects (6)

User Details

User Since
May 14 2014, 7:57 AM (612 w, 20 h)

Recent Activity

Yesterday

adrian accepted D54927: aw_ccu: Add clocks for H616.
Wed, Feb 4, 4:42 PM
adrian added a comment to D54355: stdio: rename short _fileno to _fileno_short for legacy abi compatibility, add new int _fileno in struct __sFILE.

@jhb so the submitter is going to also need to add/bump symbol versions to a bunch of stdio routines? Is that what you're saying?

Wed, Feb 4, 3:31 PM
adrian accepted D55097: aw_mmc: Reset controller and configure read fifo size.

This looks fine to me, nice catch!

Wed, Feb 4, 3:19 PM
adrian accepted D54814: sdt: Enable on 32-bit powerpc and powerpc64le.
Wed, Feb 4, 6:54 AM
adrian committed rG3f3cc6fd69e4: if_rge: sync with up to date OpenBSD code (authored by brad_comstyle.com).
if_rge: sync with up to date OpenBSD code
Wed, Feb 4, 6:30 AM
adrian closed D54922: if_rge: sync with up to date OpenBSD code.
Wed, Feb 4, 6:30 AM
adrian accepted D54922: if_rge: sync with up to date OpenBSD code.
Wed, Feb 4, 6:24 AM
adrian accepted D55095: powerpc64: Fix disappearing low memory on radix MMU systems (POWER9).

I think this is fine; let's see what justin thinks tomorrow morning!

Wed, Feb 4, 6:23 AM · PowerPC
adrian added a comment to D55095: powerpc64: Fix disappearing low memory on radix MMU systems (POWER9).

oh that's a good catch!

Wed, Feb 4, 6:19 AM · PowerPC
adrian added a reviewer for D55095: powerpc64: Fix disappearing low memory on radix MMU systems (POWER9): PowerPC.
Wed, Feb 4, 6:19 AM · PowerPC
adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

Also /proc/iomem, which i think has what you're after in more specific detail:

Wed, Feb 4, 5:02 AM · PowerPC
adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

here's petitboot:

Wed, Feb 4, 4:57 AM · PowerPC
adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

ok, two normal boots and then the boot with this diff attached are at https://people.freebsd.org/~adrian/powerpc64/20260203-D54745-fail-1.txt .

Wed, Feb 4, 12:50 AM · PowerPC
adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

so it didn't finish booting;

Wed, Feb 4, 12:47 AM · PowerPC
adrian added a comment to D54745: powerpc64/powernv: Enable Partitionable Endpoint (PE) support.

ok, its definitely unhappy, stay tuned!

Wed, Feb 4, 12:45 AM · PowerPC

Tue, Feb 3

adrian updated the diff for D54936: powerpc64: initial conversion of oea64 to rwlocks.

rebase after jhibbits@ recent changes

Tue, Feb 3, 11:20 PM · PowerPC
adrian added reviewers for D55093: powerpc: document the magic constants for 16MB page size: jhibbits, PowerPC, tpearson_raptorengineering.com.
Tue, Feb 3, 11:16 PM · PowerPC
adrian requested review of D55093: powerpc: document the magic constants for 16MB page size.
Tue, Feb 3, 11:15 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
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
adrian requested review of D55073: sdt: fix macro to compile on powerpc.
Tue, Feb 3, 3:56 AM · PowerPC
adrian committed rG052a791b0055: acpi: add Darwin OSI quirk for Apple Mac hardware (authored by guest-seuros).
acpi: add Darwin OSI quirk for Apple Mac hardware
Tue, Feb 3, 1:53 AM
adrian closed D54762: acpi: add Darwin OSI quirk for Apple Mac hardware.
Tue, Feb 3, 1:52 AM
adrian accepted D54762: acpi: add Darwin OSI quirk for Apple Mac hardware.
Tue, Feb 3, 1:44 AM
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
adrian requested review of D55071: powerpc: enable HPT superpages by default.
Tue, Feb 3, 1:38 AM · PowerPC

Mon, Feb 2

adrian accepted D54221: Revert "Additional icache paranoia: non-PLT relocations can modify the text segment.".

i'm ok with accepting the ppc64 side of this; i've run it for days on p8/p9 doing test builds and i've not seen anything weird.

Mon, Feb 2, 10:34 PM
adrian added a comment to D54922: if_rge: sync with up to date OpenBSD code.

oops, will review tonight/tomorrow, sorry!

Mon, Feb 2, 1:02 AM

Fri, Jan 30

adrian added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Fri, Jan 30, 6:47 AM · PowerPC
adrian committed rGd76b8a928d66: powerpc: explicitly cast the timebase printfs (authored by adrian).
powerpc: explicitly cast the timebase printfs
Fri, Jan 30, 6:39 AM
adrian committed rG10a01320320f: powerpc: explicitly cast the timebase printfs (authored by adrian).
powerpc: explicitly cast the timebase printfs
Fri, Jan 30, 6:38 AM
adrian committed rG03e4cc9fdeb2: powerpc: explicitly cast the timebase printfs (authored by adrian).
powerpc: explicitly cast the timebase printfs
Fri, Jan 30, 6:38 AM
adrian added a comment to D54814: sdt: Enable on 32-bit powerpc and powerpc64le.

sigh, turns out we need to fix something in sdt_machdep.h first:

Fri, Jan 30, 6:35 AM
adrian committed rGefd7c55bade8: powerpc: disable the TLBIE lock, it's not needed for POWER8 (authored by adrian).
powerpc: disable the TLBIE lock, it's not needed for POWER8
Fri, Jan 30, 5:07 AM
adrian committed rGf7358bc0363f: powerpc: add a best-effort SMP time base sync for G5's that need it (authored by adrian).
powerpc: add a best-effort SMP time base sync for G5's that need it
Fri, Jan 30, 5:07 AM
adrian committed rG8baa4e964719: powerpc: fix release image building for Apple partitions (authored by adrian).
powerpc: fix release image building for Apple partitions
Fri, Jan 30, 5:07 AM
adrian committed rG666599639cf6: powerpc: put the isync inside the TD_LOCK() checking loop (authored by adrian).
powerpc: put the isync inside the TD_LOCK() checking loop
Fri, Jan 30, 5:07 AM
adrian committed rG0a45c8821d8e: powerpc: disable the TLBIE lock, it's not needed for POWER8 (authored by adrian).
powerpc: disable the TLBIE lock, it's not needed for POWER8
Fri, Jan 30, 5:03 AM
adrian committed rGb30d06409e5f: powerpc: add a best-effort SMP time base sync for G5's that need it (authored by adrian).
powerpc: add a best-effort SMP time base sync for G5's that need it
Fri, Jan 30, 5:03 AM

Thu, Jan 29

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
adrian requested review of D54936: powerpc64: initial conversion of oea64 to rwlocks.
Thu, Jan 29, 4:16 AM · PowerPC

Tue, Jan 27

adrian committed rG9a5baa9c5856: powerpc: disable the TLBIE lock, it's not needed for POWER8 (authored by adrian).
powerpc: disable the TLBIE lock, it's not needed for POWER8
Tue, Jan 27, 4:40 AM
adrian committed rG422c8719eab2: powerpc: add a best-effort SMP time base sync for G5's that need it (authored by adrian).
powerpc: add a best-effort SMP time base sync for G5's that need it
Tue, Jan 27, 4:40 AM
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
adrian added a comment to D54221: Revert "Additional icache paranoia: non-PLT relocations can modify the text segment.".

I haven't evaluated what's going on with 32 bit powerpc, but 64 bit powerpc this seems OK so far. I've been going through the ppc64 elfv2 abi v1.5 (https://files.openpower.foundation/s/cfA2oFPXbbZwEBK) and it does look like all of the relocs we're doing aren't instruction ones.

Mon, Jan 26, 2:25 AM
adrian added a comment to D54221: Revert "Additional icache paranoia: non-PLT relocations can modify the text segment.".
In D54221#1240836, @ivy wrote:

after my last comment, i ran into an unexpected make(1) crash while running this patch. i need to do some more testing to see if this is actually the cause, but i suggest holding off on landing it for now.

Mon, Jan 26, 2:14 AM
adrian added a reviewer for D54881: intel/intel_pmc_core: Add Intel PMC Core driver: obiwac.
Mon, Jan 26, 1:58 AM
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

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
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
adrian added inline comments to D54246: powerpc64: only sync icache if we relocated in executable segment.
Sun, Jan 25, 6:35 PM · PowerPC
adrian added inline comments to D54246: powerpc64: only sync icache if we relocated in executable segment.
Sun, Jan 25, 4:41 PM · PowerPC
adrian added a comment to D54246: powerpc64: only sync icache if we relocated in executable segment.

ok, I cleaned this up and have tested it in a chroot constantly doing buildkernel. It didn't trigger any make failures so far.

Sun, Jan 25, 4:31 PM · PowerPC

Sat, Jan 24

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
adrian requested review of D54855: powerpc: disable the TLBIE lock, it's not needed for POWER8.
Sat, Jan 24, 2:58 AM · PowerPC

Fri, Jan 23

adrian added a comment to D54840: sys: Use __is_aligned and __align_down for some kstack alignment operations.

Note: you can test this for ppc64 by using power8/power9 VMs:

Fri, Jan 23, 6:59 PM
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 a comment to D54820: sendfile(2): document that EINTR never happens on non-blocking socket.

I agree. There's a reason EINTR is something userland is supposed to handle and restart in a documented way, and it's "so the kernel doesn't have to bend over backwards to restart things."

Thu, Jan 22, 4:20 PM
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
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
adrian requested review of D54821: powerpc: add a best-effort SMP time base sync for G5's that need it.
Thu, Jan 22, 5:27 AM · PowerPC

Wed, Jan 21

adrian accepted D54814: sdt: Enable on 32-bit powerpc and powerpc64le.

works for me!

Wed, Jan 21, 7:43 PM
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
adrian added a comment to D54762: acpi: add Darwin OSI quirk for Apple Mac hardware.

Any other comments? I'd like to land this into -HEAD this week and see how it plays out!

Wed, Jan 21, 4:26 PM
adrian added a comment to D48099: rtwn: add VHT information to TX rate completion.

What do we expect to do with the remaining patches in this stack?

Wed, Jan 21, 3:41 PM · wireless

Tue, Jan 20

adrian added a comment to D54794: net80211: correct return code for ieee80211_ampdu_request().

Oh, there's no callers of ieee80211_ampdu_request() outside of net80211? I was worried that the existing AMPDU implementing drivers would hiccup with the return value changing!

Tue, Jan 20, 4:14 PM
adrian added a comment to D54390: net80211: clean up time comparison in HT code.

yeah, without it the ampdu retry stuff eventually stops retrying until the counter loops around again for the comparison to work

Tue, Jan 20, 3:04 PM · wireless
adrian added a reviewer for D54790: net80211: migrate wk_rxmic / wk_rxmic in TKIP code to accessors: wireless.
Tue, Jan 20, 4:33 AM · wireless
adrian requested review of D54790: net80211: migrate wk_rxmic / wk_rxmic in TKIP code to accessors.
Tue, Jan 20, 4:32 AM · wireless

Mon, Jan 19

adrian added a reviewer for D54762: acpi: add Darwin OSI quirk for Apple Mac hardware: ngie.
Mon, Jan 19, 1:30 AM
adrian added reviewers for D54762: acpi: add Darwin OSI quirk for Apple Mac hardware: imp, jkim, obiwac.
Mon, Jan 19, 1:27 AM
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
adrian requested review of D54771: pmu: avoid NULL ofw_get_bus_type(); handle pmu_send() calls w/ NULL recv buffers.
Mon, Jan 19, 1:20 AM · PowerPC

Sun, Jan 18

adrian accepted D54768: sys: do not allow entering vm_fault() on boot until VM is initialized.
Sun, Jan 18, 9:20 PM
adrian added a comment to D54768: sys: do not allow entering vm_fault() on boot until VM is initialized.

thanks!

Sun, Jan 18, 9:20 PM

Sat, Jan 17

adrian accepted D54759: spi: use better logic for earlier change.
Sat, Jan 17, 5:02 PM
adrian added a comment to D54633: aq: Add to amd64 GENERIC and to sys/conf/NOTES.

I had to undo the sys/conf/NOTES part because aq doesn't compile on ! amd64 right now. It's using calls to readl/writel.

Sat, Jan 17, 5:04 AM
adrian committed rGafbb21bd1d62: aq: remove from NOTES; it's unfortunately amd64 only (authored by adrian).
aq: remove from NOTES; it's unfortunately amd64 only
Sat, Jan 17, 5:01 AM
adrian committed rG6dc12ecfb268: spi: "-S" option for continuous stream from standard input to bus (authored by reviews-freebsd-org412_ketas.si.pri.ee).
spi: "-S" option for continuous stream from standard input to bus
Sat, Jan 17, 3:42 AM
adrian added a comment to D54734: spi(8) - "-S" option for continuous stream from standard input to bus.

landed!

Sat, Jan 17, 3:42 AM
adrian closed D54734: spi(8) - "-S" option for continuous stream from standard input to bus.
Sat, Jan 17, 3:42 AM
adrian added a comment to D54733: usbdevs: Add USB device IDs for Nuand bladeRF SDR.

hi! please resubmit this with the correct tab indents so I can apply it to the tree and push upstream. Thanks!

Sat, Jan 17, 3:26 AM
adrian committed rGc75eff16ef54: aq: Add to amd64 GENERIC and to sys/conf/NOTES (authored by brad_comstyle.com).
aq: Add to amd64 GENERIC and to sys/conf/NOTES
Sat, Jan 17, 3:26 AM
adrian closed D54633: aq: Add to amd64 GENERIC and to sys/conf/NOTES.
Sat, Jan 17, 3:25 AM
adrian added a comment to D54633: aq: Add to amd64 GENERIC and to sys/conf/NOTES.

its' ok i'll land it

Sat, Jan 17, 3:22 AM
adrian accepted D54733: usbdevs: Add USB device IDs for Nuand bladeRF SDR.
Sat, Jan 17, 3:22 AM

Fri, Jan 16

adrian committed rG4b5b8d69b23a: powerpc: fix release image building for Apple partitions (authored by adrian).
powerpc: fix release image building for Apple partitions
Fri, Jan 16, 6:27 AM
adrian added a comment to D54734: spi(8) - "-S" option for continuous stream from standard input to bus.

The manpage could do with a bit more work but we can work on that a bit after landing. Lemme get some more eyeballs on this.

Fri, Jan 16, 12:46 AM

Wed, Jan 14

adrian added inline comments to D54674: sys: add hmp.
Wed, Jan 14, 4:39 PM
adrian committed rGc498eaa2f909: asmc: Add support for MacBookPro11,5 (authored by guest-seuros).
asmc: Add support for MacBookPro11,5
Wed, Jan 14, 3:16 AM
adrian committed rGa24166d23d2e: mtw(4): Fix warm reboot initialization failures for MT7601U (authored by guest-seuros).
mtw(4): Fix warm reboot initialization failures for MT7601U
Wed, Jan 14, 3:16 AM
adrian closed D54665: asmc: Add support for MacBookPro11,5.
Wed, Jan 14, 3:15 AM