Received: by 10.192.165.148 with SMTP id m20csp396834imm; Fri, 27 Apr 2018 00:23:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr+uBPVa37AQDtBq0byzBwJ5ZxZpRCDktKuP0wTi+plhHkqtAKxlmyw3AEicjDNcDZ5qCfg X-Received: by 2002:a63:87c6:: with SMTP id i189-v6mr1157420pge.2.1524813786919; Fri, 27 Apr 2018 00:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524813786; cv=none; d=google.com; s=arc-20160816; b=GMISJWhF5sEujHBqMOhJ7vxnpdp/2/5QJmjMAuA0swqhrWjaUBgLcpaR03Q5GY6xvS JvHm58FuTCBdvKpRahm1gteGhwiV7XDyjN6U9iQ1JHygvBtM6BuFOjaWqG2sr9R3XzZ9 o/tDN5rjYEacsAF5HSVknDfxsWeI6hS/JXDlKB1aMSnYJ+2lzcZ/1/SpqMgtHc7+mRd3 q7kT2vPpKjVEeAEJwh9muTiwnIGYhj90LUf/HEmXNByAPyQY8K3sa7AZ8SQA1RX/6DD8 mP3UU9hFz6iC5ACF2jWcImBwhsMx9Y+PS2jd4tduTNa2yZzT4X74l7Eh+/51sh2G0xzj 2WZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:subject:cc:to:from:date :message-id:arc-authentication-results; bh=hWOBXt7fKhIl1hbyJV9p9Ke8NcMoHdhDadENilcfrws=; b=YHZnEJE9uGf51f9Ddae7d9LBMcG7lYXuiBexiBWe04XdcS0f6RwBM1CaLyx9MKZCgO ycYCLWiYushGJPZj3AmYV7zA/o/+oo8nYv7zpg6XN3ODSq6nF91BNawSOL/PGDgKX5bK rEcqNowA1v3du5sxM1JQJ0lCQEBMpKAkAx48AcT0IyojhgXkdNmUOArBiHVrSSvjP32n AHKpg6xQuxbdcqDvyBD3swANNaafn9Il2MQKsV1bGKEWaC62wvzInod5PgfH5eIZ9XUk KU01ogovLfCMr+pPKk+2WnSqR/ulLQ43hcg135zqCoerhiQ4jT5PS+4+6qqAfgog6HNg 3ZyA== ARC-Authentication-Results: i=1; mx.google.com; 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 m10-v6si697920pge.245.2018.04.27.00.22.52; Fri, 27 Apr 2018 00:23:06 -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; 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 S1757503AbeD0HVr convert rfc822-to-8bit (ORCPT + 99 others); Fri, 27 Apr 2018 03:21:47 -0400 Received: from prv1-mh.provo.novell.com ([137.65.248.33]:46256 "EHLO prv1-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753480AbeD0HVq (ORCPT ); Fri, 27 Apr 2018 03:21:46 -0400 Received: from INET-PRV1-MTA by prv1-mh.provo.novell.com with Novell_GroupWise; Fri, 27 Apr 2018 01:21:46 -0600 Message-Id: <5AE2CF8802000078001BF017@prv1-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 18.0.0 Date: Fri, 27 Apr 2018 01:21:44 -0600 From: "Jan Beulich" To: , Cc: Subject: recent patch "x86/acpi: Prevent X2APIC id 0xffffffff from being accounted" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, I've just stumbled across this commit, and I'm wondering if that's actually correct (I too have at least one system where such IDs are reported in MADT): For offline/absent CPUs, the firmware may not know the APIC IDs at the point MADT is built, so I think it is quite reasonable to put ~0 in there. The ACPID spec specifically calls out that the IDs must not change across sleep states, which implies to me that they may change across an offline period of a CPU. IOW I think such entries still need to contribute to the count of disabled CPUs. I notice a similar change has been done for the xAPIC case a while ago by you, Thomas. Jan