mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
nvscic2c-pcie: Add Buffer limts per endpoint
Address security ARR: DOS60-REQ-7169 in streaming mode. Add per endpoint streaming mode buffer limits. Bug 4883175 JIRA NVIPC-2453 Change-Id: I31edb2bacf4a8af560e7e6da7d378da874d105bd Signed-off-by: Janardhan Reddy <jreddya@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3196300 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Jon Hunter
parent
6c9bba8912
commit
cfaad9cd6d
@@ -1,5 +1,8 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES.
|
||||
* All rights reserved.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Internal to gos-nvscic2c module. This file is not supposed to be included
|
||||
@@ -21,6 +24,8 @@ struct stream_ext_params {
|
||||
struct node_info_t *peer_node;
|
||||
u32 ep_id;
|
||||
char *ep_name;
|
||||
/* Streaming mode per endpoint PCIe aperture mapping limit */
|
||||
uint64_t aperture_limit;
|
||||
struct platform_device *host1x_pdev;
|
||||
enum drv_mode_t drv_mode;
|
||||
void *pci_client_h;
|
||||
|
||||
Reference in New Issue
Block a user