svn commit: r267711 - head/share/man/man4

2014-06-21 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sun Jun 22 02:48:27 2014 New Revision: 267711 URL: http://svnweb.freebsd.org/changeset/base/267711 Log: Add note on SYSCTL VARIABLES. Modified: head/share/man/man4/acpi.4 Modified: head/share/man/man4/acpi.4 ==

svn commit: r237603 - stable/9/share/man/man4

2012-06-26 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue Jun 26 15:30:35 2012 New Revision: 237603 URL: http://svn.freebsd.org/changeset/base/237603 Log: MFC 237494: - Add description about dev.acpi_ibm.0.handlerevents. Modified: stable/9/share/man/man4/acpi_ibm.4 Directory Properties: stable/9/share/ (props chang

svn commit: r237602 - stable/9/sys/dev/acpi_support

2012-06-26 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue Jun 26 15:29:38 2012 New Revision: 237602 URL: http://svn.freebsd.org/changeset/base/237602 Log: MFC 237493: - Add in-driver event handler. Modified: stable/9/sys/dev/acpi_support/acpi_ibm.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/

svn commit: r237494 - head/share/man/man4

2012-06-23 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sat Jun 23 18:45:32 2012 New Revision: 237494 URL: http://svn.freebsd.org/changeset/base/237494 Log: Add description about dev.acpi_ibm.0.handlerevents. MFC after:3 days Modified: head/share/man/man4/acpi_ibm.4 Modified: head/share/man/man4/acpi_ibm.4 =

svn commit: r237493 - head/sys/dev/acpi_support

2012-06-23 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sat Jun 23 18:43:54 2012 New Revision: 237493 URL: http://svn.freebsd.org/changeset/base/237493 Log: Add in-driver event handler. MFC after:3 days Modified: head/sys/dev/acpi_support/acpi_ibm.c Modified: head/sys/dev/acpi_support/acpi_ibm.c

svn commit: r237405 - stable/9/sys/dev/acpica

2012-06-21 Thread Mitsuru IWASAKI
Author: iwasaki Date: Thu Jun 21 16:48:56 2012 New Revision: 237405 URL: http://svn.freebsd.org/changeset/base/237405 Log: MFC r237197: - Resotre LCD brightness level on resuming. Modified: stable/9/sys/dev/acpica/acpi_video.c Directory Properties: stable/9/sys/ (props changed) sta

svn commit: r237197 - head/sys/dev/acpica

2012-06-17 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sun Jun 17 16:19:09 2012 New Revision: 237197 URL: http://svn.freebsd.org/changeset/base/237197 Log: Resotre LCD brightness level on resuming. MFC after:3 days Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c ===

svn commit: r236938 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include x86/acpica

2012-06-11 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue Jun 12 00:14:54 2012 New Revision: 236938 URL: http://svn.freebsd.org/changeset/base/236938 Log: Share IPI init and startup code of mp_machdep.c with acpi_wakeup.c as ipi_startup(). Modified: head/sys/amd64/amd64/mp_machdep.c head/sys/amd64/include/smp.h head/s

svn commit: r236906 - head/sys/kern

2012-06-11 Thread Mitsuru IWASAKI
Author: iwasaki Date: Mon Jun 11 18:47:26 2012 New Revision: 236906 URL: http://svn.freebsd.org/changeset/base/236906 Log: Another fixe for r236772. - Adjust correct cpuset (stopped_cpus/suspended_cpus) for cpu_spinwait() in generic_stop_cpus(). Modified: head/sys/kern/subr_smp.c Mo

svn commit: r236830 - in head/sys: amd64/amd64 conf i386/i386

2012-06-09 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sun Jun 10 02:38:51 2012 New Revision: 236830 URL: http://svn.freebsd.org/changeset/base/236830 Log: Some fixes for r236772. - Remove cpuset stopped_cpus which is no longer used. - Add a short comment for cpuset suspended_cpus clearing. - Fix the un-ordered x86/acp

svn commit: r236772 - in head/sys: amd64/acpica amd64/amd64 amd64/include conf dev/acpica i386/acpica i386/i386 i386/include kern sys x86/acpica

