Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5807850rwb; Wed, 9 Aug 2023 09:20:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXQFcJx5WEjlvjPG0dWDwvQ4yVZ1T2QC2+uJ0loa1gUvPStGV/cR1nGTNLtX7SqCXR87lI X-Received: by 2002:a17:906:5307:b0:99b:f554:1f10 with SMTP id h7-20020a170906530700b0099bf5541f10mr2677492ejo.7.1691598017500; Wed, 09 Aug 2023 09:20:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691598017; cv=none; d=google.com; s=arc-20160816; b=Hkl1WxfZw5v2Icdh6RhYV3iLj1M3HnkpVjzWhP+F7RCR4hEkn+uJDa33WkJ+YFMQxr m9y/VnptuddwTPrJqTmJS0NfOXVg7CXE5pABfzVcRHwQMe2BkLOEV+/QA02Zq5w2G3Ba Y+16KjiRE8pUj3rVWtKt7Od7/k8dSoufgiWIa3V3s18B6JOhAP5boVq603NFPKR8OtOF ppzICzsIqULa6p+zS0x1DtyY7Hc2IDT+HmKe0D+drQ720pMegNkNoit9JFvI3RlJjGjj NJCA74PSVZ5Gi1/R6iCnglQohZIS4obwK/lO1kbCDcl/yfGheUzEctD3AntwO2EsM8I0 ZafQ== 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:date:message-id:subject:references:in-reply-to :dkim-signature; bh=PcSxbBrOV0WBg4EP6zgcLtNj8tR0tgK0git/8kLh/8g=; fh=1BZneXGV3+HE/S/62TjOP3Dj21av2lmV6azooFqSwuE=; b=Qkp8twAenAHHFd8JKEXS79ESO9kGMx4Vu4b/fDYUZiVzfLy59xCRsXzY+FD2P2PQfX ynrXg3Ow2IWZ3aT0/EO2KhkW8hN95A9hBEk2vTXkcv3Wj/hSbVrHfpGdYCilS4Pb0IsA E3N653Hzv5iE67T73dj1vjWoqM8ln01WOkuP2LTtF2MyBzJHshyRj5GjaGmw7ZVUUYQH P2eqkN2eAohPBIBTnmg8nHsAkjs37H2cuAUN4oN++Oqw0h5w4RzyLukYJfud1izehYLD RPe51yHouTrcP15ZXtHucZnXnOfTnvzPPVNeiLCBjOZLatpTK78hWxsHFPXrf0Vv5JY0 c3LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=iFBxTWYg; 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 o2-20020a1709064f8200b0098e1263aadbsi9144986eju.100.2023.08.09.09.19.51; Wed, 09 Aug 2023 09:20:17 -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=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=iFBxTWYg; 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 S233421AbjHIOgA (ORCPT + 99 others); Wed, 9 Aug 2023 10:36:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229967AbjHIOf7 (ORCPT ); Wed, 9 Aug 2023 10:35:59 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D77C31FD8 for ; Wed, 9 Aug 2023 07:35:57 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1bc5acc627dso26733665ad.1 for ; Wed, 09 Aug 2023 07:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1691591757; x=1692196557; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:from:to:cc:subject:date:message-id :reply-to; bh=PcSxbBrOV0WBg4EP6zgcLtNj8tR0tgK0git/8kLh/8g=; b=iFBxTWYgQIrj4gYHg7URBl9Kl5xOAcVL0HH5/QkB91x4HS9lNi6Ivla71SdJlNRENe 3POAlQzTPJPQ3Azft+nt3ZFkUvTC+xctOQt7sHY1FIU0BybjtoelE8jK+/csTHOg/CWw 2LFJwu2hoXwkJ5OXWlBnZfRa6XQpodvXkymXFF7uXChA8KsGQUP3o3K4uA3Yac5it+YT TkzwpivjCIFNw1gAxYzFN792eKnjLxRFDxu++b1KjVk2aFVcYvDpWDg/+JSaFdaZ9Xl0 LSAMZdvIKAJiXQTHAkaBYCV/kZXwBTnDfIkYTt6GkbmW1vqzbTxx8vR5hREY4ztHK3xB HUvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691591757; x=1692196557; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PcSxbBrOV0WBg4EP6zgcLtNj8tR0tgK0git/8kLh/8g=; b=g0eDIgyDjha3f48URSr03dZPJxi+R7RYrpZ/3MpjTR01LUp3InTrMbdrZQAyRjC/Gn nwSzobVOfZfeQenIobhOvsgMWMjiSGE0tqF06FPQ1d4E7SmGAOz+OzEbFGKzK2ha/pNj T68JUy2CX1GKTrGD0eYforhlpO7A9xP1P3jfTaoYQQ1v+lmCVYY/8lOfzrNuHwijGMNa mIDibCADKJzoz7BUnCNZdR79X6HyM7C8AnBjBjhFRaIHx3HLleYW3Sx9J+Ae25SYSAB8 0HCAuk7qUmm8+dIm/D4DcF5O61INpz+vG68uWRFf3zzqaEg82wrEf0EW53a7aGVohCqH ZIRQ== X-Gm-Message-State: AOJu0Yyz9taU9r3X3/2jyqD80d5sDpneeaEHielysqAhooCwJuZrnmJB x8osip9zcqc11iPgvYq/HcDNNQ== X-Received: by 2002:a17:902:d483:b0:1b8:a3e8:51d0 with SMTP id c3-20020a170902d48300b001b8a3e851d0mr2328259plg.45.1691591757300; Wed, 09 Aug 2023 07:35:57 -0700 (PDT) Received: from localhost ([135.180.227.0]) by smtp.gmail.com with ESMTPSA id t22-20020a1709028c9600b001bc68602e54sm7307984plo.142.2023.08.09.07.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 07:35:56 -0700 (PDT) In-Reply-To: References: Subject: Re: (subset) [PATCH v2 0/3] RISC-V: Fix a few kexec_file_load(2) failures Message-Id: <169159174235.20984.13290949121654917312.b4-ty@rivosinc.com> Date: Wed, 09 Aug 2023 07:35:42 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-901c5 Cc: Torsten Duwe , Roberto Sassu , petr@tesarici.cz From: Palmer Dabbelt To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Li Huafei , Liao Chang , Masahiro Yamada , Kees Cook , Andrew Morton , Heiko Stuebner , Ricardo Ribalda , Alyssa Ross , Li Zhengyu , linux-riscv@lists.infradead.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Petr Tesarik X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,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 On Wed, 26 Jul 2023 11:53:58 +0200, Petr Tesarik wrote: > From: Petr Tesarik > > The kexec_file_load(2) syscall does not work at least in some kernel > builds. For details see the relevant section in this blog post: > > https://sigillatum.tesarici.cz/2023-07-21-state-of-riscv64-kdump.html > > [...] Applied, thanks! [1/3] riscv/kexec: handle R_RISCV_CALL_PLT relocation type https://git.kernel.org/palmer/c/d0b4f95a5103 [3/3] riscv/kexec: load initrd high in available memory https://git.kernel.org/palmer/c/49af7a2cd5f6 Best regards, -- Palmer Dabbelt