[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 03/11] swiotlb-xen: add struct device * parameter to xen_phys_to_bus

2020-08-07 Thread Christopher Clark
Author: Stefano Stabellini No functional changes. The parameter is unused in this patch but will be used by next patches. Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky Tested-by: Corey Minyard Tested-by: Roman Shaposhnik Signed-off-by: Christopher Clark --- drivers/xen

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 09/11] swiotlb-xen: introduce phys_to_dma/dma_to_phys translations

2020-08-07 Thread Christopher Clark
, which need a few explicit phys_to_dma/dma_to_phys calls. Signed-off-by: Stefano Stabellini Tested-by: Corey Minyard Tested-by: Roman Shaposhnik Signed-off-by: Christopher Clark --- drivers/xen/swiotlb-xen.c | 53 +++ 1 file changed, 32 insertions(+), 21

[linux-yocto] [linux-yocto-dev][kernel standard/bcm-2xxx-rpi 00/11] Enable Xen on Raspberry Pi 4

2020-08-07 Thread Christopher Clark
This series of patches, submitted for the standard/bcm-2xxx-rpi kernel, support enabling linux-yocto-dev to run Xen on the Raspberry Pi 4. This is version 3 of the series developed within the Xen community, which is now queued for inclusion in Linux upstream:

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 02/11] swiotlb-xen: remove start_dma_addr

2020-08-07 Thread Christopher Clark
(xen_io_tlb_start) as passed to swiotlb_init_with_tbl, so virt_to_phys is actually what we want. Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky Tested-by: Corey Minyard Tested-by: Roman Shaposhnik Signed-off-by: Christopher Clark --- drivers/xen/swiotlb-xen.c | 7 ++- 1 file changed, 2

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 01/11] swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses

2020-08-07 Thread Christopher Clark
Shaposhnik Signed-off-by: Christopher Clark --- drivers/xen/swiotlb-xen.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index b6d27762c6f8..5fbadd07819b 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 05/11] swiotlb-xen: add struct device * parameter to xen_dma_sync_for_cpu

2020-08-07 Thread Christopher Clark
Author: Stefano Stabellini No functional changes. The parameter is unused in this patch but will be used by next patches. Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky Tested-by: Corey Minyard Tested-by: Roman Shaposhnik Signed-off-by: Christopher Clark --- arch/arm/xen

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 07/11] swiotlb-xen: add struct device * parameter to is_xen_swiotlb_buffer

2020-08-07 Thread Christopher Clark
Author: Stefano Stabellini No functional changes. The parameter is unused in this patch but will be used by next patches. Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky Tested-by: Corey Minyard Tested-by: Roman Shaposhnik Signed-off-by: Christopher Clark --- drivers/xen

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 08/11] swiotlb-xen: remove XEN_PFN_PHYS

2020-08-07 Thread Christopher Clark
Author: Stefano Stabellini XEN_PFN_PHYS is only used in one place in swiotlb-xen making things more complex than need to be. Remove the definition of XEN_PFN_PHYS and open code the cast in the one place where it is needed. Signed-off-by: Stefano Stabellini Signed-off-by: Christopher Clark

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 06/11] swiotlb-xen: add struct device * parameter to xen_dma_sync_for_device

2020-08-07 Thread Christopher Clark
Author: Stefano Stabellini No functional changes. The parameter is unused in this patch but will be used by next patches. Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky Tested-by: Corey Minyard Tested-by: Roman Shaposhnik Signed-off-by: Christopher Clark --- arch/arm/xen

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 10/11] xen/arm: introduce phys/dma translations in xen_dma_sync_for_*

2020-08-07 Thread Christopher Clark
Tested-by: Corey Minyard Tested-by: Roman Shaposhnik Signed-off-by: Christopher Clark --- arch/arm/xen/mm.c | 17 ++--- drivers/xen/swiotlb-xen.c | 32 include/xen/swiotlb-xen.h | 6 ++ 3 files changed, 32 insertions(+), 23 deletions(-) diff

[linux-yocto] [linux-yocto-dev][PATCH][kernel standard/bcm-2xxx-rpi 11/11] xen/arm: call dma_to_phys on the dma_addr_t parameter of dma_cache_maint

2020-08-07 Thread Christopher Clark
the following pages, in case of multipage handling. Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky Tested-by: Corey Minyard Tested-by: Roman Shaposhnik Signed-off-by: Christopher Clark --- arch/arm/xen/mm.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions

Re: [linux-yocto] [PATCH] driver: net: lan78xx: fix building issue introduced by merging code from standard/base

2020-08-06 Thread Christopher Clark
so that fix building issue. > > Signed-off-by: Meng Li Reviewed-by: Christopher Clark I observed the same issue and arrived at the same fix. (Relates to the upstream kernel commit: ea060b352654a). Thanks, Christopher > --- > drivers/net/usb/lan78xx.c | 12 +--- > 1 file c