Page MenuHomeFreeBSD

adrian (Adrian Chadd)
User

Projects (6)

User Details

User Since
May 14 2014, 7:57 AM (613 w, 5 d)

Recent Activity

Today

adrian added a comment to D55265: acpi_panasonic: Clear wireless RF_KILL on boot and resume.

Hm, this is an interesting problem/question.

Mon, Feb 16, 4:02 AM
adrian committed rGe4bcfe4ebf03: ichsmb: Add Intel Raptor Lake SMBus controller support (authored by guest-seuros).
ichsmb: Add Intel Raptor Lake SMBus controller support
Mon, Feb 16, 4:00 AM
adrian closed D54957: ichsmb: Add Intel Raptor Lake SMBus controller support.
Mon, Feb 16, 3:59 AM

Yesterday

adrian accepted D55289: libusb: dequeue next transfer on completion to prevent stalls.
Sun, Feb 15, 8:05 PM
adrian accepted D55291: libusb: make libusb_hotplug_get_user_data actually return user_data.
Sun, Feb 15, 8:04 PM
adrian added a comment to D55289: libusb: dequeue next transfer on completion to prevent stalls.

oh this is a good catch!

Sun, Feb 15, 6:22 PM
adrian accepted D54231: libusb20_dev_open(3) and libusb20_be_device_foreach(3) man pages..

looks good plz land

Sun, Feb 15, 5:02 PM · USB
adrian updated the diff for D54936: powerpc64: initial conversion of oea64 to rwlocks.

compile tested

Sun, Feb 15, 4:40 AM · PowerPC
adrian updated the diff for D54936: powerpc64: initial conversion of oea64 to rwlocks.

rw_init_flags() -> rw_init()

Sun, Feb 15, 3:30 AM · PowerPC
adrian added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Sun, Feb 15, 3:27 AM · PowerPC
adrian committed rG90d79dd54946: asmc: Add MacPro3,1 temperature sensor support (authored by guest-seuros).
asmc: Add MacPro3,1 temperature sensor support
Sun, Feb 15, 2:13 AM
adrian closed D54952: asmc: Add MacPro3,1 temperature sensor support.
Sun, Feb 15, 2:12 AM

Sat, Feb 14

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

nope, still no dice

Sat, Feb 14, 7:21 PM · PowerPC
adrian added a comment to D55084: powerpc64/busdma: Migrate bounce DMA to common framework.

ok, lemme try this latest one in qemu real quick, hold.

Sat, Feb 14, 7:19 PM · PowerPC
adrian added a comment to D55084: powerpc64/busdma: Migrate bounce DMA to common framework.

Just tried the latest diff on power9/pseries qemu, it panics differently now

Sat, Feb 14, 12:58 AM · PowerPC

Fri, Feb 13

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

ok i thought this was OK on power9 but it seems not:

Fri, Feb 13, 7:30 PM · PowerPC
adrian added a comment to D55084: powerpc64/busdma: Migrate bounce DMA to common framework.

ok, tried with 8g in the VM instead of 2g, same issue.

Fri, Feb 13, 4:02 PM · PowerPC
adrian added a comment to D55084: powerpc64/busdma: Migrate bounce DMA to common framework.

and from justin on irc

Fri, Feb 13, 4:00 PM · PowerPC
adrian added a comment to D55084: powerpc64/busdma: Migrate bounce DMA to common framework.

This boots fine in qemu-system-ppc64 pseries9 + power9, but in qemu-system-ppc64 pseries-8.0 + power8, it immediately panics on boot with

Fri, Feb 13, 3:29 PM · PowerPC
adrian accepted D55265: acpi_panasonic: Clear wireless RF_KILL on boot and resume.
Fri, Feb 13, 3:34 AM
adrian added inline comments to D55265: acpi_panasonic: Clear wireless RF_KILL on boot and resume.
Fri, Feb 13, 3:34 AM
adrian accepted D54952: asmc: Add MacPro3,1 temperature sensor support.
Fri, Feb 13, 3:32 AM
adrian accepted D54957: ichsmb: Add Intel Raptor Lake SMBus controller support.
Fri, Feb 13, 3:32 AM
adrian committed rG1a6bdd6266e3: asmc: Convert driver to CTLFLAG_MPSAFE (authored by guest-seuros).
asmc: Convert driver to CTLFLAG_MPSAFE
Fri, Feb 13, 3:02 AM
adrian closed D54613: asmc: Convert driver to CTLFLAG_MPSAFE.
Fri, Feb 13, 3:01 AM

Wed, Feb 11

