Bug 278278 - [panic] macio rman_set_mapping: size mismatch
Summary: [panic] macio rman_set_mapping: size mismatch
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: powerpc (show other bugs)
Version: CURRENT
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-ppc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-09 18:54 UTC by ben
Modified: 2024-04-22 08:21 UTC (History)
1 user (show)

See Also:


Attachments
patch (472 bytes, patch)
2024-04-09 18:54 UTC, ben
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ben 2024-04-09 18:54:54 UTC
Created attachment 249859 [details]
patch

macio panics trying to attach a macgpio on my Powermac G5.  The attached patch fixes it for me.
Comment 1 Justin Hibbits freebsd_committer freebsd_triage 2024-04-10 13:31:39 UTC
Thanks for the report.  The patch looks correct, so I'll plan to commit it tonight.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-04-11 02:09:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=f03a2e7b59d98629bc9a81882ce7ca534bd4f224

commit f03a2e7b59d98629bc9a81882ce7ca534bd4f224
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2024-04-11 01:42:31 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2024-04-11 02:05:38 +0000

    macio: Set resource map size

    PR:             278278
    Fixes:          af081ec6f7cf ("powerpc: powermac: Use bus_generic_rman_*")

 sys/powerpc/powermac/macio.c | 1 +
 1 file changed, 1 insertion(+)