Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2370013lqo; Mon, 13 May 2024 17:04:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8czF/9596C7L8eFgV4xqKiCt32KHia5NMVuyGz4uOfdrxJEf0yueF0rdkjZRRGHRiPCiTubMg8Hz3EVNCCJu8gsUP5kf+VAD7o5bU3A== X-Google-Smtp-Source: AGHT+IHr7xyHgbYc3aAyEOLCcJ2Z9yzYQQw65GxNNe/0bNyfeLhrdNQnCCvAIbOgq7ajlbOahf+Z X-Received: by 2002:a05:6a21:35c6:b0:1af:63fc:4125 with SMTP id adf61e73a8af0-1afde1df6c2mr12626569637.62.1715645059998; Mon, 13 May 2024 17:04:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715645059; cv=pass; d=google.com; s=arc-20160816; b=qB4ZibIhR+M0MZt1V9aZAoysvg1k118D8/szWHpkeeWFeO8YQLbeWJKxAeDiGy71Ir q7mi9NqaOeHxVWdiiMt3pNwHKSBaWj87d7QiwlJLvUrdEiF8g3fheBt7YYxsjy2sNUcD l8amH5mDnnxDUExgTShsvtRr5ENKcP2VU5Z/H4a5MEqc/1gKIvfNx6DB69gk1uae5KUU /2bhMhw4R1SxYlo27u9+M70eJXW2MJ65E8Rh+e2yn0Bv3hqQyBpsI/WjH9tlcY/BzMYP TS8b4dkyrvb1Ngvac5DW94cnxdGuRMoC9yMYK8izOKP0raPz4bCABIML4BhVly6le7rM KRyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:organization:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=8qXWROXKG8a9e+WDVLQuvh7yEMpGdR+iDo+4e18bWFw=; fh=ftsfo0Xn48qMqJvBcG8oB+BPNO3Rj0q9pEtXoffL3A8=; b=xc8jplhTthOmOLYWGg8Z4pvjIuxlGXmf+6PQDdSfgEAzG+NHGgftcFMjvPzKCkmunF +CDY93zpkfKEvxstkX76Lvl3lG0bcMQ+DLUAsg2FJ/oK2Jcg0hlH/5f9SUBTm0A1tsxp aiPVQ2qwQ4/SRVWsZvcUXXR6CmihjBJOrxKcKMpWczPEekVJEnoQdxCcqE5XtXt2hDXQ EiWRmLN/NtMQQ7e8frVJjfnhPjHAe+u64BZPneDiYKOYLXFHYDxlvBEPUtDCcVK3iG8f a5QklJ7yz8U/J7Dxdw7j9LAjoHaUF51Gqc4TlgDlYkzYlR+T0XW4O/srP+jlFK0c7fNC slPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=esl6Pb86; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-178197-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2aeee63si9926110b3a.163.2024.05.13.17.04.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 17:04:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178197-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=esl6Pb86; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-178197-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9695D284232 for ; Tue, 14 May 2024 00:04:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E68094687; Tue, 14 May 2024 00:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="esl6Pb86" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58C3DA21 for ; Tue, 14 May 2024 00:04:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715645053; cv=none; b=ZOcwuixUXO4wUEJnjFi5P/BcWiz5pt1av+DRYPrIkCPvg9nDJxut6CsgGHlli4tMs5pqz+RkoBBGwFAQiYBWqe6y4LH6vMOlMES5nrnbq9xALQd2BjXywQMLzIYo6kg1ohxF37s03Onf7MhzK2LoFUmyS1gDEdF7EfdCrs0O7Ok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715645053; c=relaxed/simple; bh=8wY1y0VlEXaKGXIlnRsLsv0pmH4Btpg3c+OsDGJ+dBw=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=I0E9CymaRFxSIM8LGZ3OhQJmpcUuSSAdYvDHXjD2MqWSTSxbtcRnMJO3apciGmQ6VOTW5y+NuBdN2JlouSHkbkTv7caTGd5R8x1LP9t0/Z8PGV5ZGgVgX+P4xVm5iCmkqOfduHL2GEjCcX4j6hPYcKTKkfI3zKYRtbShfqTbwDo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=esl6Pb86; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715645050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8qXWROXKG8a9e+WDVLQuvh7yEMpGdR+iDo+4e18bWFw=; b=esl6Pb866gRioSSntOjpbz7hfIex4ubn0Pyrw4NmJG4kInnzen4LDwO6b0DDI94Npusjhp svlHfupOYEfdyluNGAofbnfVrHQIRC4xt2BWurbGgmf92bylJPNfZ2hwQvKKiLQ1BP0zTt fEfjth5RCFiGudnd+vs+kpomGwEKc1A= Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-448-ubakx6RRPZ-xYq5vTnYbsw-1; Mon, 13 May 2024 19:18:34 -0400 X-MC-Unique: ubakx6RRPZ-xYq5vTnYbsw-1 Received: by mail-oi1-f199.google.com with SMTP id 5614622812f47-3c9a75ea4ccso1452330b6e.2 for ; Mon, 13 May 2024 16:18:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715642312; x=1716247112; h=mime-version:user-agent:content-transfer-encoding:organization :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8qXWROXKG8a9e+WDVLQuvh7yEMpGdR+iDo+4e18bWFw=; b=MWQcYQOFfvzIvayAeNPp/8Zkke3ugFDFBLGTQkCLLlwnLJk3m2WeIElFY73wjaKPg7 lc6PfvIQFMV7Gtqo+1xR3j+96wprwqsJjCDo93yIugqTzKgoyvYNnY6gATSOTxA2fqxl 9p5YWX9218IWVoDwFFXHD7S801HumBxWXCO6YovFwCn+5nb1SSQQy1EUcDitbtHMJTKW 1igIYTg0J2ggsdLx/n7Xm8HLX2O0L+4syuIJVqrnmSxWc3keklcohbVDgnaGuKylINus XcvYFHuBxoRhSmnktKmnQRNKlDfq0ccg6JTYra1y/xRnZiUF6ElXqW41NeeIuwe/QjTG if0w== X-Forwarded-Encrypted: i=1; AJvYcCUCIDmUWJzBjqh85//YDh0SG1js+kOZD+ANiU0zxYOERdz65t98TsK5umXyLu5h8O1B9Ze6DnqC1sCLisL1WlmEIG6wpE7M3bUPcabI X-Gm-Message-State: AOJu0YxVFN6J72Po6jVcYHE3/eow40UbHylPPf2mc+82gmLA7PH9h7xv e2xILlzbilAM/Bm1Pu7sXkeyB5/YjJaAmBVy4KkIt78gluMKl1fqTBbuNkZI4LudHVbJeh8mntQ hNgNHBcqpXrIj6j1oZPk/qVCRjGyUYr/TM+WpaTYjy6OtmG/Kp5lbhxxSPQaNg9EL4niQMg== X-Received: by 2002:a05:6808:487:b0:3c9:6a55:5f1a with SMTP id 5614622812f47-3c9971dcf6cmr15061041b6e.49.1715642312114; Mon, 13 May 2024 16:18:32 -0700 (PDT) X-Received: by 2002:a05:6808:487:b0:3c9:6a55:5f1a with SMTP id 5614622812f47-3c9971dcf6cmr15061001b6e.49.1715642311411; Mon, 13 May 2024 16:18:31 -0700 (PDT) Received: from emerald.lyude.net ([2600:4040:5c6c:a300::feb]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6a15f1d7068sm47662336d6.112.2024.05.13.16.18.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 16:18:30 -0700 (PDT) Message-ID: Subject: Re: Early boot regression from f0551af0213 ("x86/topology: Ignore non-present APIC IDs in a present package") From: Lyude Paul To: Thomas Gleixner , "Linux regression tracking (Thorsten Leemhuis)" Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Mario Limonciello , Borislav Petkov , Linux kernel regressions list Date: Mon, 13 May 2024 19:18:29 -0400 In-Reply-To: <87jzjxn6s5.ffs@tglx> References: <3d77cb89857ee43a9c31249f4eab7196013bc4b4.camel@redhat.com> <20240418082703.GCZiDZVyra7qOQbyqn@fat_crate.local> <87plumxz4x.ffs@tglx> <87le59vw1y.ffs@tglx> <3a0afe545747e5314a9cb6bbaa9ce90b259ddfac.camel@redhat.com> <87edautcmz.ffs@tglx> <3b1d16e357c1f9badeef405366492f05af26c085.camel@redhat.com> <878r11t8zu.ffs@tglx> <016902d9-3858-4c65-b3ec-f7a5103af63c@amd.com> <51d0dff8-2888-463c-95ab-71b491f12a8f@leemhuis.info> <877cg4ppd5.ffs@tglx> <87jzjxn6s5.ffs@tglx> Organization: Red Hat Inc. Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.1 (3.52.1-1.fc40) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2024-05-13 at 16:08 +0200, Thomas Gleixner wrote: > On Wed, May 08 2024 at 19:21, Lyude Paul wrote: > > Regarding the test results - I tried possible_cpus all the way up to 17 > > and nothing got the machine to boot. However, possible_cpus=3D8 > > intremap=3Doff did get the machine to boot successfully >=20 > Oh. That's interesting. >=20 > Does v6.9 (released yesterday) boot with just 'intremap=3Doff' too? Yes - it still boots. As well I finally got the serial console adapter in, = but I don't see any additional output: [ 0.146896] printk: legacy console [tty0] enabled [ 0.147433] printk: legacy console [ttyS0] enabled [ 1.951453] ACPI: Core revision 20230628 [ 1.955466] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, = max_idle_ns: 133484873504 ns [ 1.964698] APIC: Switch to symmetric I/O mode setup [ 1.970973] AMD-Vi: Using global IVHD EFR:0xf77ef22294ada, EFR2:0x0 [ 1.978491] ..TIMER: vector=3D0x30 apic1=3D0 pin1=3D2 apic2=3D-1 pin2=3D= -1 [ 1.996945] Kernel panic - not syncing: timer doesn't work through Inter= rupt-remapped IO-APIC [ 2.005376] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.9.0Lyude-Test+ #= 7 [ 2.012248] Hardware name: MSI MS-7A39/A320M GAMING PRO (MS-7A39), BIOS = 1.I0 01/22/2019 [ 2.020160] Call Trace: [ 2.022584] [ 2.024666] dump_stack_lvl+0x5d/0x80 [ 2.028499] panic+0x118/0x2c8 [ 2.031522] ? timer_irq_works+0x54/0xf0 [ 2.035408] panic_if_irq_remap.cold+0x5/0x9 [ 2.039631] setup_IO_APIC+0x398/0x860 [ 2.043475] ? _raw_spin_unlock_irqrestore+0x1d/0x40 [ 2.048393] ? clear_IO_APIC_pin+0x125/0x1e0 [ 2.052617] apic_intr_mode_init+0xcc/0xe0 [ 2.056672] x86_late_time_init+0x24/0x40 [ 2.060820] start_kernel+0x8be/0x960 [ 2.064446] x86_64_start_reservations+0x24/0x30 [ 2.069015] x86_64_start_kernel+0x95/0xa0 [ 2.073069] common_startup_64+0x13e/0x141 [ 2.077280] [ 2.079447] ---[ end Kernel panic - not syncing: timer doesn't work thro= ugh Interrupt-remapped IO-APIC ]--- >=20 > Thanks, >=20 > tglx >=20 --=20 Cheers, Lyude Paul (she/her) Software Engineer at Red Hat