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

[Xen-devel] Issue with booting with xen,passthrough DTB

2018-01-30 Thread Saumya Rajesh
Hi I am trying to passthrough the I2C bus[channel 2 group A] to DomU in Xen. I am implementing this on R-Car H3. I added xen,passthrough = "1" to the i2c2 node in r8a7795.dtsi and rebuilt the dtb for Domain 0. The dtb works when I boot into Dom0, but the kernel crashes when I try to boot again us

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 pass

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

2018-01-16 Thread Saumya Rajesh
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 bus from the guest? I have looked into para-virtualization and passthrough [1][2] but there isn't enough support

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-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? >&