From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF3C8C433ED for ; Tue, 18 May 2021 15:46:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C66FD61361 for ; Tue, 18 May 2021 15:46:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350315AbhERPsL (ORCPT ); Tue, 18 May 2021 11:48:11 -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