diff --git a/arch/arm64/kernel/mikc.c b/arch/arm64/kernel/mikc.c index 2c052b98..21a57150 100644 --- a/arch/arm64/kernel/mikc.c +++ b/arch/arm64/kernel/mikc.c @@ -19,7 +19,7 @@ int ihk_mc_ikc_init_first_local(struct ihk_ikc_channel_desc *channel, memset(channel, 0, sizeof(struct ihk_ikc_channel_desc)); - mikc_queue_pages = ((4 * num_processors * MASTER_IKCQ_PKTSIZE) + mikc_queue_pages = ((8 * num_processors * MASTER_IKCQ_PKTSIZE) + (PAGE_SIZE - 1)) / PAGE_SIZE; /* Place both sides in this side */ diff --git a/kernel/host.c b/kernel/host.c index 490160d0..9c03b2e6 100644 --- a/kernel/host.c +++ b/kernel/host.c @@ -895,7 +895,7 @@ void init_host_ikc2linux(int linux_cpu) param.port = 503; param.intr_cpu = linux_cpu; param.pkt_size = sizeof(struct ikc_scd_packet); - param.queue_size = 2 * num_processors * sizeof(struct ikc_scd_packet); + param.queue_size = 4 * num_processors * sizeof(struct ikc_scd_packet); if (param.queue_size < PAGE_SIZE * 4) { param.queue_size = PAGE_SIZE * 4; }