Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp6582319imm; Sun, 20 May 2018 06:24:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrCU3jffvyQ9f/+SWQITv+lY1JXQ6VlcQdlnegsJ5j/f8YDWRyJlYpB7Ygjya7UOsaq1nlh X-Received: by 2002:a65:4282:: with SMTP id j2-v6mr6528821pgp.189.1526822688565; Sun, 20 May 2018 06:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526822688; cv=none; d=google.com; s=arc-20160816; b=NXklaAih20HDu3BFE+AFsO7jbpfkNz1517stSwoVL6XUUrL3BtOpRTG25mYJqcYmAn 6EreEeL8fYprzmXbf0wmeU1ngbkz/tKCrpTy1Parq0jhoFSIRyVDHPe/LRJBNxwqw1Ae uR+sk42wgHaPScYp4FiMCGclgtwHkHjGHYttR++PEnvBb0PoRU+G8GPJrHjcFJvZc4PT phNsusd9cyhaqLfog4wxzvlGxvg0WxXIA7hT2AmOSOe4sa6Xdgf8JIzuBxcNTshWxYBX j3oxtP48KIGqCuGxKad6juIDrVc4X8QieqRYnXg0hWBNQSq9SCoI8Sw0qaRZdlwx+SPZ STqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature:arc-authentication-results; bh=/VgYyDOQW8j4g7qe5zvfmMWEWueTCFvYlV+xyYl9Iwg=; b=rnCTHBeYf7nOf6luO8PNSVasPvbh262Tqr4bcxdBfG+JT1VzvtA1OBfG6nlpyYiHa/ sU9tz6dDO59kzJ/2Qz3WKput3sDDj4lsbLKbbqz80WZC30Oa8lKJHHpY5745jCibSskC XT5pgxUPTIAX7H7HeFmkvTyBwftG9zABlQcFA2lSlgcsh0WmsUC4CzAzC52mlieLCItS HuqyxeuCn5NZbZzxi0HUxWfHbbutooIzKOHi/epKfkhso7OpSx17Ndu9cGrSc02zdgvV TIps9maXLaVYmZSGDNibdSaiv8Q7AyO5/nBq0OS67ginjeVkKB5L2hekA+NDNKfckhsp lq+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EoHAwYsS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8-v6si9274331pgp.527.2018.05.20.06.24.34; Sun, 20 May 2018 06:24:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EoHAwYsS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751521AbeETNYF (ORCPT + 99 others); Sun, 20 May 2018 09:24:05 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:32770 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751162AbeETNYE (ORCPT ); Sun, 20 May 2018 09:24:04 -0400 Received: by mail-lf0-f51.google.com with SMTP id u9-v6so3018600lfc.0 for ; Sun, 20 May 2018 06:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=/VgYyDOQW8j4g7qe5zvfmMWEWueTCFvYlV+xyYl9Iwg=; b=EoHAwYsS6Vh+XH+eJjLYgJUGDqtf7PRqKANAcaF5MK3eUaX4QQm3d8l0xDcGUuLFLi KFhNDiYNDFLehVasv9bueGbpLCRCQha0Xnbkr0tYUT+/7srUv5JkVVWO6I2QDC7Zobxr 5jstK3rh2FKaX6ZHxg1OB5xoLMrrlkTalr6AmbfB/Uo/GY2MgIoKDF//ksHhpO8asQll NjYT++hlEsIp31itoyRAencAtoosUneVj/Pfwm6Ws3rDCmlFU5AMgeC51dBqATz9mmCi HqomdtAX1n6kbn+ojSnJ28ao8lm8Uq4bDbH6IRHeC2HD3rVSATyHkIGd9831XXrPYPTE 57vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=/VgYyDOQW8j4g7qe5zvfmMWEWueTCFvYlV+xyYl9Iwg=; b=U3IQsX1p9Q0sGXtg9lBh7c26zmzx9hgx/UKSD+ibaYtvDsVrHfhqwtY0MnHKFTSy9G J8UQvQdEdg0MXAYO6EG8+OtT+lmUmV5wO7Pr3TlPEHxNKDU+Jg/vYFuT48DPMaza6mQa Nv99YpmTzdXNOgybIzJRjOn/bxCm69j4LiHFuKU2FdXScoKleYYR1gfRQCck/K2MhDJe CwTZo89EbU+stSaZ8rrZgOy1p+lQ6TQnOZoSguMvfJINdkhd5FVKYrkLbZTZ8tYpfB4H 5w7CqBgr4obG5HqafkzvP6UvmSdMm9GJDsziJaJVyseWKhjOYL8Z/okaoDYR7iJwihka A+lA== X-Gm-Message-State: ALKqPwcnLnIiqBXo48Z9b63WyUohLiE7PwxemxVUM2tqrHG8L124Xa15 YoDCVyCi3lOjaoRDVXbbs3fo138mC24WiYkcCCtQ X-Received: by 2002:a19:9cc6:: with SMTP id f189-v6mr3137276lfe.119.1526822642657; Sun, 20 May 2018 06:24:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:e44c:0:0:0:0:0 with HTTP; Sun, 20 May 2018 06:23:32 -0700 (PDT) From: Gabriel C Date: Sun, 20 May 2018 15:23:32 +0200 Message-ID: Subject: smpboot seems to be confused on dual EPYC system To: LKML Cc: X86 ML , Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, I have an H11DSi-NT board with 2 * EPYC 7281 16C/32T CPUs. On that box for some reason spmboot things '4' logical packages are possible. Max CPUs can be 128 ( 2 * 32C/64T ), however only 2 CPUs are possible not 4 and therefor there is no way to add other 64 hotplug CPUs. ( not even sure cpu hotplug will work here ) $ dmesg | egrep "smpboot|NR_CPUS|CPUs" [ 0.000000] smpboot: Allowing 128 CPUs, 64 hotplug CPUs [ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:128 nr_cpu_ids:128 nr_node_ids:8 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=128, Nodes=8 [ 0.000000] RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=128. [ 0.037000] smpboot: CPU0: AMD EPYC 7281 16-Core Processor (family: 0x17, model: 0x1, stepping: 0x2) [ 0.048005] smp: Bringing up secondary CPUs ... [ 0.055042] .... node #0, CPUs: #1 #2 #3 [ 0.079029] .... node #1, CPUs: #4 #5 #6 #7 [ 0.111049] .... node #2, CPUs: #8 #9 #10 #11 [ 0.143050] .... node #3, CPUs: #12 #13 #14 #15 [ 0.175031] .... node #4, CPUs: #16 #17 #18 #19 [ 0.217031] .... node #5, CPUs: #20 #21 #22 #23 [ 0.249062] .... node #6, CPUs: #24 #25 #26 #27 [ 0.281058] .... node #7, CPUs: #28 #29 #30 #31 [ 0.313028] .... node #0, CPUs: #32 #33 #34 #35 [ 0.345028] .... node #1, CPUs: #36 #37 #38 #39 [ 0.377046] .... node #2, CPUs: #40 #41 #42 #43 [ 0.409043] .... node #3, CPUs: #44 #45 #46 #47 [ 0.441028] .... node #4, CPUs: #48 #49 #50 #51 [ 0.473029] .... node #5, CPUs: #52 #53 #54 #55 [ 0.505060] .... node #6, CPUs: #56 #57 #58 #59 [ 0.537052] .... node #7, CPUs: #60 #61 #62 #63 [ 0.562171] smp: Brought up 8 nodes, 64 CPUs [ 0.562171] smpboot: Max logical packages: 4 [ 0.562171] smpboot: Total of 64 processors activated (268089.53 BogoMIPS) Can someone have a look ? Best Regards, Gabriel C