Re: [RFC 0/4] Virtio uses DMA API for all devices

2018-08-05 Thread Christoph Hellwig
On Sun, Aug 05, 2018 at 11:10:15AM +1000, Benjamin Herrenschmidt wrote: > - One you have rejected, which is to have a way for "no-iommu" virtio > (which still doesn't use an iommu on the qemu side and doesn't need > to), to be forced to use some custom DMA ops on the VM side. > > - One, which sa

Re: [RFC 0/4] Virtio uses DMA API for all devices

2018-08-05 Thread Christoph Hellwig
On Sun, Aug 05, 2018 at 03:09:55AM +0300, Michael S. Tsirkin wrote: > So in this case however I'm not sure what exactly do we want to add. It > seems that from point of view of the device, there is nothing special - > it just gets a PA and writes there. It also seems that guest does not > need to

Re: [RFC 0/4] Virtio uses DMA API for all devices

2018-08-05 Thread Benjamin Herrenschmidt
On Sun, 2018-08-05 at 00:29 -0700, Christoph Hellwig wrote: > On Sun, Aug 05, 2018 at 11:10:15AM +1000, Benjamin Herrenschmidt wrote: > > - One you have rejected, which is to have a way for "no-iommu" virtio > > (which still doesn't use an iommu on the qemu side and doesn't need > > to), to be for

Re: [RFC 0/4] Virtio uses DMA API for all devices

2018-08-05 Thread Benjamin Herrenschmidt
On Mon, 2018-08-06 at 07:16 +1000, Benjamin Herrenschmidt wrote: > I'm trying to understand because the limitation is not a device side > limitation, it's not a qemu limitation, it's actually more of a VM > limitation. It has most of its memory pages made inaccessible for > security reasons. The pl

Re: [v2, 1/3] arm64: dts: fsl: add clocks property for fman ptp timer node

2018-08-05 Thread David Miller
From: Yangbo Lu Date: Wed, 1 Aug 2018 18:05:52 +0800 > This patch is to add clocks property for fman ptp timer node. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - None. Applied.

Re: [v2, 2/3] powerpc/mpc85xx: add clocks property for fman ptp timer node

2018-08-05 Thread David Miller
From: Yangbo Lu Date: Wed, 1 Aug 2018 18:05:53 +0800 > This patch is to add clocks property for fman ptp timer node. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - None. Applied.

Re: [v2, 3/3] ptp_qoriq: support automatic configuration for ptp timer

2018-08-05 Thread David Miller
From: Yangbo Lu Date: Wed, 1 Aug 2018 18:05:54 +0800 > This patch is to support automatic configuration for ptp timer. > If required ptp dts properties are not provided, driver could > try to calculate a set of default configurations to initialize > the ptp timer. This makes the driver work for

Re: [PATCH] misc: cxl: changed asterisk position

2018-08-05 Thread Andrew Donnellan
On 03/08/18 20:20, Parth Y Shah wrote: Resolved <"foo* bar" should be "foo *bar"> error Signed-off-by: Parth Y Shah Thanks for picking this up. Acked-by: Andrew Donnellan --- drivers/misc/cxl/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/cxl/f

Re: [PATCH] powerpc/fadump: handle crash memory ranges array overflow

2018-08-05 Thread Mahesh Jagannath Salgaonkar
On 07/31/2018 07:26 PM, Hari Bathini wrote: > Crash memory ranges is an array of memory ranges of the crashing kernel > to be exported as a dump via /proc/vmcore file. The size of the array > is set based on INIT_MEMBLOCK_REGIONS, which works alright in most cases > where memblock memory regions co

Re: [PATCH] powerpc/fadump: handle crash memory ranges array overflow

2018-08-05 Thread Hari Bathini
On Monday 06 August 2018 09:52 AM, Mahesh Jagannath Salgaonkar wrote: On 07/31/2018 07:26 PM, Hari Bathini wrote: Crash memory ranges is an array of memory ranges of the crashing kernel to be exported as a dump via /proc/vmcore file. The size of the array is set based on INIT_MEMBLOCK_REGIONS