adrian committed rGf064d44badfa: run: rum: migrate to new net80211 encryption key API (authored by adrian).
run: rum: migrate to new net80211 encryption key API
Wed, Feb 11, 6:05 AM
adrian committed rGc08ee1eba989: iwx: migrate to new net80211 encryption key API (authored by adrian).
iwx: migrate to new net80211 encryption key API
Wed, Feb 11, 6:05 AM
adrian committed rG7a5288a023ba: net80211: clean up time comparison in HT code (authored by adrian).
net80211: clean up time comparison in HT code
Wed, Feb 11, 6:05 AM
adrian closed D54463: iwx: migrate to new net80211 encryption key API.
Wed, Feb 11, 6:05 AM · wireless
adrian closed D54462: run: rum: migrate to new net80211 encryption key API.
Wed, Feb 11, 6:05 AM · wireless
adrian closed D54390: net80211: clean up time comparison in HT code.
Wed, Feb 11, 6:05 AM · wireless

Tue, Feb 10

adrian accepted D55236: ip_mroute: Make the routing socket private.
Tue, Feb 10, 11:15 PM

Mon, Feb 9

adrian accepted D54795: net80211: in net80211_vap_printf() also use vprintf().
Mon, Feb 9, 5:07 PM
adrian added a comment to D54795: net80211: in net80211_vap_printf() also use vprintf().

I think it's fine to land as-is. Yes, the vlog vs vprintf discussion should happen soon. :-)

Mon, Feb 9, 5:07 PM

Sun, Feb 8

adrian added a reviewer for D55084: powerpc64/busdma: Migrate bounce DMA to common framework: adrian.
Sun, Feb 8, 7:53 PM · PowerPC
adrian added a comment to D55084: powerpc64/busdma: Migrate bounce DMA to common framework.

oh crap i missed testing this; lemme test this on -HEAD today on the G5 and POWER8.

Sun, Feb 8, 7:50 PM · PowerPC
adrian added a comment to D39626: libpmcstat: Teach pmcstat_image_get_elf_params about debug files.

As mentioned on IRC, I think we should create _PATH_DEBUG_PREFIX or something similar to hide the /usr/lib/debug path.

Sun, Feb 8, 5:54 PM
adrian added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Sun, Feb 8, 5:42 AM · PowerPC
adrian updated the summary of D54936: powerpc64: initial conversion of oea64 to rwlocks.
Sun, Feb 8, 5:41 AM · PowerPC
adrian updated the diff for D54936: powerpc64: initial conversion of oea64 to rwlocks.
  • convert the superpage lock path to use the iterator lock
  • and another function involved as well
Sun, Feb 8, 5:41 AM · PowerPC
adrian added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Sun, Feb 8, 5:10 AM · PowerPC
adrian updated the diff for D54936: powerpc64: initial conversion of oea64 to rwlocks.

delete old code

Sun, Feb 8, 4:05 AM · PowerPC

Sat, Feb 7

adrian added a comment to D54936: powerpc64: initial conversion of oea64 to rwlocks.

updated; i removed the recursive lock as now we shouldn't be recursing.

Sat, Feb 7, 4:41 AM · PowerPC
adrian updated the diff for D54936: powerpc64: initial conversion of oea64 to rwlocks.

update

Sat, Feb 7, 4:39 AM · PowerPC

Fri, Feb 6

adrian added a comment to D54355: stdio: rename short _fileno to _fileno_short for legacy abi compatibility, add new int _fileno in struct __sFILE.

I can see that int _flags2 was added to FILE ten years ago and only one bit has been defined leaving 31 unused bits, precisely what's needed to represent any non-negative file descriptor.
So I'm reworking this to not add a new field but rather continue using short _file for <32768 and the high 31 bits of _flags2 for descriptors >32767 && <0x7fffffff; the size of FILE will not need to change.

Fri, Feb 6, 5:12 PM
adrian added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Fri, Feb 6, 1:50 AM · PowerPC
adrian abandoned D55073: sdt: fix macro to compile on powerpc.

not needed now!

Fri, Feb 6, 1:49 AM · PowerPC

Thu, Feb 5

adrian added a comment to D55126: freebsd-git-arc-devtools: Was freebsd-git-devtools.

I did, I tried searching for 'pkg search git-arc' ;-P

Thu, Feb 5, 4:54 PM
adrian accepted D55095: powerpc64: Fix disappearing low memory on radix MMU systems (POWER9).

looks good, land when you're ready!

Thu, Feb 5, 5:23 AM · PowerPC

Wed, Feb 4

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