Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp663337pxf; Wed, 17 Mar 2021 12:50:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzckqSuJcApKhdR1VfLgNOKNAwkwC/C15g4ByoYU2gPuFwYrTgKFCr6ZhkAkfi837X4z5ay X-Received: by 2002:a17:906:b113:: with SMTP id u19mr37325021ejy.335.1616010629260; Wed, 17 Mar 2021 12:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616010629; cv=none; d=google.com; s=arc-20160816; b=KeniGW5fDBCN148amfdIcRWXR1BWh53LYrH1ijMUBLreW8P/PNUgv5JWcjFCwm9OMr 9sYd3bhdktNc8O72GaH/A84z1T4KC0o7IzI2a0NWUfeC032K299CJw6k+VcmyZETQtaV J8uYILNKnYIsfNDrU+xuCvwqekS09O+pB+l5qzT9uCoWpfQ4PrpEI/igfI6XStbImYw4 1+SETjBO7ihHVVzl75AQgTvW3PASrbhYoeFOGhXJf8Um7uU4mDElSe5GfJct9kTYzp2+ y2c/LF5FQs8xHpYWVzBN8Fk/+gscYcZLzjcd3XhDJA6ZTML5DIOu+tkA6B/l8T6d497o zL9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Sy9ax+IV4+c82TQ5mBpAdeQgeUtKkrQ3lPaiZ0IaEF8=; b=z8dy2EXmfJRdsODvgAfCd0n7yaqRkeHC3qbQYJNk2PX1o7cKR424tQRiEX5mrRjU/D bm6qFyKytcDpv5oDcMjHaLtfREU7xMGPU+XLfj1L8maIHByb45cnAMssP4+ie6DHPRHg uHOab/V1c9UV5o4ovBOVZscwAXl6Vq20TxkZ9+w7hCFRTP1vkP9mS99Kadk7wTflZgql yiixf+/sru6dyBUc351c1aIds7RNuXMhnbYTw0DTS2L/FEYAxe6Pe1C7mFF33ye8R6AQ ajrfGNOtMrOBTZeKufr/WNG3NPEiduoqCsKyvoTHpauSPB3nXE60EDY0N7KUpBlf5nj0 /7AQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg8si17841754ejc.657.2021.03.17.12.49.52; Wed, 17 Mar 2021 12:50:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232499AbhCQTsA (ORCPT + 99 others); Wed, 17 Mar 2021 15:48:00 -0400 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:51229 "EHLO outpost1.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233191AbhCQTrl (ORCPT ); Wed, 17 Mar 2021 15:47:41 -0400 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1lMc8n-003Wpj-P2; Wed, 17 Mar 2021 20:47:37 +0100 Received: from p5b13a966.dip0.t-ipconnect.de ([91.19.169.102] helo=[192.168.178.139]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1lMc8n-00022l-IY; Wed, 17 Mar 2021 20:47:37 +0100 Subject: Re: [PATCH 0/1] sched/topology: NUMA distance deduplication To: Valentin Schneider Cc: "Peter Zijlstra (Intel)" , Linux Kernel Mailing List , "linux-ia64@vger.kernel.org" , Sergei Trofimovich , debian-ia64 References: <255d6b5d-194e-eb0e-ecdd-97477a534441@physik.fu-berlin.de> <8735wtr2ro.mognet@arm.com> From: John Paul Adrian Glaubitz Message-ID: Date: Wed, 17 Mar 2021 20:47:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <8735wtr2ro.mognet@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 91.19.169.102 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Helo Valentin! On 3/17/21 8:36 PM, Valentin Schneider wrote: > I see ACPI in your boot logs, so I'm guessing you have a bogus SLIT table > (the ACPI table with node distances). You should be able to double check > this with something like: > > $ acpidump > acpi.dump > $ acpixtract -a acpi.dump > $ iasl -d *.dat > $ cat slit.dsl There does not seem to be a SLIT table in my firmware: root@glendronach:~# acpidump > acpi.dump root@glendronach:~# acpixtract -a acpi.dump Intel ACPI Component Architecture ACPI Binary Table Extraction Utility version 20200925 Copyright (c) 2000 - 2020 Intel Corporation acpixtract(31194): unaligned access to 0x60000fffff9b3925, ip=0x4000000000003e91 SSDT - 3768 bytes written (0x00000EB8) - ssdt1.dat acpixtract(31194): unaligned access to 0x60000fffff9b3925, ip=0x4000000000003e00 acpixtract(31194): unaligned access to 0x60000fffff9b3925, ip=0x4000000000003e91 SPCR - 80 bytes written (0x00000050) - spcr.dat acpixtract(31194): unaligned access to 0x60000fffff9b3925, ip=0x4000000000003e00 acpixtract(31194): unaligned access to 0x60000fffff9b3925, ip=0x4000000000003e91 APIC - 200 bytes written (0x000000C8) - apic.dat SSDT - 1110 bytes written (0x00000456) - ssdt2.dat SSDT - 316 bytes written (0x0000013C) - ssdt3.dat SPMI - 80 bytes written (0x00000050) - spmi.dat DSDT - 58726 bytes written (0x0000E566) - dsdt.dat SSDT - 312 bytes written (0x00000138) - ssdt4.dat SSDT - 2150 bytes written (0x00000866) - ssdt5.dat SSDT - 316 bytes written (0x0000013C) - ssdt6.dat SSDT - 3768 bytes written (0x00000EB8) - ssdt7.dat FACP - 244 bytes written (0x000000F4) - facp.dat SSDT - 1203 bytes written (0x000004B3) - ssdt8.dat CPEP - 52 bytes written (0x00000034) - cpep.dat SSDT - 316 bytes written (0x0000013C) - ssdt9.dat DBGP - 52 bytes written (0x00000034) - dbgp.dat SSDT - 3768 bytes written (0x00000EB8) - ssdt10.dat FACS - 64 bytes written (0x00000040) - facs.dat root@glendronach:~# root@glendronach:~# ls *.dsl *.dat apic.dat cpep.dsl dsdt.dat facp.dsl spcr.dat spmi.dsl ssdt1.dat ssdt2.dsl ssdt4.dat ssdt5.dsl ssdt7.dat ssdt8.dsl apic.dsl dbgp.dat dsdt.dsl facs.dat spcr.dsl ssdt10.dat ssdt1.dsl ssdt3.dat ssdt4.dsl ssdt6.dat ssdt7.dsl ssdt9.dat cpep.dat dbgp.dsl facp.dat facs.dsl spmi.dat ssdt10.dsl ssdt2.dat ssdt3.dsl ssdt5.dat ssdt6.dsl ssdt8.dat ssdt9.dsl root@glendronach:~# > a) Complain to your hardware vendor to have them fix the table and ship a > firmware fix The hardware is probably too old for the vendor to care about fixing it. > b) Fix the ACPI table yourself - I've been told it's doable for *some* of > them, but I've never done that myself > c) Compile your kernel with CONFIG_NUMA=n, as AFAICT you only actually have > a single node > d) Ignore the warning > > > c) is clearly not ideal if you want to use a somewhat generic kernel image > on a wide host of machines; d) is also a bit yucky... Shouldn't the kernel be able to cope with quirky hardware? From what I remember in the past, ACPI tables used to be broken quite a lot and the kernel contained workarounds for such cases, didn't it? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913