Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp313049pxb; Mon, 7 Feb 2022 12:00:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfKIe4FzZa78OYc6MW00VaG0Eclvg32Z46rSxnAy3+6eU+yJ680j2XPr0Mpv0p0v7hVxKt X-Received: by 2002:a63:6b04:: with SMTP id g4mr812825pgc.170.1644264000929; Mon, 07 Feb 2022 12:00:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644264000; cv=none; d=google.com; s=arc-20160816; b=SvgtjgtHM4KNPlzJTga198gNlz16sI8F/9QosoHWRZdT5Afv1tMjHuFakUXJg7HAFM 87IFEpkJIyl3c09NtalNGtbKqgYEOG4shXfnddmv44gV9yTXJmVtjj3b/YbHMcqY9HU+ 2+KEuwBei5Libil9zLJuiyxQU/81FesNDMpj5Fi0a6fo3hQjY23IaTBFF3wwPMa9QTGH o4hUyjgfpDWPwlpfL4P7ejKEh8+igBVidfxRfCzV0zDwSTpydWc2O0DCM2CqrfatGEcj M1C/sO7yCEF2IRIwWhqyrtLyMBoWdtzBONWUXVI60A5uK9C5L/7+eZkF4TUvrWHDC99Y 5aAw== 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:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=RXQ9zkwSxXGia+YhwgGsPcrPrVdaFvM/lO5LjhANYp8=; b=jjDO/0jti1EleQ1Nt7asuJtokoUZE/EMxwxz4W5BCetzq1v+bTTjJN3RmyEV5Zfl0H obuP2xVs3O2RX/ZhZbYL5RJQHDCW631fMYiN/397JS4PE6pC1sUg6BmfS5V6XavU6Don UkIp41UQkMP0ljZINBGPEv/78al9zAj6BFedSj5zjl+DDxOTTv9Ap2RiEOIwZJgFYDdA GtOd3BP0UB3NQcgfdHQtXCVLPRLw4tj7Z1svimsjc8G9wHbndwn1TQaR+Ro9tVi2NIXN a9HU2UP5w2WROjdRY4N/gzWjkXihqOSVe9hkEAthqQdCL4gsbHyyDID9XD+RdBo6DTkO P/6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=72cPjU3x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p12si10270919plr.591.2022.02.07.11.59.48; Mon, 07 Feb 2022 12:00:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=72cPjU3x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243676AbiBDVpQ (ORCPT + 99 others); Fri, 4 Feb 2022 16:45:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236141AbiBDVpO (ORCPT ); Fri, 4 Feb 2022 16:45:14 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A78C061714 for ; Fri, 4 Feb 2022 13:45:13 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id y17so6246384plg.7 for ; Fri, 04 Feb 2022 13:45:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=RXQ9zkwSxXGia+YhwgGsPcrPrVdaFvM/lO5LjhANYp8=; b=72cPjU3xW8fy0ORG354nI1xNq0l92wTwxBtglnv0fqlglT5T9LrAej5Cb/Aly7bq6F +lFrkgn0bEq80rfrXvnFBvERAnh2coRqGuyuGNZ3yFK/JB13gGZaL8DIwIxPxn4AfPfM mzIC+etEoWihcAVSIeqIU1F506Y1FvZPfz8KTbzUWRdyYAaQoDmelu9cRaJgPbJo+N+v sP9QDLSTWBxQduwAEA1sG7AUKJ6g8jLQytLBrqWdQaezL2mnp/kBTCYzT/GcVcVWBdPl NyXrKpJZ9qtlGhgCTL25EPp98TAbcBtNXJWQ8juySYwH0i9X0ESS/oNt4oiSm/HwpXw5 kweA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=RXQ9zkwSxXGia+YhwgGsPcrPrVdaFvM/lO5LjhANYp8=; b=A+TdsWIdSepiraMOzMD04lvtGBzG8dlcubXE7i5Pnkfpsr7TMUX9wQdC12Mz5KSNt3 xmKcN8wLdydL78wHLAcD5vhnw9HxY/gvBiiVXopuRF/QC7bDpQ4uxChwk2Oi68kEtB6p k8SLN0XygVXkHBGTvaz9x41DzKgXdHTDjx701rBYTSMGS9i9AimCcuSZkpObsqftmEBC gj6cUpkysPkrfs+PT7b1gOVb3pHUXwekxLJGAfQRUg52nDT58gzS9SCA5f7iFn0Uqz0h qGzDBJ0jathHj2e3uqO1r04JABqM0bQbONffhmFifkP8HDMnMAgRFQC1dQfIB2HCz+cQ LykQ== X-Gm-Message-State: AOAM531hTXkCqxwrZt8sYySrhffB5uip/6ko3xhTOgyvHvAdxVh2cDFC 8n8i9gmgb8MVzGhXklqEOeTPcQ== X-Received: by 2002:a17:90a:de98:: with SMTP id n24mr1071904pjv.87.1644011112830; Fri, 04 Feb 2022 13:45:12 -0800 (PST) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id t2sm3342218pfg.207.2022.02.04.13.45.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 13:45:12 -0800 (PST) Date: Fri, 04 Feb 2022 13:45:12 -0800 (PST) X-Google-Original-Date: Fri, 04 Feb 2022 13:42:41 PST (-0800) Subject: Re: In-Reply-To: CC: gatecat@ds0.me, linux-riscv@lists.infradead.org, Paul Walmsley , linux-kernel@vger.kernel.org From: Palmer Dabbelt To: vitaly.wool@konsulko.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Jan 2022 07:37:00 PST (-0800), vitaly.wool@konsulko.com wrote: > Hey, > > On Thu, Jan 20, 2022 at 4:30 PM Myrtle Shah wrote: >> >> 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 >> >> I still have some more debugging to do, but these at least >> get the kernel as far as initialising the MMU, and I would >> appreciate feedback if anyone else is working on RISC-V XIP. > > I'll try to support you as much as I can, unfortunately I don't have > any 32-bit RISC-V around so I was rather thinking of extending the > RISC-V XIP support to 64-bit non-MMU targets. > For now just please keep in mind that there might be some inherent > assumptions that a target is 64 bit. I don't test any of the XIP configs, but if you guys have something that's sane to run in QEMU I'm happy to do so. Given that there's now some folks finding boot bugs it's probably worth getting what does boot into a regression test so it's less likely to break moving forwards. These are on fixes, with the second one split up so it's got a better chance of landing in the stable trees. Thanks! > > Best regards, > Vitaly > >> >> _______________________________________________ >> linux-riscv mailing list >> linux-riscv@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/linux-riscv