Skip to content

Fix Keystone 2 physical address switch

santosh shilimkar linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 7 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Fix Keystone 2 physical address switch

Russell,

Quoted 5 lines · Russell King - ARM Linux

For some time, the Keystone 2 physical address switch has been tainting the kernel ever since we decided that it was not safe.

This series re-works the address switch to be compliant architecturally.

Thanks a lot for doing it. Will have a look at the series.

Quoted 9 lines

There's still a niggle in the keystone2 code, where we set the arch_virt_to_idmap function pointer in keystone_pv_fixup() - something I'd ideally like to avoid.

I'm in two minds about how much of this code should be in SoC specific code, and how much should be in generic code - on one hand, I don't want to give a green light to this kind of sillyness by encouraging it, but I'd rather not end up with multiple implementations of this.

Either way you decide, its fine by me. Actually there is just one user at this point of time but so is the case for the address switch code. I couldn't come up with more generic than the function pointer last time.

Regards,
Santosh