mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-13 14:40:22 +00:00
Disable the Simple Executive's error decoding/reporting code.
This commit is contained in:
parent
9261550cf3
commit
b5acc0d618
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232816
@ -87,8 +87,8 @@
|
||||
#include "cvmx-version.h"
|
||||
#include "cvmx-helper-check-defines.h"
|
||||
#include "cvmx-gmx.h"
|
||||
#include "cvmx-error.h"
|
||||
#if !defined(__FreeBSD__) || !defined(_KERNEL)
|
||||
#include "cvmx-error.h"
|
||||
#include "cvmx-config.h"
|
||||
#endif
|
||||
|
||||
|
@ -74,8 +74,8 @@
|
||||
#include "cvmx-bootmem.h"
|
||||
#include "cvmx-version.h"
|
||||
#include "cvmx-helper-check-defines.h"
|
||||
#include "cvmx-error.h"
|
||||
#if !defined(__FreeBSD__) || !defined(_KERNEL)
|
||||
#include "cvmx-error.h"
|
||||
#include "cvmx-config.h"
|
||||
#endif
|
||||
|
||||
|
@ -56,7 +56,9 @@
|
||||
#include "cvmx-mdio.h"
|
||||
#include "cvmx-mgmt-port.h"
|
||||
#include "cvmx-sysinfo.h"
|
||||
#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)
|
||||
#include "cvmx-error.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enum of MIX interface modes
|
||||
@ -389,7 +391,9 @@ cvmx_mgmt_port_result_t cvmx_mgmt_port_initialize(int port)
|
||||
cvmx_write_csr(CVMX_AGL_GMX_DRV_CTL, drv_ctl.u64);
|
||||
}
|
||||
}
|
||||
#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)
|
||||
cvmx_error_enable_group(CVMX_ERROR_GROUP_MGMT_PORT, port);
|
||||
#endif
|
||||
return CVMX_MGMT_PORT_SUCCESS;
|
||||
}
|
||||
|
||||
@ -408,7 +412,9 @@ cvmx_mgmt_port_result_t cvmx_mgmt_port_shutdown(int port)
|
||||
if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports()))
|
||||
return CVMX_MGMT_PORT_INVALID_PARAM;
|
||||
|
||||
#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)
|
||||
cvmx_error_disable_group(CVMX_ERROR_GROUP_MGMT_PORT, port);
|
||||
#endif
|
||||
|
||||
/* Stop packets from comming in */
|
||||
cvmx_mgmt_port_disable(port);
|
||||
|
@ -81,7 +81,9 @@
|
||||
#include "cvmx-sysinfo.h"
|
||||
#include "cvmx-swap.h"
|
||||
#include "cvmx-wqe.h"
|
||||
#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)
|
||||
#include "cvmx-error.h"
|
||||
#endif
|
||||
#include "cvmx-helper-errata.h"
|
||||
#include "cvmx-qlm.h"
|
||||
#endif
|
||||
@ -1193,7 +1195,7 @@ int cvmx_pcie_rc_initialize(int pcie_port)
|
||||
result = __cvmx_pcie_rc_initialize_gen1(pcie_port);
|
||||
else
|
||||
result = __cvmx_pcie_rc_initialize_gen2(pcie_port);
|
||||
#if !defined(CVMX_BUILD_FOR_LINUX_KERNEL) || defined(CONFIG_CAVIUM_DECODE_RSL)
|
||||
#if (!defined(CVMX_BUILD_FOR_LINUX_KERNEL) && !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)) || defined(CONFIG_CAVIUM_DECODE_RSL)
|
||||
if (result == 0)
|
||||
cvmx_error_enable_group(CVMX_ERROR_GROUP_PCI, pcie_port);
|
||||
#endif
|
||||
@ -1210,7 +1212,7 @@ int cvmx_pcie_rc_initialize(int pcie_port)
|
||||
*/
|
||||
int cvmx_pcie_rc_shutdown(int pcie_port)
|
||||
{
|
||||
#if !defined(CVMX_BUILD_FOR_LINUX_KERNEL) || defined(CONFIG_CAVIUM_DECODE_RSL)
|
||||
#if (!defined(CVMX_BUILD_FOR_LINUX_KERNEL) && !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)) || defined(CONFIG_CAVIUM_DECODE_RSL)
|
||||
cvmx_error_disable_group(CVMX_ERROR_GROUP_PCI, pcie_port);
|
||||
#endif
|
||||
/* Wait for all pending operations to complete */
|
||||
|
@ -51,7 +51,9 @@
|
||||
#include "cvmx-coremask.h"
|
||||
#include "cvmx-spinlock.h"
|
||||
#include "cvmx-atomic.h"
|
||||
#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)
|
||||
#include "cvmx-error.h"
|
||||
#endif
|
||||
#include "cvmx-asm.h"
|
||||
#include "cvmx-bootmem.h"
|
||||
#include "cvmx-profiler.h"
|
||||
|
@ -68,7 +68,9 @@
|
||||
#include "cvmx-helper.h"
|
||||
#ifndef CVMX_BUILD_FOR_LINUX_HOST
|
||||
#include "cvmx-atomic.h"
|
||||
#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)
|
||||
#include "cvmx-error.h"
|
||||
#endif
|
||||
#include "cvmx-helper-errata.h"
|
||||
#endif
|
||||
#include "cvmx-qlm.h"
|
||||
@ -770,7 +772,7 @@ int cvmx_srio_initialize(int srio_port, cvmx_srio_initialize_flags_t flags)
|
||||
cvmx_write_csr(CVMX_SRIOX_INT_REG(srio_port), cvmx_read_csr(CVMX_SRIOX_INT_REG(srio_port)));
|
||||
|
||||
/* Enable error reporting */
|
||||
#if (!defined(CVMX_BUILD_FOR_LINUX_HOST) && !defined(CVMX_BUILD_FOR_LINUX_KERNEL)) || defined(CONFIG_CAVIUM_DECODE_RSL)
|
||||
#if (!defined(CVMX_BUILD_FOR_LINUX_HOST) && !defined(CVMX_BUILD_FOR_LINUX_KERNEL) && !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)) || defined(CONFIG_CAVIUM_DECODE_RSL)
|
||||
cvmx_error_enable_group(CVMX_ERROR_GROUP_SRIO, srio_port);
|
||||
#endif
|
||||
|
||||
|
@ -74,8 +74,10 @@
|
||||
#include "cvmx-helper-board.h"
|
||||
#include "cvmx-csr-db.h"
|
||||
#include "cvmx-swap.h"
|
||||
#if !defined(CVMX_BUILD_FOR_FREEBSD_KERNEL)
|
||||
#include "cvmx-error.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define MAX_RETRIES 3 /* Maximum number of times to retry failed transactions */
|
||||
#define MAX_PIPES 32 /* Maximum number of pipes that can be open at once */
|
||||
|
@ -57,26 +57,6 @@ mips/cavium/octeon_gpio.c optional gpio
|
||||
contrib/octeon-sdk/cvmx-cmd-queue.c standard
|
||||
contrib/octeon-sdk/cvmx-bootmem.c standard
|
||||
contrib/octeon-sdk/cvmx-clock.c standard
|
||||
contrib/octeon-sdk/cvmx-error.c standard
|
||||
contrib/octeon-sdk/cvmx-error-custom.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn30xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn31xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn38xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn38xxp2.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn50xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn52xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn52xxp1.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn56xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn56xxp1.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn58xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn58xxp1.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn61xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn63xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn63xxp1.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn66xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn68xx.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cn68xxp1.c standard
|
||||
contrib/octeon-sdk/cvmx-error-init-cnf71xx.c standard
|
||||
contrib/octeon-sdk/cvmx-fpa.c standard
|
||||
contrib/octeon-sdk/cvmx-helper.c standard
|
||||
contrib/octeon-sdk/cvmx-helper-board.c standard
|
||||
|
Loading…
Reference in New Issue
Block a user