Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1677912

Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

From John Garry <john.garry@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning
Date 2017-06-29 18:20 +0200
Message-ID <tXKkG-1nd-49@gated-at.bofh.it> (permalink)
References (7 earlier) <tRZmp-3qk-9@gated-at.bofh.it> <tS0iu-40M-5@gated-at.bofh.it> <tSHnv-5OL-97@gated-at.bofh.it> <tSUXo-63M-7@gated-at.bofh.it> <tSXBT-7N5-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 16/06/2017 12:24, Rafael J. Wysocki wrote:
>>>> >> >
>>>> >> > It causes acpi_default_enumeration() to be called but it should be fine
>>>> >> > as we are dealing with platform device anyway.
>>> >>
>>> >> I do not quite understand how declaring such MFD cell above would make sure
>>> >> that the LPC probe is called before the IPMI device is enumerated...
>> >
>> > In fact it may be that it is not sufficient in this case because the
>> > ACPI core might enumerate child devices before the LPC driver even gets
>> > a chance to probe so you would need to add also scan handler to the
>> > child devices and mark them already enumerated or something like that.
> Or extend the special I2C/SPI handling to them.
>

For this, is it possible to just configure the ACPI table so we spoof 
that the LPC slave (IPI0001), is an i2c/spi slave? Could we just add a 
resource of type ACPI_RESOURCE_TYPE_SERIAL_BUS, and common serial bus 
type i2c/spi to solve this?

This resource would/should need to be ignored for other purposes.

John

> Thanks,
> Rafael

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices  before scanning John Garry <john.garry@huawei.com> - 2017-06-29 18:20 +0200
  Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices  before scanning Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-06-30 11:10 +0200
    Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices  before scanning John Garry <john.garry@huawei.com> - 2017-06-30 11:40 +0200
      Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices  before scanning "Rafael J. Wysocki" <rafael@kernel.org> - 2017-06-30 15:00 +0200

csiph-web