KVM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2] vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit
@ 2020-10-13 15:06 Diana Craciun
  2020-10-13 19:21 ` Alex Williamson
  0 siblings, 1 reply; 2+ messages in thread
From: Diana Craciun @ 2020-10-13 15:06 UTC (permalink / raw)
  To: alex.williamson, kvm; +Cc: linux-kernel, laurentiu.tudor, Diana Craciun

The FSL_MC_BUS on which the VFIO-FSL-MC driver is dependent on
can be compiled on other architectures as well (not only ARM64)
including 32 bit architectures.
Include linux/io-64-nonatomic-hi-lo.h to make writeq/readq used
in the driver available on 32bit platforms.

Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
---
v1 --> v2
 - Added prefix to patch description

 drivers/vfio/fsl-mc/vfio_fsl_mc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc.c b/drivers/vfio/fsl-mc/vfio_fsl_mc.c
index d009f873578c..80fc7f4ed343 100644
--- a/drivers/vfio/fsl-mc/vfio_fsl_mc.c
+++ b/drivers/vfio/fsl-mc/vfio_fsl_mc.c
@@ -13,6 +13,7 @@
 #include <linux/vfio.h>
 #include <linux/fsl/mc.h>
 #include <linux/delay.h>
+#include <linux/io-64-nonatomic-hi-lo.h>
 
 #include "vfio_fsl_mc_private.h"
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit
  2020-10-13 15:06 [PATCH v2] vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit Diana Craciun
@ 2020-10-13 19:21 ` Alex Williamson
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2020-10-13 19:21 UTC (permalink / raw)
  To: Diana Craciun; +Cc: kvm, linux-kernel, laurentiu.tudor

On Tue, 13 Oct 2020 18:06:51 +0300
Diana Craciun <diana.craciun@oss.nxp.com> wrote:

> The FSL_MC_BUS on which the VFIO-FSL-MC driver is dependent on
> can be compiled on other architectures as well (not only ARM64)
> including 32 bit architectures.
> Include linux/io-64-nonatomic-hi-lo.h to make writeq/readq used
> in the driver available on 32bit platforms.
> 
> Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
> ---
> v1 --> v2
>  - Added prefix to patch description
> 
>  drivers/vfio/fsl-mc/vfio_fsl_mc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc.c b/drivers/vfio/fsl-mc/vfio_fsl_mc.c
> index d009f873578c..80fc7f4ed343 100644
> --- a/drivers/vfio/fsl-mc/vfio_fsl_mc.c
> +++ b/drivers/vfio/fsl-mc/vfio_fsl_mc.c
> @@ -13,6 +13,7 @@
>  #include <linux/vfio.h>
>  #include <linux/fsl/mc.h>
>  #include <linux/delay.h>
> +#include <linux/io-64-nonatomic-hi-lo.h>
>  
>  #include "vfio_fsl_mc_private.h"
>  

Thanks, applied and pushed to next.  Hopefully it's either this or the
merge ordering biting us with linux-next.  Thanks,

Alex


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-13 15:06 [PATCH v2] vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit Diana Craciun
2020-10-13 19:21 ` Alex Williamson

KVM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kvm/0 kvm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kvm kvm/ https://lore.kernel.org/kvm \
		kvm@vger.kernel.org
	public-inbox-index kvm

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.kvm


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git