Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622878
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/3] powernv:idle: Use correct IDLE_THREAD_BITS in POWER8/9 |
| Date | 2017-04-13 12:10 +0200 |
| Message-ID | <tvJRo-1sn-13@gated-at.bofh.it> (permalink) |
| References | <tvoWB-3Wi-5@gated-at.bofh.it> <tvoWB-3Wi-3@gated-at.bofh.it> <tvGAa-7ok-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Michael Neuling <mikey@neuling.org> writes: > On Wed, 2017-04-12 at 17:16 +0530, Gautham R. Shenoy wrote: >> From: "Gautham R. Shenoy" <ego@linux.vnet.ibm.com> >> >> This patch ensures that POWER8 and POWER9 processors use the correct >> value of IDLE_THREAD_BITS as POWER8 has 8 threads per core and hence >> the IDLE_THREAD_BITS should be 0xFF while POWER9 has only 4 threads >> per core and hence the IDLE_THREAD_BITS should be 0xF. > > Why don't we derive this from the device tree rather than hard wiring it per cpu > type? Right. In fact we already have threads_per_core which is exactly that. cheers
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/3] powernv:idle: Use correct IDLE_THREAD_BITS in POWER8/9 "Gautham R. Shenoy" <ego@linux.vnet.ibm.com> - 2017-04-12 13:50 +0200
Re: [PATCH 1/3] powernv:idle: Use correct IDLE_THREAD_BITS in POWER8/9 Michael Neuling <mikey@neuling.org> - 2017-04-13 08:40 +0200
Re: [PATCH 1/3] powernv:idle: Use correct IDLE_THREAD_BITS in POWER8/9 Michael Ellerman <mpe@ellerman.id.au> - 2017-04-13 12:10 +0200
Re: [PATCH 1/3] powernv:idle: Use correct IDLE_THREAD_BITS in POWER8/9 Gautham R Shenoy <ego@linux.vnet.ibm.com> - 2017-04-13 13:40 +0200
csiph-web