Received: by 10.213.65.68 with SMTP id h4csp232063imn; Tue, 13 Mar 2018 02:26:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELs1dVygrofLsxUi0U0dd/8AUWic4FEqVDwe90xUt2oO2etEtDCCFxVDjf4c5MrwQilR0gge X-Received: by 10.101.100.144 with SMTP id e16mr9325881pgv.315.1520933194640; Tue, 13 Mar 2018 02:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520933194; cv=none; d=google.com; s=arc-20160816; b=lyF7FEJI0idDkztn4hzKa4wP3r5a97KU83Ug3c75S2XMZzn7Eq2fKW+C5U6lxU33PE dc+TuMgAo6JN7qnfIOL5OB6IzXZovui73EAxgE9mlWIJyqT3Up21bM95dZKC/FsAKKo6 MYxXJrS3mW+asBM90f7JjlwWSP/1h4tx8B5UZdwtUPRjm90d5MQqIhTijljZceiGq5p1 kovFnkmQlNgMy1hJ9WyWhYMSwjbb+qQqxWndWCuEaEc6PCbq1HjYVn4EUHPDqCq4UIcc KZFbrrOHRL/NdtNGP3ulaVv0+CJXxFFO3IIA0AjE7sfgR2xH5wU5CpICSuk3XOupSKVO ZcEQ== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=1U4GRETkpC6kWhpXc871GirIRTGeUNvHyOQg4/uYI7c=; b=LTW9z3+SKvs49HrAlyZv1Q7WHruBjcXxEtKo9wphdpbsaPMbvWoOB9smKYqe+8Kvs8 qbqJo29BVO5FNkVieczRXMh1pE8OrEgLzpXA8mOqy1hX115rXRY8VO40pSP2ghutHv96 gLD3groRZOTmCjKvKH3SwgbmSLwqF0+uoZ2PsUXMr8+2tRL80q7/iEgl2yif7eZSaz1/ 801Ppz49j2/TGvg9LI4mcRgL+xj/W8IKf2HHfUFpHC6Y03Fti7eaDo0DfAMGFWBe4Gca 5mO5qOLtIxscoLjpNWQR+xymlhJoWhN0hsmqLm7bwCmmej6RdFeXqQ5fzPkxrpsYaSKt uN6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=tm4Qh1Zb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u91-v6si7542061plb.341.2018.03.13.02.26.19; Tue, 13 Mar 2018 02:26:34 -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=fail header.i=@gmail.com header.s=20161025 header.b=tm4Qh1Zb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752218AbeCMJZZ (ORCPT + 99 others); Tue, 13 Mar 2018 05:25:25 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:44647 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752074AbeCMJZU (ORCPT ); Tue, 13 Mar 2018 05:25:20 -0400 Received: by mail-oi0-f68.google.com with SMTP id b8so14705208oib.11; Tue, 13 Mar 2018 02:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=1U4GRETkpC6kWhpXc871GirIRTGeUNvHyOQg4/uYI7c=; b=tm4Qh1ZbIai1tziBz/SyEOLJn8xoI2YfiB+NuOddON22F6115F8lJyvclM5MZ8XLaA Xzpr4sqm0sV3/n/ZnhVbM8hQNXHU85Ljk3eZ3k1eFWJXJrdUGvGfmsvvjy76dmxYdfaQ VDnqRFfy6OP8GhutLEitji+ueKup0nQGU2YCm9yJYAxWvOi06ZR/Se0Rh1brNsavLMMb KcePskVHvztcwcelFxZzR2MtvS8a49Y4LPvngncYu7irESYidlaZ1hehMA/YXs15YbCC ccPEwCaHXB5NCCPwPL4IP8LGukuLwJGk9PbhbM78HfBBw46DlJ1S0ov77xNfbbyBoQVf ah4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=1U4GRETkpC6kWhpXc871GirIRTGeUNvHyOQg4/uYI7c=; b=q8k/yHzRn4joob4ebYOUbloQz4LDjytQb0qgNM+tMT08D83FG84MCyfVPr+k/OG1Ai VJZPDNIiO9kqjaTtZdtF1QKL4CsEZyqcW8B3Hy2lHzrGVmMG9RdZ8wi07/EN4gfY0W2N LxO0H7C8/4XFl8lstqOujeWShqNuS6kwmoS4aN6OdKJVErAdUjVEe1/TOnl6wsQb0FPj ewwNkWFCd3GwnLk739uLmYz8ENkY/WVWc6yGSC0GjX8iLQkkfMPURidtfOukbhcGRvV4 gCzPVcbD8rYJ+FBddBNtwUWX9+/AUAlsThOFFbkmL62jZA3viliGUCW9dyAYSFijQfRO qWgQ== X-Gm-Message-State: AElRT7GKE+qCxy3xpTwKFrQuIEOjmhioTNcV9oMOlarQoZRZISBhjcHX sjiALl0q7XxJGBALw1irEt6jOY4FgUXvU/IUOp4= X-Received: by 10.202.231.194 with SMTP id e185mr6504079oih.358.1520933120109; Tue, 13 Mar 2018 02:25:20 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2c92:0:0:0:0:0 with HTTP; Tue, 13 Mar 2018 02:25:19 -0700 (PDT) In-Reply-To: <5e5f3852-5314-c479-245e-d0a575e533a5@cn.fujitsu.com> References: <20180308105358.1506-1-ming.lei@redhat.com> <1520515113.20980.31.camel@gmail.com> <20180308133440.GA2713@ming.t460p> <20180309012458.GD5228@ming.t460p> <20180309120833.GB30257@ming.t460p> <5e5f3852-5314-c479-245e-d0a575e533a5@cn.fujitsu.com> From: "Rafael J. Wysocki" Date: Tue, 13 Mar 2018 10:25:19 +0100 X-Google-Sender-Auth: DvQfiePxi_9v50-ad6plfjIvBlA Message-ID: Subject: Re: [PATCH V3 0/4] genirq/affinity: irq vector spread among online CPUs as far as possible To: Dou Liyang Cc: Thomas Gleixner , Ming Lei , Artem Bityutskiy , Jens Axboe , Christoph Hellwig , Linux Kernel Mailing List , linux-block@vger.kernel.org, Laurence Oberman , "Rafael J. Wysocki" 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 On Tue, Mar 13, 2018 at 4:11 AM, Dou Liyang wrote: > Hi Thomas, > > At 03/09/2018 11:08 PM, Thomas Gleixner wrote: > [...] >> >> >> I'm not sure if there is a clear indicator whether physcial hotplug is >> supported or not, but the ACPI folks (x86) and architecture maintainers > > +cc Rafael > >> should be able to answer that question. I have a machine which says: >> >> smpboot: Allowing 128 CPUs, 96 hotplug CPUs >> >> There is definitely no way to hotplug anything on that machine and sure >> the > > > AFAIK, in ACPI based dynamic reconfiguration, there is no clear > indicator. In theory, If the ACPI tables have the hotpluggable > CPU resources, the OS can support physical hotplug. In order for the ACPI-based CPU hotplug (I mean physical, not just the software offline/online we do in the kernel) to work, there have to be objects in the ACPI namespace corresponding to all of the processors in question. If they are not present, there is no way to signal insertion and eject the processors safely.