Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1250275ybv; Thu, 20 Feb 2020 16:23:00 -0800 (PST) X-Google-Smtp-Source: APXvYqxE8Zt/Peu7EeVM2xVicXigrv89VwsI1jD0gP+ULWZQ596dVrutlvozCEoTf1zPYnDu/UTz X-Received: by 2002:a9d:6e98:: with SMTP id a24mr24792379otr.53.1582244580481; Thu, 20 Feb 2020 16:23:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582244580; cv=none; d=google.com; s=arc-20160816; b=lDnwFYoro1sQei16pIycbyLjMJRhmbV395wrH2ujM+TaTUrWbt8rJ0aaJjAMHPTfYE QJVOr20YvythWTKATr6Sn+h32M1tlE9sYiqnEHDrHMk+qOdE/hnwHig2RKhd7zBduKyS /jNTWUZ3AMhaFFCPivPZdcaJi00MpdzaRilqBVzcBqEDfHKJOz/cloNrK9xDTS/iPsbg l6S6mXliddD0ZBLGlL8S2/Pp9X4cMZ25H0QAN4qhDdLGcuIox6eQWf2nzj7PEHYNmu5m hkFQHRA84m8xKqWpHUn4sJHK5cYTxjHs8kBcaL8NnsjOGIsam3A9LgRtaEnsmbmYNu+j e8rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=tMJ8YKxTeBtxTcT9+8gwag/FsvtT3wSn7stN9kvfG0Q=; b=z9E5nSw1a0JZG4x4U+DuKeCDw6sc3YbTp6jOET9BrH/Ow5BVbsTVbjUi4h9y6SRuGX 2MMWbhj9dvf/DdxZOxzuodH7FWG8nN/KqRq9EHXzVat2wPTSHCxQT9Dq3peIIu48nFCx WoBN6IOjwprf4M4pEwbpWXK5r4AwGPbvBqPO7AMQNhDjxERts3F/TAbSqo82yKhBHjAA AVJ23Z3tJBWYVtsmW7LrBo/jXBhvSOr7aHi1iTB8WuZremq7/u8lw77kwn4OOM5kC0kU 2/FJ+rBdBDDQXkiF3UUK4K3OZeeTxBsjrJb2UqhtMdJZnqQQDDKZ54fB3/rje6rD6UEw gKjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=I6fAixvG; 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 y23si567048oti.65.2020.02.20.16.22.48; Thu, 20 Feb 2020 16:23:00 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=I6fAixvG; 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 S1729535AbgBUAVX (ORCPT + 99 others); Thu, 20 Feb 2020 19:21:23 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:33250 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729392AbgBUAVX (ORCPT ); Thu, 20 Feb 2020 19:21:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=tMJ8YKxTeBtxTcT9+8gwag/FsvtT3wSn7stN9kvfG0Q=; b=I6fAixvGMEOmvfzzpJEepAfJtm PXVdq7yCLQEEvy3t4ujzGyV7hIW+tgNWOV8C5gsgeQYhP6ptOwGo++BOf6tv10ZObHBITktO81YPa 4jTb5lEt5DXYFa/oiYiSp7rLSDtYv9RCg2hyZx+zX+bQ/SrQKlYio37lgRDJw1YECZxMGJfkoLMwR CN/nFFlNnR7HtjwlPFeDw5VT4YPCJkAPkoD9d4K90iqtIkPIfypmhBbxTdEdhNu3K0GaPha8Nmgqp yuh3hYYGgfpmN2VKO1HvdUWu2GBjyqBPghv3XIiekadWeA8GpLbHW3OafvDVigtMmp/mfiK4hAPQO vAbEVGdQ==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1j4w4H-0003FS-Sz; Fri, 21 Feb 2020 00:21:21 +0000 Subject: Re: [PATCH v2 6/7] misc: bcm-vk: add Broadcom VK driver To: Scott Branden , Luis Chamberlain , Greg Kroah-Hartman , David Brown , Alexander Viro , Shuah Khan , bjorn.andersson@linaro.org, Shuah Khan , Arnd Bergmann Cc: "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-fsdevel@vger.kernel.org, BCM Kernel Feedback , Olof Johansson , Andrew Morton , Dan Carpenter , Colin Ian King , Kees Cook , Takashi Iwai , linux-kselftest@vger.kernel.org, Andy Gross , Desmond Yan , James Hu References: <20200220004825.23372-1-scott.branden@broadcom.com> <20200220004825.23372-7-scott.branden@broadcom.com> <827a4520-95ce-5264-90d9-ed730e5918e6@infradead.org> <22c48aaf-21e2-56ab-3f40-e497a69cd936@broadcom.com> From: Randy Dunlap Message-ID: Date: Thu, 20 Feb 2020 16:21:20 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <22c48aaf-21e2-56ab-3f40-e497a69cd936@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/20/20 4:06 PM, Scott Branden wrote: > Hi Randy, > > On 2020-02-19 5:04 p.m., Randy Dunlap wrote: >> Hi, >> >> On 2/19/20 4:48 PM, Scott Branden wrote: >>> diff --git a/drivers/misc/bcm-vk/Kconfig b/drivers/misc/bcm-vk/Kconfig >>> new file mode 100644 >>> index 000000000000..c75dfb89a38d >>> --- /dev/null >>> +++ b/drivers/misc/bcm-vk/Kconfig >>> @@ -0,0 +1,42 @@ >>> +# SPDX-License-Identifier: GPL-2.0-only >>> +# >>> +# Broadcom VK device >>> +# >>> +config BCM_VK >>> +    tristate "Support for Broadcom VK Accelerators" >>> +    depends on PCI_MSI >>> +    default m >> Need to justify default m. Normally we don't add drivers as enabled unless >> they are required for basic (boot) operation. > Will remove default m as not needed to boot.  Interesting other offload engines misc/ocxl/Kconfig and misc/cxl/Kconfig have default m. Thanks. Uh, yes, that is interesting. They both depend on PPC_POWERNV, which I know nothing about. >>> +    help >>> +      Select this option to enable support for Broadcom >>> +      VK Accelerators.  VK is used for performing >>> +      specific video offload processing.  This driver enables >>> +      userspace programs to access these accelerators via /dev/bcm-vk.N >>> +      devices. >>> + >>> +      If unsure, say N. -- ~Randy