public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: linux-pci@vger.kernel.org,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>,
	linux-pm@lists.linux-foundation.org
Subject: Re: [PATCH 4/8] PCI / PCIe: Ask BIOS for control of all native services at once (v6)
Date: Fri, 6 Aug 2010 12:47:23 +0200	[thread overview]
Message-ID: <201008061247.23581.rjw@sisk.pl> (raw)
In-Reply-To: <4C5B6660.9030507@jp.fujitsu.com>

On Friday, August 06, 2010, Hidetoshi Seto wrote:
> Rafael,
> 
> I found that following 2 hunks break kernel build with O= option. 
> 
> (2010/08/03 6:56), Rafael J. Wysocki wrote:
> > Index: linux-2.6/drivers/pci/pcie/Makefile
> > ===================================================================
> > --- linux-2.6.orig/drivers/pci/pcie/Makefile
> > +++ linux-2.6/drivers/pci/pcie/Makefile
> > @@ -6,10 +6,11 @@
> >  obj-$(CONFIG_PCIEASPM)		+= aspm.o
> >  
> >  pcieportdrv-y			:= portdrv_core.o portdrv_pci.o portdrv_bus.o
> > +pcieportdrv-$(CONFIG_ACPI)	+= portdrv_acpi.o
> >  
> >  obj-$(CONFIG_PCIEPORTBUS)	+= pcieportdrv.o
> >  
> >  # Build PCI Express AER if needed
> >  obj-$(CONFIG_PCIEAER)		+= aer/
> >  
> > -obj-$(CONFIG_PCIE_PME) += pme/
> > +obj-$(CONFIG_PCIE_PME) += pme/pcie_pme.o
> 
> and
> 
> > Index: linux-2.6/drivers/pci/pcie/pme/Makefile
> > ===================================================================
> > --- linux-2.6.orig/drivers/pci/pcie/pme/Makefile
> > +++ /dev/null
> > @@ -1,8 +0,0 @@
> > -#
> > -# Makefile for PCI-Express Root Port PME signaling driver
> > -#
> > -
> > -obj-$(CONFIG_PCIE_PME) += pmedriver.o
> > -
> > -pmedriver-objs := pcie_pme.o
> > -pmedriver-$(CONFIG_ACPI) += pcie_pme_acpi.o
> 
> $ make -j12 O=../gitbuild/
>   GEN     /home/seto/gitbuild/Makefile
>   CHK     include/linux/version.h
>   Using /home/seto/GIT-linux as source for kernel
>   CHK     include/generated/utsrelease.h
>   CALL    /home/seto/GIT-linux/scripts/checksyscalls.sh
>   CHK     include/generated/compile.h
>   CC      drivers/pci/pcie/pme/pcie_pme.o
> Assembler messages:
> Fatal error: can't create drivers/pci/pcie/pme/.tmp_pcie_pme.o: No such file or directory
> make[4]: *** [drivers/pci/pcie/pme/pcie_pme.o] Error 2
> make[3]: *** [drivers/pci/pcie] Error 2
> make[2]: *** [drivers/pci] Error 2
> make[1]: *** [drivers] Error 2
> make: *** [sub-make] Error 2
> $
> 
> It seems that the error is because directory pme/ is not created
> in the working tree.

Hmm.  That seems to be correct, but I'm not sure how to resolve it.

If I move pcie_pme.c to pcie/ in the same patch, the changes in that file
will not be clearly visible.

Perhaps I'll add a separate patch that will remove the Makefile from
pme/ and move pcie_pme.c to pcie/.

