Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1643079 > unrolled thread
| Started by | Stewart Smith <stewart@linux.vnet.ibm.com> |
|---|---|
| First post | 2017-05-17 10:00 +0200 |
| Last post | 2017-05-17 10:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v8 07/10] powerpc/perf: PMU functions for Core IMC and hotplugging Stewart Smith <stewart@linux.vnet.ibm.com> - 2017-05-17 10:00 +0200
| From | Stewart Smith <stewart@linux.vnet.ibm.com> |
|---|---|
| Date | 2017-05-17 10:00 +0200 |
| Subject | Re: [PATCH v8 07/10] powerpc/perf: PMU functions for Core IMC and hotplugging |
| Message-ID | <tI22e-fo-7@gated-at.bofh.it> |
Anju T Sudhakar <anju@linux.vnet.ibm.com> writes: > --- a/arch/powerpc/include/asm/imc-pmu.h > +++ b/arch/powerpc/include/asm/imc-pmu.h > @@ -24,6 +24,7 @@ > */ > #define IMC_MAX_CHIPS 32 > #define IMC_MAX_PMUS 32 > +#define IMC_MAX_CORES 32 > > /* > * This macro is used for memory buffer allocation of > @@ -38,6 +39,11 @@ > #define IMC_NEST_MAX_PAGES 64 > > /* > + * IMC Core engine expects 8K bytes of memory for counter collection. > + */ > +#define IMC_CORE_COUNTER_MEM 8192 Any reason for this not to be in the device tree? This is the size of memory that Linux needs to give OPAL, so the size of that should probably come from OPAL rather than Linux. Otherwise, if in the future, we had a counter with an offset greater than 8192 in, we'd have no way to detect that and we'd fail silently by overwriting memory. -- Stewart Smith OPAL Architect, IBM.
Back to top | Article view | linux.kernel
csiph-web