Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp963513pxa; Wed, 5 Aug 2020 17:47:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjqz9cYfb68c2G9+ofslutyCspDPjnI2Xxc8LdifSovQ2H21wOKQQkEMp/BQeHvYURWXvT X-Received: by 2002:a17:907:20f5:: with SMTP id rh21mr1918317ejb.194.1596674857763; Wed, 05 Aug 2020 17:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596674857; cv=none; d=google.com; s=arc-20160816; b=Z4c//ocdxiWZBd2pxfOoIftDxjsTAO/lduPKt/OvVU/T18kNsgxebSDNJ1jox/auHE AudV/806CGli+LjquHfY2iJVuRZ/ADB+7WEK+vO15We6BVl5WKww7dM2pYgNF6ukMc9J KaCnAMeGtx++HiqucSnwj+WzfQsiwO+VkMXdiLJXt57L1GzDeWlW5cwhr0Ywd4Uof6Fg xKTVfFXyIXhjap50dZuAHz9YiDtJyJRJX8LhH4KY9y71gtMjikAAUWnbaBcg4+hb2gCP KCkoWehmZ0JzLmKDh4GONlFgxiU34q1fOSQ4Edb17L3Vz8Vb04z47InOOVoO0edf88iD ITxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=AvthtXx6kNmBbpW2Loz0kXBTU3ty0PjFeNcZDHCZDYE=; b=qGu75+ihlt39UlZSukCrvSys1Ubi2Is+Y9Jg9cZt5YIG54QRcUjIHQXJloKFSxj8fQ xBzemaL1smzQOwVtoJgiROhYZhb7v5yHfBzDqm4SZP60OngGQrdakz6AGvo0PmyEoODL AAmFQvDgulIWi5Twbu3o/7sf+NMzUqfdiVHjnM4FWc9RM0hwqnxntJXn/pHuxGcPkhHY AhJzo2CsczEKaCKPt8l2j7SQHnR0Rg0jra2FnyXzEh3OEbQF1BVafvxTPBE99ExsjeZI VXUE/bNXfCFovXtQ7rUGWAzfcSdEObL2l+2oFg69Rl21qZ0m2ZyE73jBmg7Rpn2CGRF8 cNaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=UIitZfc8; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn20si3498770ejc.409.2020.08.05.17.47.15; Wed, 05 Aug 2020 17:47:37 -0700 (PDT) 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=@broadcom.com header.s=google header.b=UIitZfc8; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726965AbgHFAqo (ORCPT + 99 others); Wed, 5 Aug 2020 20:46:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbgHFAqo (ORCPT ); Wed, 5 Aug 2020 20:46:44 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D06DFC061574 for ; Wed, 5 Aug 2020 17:46:43 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id f1so41793974wro.2 for ; Wed, 05 Aug 2020 17:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=AvthtXx6kNmBbpW2Loz0kXBTU3ty0PjFeNcZDHCZDYE=; b=UIitZfc8XfgaMR8z/QIrNVR4gMcLmGYSsG0b3nne78h3fCARuLXu/nflHFi7aYCS+n eOsl4quX1lPwhTdQbkXmRla+EpksFR2G1Hj6QGwxVnJT89q/DfDlR65S4bOLddww9K2O /gwKgjLn3/wxQXlq1khXJezYpmPThk8jk35to= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AvthtXx6kNmBbpW2Loz0kXBTU3ty0PjFeNcZDHCZDYE=; b=SNnJ9as9dwL+FtcoOIUg17gzvc1qCnFOC661uOQBlr33Bz391QjhAlZ7rXXEVj8sR0 /RRNWsoNriIoMT7g2qFzp3B7Pj6VynRBAqa/CB4wb/O1LBOyyEl4XpbUdeA65Gsm82Ts zCEXeZmB17SmNngYweUAmYrm0ecPqj5j/j+/btISjiVpdraMuVhydzv9Mbo/uuUOi5OS 4bbr7xSE4AOzerI/y0yI5zPzTo210VmAqjmjFlS7SBGA2Q17c6av5T2G3AqzWrFJGL4q y2LDUDknmbTvyRnxQIJjjNekOZafZnxFOlRGL3OzVZztzjd34M/hFsXYwrJnpq8sEpZz MohA== X-Gm-Message-State: AOAM5313IAUMzJNKTH4dRYIAQzRLAMdGabMKUT5TJcN5oc+qrz4ZLFIF 14Q+aeJOG+chzLlAdOaLmahOeQ== X-Received: by 2002:adf:cf10:: with SMTP id o16mr4536729wrj.380.1596674802446; Wed, 05 Aug 2020 17:46:42 -0700 (PDT) Received: from lbrmn-lnxub113.broadcom.net ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id c17sm4665745wrc.42.2020.08.05.17.46.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2020 17:46:41 -0700 (PDT) From: Scott Branden To: Arnd Bergmann , Greg Kroah-Hartman , Scott Branden Cc: Kees Cook , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH v2 0/3] Add Broadcom VK driver Date: Wed, 5 Aug 2020 17:46:28 -0700 Message-Id: <20200806004631.8102-1-scott.branden@broadcom.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series drops previous patches in [1] that were incorporated by Kees Cook into patch series "Introduce partial kernel_read_file() support" [2]. Remaining patches are contained in this series to add Broadcom VK driver. (which depends on request_firmware_into_buf API addition in other patch series [2] being applied first). Please note this patch series will not compile without [2]. [1] https://lore.kernel.org/lkml/20200706232309.12010-1-scott.branden@broadcom.com/ [2] https://lore.kernel.org/lkml/20200729175845.1745471-1-keescook@chromium.org/ Changes from v1: - declare bcm_vk_intf_ver_chk as static Scott Branden (3): bcm-vk: add bcm_vk UAPI misc: bcm-vk: add Broadcom VK driver MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver MAINTAINERS | 7 + drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/bcm-vk/Kconfig | 29 + drivers/misc/bcm-vk/Makefile | 11 + drivers/misc/bcm-vk/bcm_vk.h | 424 +++++++++ drivers/misc/bcm-vk/bcm_vk_dev.c | 1369 +++++++++++++++++++++++++++ drivers/misc/bcm-vk/bcm_vk_msg.c | 1514 ++++++++++++++++++++++++++++++ drivers/misc/bcm-vk/bcm_vk_msg.h | 211 +++++ drivers/misc/bcm-vk/bcm_vk_sg.c | 275 ++++++ drivers/misc/bcm-vk/bcm_vk_sg.h | 61 ++ drivers/misc/bcm-vk/bcm_vk_tty.c | 365 +++++++ include/uapi/linux/misc/bcm_vk.h | 99 ++ 13 files changed, 4367 insertions(+) create mode 100644 drivers/misc/bcm-vk/Kconfig create mode 100644 drivers/misc/bcm-vk/Makefile create mode 100644 drivers/misc/bcm-vk/bcm_vk.h create mode 100644 drivers/misc/bcm-vk/bcm_vk_dev.c create mode 100644 drivers/misc/bcm-vk/bcm_vk_msg.c create mode 100644 drivers/misc/bcm-vk/bcm_vk_msg.h create mode 100644 drivers/misc/bcm-vk/bcm_vk_sg.c create mode 100644 drivers/misc/bcm-vk/bcm_vk_sg.h create mode 100644 drivers/misc/bcm-vk/bcm_vk_tty.c create mode 100644 include/uapi/linux/misc/bcm_vk.h -- 2.17.1