Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1443819

RE: [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache Allocation

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From "Yu, Fenghua" <fenghua.yu@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache Allocation
Date Fri, 15 Jul 2016 01:00:01 +0200
Message-ID <rUXLP-7gd-3@gated-at.bofh.it> (permalink)
References <rUe2l-2xx-3@gated-at.bofh.it> <rUe2p-2xx-109@gated-at.bofh.it> <rUD0J-2cF-5@gated-at.bofh.it>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.28,365,1464678000"; d="scan'208";a="1017150712"
Thread-Topic [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache Allocation
Thread-Index AQHR3IkJUtAspSmrR0mMCZWdRqMBoKAXjQ6AgAD59/A=
Accept-Language en-US
Content-Language en-US
X-Originating-IP [10.22.254.138]
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding base64
MIME-Version 1.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 15
Organization linux.* mail to news gateway
X-Original-Cc Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>, "Anvin, H Peter" <h.peter.anvin@intel.com>, "Luck, Tony" <tony.luck@intel.com>, Tejun Heo <tj@kernel.org>, Borislav Petkov <bp@suse.de>, Stephane Eranian <eranian@google.com>, Peter Zijlstra <peterz@infradead.org>, Marcelo Tosatti <mtosatti@redhat.com>, "Shankar, Ravi V" <ravi.v.shankar@intel.com>, Vikas Shivappa <vikas.shivappa@linux.intel.com>, "Prakhya, Sai Praneeth" <sai.praneeth.prakhya@intel.com>, linux-kernel <linux-kernel@vger.kernel.org>, x86 <x86@kernel.org>
X-Original-Date Thu, 14 Jul 2016 22:58:21 +0000
X-Original-Message-ID <3E5A0FA7E9CA944F9D5414FEC6C712205DFD5189@ORSMSX106.amr.corp.intel.com>
X-Original-References <1468371785-53231-1-git-send-email-fenghua.yu@intel.com> <1468371785-53231-7-git-send-email-fenghua.yu@intel.com> <CALcN6mg54JzHhHhuu-2teZDZNF5yRjkW5777NRMukQVko7evyA@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1443819

Show key headers only | View raw


> 
> > +static inline void intel_rdt_cpu_start(int cpu) {
> > +       struct intel_pqr_state *state = &per_cpu(pqr_state, cpu);
> > +
> > +       state->closid = 0;
> > +       mutex_lock(&rdt_group_mutex);
> > +       if (rdt_cpumask_update(cpu))
> > +               smp_call_function_single(cpu, cbm_update_msrs, NULL, 1);
> > +       mutex_unlock(&rdt_group_mutex);
> 
> what happens if cpu's with a cache_id not available at boot comes online?

For L3, that case happens when a new socket is hot plugged into the platform.
We don't handle that right now because that needs platform support and I don't
have that kind of platform to test.

But maybe I can add that support in code and do a test in a simulated mode.
Basically that will create a new domain for the new cache_id.

Thanks.

-Fenghua

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/32] Enable Intel Resource Allocation in Resource Director Technology  "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
  [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache Allocation "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
    Re: [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache  Allocation Thomas Gleixner <tglx@linutronix.de> - 2016-07-13 11:30 +0200
      Re: [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache  Allocation Shivappa Vikas <vikas.shivappa@linux.intel.com> - 2016-07-21 21:50 +0200
    Re: [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache Allocation David Carrillo-Cisneros <davidcc@google.com> - 2016-07-14 02:50 +0200
      RE: [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache  Allocation "Yu, Fenghua" <fenghua.yu@intel.com> - 2016-07-15 01:00 +0200
  [PATCH 19/32] sched.h: Add rg_list and rdtgroup in task_struct "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
    Re: [PATCH 19/32] sched.h: Add rg_list and rdtgroup in task_struct Thomas Gleixner <tglx@linutronix.de> - 2016-07-13 15:10 +0200
      RE: [PATCH 19/32] sched.h: Add rg_list and rdtgroup in task_struct "Yu, Fenghua" <fenghua.yu@intel.com> - 2016-07-13 20:00 +0200
  [PATCH 21/32] x86/intel_rdt.h: Header for inter_rdt.c "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
  [PATCH 12/32] x86/intel_rdt: Hot cpu update for code data prioritization "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
  [PATCH 27/32] x86/intel_rdt_rdtgroup.c: Implement rscctrl file system commands "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
  [PATCH 30/32] x86/intel_rdt_rdtgroup.c: Process schemas input from rscctrl interface "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
    Re: [PATCH 30/32] x86/intel_rdt_rdtgroup.c: Process schemas input  from rscctrl interface David Carrillo-Cisneros <davidcc@google.com> - 2016-07-14 02:50 +0200
      RE: [PATCH 30/32] x86/intel_rdt_rdtgroup.c: Process schemas input  from rscctrl interface "Yu, Fenghua" <fenghua.yu@intel.com> - 2016-07-14 08:20 +0200
      Re: [PATCH 30/32] x86/intel_rdt_rdtgroup.c: Process schemas input  from rscctrl interface Thomas Gleixner <tglx@linutronix.de> - 2016-07-14 08:20 +0200
      RE: [PATCH 30/32] x86/intel_rdt_rdtgroup.c: Process schemas input  from rscctrl interface "Yu, Fenghua" <fenghua.yu@intel.com> - 2016-07-14 08:40 +0200
  [PATCH 02/32] x86/intel_rdt: Add support for Cache Allocation detection "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
  [PATCH 01/32] x86/intel_rdt: Cache Allocation documentation "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
  [PATCH 28/32] x86/intel_rdt_rdtgroup.c: Read and write cpus "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:10 +0200
  [PATCH 03/32] x86/intel_rdt: Add Class of service management "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:20 +0200
  [PATCH 04/32] x86/intel_rdt: Add L3 cache capacity bitmask management "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:20 +0200
    Re: [PATCH 04/32] x86/intel_rdt: Add L3 cache capacity bitmask  management Marcelo Tosatti <mtosatti@redhat.com> - 2016-07-22 23:10 +0200
      Re: [PATCH 04/32] x86/intel_rdt: Add L3 cache capacity bitmask  management "Luck, Tony" <tony.luck@intel.com> - 2016-07-22 23:50 +0200
  [PATCH 05/32] x86/intel_rdt: Implement scheduling support for Intel RDT "Fenghua Yu" <fenghua.yu@intel.com> - 2016-07-13 00:20 +0200
    Re: [PATCH 05/32] x86/intel_rdt: Implement scheduling support for  Intel RDT Nilay Vaish <nilayvaish@gmail.com> - 2016-07-25 18:30 +0200
    Re: [PATCH 05/32] x86/intel_rdt: Implement scheduling support for  Intel RDT Nilay Vaish <nilayvaish@gmail.com> - 2016-07-25 18:40 +0200
      Re: [PATCH 05/32] x86/intel_rdt: Implement scheduling support for  Intel RDT "Luck, Tony" <tony.luck@intel.com> - 2016-07-25 20:10 +0200

csiph-web