Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4498314imm; Mon, 15 Oct 2018 16:17:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV61frSoLDgRXBzt9wEuAcgXyfquSe1MR08IRukWWJ8PKIDXlZVfAx0zxSbwmub+ybEf/qOSU X-Received: by 2002:a63:1624:: with SMTP id w36-v6mr17451327pgl.409.1539645437967; Mon, 15 Oct 2018 16:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539645437; cv=none; d=google.com; s=arc-20160816; b=vCzJYUQhbJRyrnH6QuZNmpEXAWEmNqQqRfTX0PS/MFIsUaPEQZGchTdVGwz81HemNP pMTvIY4CC0+1JiOLW5Cam/X88kVrcOK+P8bNXWlM9cWnm/f97rUSSoA5wmzV6U98PXAA jJn9oQ5hUvRhyuksGRO6pDBAhIfDlNXwQHKJG/gxaT6F0NGZau/JBQqXnk40BP08oyrx kNUeKkuL7o9HXxsuxLiePLHWNj7oMvRyw0Xq90N0Kxus5K6DzDLRiIIpPuwSdQWYtkm1 TUbANOMfWO3zO3QzELisgSQY73JE0L5Z+OdhrSCYaCLeyFH3s1ov0ptiJaU6bP8VC0BH aeJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=zY5FRFGJ1x+0u/V5mm5L6gboapti4teFd3k5CuR3lYA=; b=V+o6VuW7z6Vp9oxXLDuc8l2txEHhQRi1B2bFqs78KH+BkfTLKQpR25Nx2kNBp25RRR BGWtGkUBPcgV+qARdOZAG27vWer/4dwjWxehcIVm1+DkpBINNTA9Ttu2n1xIgTwfMns2 mJJfKJG8nJQ8liMe4+zRezz218wsEz0vFmRIy+TXpuKlUyJ7ZTflF5bJUmRw37OYJICr /UbnOyUT64fLwfQCRXJ5dFZy6EA4TQLh2OM9s6mA8i/LIPWvOSejx+FFt/5cVjXPwEBQ yvd9FUW1OlWtu/7iQ3d/EBcUr4m/VMr3xgRT9QSlipIjAYgoew3bXl2Yjc2doREZNyGG pSgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="afw/VZD3"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l33-v6si11756655pld.397.2018.10.15.16.17.00; Mon, 15 Oct 2018 16:17:17 -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=@sifive.com header.s=google header.b="afw/VZD3"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726944AbeJPHEE (ORCPT + 99 others); Tue, 16 Oct 2018 03:04:04 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:44127 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726430AbeJPHED (ORCPT ); Tue, 16 Oct 2018 03:04:03 -0400 Received: by mail-pl1-f196.google.com with SMTP id p25-v6so10003189pli.11 for ; Mon, 15 Oct 2018 16:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=zY5FRFGJ1x+0u/V5mm5L6gboapti4teFd3k5CuR3lYA=; b=afw/VZD3n/lVtV9SV2RTXfAcuuZiK/C3lzJa7Yyar09LteLgZHDnw8mJXPSm3dxOo1 RbFqJHtz5PUWT8ZxTH16C061i1grp8bJD2EriKxetMboEwPgYMa59si5UEFu3/8cYREN owS+O2OFgwfmi2DJiLZOb89g4cICP9kWyizmYS3zVRkM5ZxTtzl8FQk2bAGiaQlSa/X5 2bnSmza3zY5wBaNT1njlN/hUO3CQpxBfo/eWMPBOCAoOJTR/eqHJRVdcgHVoW2LevK5P pA/K0RpN5EQ2iGl9zInUWKUOUO4N7s9CVQv9Q/k4fCPWUYo/ZW4asBdn0nfJ15e1FeTo gezQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=zY5FRFGJ1x+0u/V5mm5L6gboapti4teFd3k5CuR3lYA=; b=krrPJ/r8SI5LtuNeZG9S6UI+OA7juifN/fnneK61eH2L2vDBLcFzLLqOABIKZfKY5O ZonuL79hNtEMdupWuIf5ZCHohOF/vCOBfgfaKRjJtu9MoJCoeClwRuxk1me7fu1VbVjw y2x2xl2ks4l0AuVSmhs436Ly3+rEeuSUVMxLybov1lR34xitll1Pt4gflEnu5BcdKf/y D2YRmpecZ3TIRMZ4pI4ikcH1utOBWrh4iOhTfKsRZdrY8+ozxXM2RPnWYFqTW+YSdtko JSeMXe+LMqvuHt0WrCRhnKfigB6SGLy/KPTYMwSTLai0Mq0N3cXtnCVOOKuYzqiKM9mD aZ4A== X-Gm-Message-State: ABuFfojpFC7flQhYHx+8o2Leub4q+ac/63o+QlQTWI7T+qKFUwuJIyn7 5FlsYaiNulDKPgu7k8S5THDU5M5wEJc= X-Received: by 2002:a17:902:b403:: with SMTP id x3-v6mr19232609plr.237.1539645398172; Mon, 15 Oct 2018 16:16:38 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id x20-v6sm20505698pfe.131.2018.10.15.16.16.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Oct 2018 16:16:37 -0700 (PDT) Date: Mon, 15 Oct 2018 16:16:37 -0700 (PDT) X-Google-Original-Date: Mon, 15 Oct 2018 15:51:51 PDT (-0700) Subject: Re: [PATCH v4 0/5] Fix some bugs on RV32 build fail and issue In-Reply-To: CC: aou@eecs.berkeley.edu, Christoph Hellwig , zong@andestech.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: zongbox@gmail.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Oct 2018 05:33:17 PDT (-0700), zongbox@gmail.com wrote: > Zong Li 於 2018年10月3日 週三 上午11:12寫道: >> >> 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. >> >> Thanks all for review these code and modify the copyright description. >> >> Changes in v4: >> - Retain the complete copyright description. >> - Modify commit message. >> - Rebase upstream code. >> >> Changes in v3: >> - Change the copyright notices to GPLv2 from gcc 4.2.1. >> >> 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: Add preprocessor directive for swiotlb >> 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 | 326 ++++++++++++++++++++++++++++++++++++++++++++++ >> lib/umoddi3.c | 48 +++++++ >> 8 files changed, 385 insertions(+), 2 deletions(-) >> create mode 100644 lib/udivmoddi4.c >> create mode 100644 lib/umoddi3.c >> >> -- >> 2.7.4 >> > > ping Oh, sorry about that -- I took them into my local tree but they didn't make it to kernel.org. They should be in for-next now.