Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp928898pxj; Tue, 18 May 2021 17:52:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR1x0NisgpX+261ljGSIXo7Ro+Ukfp+ZkGgg7OxuSzdBKyp7cqFq7khq9Ewm4EjLTWKdyA X-Received: by 2002:a05:6e02:13a8:: with SMTP id h8mr7135235ilo.82.1621385528270; Tue, 18 May 2021 17:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621385528; cv=none; d=google.com; s=arc-20160816; b=UnQQbd7d3cAS8AYDprYJqqZXJL/YYcIh8GIu9+wxd4T1wgfssTiqM0IpCDviFE+Qqc 8PuuuFgYftpomea/4nvxu7MtKTqUzoRyemIUKCEIzeNcKgBpWSsqwesdJ3t93tWrRi8x aV/rahGY8Hz5DrIzKRGBX8UIjXQabIw8xuv6Mz83NXrC8yPjYV5UKj+2PIo04J9jBFqq jI2j7NSt6T2BgMIbjWeqQL5XZ85t6YX9EufXZYL2py87so6+ZqdJyP+pVdv7cqv6yt4y vZw//cjc62dH00T6s0WP/PGbd24HlB2Hsowu1gCMAQIimmkQEEq9lznhZPJPuCaCf9aQ Qohg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:dkim-signature:dkim-signature:from; bh=hSz2gY5PBw/ohaaE/xoXB86FUhBxqR4Jkj21Xx9CCZw=; b=Qzk/oWqVJY1s4LgjyZwarIApZ/tjtAA7EVdK06c87wy45vRNDsFoNs80EmKdaxKn2a /Gm2Epr0pHcpSvBZ0ddz9yP8IpIizgFvQ453EQp9KYcP7213o7KV1o5vOHT3uma4xlh8 SfY97rszI10VLVmN8M6XdRRsqpp7pUGNW1A7qmMHWp8uAtHiksGWo/fkt2EWMMlDmL74 4TDrkN87EvwT3YsDic+8clU0NAfi9KQbwimmAPGmAYTICuM29HPLVZWyiNDrRVjWMzot 3+B40MGYgSd6MsR5d9XwtnDH8fbauOxVIQoDMiOqoWp0xLhirhh6b35/I3FmqOn358L5 24sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=yzENOyXq; dkim=neutral (no key) header.i=@linutronix.de; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si28808713ilm.45.2021.05.18.17.51.54; Tue, 18 May 2021 17:52:08 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=yzENOyXq; dkim=neutral (no key) header.i=@linutronix.de; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235729AbhEQSla (ORCPT + 99 others); Mon, 17 May 2021 14:41:30 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:54262 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234106AbhEQSl2 (ORCPT ); Mon, 17 May 2021 14:41:28 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1621276810; 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: in-reply-to:in-reply-to; bh=hSz2gY5PBw/ohaaE/xoXB86FUhBxqR4Jkj21Xx9CCZw=; b=yzENOyXq0yf/YzL7rs2JYKg8+TBIqYBdHRqCgPECQup3/NzL5Vv/Gh6338vpPdPXHZC8QI LVsLaMcKwedxTsWAalunKRM/mo5dgdmy1a0XE9FoceVSDyWkOYFQaNiLg11CLoerbBbDEb kQtz9q56bxlAIGznleq6XmkKDlbLkW+Tu9PLbUuiQDP/TcqpiPPKgQHiGz1GqvQ0ZWVWNb P7Pjv2r9u8k1YzUZk0Ar3DZ14x2+bTuysA6lzW+sLYxjaUQUy+J332ZNfkyrVyfgHP5dKQ d/ZMlrCVUPnbY7rXQ2mSVxBNhyz5C0VahxT/IQ02Tu7CC6Tzimnpo1spekRj8w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1621276810; 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: in-reply-to:in-reply-to; bh=hSz2gY5PBw/ohaaE/xoXB86FUhBxqR4Jkj21Xx9CCZw=; b=A3n+0E4CGWZNLr66xF6rzictHGSTewgQlD+xz3QBFBRXHmouPNH49pYvEF3t83NW3KF0p9 0YRgZXxJ4kPTNYAg== To: Maximilian Luz , "H. Peter Anvin" , Sachi King , Ingo Molnar , Borislav Petkov , David Laight Cc: "x86\@kernel.org" , "linux-kernel\@vger.kernel.org" , "stable\@vger.kernel.org" Subject: Re: [PATCH] x86/i8259: Work around buggy legacy PIC In-Reply-To: <087c418e-53fb-b3a6-0d9b-e738e4c821c7@gmail.com> Date: Mon, 17 May 2021 20:40:10 +0200 Message-ID: <87a6otfblh.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Max, On Sat, May 15 2021 at 00:47, Maximilian Luz wrote: > I believe the theory was that, while the PIC is advertised in ACPI, it > might be expected to not be used and only present for some legacy reason > (therefore untested and buggy). Which I believe led to the question > whether we shouldn't prefer IOAPIC on systems like that in general. So I > guess it comes down to how you define "systems like that". By Tomas' > comment, I guess it should be possible to implement this as "systems > that should prefer IOAPIC over legacy PIC" quirk. > > I guess all modern machines should have an IOAPIC, so it might also be > preferable to expand that definition, maybe over time and with enough > testing. I just double checked and we actually can boot just fine without the PIC even when it is advertised, but disfunctional. Can you please add "apic=verbose" to the kernel command line and provide full dmesg output for a kernel w/o your patch and one with your patch applied? Thanks, tglx