* Re: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
2006-06-27 12:02 ` castet.matthieu
@ 2006-06-27 14:19 ` Uwe Bugla
2006-06-28 1:02 ` Shaohua Li
1 sibling, 0 replies; 9+ messages in thread
From: Uwe Bugla @ 2006-06-27 14:19 UTC (permalink / raw)
To: castet.matthieu, shaohua.li
Cc: bjorn.helgaas, linux-acpi, len.brown, akpm, ambx1
-------- Original-Nachricht --------
Datum: Tue, 27 Jun 2006 14:02:26 +0200
Von: castet.matthieu@free.fr
An: Shaohua Li <shaohua.li@intel.com>
Betreff: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> Selon Shaohua Li <shaohua.li@intel.com>:
>
> >
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c4bb6f5ad968540d7f9619565bacd18d7419b85f
> > Thanks and sorry I didn't find the issue before. We'd better blacklist
> > root bridge. I saw at lest one BIOS (IA64 box) didn't assign correct
> > producer/consumer flag to root bridge resources. Blacklist it is much
> > safer.
>
> Is only PNP0A03 is producer type in __all__ ACPI possible devices ?
> If not we will have the same problem with others devices...
>
> I don't think blacklist is the solution : pnpacpi should be able to handle
> all
> ressources types : we should complete the implementation instead of
> blacklist
> devices our implementation doesn't support.
>
> If there are broken ACPI bios, there should be firmware update, a patched
> dsdt
> or a quirk, but no "quirk and no generic solution".
>
> To be honest I am bored about this acpi stuff : there are no reply when
> you ask
> questions or propose things, it takes months to have a patch, there are
> lot's
> of broken ACPI bios, ...
>
> For example http://bugzilla.kernel.org/show_bug.cgi?id=3358 I submited 1,5
> years
> ago is still present in the kernel...
>
>
> Matthieu CASTET
>
> --------
>
> "The fact that ACPI was designed by a group of monkeys high on LSD, and is
> some
> of the worst designs in the industry obviously makes running it at _any_
> point
> pretty damn ugly. " (July 31, 2005) Linus Torvalds
Salut Matthieu, hi everybody else wanting to listen,
A thousand Thanks for:
a. your excellent work in doing this patch. I did not test mm3 right now, but I swear I will do that as soosn as possible.
b. this very good citation from Linus hitting it to the point very exactly (Is the Microsoft team meant by those acid trip monkeys??? I simply do not know who the fuck invented this rubbish!).
"To be honest I am bored about this acpi stuff : there are no reply when
you ask questions or propose things, it takes months to have a patch, there are lot's of broken ACPI bios, ..."
But you do not mean me personally, do you? I spent couples of days on this sucking shit NOT to "fight down" anything or anybody (like Bjorn stated), but to help finding a solution in this very sucking issue.
As a cross-platform solution is appreciated I understand your exhaust and frustration very well. Blacklisting is NO good solution at all, is it?
Furthermore I really dislike those abbreviations like "NAK", "IMHO" etc.
And I´d like to repeat my proposal:
This stuff should NOT be in the mm-branch, but in a RC-candidate of the main vanilla: There would be much more traffic on this issue and a significant higher motivation for resolving that so that everyone is satisfied. But Andrew will never agree on this, will he ever?
Cheers everybody, just smile now
Uwe
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
2006-06-28 1:02 ` Shaohua Li
@ 2006-06-28 8:57 ` Uwe Bugla
2006-06-28 16:55 ` Bjorn Helgaas
1 sibling, 0 replies; 9+ messages in thread
From: Uwe Bugla @ 2006-06-28 8:57 UTC (permalink / raw)
To: Shaohua Li, castet.matthieu
Cc: bjorn.helgaas, linux-acpi, len.brown, akpm, ambx1
-------- Original-Nachricht --------
Datum: Wed, 28 Jun 2006 09:02:48 +0800
Von: Shaohua Li <shaohua.li@intel.com>
An: castet.matthieu@free.fr
Betreff: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> On Tue, 2006-06-27 at 14:02 +0200, castet.matthieu@free.fr wrote:
> > Selon Shaohua Li <shaohua.li@intel.com>:
> >
> > >
> >
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c4bb6f5ad968540d7f9619565bacd18d7419b85f
> > > Thanks and sorry I didn't find the issue before. We'd better blacklist
> > > root bridge. I saw at lest one BIOS (IA64 box) didn't assign correct
> > > producer/consumer flag to root bridge resources. Blacklist it is much
> > > safer.
> >
> > Is only PNP0A03 is producer type in __all__ ACPI possible devices ?
> > If not we will have the same problem with others devices...
> >
> > I don't think blacklist is the solution : pnpacpi should be able to
> handle all
> > ressources types : we should complete the implementation instead of
> blacklist
> > devices our implementation doesn't support.
> >
> > If there are broken ACPI bios, there should be firmware update, a
> patched dsdt
> > or a quirk, but no "quirk and no generic solution".
> >>From my understanding, if the device is really a PNP device its resource
> should not be producer.
> Or could we take this way, merge both patches (both patches are good to
> me), which should be safer. Anyway, it doesn't make sense to export root
> bridge to pnp layer to me.
>
> Thanks,
> Shaohua
I tested the patch without blacklisting the PNP resource at the same time under 2.6.17-rc6-mm*, and did not find any regression.
And I am sure there is a solution also for IA64 architectures without going the blacklist path which sounds a bit strange after having done such a big effort of real good work.
Unfortunately I do not own an IA64 architecture, so I neither cannot test nor understand Shaohua´s criticism on that.
Under latest mm-patches (mm1, mm2, mm3 for official release of 2.6.17) it is at least impossible for me to give any positive feedback, as all three mm-versions are simply unusable. I will feature this in another mail to Andrew.
Cheers
Uwe
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
2006-06-29 1:13 ` Shaohua Li
@ 2006-06-29 12:24 ` Uwe Bugla
0 siblings, 0 replies; 9+ messages in thread
From: Uwe Bugla @ 2006-06-29 12:24 UTC (permalink / raw)
To: Shaohua Li, bjorn.helgaas
Cc: linux-acpi, len.brown, akpm, ambx1, castet.matthieu
-------- Original-Nachricht --------
Datum: Thu, 29 Jun 2006 09:13:36 +0800
Von: Shaohua Li <shaohua.li@intel.com>
An: Bjorn Helgaas <bjorn.helgaas@hp.com>
Betreff: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> On Wed, 2006-06-28 at 10:55 -0600, Bjorn Helgaas wrote:
> > On Tuesday 27 June 2006 19:02, Shaohua Li wrote:
> > > On Tue, 2006-06-27 at 14:02 +0200, castet.matthieu@free.fr wrote:
> > > > Is only PNP0A03 is producer type in __all__ ACPI possible devices ?
> > > > If not we will have the same problem with others devices...
> > > >
> > > > I don't think blacklist is the solution : pnpacpi should be able to
> handle all
> > > > ressources types : we should complete the implementation instead of
> blacklist
> > > > devices our implementation doesn't support.
> > > >
> > > > If there are broken ACPI bios, there should be firmware update, a
> patched dsdt
> > > > or a quirk, but no "quirk and no generic solution".
> >
> > > From my understanding, if the device is really a PNP device its
> resource
> > > should not be producer.
> >
> > I know PNP as currently implemented doesn't support resource producers.
> > But I don't think of that as a restriction of PNP itself. I think of
> > it as an area where a new back end (PNPACPI) added functionality, and
> > PNP should be enhanced to comprehend it.
> Ok, it's fine ACPI PNP handles resource producers.
>
> > I think the current scheme where some devices are claimed using
> > PNPACPI and pnp_register_driver(), and others are claimed using
> > acpi_bus_register_driver() directly, is confusing at best.
> >
> > I'd rather have ALL devices handled by PNPACPI, and either extend
> > the PNP infrastructure to comprehend the new functionality of ACPI
> > (e.g., new resource types like PCI bus numbers, ACPI events), or
> > maybe just provide a "to_acpi_dev()" that takes a PNP device and
> > returns the corresponding ACPI device.
Hi Shaohua,
> That's a big deal. We had a lot of discussions about this like
> introducing ACPI bus, but frankly there isn't a solid direction which
> bus ACPI devices should belong to.
Where is the deeper sense of this discussion as long as the AS-IS-STATE conforms to a multiplicity of busses like ISA, PCI, AGP, please?
And why please didn´t you mix yourself in at an earlier point of time?
And why don´t you offer more profound material and information on the conflicts you saw on your IA64 architecture?
I simply have big problems understanding the attitude behind your behaviour.
>
> > > Or could we take this way, merge both patches (both patches are good
> to
> > > me), which should be safer. Anyway, it doesn't make sense to export
> root
> > > bridge to pnp layer to me.
> >
> > One reason I don't like the blacklist is because it just papers over
> > the problem without leaving a clue about how to really solve it.
> > For example, if PNP is enhanced later to comprehend resource producers,
> > we won't know to go back and remove things from the blacklist.
> So lets have a note there. It (no blacklist) is meaningful to have all
> ACPI devices handled by PNP layer, but currently not.
In how far "currently not", please? At what point of time will this make sense according to your opinion?
> We don't expect a PNP driver for root bridge.
> And we will take risk of buggy BIOS.
What please has a buggy BIOS to do with a more cryptic or more sophisticated ACPI PNP concept?
>
> Thanks,
> Shaohua
>
Regards
Uwe
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
@ 2006-06-29 12:41 Li, Shaohua
2006-06-30 9:04 ` Uwe Bugla
0 siblings, 1 reply; 9+ messages in thread
From: Li, Shaohua @ 2006-06-29 12:41 UTC (permalink / raw)
To: Uwe Bugla, bjorn.helgaas
Cc: linux-acpi, Brown, Len, akpm, ambx1, castet.matthieu
>-----Original Message-----
>From: Uwe Bugla [mailto:uwe.bugla@gmx.de]
>Sent: Thursday, June 29, 2006 8:24 PM
>To: Li, Shaohua; bjorn.helgaas@hp.com
>Cc: linux-acpi@vger.kernel.org; Brown, Len; akpm@osdl.org; ambx1@neo.rr.com;
>castet.matthieu@free.fr
>Subject: Re: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
>
>
>-------- Original-Nachricht --------
>Datum: Thu, 29 Jun 2006 09:13:36 +0800
>Von: Shaohua Li <shaohua.li@intel.com>
>An: Bjorn Helgaas <bjorn.helgaas@hp.com>
>Betreff: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
>
>> On Wed, 2006-06-28 at 10:55 -0600, Bjorn Helgaas wrote:
>> > On Tuesday 27 June 2006 19:02, Shaohua Li wrote:
>> > > On Tue, 2006-06-27 at 14:02 +0200, castet.matthieu@free.fr wrote:
>> > > > Is only PNP0A03 is producer type in __all__ ACPI possible devices ?
>> > > > If not we will have the same problem with others devices...
>> > > >
>> > > > I don't think blacklist is the solution : pnpacpi should be able to
>> handle all
>> > > > ressources types : we should complete the implementation instead of
>> blacklist
>> > > > devices our implementation doesn't support.
>> > > >
>> > > > If there are broken ACPI bios, there should be firmware update, a
>> patched dsdt
>> > > > or a quirk, but no "quirk and no generic solution".
>> >
>> > > From my understanding, if the device is really a PNP device its
>> resource
>> > > should not be producer.
>> >
>> > I know PNP as currently implemented doesn't support resource producers.
>> > But I don't think of that as a restriction of PNP itself. I think of
>> > it as an area where a new back end (PNPACPI) added functionality, and
>> > PNP should be enhanced to comprehend it.
>> Ok, it's fine ACPI PNP handles resource producers.
>>
>> > I think the current scheme where some devices are claimed using
>> > PNPACPI and pnp_register_driver(), and others are claimed using
>> > acpi_bus_register_driver() directly, is confusing at best.
>> >
>> > I'd rather have ALL devices handled by PNPACPI, and either extend
>> > the PNP infrastructure to comprehend the new functionality of ACPI
>> > (e.g., new resource types like PCI bus numbers, ACPI events), or
>> > maybe just provide a "to_acpi_dev()" that takes a PNP device and
>> > returns the corresponding ACPI device.
>Hi Shaohua,
>> That's a big deal. We had a lot of discussions about this like
>> introducing ACPI bus, but frankly there isn't a solid direction which
>> bus ACPI devices should belong to.
>Where is the deeper sense of this discussion as long as the AS-IS-STATE
>conforms to a multiplicity of busses like ISA, PCI, AGP, please?
>And why please didn´t you mix yourself in at an earlier point of time?
>And why don´t you offer more profound material and information on the
>conflicts you saw on your IA64 architecture?
I just took one ia64 box I ever saw as an example, but it's not unique to ia64 I think.
>I simply have big problems understanding the attitude behind your behaviour.
Me too :)
>> > > Or could we take this way, merge both patches (both patches are good
>> to
>> > > me), which should be safer. Anyway, it doesn't make sense to export
>> root
>> > > bridge to pnp layer to me.
>> >
>> > One reason I don't like the blacklist is because it just papers over
>> > the problem without leaving a clue about how to really solve it.
>> > For example, if PNP is enhanced later to comprehend resource producers,
>> > we won't know to go back and remove things from the blacklist.
>> So lets have a note there. It (no blacklist) is meaningful to have all
>> ACPI devices handled by PNP layer, but currently not.
>In how far "currently not", please? At what point of time will this make
>sense according to your opinion?
>> We don't expect a PNP driver for root bridge.
>> And we will take risk of buggy BIOS.
>What please has a buggy BIOS to do with a more cryptic or more
>sophisticated ACPI PNP concept?
I want to emphasize I have no objection to merge the producer patch now but still think root bridge should be black list.
Thanks,
Shaohua
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RE: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
2006-06-29 12:41 Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources Li, Shaohua
@ 2006-06-30 9:04 ` Uwe Bugla
2006-06-30 9:08 ` Shaohua Li
2006-06-30 16:03 ` Bjorn Helgaas
0 siblings, 2 replies; 9+ messages in thread
From: Uwe Bugla @ 2006-06-30 9:04 UTC (permalink / raw)
To: Li, Shaohua, bjorn.helgaas
Cc: castet.matthieu, ambx1, akpm, len.brown, linux-acpi
-------- Original-Nachricht --------
Datum: Thu, 29 Jun 2006 20:41:07 +0800
Von: "Li, Shaohua" <shaohua.li@intel.com>
An: Uwe Bugla <uwe.bugla@gmx.de>, bjorn.helgaas@hp.com
Betreff: RE: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
>
>
> >-----Original Message-----
> >From: Uwe Bugla [mailto:uwe.bugla@gmx.de]
> >Sent: Thursday, June 29, 2006 8:24 PM
> >To: Li, Shaohua; bjorn.helgaas@hp.com
> >Cc: linux-acpi@vger.kernel.org; Brown, Len; akpm@osdl.org;
> ambx1@neo.rr.com;
> >castet.matthieu@free.fr
> >Subject: Re: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> >
> >
> >-------- Original-Nachricht --------
> >Datum: Thu, 29 Jun 2006 09:13:36 +0800
> >Von: Shaohua Li <shaohua.li@intel.com>
> >An: Bjorn Helgaas <bjorn.helgaas@hp.com>
> >Betreff: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> >
> >> On Wed, 2006-06-28 at 10:55 -0600, Bjorn Helgaas wrote:
> >> > On Tuesday 27 June 2006 19:02, Shaohua Li wrote:
> >> > > On Tue, 2006-06-27 at 14:02 +0200, castet.matthieu@free.fr wrote:
> >> > > > Is only PNP0A03 is producer type in __all__ ACPI possible devices
> ?
> >> > > > If not we will have the same problem with others devices...
> >> > > >
> >> > > > I don't think blacklist is the solution : pnpacpi should be able
> to
> >> handle all
> >> > > > ressources types : we should complete the implementation instead
> of
> >> blacklist
> >> > > > devices our implementation doesn't support.
> >> > > >
> >> > > > If there are broken ACPI bios, there should be firmware update, a
> >> patched dsdt
> >> > > > or a quirk, but no "quirk and no generic solution".
> >> >
> >> > > From my understanding, if the device is really a PNP device its
> >> resource
> >> > > should not be producer.
> >> >
> >> > I know PNP as currently implemented doesn't support resource
> producers.
> >> > But I don't think of that as a restriction of PNP itself. I think of
> >> > it as an area where a new back end (PNPACPI) added functionality, and
> >> > PNP should be enhanced to comprehend it.
> >> Ok, it's fine ACPI PNP handles resource producers.
> >>
> >> > I think the current scheme where some devices are claimed using
> >> > PNPACPI and pnp_register_driver(), and others are claimed using
> >> > acpi_bus_register_driver() directly, is confusing at best.
> >> >
> >> > I'd rather have ALL devices handled by PNPACPI, and either extend
> >> > the PNP infrastructure to comprehend the new functionality of ACPI
> >> > (e.g., new resource types like PCI bus numbers, ACPI events), or
> >> > maybe just provide a "to_acpi_dev()" that takes a PNP device and
> >> > returns the corresponding ACPI device.
> >Hi Shaohua,
> >> That's a big deal. We had a lot of discussions about this like
> >> introducing ACPI bus, but frankly there isn't a solid direction which
> >> bus ACPI devices should belong to.
> >Where is the deeper sense of this discussion as long as the AS-IS-STATE
> >conforms to a multiplicity of busses like ISA, PCI, AGP, please?
> >And why please didn´t you mix yourself in at an earlier point of time?
> >And why don´t you offer more profound material and information on the
> >conflicts you saw on your IA64 architecture?
> I just took one ia64 box I ever saw as an example, but it's not unique to
> ia64 I think.
>
> >I simply have big problems understanding the attitude behind your
> behaviour.
> Me too :)
>
> >> > > Or could we take this way, merge both patches (both patches are
> good
> >> to
> >> > > me), which should be safer. Anyway, it doesn't make sense to export
> >> root
> >> > > bridge to pnp layer to me.
> >> >
> >> > One reason I don't like the blacklist is because it just papers over
> >> > the problem without leaving a clue about how to really solve it.
> >> > For example, if PNP is enhanced later to comprehend resource
> producers,
> >> > we won't know to go back and remove things from the blacklist.
> >> So lets have a note there. It (no blacklist) is meaningful to have all
> >> ACPI devices handled by PNP layer, but currently not.
> >In how far "currently not", please? At what point of time will this make
> >sense according to your opinion?
> >> We don't expect a PNP driver for root bridge.
> >> And we will take risk of buggy BIOS.
> >What please has a buggy BIOS to do with a more cryptic or more
> >sophisticated ACPI PNP concept?
> I want to emphasize I have no objection to merge the producer patch now
> but still think root bridge should be black list.
Hi Shaohua,
if I got something wrong I´d appreciate you to correct me.
First of all, what is a root bridge please? I know what a PCI-ISA bridge is, but I stumbled across the expression "root bridge."
As a consequence I do not understand in how far this "root bridge" should be blacklisted.
As far as I have received the issue the decision of blacklisting or rejecting ACPI_PRODUCER is a EITHER-OR one, but NOT a ALSO-THIS and ALSO-THAT one.
In so far your path of argumentation is more than confusing, at least for me, and may be for others too.
And as a second consequence I do not understand the essence of proposal or decision you are expecting from Bjorn.
Would be please clear up this??
>
> Thanks,
> Shaohua
Regards
Uwe
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RE: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
2006-06-30 9:04 ` Uwe Bugla
@ 2006-06-30 9:08 ` Shaohua Li
2006-06-30 9:47 ` Uwe Bugla
2006-06-30 16:03 ` Bjorn Helgaas
1 sibling, 1 reply; 9+ messages in thread
From: Shaohua Li @ 2006-06-30 9:08 UTC (permalink / raw)
To: Uwe Bugla
Cc: bjorn.helgaas, castet.matthieu, ambx1, akpm, len.brown,
linux-acpi
On Fri, 2006-06-30 at 11:04 +0200, Uwe Bugla wrote:
> -------- Original-Nachricht --------
> Datum: Thu, 29 Jun 2006 20:41:07 +0800
> Von: "Li, Shaohua" <shaohua.li@intel.com>
> An: Uwe Bugla <uwe.bugla@gmx.de>, bjorn.helgaas@hp.com
> Betreff: RE: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
>
> >
> >
> > >-----Original Message-----
> > >From: Uwe Bugla [mailto:uwe.bugla@gmx.de]
> > >Sent: Thursday, June 29, 2006 8:24 PM
> > >To: Li, Shaohua; bjorn.helgaas@hp.com
> > >Cc: linux-acpi@vger.kernel.org; Brown, Len; akpm@osdl.org;
> > ambx1@neo.rr.com;
> > >castet.matthieu@free.fr
> > >Subject: Re: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> > >
> > >
> > >-------- Original-Nachricht --------
> > >Datum: Thu, 29 Jun 2006 09:13:36 +0800
> > >Von: Shaohua Li <shaohua.li@intel.com>
> > >An: Bjorn Helgaas <bjorn.helgaas@hp.com>
> > >Betreff: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> > >
> > >> On Wed, 2006-06-28 at 10:55 -0600, Bjorn Helgaas wrote:
> > >> > On Tuesday 27 June 2006 19:02, Shaohua Li wrote:
> > >> > > On Tue, 2006-06-27 at 14:02 +0200, castet.matthieu@free.fr wrote:
> > >> > > > Is only PNP0A03 is producer type in __all__ ACPI possible devices
> > ?
> > >> > > > If not we will have the same problem with others devices...
> > >> > > >
> > >> > > > I don't think blacklist is the solution : pnpacpi should be able
> > to
> > >> handle all
> > >> > > > ressources types : we should complete the implementation instead
> > of
> > >> blacklist
> > >> > > > devices our implementation doesn't support.
> > >> > > >
> > >> > > > If there are broken ACPI bios, there should be firmware update, a
> > >> patched dsdt
> > >> > > > or a quirk, but no "quirk and no generic solution".
> > >> >
> > >> > > From my understanding, if the device is really a PNP device its
> > >> resource
> > >> > > should not be producer.
> > >> >
> > >> > I know PNP as currently implemented doesn't support resource
> > producers.
> > >> > But I don't think of that as a restriction of PNP itself. I think of
> > >> > it as an area where a new back end (PNPACPI) added functionality, and
> > >> > PNP should be enhanced to comprehend it.
> > >> Ok, it's fine ACPI PNP handles resource producers.
> > >>
> > >> > I think the current scheme where some devices are claimed using
> > >> > PNPACPI and pnp_register_driver(), and others are claimed using
> > >> > acpi_bus_register_driver() directly, is confusing at best.
> > >> >
> > >> > I'd rather have ALL devices handled by PNPACPI, and either extend
> > >> > the PNP infrastructure to comprehend the new functionality of ACPI
> > >> > (e.g., new resource types like PCI bus numbers, ACPI events), or
> > >> > maybe just provide a "to_acpi_dev()" that takes a PNP device and
> > >> > returns the corresponding ACPI device.
> > >Hi Shaohua,
> > >> That's a big deal. We had a lot of discussions about this like
> > >> introducing ACPI bus, but frankly there isn't a solid direction which
> > >> bus ACPI devices should belong to.
> > >Where is the deeper sense of this discussion as long as the AS-IS-STATE
> > >conforms to a multiplicity of busses like ISA, PCI, AGP, please?
> > >And why please didn´t you mix yourself in at an earlier point of time?
> > >And why don´t you offer more profound material and information on the
> > >conflicts you saw on your IA64 architecture?
> > I just took one ia64 box I ever saw as an example, but it's not unique to
> > ia64 I think.
> >
> > >I simply have big problems understanding the attitude behind your
> > behaviour.
> > Me too :)
> >
> > >> > > Or could we take this way, merge both patches (both patches are
> > good
> > >> to
> > >> > > me), which should be safer. Anyway, it doesn't make sense to export
> > >> root
> > >> > > bridge to pnp layer to me.
> > >> >
> > >> > One reason I don't like the blacklist is because it just papers over
> > >> > the problem without leaving a clue about how to really solve it.
> > >> > For example, if PNP is enhanced later to comprehend resource
> > producers,
> > >> > we won't know to go back and remove things from the blacklist.
> > >> So lets have a note there. It (no blacklist) is meaningful to have all
> > >> ACPI devices handled by PNP layer, but currently not.
> > >In how far "currently not", please? At what point of time will this make
> > >sense according to your opinion?
> > >> We don't expect a PNP driver for root bridge.
> > >> And we will take risk of buggy BIOS.
> > >What please has a buggy BIOS to do with a more cryptic or more
> > >sophisticated ACPI PNP concept?
> > I want to emphasize I have no objection to merge the producer patch now
> > but still think root bridge should be black list.
> Hi Shaohua,
> if I got something wrong I´d appreciate you to correct me.
> First of all, what is a root bridge please? I know what a PCI-ISA bridge is, but I stumbled across the expression "root bridge."
> As a consequence I do not understand in how far this "root bridge" should be blacklisted.
> As far as I have received the issue the decision of blacklisting or rejecting ACPI_PRODUCER is a EITHER-OR one, but NOT a ALSO-THIS and ALSO-THAT one.
> In so far your path of argumentation is more than confusing, at least for me, and may be for others too.
> And as a second consequence I do not understand the essence of proposal or decision you are expecting from Bjorn.
> Would be please clear up this??
I gave up, and didn't want to argue this issue any more
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: RE: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
2006-06-30 9:08 ` Shaohua Li
@ 2006-06-30 9:47 ` Uwe Bugla
0 siblings, 0 replies; 9+ messages in thread
From: Uwe Bugla @ 2006-06-30 9:47 UTC (permalink / raw)
To: Shaohua Li
Cc: linux-acpi, len.brown, akpm, ambx1, castet.matthieu,
bjorn.helgaas
-------- Original-Nachricht --------
Datum: Fri, 30 Jun 2006 17:08:35 +0800
Von: Shaohua Li <shaohua.li@intel.com>
An: Uwe Bugla <uwe.bugla@gmx.de>
Betreff: Re: RE: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> On Fri, 2006-06-30 at 11:04 +0200, Uwe Bugla wrote:
> > -------- Original-Nachricht --------
> > Datum: Thu, 29 Jun 2006 20:41:07 +0800
> > Von: "Li, Shaohua" <shaohua.li@intel.com>
> > An: Uwe Bugla <uwe.bugla@gmx.de>, bjorn.helgaas@hp.com
> > Betreff: RE: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> >
> > >
> > >
> > > >-----Original Message-----
> > > >From: Uwe Bugla [mailto:uwe.bugla@gmx.de]
> > > >Sent: Thursday, June 29, 2006 8:24 PM
> > > >To: Li, Shaohua; bjorn.helgaas@hp.com
> > > >Cc: linux-acpi@vger.kernel.org; Brown, Len; akpm@osdl.org;
> > > ambx1@neo.rr.com;
> > > >castet.matthieu@free.fr
> > > >Subject: Re: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER
> resources
> > > >
> > > >
> > > >-------- Original-Nachricht --------
> > > >Datum: Thu, 29 Jun 2006 09:13:36 +0800
> > > >Von: Shaohua Li <shaohua.li@intel.com>
> > > >An: Bjorn Helgaas <bjorn.helgaas@hp.com>
> > > >Betreff: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> > > >
> > > >> On Wed, 2006-06-28 at 10:55 -0600, Bjorn Helgaas wrote:
> > > >> > On Tuesday 27 June 2006 19:02, Shaohua Li wrote:
> > > >> > > On Tue, 2006-06-27 at 14:02 +0200, castet.matthieu@free.fr
> wrote:
> > > >> > > > Is only PNP0A03 is producer type in __all__ ACPI possible
> devices
> > > ?
> > > >> > > > If not we will have the same problem with others devices...
> > > >> > > >
> > > >> > > > I don't think blacklist is the solution : pnpacpi should be
> able
> > > to
> > > >> handle all
> > > >> > > > ressources types : we should complete the implementation
> instead
> > > of
> > > >> blacklist
> > > >> > > > devices our implementation doesn't support.
> > > >> > > >
> > > >> > > > If there are broken ACPI bios, there should be firmware
> update, a
> > > >> patched dsdt
> > > >> > > > or a quirk, but no "quirk and no generic solution".
> > > >> >
> > > >> > > From my understanding, if the device is really a PNP device its
> > > >> resource
> > > >> > > should not be producer.
> > > >> >
> > > >> > I know PNP as currently implemented doesn't support resource
> > > producers.
> > > >> > But I don't think of that as a restriction of PNP itself. I
> think of
> > > >> > it as an area where a new back end (PNPACPI) added functionality,
> and
> > > >> > PNP should be enhanced to comprehend it.
> > > >> Ok, it's fine ACPI PNP handles resource producers.
> > > >>
> > > >> > I think the current scheme where some devices are claimed using
> > > >> > PNPACPI and pnp_register_driver(), and others are claimed using
> > > >> > acpi_bus_register_driver() directly, is confusing at best.
> > > >> >
> > > >> > I'd rather have ALL devices handled by PNPACPI, and either extend
> > > >> > the PNP infrastructure to comprehend the new functionality of
> ACPI
> > > >> > (e.g., new resource types like PCI bus numbers, ACPI events), or
> > > >> > maybe just provide a "to_acpi_dev()" that takes a PNP device and
> > > >> > returns the corresponding ACPI device.
> > > >Hi Shaohua,
> > > >> That's a big deal. We had a lot of discussions about this like
> > > >> introducing ACPI bus, but frankly there isn't a solid direction
> which
> > > >> bus ACPI devices should belong to.
> > > >Where is the deeper sense of this discussion as long as the
> AS-IS-STATE
> > > >conforms to a multiplicity of busses like ISA, PCI, AGP, please?
> > > >And why please didn´t you mix yourself in at an earlier point of
> time?
> > > >And why don´t you offer more profound material and information on
> the
> > > >conflicts you saw on your IA64 architecture?
> > > I just took one ia64 box I ever saw as an example, but it's not unique
> to
> > > ia64 I think.
> > >
> > > >I simply have big problems understanding the attitude behind your
> > > behaviour.
> > > Me too :)
> > >
> > > >> > > Or could we take this way, merge both patches (both patches are
> > > good
> > > >> to
> > > >> > > me), which should be safer. Anyway, it doesn't make sense to
> export
> > > >> root
> > > >> > > bridge to pnp layer to me.
> > > >> >
> > > >> > One reason I don't like the blacklist is because it just papers
> over
> > > >> > the problem without leaving a clue about how to really solve it.
> > > >> > For example, if PNP is enhanced later to comprehend resource
> > > producers,
> > > >> > we won't know to go back and remove things from the blacklist.
> > > >> So lets have a note there. It (no blacklist) is meaningful to have
> all
> > > >> ACPI devices handled by PNP layer, but currently not.
> > > >In how far "currently not", please? At what point of time will this
> make
> > > >sense according to your opinion?
> > > >> We don't expect a PNP driver for root bridge.
> > > >> And we will take risk of buggy BIOS.
> > > >What please has a buggy BIOS to do with a more cryptic or more
> > > >sophisticated ACPI PNP concept?
> > > I want to emphasize I have no objection to merge the producer patch
> now
> > > but still think root bridge should be black list.
> > Hi Shaohua,
> > if I got something wrong I´d appreciate you to correct me.
> > First of all, what is a root bridge please? I know what a PCI-ISA bridge
> is, but I stumbled across the expression "root bridge."
> > As a consequence I do not understand in how far this "root bridge"
> should be blacklisted.
> > As far as I have received the issue the decision of blacklisting or
> rejecting ACPI_PRODUCER is a EITHER-OR one, but NOT a ALSO-THIS and ALSO-THAT
> one.
> > In so far your path of argumentation is more than confusing, at least
> for me, and may be for others too.
> > And as a second consequence I do not understand the essence of proposal
> or decision you are expecting from Bjorn.
> > Would be please clear up this??
> I gave up, and didn't want to argue this issue any more
Hi Shaohua,
Sigh!!
This is no behaviour to bring anything forward. Guess we are missing more material, more information on specific platforms not conforming with that ACPI-PRODUCER rejectment. In any other case there won´t be any development forwards. Your kind of argumentation is more than (well, I am missing the right adjective for what I feel).
Regards
Uwe
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
2006-06-30 9:04 ` Uwe Bugla
2006-06-30 9:08 ` Shaohua Li
@ 2006-06-30 16:03 ` Bjorn Helgaas
2006-07-03 8:19 ` Uwe Bugla
1 sibling, 1 reply; 9+ messages in thread
From: Bjorn Helgaas @ 2006-06-30 16:03 UTC (permalink / raw)
To: Uwe Bugla
Cc: Li, Shaohua, castet.matthieu, ambx1, akpm, len.brown, linux-acpi
On Friday 30 June 2006 03:04, Uwe Bugla wrote:
> First of all, what is a root bridge please? I know what a PCI-ISA
> bridge is, but I stumbled across the expression "root bridge."
A PCI root bridge is a device that sits between the processor and
a PCI bus. On the upstream side (closer to the processor), it has
some platform-specific interface. The downstream side is a standard
PCI bus.
Most PNP devices have some registers that control them. For example,
a UART has a receive buffer, a transmit buffer, an interrupt enable
register, etc. These appear at specific I/O port or MMIO addresses.
Those addresses are the resources consumed by the UART. If you access
those resources, the UART responds by doing something.
Bridges are different. They also consume I/O port and/or MMIO address
space. But some of that address space is passed through to the other
side of the bridge, to the devices on the downstream bus. In ACPI,
the resources that are passed to the downstream side are "consumed"
by the bridge and also "produced" on the downstream side.
The UART has no downstream side. It "consumes" resources but
doesn't produce any. (It does produce RS-232 signals on the
other side, but that's a completely different protocol and outside
the scope of ACPI.)
> As a consequence I do not understand in how far this "root bridge"
> should be blacklisted. As far as I have received the issue the
> decision of blacklisting or rejecting ACPI_PRODUCER is a EITHER-OR
> one, but NOT a ALSO-THIS and ALSO-THAT one.
My opinion is that we must change PNPACPI to either understand or
ignore the producer resources. Matthieu posted a patch to ignore
them. If we don't do this, we will have the maintenance burden of
updating a blacklist whenever anybody invents a new device with
producer resources.
We could blacklist PNP0A03 in addition to changing PNPACPI. For the
specific bug you tripped over, there's no reason to do both, but I
think Shaohua is worried about other problems. For example, if the
BIOS reported that the PNP0A03 device consumed I/O port 0x3f8, which
is really consumed by the COM1 UART, that conflict might prevent the
serial driver from using the UART.
Or, somebody could make a PNP driver that claimed PNP0A03 PCI root
bridges, which would conflict with the existing ACPI driver that
claims PNP0A03 devices. Blacklisting PNP0A03 in PNPACPI would prevent
a PNP driver from claiming it.
Bjorn
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
2006-06-30 16:03 ` Bjorn Helgaas
@ 2006-07-03 8:19 ` Uwe Bugla
0 siblings, 0 replies; 9+ messages in thread
From: Uwe Bugla @ 2006-07-03 8:19 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: linux-acpi, len.brown, akpm, ambx1, castet.matthieu, shaohua.li
-------- Original-Nachricht --------
Datum: Fri, 30 Jun 2006 10:03:57 -0600
Von: Bjorn Helgaas <bjorn.helgaas@hp.com>
An: Uwe Bugla <uwe.bugla@gmx.de>
Betreff: Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources
> On Friday 30 June 2006 03:04, Uwe Bugla wrote:
> > First of all, what is a root bridge please? I know what a PCI-ISA
> > bridge is, but I stumbled across the expression "root bridge."
>
> A PCI root bridge is a device that sits between the processor and
> a PCI bus. On the upstream side (closer to the processor), it has
> some platform-specific interface. The downstream side is a standard
> PCI bus.
>
> Most PNP devices have some registers that control them. For example,
> a UART has a receive buffer, a transmit buffer, an interrupt enable
> register, etc. These appear at specific I/O port or MMIO addresses.
> Those addresses are the resources consumed by the UART. If you access
> those resources, the UART responds by doing something.
>
> Bridges are different. They also consume I/O port and/or MMIO address
> space. But some of that address space is passed through to the other
> side of the bridge, to the devices on the downstream bus. In ACPI,
> the resources that are passed to the downstream side are "consumed"
> by the bridge and also "produced" on the downstream side.
>
> The UART has no downstream side. It "consumes" resources but
> doesn't produce any. (It does produce RS-232 signals on the
> other side, but that's a completely different protocol and outside
> the scope of ACPI.)
>
> > As a consequence I do not understand in how far this "root bridge"
> > should be blacklisted. As far as I have received the issue the
> > decision of blacklisting or rejecting ACPI_PRODUCER is a EITHER-OR
> > one, but NOT a ALSO-THIS and ALSO-THAT one.
>
> My opinion is that we must change PNPACPI to either understand or
> ignore the producer resources. Matthieu posted a patch to ignore
> them. If we don't do this, we will have the maintenance burden of
> updating a blacklist whenever anybody invents a new device with
> producer resources.
>
> We could blacklist PNP0A03 in addition to changing PNPACPI. For the
> specific bug you tripped over, there's no reason to do both, but I
> think Shaohua is worried about other problems. For example, if the
> BIOS reported that the PNP0A03 device consumed I/O port 0x3f8, which
> is really consumed by the COM1 UART, that conflict might prevent the
> serial driver from using the UART.
>
> Or, somebody could make a PNP driver that claimed PNP0A03 PCI root
> bridges, which would conflict with the existing ACPI driver that
> claims PNP0A03 devices. Blacklisting PNP0A03 in PNPACPI would prevent
> a PNP driver from claiming it.
>
> Bjorn
Hi Bjorn,
lots of thanks for your explanations.
What is the path (or strategy) for a PNPACPI concept that handles all devices in a specific box without any IO or interrupt conflicts?
Is BIOS flashing a necessary part of this strategy?
Thanks
Uwe
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-07-03 8:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 12:41 Re: [patch 11/18] pnpacpi: reject ACPI_PRODUCER resources Li, Shaohua
2006-06-30 9:04 ` Uwe Bugla
2006-06-30 9:08 ` Shaohua Li
2006-06-30 9:47 ` Uwe Bugla
2006-06-30 16:03 ` Bjorn Helgaas
2006-07-03 8:19 ` Uwe Bugla
-- strict thread matches above, loose matches on Subject: below --
2006-06-27 6:30 Brown, Len
2006-06-27 7:03 ` Andrew Morton
2006-06-27 7:37 ` Adam Belay
2006-06-27 7:29 ` Shaohua Li
2006-06-27 12:02 ` castet.matthieu
2006-06-27 14:19 ` Uwe Bugla
2006-06-28 1:02 ` Shaohua Li
2006-06-28 8:57 ` Uwe Bugla
2006-06-28 16:55 ` Bjorn Helgaas
2006-06-29 1:13 ` Shaohua Li
2006-06-29 12:24 ` Uwe Bugla
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.