2012-06-08 Thread Mitsuru IWASAKI
- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/x86/acpica/acpi_wakeup.c Sat Jun 9 00:37:26 2012 (r236772) @@ -0,0 +1,434 @@ +/*- + * Copyright (c) 2001 Takanori Watanabe + * Copyright (c) 2001-2012 Mitsuru IWASAKI + * Copyright (c) 2003 Peter Wemm + * Co

Re: svn commit: r236414 - in head/sys: amd64/acpica i386/acpica

2012-06-01 Thread Mitsuru IWASAKI
> > Regarding to ACPICA source code, they said nothing about this so I > > think it's not big deal. > > > > Just FYI, AcpiSetFirmwareWakingVector(0) was called with interrupt > > enabled in Linux. > > This function does not care about interrupt context. However, the > first AcpiSetFirmwareWakin

Re: svn commit: r236414 - in head/sys: amd64/acpica i386/acpica

2012-06-01 Thread Mitsuru IWASAKI
Hi, thanks for following up. > Log: > Call AcpiSetFirmwareWakingVector() with interrupt disabled for consistency. Are you sure about this? Original code is like this (interrupt ENABLED); intr_restore(rf); AcpiSetFirmwareWakingVector(0); if (ret == 0 && mem_rang

svn commit: r236403 - in head/sys: amd64/acpica dev/acpica i386/acpica ia64/acpica

2012-06-01 Thread Mitsuru IWASAKI
Author: iwasaki Date: Fri Jun 1 15:26:32 2012 New Revision: 236403 URL: http://svn.freebsd.org/changeset/base/236403 Log: Call AcpiLeaveSleepStatePrep() in interrupt disabled context (described in ACPICA source code). - Move intr_disable() and intr_restore() from acpi_wakeup.c to acpi.c

svn commit: r236396 - stable/8/sys/dev/acpica

2012-06-01 Thread Mitsuru IWASAKI
Author: iwasaki Date: Fri Jun 1 13:21:32 2012 New Revision: 236396 URL: http://svn.freebsd.org/changeset/base/236396 Log: MFC r235692,235772,236220,236221: - Don't start the sleep state transition procedure while sleep is disabled or the system is in shutdown procedure. - Ignore the pow

svn commit: r236395 - stable/9/sys/dev/acpica

2012-06-01 Thread Mitsuru IWASAKI
Author: iwasaki Date: Fri Jun 1 12:47:13 2012 New Revision: 236395 URL: http://svn.freebsd.org/changeset/base/236395 Log: MFC r236220,236221: - Fix the problem acpi_sleep_force() hang. - Reorder resume procedures to avoid hang during AcpiLeaveSleepState() execution. Modified: stable/

svn commit: r236221 - head/sys/dev/acpica

2012-05-28 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue May 29 05:28:34 2012 New Revision: 236221 URL: http://svn.freebsd.org/changeset/base/236221 Log: Reorder resume procedures. DEVICE_RESUME() should be done before AcpiLeaveSleepState() because PCI config space evaluation can be occurred during control method exe

svn commit: r236220 - head/sys/dev/acpica

2012-05-28 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue May 29 05:09:40 2012 New Revision: 236220 URL: http://svn.freebsd.org/changeset/base/236220 Log: Fix the problem acpi_sleep_force() hang. Suspending from callout cause the freeze in DEVICE_SUSPEND(). Suspend from acpi_task thread in stead. MFC after:3 da

svn commit: r235835 - stable/9/sys/dev/acpica

2012-05-23 Thread Mitsuru IWASAKI
Author: iwasaki Date: Wed May 23 14:44:57 2012 New Revision: 235835 URL: http://svn.freebsd.org/changeset/base/235835 Log: MFC 235692,235772: - Don't start the sleep state transition procedure while sleep is disabled or the system is in shutdown procedure. - Ignore the power button press

svn commit: r235796 - in stable/9/sys: i386/acpica i386/i386 i386/include kern pc98/pc98 sys

2012-05-22 Thread Mitsuru IWASAKI
Mitsuru IWASAKI + * Copyright (c) 2001-2012 Mitsuru IWASAKI + * Copyright (c) 2003 Peter Wemm + * Copyright (c) 2008-2012 Jung-uk Kim * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -28,7 +30,9 @@ */ #include +#include #include

svn commit: r235772 - head/sys/dev/acpica

2012-05-21 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue May 22 05:18:30 2012 New Revision: 235772 URL: http://svn.freebsd.org/changeset/base/235772 Log: Ignore the power button press event for resuming rather than starting shutdown. MFC after:2 days Modified: head/sys/dev/acpica/acpi.c Modified: head/sys/dev/a

