Received: by 10.192.165.156 with SMTP id m28csp485819imm; Wed, 11 Apr 2018 02:25:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+rCMwJnJm0xJNWfBuQ+QOb16Zr4ENCPCq1p75IW38wLy+1wwdzMbbBmZcTE6z9AjG9hcl0 X-Received: by 10.98.172.15 with SMTP id v15mr3343917pfe.129.1523438725229; Wed, 11 Apr 2018 02:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523438725; cv=none; d=google.com; s=arc-20160816; b=UnKnkwncA+18dpdiRCQyVQhgoKZ1J2uU4E5u6qnpPIqGZf978UcwdOTFppPllvHmRY Voip3Z7+30djN6b0ATPeWyJusqJey2ghCgoFiL/yI411N0KR2p12CPl5WNavtxGMWlR5 sR21N/aIlIQV2rKXZXtfesqOcChA38Ea336S2xbr33pS7RGv3nibfYPv82x7TkZztMLH ZcGODHIDt5DMOEl6f+QkiAf6dcRo1GFalHUAsqGUqO5QuxvpsZZKGaBdXs/B6n2a4G/l KAS+qgnZ/3/pLFL/uBBbTGL9Ako1Cz9p5w1BDjBQFClP2QBhB+pZ5SWz06dJhnm8U5+k UttQ== 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=xWCO7StF48j6TK5Vd4UxuU4B5MBrYlgshz3yrA2/2AI=; b=PitkYcs5lFgckUS/9J+tOuP8CbnSaF46vshpDlfVM+kN2VecfjNpOwXYZfS2qFCkXu TTuJ2jrNhqGaqK7XrtGWcEO71H7X8mmjOg6C5ZYcs/jFMdV3AYxBlP8PRSyVWfERtU6J DhdqtZWZa2Dhj/TR6JVmPGFaL87sSr/g//J8es0FF6DPKkX9p1GVIPmB3ZdiPG+u4G31 R3yntW7kpjIpuSnHKuvayVMXgeLSH97/lrnSSAKITmJxGzXhu5zpipyEN10Ofdod7jZk yf5YOxNKSJHVMGDxX/CYl0cMA8CqIzk8oVrNFA4NTTkB5H2aauFPuKvb5nStvOMGxZKU 4XNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=S/zpfkq3; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6-v6si756060pln.257.2018.04.11.02.24.48; Wed, 11 Apr 2018 02:25:25 -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=fail header.i=@gmail.com header.s=20161025 header.b=S/zpfkq3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752492AbeDKJVv (ORCPT + 99 others); Wed, 11 Apr 2018 05:21:51 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:46383 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751758AbeDKJVr (ORCPT ); Wed, 11 Apr 2018 05:21:47 -0400 Received: by mail-qk0-f194.google.com with SMTP id l16so183074qke.13; Wed, 11 Apr 2018 02:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=xWCO7StF48j6TK5Vd4UxuU4B5MBrYlgshz3yrA2/2AI=; b=S/zpfkq3DJHox3nTlLe8vmzkDa1q+D6MOfOGFhwo63AQblFnREsB1Vu51ICz2TBcs/ AZ9iSQaN6lEC3u0KCTotBxdPwjUWyMoz346qkmkULUPgaQ0y+sqo1jU9xXoU7+YA7YDd GwxbDTMb4fX6+jlKhXu3Jydr4qTs/U//aViVMGRUldQBNiBcPx6wpj97HsbXStJr/J4q zcgUNSua0ssG8oqK0GnxbPJg3+YiyGFOcIuRa/VFRwoaP3vOWwZ+OMs5viZ/E6CeRE4k ASqv2Ko9qB7kBeiqeMAkkbXlyKMp+NccfHOD9CnA/JHw6VRL/d7SH7n6l2wBZ8hyYepf 5UAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=xWCO7StF48j6TK5Vd4UxuU4B5MBrYlgshz3yrA2/2AI=; b=RVLh1HaLx8ey1haROJn1zZ0ODGvPGmzAQbpTVpi00auVJARnqpOeBE5yNyXgqGIp27 Hm1CTitmiFPRXYnlXwAz+AtS5T+uHNT7hSMzfDtRiPnq7bklIlcGq7O8LForiQ0O3Rzr tbIcqGpiwt0NBuB5NUMb35zgL7Jz4SUIFthDDnNLxFy2LJm5NPTIl2A5RNsRFVYhFWkL pXabqq4Y3nSVvwsb3S+SaoLQpForc0aVs4hivYO6wcoVkdVfyrn1AYpfIK7riV626leJ r8YS1Q0qx3PqnE9HMzpEg9Pz68Fo19s7RBGqOG3frZh8TEnxEYOHAZJoomr1A/1tyHK4 w6DA== X-Gm-Message-State: ALQs6tDgWhVHxgnQc6lfsCgb3DozX0QdgP83POJ6OR1riG6xilVaiAJe DRk9XMzvzlR1KX3Cf3mRcyYlmSWV+A0p3I7jAy24kg== X-Received: by 10.55.10.6 with SMTP id 6mr5502987qkk.271.1523438506204; Wed, 11 Apr 2018 02:21:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.54.147 with HTTP; Wed, 11 Apr 2018 02:21:45 -0700 (PDT) In-Reply-To: <1523438149-16433-1-git-send-email-geert+renesas@glider.be> References: <1523438149-16433-1-git-send-email-geert+renesas@glider.be> From: Geert Uytterhoeven Date: Wed, 11 Apr 2018 11:21:45 +0200 X-Google-Sender-Auth: DihTv8Lp4Ci8WtASiqA3b4tl4aQ Message-ID: Subject: Re: [PATCH] vfio: platform: Fix using devices in PM Domains To: Geert Uytterhoeven Cc: Baptiste Reynal , Alex Williamson , Philipp Zabel , Rob Herring , Mark Rutland , KVM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Renesas , Linux Kernel Mailing List 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 On Wed, Apr 11, 2018 at 11:15 AM, Geert Uytterhoeven wrote: > If a device is part of a PM Domain (e.g. power and/or clock domain), its > power state is managed using Runtime PM. Without Runtime PM, the device > may not be powered up, causing subtle failures, crashes, or system > lock-ups when the device is accessed by the guest. > > Fix this by adding Runtime PM support, powering the device when the VFIO > device is opened by the guest. > > Note that while more fine-grained power management could be implemented > on the guest side, if exported, this would be inherently unsafe, as > abusing it may kill the whole system. > > Signed-off-by: Geert Uytterhoeven Please ignore, this was sent accidentally with another series. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds