ARM: 7163/2: PL330: Only register usable channels
authorJavi Merino <javi.merino@arm.com>
Wed, 16 Nov 2011 11:21:24 +0000 (12:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 Nov 2011 13:12:19 +0000 (13:12 +0000)
commit2674dd0b1c07d8b8dfb4872fc7b41841f05cb957
treeffdc74f7dacca1eadda885a61f5f06c3fb048772
parentfa0ce4035d4897b0642132866d896a906429f45e
ARM: 7163/2: PL330: Only register usable channels

When the manager is running non-secure, the only channels that can
issue interrupts are the ones that have a 1 in their corresponding bit
in Configuration Register 3. The other ones will generate an abort
when trying to signal the end of the transaction so they are useless
in non-secure mode.

Reference: <1320244259-10496-2-git-send-email-javi.merino@arm.com>

Signed-off-by: Javi Merino <javi.merino@arm.com>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/pl330.c