Received: by 10.192.165.156 with SMTP id m28csp631592imm; Mon, 16 Apr 2018 06:19:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx48sBtCE9nwnNZgvCS+fuyOOPZB4xGkP+alfVG3533W8owDxJ42lIP3OtQylbk4l7/53kNwJ X-Received: by 2002:a17:902:2823:: with SMTP id e32-v6mr11991662plb.153.1523884792307; Mon, 16 Apr 2018 06:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523884792; cv=none; d=google.com; s=arc-20160816; b=h3hsswzyBQd6V1/yA54kZA4DPUJqIoDLUO7YutN+IU9VzxXEhn84XkjQYRRVDmsJac I9L4sJOvZFaMYZ4Mr9LQAN1UJ7svIn6fMbwU78+lbhZYIwGgszmb/+C5DWyF9XWC3d4t 4OYqDAlxU68BORTlD6vSGksf8AQx1HPbo7m/JLVm43w1G/1Faqs+7Uc5JLx5nuLwNTBw 0G8C6rZndpdASU7QrJ9ilau1SSvlIWf338GclF/sV71C9jA9sWvc/fViXDrQ6tY6EglZ 9e1/PS4AYbBznYX7uN576oAlrWoIQAaT/vBdsrLAzqaSgwJvpRpIZr20z2LUjhqBE/M/ NXGQ== 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 :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=dv3UiCr6rQar1fyVg7IOTKU9FUUjon7DOOGe3WsNUVM=; b=GUdWTJuMqFp6XmL9E1m5Nyd3lwKwH4zjMUFNh6DbOOc8sa8PCcE9aBJgg1BQv2xX97 ipIuJvkdNqhcjMeHHjgwHen8cRSMKcat4b43tbiSCHA5Ia3AqHw+FJGBc2gjUdDTmBPc P5P0fjXuC9eRqRGkMrYHEavGuVAlBMx9PWLu780CTIqz4hScGFFqlhjArPqMvxUqOWrk wjY9wI+PmOh+p8GkC7nybxsZkOmdrKVuU6RFGrv8YWNyf3UEw/4WzUgcQMqz05IaF5/K 48B13P0fMEWYQsThFSu8t/hJrkBeJENhtqh7WiVo2x/Cg8mRu8jk2THT93bwmYZnb2Cy lMxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gq15MfWH; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m4si8082541pgs.291.2018.04.16.06.19.36; Mon, 16 Apr 2018 06:19:52 -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=@chromium.org header.s=google header.b=gq15MfWH; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755118AbeDPNR0 (ORCPT + 99 others); Mon, 16 Apr 2018 09:17:26 -0400 Received: from mail-vk0-f66.google.com ([209.85.213.66]:36618 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753909AbeDPNRZ (ORCPT ); Mon, 16 Apr 2018 09:17:25 -0400 Received: by mail-vk0-f66.google.com with SMTP id w1so2690207vkf.3 for ; Mon, 16 Apr 2018 06:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dv3UiCr6rQar1fyVg7IOTKU9FUUjon7DOOGe3WsNUVM=; b=gq15MfWHuj3o2ql95nb+L+GrZPeRpfwe4nai0IfaMrnxY2s3fXO1uk3KqPTjR7F5yd kSBWoSpN8Q2EHVZNsu0ibaLjK5m8ocU+Rbjm1m1hsSISjPrXz18Ajeu5RgYdXCov1jLc v2/Fvj/QgvAk272Czrr6TuECTZSIdlGgvaBMo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dv3UiCr6rQar1fyVg7IOTKU9FUUjon7DOOGe3WsNUVM=; b=k9sImyDiSAjbdZkIB5ysyXHILE/KkDhakM1tkmcSgXfEieamClKSU3CE4GrQQRjiay vwdVKs1mM9qhblY3asa+lIH4ISqJvdjG6HDd/pSYvY/cCkqO3bL9GzvL8mNoYOOzNq9g qFvfp9osDX/1y2JL9+xIYLDwDgyBN3NmgOgXyIE9kOikVtoQzc/mWAH9cLXTijZLSmvZ KGVa/SxG9wJ9V640nYxqrf6UdZuk350ugUxwoT9zxAYqXIK/xW2bzpSOQAtYEArH2M8s 8B25xwcjCvXpK0pQg49WduEtwO/qwbrdx3yQ4lnbD8hNeIxgyI8G+cVGVFXr7jGt/uG9 aLHQ== X-Gm-Message-State: ALQs6tCD2amM2dwNsiSIZHgyaSCSHW5elOavQUiUFbAyokAhiHZZAL1a E0TEDywp8RASkWHDGye6xHd9mSkGHuQ= X-Received: by 10.31.178.1 with SMTP id b1mr11413627vkf.133.1523884644103; Mon, 16 Apr 2018 06:17:24 -0700 (PDT) Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com. [209.85.213.46]) by smtp.gmail.com with ESMTPSA id g11sm5345874ual.38.2018.04.16.06.17.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 06:17:23 -0700 (PDT) Received: by mail-vk0-f46.google.com with SMTP id q189so432345vkb.0 for ; Mon, 16 Apr 2018 06:17:23 -0700 (PDT) X-Received: by 10.31.86.4 with SMTP id k4mr10830870vkb.183.1523884338196; Mon, 16 Apr 2018 06:12:18 -0700 (PDT) MIME-Version: 1.0 References: <20180405095000.9756-1-enric.balletbo@collabora.com> <20180405095000.9756-29-enric.balletbo@collabora.com> In-Reply-To: From: Tomasz Figa Date: Mon, 16 Apr 2018 13:12:07 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 28/30] drm/rockchip: Disable PSR from reboot notifier To: a.hajda@samsung.com Cc: Enric Balletbo i Serra , Archit Taneja , Inki Dae , Thierry Reding , Sandy Huang , Sean Paul , David Airlie , =?UTF-8?Q?Heiko_St=C3=BCbner?= , dri-devel , Douglas Anderson , Yakir Yang , kernel@collabora.com, Marek Szyprowski , linux-samsung-soc , jy0922.shim@samsung.com, rydberg@bitmath.org, Krzysztof Kozlowski , "open list:ARM/Rockchip SoC..." , kgene@kernel.org, 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 , Laurent Pinchart , 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, 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. Best regards, Tomasz