All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Nowicki <tn@semihalf.com>
To: Gabriele Paoloni <gabriele.paoloni@huawei.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: "linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
	"linaro-acpi@lists.linaro.org" <linaro-acpi@lists.linaro.org>,
	"Liviu.Dudau@arm.com" <Liviu.Dudau@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"will.deacon@arm.com" <will.deacon@arm.com>,
	Wangyijing <wangyijing@huawei.com>,
	"Wangzhou (B)" <wangzhou1@hisilicon.com>,
	"hanjun.guo@linaro.org" <hanjun.guo@linaro.org>,
	"liudongdong (C)" <liudongdong3@huawei.com>,
	"bhelgaas@google.com" <bhelgaas@google.com>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	"xuwei (O)" <xuwei5@hisilicon.com>,
	"Liguozhu (Kenneth)" <liguozhu@hisilicon.com>,
	"jiang.liu@linux.intel.com" <jiang.liu@linux.intel.com>
Subject: Re: [RFC PATCH 1/2] PCI/ACPI: Add ACPI support for non ECAM Host Bridge Controllers
Date: Fri, 11 Dec 2015 15:17:18 +0100	[thread overview]
Message-ID: <566ADAEE.8020408@semihalf.com> (raw)
In-Reply-To: <EE11001F9E5DDD47B7634E2F8A612F2E1EBE4494@lhreml503-mbs>

On 04.12.2015 17:22, Gabriele Paoloni wrote:
> Hi Lorenzo, Arnd (thanks to you both for looking at this)
>
>> -----Original Message-----
>> From: Arnd Bergmann [mailto:arnd@arndb.de]
>> Sent: 04 December 2015 13:57
>> To: Lorenzo Pieralisi
>> Cc: linux-arm-kernel@lists.infradead.org; Gabriele Paoloni; linux-
>> acpi@vger.kernel.org; linux-pci@vger.kernel.org;
>> catalin.marinas@arm.com; linaro-acpi@lists.linaro.org;
>> Liviu.Dudau@arm.com; linux-kernel@vger.kernel.org; will.deacon@arm.com;
>> Wangyijing; Wangzhou (B); hanjun.guo@linaro.org; liudongdong (C);
>> tn@semihalf.com; bhelgaas@google.com; tglx@linutronix.de; xuwei (O);
>> Liguozhu (Kenneth); jiang.liu@linux.intel.com
>> Subject: Re: [RFC PATCH 1/2] PCI/ACPI: Add ACPI support for non ECAM
>> Host Bridge Controllers
>>
>> On Friday 04 December 2015 12:04:04 Lorenzo Pieralisi wrote:
>>> On Thu, Dec 03, 2015 at 09:58:14PM +0100, Arnd Bergmann wrote:
>>
>>>> pci-host-generic.c is just for standard PCI implementations, and it
>>>> has zero code that would be shared with ACPI: Most of the
>>>> implementation deals with parsing DT properties, and all that code
>>>> is entirely differnet for ACPI and already exists in drivers/acpi.
>>>> The one thing that could be shared is the ECAM config space access,
>>>> but ACPI already needs something else here because it requires
>>>> access to the config space at early boot time, way before we even
>> load that driver, see raw_pci_read/raw_pci_write.
>>>
>>> Yes, I agree, basically ACPI has already a concept of "host generic"
>>> layer, there is not much point in "merging" it with the
>>> pci-host-generic.c driver. One thing is for certain: nothing in this
>>> and Tomasz patchsets is
>>> arm64 specific, and should not live in arch/arm64.
>
> Ok so now I guess Tomasz is aware of this and probably he is reworking
> his patchset to move his code into "drivers/acpi/pci_*",
> Tomasz can you confirm this?

Yes, working on it now and sorry for late response.

Tomasz

WARNING: multiple messages have this Message-ID (diff)
From: tn@semihalf.com (Tomasz Nowicki)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 1/2] PCI/ACPI: Add ACPI support for non ECAM Host Bridge Controllers
Date: Fri, 11 Dec 2015 15:17:18 +0100	[thread overview]
Message-ID: <566ADAEE.8020408@semihalf.com> (raw)
In-Reply-To: <EE11001F9E5DDD47B7634E2F8A612F2E1EBE4494@lhreml503-mbs>

On 04.12.2015 17:22, Gabriele Paoloni wrote:
> Hi Lorenzo, Arnd (thanks to you both for looking at this)
>
>> -----Original Message-----
>> From: Arnd Bergmann [mailto:arnd at arndb.de]
>> Sent: 04 December 2015 13:57
>> To: Lorenzo Pieralisi
>> Cc: linux-arm-kernel at lists.infradead.org; Gabriele Paoloni; linux-
>> acpi at vger.kernel.org; linux-pci at vger.kernel.org;
>> catalin.marinas at arm.com; linaro-acpi at lists.linaro.org;
>> Liviu.Dudau at arm.com; linux-kernel at vger.kernel.org; will.deacon at arm.com;
>> Wangyijing; Wangzhou (B); hanjun.guo at linaro.org; liudongdong (C);
>> tn at semihalf.com; bhelgaas at google.com; tglx at linutronix.de; xuwei (O);
>> Liguozhu (Kenneth); jiang.liu at linux.intel.com
>> Subject: Re: [RFC PATCH 1/2] PCI/ACPI: Add ACPI support for non ECAM
>> Host Bridge Controllers
>>
>> On Friday 04 December 2015 12:04:04 Lorenzo Pieralisi wrote:
>>> On Thu, Dec 03, 2015 at 09:58:14PM +0100, Arnd Bergmann wrote:
>>
>>>> pci-host-generic.c is just for standard PCI implementations, and it
>>>> has zero code that would be shared with ACPI: Most of the
>>>> implementation deals with parsing DT properties, and all that code
>>>> is entirely differnet for ACPI and already exists in drivers/acpi.
>>>> The one thing that could be shared is the ECAM config space access,
>>>> but ACPI already needs something else here because it requires
>>>> access to the config space at early boot time, way before we even
>> load that driver, see raw_pci_read/raw_pci_write.
>>>
>>> Yes, I agree, basically ACPI has already a concept of "host generic"
>>> layer, there is not much point in "merging" it with the
>>> pci-host-generic.c driver. One thing is for certain: nothing in this
>>> and Tomasz patchsets is
>>> arm64 specific, and should not live in arch/arm64.
>
> Ok so now I guess Tomasz is aware of this and probably he is reworking
> his patchset to move his code into "drivers/acpi/pci_*",
> Tomasz can you confirm this?

Yes, working on it now and sorry for late response.

Tomasz

  reply	other threads:[~2015-12-11 14:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 15:19 [RFC PATCH 0/2] PCI/ACPI: HiSi: Add ACPI support for Hip05 PCIe Host Bridge Controller Gabriele Paoloni
2015-12-03 15:19 ` Gabriele Paoloni
2015-12-03 15:19 ` Gabriele Paoloni
2015-12-03 15:19 ` [RFC PATCH 1/2] PCI/ACPI: Add ACPI support for non ECAM Host Bridge Controllers Gabriele Paoloni
2015-12-03 15:19   ` Gabriele Paoloni
2015-12-03 15:19   ` Gabriele Paoloni
2015-12-03 17:58   ` Lorenzo Pieralisi
2015-12-03 17:58     ` Lorenzo Pieralisi
2015-12-03 20:58     ` Arnd Bergmann
2015-12-03 20:58       ` Arnd Bergmann
2015-12-04 12:04       ` Lorenzo Pieralisi
2015-12-04 12:04         ` Lorenzo Pieralisi
2015-12-04 13:57         ` Arnd Bergmann
2015-12-04 13:57           ` Arnd Bergmann
2015-12-04 16:22           ` Gabriele Paoloni
2015-12-04 16:22             ` Gabriele Paoloni
2015-12-11 14:17             ` Tomasz Nowicki [this message]
2015-12-11 14:17               ` Tomasz Nowicki
2015-12-04 20:46       ` Jeremy Linton
2015-12-04 20:46         ` Jeremy Linton
2015-12-04 21:34         ` Arnd Bergmann
2015-12-04 21:34           ` Arnd Bergmann
2015-12-04 22:48           ` Jeremy Linton
2015-12-04 22:48             ` Jeremy Linton
2015-12-04 12:47     ` Gabriele Paoloni
2015-12-04 12:47       ` Gabriele Paoloni
2015-12-04 12:47       ` Gabriele Paoloni
2015-12-04 20:38   ` Jeremy Linton
2015-12-04 20:38     ` Jeremy Linton
2015-12-03 15:19 ` [RFC PATCH 2/2] PCI/ACPI: HiSi: Add ACPI support for HiSi PCIe Host Bridge Gabriele Paoloni
2015-12-03 15:19   ` Gabriele Paoloni
2015-12-03 15:19   ` Gabriele Paoloni

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=566ADAEE.8020408@semihalf.com \
    --to=tn@semihalf.com \
    --cc=Liviu.Dudau@arm.com \
    --cc=arnd@arndb.de \
    --cc=bhelgaas@google.com \
    --cc=catalin.marinas@arm.com \
    --cc=gabriele.paoloni@huawei.com \
    --cc=hanjun.guo@linaro.org \
    --cc=jiang.liu@linux.intel.com \
    --cc=liguozhu@hisilicon.com \
    --cc=linaro-acpi@lists.linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=liudongdong3@huawei.com \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=tglx@linutronix.de \
    --cc=wangyijing@huawei.com \
    --cc=wangzhou1@hisilicon.com \
    --cc=will.deacon@arm.com \
    --cc=xuwei5@hisilicon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.