Received: by 10.192.165.156 with SMTP id m28csp1009302imm; Wed, 18 Apr 2018 02:19:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+N+tVVtGXy2i2wtLZNfcb2yCigQ14t7MCRJVO0zrS/qIkmEp/HCBaxDa2zcX74MEs8bG8T X-Received: by 2002:a17:902:8c94:: with SMTP id t20-v6mr1339855plo.129.1524043194141; Wed, 18 Apr 2018 02:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524043194; cv=none; d=google.com; s=arc-20160816; b=w/DoPAu5bcSvWi338YozAk3kDIqUGYh9XgznEjPjFWqMbfn6iFOrrsLxZ3e2JnGyIG DV+7I+5FfPSXNK7V0XyvqvIf9Hu7NSbMT0NeCT2FJVHsF3qOfTRPhw5hC9xtPQAed5A+ fZw8p0Azac5Q82bD1ru2ddxsvmRkDXNatyDEoTQnm141sbEOrTFJJOgyYHKELtbvUf7y NI5kAYenbQsREjPr7MhI5gnTxBQGGbtb+tAyPlPXptMdJpieR1gQx7wYa9NnaIyb+x+1 P4ojtEIBRpCv6QBUw/qNBXgU1mF/BDX5xS5R/jSrezexoZZKKYxSx9cfFX8ezKMHQJGD ofsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=VE2h7TvTN3fzsS4vPvKB0zU0GR3aO8C2KnKYNkDnqno=; b=BFvqfPwRSFTHM0L5K0MS4WAPNZs5w8XQS1MMVZ3wVl/i+43e0lWbrpoTsfio++wEYp gfHtBeQy7waGvA8qiOg6qV6BXGseIJLZwyMkbuxRihZugvGOVWIYJCShGsPv3fO3ML6W eTXte/Xgm5cQbZwEIDMDtEkc8dwlCZagvABA5BvzGIy0sqT+AcO7a7+4y3kHnwQtQD3M KkIlO7OqTsvUP7kdDjizClUrGHmhdauFW5xAZ8Ldtpp3RMv4/G2fi4AiSvYIlFX+vfix ZRaegxo1JWCJAnDPg4JjPZjSvMGxLtcn53fdtJKAuyUCtDu5NUUG/YgqQFwiDwXaMkn3 bKog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eIJLSa9G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si699239pgp.671.2018.04.18.02.19.39; Wed, 18 Apr 2018 02:19:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eIJLSa9G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753186AbeDRJSd (ORCPT + 99 others); Wed, 18 Apr 2018 05:18:33 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:39919 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbeDRJSb (ORCPT ); Wed, 18 Apr 2018 05:18:31 -0400 Received: by mail-qk0-f194.google.com with SMTP id i73so1008398qke.6; Wed, 18 Apr 2018 02:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VE2h7TvTN3fzsS4vPvKB0zU0GR3aO8C2KnKYNkDnqno=; b=eIJLSa9GpfiVekgddlgIHOe46p1vIWMmm2YV8QaolXSWOkiwfGoFyGb1FY8SLpx4kY m5RLuKKMpGL2yrCkU/OW1vGjGcPo6RBBd2l8urelGYpq8NHxAIIzHILxamMYX6mVdQhH TurD6F6kx4oqtWIEFMcZ0fSoR+i2EUGsDbsv18XFZv4Qm8reY8lIlSkXIdc+W4A79QAy PL9zsaD/YQWUgyF0tpJSSnpt/+w/FxUZ8rIHgnyRlxa9eDDwTZDs55NLFtqtkr9JWfIg bQ9h0uHU4Bs2IHRn/ir2tf6oQs1dWIdvMJzygCGwyfvg0knwBvWzoNZX8BnHTIRA5zUH +v1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VE2h7TvTN3fzsS4vPvKB0zU0GR3aO8C2KnKYNkDnqno=; b=cPoG87TVTNPuQEzF4wFdUdnoXbXGwrTLvJ0dRd2oZupoWO9VId56JyoXVKrchg1hyX /c8bPUQJ7Hsm01jPzJN6djjbxCyTYvyECWQJkyEW8GNEfd9/iHYCDWvr6laDJ6R9X321 vun1+p8h1eLToWbGooLoXnD7a5pPEHwu6g7XPqWxuOArVXaFE9Rofi7xjqyZ8z6NwTNE GlXSyQqH6JB2Qj/mf7++XzfH5QsDaw4Vqd5K95on5YjhV2Xy0oEQCb2v2m+mm6P3pK9T C9PIahFUJFRynGBmBkgDLf17iBirqkMsxuZXIX02J595EPbHsZaMmvlehkYImrccgnP3 80GA== X-Gm-Message-State: ALQs6tCMeMeNo7S6Mzu+S44cpILjT/PAGPhh7Oa05//YrPbRQpTy7LJo C/uLUIm30bj60rIstU2OlCZztELMyLAjGd1rx2U= X-Received: by 10.233.230.10 with SMTP id z10mr1264914qkf.365.1524043110674; Wed, 18 Apr 2018 02:18:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.8.189 with HTTP; Wed, 18 Apr 2018 02:18:30 -0700 (PDT) In-Reply-To: References: <20180405095000.9756-1-enric.balletbo@collabora.com> <20180405095000.9756-29-enric.balletbo@collabora.com> From: Enric Balletbo Serra Date: Wed, 18 Apr 2018 11:18:30 +0200 Message-ID: Subject: Re: [PATCH v6 28/30] drm/rockchip: Disable PSR from reboot notifier To: Tomasz Figa Cc: a.hajda@samsung.com, David Airlie , dri-devel , Douglas Anderson , Thierry Reding , Laurent Pinchart , Yakir Yang , kernel@collabora.com, Marek Szyprowski , linux-samsung-soc , rydberg@bitmath.org, Krzysztof Kozlowski , "open list:ARM/Rockchip SoC..." , Kukjin Kim , linux-input@vger.kernel.org, =?UTF-8?Q?=C3=98rjan_Eide?= , Caesar Wang , Jeffy , "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , Mark yao , =?UTF-8?B?546L5b6B5aKe?= , Lin Huang , Jingoo Han , Seung-Woo Kim , Linux Kernel Mailing List , Kyungmin Park , Enric Balletbo i Serra , kuankuan.y@gmail.com, Haixia Shi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrzej, Tomasz 2018-04-16 15:12 GMT+02:00 Tomasz Figa : > Hi Andrzej, > > On Mon, Apr 16, 2018 at 6:57 PM Andrzej Hajda wrote: > >> On 05.04.2018 11:49, Enric Balletbo i Serra wrote: >> > From: Tomasz Figa >> > >> > It looks like the driver subsystem detaches devices from power domains >> > at shutdown without consent of the drivers. > >> It looks bit strange. Could you elaborate more on it. Could you show the >> code performing the detach? > > It not only looks strange, but it is strange. The code was present in 4.4: > > https://elixir.bootlin.com/linux/v4.4.128/source/drivers/base/platform.c#L553 > > but was apparently removed in 4.5: > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/base/platform.c?h=next-20180416&id=2d30bb0b3889adf09b342722b2ce596c0763bc93 > > So we might not need this patch anymore. > Right, seems that we don't need this patch anymore, I'll do more few tests and likely remove this patch from this series. Thanks for catching this. Best regards, Enric > Best regards, > Tomasz > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel