<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ofw/ofw_cpu.c, branch release/12.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>ofw_cpu: Add support for getting cpu clock via clock property</title>
<updated>2018-07-31T20:50:50+00:00</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2018-07-31T20:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bc9ba24ffc5b1a8dd4cc9db2781e4745853b6da3'/>
<id>bc9ba24ffc5b1a8dd4cc9db2781e4745853b6da3</id>
<content type='text'>
Nominal Mhz is either expressed via the clock-frequency property
or can be get via the clock property that holds the cpu clock.
Add support for the later.

Reviewed by:	nwhitehorn
Differential Revision:	https://reviews.freebsd.org/D16346
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Nominal Mhz is either expressed via the clock-frequency property
or can be get via the clock property that holds the cpu clock.
Add support for the later.

Reviewed by:	nwhitehorn
Differential Revision:	https://reviews.freebsd.org/D16346
</pre>
</div>
</content>
</entry>
<entry>
<title>Attach dev.cpu nodes on powerpc SMT cores, using only the first found thread</title>
<updated>2018-06-20T13:30:35+00:00</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2018-06-20T13:30:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d23d5d73e88f8d9150bb259bef25dd9179f4e18b'/>
<id>d23d5d73e88f8d9150bb259bef25dd9179f4e18b</id>
<content type='text'>
Summary: In order to use cpufreq(4), a dev.cpu attachment must be created.  If
the IBM property is found denoting SMT, attach only to the first thread setup,
so that a cpufreq device can bind.

Reviewed by:	nwhitehorn
Differential Revision: https://reviews.freebsd.org/D15921
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: In order to use cpufreq(4), a dev.cpu attachment must be created.  If
the IBM property is found denoting SMT, attach only to the first thread setup,
so that a cpufreq device can bind.

Reviewed by:	nwhitehorn
Differential Revision: https://reviews.freebsd.org/D15921
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not bind to CPUs with SMT, which use a different CPU numbering convention</title>
<updated>2017-11-25T21:46:51+00:00</updated>
<author>
<name>Nathan Whitehorn</name>
<email>nwhitehorn@FreeBSD.org</email>
</author>
<published>2017-11-25T21:46:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=763864aa95c744b7fa4fd25e9231fb47c83205b1'/>
<id>763864aa95c744b7fa4fd25e9231fb47c83205b1</id>
<content type='text'>
that does not play well with this driver.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that does not play well with this driver.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Update comment ot reflect realilty, we know also take care of CPUs that</title>
<updated>2017-04-20T15:06:16+00:00</updated>
<author>
<name>Olivier Houchard</name>
<email>cognet@FreeBSD.org</email>
</author>
<published>2017-04-20T15:06:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5d840968f84c3ff9d546e7316e25f16b4ea3fbfe'/>
<id>5d840968f84c3ff9d546e7316e25f16b4ea3fbfe</id>
<content type='text'>
provide a enable-method.

Suggested by:	jhibbits
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
provide a enable-method.

Suggested by:	jhibbits
</pre>
</div>
</content>
</entry>
<entry>
<title>ePAPR states that any non-boot CPU will come in "disabled" state. So we should</title>
<updated>2017-04-20T13:56:06+00:00</updated>
<author>
<name>Olivier Houchard</name>
<email>cognet@FreeBSD.org</email>
</author>
<published>2017-04-20T13:56:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=21ce594e7aa396a9befb6f0a2b25aab263023011'/>
<id>21ce594e7aa396a9befb6f0a2b25aab263023011</id>
<content type='text'>
not consider a "disabled" cpu as a CPU we have to ignore, and we should use
them if they provide a "enable-method".
While I'm there, support "ok" as well as "okay", while ePAPR only accepts
"okay", linux accepts "ok" too so we can expect it to be used.

Reviewed by:	andrew (partially)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
not consider a "disabled" cpu as a CPU we have to ignore, and we should use
them if they provide a "enable-method".
While I'm there, support "ok" as well as "okay", while ePAPR only accepts
"okay", linux accepts "ok" too so we can expect it to be used.

