Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp816315ybh; Wed, 15 Jul 2020 16:32:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwE3wxACT1s5dXOCP9+Rk0oJ/bNFY7GHdCHs9pihAY44P7FRuB+8NXxDK9MqN/up+wcQEt4 X-Received: by 2002:a17:906:6a4f:: with SMTP id n15mr1235207ejs.378.1594855956773; Wed, 15 Jul 2020 16:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594855956; cv=none; d=google.com; s=arc-20160816; b=U0gPvCLS/OYAym/+Puh0N4oIFKJa+TP4tCQ700eX2apzKf6yadBqB9xE91HV3ZJbi+ oHfZ9lm6ScmgYr0x7a9A8zyfw2n1JTyLYSIKSczxSOTQQpOSnl/mPjbBFbIpd+z9uD6j 4Vul1S0VfG5/HBwsonyLXQRPua/j/stG53upz6p/BqvRml5Pf3ZTBDZgSWI9LGMcCES3 nBBzLoIqllKh/PQHj5SCMS2QgRXAvsnI+4SIwo2fMOZ3np9S7Ic3pYCxsk8xjoBFpLcX J2IhNqjVKBAdz3XdqaLoXRF6bKKh48dONX6MwIZemqcygpCCXJDcspeguK587u6qsDHP roaA== 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:date:subject:cc:to:from:wdcironportexception :ironport-sdr:ironport-sdr:ironport-sdr:dkim-signature; bh=O0zE5XaVvVgKfnGGxyFcoDzMZYWe8lvKxusy7mwmTzg=; b=qREXrmH2vRCNrHBCjB8gYKAAsmUgAO0ngZnIZjkWskZYaQF62y+1PLiPGalc0ZZIaZ gxZkcS7daT4NVG7etS1y5bTN6dAi62S5u17Mw6tkHaLLu9L7nrAIFMuSHju+yFAdJkdB 3Ef62DG3aaQy4MGYHUEHsNyLiGGcxK7xeq5n0+07NqNjM3bIvIK39Bm+PldlXzDmf0fk UDKIc6Kd/fP2z6Y8jOOs6+1BrZGDcUEA72bBu7ts4Z3Fh26EiTirkiZUpitKKnbsO7e3 CW3zofFkrHBucc3v0BExSGGG5H9ERgtLX+sSSh0Xdi/R+6QfmMx/cH2FmU92lKMg61Fe BKPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=R5K7TOwe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m27si2023681eja.699.2020.07.15.16.32.12; Wed, 15 Jul 2020 16:32:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=R5K7TOwe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726998AbgGOXad (ORCPT + 99 others); Wed, 15 Jul 2020 19:30:33 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:49845 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726776AbgGOXad (ORCPT ); Wed, 15 Jul 2020 19:30:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1594855833; x=1626391833; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0mCXGabb7HomZL/UNylxftn0LVKsqZIhAFSG2ya7jko=; b=R5K7TOwepvgZn+Th6hjM8giEqoaaFQxa/cQTQcku7walv6/yfz+1ym0c BojxjWbvgbqhaVSBTyDZDYmMX7XOcRih3hUKGLcOqnBvxksjyUAAP4xOA tL7oQmI9LztjNnPBOIThZenAahWXZaAk0VQz99uo45zBqVUZmqTnzJbQg a+ynyyZHWMY5Jkic+eSEgLIFdA1lJVmUNOm6worwfGZzhKkU0gU4DFVx4 pufed0NV61vu0Fq64LkfOK8O3GGM5RR9juDK0K8Hcm6HFzUOlJNCJhTNQ 6a9nBj4WDummOd+kU9v+f4JBKUIceetwlvoh9VHOnlvYiK2045/Z8wfTd g==; IronPort-SDR: p6//3oUl9lv+RnEQHMwuj2wI0WMv8gomI758jZiQ/2TETY7QVC5bo3hJ+6lqPHoZNd8RXFOU3p B/MdNLPKlRaigZBIQNt9jxlyH2oB8/uJyvkOed3JwLZSpwi31nCIgmT1TmwzxPzuiWL4iBbd8+ +Hw/pqvYtSodoEQStd+wLVN+LFYHzv7LegFG7SBkF4rsBJ4cHWrIswFeHaYFKE8XJivPUDM1rW ZvHw3aJCTNBZg33ZW3BWNFs7857QMTsiaYgjlm44/2iEPTK6v7eGBfonhPWtlottEylZu0/ynr 1Tw= X-IronPort-AV: E=Sophos;i="5.75,357,1589212800"; d="scan'208";a="146868537" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 16 Jul 2020 07:30:16 +0800 IronPort-SDR: AknsL6CK00Y0mAa7o6Ur18cYAty4rob5J6KLHUCQPuaIVepXTgqp76hh3yDkWsOGSnuEq6PKY9 mrRkrhWEURtcC8i4eg9R3Qgw2Kahb6k6k= Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 16:18:40 -0700 IronPort-SDR: +CsTUYtNKlPYkJ+S7TcweDE7AVV8Gd7nWEuOO4mFmqvpmmZgOOuPWQccY1e+r16n814OzHcIiJ SqnxvWA9ei3A== WDCIronportException: Internal Received: from cnf009656.ad.shared (HELO jedi-01.hgst.com) ([10.86.58.5]) by uls-op-cesaip01.wdc.com with ESMTP; 15 Jul 2020 16:30:13 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Anup Patel , Greentime Hu , linux-riscv@lists.infradead.org, Palmer Dabbelt , Paul Walmsley , Sudeep Holla , Vincent Chen , Zong Li Subject: [PATCH 0/4] Few mm & exception handling fixes Date: Wed, 15 Jul 2020 16:30:05 -0700 Message-Id: <20200715233009.27183-1-atish.patra@wdc.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series addresses some generic fixes that I found while working on UEFI series. These patches are completely independent from UEFI implementation and can be merged sooner that UEFI. Some of the patches were already part of the UEFI series [1]. I will remove them from next UEFI series (v3). Patch1 moves set up the exception vector earlier while all other patches are mm related fixes. [1] http://lists.infradead.org/pipermail/linux-riscv/2020-July/000942.html Atish Patra (4): RISC-V: Setup exception vector early RISC-V: Set maximum number of mapped pages correctly RISC-V: Do not rely on initrd_start/end computed during early dt parsing riscv: Parse all memory blocks to remove unusable memory arch/riscv/kernel/head.S | 10 ++++-- arch/riscv/kernel/smpboot.c | 1 - arch/riscv/kernel/traps.c | 8 +---- arch/riscv/mm/init.c | 66 +++++++++++++++++++++++++------------ 4 files changed, 54 insertions(+), 31 deletions(-) -- 2.24.0