Re: [Xen-devel] Access I2C bus from guest/DomU on ARM board

2018-02-01 Thread Saumya Rajesh
On Wed, Jan 31, 2018 at 8:36 PM, Andrii Anisov wrote: > Hello Saumya, > > > On 18.01.18 09:50, Saumya Rajesh wrote: >> >> Actually I am planning to set up Android as guest in Xen. > > I see. > >> In order to enable sound in the Android guest, I need to passthrough the >> audio codec device which c

Re: [Xen-devel] Access I2C bus from guest/DomU on ARM board

2018-01-31 Thread Andrii Anisov
Hello Saumya, On 18.01.18 09:50, Saumya Rajesh wrote: Actually I am planning to set up Android as guest in Xen. I see. In order to enable sound in the Android guest, I need to passthrough the audio codec device which communicates through the I2C bus. For BE/FE scheme, I think sharing the in

Re: [Xen-devel] Access I2C bus from guest/DomU on ARM board

2018-01-29 Thread Saumya Rajesh
On Thu, Jan 18, 2018 at 1:20 PM, Saumya Rajesh wrote: > On Wed, Jan 17, 2018 at 9:06 PM, Andrii Anisov > wrote: >> >> Rajesh, >> >> On 17.01.18 16:03, Saumya Rajesh wrote: >>> >>> Just out of curiosity, is it possible to split the Driver for the Renesas >>> RCar I2C unit [1] into frontend and bac

Re: [Xen-devel] Access I2C bus from guest/DomU on ARM board

2018-01-17 Thread Saumya Rajesh
On Wed, Jan 17, 2018 at 9:06 PM, Andrii Anisov wrote: > Rajesh, > > On 17.01.18 16:03, Saumya Rajesh wrote: > >> Just out of curiosity, is it possible to split the Driver for the Renesas >> RCar I2C unit [1] into frontend and backend to use the i2c bus from guest? >> Or to do something similar to

Re: [Xen-devel] Access I2C bus from guest/DomU on ARM board

2018-01-17 Thread Andrii Anisov
Rajesh, On 17.01.18 16:03, Saumya Rajesh wrote: Just out of curiosity, is it possible to split the Driver for the Renesas RCar I2C unit [1] into frontend and backend to use the i2c bus from guest? Or to do something similar to PCI passthrough? Please forgive me if I sound illogical. I'm just c

Re: [Xen-devel] Access I2C bus from guest/DomU on ARM board

2018-01-17 Thread Saumya Rajesh
On Tue, Jan 16, 2018 at 9:22 PM, Andrii Anisov wrote: > Dear Rajesh, > > > You can try to get an I2C bus controller in DomU in PIO mode following > [1], keeping in mind [2]. > > If you want it DMA capable you need Renesas IPMMU support in XEN [3], [4] > to be incorporated. > > > [1] - https://xen

Re: [Xen-devel] Access I2C bus from guest/DomU on ARM board

2018-01-16 Thread Andrii Anisov
Dear Rajesh, You can try to get an I2C bus controller in DomU in PIO mode following [1], keeping in mind [2]. If you want it DMA capable you need Renesas IPMMU support in XEN [3], [4] to be incorporated. [1] - https://xenbits.xen.org/docs/unstable/misc/arm/passthrough.txt [2] - https://

Re: [Xen-devel] Access I2C bus from guest/DomU on ARM board

2018-01-16 Thread Lars Kurth
Added embedded-pv-de...@lists.xenproject.org > On 16 Jan 2018, at 13:39, Saumya Rajesh wrote: > > Hi Xen community > > I have built and brought up Xen 4.8 on Renesas RCar H3. For a specific > requirement, I need to use the I2C bus of the board from Domain U. Is there a > way to use the I2C bu