Received: by 10.223.176.46 with SMTP id f43csp3900118wra; Tue, 23 Jan 2018 00:39:32 -0800 (PST) X-Google-Smtp-Source: AH8x225UcuViU0IM+GZXKFntJsTBAIkw4f9xqsgVH858gKcwYvdNrzA8TVmR+i90ap0L4mZGMBz/ X-Received: by 10.99.146.3 with SMTP id o3mr8572115pgd.309.1516696772167; Tue, 23 Jan 2018 00:39:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516696772; cv=none; d=google.com; s=arc-20160816; b=RE+oslyDQm0AzIwEGC4exfqm264bEVjxHxFzosrt/LAWbU70SH/Mgn+IcOqQ4XTMIS aLX5nHSsxqit+50szQkdgXCeGka+ARvP4ZLW3sXA7bQI5k5Fyx9laV6Jxo6KcvnlcBIh ruI1QlZOZ1r1vOzaPThCf6dDW3ul/zSLmln7KK2h9F+eUSu5rCkMsVtMdObPlAzGcTCV iM92PzoL2RqJ9zmtUmud5s0Pbo9SIDJx8tya6/J7VevxXuWWhG4bIz9ya/Vm6RujQxZY lIPTBZiN79ilD9cYcp3pxGs74QSy+exGYXG2vklOxHb1iVrQCL7Jut+vmFxo1ERmCBPp vfvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=IgmXMohvyJ0RAE52YTI5kZFQGrg96QZnXsWlDoZB0Vw=; b=CmNHXRVyiTZLSGdjYMdSPDduWhyO9T3WmbvUZilJUqz8hTFMKwbNjfs2+6VqHMDn6l c7zDgbla2sWfJW96BGlzPyy4MdIU6zF7H5mCiPh7XL9+oOOxbxt0G9wyVKRWdbi+Kqm3 ZZF5pmwCBFvoupV9R4RDF9rSu1FUD2082l4u1UIv3BZ5b7ATepREXpqTdahlZaTm3fWr f7lSic77ypg1xIaUq3+nOpVvOYrL/Ne4HmgCtxi3lQIhGnks+r7Ng3bqXd6v6G8hGeD9 QJT8nWWjAoHJmqCytF2dtrk5iazdfrcR8Qb923wydOJXXA8cSFb5869ZCQkOeylO0yp0 +yqw== ARC-Authentication-Results: i=1; mx.google.com; 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 b59-v6si4395735plc.302.2018.01.23.00.39.18; Tue, 23 Jan 2018 00:39:32 -0800 (PST) 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; 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 S1751375AbeAWIiZ (ORCPT + 99 others); Tue, 23 Jan 2018 03:38:25 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45752 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751156AbeAWIiY (ORCPT ); Tue, 23 Jan 2018 03:38:24 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4E4A210B2; Tue, 23 Jan 2018 08:38:23 +0000 (UTC) Date: Tue, 23 Jan 2018 09:38:23 +0100 From: Greg KH To: Jolly Shah Cc: ard.biesheuvel@linaro.org, mingo@kernel.org, matt@codeblueprint.co.uk, sudeep.holla@arm.com, hkallweit1@gmail.com, keescook@chromium.org, dmitry.torokhov@gmail.com, michal.simek@xilinx.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, rajanv@xilinx.com, Jolly Shah Subject: Re: [PATCH v2 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver Message-ID: <20180123083823.GB21463@kroah.com> References: <1516220434-22204-1-git-send-email-jollys@xilinx.com> <1516220434-22204-3-git-send-email-jollys@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516220434-22204-3-git-send-email-jollys@xilinx.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 17, 2018 at 12:20:32PM -0800, Jolly Shah wrote: > This patch is adding communication layer with firmware. > Firmware driver provides an interface to firmware APIs. > Interface APIs can be used by any driver to communicate to > PMUFW(Platform Management Unit). All requests go through ATF. > > Signed-off-by: Jolly Shah > Signed-off-by: Rajan Vaja > --- > arch/arm64/Kconfig.platforms | 1 + > drivers/firmware/Kconfig | 1 + > drivers/firmware/Makefile | 1 + > drivers/firmware/xilinx/Kconfig | 4 + > drivers/firmware/xilinx/Makefile | 4 + > drivers/firmware/xilinx/zynqmp/Kconfig | 16 + > drivers/firmware/xilinx/zynqmp/Makefile | 4 + > drivers/firmware/xilinx/zynqmp/firmware.c | 987 ++++++++++++++++++++++++ > include/linux/firmware/xilinx/zynqmp/firmware.h | 570 ++++++++++++++ Why does this file need to be in include/linux/ at all? Shouldn't it just live in the driver-specific subdir? thanks, greg k-h