History log of /netbsd/sys/dev/acpi/acpica/OsdSchedule.c (Results 1 – 20 of 20)
Revision Date Author Comments
# 77c274b4 31-Dec-2021 riastradh <riastradh@NetBSD.org>

acpi(9): Implement AcpiOsWaitEventsComplete.


# 3ccf3dc6 12-Nov-2017 christos <christos@NetBSD.org>

Provide a primitive incrementing counter if we are call since the new
Acpi dispatcher requires us to have one when we are cold (shudder).


# 94e0d463 09-Jan-2016 christos <christos@NetBSD.org>

merge new acpica


# cd45fe88 27-Dec-2013 christos <christos@NetBSD.org>

Add new functions


# 494064fa 17-Feb-2011 jmcneill <jmcneill@NetBSD.org>

cast curlwp to uintptr_t before casting to ACPI_THREAD_ID, fixes i386 build


# 7b26e5d9 05-Jun-2010 jruoho <jruoho@NetBSD.org>

Remove also the debug-printf in case of long Stall() requests;

/*
* sleep(9) isn't safe because AcpiOsStall may be called
* with interrupt-disabled. (eg. by AcpiEnterSleepState)
* we shoul

Remove also the debug-printf in case of long Stall() requests;

/*
* sleep(9) isn't safe because AcpiOsStall may be called
* with interrupt-disabled. (eg. by AcpiEnterSleepState)
* we should watch out for long stall requests.
*/

ACPICA has long printed a similar warning by itself. Moreover, this message
was never reached as the interpreter does not invoke AcpiOsStall() when a
delay longer than 255 usec is requested.

show more ...


# 3aca70d9 05-Jun-2010 jruoho <jruoho@NetBSD.org>

Remove the recently added warning about long Sleep() requests.

This is now in ACPICA (20100528):

Added support to limit the maximum time for the ASL Sleep()
operator. To prevent accidental deep s

Remove the recently added warning about long Sleep() requests.

This is now in ACPICA (20100528):

Added support to limit the maximum time for the ASL Sleep()
operator. To prevent accidental deep sleeps, limit the maximum time
that Sleep() will actually sleep. Configurable, the default maximum
is two seconds. ACPICA bugzilla 854.

show more ...


# 2731b5ff 12-May-2010 jruoho <jruoho@NetBSD.org>

Print a warning if AcpiOsSleep() is called with a value larger than two
seconds. It is known that there are systems in the field that pass bogus AML
values to the Sleep() operation code, possibly req

Print a warning if AcpiOsSleep() is called with a value larger than two
seconds. It is known that there are systems in the field that pass bogus AML
values to the Sleep() operation code, possibly requesting delays that could
be measured in days.

Discussed with jmcneill@.

XXX: While the used mstohz(9) is documented to round to one second if the
passed value is larger than 131072 ms, we may still need to force a
sensible upper limit if this warning starts to appear.

show more ...


# ec32b602 23-Aug-2009 jmcneill <jmcneill@NetBSD.org>

When ACPI is not present, free any resources used by the ACPICA. Also,
no need to complain (unless we're debugging) that ACPI is not present.


# b0fb7abf 18-Aug-2009 jmcneill <jmcneill@NetBSD.org>

Switch to ACPICA 20090730, and update for API changes.


# 0785c6f1 31-Mar-2009 drochner <drochner@NetBSD.org>

avoid tsleep also during shutdown (and in particular ACPI poweroff),
should fix PR kern/39141 by Takahiro Kambe and PR port-i386/41110
by Reinoud Zandijk


# 0cc9fff2 30-Jan-2009 jmcneill <jmcneill@NetBSD.org>

PR# kern/38817: regression in acpi sleep on lifebook S6510

Switch to polling mode after the acpi(4) device has been suspended as
interrupts will be disabled later on and we may still need to execute

PR# kern/38817: regression in acpi sleep on lifebook S6510

Switch to polling mode after the acpi(4) device has been suspended as
interrupts will be disabled later on and we may still need to execute
AML that tries to sleep or wait on a semaphore.

show more ...


# 9f877bc7 31-May-2008 jmcneill <jmcneill@NetBSD.org>

Don't use cv_timedwait_sig if (cold)


# dd8d5fe8 24-Apr-2008 jmcneill <jmcneill@NetBSD.org>

Define ACPI_THREAD_ID as uintptr_t, and return curlwp instead of
curlwp->l_lid from AcpiOsGetThreadId(), as suggested by ad@


# fd495c5c 22-Apr-2008 jmcneill <jmcneill@NetBSD.org>

AcpiOsGetThreadId should return lwpid, not pid -- otherwise we always return
the same value! Fixes the AE_AML_MUTEX_NOT_ACQUIRED issue when evaluating
_BST on ASUS Eee PC. Who knows what other myster

AcpiOsGetThreadId should return lwpid, not pid -- otherwise we always return
the same value! Fixes the AE_AML_MUTEX_NOT_ACQUIRED issue when evaluating
_BST on ASUS Eee PC. Who knows what other mysterious bugs this has caused
over the years...

show more ...


# ef892278 21-Dec-2007 jmcneill <jmcneill@NetBSD.org>

Convert AcpiOsSleep from using tsleep to cv_timedwait_sig


# dd0320ef 17-Dec-2007 jmcneill <jmcneill@NetBSD.org>

Fix comment before AcpiOsGetTimer, no functional change.


# 9b2b412c 15-Dec-2007 perry <perry@NetBSD.org>

__FUNCTION__ -> __func__


# 4c1d81b2 09-Dec-2007 jmcneill <jmcneill@NetBSD.org>

Merge jmcneill-pm branch.


# cf31c67b 23-Mar-2006 kochi <kochi@NetBSD.org>

Move from sys/dev/acpi/acpica/Osd.