Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp283082pxa; Fri, 31 Jul 2020 11:53:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQRm1qEL6wRSetm2lnBRLnsSchQ1RgApQz8Sler9umoUJ+nwNe+QJhAbbyaCHV13GsWC6C X-Received: by 2002:a05:6402:6cc:: with SMTP id n12mr5449951edy.258.1596221584248; Fri, 31 Jul 2020 11:53:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596221584; cv=none; d=google.com; s=arc-20160816; b=cf+ZrQgALPX1A7zsruixV1TCfzzi2cqaUnhv/2yU5uyGjtHnSXuNaXq/ukh8xg9yVy 06R9TU8tsR2tgqyiecRMScvmkWy4nVjPsbWJA2v+Lcg1G6WJ5LjCYJ7eXar9DDq+a4Y/ 5/OP6hJl/yKvDYUVLo1pbZMNeNBBtEIiLAcLKSPbwK8MadOm0jCYKOdNtX6nDvE+Khs4 fLz4m2AplzI48qY+ue/wKgpIeQIFi9UYNyf9DazJeIjxTouZP1OXDDeNnyHqe447+Zpu iW5xk2o3EARGurrByT9EfjnJaNAcaF29knK6Ci92z+Sc7XvrK5o46mef62ckJW5LtG38 779A== 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=OTd6e/PlNDG/u9+OEO/oweb8OPLzA0xIE8L6spNvI1g=; b=H0lY2a24U+Dwy54e3g7jZk2IN/jFdsIfpV3QI4xvxX0Tuex4xOZJRKDkfket4E1qPC PvUs5S5jp9YyakSpOPMiBHK/s3SAX+oA+31mbf+EyiFm4EudC1a02wDh2otZkFfRcXn8 vET3tI6xjbjjTtLyXGYURwJzKp0guG4P2bvwZ+zHJIwUWPvnkKvUfRDQik1XC66b9nhQ o3rP1ezq01DNhCgypfccngHlZBH5ybzyNhfArWI6sINbpW9L+b3FmFr7ieu3meNKrBHN fLse3LsxrJ6tvV9B3NwC+JykEj/+KOQwcfL9qj52h/DQm8guo+KtWgK1VEsNeHnO4XDY suSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Xj8UXeKQ; 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 b6si5692767eja.559.2020.07.31.11.52.42; Fri, 31 Jul 2020 11:53:04 -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=Xj8UXeKQ; 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 S2387798AbgGaSwb (ORCPT + 99 others); Fri, 31 Jul 2020 14:52:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbgGaSwa (ORCPT ); Fri, 31 Jul 2020 14:52:30 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D5D7C061574 for ; Fri, 31 Jul 2020 11:52:30 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id p14so9320932wmg.1 for ; Fri, 31 Jul 2020 11:52:30 -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=OTd6e/PlNDG/u9+OEO/oweb8OPLzA0xIE8L6spNvI1g=; b=Xj8UXeKQ7Faa+XspLRORgj2TiAmYsf2jKCT4tW34XdSZ3VfiPa/LX0PhGUYRv6q1br y+G2N0ybWso9byDHPjo8O++MDs0qCu2DDacf1uWwyrh9yRIl1ViiKWf5s5cIWnbtes9p lsDjwYxdwpX0QhcE7wy0zHaVJ/kqkI2FfnEfw= 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=OTd6e/PlNDG/u9+OEO/oweb8OPLzA0xIE8L6spNvI1g=; b=XZX8Wr6ukAFyXtUZ01u/e1V/hc8E4T9diZmyGHi1XCQkr3qw6NSiGs4QyBIh6s6RkB /gsSiC30BlMvUT5BW8BWUDS5l7xPxKKyxKobfnsNC2u+PutNLaCq2aC3+m12HDJYe3Bs AU8/yuJEiSO8liM6cOgu1w0vK0Nx5mr/NG+tEiz4jR9VI45popYqa82YXPQNcw4CSd/L 9UFBajtg2wcRZjw7V1H/GwqmeUTuyCTZIAJZy1QNdPECvXzqLoTWMAZr3BZdFPwQ204t j0x9UAZFv42OcIRVkZksxxwKSlOFVNXSCbQ98Bjgv52WHhG+VOJLauv6tP/jvl51LL2M vrfA== X-Gm-Message-State: AOAM532D5rUyxjmc7jhBV3YgdgnqSpkryoIinjpb0qCt9zpO9ckG3L9C rPnsScfbAp08qZgSNbkiO/1exA== X-Received: by 2002:a7b:ca57:: with SMTP id m23mr4830099wml.35.1596221548982; Fri, 31 Jul 2020 11:52:28 -0700 (PDT) Received: from lbrmn-lnxub113.broadcom.net ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id k204sm14311710wma.21.2020.07.31.11.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 11:52:28 -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: Fri, 31 Jul 2020 11:52:15 -0700 Message-Id: <20200731185218.27543-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 | 1507 ++++++++++++++++++++++++++++++ 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, 4360 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