linux-next: manual merge of the kvm-arm tree with the tip tree
From: Stephen Rothwell
Date: Wed Jul 20 2016 - 01:21:27 EST
Hi all,
Today's linux-next merge of the kvm-arm tree got a conflict in:
include/linux/irqchip/arm-gic-v3.h
between commits:
9347359ad0ae ("irqchip/gicv3-its: Split its_alloc_tables() into two functions")
3faf24ea894a ("irqchip/gicv3-its: Implement two-level(indirect) device table support")
from the tip tree and commit:
645b9e49a8c0 ("irqchip/gic-v3: Refactor and add GICv3 definitions")
from the kvm-arm tree.
I fixed it up (see below and I chose ULL over UL in the definition of
GITS_BASER_INDIRECT) and can carry the fix as necessary. This is now
fixed as far as linux-next is concerned, but any non trivial conflicts
should be mentioned to your upstream maintainer when your tree is
submitted for merging. You may also want to consider cooperating with
the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc include/linux/irqchip/arm-gic-v3.h
index 107eed475b94,700b4216c87a..000000000000
--- a/include/linux/irqchip/arm-gic-v3.h
+++ b/include/linux/irqchip/arm-gic-v3.h
@@@ -229,7 -300,7 +300,8 @@@
#define GITS_BASER_PAGE_SIZE_64K (2UL << GITS_BASER_PAGE_SIZE_SHIFT)
#define GITS_BASER_PAGE_SIZE_MASK (3UL << GITS_BASER_PAGE_SIZE_SHIFT)
#define GITS_BASER_PAGES_MAX 256
+#define GITS_BASER_PAGES_SHIFT (0)
+ #define GITS_BASER_NR_PAGES(r) (((r) & 0xff) + 1)
#define GITS_BASER_TYPE_NONE 0
#define GITS_BASER_TYPE_DEVICE 1