Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp861839pxb; Fri, 22 Apr 2022 12:53:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGb/ntxeCOt0xDzejTaauwC2FlP44g3VmDId0CMIxUWm+0u7vWBoQAvkoIKHEhBPgKVcLK X-Received: by 2002:a63:4e:0:b0:39d:7212:84fc with SMTP id 75-20020a63004e000000b0039d721284fcmr5322859pga.220.1650657208150; Fri, 22 Apr 2022 12:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650657208; cv=none; d=google.com; s=arc-20160816; b=jlz/ItJCQUJew/NLyMZKva9+YjE3vqm+SHmn7CgJvEoTkd11iRUbkuknvM6Qt7M8bY IA/du/mTZuZLTWszYGAG9vBEs5OVg/cJopnqtyJ5crAd8ZSE/auMBy5iquMuhUvTrdnL A7QrvOmhph03C3qA3vybZ5ArdlDO9mWXT9ghomkF9ecEkAOC0asB6SDzQ0utBxT0pcAY 9f6W9/K+dksTycvWtebaCk5mpZalqj5ndPT21iEnWG0X+jqlQHjAZHeGVz6SVeuP6f2G yF6RsFTa+wNdfKW4LFPW7EgG6cCOZAc1o0kUbQ3pg2SUck8icaiUcH03E4w3FXrgeSv5 yixw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:message-id:date:subject:dkim-signature; bh=trC3Jlxugt+DSRiVxo9xrs63CVYLuv/9eCn2KJJLdms=; b=GW+ZTA12QsQiBCE1etMqTAW4JCKOaBqeLtugYegF+kndDj+XlXgugHZf1dLpxQjv4S nYoLxROYa/TvU5/8MhH0sz3WmSFuaFBmGZYibWgpls4j+NyVzReM3HDlcsmO7PEd61Nj quuRY0hdEl7lOru08fT2SUzp1yLzcfxgxwx1NdEMn4LfoyHKNe85VoeJwopWVrVxV9uO sErlWmUyMcYi2XY/HO6gUIl5gwUykxwetGkjpP0MMoMBcrrK+QWWH2DAIvSG6tHPLhJ5 TuPSPfPM8LZNDYHAtkkhJwUthPRDhlfRn761/mTYoeGTP33jisIc43KYVjabL81YAuXA raVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=CzzmjkHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t14-20020a63dd0e000000b0039cc1700f93si8514781pgg.862.2022.04.22.12.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 12:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=CzzmjkHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 762E7186BDD; Fri, 22 Apr 2022 11:56:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381583AbiDTSvA (ORCPT + 99 others); Wed, 20 Apr 2022 14:51:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347153AbiDTSu6 (ORCPT ); Wed, 20 Apr 2022 14:50:58 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C42742EEC for ; Wed, 20 Apr 2022 11:48:11 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id bg9so2430426pgb.9 for ; Wed, 20 Apr 2022 11:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=subject:date:message-id:mime-version:content-transfer-encoding:cc :from:to; bh=trC3Jlxugt+DSRiVxo9xrs63CVYLuv/9eCn2KJJLdms=; b=CzzmjkHZYTeeLA4VQjVJtRzQ2KUxzKMzUAu8XCCnixPad50uf9dqsbi+yBo0RH077z Q0ZuID/UQaEVBzRnxtZSHcuHsHISgOvBFEoFD1GhyorPjqrVRkiaIjWDcjHHuba+aMlY xPXctABj1/GCQLG6fYutac4EDEoxze5my84ivnf3+Hj6BzcacQJye8OApJH3hzIw7nss IBsKWtgNzGrzQIVrUYsogBIXs2ZlNjtz6lbpOr++/7CUdS3ZdUV0Cu1lFhPTRlpdimpz ZmoIg7LzhrJEojLWuMU6f9h0NuyZo9fH2kr3Da/ALoRkshDAC0zer4yGYXI2ahKVMpn/ p5Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:date:message-id:mime-version :content-transfer-encoding:cc:from:to; bh=trC3Jlxugt+DSRiVxo9xrs63CVYLuv/9eCn2KJJLdms=; b=vUP41sg/rwiFtAaBxXJlA91v1b2VFamfjUdmuPtX5yxBBIan67kCuRVeZC2x1gNgVf D92/iy9defj1ba86FVVnD/ewviLrDUA5uHtPn22Qd25AJ8OLAsrjUze75cCh5LfZLy8R 5t+bwdRLVcd3GMnrVs1IjxYX9c/UW+sihFR6bo/TdBn9PUsLaKhb+CGsLSSoqogs3I9p OzVN6eqHPG9tsthEBaO7vDaDSud+HNpTInjcyd82AiETWFeDg29S7n8tq+qVpwkZekOq bFJnWLkZzMn3HAbQO4WP/hJAujtdCuYGDUGINJw7JGzMYxrRxeTW7ibNgLDfVOdJ5KmB CVGw== X-Gm-Message-State: AOAM533eayhqO2fB4gLwz9tOptGqlne1arC2PHIrT5caihfdcG7hOzSL DDzDJFINamMfWO1/zvO4zeBM0A== X-Received: by 2002:a05:6a00:1489:b0:50a:90d7:e69d with SMTP id v9-20020a056a00148900b0050a90d7e69dmr12354299pfu.70.1650480491099; Wed, 20 Apr 2022 11:48:11 -0700 (PDT) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id s89-20020a17090a69e200b001cd5b0dcaa1sm120809pjj.17.2022.04.20.11.48.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 11:48:10 -0700 (PDT) Subject: [PATCH v2 0/4] RISC-V: Various XIP fixes Date: Wed, 20 Apr 2022 11:40:52 -0700 Message-Id: <20220420184056.7886-1-palmer@rivosinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, anup@brainfault.org, vincent.chen@sifive.com, guoren@kernel.org, Atish Patra , alexandre.ghiti@canonical.com, jszhang@kernel.org, vitaly.wool@konsulko.com, gatecat@ds0.me, wangkefeng.wang@huawei.com, mick@ics.forth.gr, panqinglin2020@iscas.ac.cn, rppt@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux@rivosinc.com From: Palmer Dabbelt To: linux-riscv@lists.infradead.org, rdunlap@infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no 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 I found a handful of XIP-related bit rot when chasing down a LKP-reported issue. They're not really related, aside from all being XIP-related. I thought I had an XIP build test, I'll make sure to add/resurrect one when I get back around to these. Changes since v1 <20220419194846.18318-1-palmer@rivosinc.com>: * Defines the mapping functions themselves to have no-op bodies, as opposed to wrapping their uses. * 2-4 are new patches.