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


Groups > linux.kernel > #1599842

Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose dependency has not met

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose dependency has not met
Date 2017-03-13 22:40 +0100
Message-ID <tkFR7-6IY-13@gated-at.bofh.it> (permalink)
References <tknKx-1UO-3@gated-at.bofh.it> <tknUe-1XV-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Thanks,
Rafael

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


Thread

[PATCH V7 0/7] LPC: legacy ISA I/O support "zhichang.yuan" <yuanzhichang@hisilicon.com> - 2017-03-13 03:20 +0100
  [PATCH V7 1/7] LIBIO: Introduce a generic PIO mapping method "zhichang.yuan" <yuanzhichang@hisilicon.com> - 2017-03-13 03:30 +0100
  [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose  dependency has not met "zhichang.yuan" <yuanzhichang@hisilicon.com> - 2017-03-13 03:30 +0100
    Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose  dependency has not met "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-03-13 22:40 +0100
      RE: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose   dependency has not met Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2017-03-14 09:20 +0100
      Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose  dependency has not met "zhichang.yuan" <yuanzhichang@hisilicon.com> - 2017-03-16 03:30 +0100
        Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose  dependency has not met Arnd Bergmann <arnd@arndb.de> - 2017-03-16 11:20 +0100
          Re: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose  dependency has not met "zhichang.yuan" <zhichang.yuan02@gmail.com> - 2017-03-16 16:00 +0100
          RE: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose  dependency has not met Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2017-03-16 17:20 +0100
            RE: [PATCH V7 5/7] ACPI: Delay the enumeration on the devices whose         dependency has not met Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2017-03-24 01:50 +0100
  Re: [PATCH V7 0/7] LPC: legacy ISA I/O support Arnd Bergmann <arnd@arndb.de> - 2017-03-14 09:40 +0100
    Re: [PATCH V7 0/7] LPC: legacy ISA I/O support "zhichang.yuan" <yuanzhichang@hisilicon.com> - 2017-03-15 05:10 +0100
      Re: [PATCH V7 0/7] LPC: legacy ISA I/O support Arnd Bergmann <arnd@arndb.de> - 2017-03-15 14:30 +0100

csiph-web