Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp528484pxa; Fri, 21 Aug 2020 13:35:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybJIKan33RgsEabs2vFwrhD+Gs6sl9Q7lqqWYnNlM7GlRzCwpxZ5kWqHJjABKx+Z9KWyle X-Received: by 2002:a05:6402:1c07:: with SMTP id ck7mr4774373edb.84.1598042137278; Fri, 21 Aug 2020 13:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598042137; cv=none; d=google.com; s=arc-20160816; b=jsFBp1eRWElyBtROgAB+4yLXIMOLKrrPeFHkE27lczFVS7t2oszPHmJ4/jLnWBVtPO HvyC9ivQ+/i0eykIGRmGDmhSFOP/KRxBsl4spxWOqEOilV/yadQwFzM1r694hYNIsa/C cu/Tc25rrQTccUZeY9gtNdAPMf364o7yKDsXAI/3nYUTx+DitWE+mJPrKwQIM0/VIlMO kefdrFGuVi2ZhkA+2XKU/onVFdZLr8GVomKFAfV7xmpdIZiPNd2eD7yyWmhrIxd54R38 qU9md3B+vGKFz0++TOyF7nGhfshgcXM/b0r9lWuktUREEc8M1U/BNmFNm6ITPq1ySM7q pcVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=F8zWUsgKqY1Th1XG9/o73Jpn2d5rLATbtYCO7azybHc=; b=rdhr4IkRmluOOfwn3n1CFykrgbtP+DXwCYYFrsO1MXfhURkhSUrCxsg3UUfedlq8Qu ZqyFAV2jGb8HdO4QbbMMK7dc0nQOC2WSFVTb+c/GTzrLWWh3/rB+8hGw/N2UM+lrmCki w+DyoVO3H7RE4Lghv25JWsdkQzc6cLLDrAAFkx2B9DDA+iqCUivHIhfrOAoz+1tWONz7 TKrl+rzvgixpUGxHseSoopkPUe6dqxVx0X2P2NDPj5ijgeMqvN02vQLIQus0rFqBz+Zq nQivg0gQtl+jDM55VsarK9AfBZB7oTjTjadFZCY1FMCAsIHKBYK+WoSP2C6nONx6IgKU x5Xw== 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 e21si1902530eje.2.2020.08.21.13.34.58; Fri, 21 Aug 2020 13:35:37 -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 S1726414AbgHUUcv (ORCPT + 99 others); Fri, 21 Aug 2020 16:32:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbgHUUcu (ORCPT ); Fri, 21 Aug 2020 16:32:50 -0400 Received: from tartarus.angband.pl (tartarus.angband.pl [IPv6:2001:41d0:602:dbe::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 616B1C061573; Fri, 21 Aug 2020 13:32:50 -0700 (PDT) Received: from kilobyte by tartarus.angband.pl with local (Exim 4.92) (envelope-from ) id 1k9DiC-0000s1-NO; Fri, 21 Aug 2020 22:32:32 +0200 Date: Fri, 21 Aug 2020 22:32:32 +0200 From: Adam Borowski To: Thomas Gleixner Cc: Bjorn Helgaas , Ingo Molnar , Borislav Petkov , x86@kernel.org, linux-pci@vger.kernel.org, LKML , "Rafael J. Wysocki" , Len Brown Subject: Re: [PATCH] x86/pci: don't set acpi stuff if !CONFIG_ACPI Message-ID: <20200821203232.GA2187@angband.pl> References: <20200820125320.9967-1-kilobyte@angband.pl> <87y2m7rc4a.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87y2m7rc4a.fsf@nanos.tec.linutronix.de> X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 10:13:25PM +0200, Thomas Gleixner wrote: > On Thu, Aug 20 2020 at 14:53, Adam Borowski wrote: > > Found by randconfig builds. > > > > arch/x86/pci/intel_mid_pci.c | 2 ++ > > arch/x86/pci/xen.c | 2 ++ > > --- a/arch/x86/pci/intel_mid_pci.c > > +++ b/arch/x86/pci/intel_mid_pci.c > > @@ -299,8 +299,10 @@ int __init intel_mid_pci_init(void) > > +#ifdef CONFIG_ACPI > > /* Continue with standard init */ > > acpi_noirq_set(); > > +#endif > If CONFIG_ACPI=n then acpi_noirq_set() is an empty stub inline. So I'm > not sure what you are trying to solve here. > > Ah, I see with CONFIG_ACPI=n linux/acpi.h does not include asm/acpi.h so > the stubs are unreachable. So that needs to be fixed and not papered > over with #ifdeffery If I understand Randy Dunlap correctly, he already sent a pair of patches that do what you want. Meow. -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ ⢿⡄⠘⠷⠚⠋⠀ It's time to migrate your Imaginary Protocol from version 4i to 6i. ⠈⠳⣄⠀⠀⠀⠀