From: Zong Li <zongbox@gmail.com>
To: palmer@sifive.com, aou@eecs.berkeley.edu
Cc: hch@infradead.org, zong@andestech.com, vincentc@andestech.com,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
Zong Li <zongbox@gmail.com>
Subject: [PATCH v2 0/5] Fix some bugs on RV32 build fail and issue
Date: Wed, 26 Sep 2018 16:31:09 +0800 [thread overview]
Message-ID: <cover.1537949825.git.zongbox@gmail.com> (raw)
This patches contain the modificaion as follows:
1. Fix up the building fail on RV32.
2. Add umoddi3 and udivmoddi4 functions for RV32.
3. Fix ioremap problem on RV32.
Changes in v2:
- Retain the copyright notices from libgcc in umoddi3.c and udivmoddi4.c.
Vincent Chen (1):
RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap
Zong Li (4):
RISC-V: Build tishift only on 64-bit
RISC-V: Use swiotlb on RV64 only
lib: Add umoddi3 and udivmoddi4 of GCC library routines
RISC-V: Select GENERIC_LIB_UMODDI3 on RV32
arch/riscv/Kconfig | 1 +
arch/riscv/kernel/setup.c | 3 +
arch/riscv/lib/Makefile | 3 +-
arch/riscv/mm/ioremap.c | 2 +-
lib/Kconfig | 3 +
lib/Makefile | 1 +
lib/udivmoddi4.c | 309 ++++++++++++++++++++++++++++++++++++++++++++++
lib/umoddi3.c | 34 +++++
8 files changed, 354 insertions(+), 2 deletions(-)
create mode 100644 lib/udivmoddi4.c
create mode 100644 lib/umoddi3.c
--
2.7.4
next reply other threads:[~2018-09-26 8:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-26 8:31 Zong Li [this message]
2018-09-26 8:31 ` [PATCH v2 1/5] RISC-V: Build tishift only on 64-bit Zong Li
2018-09-26 8:31 ` [PATCH v2 2/5] RISC-V: Use swiotlb on RV64 only Zong Li
2018-09-26 8:31 ` [PATCH v2 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines Zong Li
2018-09-26 14:11 ` Christoph Hellwig
2018-09-26 8:31 ` [PATCH v2 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32 Zong Li
2018-09-26 8:31 ` [PATCH v2 5/5] RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap Zong Li
2018-09-28 23:52 ` [PATCH v2 0/5] Fix some bugs on RV32 build fail and issue Palmer Dabbelt
2018-09-29 3:40 ` Zong Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1537949825.git.zongbox@gmail.com \
--to=zongbox@gmail.com \
--cc=aou@eecs.berkeley.edu \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@sifive.com \
--cc=vincentc@andestech.com \
--cc=zong@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox