From: "zhichang.yuan" <yuanzhichang-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
To: "Rafael J. Wysocki" <rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org>
Cc: catalin.marinas-5wv7dgnIgG8@public.gmane.org,
will.deacon-5wv7dgnIgG8@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
rafael-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
arnd-r2nGTMty4D4@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org,
benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linuxarm-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
minyard-HInyCGIudOg@public.gmane.org,
liviu.dudau-5wv7dgnIgG8@public.gmane.org,
zourongrong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
john.garry-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
gabriele.paoloni-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
zhichang.yuan02-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
kantyzc-9Onoh4P/yGk@public.gmane.org,
xuwei5-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org
Subject: Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose dependency has not met
Date: Thu, 16 Mar 2017 10:21:58 +0800 [thread overview]
Message-ID: <58C9F6C6.4090700@hisilicon.com> (raw)
In-Reply-To: <4600523.rWNiWKrYZC-yvgW3jdyMHm1GS7QM15AGw@public.gmane.org>
Hi, Rafael,
Thanks for your review!
On 2017/3/14 5:24, Rafael J. Wysocki wrote:
> On Monday, March 13, 2017 10:42:41 AM zhichang.yuan wrote:
>> In commit 40e7fcb1929(ACPI: Add _DEP support to fix battery issue on Asus
>> T100TA), the '_DEP' was supported to solve the dependency of Asus battery. But
>> this patch is specific to Asus battery device.
>> In the real world, there are other devices which need the dependency to play the
>> role on the enumeration order. For example, all the Hip06 LPC
>> periperals(IPMI-BT, uart, etc) must be scanned after the LPC host driver
>> finished the probing. So, it makes sense to add a checking whether the ACPI
>> device meet all the dependencies during its enumeration slot, if not, the
>> enumeration will be delayed till all dependency master finish their work.
>>
>> This patch adds the dependency checking in ACPI enumeration, also the
>> corresponding handling to retrigger the Hip06 LPC peripherals' scanning.
>
> AFAICS, _DEP is generally abused in the wild and cannot be made generic. Sorry.
>
>From the ACPI specification, _DEP is for operation region accesses.
You are right...
How about we add a ACPI handler for our LPC bus?? Just like amba.
In this way, we also can solve the issue about LPC enumeration order.
Thanks,
Zhichang
> Thanks,
> Rafael
>
>
> .
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: "zhichang.yuan" <yuanzhichang@hisilicon.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: mark.rutland@arm.com, benh@kernel.crashing.org,
gabriele.paoloni@huawei.com, rafael@kernel.org,
linux-pci@vger.kernel.org, will.deacon@arm.com,
linuxarm@huawei.com, frowand.list@gmail.com,
lorenzo.pieralisi@arm.com, arnd@arndb.de, xuwei5@hisilicon.com,
linux-acpi@vger.kernel.org, linux-serial@vger.kernel.org,
catalin.marinas@arm.com, devicetree@vger.kernel.org,
minyard@acm.org, liviu.dudau@arm.com, john.garry@huawei.com,
robh+dt@kernel.org, bhelgaas@google.com, kantyzc@163.com,
zhichang.yuan02@gmail.com, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, zourongrong@gmail.com
Subject: Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose dependency has not met
Date: Thu, 16 Mar 2017 10:21:58 +0800 [thread overview]
Message-ID: <58C9F6C6.4090700@hisilicon.com> (raw)
In-Reply-To: <4600523.rWNiWKrYZC@aspire.rjw.lan>
Hi, Rafael,
Thanks for your review!
On 2017/3/14 5:24, Rafael J. Wysocki wrote:
> On Monday, March 13, 2017 10:42:41 AM zhichang.yuan wrote:
>> In commit 40e7fcb1929(ACPI: Add _DEP support to fix battery issue on Asus
>> T100TA), the '_DEP' was supported to solve the dependency of Asus battery. But
>> this patch is specific to Asus battery device.
>> In the real world, there are other devices which need the dependency to play the
>> role on the enumeration order. For example, all the Hip06 LPC
>> periperals(IPMI-BT, uart, etc) must be scanned after the LPC host driver
>> finished the probing. So, it makes sense to add a checking whether the ACPI
>> device meet all the dependencies during its enumeration slot, if not, the
>> enumeration will be delayed till all dependency master finish their work.
>>
>> This patch adds the dependency checking in ACPI enumeration, also the
>> corresponding handling to retrigger the Hip06 LPC peripherals' scanning.
>
> AFAICS, _DEP is generally abused in the wild and cannot be made generic. Sorry.
>
>From the ACPI specification, _DEP is for operation region accesses.
You are right...
How about we add a ACPI handler for our LPC bus?? Just like amba.
In this way, we also can solve the issue about LPC enumeration order.
Thanks,
Zhichang
> Thanks,
> Rafael
>
>
> .
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: yuanzhichang@hisilicon.com (zhichang.yuan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose dependency has not met
Date: Thu, 16 Mar 2017 10:21:58 +0800 [thread overview]
Message-ID: <58C9F6C6.4090700@hisilicon.com> (raw)
In-Reply-To: <4600523.rWNiWKrYZC@aspire.rjw.lan>
Hi, Rafael,
Thanks for your review!
On 2017/3/14 5:24, Rafael J. Wysocki wrote:
> On Monday, March 13, 2017 10:42:41 AM zhichang.yuan wrote:
>> In commit 40e7fcb1929(ACPI: Add _DEP support to fix battery issue on Asus
>> T100TA), the '_DEP' was supported to solve the dependency of Asus battery. But
>> this patch is specific to Asus battery device.
>> In the real world, there are other devices which need the dependency to play the
>> role on the enumeration order. For example, all the Hip06 LPC
>> periperals(IPMI-BT, uart, etc) must be scanned after the LPC host driver
>> finished the probing. So, it makes sense to add a checking whether the ACPI
>> device meet all the dependencies during its enumeration slot, if not, the
>> enumeration will be delayed till all dependency master finish their work.
>>
>> This patch adds the dependency checking in ACPI enumeration, also the
>> corresponding handling to retrigger the Hip06 LPC peripherals' scanning.
>
> AFAICS, _DEP is generally abused in the wild and cannot be made generic. Sorry.
>
>From the ACPI specification, _DEP is for operation region accesses.
You are right...
How about we add a ACPI handler for our LPC bus?? Just like amba.
In this way, we also can solve the issue about LPC enumeration order.
Thanks,
Zhichang
> Thanks,
> Rafael
>
>
> .
>
WARNING: multiple messages have this Message-ID (diff)
From: "zhichang.yuan" <yuanzhichang@hisilicon.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: <catalin.marinas@arm.com>, <will.deacon@arm.com>,
<robh+dt@kernel.org>, <frowand.list@gmail.com>,
<bhelgaas@google.com>, <rafael@kernel.org>,
<mark.rutland@arm.com>, <arnd@arndb.de>,
<linux-arm-kernel@lists.infradead.org>,
<linux-acpi@vger.kernel.org>, <lorenzo.pieralisi@arm.com>,
<benh@kernel.crashing.org>, <linux-kernel@vger.kernel.org>,
<linuxarm@huawei.com>, <devicetree@vger.kernel.org>,
<linux-pci@vger.kernel.org>, <linux-serial@vger.kernel.org>,
<minyard@acm.org>, <liviu.dudau@arm.com>, <zourongrong@gmail.com>,
<john.garry@huawei.com>, <gabriele.paoloni@huawei.com>,
<zhichang.yuan02@gmail.com>, <kantyzc@163.com>,
<xuwei5@hisilicon.com>
Subject: Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose dependency has not met
Date: Thu, 16 Mar 2017 10:21:58 +0800 [thread overview]
Message-ID: <58C9F6C6.4090700@hisilicon.com> (raw)
In-Reply-To: <4600523.rWNiWKrYZC@aspire.rjw.lan>
Hi, Rafael,
Thanks for your review!
On 2017/3/14 5:24, Rafael J. Wysocki wrote:
> On Monday, March 13, 2017 10:42:41 AM zhichang.yuan wrote:
>> In commit 40e7fcb1929(ACPI: Add _DEP support to fix battery issue on Asus
>> T100TA), the '_DEP' was supported to solve the dependency of Asus battery. But
>> this patch is specific to Asus battery device.
>> In the real world, there are other devices which need the dependency to play the
>> role on the enumeration order. For example, all the Hip06 LPC
>> periperals(IPMI-BT, uart, etc) must be scanned after the LPC host driver
>> finished the probing. So, it makes sense to add a checking whether the ACPI
>> device meet all the dependencies during its enumeration slot, if not, the
>> enumeration will be delayed till all dependency master finish their work.
>>
>> This patch adds the dependency checking in ACPI enumeration, also the
>> corresponding handling to retrigger the Hip06 LPC peripherals' scanning.
>
> AFAICS, _DEP is generally abused in the wild and cannot be made generic. Sorry.
>
>From the ACPI specification, _DEP is for operation region accesses.
You are right...
How about we add a ACPI handler for our LPC bus?? Just like amba.
In this way, we also can solve the issue about LPC enumeration order.
Thanks,
Zhichang
> Thanks,
> Rafael
>
>
> .
>
next prev parent reply other threads:[~2017-03-16 2:21 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 2:42 [PATCH V7 0/7] LPC: legacy ISA I/O support zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` [PATCH V7 1/7] LIBIO: Introduce a generic PIO mapping method zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` [PATCH V7 2/7] PCI: Apply the new generic I/O management on PCI IO hosts zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-27 19:46 ` dann frazier
2017-03-27 19:46 ` dann frazier
2017-03-27 19:46 ` dann frazier
2017-03-27 19:46 ` dann frazier
2017-03-13 2:42 ` [PATCH V7 3/7] OF: Add missing I/O range exception for indirect-IO devices zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
[not found] ` <1489372963-9000-1-git-send-email-yuanzhichang-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
2017-03-13 2:42 ` [PATCH V7 4/7] LPC: Support the device-tree LPC host on Hip06/Hip07 zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose dependency has not met zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 21:24 ` Rafael J. Wysocki
2017-03-13 21:24 ` Rafael J. Wysocki
2017-03-14 8:14 ` Gabriele Paoloni
2017-03-14 8:14 ` Gabriele Paoloni
2017-03-14 8:14 ` Gabriele Paoloni
[not found] ` <4600523.rWNiWKrYZC-yvgW3jdyMHm1GS7QM15AGw@public.gmane.org>
2017-03-16 2:21 ` zhichang.yuan [this message]
2017-03-16 2:21 ` zhichang.yuan
2017-03-16 2:21 ` zhichang.yuan
2017-03-16 2:21 ` zhichang.yuan
2017-03-16 10:13 ` Arnd Bergmann
2017-03-16 10:13 ` Arnd Bergmann
2017-03-16 10:13 ` Arnd Bergmann
2017-03-16 10:13 ` Arnd Bergmann
2017-03-16 14:56 ` zhichang.yuan
2017-03-16 14:56 ` zhichang.yuan
2017-03-16 14:56 ` zhichang.yuan
2017-03-16 14:56 ` zhichang.yuan
2017-03-16 16:13 ` Gabriele Paoloni
2017-03-16 16:13 ` Gabriele Paoloni
2017-03-16 16:13 ` Gabriele Paoloni
2017-03-16 16:13 ` Gabriele Paoloni
2017-03-24 0:23 ` Gabriele Paoloni
2017-03-24 0:23 ` Gabriele Paoloni
2017-03-24 0:23 ` Gabriele Paoloni
2017-03-24 0:23 ` Gabriele Paoloni
2017-03-14 5:11 ` kbuild test robot
2017-03-14 5:11 ` kbuild test robot
2017-03-14 5:11 ` kbuild test robot
2017-03-14 6:10 ` kbuild test robot
2017-03-14 6:10 ` kbuild test robot
2017-03-14 6:10 ` kbuild test robot
2017-03-13 2:42 ` [PATCH V7 7/7] LPC: Add the ACPI LPC support zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
[not found] ` <1489372963-9000-8-git-send-email-yuanzhichang-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
2017-03-14 5:25 ` kbuild test robot
2017-03-14 5:25 ` kbuild test robot
2017-03-14 5:25 ` kbuild test robot
2017-03-14 5:25 ` kbuild test robot
2017-03-13 2:42 ` [PATCH V7 6/7] LIBIO: Support the dynamically logical PIO registration of ACPI host I/O zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-13 2:42 ` zhichang.yuan
2017-03-14 4:27 ` kbuild test robot
2017-03-14 4:27 ` kbuild test robot
2017-03-14 4:27 ` kbuild test robot
2017-03-14 4:27 ` kbuild test robot
2017-03-14 5:10 ` kbuild test robot
2017-03-14 5:10 ` kbuild test robot
2017-03-14 5:10 ` kbuild test robot
2017-03-14 5:10 ` kbuild test robot
2017-03-14 8:39 ` [PATCH V7 0/7] LPC: legacy ISA I/O support Arnd Bergmann
2017-03-14 8:39 ` Arnd Bergmann
2017-03-14 8:39 ` Arnd Bergmann
[not found] ` <CAK8P3a1f33ipk3Q8+wj9L6zP=ccn_AuhTfV0CC0+wAqrO-2beg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-15 4:05 ` zhichang.yuan
2017-03-15 4:05 ` zhichang.yuan
2017-03-15 4:05 ` zhichang.yuan
2017-03-15 4:05 ` zhichang.yuan
2017-03-15 13:23 ` Arnd Bergmann
2017-03-15 13:23 ` Arnd Bergmann
2017-03-15 13:23 ` Arnd Bergmann
2017-03-15 13:23 ` Arnd Bergmann
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=58C9F6C6.4090700@hisilicon.com \
--to=yuanzhichang-c8/m+/jpzteamjb+lgu22q@public.gmane.org \
--cc=arnd-r2nGTMty4D4@public.gmane.org \
--cc=benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org \
--cc=bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=catalin.marinas-5wv7dgnIgG8@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=gabriele.paoloni-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=john.garry-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=kantyzc-9Onoh4P/yGk@public.gmane.org \
--cc=linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linuxarm-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=liviu.dudau-5wv7dgnIgG8@public.gmane.org \
--cc=lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=minyard-HInyCGIudOg@public.gmane.org \
--cc=rafael-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=will.deacon-5wv7dgnIgG8@public.gmane.org \
--cc=xuwei5-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
--cc=zhichang.yuan02-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=zourongrong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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.