Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1285319pxb; Fri, 21 Jan 2022 14:21:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHndvuK2xPBO28qSoJ04rLuO4mMNAGZpAdaHFbX7HVkF1kE/0w9ZcFY7k4ecNUTlrlyy7+ X-Received: by 2002:a17:90b:1d0a:: with SMTP id on10mr2704981pjb.138.1642803698888; Fri, 21 Jan 2022 14:21:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642803698; cv=none; d=google.com; s=arc-20160816; b=gXeTWUqPkbemJ5nHSRNUyoFB3ZgeWHMogsUu4XVqQR/CKKavO6Kbwsa5pRJqYEHvTy qz7T2DotpIvtv0/RzerZyJq9idOgbS+J4+k7MaLr3UB2epuioG0Ias9aqyGxh8qVtPyf drsUUXAnz6xhE+k11+1VpmuZwg4ZGfaDNDLttWqidkTNbjSBJ0tq9853Za7pR+x5/KFF rkF8CCUDfnIZ4M4JWQtevi8UwEkwIIhFsMrRnVgr5W2yARA1U3InAMkOfSLVi8FxceGu RGdY06mRhh2uoFe6xMNu2S/TsKW5xSDiWOqww04gOXQaoBN1njKedjfoyh2EkRzshOuU 0xtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2v4DZOWcBj4ZyoLreQSqIsp5ilmMxSdh4/YlkMV5FoQ=; b=GlKyPw2m9I/GpHSAm7u1Ra4ovDdP2edUpm9yX4LXdGHdK4ANcySdzHpAaEFHiqXYCZ AkKUI2RGQklLWa+FMZSdiBWUrPHbzdA0bt2kQOx4OdqPzGcuZcFkt3Czy2P5cKYUf21G wrH0TELbXYsSkvB7sN6pWYtCgSM1nGPBA01j5o+TAgG8pSxHMNZg4xu4Qc9bKIWTLIwl hUOto4HZCCm/6dVvHrzcoROJ54dnD9iXSvNlIC4Zd6Ymfk1UenyDWcCkKSXNZtujhurz 9lhcb4yCVTOMZDWESwf3fswc+Q2k7HAWP86secPt15N6Msnr7z0nEASBwY2lXXWYdJUO hjoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@ds0.me header.s=x header.b=xAXMsNMr; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si5304738pgf.208.2022.01.21.14.21.25; Fri, 21 Jan 2022 14:21:38 -0800 (PST) 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=temperror (no key for signature) header.i=@ds0.me header.s=x header.b=xAXMsNMr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376751AbiATPiy (ORCPT + 99 others); Thu, 20 Jan 2022 10:38:54 -0500 Received: from mail-108-mta15.mxroute.com ([136.175.108.15]:33891 "EHLO mail-108-mta15.mxroute.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346434AbiATPiw (ORCPT ); Thu, 20 Jan 2022 10:38:52 -0500 Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta15.mxroute.com (ZoneMTA) with ESMTPSA id 17e781f463c000bdf2.004 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Thu, 20 Jan 2022 15:33:42 +0000 X-Zone-Loop: 614ce73194fc52b04ab1156fe3546e016d25a18f7987 X-Originating-IP: [149.28.56.236] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ds0.me; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=2v4DZOWcBj4ZyoLreQSqIsp5ilmMxSdh4/YlkMV5FoQ=; b=x AXMsNMrtSd3uKUlB/opiUwvz4n//3saEcZ/iYeXr47XtWPaRq4sZiwSvVP/AEAOJylcasNojwevD+ xOjwFxSVMEwttzNPYQwFe/MkLMg5UcqLjPhcY7dfpOOzfOrn8oFrGgwWLVVGo3ZGvTUWwcFZUjzpQ TIjaZ3toucw+I1MxV1U3q6H0E0gyhs+NN4xCKvAE/rlUafDtGIrhZlpFPrOAavAXomVJ7MW032pRw 35cOEKekW6TBZwjQzOpj9IZqANpbaC9hoKODoJmrqWAomhW05S/4elUDGNXdplam1xHQU6R3tCoJ4 RCzxr+GL56zU4SaN5xEQDCE+0nPhTpKWg==; From: Myrtle Shah To: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/2] riscv: Fixes for XIP support Date: Thu, 20 Jan 2022 15:33:36 +0000 Message-Id: <20220120153338.4093003-1-gatecat@ds0.me> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AuthUser: dave@ds0.me X-Zone-Spam-Resolution: no action X-Zone-Spam-Status: No, score=5, required=15, tests=[ARC_NA=0, MID_CONTAINS_FROM=1, FROM_HAS_DN=0, RCPT_COUNT_THREE=0, R_MISSING_CHARSET=2.5, RCVD_COUNT_ZERO=0, FROM_EQ_ENVFROM=0, MIME_TRACE=0, BROKEN_CONTENT_TYPE=1.5, TO_DN_NONE=0, NEURAL_SPAM=0] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Apologies for the spam, resending as this appeared to break the first time. These are some initial patches to bugs I found attempting to get a XIP kernel working on hardware: - 32-bit VexRiscv processor - kernel in SPI flash, at 0x00200000 - 16MB of RAM at 0x10000000 - MMU enabled The system isn't actually booting yet; but at least the initial memory management setup completes with these patches as opposed to crashing almost straight away.