Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1681990pxj; Wed, 19 May 2021 11:21:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymzxxpnnzYGDdR0NF4jh0Sc0CROQFEJnhK5AiuOhm45qi2zuS12Rq0QIizyLkAM76RLNMx X-Received: by 2002:a5d:8d87:: with SMTP id b7mr771245ioj.46.1621448466148; Wed, 19 May 2021 11:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621448466; cv=none; d=google.com; s=arc-20160816; b=GigRkhhyrVF+8JBXyswdNvQOTtlTKb+uYTgVZdDz8x5nZ52ATdHlQQbvb2NtHgbyBi 2vff29b6YhXa6vTLKkCSMj1/1dwBO1VlHjWa9qygfHREUiH2nFPQaJmKypKvMp8We22z Eui9NVPYBbW9DhOBDllruEUp8gByIwrfR9qDGy/TK2ebyeBG28ATYRKqsViW3yKXCLsZ HDe1cREFhJw8FF0HbSijcm8rdxaF400XqPeuEjrraF8BeVALC+8aBE1AbXtyaTY43S3U FlEmy/3DmDzdWec8SXTmlTUAtrjK8VD7dYm/WgH+gUA6bK/4yiBPnLlBepObIUBu8MRK CvSg== 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:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=tFBvPxPe54aPh5rteQfHOQUMzHXgN7KlH4xTqINWqUI=; b=QlJvCCsYcLgM41Mc9s5WkhP9ADNEO87WxDdyj6CCheKOOFI4AgfBDdvwQTw5QyzIu0 SCVyakjiC59fBLQcsSc4fNK8H0F4ePx4uuxFYREz+K7dziKbkv+VrgHxd/HjicYNk1bR /v1JhOkYNS61dbKC32XhVRi9zjwAIA4gzwDW4Nf+qzghPRLc+sSnxkIzd3YtRQGhGWZs KGnAwXZrO2Lu5pMEmJzORTmaA83m8dDPXBbJ3F+wPaHRsY7wXxSvZl76WZ25Mv7exLxq cg2pFjSddxfrVmnCQfAOchWyiKF6S3LibVnKzfKOCN42cAoU61dl/wUttM9f16ZgNbPZ +l6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=vF3VwIKZ; 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 i35si43930jav.20.2021.05.19.11.20.53; Wed, 19 May 2021 11:21:06 -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=vF3VwIKZ; 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 S1350349AbhERPsK (ORCPT + 99 others); Tue, 18 May 2021 11:48:10 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:60996 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350273AbhERPrN (ORCPT ); Tue, 18 May 2021 11:47:13 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1621352753; 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:references:references; bh=tFBvPxPe54aPh5rteQfHOQUMzHXgN7KlH4xTqINWqUI=; b=vF3VwIKZ7BHMfvP7h9vdl91nh8NCm5AtXy+Cj9Rgh4ra0zvTety+D/HYzf4uIjXdgPLFh+ d2/cspOgr2+p0oEpTVrarIpmvtHycyomeP1vaD+vvRPC9OXQ9QTC23WxUCggChR4AiCkdH AeHUcevehH9IctctK+Vg54ruWjcrTJxEbWj0UQk1u3GYB1KYIv9Pe2M22e7YxKuCnrWTVh slZj5oCGIqeeJytCLLAVZ+juPtL6R1kVg2q4ocjmedtGCWlsUwpZGO+wHaiuKlyT1GBJGK KPhBfMYtXWB1mbcRFThO81CrE0I8MRyuw3LL5VIGPqu62IuI27iQziYr3ELCwg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1621352753; 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:references:references; bh=tFBvPxPe54aPh5rteQfHOQUMzHXgN7KlH4xTqINWqUI=; b=vfQQExnlom63bLm3j2PsGUaANheJvookMkPzzYMK0X5MG96y7VK3tRd2QmSwfI9MuwXUJY rSXSM+7ZMucP9EDQ== To: Sachi King , Maximilian Luz Cc: "H. Peter Anvin" , Ingo Molnar , Borislav Petkov , David Laight , "x86\@kernel.org" , "linux-kernel\@vger.kernel.org" , stable , Andy Shevchenko , Sasha Levin , Tom Lendacky , "Rafael J. Wysocki" Subject: Re: [PATCH] x86/i8259: Work around buggy legacy PIC In-Reply-To: <1952705.8WFvOeMrJb@yuki> References: <87a6otfblh.ffs@nanos.tec.linutronix.de> <87lf8ddjqx.ffs@nanos.tec.linutronix.de> <1952705.8WFvOeMrJb@yuki> Date: Tue, 18 May 2021 17:45:52 +0200 Message-ID: <87a6osdozz.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 Sachi, On Wed, May 19 2021 at 05:58, Sachi King wrote: > On Tuesday, May 18, 2021 9:27:02 AM AEST Thomas Gleixner wrote: >> On Mon, May 17 2021 at 21:25, Maximilian Luz wrote: >> > On 5/17/21 8:40 PM, Thomas Gleixner wrote: >> >> 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? > > I've linked to a dmesg with "apic=verbose" below with the irq 7 override hack > applied. Would you still like a copy without either of these patches > applied? No, that's pretty conclusive. > What's the convention for including a dmesg on the mailing list? I've > included the copy via gist as pasting it into email seems incorrect, but > that's also probably not the correct convention. That's fine. >> Sachi, can you please try the hack below to confirm the above? >> >> It's not meant to be a solution, but it's the most trivial way to >> validate this. > > I've applied that patch and the GPIO driver loads and functions. It's exactly what I expected. So now for a proper solution. After talking to Raphael it seems something like that quirk is the best option we have. I'll try to come up with something less horrible. There is some other minor issue I noticed, which I need to look at as well. Thanks for digging into this and for testing! tglx