Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp843747rwo; Wed, 2 Aug 2023 05:14:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlERsK8eq/uBp4Ra3uxTN4BqjpnIadsPrRxTfU7LpBTrkw4/e8EDdw99UL8mXFGEtogjpRdq X-Received: by 2002:a17:907:784a:b0:99b:4525:e06c with SMTP id lb10-20020a170907784a00b0099b4525e06cmr4944247ejc.55.1690978459809; Wed, 02 Aug 2023 05:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690978459; cv=none; d=google.com; s=arc-20160816; b=DOTHrnVkg/ovkV/0H2j90EoAaJ3XkBKHPfEjeRhgZ6vKS+9mRru1wyWPw2BIYggwj3 TiZSy6VnQWTjYSML7HOJ8nQ81Y4VKamRvaAPsGcA+bu3rtvE30LI8eRGMw/2CENX7vxo 5p1l1cA0MCJTiNL6xuUUIov9jeTde/cravoOwunTuZHqdcwPh7I757BAso+Lfa9d797J V73vCgCgpUk3IktsHiUlw5o3qYExh8S45vXScfaRmqQjMjYHb3nhOxdglgrNW8a11Mue qS1Otu/Omx25EBdqndnSaPImiBmC1VliIeROnlRm9wvo/e2sGcW6A8LCjy0G11GstYls oCkw== 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=XtJJzBV2o9w/8Vgj1j1nZSyCfcOtTbG3LLTU+Vq1bvU=; fh=EYrKnlMSMqLZbmPIxd2rXJE6zqazJ4+3dklUElpcHMw=; b=upGEc436ePWcValkSf+fNY3PQ4qpLmrsD1yk+Pve4486L/rX4AwxaZEwLs3I1EHHhA N2dEqgf1AsZZPwLwnfB/MsYBSiOv/xCAQIrZNkApDDNqRS/GMUDVHtMhM5PGa5h7DwuF A4V+0bJBO0iBp1sCdThUAKztnt/DnLMIJa2gHmfUy0pltUY3D+COhofjAKUrKyWYVj7L QFTXIk/Cjc80XNYzUZgUqSI0m8w2AYo+uUBIRTnq5KRZDGmqpdmDEhXmCnIiQHppUeY9 VI7o+8OJ+hfo9Bkn2u5mTQ+LLON2NH8LG08YNXnbpcHE1rTzGBZvLPxPNAoXS6fr6ZGW Ilxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=NLWgSPuC; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z17-20020a170906815100b00982c06b45d9si10565089ejw.816.2023.08.02.05.13.38; Wed, 02 Aug 2023 05:14:19 -0700 (PDT) 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=@microchip.com header.s=mchp header.b=NLWgSPuC; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232102AbjHBLN7 (ORCPT + 99 others); Wed, 2 Aug 2023 07:13:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjHBLN6 (ORCPT ); Wed, 2 Aug 2023 07:13:58 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 199D41FED for ; Wed, 2 Aug 2023 04:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690974837; x=1722510837; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qJbAs5HMKRLq8pv1x3gsaXQhtOfOsBxY/cBd1OZrCpA=; b=NLWgSPuCLiKsGQQCPGi3rgJWJIpz/f1Ns82OgDABTPdTFT8jzxwgyU67 aM8Gzx6OelliJerfSWPZGqBgRjtEG/sHFH5Bg3oxTZ1AN7iL4vhM3eHyM Yf1y4SQwgdyzT9WeXQOqju4+lR2e+MrAulp9trIVmN3RM53CL/MqrZN5Q HpWM31EyBQYa9mtEjbgIHWj74QubgQx9Y9VGj7coTU5CPpoxkXKLeBB/A 5OsFSfkDbKm1srq4bnx28VjhjeG/FVOIcEPLbqR5fj1cmx+GqD7qjmWUC 8ZtYeCtAIZtQh9nXiB1MoFczVBhczOQxyOkqVX6X16b1UfLps4t+6lphD g==; X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="223462614" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Aug 2023 04:13:57 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 2 Aug 2023 04:13:46 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Wed, 2 Aug 2023 04:13:43 -0700 From: Conor Dooley To: CC: , , Paul Walmsley , Atish Patra , Anup Patel , Alexandre Ghiti , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Song Shuai , JeeHeng Sia , "Petr Tesarik" , , Subject: [RFT 0/2] RISC-V: handle missing "no-map" properties for OpenSBI's PMP protected regions Date: Wed, 2 Aug 2023 12:12:51 +0100 Message-ID: <20230802-purse-hydrant-6f44f77364b0@wendy> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1354; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=qJbAs5HMKRLq8pv1x3gsaXQhtOfOsBxY/cBd1OZrCpA=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCmnrIyUMh3FdPfWh8x8ZyRaH3s8U945pkIuYx5f08e6FpuA Iz86SlkYxDgYZMUUWRJv97VIrf/jssO55y3MHFYmkCEMXJwCMJHcaYwMnxLuyxof779m9+tJD2vJh1 NJOx2WXa011v2xq8jUNPvZJkaGBy+LRfv+zHsVwsGzq/Jo1q+HrFeW2ERVKz/74O1y4LcYJwA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hey folks, I was kinda sitting around hoping that someone who cared about hibernation would decide to go and work on some patches that permitted using it without having to use NONPORTABLE, but that has not yet happened so here I am. I've marked this RFT as I have not got a setup to test hibernation on a system that suffers from the OpenSBI issue, nor have I used crash kernels at all. Thanks, Conor. CC: Paul Walmsley CC: Palmer Dabbelt CC: Atish Patra CC: Anup Patel CC: Conor Dooley CC: Alexandre Ghiti CC: Björn Töpel CC: Song Shuai CC: JeeHeng Sia CC: Petr Tesarik CC: linux-riscv@lists.infradead.org CC: linux-kernel@vger.kernel.org Conor Dooley (2): RISC-V: handle missing "no-map" properties for OpenSBI's PMP protected regions Revert "RISC-V: mark hibernation as nonportable" arch/riscv/Kconfig | 5 +---- arch/riscv/include/asm/sbi.h | 5 +++++ arch/riscv/kernel/sbi.c | 42 +++++++++++++++++++++++++++++++++++- arch/riscv/mm/init.c | 3 +++ 4 files changed, 50 insertions(+), 5 deletions(-) -- 2.40.1