Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1371377pxa; Thu, 20 Aug 2020 09:32:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp5cSF/1LCFV7sTnRVU7cZ8lPGe7O+pLjjtw+EHFc7c8h8I9ZDt3sB2pKQWOsnEynsEQTo X-Received: by 2002:a17:906:b2d0:: with SMTP id cf16mr4036547ejb.476.1597941138083; Thu, 20 Aug 2020 09:32:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597941138; cv=none; d=google.com; s=arc-20160816; b=O27S+O/krJ7xRvmrscHi0uhllX8rlVRsTNHQm5Pted0vVvw4YtaXM+gjo+sYmWk5AU 3cZOWoqAMUmHliLxeybHSfhqE1A03qqGs/YEDsETzbL1hnH+1O97qlUAUo8L4W8w1uPL o98oswTCG9UhZxv9uFkP1LJPLA32ktoy0tdq3XgHsx8uaDJHIOSzbP9Fxuf6IGIOj+ij pT2pglVCeqTyUh+++nf9ka74PUsYXWz9dh+uOYq79p7inum4jBWQ2tWN5FbzKLydw7WO p487vD8OQBTmMZhPXL8YNykX3KkMquOou+HRsCyjkhqWCGupYApg3O1IEk5CczPM/fuH Fm0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/gFfZIvWRZ4wg4R/uBBAuZhKNYjvYxxfxHZSYVxIT+Q=; b=AQQA1yEfk0WazgUqhW90urAtxwmT5aEtdYtvnyNx2pnFzgVC9rIqOmB+0cDWr++C7E mAvPj0rRBF96dFrbt2RLNQ0sanvqHEmYKhbksEe+8C9y240XWXMy9a7NtNjNeTgQFVBG vdRyMbVTS6GjwusZAplqjQ+DsB0zkupr8ZorY1R1FiB0BSYgU1meaZdhvQzbDOwNkQ1m 0QWB38HWBLyPcBpMf91dzbgFYQjG1RAflPDGNdv7ZtcQxFN6p7xNHOxslbr5nOa+VGs+ t83OMlepXg9gtJvUBkeEPMnNeX2VkMs8My3ZyAS+YEKiV72uJV4NEjsA/vDpWEirVOys WZoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=QT6mSW+J; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si1611943edq.539.2020.08.20.09.31.52; Thu, 20 Aug 2020 09:32:18 -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=@google.com header.s=20161025 header.b=QT6mSW+J; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728488AbgHTPYr (ORCPT + 99 others); Thu, 20 Aug 2020 11:24:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728433AbgHTPYm (ORCPT ); Thu, 20 Aug 2020 11:24:42 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31810C061385 for ; Thu, 20 Aug 2020 08:24:42 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id q9so1756330oth.5 for ; Thu, 20 Aug 2020 08:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=/gFfZIvWRZ4wg4R/uBBAuZhKNYjvYxxfxHZSYVxIT+Q=; b=QT6mSW+Jn8IOX6L4osdroRSC5BZInGyhbEx/g8kE7d9yyhODCp+9Q2hmSjS47By6XX KQVwtChOySNvSJCdQ/o6Dj+2NPYS2WmSLGsHnIfgA5TYlPFL+zYXJc31maYK/uiz+soR tnLx2iR5RsQBpnrzAzpIHMUY5iWHi849WT3NQfM63n4BYFdJCuj0OpjlSwLxfyzcsLNu ZuGqZIZ75TTpoQvBSbPbCMt3ldbA6Kq3UZfZCTVcdhG3+D3KOdX3LrtdZM5ELN+4uRV0 oMQ56H35xZoXUDPWMRPms/prbldwAQEA5hgmAG0n5wZg41Re6bMqd2eLJxh2dErw6/ka 2vnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=/gFfZIvWRZ4wg4R/uBBAuZhKNYjvYxxfxHZSYVxIT+Q=; b=K9pj9/y7sMLDri8hRrFheeye9pXjGL5IdApwQLsUOvTRVXCb/qsDSWYX2pFcjob8eI Zn74db19scHwJKzI32S0UTw+do5H3t2IkHVVfLyAAkauDFkkeM2cJvN9vOGnl6/YoH8L oSCH9QFD2yzLd4KMs7M+6NQksq/URgQ5YPn/ZwIANbEnxeVd8XTj/kjHmCs04x0uElB9 eF7G4lPNGnqk87f5saw13j3iGSfrze73ltTV1vqmEEQ5/L0M5J7a8gy19HsFZ9AhzBAp tN9GlSwEAoVM/nevZzCj+nDpwP+cwnVRIZcIqH/bXnw+GINP9pAU4M8s2J3qKzH18AuF ZBFg== X-Gm-Message-State: AOAM531vT0K8WKxGeZQn2h45/cNq6YK3B0yA4StNQ9Ur52mtvmqNb3uN TAV/RI2eVtK4QTkemZo1uJQjhjjuoXGEaU43QWQznQ== X-Received: by 2002:a9d:7f8e:: with SMTP id t14mr2620491otp.63.1597937081310; Thu, 20 Aug 2020 08:24:41 -0700 (PDT) MIME-Version: 1.0 References: <20952e3e-6b06-11e4-aff7-07dfbdc5ee18@infradead.org> <810f1b0e-0adf-c316-f23c-172338f9ef0a@linux.intel.com> <2b14b6be-a031-a28b-6585-8307d2fdae21@infradead.org> In-Reply-To: <2b14b6be-a031-a28b-6585-8307d2fdae21@infradead.org> From: Jesse Barnes Date: Thu, 20 Aug 2020 08:24:30 -0700 Message-ID: Subject: Re: [PATCH] x86/pci: fix intel_mid_pci.c build error when ACPI is not enabled To: Randy Dunlap Cc: Andy Shevchenko , Arjan van de Ven , LKML , linux-pci , Bjorn Helgaas , Len Brown , Jacob Pan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 19, 2020 at 9:08 PM Randy Dunlap wrote: > > On 8/13/20 1:55 PM, Andy Shevchenko wrote: > > On Thu, Aug 13, 2020 at 11:31 PM Arjan van de Ven wrote: > >> On 8/13/2020 12:58 PM, Randy Dunlap wrote: > >>> From: Randy Dunlap > >>> > >>> Fix build error when CONFIG_ACPI is not set/enabled by adding > >>> the header file which contains a stub for the function > >>> in the build error. > >>> > >>> ../arch/x86/pci/intel_mid_pci.c: In function =E2=80=98intel_mid_pci_i= nit=E2=80=99: > >>> ../arch/x86/pci/intel_mid_pci.c:303:2: error: implicit declaration of= function =E2=80=98acpi_noirq_set=E2=80=99; did you mean =E2=80=98acpi_irq_= get=E2=80=99? [-Werror=3Dimplicit-function-declaration] > >>> acpi_noirq_set(); > > > > Reviewed-by: Andy Shevchenko > > Thanks! > > also: > Reviewed-by: Jesse Barnes > > > > >>> Signed-off-by: Randy Dunlap > >>> Cc: Jacob Pan > >>> Cc: Len Brown > >>> Cc: Bjorn Helgaas > >>> Cc: Jesse Barnes > >>> Cc: Arjan van de Ven > >>> Cc: linux-pci@vger.kernel.org > >>> --- > >>> Found in linux-next, but applies to/exists in mainline also. > >>> > >>> Alternative.1: X86_INTEL_MID depends on ACPI > >>> Alternative.2: drop X86_INTEL_MID support > >> > >> at this point I'd suggest Alternative 2; the products that needed that= (past tense, that technology > >> is no longer need for any newer products) never shipped in any form wh= ere a 4.x or 5.x kernel could > >> work, and they are also all locked down... > > > > This is not true. We have Intel Edison which runs nicely on vanilla > > (not everything, some is still requiring a couple of patches, but most > > of it works out-of-the-box). > > > > And for the record, I have been working on removing quite a pile of > > code (~13kLOCs to the date IIRC) in MID area. Just need some time to > > fix Edison watchdog for that. > > > I didn't see a consensus on this patch, although Andy says it's still nee= ded, > so it shouldn't be removed (yet). Maybe his big removal patch can remove = it > later. For now can we just fix the build error? Yeah I think it makes sense to land it. Doesn't get in the way of a future removal and fixes a build error in the meantime. Jesse