Reviewed by:	andrew (partially)
</pre>
</div>
</content>
</entry>
<entry>
<title>Limit ofw_cpu_early_foreach() to CPUs only</title>
<updated>2015-07-28T13:16:08+00:00</updated>
<author>
<name>Zbigniew Bodek</name>
<email>zbb@FreeBSD.org</email>
</author>
<published>2015-07-28T13:16:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8b21d6ae5a8a943660ec0ec9167ff9dab7b3736c'/>
<id>8b21d6ae5a8a943660ec0ec9167ff9dab7b3736c</id>
<content type='text'>
On some platforms, the /cpus node contains cpu-to-cluster
map which deffinitely is not a CPU node. Its presence was
causing incrementing of "id" variable and reporting more
CPUs available than it should.
To make "id" valid, increment it only when an entry really
is a CPU device.

Reviewed by:   andrew
Obtained from: Semihalf
Sponsored by:  The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3216
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On some platforms, the /cpus node contains cpu-to-cluster
map which deffinitely is not a CPU node. Its presence was
causing incrementing of "id" variable and reporting more
CPUs available than it should.
To make "id" valid, increment it only when an entry really
is a CPU device.

Reviewed by:   andrew
Obtained from: Semihalf
Sponsored by:  The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3216
</pre>
</div>
</content>
</entry>
<entry>
<title>Adda function to iterate over the cpu nodes in the OFW or FDT data. This</title>
<updated>2015-02-19T16:34:48+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2015-02-19T16:34:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=16a1c0a829729f9a4b0049562a547ff17e9a2f31'/>
<id>16a1c0a829729f9a4b0049562a547ff17e9a2f31</id>
<content type='text'>
will be used with arm64 to find which cpus to enable, and could also be
used with 32-bit arm and mips for the same purpose.

Differential Revision:	https://reviews.freebsd.org/D1825
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
will be used with arm64 to find which cpus to enable, and could also be
used with 32-bit arm and mips for the same purpose.

Differential Revision:	https://reviews.freebsd.org/D1825
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support to get the cpu ID from its device driver in a generic way.</title>
<updated>2015-02-19T12:47:48+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2015-02-19T12:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=deb77283797f91626ef3091e0fd71a1aaf36ee29'/>
<id>deb77283797f91626ef3091e0fd71a1aaf36ee29</id>
<content type='text'>
This will be needed by arm64 to find the value to pass to the psci (Power
State Coordination Interface) driver, among other things, used to enable
cores.

Differential Revision:	https://reviews.freebsd.org/D1824
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will be needed by arm64 to find the value to pass to the psci (Power
State Coordination Interface) driver, among other things, used to enable
cores.

Differential Revision:	https://reviews.freebsd.org/D1824
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>Update the parsing of the cpu node. We are unable to use the reg property</title>
<updated>2015-01-21T16:52:24+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2015-01-21T16:52:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5b86b0eabac8645621a7cc56aabb718b0d02845e'/>
<id>5b86b0eabac8645621a7cc56aabb718b0d02845e</id>
<content type='text'>
as the cpu id on arm64 as it may use two cells. In it's place we can use
the device id.

It is expected we will use the reg data on arm64 to enable cores so we
still need to read and store it even if it is not yet used.

Differential Revision:	https://reviews.freebsd.org/D1555
Reviewed by:	nwhitehorn
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as the cpu id on arm64 as it may use two cells. In it's place we can use
the device id.

It is expected we will use the reg data on arm64 to enable cores so we
still need to read and store it even if it is not yet used.

Differential Revision:	https://reviews.freebsd.org/D1555
Reviewed by:	nwhitehorn
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the clock-frequency property optional as it may not be present on FDT</title>
<updated>2015-01-19T11:06:56+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2015-01-19T11:06:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=09eb425a04adf663823864a3960d0753a5a10a45'/>
<id>09eb425a04adf663823864a3960d0753a5a10a45</id>
<content type='text'>
systems.

Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
systems.

Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
</feed>
