[lkml]   [2018]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectlinux-next: manual merge of the kvm-arm tree with the arm64 tree
Hi all,

Today's linux-next merge of the kvm-arm tree got a conflict in:


between commits:

143ba05d867a ("arm64: capabilities: Prepare for fine grained capabilities")
12eb369125ab ("arm64: cpufeature: Avoid warnings due to unused symbols")

from the arm64 tree and commit:

a1efdff442ec ("arm64: cpufeatures: Drop the ARM64_HYP_OFFSET_LOW feature flag")

from the kvm-arm tree.

I fixed it up (see below) 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.

Stephen Rothwell

diff --cc arch/arm64/kernel/cpufeature.c
index 96b15d7b10a8,5b25d56bccfd..000000000000
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@@ -838,19 -826,11 +838,6 @@@ static bool has_no_hw_prefetch(const st

- static bool hyp_offset_low(const struct arm64_cpu_capabilities *entry,
- int __unused)
-static bool runs_at_el2(const struct arm64_cpu_capabilities *entry, int __unused)
- phys_addr_t idmap_addr = __pa_symbol(__hyp_idmap_text_start);
- /*
- * Activate the lower HYP offset only if:
- * - the idmap doesn't clash with it,
- * - the kernel is not running at EL2.
- */
- return idmap_addr > GENMASK(VA_BITS - 2, 0) && !is_kernel_in_hyp_mode();
- return is_kernel_in_hyp_mode();
static bool has_no_fpsimd(const struct arm64_cpu_capabilities *entry, int __unused)
u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1);
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2018-03-28 07:07    [W:0.039 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site