Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2019 11:11:53 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Hans Petter Selasky <hps@selasky.org>, Scott Long <scottl@samsco.org>, Nick Wolff <darkfiberiru@gmail.com>
Cc:        "Clay Daniels Jr." <clay.daniels.jr@gmail.com>, "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, lausts@acm.org, freebsd-current@freebsd.org, Jung-uk Kim <jkim@FreeBSD.org>
Subject:   Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133)
Message-ID:  <bc8445c7-453a-3237-c4f6-c4e2b7ca71c9@FreeBSD.org>
In-Reply-To: <98c2c54e-6d77-4cca-78d5-fcffeb65b80c@selasky.org>
References:  <CAGLDxTXSiiuLCoobhQdmNsAivOajLdcs1BmDY2EUWTO7wk5t0A@mail.gmail.com> <201907300011.x6U0BO8w046636@gndrsh.dnsmgr.net> <CAGLDxTVP=bjVtC73waVjP04idgSZU_rw760q%2BPtMc4E5zuV7eg@mail.gmail.com> <CACxAneDCay32KyDg_Rf%2BjKAg261=khnRa__r7EMEZCFNJvecLw@mail.gmail.com> <B19A2E3D-1297-4AFE-884A-C738DA4CDA58@samsco.org> <98c2c54e-6d77-4cca-78d5-fcffeb65b80c@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 13/08/2019 16:31, Hans Petter Selasky wrote:
> 1) AcpiUtAcquireMutex() doesn't support recursion, but also fails to
> report an error when such a condition is occurring. Here is the
> backtrace of the illegal mutex recursion.

I have an old patch that replaces hand-rolled ACPI platform primitives
with thin wrappers around the standard kernel primitives.  It covers
locks and memory allocation.
I don't recall what objections there were when I originally proposed
that change.  I still think that it is a good idea.  The kernel code has
quite a bit more testing and tooling around it than the ACPI-only things.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc8445c7-453a-3237-c4f6-c4e2b7ca71c9>