Thanks,
Rafael

  parent reply	other threads:[~2010-08-06 10:47 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201008022351.31406.rjw@sisk.pl>
2010-08-02 21:53 ` [PATCH 1/8] ACPI / PCI: Introduce acpi_pci_osc_control_query() Rafael J. Wysocki
2010-08-02 21:54 ` [PATCH 2/8] PCI / PCIe/ AER: Introduce pci_aer_available() Rafael J. Wysocki
2010-08-02 21:55 ` [PATCH 3/8] PCI / PCIe: Introduce commad line switch for disabling port services Rafael J. Wysocki
2010-08-02 21:56 ` [PATCH 4/8] PCI / PCIe: Ask BIOS for control of all native services at once (v6) Rafael J. Wysocki
2010-08-02 21:57 ` [PATCH 5/8] PCI / PCIe: Disable PCIe port services during port initialization Rafael J. Wysocki
2010-08-02 21:58 ` [PATCH 6/8] PCI / PCIe: Remove the port driver module exit routine Rafael J. Wysocki
2010-08-02 21:59 ` [PATCH 7/8] ACPI / PCI: Do not preserve _OSC control bits returned by a query (v2) Rafael J. Wysocki
2010-08-02 22:00 ` [PATCH 8/8] ACPI / PCI: Reorder checks in acpi_pci_osc_control_set() Rafael J. Wysocki
     [not found] ` <201008022354.46369.rjw@sisk.pl>
2010-08-03  0:46   ` [PATCH 2/8] PCI / PCIe/ AER: Introduce pci_aer_available() Hidetoshi Seto
     [not found]   ` <4C5766F2.4010605@jp.fujitsu.com>
2010-08-03  9:28     ` Rafael J. Wysocki
     [not found]     ` <201008031128.02437.rjw@sisk.pl>
2010-08-03 20:59       ` Rafael J. Wysocki
2010-08-03  9:41   ` Jike Song
     [not found]   ` <AANLkTimZV8KSkAR5Tc0nDK=TmzX1edKiJ9qSSgZ8v0h9@mail.gmail.com>
2010-08-03 19:50     ` Rafael J. Wysocki
     [not found] ` <201008022356.31166.rjw@sisk.pl>
2010-08-03  1:14   ` [PATCH 4/8] PCI / PCIe: Ask BIOS for control of all native services at once (v6) Hidetoshi Seto
     [not found]   ` <4C576D60.1070404@jp.fujitsu.com>
2010-08-03 21:01     ` Rafael J. Wysocki
2010-08-06  1:33   ` Hidetoshi Seto
     [not found]   ` <4C5B6660.9030507@jp.fujitsu.com>
2010-08-06 10:47     ` Rafael J. Wysocki [this message]
2010-08-03  4:51 ` [PATCH 0/8] ACPI / PCI / PCIe: Rework _OSC handling (v2) Kenji Kaneshige
     [not found] ` <201008022353.04353.rjw@sisk.pl>
2010-08-03  4:52   ` [PATCH 1/8] ACPI / PCI: Introduce acpi_pci_osc_control_query() Kenji Kaneshige
2010-08-03  5:04   ` Kenji Kaneshige
     [not found]   ` <4C57A071.2090902@jp.fujitsu.com>
2010-08-03  9:24     ` Rafael J. Wysocki
     [not found]   ` <4C57A346.6020003@jp.fujitsu.com>
2010-08-03  9:27     ` Rafael J. Wysocki
     [not found]     ` <201008031127.12117.rjw@sisk.pl>
2010-08-03 20:58       ` Rafael J. Wysocki
     [not found]       ` <201008032258.40838.rjw@sisk.pl>
2010-08-04  4:28         ` Kenji Kaneshige
     [not found]         ` <4C58EC6D.4050902@jp.fujitsu.com>
2010-08-04 23:37           ` Rafael J. Wysocki
     [not found]           ` <201008050137.15082.rjw@sisk.pl>
2010-08-05 23:46             ` Rafael J. Wysocki
     [not found] ` <201008022359.33177.rjw@sisk.pl>
2010-08-03  4:52   ` [PATCH 7/8] ACPI / PCI: Do not preserve _OSC control bits returned by a query (v2) Kenji Kaneshige
     [not found]   ` <4C57A09B.9070206@jp.fujitsu.com>
2010-08-03  7:13     ` Hidetoshi Seto
     [not found]     ` <4C57C182.7060407@jp.fujitsu.com>
2010-08-03  9:33       ` Rafael J. Wysocki
     [not found]       ` <201008031133.37471.rjw@sisk.pl>
2010-08-03 21:02         ` Rafael J. Wysocki
     [not found]         ` <201008032302.33778.rjw@sisk.pl>
2010-08-04  5:46           ` Kenji Kaneshige
     [not found]           ` <4C58FE9A.1040607@jp.fujitsu.com>
2010-08-04  8:41             ` Hidetoshi Seto
2010-08-04  8:43             ` Hidetoshi Seto
     [not found]             ` <4C59284F.9080808@jp.fujitsu.com>
2010-08-04  9:39               ` Kenji Kaneshige
2010-08-04 10:38               ` Rafael J. Wysocki
     [not found]               ` <4C593547.2040700@jp.fujitsu.com>
2010-08-04 12:15                 ` Rafael J. Wysocki
2010-08-05  3:38                   ` Hidetoshi Seto
     [not found]             ` <4C5927CB.4070705@jp.fujitsu.com>
2010-08-04  9:23               ` Kenji Kaneshige
2010-08-04 10:29               ` Rafael J. Wysocki
     [not found]               ` <201008041229.19848.rjw@sisk.pl>
2010-08-04 23:51                 ` Rafael J. Wysocki
     [not found]                 ` <201008050151.27501.rjw@sisk.pl>
2010-08-05  3:40                   ` Hidetoshi Seto
     [not found]                   ` <4C5A32A9.6010008@jp.fujitsu.com>
2010-08-05 14:25                     ` Rafael J. Wysocki
     [not found]                     ` <201008051625.07190.rjw@sisk.pl>
2010-08-06  1:28                       ` Hidetoshi Seto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008061247.23581.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=jbarnes@virtuousgeek.org \
    --cc=kaneshige.kenji@jp.fujitsu.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=seto.hidetoshi@jp.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox