Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
7e9b0c8e
Unverified
Commit
7e9b0c8e
authored
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1791 from antonio-nino-diaz-arm/an/rk-gic
rockchip: Fix GICv2 interrupts
parents
44b935c0
d31dcdc5
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
plat/rockchip/common/rockchip_gicv2.c
+3
-4
plat/rockchip/common/rockchip_gicv2.c
plat/rockchip/rk3328/rk3328_def.h
+5
-7
plat/rockchip/rk3328/rk3328_def.h
plat/rockchip/rk3368/rk3368_def.h
+4
-6
plat/rockchip/rk3368/rk3368_def.h
with
12 additions
and
17 deletions
+12
-17
plat/rockchip/common/rockchip_gicv2.c
View file @
7e9b0c8e
/*
* Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2016
-2019
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -22,11 +22,10 @@
#pragma weak plat_rockchip_gic_pcpu_init
/******************************************************************************
* On a GICv2 system, the Group 1 secure interrupts are treated as Group 0
* interrupts.
* List of interrupts.
*****************************************************************************/
static
const
interrupt_prop_t
g0_interrupt_props
[]
=
{
PLAT_RK_GICV2_G
1S
_IRQS
PLAT_RK_GICV2_G
0
_IRQS
};
/*
...
...
This diff is collapsed.
Click to expand it.
plat/rockchip/rk3328/rk3328_def.h
View file @
7e9b0c8e
/*
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017
-2019
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -131,15 +131,13 @@
#define RK_IRQ_SEC_SGI_7 15
/*
* Define a list of Group 1 Secure and Group 0 interrupts as per GICv3
* terminology. On a GICv2 system or mode, the lists will be merged and treated
* as Group 0 interrupts.
* Define a list of Group 0 interrupts.
*/
#define PLAT_RK_GICV2_G
1S
_IRQS \
#define PLAT_RK_GICV2_G
0
_IRQS \
INTR_PROP_DESC(RK_IRQ_SEC_PHY_TIMER, GIC_HIGHEST_SEC_PRIORITY, \
GICV2_INTR_GROUP
1
, GIC_INTR_CFG_LEVEL), \
GICV2_INTR_GROUP
0
, GIC_INTR_CFG_LEVEL), \
INTR_PROP_DESC(RK_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, \
GICV2_INTR_GROUP
1
, GIC_INTR_CFG_LEVEL)
GICV2_INTR_GROUP
0
, GIC_INTR_CFG_LEVEL)
#define SHARE_MEM_BASE 0x100000
/* [1MB, 1MB+60K]*/
#define SHARE_MEM_PAGE_NUM 15
...
...
This diff is collapsed.
Click to expand it.
plat/rockchip/rk3368/rk3368_def.h
View file @
7e9b0c8e
/*
* Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2016
-2019
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -96,12 +96,10 @@
#define RK_IRQ_SEC_SGI_7 15
/*
* Define a list of Group 1 Secure and Group 0 interrupts as per GICv3
* terminology. On a GICv2 system or mode, the lists will be merged and treated
* as Group 0 interrupts.
* Define a list of Group 0 interrupts.
*/
#define PLAT_RK_GICV2_G
1S
_IRQS \
#define PLAT_RK_GICV2_G
0
_IRQS \
INTR_PROP_DESC(RK_IRQ_SEC_PHY_TIMER, GIC_HIGHEST_SEC_PRIORITY, \
GICV2_INTR_GROUP
1
, GIC_INTR_CFG_LEVEL)
GICV2_INTR_GROUP
0
, GIC_INTR_CFG_LEVEL)
#endif
/* RK3368_DEF_H */
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help