Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3148350pxa; Tue, 25 Aug 2020 12:47:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgUUTO/7bYbVUxTAjz6FT0FJiw5oFqUne8NUdCLYiFWqE+/TQ5o+ObYWbk+i6tlsXGEQty X-Received: by 2002:a17:906:b34c:: with SMTP id cd12mr11660954ejb.504.1598384853777; Tue, 25 Aug 2020 12:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384853; cv=none; d=google.com; s=arc-20160816; b=JuH70wPaD4LmTVYgwFnfBGCWveVC3XC6dPzNDY9uqoJY98kJ4m0crs1N4tVudKzwsN DN+lomRHV2vMQypjDW81VjYQtqwI+8WT/vbN5LEGGrdmncqu1t670nNaASHaEigZt6Ns R9D0CySjLyoCdE5n6JXR6Qtc1Rn1m1dP2h6argct1mb06i7H4SscMpTGlh7fqCwUdsFN +YCJTxVZqyp2ad5CI80iKsF/ACsWPtIXkSPDj8aCXvjPWzenQK+k7FlX2xEAxgbDa/Xn LCvnD3pHYRl3WGhuP2RgBVVZ07k/gRRNRe5ptZP37Fo52iLW6ZgpzTIHxtnzB5jzoYBy UJUg== 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=T5IVeQZed1/ZAiunFGgrbQcoqmk5Du9WN/sYpAieJCE=; b=f+FJiyVFtJqy4zviFoiR8zuyCjSPDOvyZhNNLiTszAKDbmYMOCxsQDBe190ItzaZBr E0x44O5dDam8nsW8yK6SSY67odpWn9B5qFxfz9J2/nHRD1n5ZpSjVGvFBoz1DlOYmrbw /A1qCj9prKrW4wqAHsckD8aHeyw8hVHNRi6v4hxmJGIynU7VI0ezmzfYN0ClldrxMjEL 7jS7h0WWTxFov2go8O8EGfFKF6lmsbBXRQgMxaaXhpOmUBbIxST251QrTnQQnGM176j2 w484Nmiled8HZIjxKLHKkjzIWPOjIOrXoTcxjdyS3P6EFC1WAqkiu63/fNhbuAl2EUb9 +2CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=CzFzK4bN; 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 k10si29570ejr.323.2020.08.25.12.47.10; Tue, 25 Aug 2020 12:47:33 -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=CzFzK4bN; 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 S1726759AbgHYToN (ORCPT + 99 others); Tue, 25 Aug 2020 15:44:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbgHYToM (ORCPT ); Tue, 25 Aug 2020 15:44:12 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1200EC061574 for ; Tue, 25 Aug 2020 12:44:12 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id nv17so24292pjb.3 for ; Tue, 25 Aug 2020 12:44:11 -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=T5IVeQZed1/ZAiunFGgrbQcoqmk5Du9WN/sYpAieJCE=; b=CzFzK4bNXTBS3Z6DobUHrOBJ9CwStPKYTfGH1JMYvFvXzuRg3puB5N/2pR/f5BvWZe eYE0LVjrWSvlpOnDHXHcaFZmMoqDwAQn/xKFeR5B9ddn8+AHlWmgw1y/KzfY5PXn/0wH Err+seuenQuOtbLhc+CYhQqTNgY7v3PfYoUT8= 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=T5IVeQZed1/ZAiunFGgrbQcoqmk5Du9WN/sYpAieJCE=; b=NpFFNfZwPg+15bGCygm16y7dkVuP0L15fcxaByqgQmMsdMalDm/4SdCdCidlKXsuKI 81/BmooXG5jK69LRnlWxUi8Mv0yrmW5/221xtzM6DPgg6YChUaSyAMnCmGeMqv5KwK9K 2dcF1wtSm49lY44BxEDD5Y83LOdQXq0uFbSLniI+xEv+y4ZMC7igeQ4BFV7OYhW1dBrH 86/M6BtXVpjm3LSiN4kibEO0bK7GBEA8HV9Gaesrx5kouNA2Cb3Jl/x0AjTlI/cKJ19n oEW0jdwetwhZeuBXISYc+HPgR3URPPyNHtCvkNiX6I8taRabtO9YBl+ZF47uIiYX+Sjm lawA== X-Gm-Message-State: AOAM533EVOEB80ZT8qSJowIXRfi+G1HfbwDn6qD9qpEIRSY91327MLdP emVDO5J4nCeX9I8yNT/JU3s0WA== X-Received: by 2002:a17:90a:b296:: with SMTP id c22mr3018357pjr.170.1598384651320; Tue, 25 Aug 2020 12:44:11 -0700 (PDT) Received: from lbrmn-lnxub113.broadcom.net ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id x5sm45297pfj.1.2020.08.25.12.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 12:44:10 -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 v3 0/3] Add Broadcom VK driver Date: Tue, 25 Aug 2020 12:43:57 -0700 Message-Id: <20200825194400.28960-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 v2: - open code BIT macro in uapi header - A0/B0 boot improvements 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 | 430 +++++++++ drivers/misc/bcm-vk/bcm_vk_dev.c | 1475 +++++++++++++++++++++++++++++ drivers/misc/bcm-vk/bcm_vk_msg.c | 1523 ++++++++++++++++++++++++++++++ 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, 4488 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