sgi-gru: add support to the GRU driver for message queue interrupts
Add support to the GRU driver for message queue interrupts. Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
ecdaf2b552
commit
6f2584f474
@@ -66,6 +66,12 @@ xpc_setup_partitions_sn_sn2(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
xpc_teardown_partitions_sn_sn2(void)
|
||||
{
|
||||
/* nothing needs to be done */
|
||||
}
|
||||
|
||||
/* SH_IPI_ACCESS shub register value on startup */
|
||||
static u64 xpc_sh1_IPI_access_sn2;
|
||||
static u64 xpc_sh2_IPI_access0_sn2;
|
||||
@@ -436,11 +442,12 @@ xpc_send_chctl_local_msgrequest_sn2(struct xpc_channel *ch)
|
||||
XPC_SEND_LOCAL_NOTIFY_IRQ_SN2(ch, XPC_CHCTL_MSGREQUEST);
|
||||
}
|
||||
|
||||
static void
|
||||
static enum xp_retval
|
||||
xpc_save_remote_msgqueue_pa_sn2(struct xpc_channel *ch,
|
||||
unsigned long msgqueue_pa)
|
||||
{
|
||||
ch->sn.sn2.remote_msgqueue_pa = msgqueue_pa;
|
||||
return xpSuccess;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -2315,6 +2322,7 @@ xpc_init_sn2(void)
|
||||
size_t buf_size;
|
||||
|
||||
xpc_setup_partitions_sn = xpc_setup_partitions_sn_sn2;
|
||||
xpc_teardown_partitions_sn = xpc_teardown_partitions_sn_sn2;
|
||||
xpc_get_partition_rsvd_page_pa = xpc_get_partition_rsvd_page_pa_sn2;
|
||||
xpc_setup_rsvd_page_sn = xpc_setup_rsvd_page_sn_sn2;
|
||||
xpc_increment_heartbeat = xpc_increment_heartbeat_sn2;
|
||||
|
Reference in New Issue
Block a user