Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp864211pxf; Wed, 7 Apr 2021 13:36:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQnVHh1s777dLg4ZqrDIXicDZq+cXIMgI6nrAD1PB/3CjbY1AS2tKW2YKFiMFqg2egDBTs X-Received: by 2002:a05:6e02:de6:: with SMTP id m6mr4281963ilj.81.1617827790586; Wed, 07 Apr 2021 13:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617827790; cv=none; d=google.com; s=arc-20160816; b=nQ8yTckQCkwKBGFWl3hEvqbxgSSR5EJaivpaK2xZh68eXBFViGMf7mCBpTQ+9NoaKp Ap+jlseIt45q0tPWuhvZb6VEFp7rmtRkv0OZ+BZuho8NghxubrvT3dyDFpKoR88qZL5y vZITBiHkhjX3NNDs5vHokplkB5qPn4LxEfMuj0x/80lDMygke8tz1wvJOdXT0nN2k4v1 ZDKpTWMy1tw/rpJ8+utZYcdLTicT5kFnQfI9IswN6y9UcvBYqfyT9e0q3zmI0iUW/nZu uPW0ArI5RtTRKOLf3j8Pv75XI0lAkcyvn7xiY9HAd9PoXtfFzb2gTGd7Z6Q5ofNFzlWR ONbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AuFjkA3Te0yYWflgJfKxzh4S0jAnT6+PkWv6Iu0MWs0=; b=JDObTCaqeu61av+XMh6phALXPD2ZGLaXaYzuxJLnoacCDepDaCNhUw9nkz9wcXZCa8 7MKzJyHgaCwC9Wq2MVZP0NhtlbK9PAxzAuZHiLU40NVClT5PwcODFyEEqsSPjbCKi/m0 +MeU54svOeI2jmFptLXdZP6MUpChxG6KboPHo1cdhnbiBC6v352HdzVM7qWBuyMWCuj1 JDPG5AtXr9fpzCutwrmbN2HQcNa8oKE1AEJncrteVkooblWwpcLHgpi+Vydb/uclRUf/ 2cC1U9ln+cIrp8MnvGmuUldfvw0w1aMe5sv+Y86WMLoJE29WD8fCTHv6EvYMhLKikygC xAXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=LFBuJUeg; 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 r28si710932jaq.70.2021.04.07.13.36.17; Wed, 07 Apr 2021 13:36:30 -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=pass header.i=@konsulko.com header.s=google header.b=LFBuJUeg; 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 S1347574AbhDGIi2 (ORCPT + 99 others); Wed, 7 Apr 2021 04:38:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348534AbhDGIiZ (ORCPT ); Wed, 7 Apr 2021 04:38:25 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2BBEC06174A for ; Wed, 7 Apr 2021 01:38:15 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id r20so19701052ljk.4 for ; Wed, 07 Apr 2021 01:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AuFjkA3Te0yYWflgJfKxzh4S0jAnT6+PkWv6Iu0MWs0=; b=LFBuJUeg1Jml0D8sr6mXbhoYwJrV9La5vY9YIOdtk1QHn1VxCrm3R79qeO2S7/V8K3 oGwlpk/zgnt8mPc1OYznR4jxUkYrkLqaHcn3+9VD6tFS5BH0zMC1EDBRoVoNRT9qpSty Odpw+Ebo/Gh0YXEPE58CYA9+oyvJwwM+nOo2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AuFjkA3Te0yYWflgJfKxzh4S0jAnT6+PkWv6Iu0MWs0=; b=RfiMV0P1+0WQvg5KAmNZqGChWVVzFN7YkNkGbC/x/gEUDSkNK0c+TMYb4IfJz7moth 6fMo9lYpf3opda1BUcLHVwBWhlmbkt31apjMyD0xToS9Tfv4ZjKrv9kNa69vEkbwxRg8 HoV51bGdRMKgecbMoye95NZk0Ym/2wlkPaA8uXJDUPXL8+YSNRkF8ly+Odq9pJ37ZkCX tOGtjyjLGFcOSEgBxoSgGoLZi75ONsF7lrJPzRdbfbkEqasVoDokX1K1Qhd9IFVaOnu1 DRWAZe2l30imMUa11auiTViUGT95J3gV6DzNeOXUXLr8xhckykcZ5p7/ehQpJWC8VmPD TFAw== X-Gm-Message-State: AOAM531u/xmBxtGVWcxutPNuD0zJG8mWswlkyZpzod97GGNiTCxP2hm5 QYm/MM9UdF0fPQ1tfaUCR7Y8sivKwYJKVVeXQROyjw== X-Received: by 2002:a2e:924f:: with SMTP id v15mr1542585ljg.172.1617784694327; Wed, 07 Apr 2021 01:38:14 -0700 (PDT) MIME-Version: 1.0 References: <324299b7-eef4-0961-239c-ee72100f2e85@ghiti.fr> <32a6ac11-f274-71ee-e5d0-dc60ba841495@ghiti.fr> <27b0ae72-bc84-a2f3-bae9-da6995d38058@ghiti.fr> In-Reply-To: From: Vitaly Wool Date: Wed, 7 Apr 2021 10:38:05 +0200 Message-ID: Subject: Re: [PATCH v6] RISC-V: enable XIP To: Alex Ghiti Cc: Palmer Dabbelt , linux-riscv , LKML , Bin Meng , Anup Patel , Alistair Francis , Nicolas Pitre Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alex, > > All in all, I am quite sure now that your take on XIP is working fine. > > The issue with single-core boot under QEmu seems to be less > > reproducible on slower machines running QEmu and more reproducible on > > higher performance ones. It's not clear to me if that is a QEmu > > problem or an in-kernel race, but it's hardly a XIP problem: I was > > able to reproduce it once on a non-XIP kernel too, by copying it to > > RAM in u-boot and giving it a 'go'. > > Ok then I'll post a v7 of your patch soon hoping it will go to for-next. > I'll add my SoB to yours as I modified quite a few things and I thin > people need to know who to yell at, if you don't mind of course. No, absolutely not. :) Thanks for digging into this! Best regards, Vitaly