Re: PCI drivers and interrupts

2016-11-04 Thread Kenneth Adam Miller
Oh! It's just a particular memory addressed, and that's what is being memory mapped into user land. Then I could just write a value in the kernel land, just as I would from the user land, to the address that is being memory mapped in. I should just read the device spec better and test how to write

Re: PCI drivers and interrupts

2016-11-04 Thread Andrey Utkin
I've worked on a couple of PCI drivers for Linux, however I haven't studied actual PCI bus protocol and such fundamental details. Also I haven't read your post thoroughly and haven't visited your links. So I can be completely wrong... But I am very surprised that you want to send interrupts from k

PCI drivers and interrupts

2016-11-04 Thread Kenneth Adam Miller
Hello, I'm trying to author a driver that communicates over shared memory within the kernel land between concurrent userland processes. I'm using this as a base: https://github.com/henning-schild/ivshmem-guest-code/blob/master/kernel_module/uio/uio_ivshmem.c I've been able to build it and to ins