svn commit: r235692 - head/sys/dev/acpica

2012-05-20 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sun May 20 16:36:54 2012 New Revision: 235692 URL: http://svn.freebsd.org/changeset/base/235692 Log: Don't start the sleep state transition procedure while sleep is disabled or the system is in shutdown procedure. This should fix the problem which kernel never respon

svn commit: r235683 - in head/sys/i386: i386 include

2012-05-20 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sun May 20 08:17:20 2012 New Revision: 235683 URL: http://svn.freebsd.org/changeset/base/235683 Log: Remove cpususpend IDT vector for XEN. This broke XEN kernel building. Modified: head/sys/i386/i386/apic_vector.s head/sys/i386/include/smp.h Modified: head/sys/i386/

svn commit: r235639 - head/sys/i386/acpica

2012-05-18 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sat May 19 02:31:38 2012 New Revision: 235639 URL: http://svn.freebsd.org/changeset/base/235639 Log: Revert the previous commit on wakecode address verbose printing. This broke PAE kernel building. Modified: head/sys/i386/acpica/acpi_wakeup.c Modified: head/sys/i386/a

svn commit: r235622 - in head/sys: i386/acpica i386/i386 i386/include kern pc98/pc98 sys

2012-05-18 Thread Mitsuru IWASAKI
@@ /*- * Copyright (c) 2001 Takanori Watanabe - * Copyright (c) 2001 Mitsuru IWASAKI + * Copyright (c) 2001-2012 Mitsuru IWASAKI + * Copyright (c) 2003 Peter Wemm + * Copyright (c) 2008-2012 Jung-uk Kim * All rights reserved. * * Redistribution and use in source and binary forms, with or

svn commit: r233078 - stable/8/sys/dev/iwi

2012-03-16 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sat Mar 17 06:49:53 2012 New Revision: 233078 URL: http://svn.freebsd.org/changeset/base/233078 Log: MFC r232785 Fix wrong asresp frame parsing in iwi_checkforqos(). Modified: stable/8/sys/dev/iwi/if_iwi.c Modified: stable/8/sys/dev/iwi/if_iwi.c ===

svn commit: r233077 - stable/9/sys/dev/iwi

2012-03-16 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sat Mar 17 06:48:13 2012 New Revision: 233077 URL: http://svn.freebsd.org/changeset/base/233077 Log: MFC r232785 Fix wrong asresp frame parsing in iwi_checkforqos(). Modified: stable/9/sys/dev/iwi/if_iwi.c Modified: stable/9/sys/dev/iwi/if_iwi.c ===

svn commit: r232785 - head/sys/dev/iwi

2012-03-10 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sat Mar 10 17:08:57 2012 New Revision: 232785 URL: http://svn.freebsd.org/changeset/base/232785 Log: Fix wrong asresp frame parsing in iwi_checkforqos(). After 8.0-RELEASE, iwi(4) doesn't send any data frames in infrastructure mode. Bacause of the condition `whi

svn commit: r202456 - stable/7/sys/dev/acpi_support

2010-01-16 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sun Jan 17 06:24:24 2010 New Revision: 202456 URL: http://svn.freebsd.org/changeset/base/202456 Log: MFC r201605: Update acpi_ibm syctl nodes on resume. Modified: stable/7/sys/dev/acpi_support/acpi_ibm.c Modified: stable/7/sys/dev/acpi_support/acpi_ibm.c ===

svn commit: r202455 - stable/8/sys/dev/acpi_support

2010-01-16 Thread Mitsuru IWASAKI
Author: iwasaki Date: Sun Jan 17 06:24:09 2010 New Revision: 202455 URL: http://svn.freebsd.org/changeset/base/202455 Log: MFC r201605: Update acpi_ibm syctl nodes on resume. Modified: stable/8/sys/dev/acpi_support/acpi_ibm.c Modified: stable/8/sys/dev/acpi_support/acpi_ibm.c ===

svn commit: r201605 - head/sys/dev/acpi_support

2010-01-05 Thread Mitsuru IWASAKI
Author: iwasaki Date: Tue Jan 5 20:29:30 2010 New Revision: 201605 URL: http://svn.freebsd.org/changeset/base/201605 Log: Update acpi_ibm syctl nodes on resume. This should fix some Thinkpad specific problems such as connecting to a headphone jack is not functional on X41. Reviewed