Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4982171imm; Tue, 18 Sep 2018 02:21:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYcuBxPZRLPhAX1zLhlCUHppQDIHt0I/GkvGuP00Yjrxm8J5SEGgqF7b1PV60HFFUuRMxjE X-Received: by 2002:a62:c805:: with SMTP id z5-v6mr30207719pff.44.1537262471430; Tue, 18 Sep 2018 02:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537262471; cv=none; d=google.com; s=arc-20160816; b=d5Zo411yJqruS9iOKvvnmX1eCpPQJ/Rc/cpWVq2jwSnOb+wMCETrd+jaFZXO+HKgfg akvfOKxefslC6eFD0XfEcGOBekm2OqEKK6rY23a2pFIEUiCkpuc4/1b61tiQ3QUIedaB YPCRxSTAfBsJqyoV/bVIsnQ1jqwkiyWQ2/rQcHdJC2SbYzL+q4uUB9Pae5B3OdY+X/Y8 edENthO3tDxNUdS4nDgIuBt1u8DwyB2SCozUcikIOEyyz4VbT/K4JFZiaZx8qYafTdpo jsRczKA4LTgL5+WJTMFmYYHAQyNIy46QDTWFEyBmgupKoqBer9OwcG00JMCwPj9f0l+y 5aAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=AZwxoxy6a/kBuhlw38QYEabFPt7ZdMTs0e9M26wWkB0=; b=u0zI6SmVxvwjWPpVlsp5GxgV1JBKrCQIoGaZ1rnwOGEV54g83wKLFYyVLgq488+T7t P+zLLchu9rGD1BJIrxIH5XxlGWnF1nty6Z/nNXCXVTeX8p7ouvWQ7zR+sec6+fpBOFWL L35MgGcVSQpc/lNK87JnTQD2bEDzFKQCvLnCvfPpHJ7LdL9hup5R/JDwJDxq+9tOU9q5 q/CE+BwPsFiF/a31Z3TafsBGEcV1uakspQ9oDr+eNlH2UDlTPrvwfpZab7ZT6/nBhlmL L7lIrv/Z37DY1+UZktYTDIT5RrJjfR3X3z34Mxa40feXO9DV6J94hZY+DRjOOJ94Rtvr pPdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WgmzmcQT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2-v6si17654438plp.144.2018.09.18.02.20.55; Tue, 18 Sep 2018 02:21:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WgmzmcQT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729238AbeIROwc (ORCPT + 99 others); Tue, 18 Sep 2018 10:52:32 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44160 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727757AbeIROwb (ORCPT ); Tue, 18 Sep 2018 10:52:31 -0400 Received: by mail-pl1-f193.google.com with SMTP id ba4-v6so690901plb.11 for ; Tue, 18 Sep 2018 02:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=AZwxoxy6a/kBuhlw38QYEabFPt7ZdMTs0e9M26wWkB0=; b=WgmzmcQTT5FGJE7sG5mzlyCgwU7J80FhSPdA2rUg2fdLOje5NRAjs4nQPb8namZRp0 wARweuXAsSqCIzkVMlIhOXaf7p8I7arssftTwBQ0/o4pL/tjd74bCx+1sNIPvjo/jlmF FIrozYulIFR3xLbatu1mxtjWbn9dvg1VUvfPJlmXPbw+1PSiK5j/EcMoWRJ3mTg6/x7A qy+YjFklPlWt7v5l0ZVA+gUNAJSzeQsWF5ycHYS4p2rB6Emblg7rrMzXdMAm2yBrn9gQ 3pLLhIR5qC+81+PzAoccZCf5U28W+fBKDCXlh1RV3Ns7EAJS+f2kB1V2+f4+K5AXi5nf FjDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AZwxoxy6a/kBuhlw38QYEabFPt7ZdMTs0e9M26wWkB0=; b=BuWwPey0mGpXy0KrqCQNcnPvFhC1LsSC5Vu74JaTiyidtF2dkTmrnsqkx7hKdntx7w m2mUXN1kzJk1OC9jCKSd6EYXRR4EfdVafZ66oFgSAZJVFVqiZa1ZccuG9WUME5ba9oGL XlY58curNoWThZD04hzWXod7sxZonJ1cGt3t9zddYygM5fD6Yova1OP6s01DzzVHdsLO b1xL5XZ0ztAc4Ebmk6KU1j3pJ8wfkgEVHLm1olFLxpQVl8r/d2qbQBMYSsFkhPL+44jS gTvmXOjYHI33lDybW7LouJfMGYGHaEe0mLnne1UL9G1AMzwwfdKPmYZaTnO2FbV6+kHn YIBQ== X-Gm-Message-State: APzg51A8/RO9g3H7abBn4sIF8xmgAd1E3tGnq2JOx4vCgHQ9+kJSMoqx MUrLM3pV3HKAGwwKnheBZejmHY74W1Y= X-Received: by 2002:a17:902:a58c:: with SMTP id az12-v6mr28595777plb.339.1537262448413; Tue, 18 Sep 2018 02:20:48 -0700 (PDT) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id 1-v6sm29932877pfm.145.2018.09.18.02.20.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Sep 2018 02:20:47 -0700 (PDT) From: Zong Li To: palmer@sifive.com, aou@eecs.berkeley.edu Cc: vincentc@andestech.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, zong@andestech.com, Zong Li Subject: [PATCH 0/5] Fix some bugs on RV32 build fail and issue. Date: Tue, 18 Sep 2018 17:19:12 +0800 Message-Id: X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patches fix up the building fail, less function and other issue on RV32. 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 | 291 ++++++++++++++++++++++++++++++++++++++++++++++ lib/umoddi3.c | 16 +++ 8 files changed, 318 insertions(+), 2 deletions(-) create mode 100644 lib/udivmoddi4.c create mode 100644 lib/umoddi3.c -- 2.7.4