<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/acpica, branch release/5.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2003-12-29T15:48:16Z</updated>
<entry>
<title>MFC: Fix acpi_MatchHid() to check compatability IDs.</title>
<updated>2003-12-29T15:48:16Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-12-29T15:48:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a4f660fe503cf2ae28a9535324b385d6f1976de1'/>
<id>urn:sha1:a4f660fe503cf2ae28a9535324b385d6f1976de1</id>
<content type='text'>
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>MFC:  Add support for _CID package types and use dynamic storage for</title>
<updated>2003-12-19T00:03:02Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-12-19T00:03:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3499ec30a3b2432413fe8f4de82221365707f1b3'/>
<id>urn:sha1:3499ec30a3b2432413fe8f4de82221365707f1b3</id>
<content type='text'>
all of our devinfo structs.

Revisions:	acpi.c:1.110; acpi_pcib.c:1.35,1.36; acpi_pci_link.c:1.11

Approved by:	re (scottl, in a new record time)
</content>
</entry>
<entry>
<title>Update this driver to be more module friendly:</title>
<updated>2003-12-03T20:27:48Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-12-03T20:27:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=447a5fa113c4319c75c97051f92623ad23cbad70'/>
<id>urn:sha1:447a5fa113c4319c75c97051f92623ad23cbad70</id>
<content type='text'>
- Dynamically allocate the cpu_softc[] array based on mp_maxid instead of
  using a statically sized array that depended on 'options SMP'.
- Use mp_maxid rather than MAXCPU when walking all the CPUs looking for a
  match.
- Always call smp_rendezvous() since UP kernels now provide this.
- Use mp_ncpus rather than cpu_ndevices when determining if we need to
  disable C3 for SMP machines.

Approved by:	re (rwatson)
Reviewed by:	njl
</content>
</entry>
<entry>
<title>* If a processor's softc is NULL, use C1 since there is no ACPI</title>
<updated>2003-11-27T16:32:46Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-11-27T16:32:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cd1f3db9bad9b4b6eddd4734939230f3f8a0a8a3'/>
<id>urn:sha1:cd1f3db9bad9b4b6eddd4734939230f3f8a0a8a3</id>
<content type='text'>
  processor object for this CPU.  This occurs for logical CPUs which
  do not have an associated processor object (e.g., HTT).

Approved by:	re (rwatson)
</content>
</entry>
<entry>
<title>* Add acpi_pcpu_get_id(idx, *acpi_id, *cpu_id) which fetches the</title>
<updated>2003-11-26T19:01:33Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-11-26T19:01:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b6426963c4fd8d9847362c2b8cc7746dc36daa74'/>
<id>urn:sha1:b6426963c4fd8d9847362c2b8cc7746dc36daa74</id>
<content type='text'>
  idx'th present CPU with pc_acpi_id equal to *acpi_id.  If *acpi_id
  does not match that processor's pc_acpi_id, return the value for
  ProcId derived from the MADT in *acpi_id.  If pc_acpi_id is 0xffffffff,
  always override it with the value of *acpi_id.  Finally, return
  pc_cpuid in *cpu_id and use that as our primary key.

* Use pc_cpuid as our unique key because we know it is valid since
  MD code set it.  The values for ProcId in the ASL and MADT don't
  match up on some machines (!), forcing us to fall back to ordered
  probing in that case.

* Remove some #ifdef SMP since the refcount doesn't hurt performance
  and will be needed for dynamic _CST objects.  Only one #ifdef SMP
  (for smp_rendezvous) remains.

* Hook up SMP in the compile flags in the Makefile.

Tested by:	marcel, truckman
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Fix a typo in my patches to support extended IRQ resources that broke the</title>
<updated>2003-11-20T22:21:51Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-11-20T22:21:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3500189b0ea72c83bde7c35b0a39a8c9688dc8d6'/>
<id>urn:sha1:3500189b0ea72c83bde7c35b0a39a8c9688dc8d6</id>
<content type='text'>
type checking for _PRS for a link device's interrupt resources.

Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Try all of the possible interrupts for a link device when programming</title>
<updated>2003-11-20T21:23:49Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-11-20T21:23:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d784bc82f2720525889cc209ece2ca908d6a7515'/>
<id>urn:sha1:d784bc82f2720525889cc209ece2ca908d6a7515</id>
<content type='text'>
boot-disabled devices instead of skipping the last interrupt.  This is
especially important for devices that only have one interrupt as this
bug was keeping any interrupt from being tried at all.

Reviewed by:	msmith
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>* Add a DEVMETHOD for acpi so that child detach methods get called.  Add</title>
<updated>2003-11-19T20:27:06Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-11-19T20:27:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=56a70eadf5d248c14ffb807ddb799f1dadb32df4'/>
<id>urn:sha1:56a70eadf5d248c14ffb807ddb799f1dadb32df4</id>
<content type='text'>
  an acpi_cpu method for shutdown that disables entry to acpi_cpu_idle
  and then IPIs/waits for threads to exit.  This fixes a panic late in
  reboot in the SMP case.

* In the !SMP case, don't use the processor id filled out by the MADT
  since there can only be one processor.  This was causing a panic in
  acpi_cpu_idle if the id was 1 since the data was being dereferenced from
  cpu_softc[1] even though the actual data was in cpu_softc[0] (which is
  correct).

* Rework the initialization functions so that cpu_idle_hook is written
  late in the boot process.

* Make the P_BLK, P_BLK_LEN, and cpu_cx_count all softc-local variables.
  This will help SMP boxes that have _CST or multiple P_BLKs.  No such
  boxes are known at this time.

* Always allocate the C1 state, even if the P_BLK is invalid.  This means
  we will always take over idling if enabled.  Remove the value -1 as
  valid for cx_lowest since this is redundant with machdep.cpu_idle_hlt.

* Reduce locking for the throttle initialization case to around the write
  to the smi_cmd port.  Add disabled code to write the CST_CNT.  It will
  be enabled once _CST re-evaluation is tested (post 5.2R).

Thank you:	dfr, imp, jhb, marcel, peter
Tested by:	rwatson, Harald Schmalzbauer &lt;h@schmalzbauer.de&gt;
Approved by:	re (rwatson)
</content>
</entry>
<entry>
<title>Implement Cx CPU idle states and updated throttling support.</title>
<updated>2003-11-15T19:26:06Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-11-15T19:26:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6b74f9b7f582575de3d4d295bb38045a519c3932'/>
<id>urn:sha1:6b74f9b7f582575de3d4d295bb38045a519c3932</id>
<content type='text'>
* Use the cpu_idle_hook() to do idling for C1-C3.
* Use both _CST and the FADT to detect Cx states.
* Use both _PTC and P_CNT for controlling throttling.
* Add a notify handler to detect changes in _CST and _PSS
* Call the _INI function for each processor if present.  This will be
  done by ACPI-CA in the future.
* Fix a bug on SMP systems where CPUs will attach multiple times if the
  bus is rescan.
* Document new sysctls for controlling idling.
</content>
</entry>
<entry>
<title>Add acpi_package.c with routines for validating packages and pulling</title>
<updated>2003-11-15T19:20:46Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-11-15T19:20:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b5049ddbf0b21b70861d53e349d3aec51c702c36'/>
<id>urn:sha1:b5049ddbf0b21b70861d53e349d3aec51c702c36</id>
<content type='text'>
various data types from them.  This is loosely based on the acpi_cmbat
macros (by Mike Smith) and will eventually replace them.
</content>
</entry>
</feed>
