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: 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: 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: 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: 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

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

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

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
2012 (r236772) @@ -0,0 +1,434 @@ +/*- + * Copyright (c) 2001 Takanori Watanabe takaw...@jp.freebsd.org + * Copyright (c) 2001-2012 Mitsuru IWASAKI iwas...@jp.freebsd.org + * Copyright (c) 2003 Peter Wemm + * Copyright (c) 2008-2012 Jung-uk Kim j...@freebsd.org + * All rights reserved

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

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

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 AcpiSetFirmwareWakingVector() is

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

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

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:

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:

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

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 takaw...@jp.freebsd.org - * Copyright (c) 2001 Mitsuru IWASAKI iwas...@jp.freebsd.org + * Copyright (c) 2001-2012 Mitsuru IWASAKI iwas...@jp.freebsd.org + * Copyright (c) 2003 Peter Wemm + * Copyright (c) 2008-2012 Jung-uk Kim j...@freebsd.org * All

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:

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