Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4426982pxb; Sun, 14 Feb 2021 09:55:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTh3obInmUEWc43C/6imDrRE0xoRi+q8rosbavexUsK6iWIdfGFcTphn7u0KjBUa3pCS7A X-Received: by 2002:a17:906:1199:: with SMTP id n25mr12227147eja.431.1613325328524; Sun, 14 Feb 2021 09:55:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613325328; cv=none; d=google.com; s=arc-20160816; b=KVCzptax/ijDSy9PlDwQi8sHmtHNRF1FWKzbWo3WUriqeBe1WGDa8PqaZfuzaG8xHb 73iD9lNdkm19Mn56Jk9c0tK/GPZ4EQQRVOre/PXFKG/Udjhpa8UU2Ukhrq/qscg73ugS 7eZ8yhYf6Dkciv+DJi1f7NopCZrxsdNcYIWe+reOEiXHNWIm8YE4L9Khng0rChqsDnj0 Od+x20xIx7bHEZlJl6XNClpf34f6J3otak47OBqLEMETu/u7o769mRwsAA/NaM3uRaNp KjDab/60MHvVlcKzckfM/dZMxwut8R6P5NP/Uh/EjRuFK5CP563Ngq6pQKouu/5ZRAD5 UCnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=iGqt0nHjobZmEO9n22ezQT55DO4AzImZXB6TGp/92FE=; b=wxItvBFPihC+uWvNiO5If7M+ctNEWsDQnD/98gMOUVN8nGHKN5gVN79qYMvvdJFO5j gNU7e8oOigIK73YnwVRf5JyVvET/pFB0S9OyJ8Yr2G5h1c0BRkZWPx6QgXhz32WLNR/T uECwY8AxcT+8XEq2xEpb6dOSxVqDNR71eWjhO2PQX22fbSpobk5sMugQHsRyKUEmSANf CQQ4/jhPB/TNV5FIKqSAFu577dW5h+dKOpZwQGRHpHCPZ4pLEFRV9Qd6tDunmWCInlhs 8Tsb8S80ryGGUyv3suXRcbh7vCGV7CXogPSZv0QFWtz3KHHO8GV/OdG+GNBSJAhlqltC YB8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=dVS7Feb0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gx15si10683652ejc.300.2021.02.14.09.55.05; Sun, 14 Feb 2021 09:55:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=dVS7Feb0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229815AbhBNRxn (ORCPT + 99 others); Sun, 14 Feb 2021 12:53:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbhBNRxm (ORCPT ); Sun, 14 Feb 2021 12:53:42 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69443C061574; Sun, 14 Feb 2021 09:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=iGqt0nHjobZmEO9n22ezQT55DO4AzImZXB6TGp/92FE=; b=dVS7Feb0WaCsjIK9/87IHsZ4KW C5OORW2Hioh8jltQGg+Od/5BTv1tqVagn8XTa9guljVuDYGYhs65oA8kUpVXGK77cZ77Q1HhXzMUJ fs32NTm8NDiniInNYQb6mf6KocG5Z5YjVSs6EeqbYYqKdy93BaDLEujsvuqlTra9uIjeDCun+AtlX fW9Mobn4c6HT/haW2YRlyeRttW99R3ZfG/vgtC/Ygh5dYnMhw3dDIK2sGPQqe5gbSbpWBhEcehRlX Q7g5tjDrh/r/vr65t25N4Amy38sHxpPVXAz11Izvjnxtx63cGjSysXDZ1fxvNphNKGwdmroT+czl9 WV/8P7ZQ==; Received: from [2601:1c0:6280:3f0::6444] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1lBLZq-0005mH-D3; Sun, 14 Feb 2021 17:52:58 +0000 Subject: Re: [PATCH v6 20/34] xlink-core: Add xlink core driver xLink To: mgross@linux.intel.com, markgross@kernel.org, arnd@arndb.de, bp@suse.de, damien.lemoal@wdc.com, dragan.cvetic@xilinx.com, gregkh@linuxfoundation.org, corbet@lwn.net, palmerdabbelt@google.com, paul.walmsley@sifive.com, peng.fan@nxp.com, robh+dt@kernel.org, shawnguo@kernel.org, jassisinghbrar@gmail.com Cc: linux-kernel@vger.kernel.org, Seamus Kelly , Derek Kiernan , linux-doc@vger.kernel.org References: <20210212222304.110194-1-mgross@linux.intel.com> <20210212222304.110194-21-mgross@linux.intel.com> From: Randy Dunlap Message-ID: Date: Sun, 14 Feb 2021 09:52:51 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210212222304.110194-21-mgross@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/12/21 2:22 PM, mgross@linux.intel.com wrote: > diff --git a/drivers/misc/xlink-core/Kconfig b/drivers/misc/xlink-core/Kconfig > new file mode 100644 > index 000000000000..a0ceb0b48219 > --- /dev/null > +++ b/drivers/misc/xlink-core/Kconfig > @@ -0,0 +1,33 @@ > +config XLINK_CORE > + tristate "Support for XLINK CORE" > + depends on ((XLINK_PCIE_RH_DRIVER || XBAY_XLINK_PCIE_RH_DRIVER) || (XLINK_LOCAL_HOST && (XLINK_PCIE_LH_DRIVER || XBAY_XLINK_PCIE_RH_DRIVER))) -ELINETOOLONG. Use '\' for line continuation in Kconfig files. > + help > + XLINK CORE enables the communication/control subsystem. > + > + If unsure, say N. > + > + To compile this driver as a module, choose M here: the > + module will be called xlink.ko. > + > +config XLINK_LOCAL_HOST > + tristate "Support for XLINK LOCAL HOST" > + depends on XLINK_IPC > + help > + XLINK LOCAL HOST enables local host functionality for > + the communication/control Sub-System. > + > + Enable this config when building the kernel for the Intel Vision > + Processing Unit (VPU) Local Host core. > + > + If building for a Remote Host kernel, say N. > + > +config XLINK_PSS > + tristate "Support for XLINK PSS (Pre-Silicon Solution)" > + depends on XLINK_LOCAL_HOST > + help > + XLINK PSS enables the communication/control subsystem on a PSS platform. > + > + Enable this config when building the kernel for the Intel Vision > + Processing Unit (VPU) in a simulated env. Please s/env/environment/. > + > + If building for a VPU silicon, say N. -- ~Randy