Received: by 10.192.165.156 with SMTP id m28csp1620761imm; Thu, 12 Apr 2018 00:03:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx49SSEfCv5Xt3Ea2EAT02wFx+z/kNo0FK3nZUT/KdHrzIGPAjcVRoPxYKTkDnRqTCCZ1f2z8 X-Received: by 2002:a17:902:758d:: with SMTP id j13-v6mr8646841pll.334.1523516639027; Thu, 12 Apr 2018 00:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523516638; cv=none; d=google.com; s=arc-20160816; b=YxpVVPxnAK0S0NZHTSA8BNyBhQdbkGz+pB3WyqB8SgsKMg2/yltyFuWK6GhJQYJjMs xSXHFP0zp0MlAIzwiZRbEsrr982OuoSZV2q0pKcnjncdYYSKFfCX7FlKWUfx3eubXYnI xjO3BIxak/nKKh4Mlyg+m+WKq7eY2b/mBJ4Ue6JN3YljDe6AXpehiMt0I8bFkVTWJOWX 0zYUtZ8UE3SlJVwUVaQujyXbZsyf1TkiyJDV4hLRRKZ1wGNMgS1Sr5rqAOhkuazFMzRA fPYvegxzorPgjt+EuU2xBF8Pz7tbbIGqPPpGK6GZfWQVDHaJ/iQrFJWMmi1Z7Y9gWXsE 0/sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=bOOCj8kgXTbVge5TF4KiUNY0MGO0fMe3Ad2JkKNHPjU=; b=ymdjYiphYRTy7kHUEIQWxQG3159YTgNXyS7+WtuW6oxriyW+6KBd6wkRQv8h03H3vQ HL+0EZWV2yk0kmBvgNNi8fWjY1qlHkxIEhft9O7fcMj3HGe1WmTIUbiKUImVJ9pmtic3 iCo/bjLm7iPVGFNzgYzdhkgiX68nHlwcpzf/5g9P+c82bSxQhwol63nrJjSyYwKufWjI 1PkQoxOJY/SjwViv2QVLOPkWMNud8W0AFV/auXEP3/koGp/itITpxVmJ8NSDWV0Lp9Lk tfkZMv09eH6nBDRypxvrB4M706yIz4WGScUuycawPheVYv1xDkiN8MnrCRj5kaXKgDWq +ZgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=O1cquRbT; 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 h5si1817268pgq.162.2018.04.12.00.03.22; Thu, 12 Apr 2018 00:03:58 -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=@verge.net.au header.s=mail header.b=O1cquRbT; 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 S1752854AbeDLHAY (ORCPT + 99 others); Thu, 12 Apr 2018 03:00:24 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:37888 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752396AbeDLHAW (ORCPT ); Thu, 12 Apr 2018 03:00:22 -0400 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 2EBC825BE99; Thu, 12 Apr 2018 17:00:20 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1523516420; bh=EOxg+B73lGwi4HG3ip0o2q8/+EOfaIp/WPQ2wrSfvg0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O1cquRbTJnxFLl4MZLFlwBAb2F3I3YRESv9fN0W++HvMHv1okm8ItSPBJ8Q68kGxw 3PnJN6zV0PbB2CVat/CcPfr6TZfzXuCcXyD7gfMoX4x4h66uZfhZQizrYiuwzZpaPs bbHD4W34tb6gfQ+Jz723AfQjFf+dw+zKh1yy032c= Received: by penelope.horms.nl (Postfix, from userid 7100) id 0B02DE2177F; Thu, 12 Apr 2018 10:00:18 +0300 (EEST) Date: Thu, 12 Apr 2018 09:00:18 +0200 From: Simon Horman To: Geert Uytterhoeven Cc: Baptiste Reynal , Alex Williamson , Philipp Zabel , Rob Herring , Mark Rutland , kvm@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] vfio: platform: Add generic DT reset support Message-ID: <20180412070017.ekfic2pgddqs7gdz@verge.net.au> References: <1523438149-16433-1-git-send-email-geert+renesas@glider.be> <1523438149-16433-4-git-send-email-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1523438149-16433-4-git-send-email-geert+renesas@glider.be> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) 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:49AM +0200, Geert Uytterhoeven wrote: > Vfio-platform requires reset support, provided either by ACPI, or, on DT > platforms, by a device-specific reset driver matching against the > device's compatible value. > > On many SoCs, devices are connected to an SoC-internal reset controller. > If the reset hierarchy is described in DT using "resets" properties, > such devices can be reset in a generic way through the reset controller > subsystem. Hence add support for this, avoiding the need to write > device-specific reset drivers for each single device on affected SoCs. > > Devices that do require a more complex reset procedure can still provide > a device-specific reset driver, as that takes precedence. > > Note that this functionality depends on CONFIG_RESET_CONTROLLER=y, and > becomes a no-op (as in: "No reset function found for device") if reset > controller support is disabled. > > Signed-off-by: Geert Uytterhoeven > Reviewed-by: Philipp Zabel Reviewed-by: Simon Horman