Re: [PATCH v2 07/13] ocxl: Add AFU interrupt support

2018-01-25 Thread Andrew Donnellan
On 26/01/18 00:07, Greg KH wrote: On Tue, Jan 23, 2018 at 12:31:42PM +0100, Frederic Barrat wrote: --- /dev/null +++ b/drivers/misc/ocxl/afu_irq.c @@ -0,0 +1,197 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright 2017 IBM Corp. What year is it again? :) It was 2017 when the code was wri

Re: [PATCH v2 07/13] ocxl: Add AFU interrupt support

2018-01-25 Thread Greg KH
On Tue, Jan 23, 2018 at 12:31:42PM +0100, Frederic Barrat wrote: > --- /dev/null > +++ b/drivers/misc/ocxl/afu_irq.c > @@ -0,0 +1,197 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +// Copyright 2017 IBM Corp. What year is it again? :)

[PATCH v2 07/13] ocxl: Add AFU interrupt support

2018-01-23 Thread Frederic Barrat
Add user APIs through ioctl to allocate, free, and be notified of an AFU interrupt. For opencapi, an AFU can trigger an interrupt on the host by sending a specific command targeting a 64-bit object handle. On POWER9, this is implemented by mapping a special page in the address space of a process a