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


Groups > linux.kernel > #1502891

Re: [PATCH v5 0/5] Functional dependencies between devices

From Marek Szyprowski <m.szyprowski@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 0/5] Functional dependencies between devices
Date 2016-10-18 12:50 +0200
Message-ID <stA81-sA-7@gated-at.bofh.it> (permalink)
References <sff3r-2Cw-3@gated-at.bofh.it> <stA81-sA-9@gated-at.bofh.it> <sqIlr-1ni-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Rafael,


On 2016-10-10 14:36, Rafael J. Wysocki wrote:
> [...]
>
> One more update after some conversations during LinuxCon Europe.
>
> The main point was to make it possible for device_link_add() to figure out the
> initial state of the link instead of expecting the caller to provide it which
> might not be reliable enough in general.
>
> In this version device_link_add() takes three arguments, the supplier and
> consumer pointers and flags and it sets the correct initial state of the link
> automatically (unless invoked with the "stateless" flag, of course).  The cost
> is one additional field in struct device (I moved all of the links-related
> fields in struct device to a separate sub-structure while at it) to track
> the "driver presence status" of the device (to be used by device_link_add()).
>
> In addition to that, the links list walks in the core.c and dd.c code are
> under the device links mutex now, so the iternal link spinlock is not needed
> any more and I have renamed symbols to distinguish between flags, link states
> and device "driver presence statuses".
>
> More information is there in the changelogs.

Thanks for the update. This version is indeed easier to use and still 
works fine
with my Exynos IOMMU runtime pm rework. You can keep my:

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>

I will send updated version of my patchset soon.

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland

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


Thread

Re: [PATCH v5 0/5] Functional dependencies between devices Marek Szyprowski <m.szyprowski@samsung.com> - 2016-10-18 12:50 +0200
  Re: [PATCH v5 0/5] Functional dependencies between devices "Rafael J. Wysocki" <rafael@kernel.org> - 2016-10-19 16:50 +0200
    Re: [PATCH v5 0/5] Functional dependencies between devices Marek Szyprowski <m.szyprowski@samsung.com> - 2016-10-20 12:30 +0200
      Re: [PATCH v5 0/5] Functional dependencies between devices "Rafael J. Wysocki" <rafael@kernel.org> - 2016-10-20 15:00 +0200

csiph-web