]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Fix some RV32 bugs and build failures
authorPalmer Dabbelt <palmer@sifive.com>
Tue, 23 Oct 2018 00:39:08 +0000 (17:39 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 23 Oct 2018 00:39:08 +0000 (17:39 -0700)
commitb5154d3f8ed2cf6d23831d5dc6020cbe7a20a7b7
treeb3071da1549139c260eb4db21728fc126f5f879f
parentc7aebaca09b66d6f3a48d59c0fad51c21364beb1
parent22785d464691efcad519d2e8924850d536238ef1
RISC-V: Fix some RV32 bugs and build failures

This patch set fixes up various failures in the RV32I port.  The fixes
are all nominally independent, but are really only testable together
because the RV32I port fails to build without all of them.  The patch
set includes:

* The removal of tishift on RV32I targets, as 128-bit integers are not
  supported by the toolchain.
* The removal of swiotlb from RV32I targets, since all physical
  addresses can be mapped by all hardware on all existing RV32I targets.
* The addition of ummodi3 and udivmoddi4 from an old version of GCC that
  was licensed under GPLv2 as generic code, along with their use on
  RV32I targets.
* A fix to our page alignment logic within ioremap for RV32I targets.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/Kconfig