mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +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.
|
||||
*/
|
||||
|
||||
#ifndef __VMAP_H__
|
||||
#define __VMAP_H__
|
||||
@@ -232,7 +235,8 @@ vmap_deinit(void **vmap_h);
|
||||
/* Map objects to pcie device.*/
|
||||
int
|
||||
vmap_obj_map(void *vmap_h, struct vmap_obj_map_params *params,
|
||||
struct vmap_obj_attributes *attrib);
|
||||
struct vmap_obj_attributes *attrib, uint64_t aperture_limit,
|
||||
uint64_t *const aperture_inuse);
|
||||
|
||||
/* Unmap objects from pcie device.*/
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user