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


Groups > linux.kernel > #1681084

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

From Gabriele Paoloni <gabriele.paoloni@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-07-04 18:30 +0200
Message-ID <tZyS6-2nd-11@gated-at.bofh.it> (permalink)
References (11 earlier) <tU1N7-1gP-3@gated-at.bofh.it> <tZc5c-3Q7-19@gated-at.bofh.it> <tZg8N-6Dm-13@gated-at.bofh.it> <tZxMm-1ET-19@gated-at.bofh.it> <tZyfn-1QF-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Andy

[...]

> 
> You may do it on stack. Define your cell statically (but not const)
> and apply resources just before mfd_add_devices() call.

Ok thanks got it

> There are examples in the existing drivers. Intel LPC comes to my mind
> and perhaps PMC (Broxton), though latter has too much other stuff
> around.

Uh yes I see now in lpc_ich.c (base address is read from PCI config space
and resources are set accordingly).

Cheers
Gab

> 
> --
> With Best Regards,
> Andy Shevchenko

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


Thread

RE: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO  devices before scanning Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2017-07-03 18:10 +0200
  RE: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO  devices before scanning Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2017-07-03 18:30 +0200
  Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices  before scanning Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-07-03 22:30 +0200
    RE: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO  devices before scanning Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2017-07-04 17:20 +0200
      Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices  before scanning Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-07-04 17:50 +0200
        RE: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO  devices before scanning Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2017-07-04 18:30 +0200

csiph-web