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


Groups > linux.kernel > #1460532

Re: [PATCH] x86/smp: Fix __max_logical_packages value setup

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/smp: Fix __max_logical_packages value setup
Date 2016-08-11 15:50 +0200
Message-ID <s4YwW-4uy-19@gated-at.bofh.it> (permalink)
References (3 earlier) <s4GJH-j6-17@gated-at.bofh.it> <s4GJH-j6-19@gated-at.bofh.it> <s4GJH-j6-11@gated-at.bofh.it> <s4XAS-3T5-25@gated-at.bofh.it> <s4XUe-4eY-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 11, 2016 at 03:05:21PM +0200, Jiri Olsa wrote:
> hum, so we either need some acpi solution to get number of all
> sockets or

This.. So the problem here is that the BIOS completely screws us over.

It wrecks the ACPI-ID table with that option to limit the number of CPUs
exposed to the OS (note that it didn't need to do that, it could have
enumerated them as empty, instead of not there at all) while keeping the
CPUID of the CPUs as reporting they have many (12? was it) cores.

This results in inconsistent state, and we're left with nothing useful.

> fix the uncore code to initialize pmu boxes on cpu hotplug as well

Can't.. it uses the boxes at STARTING time, and we can't do allocs
there. Not can we alloc earlier, because we don't know max_packages is
going to increase.

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


Thread

Re: [PATCH] x86/smp: Fix __max_logical_packages value setup Peter Zijlstra <peterz@infradead.org> - 2016-08-11 14:50 +0200
  Re: [PATCH] x86/smp: Fix __max_logical_packages value setup Jiri Olsa <jolsa@redhat.com> - 2016-08-11 15:10 +0200
    Re: [PATCH] x86/smp: Fix __max_logical_packages value setup Peter Zijlstra <peterz@infradead.org> - 2016-08-11 15:50 +0200
      Re: [PATCH] x86/smp: Fix __max_logical_packages value setup Jiri Olsa <jolsa@redhat.com> - 2016-08-12 14:30 +0200
        Re: [PATCH] x86/smp: Fix __max_logical_packages value setup Jiri Olsa <jolsa@redhat.com> - 2016-08-12 15:20 +0200
        Re: [PATCH] x86/smp: Fix __max_logical_packages value setup Peter Zijlstra <peterz@infradead.org> - 2016-08-15 11:10 +0200
          [PATCH] x86/smp: Fix __max_logical_packages value setup Jiri Olsa <jolsa@redhat.com> - 2016-08-15 12:20 +0200
            Re: [PATCH] x86/smp: Fix __max_logical_packages value setup Prarit Bhargava <prarit@redhat.com> - 2016-08-15 13:50 +0200
            [tip:x86/urgent] x86/smp: Fix __max_logical_packages value setup tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-08-18 13:00 +0200

csiph-web