Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3302420lfo; Mon, 23 May 2022 01:08:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB+NLwvuFS/p5EjoJuSusRtSJMu/d/czfl81d2QYUQF5eCsZT9o1vITGrNYCnSYlGR1IxY X-Received: by 2002:a17:902:a502:b0:15e:c251:b769 with SMTP id s2-20020a170902a50200b0015ec251b769mr21207011plq.115.1653293306244; Mon, 23 May 2022 01:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653293306; cv=none; d=google.com; s=arc-20160816; b=xCiU3y/qC6sZuctm7hKOeqhaffrkmabnCbUoB8oIJed8U7vUKRjodDo54LYi6iz0Qa YAx2gaoaetNWa12m+Gd5vwTuBYipfJAkH3QBrXQlLC1rKkJJbWwbltgDVb/+I5rMItBo ZDC7ojwG3tTjJ8k4hLHco+/luW2q1ILFH5BO2c9+D4QDA0q9P8MXFMMV5tD5LCXOw+dP H1MOH911D8aqGLmkQx0LsqOhxCv1eXp5D5UPjfPwLY6YDwyof3uO8vPCkHNM2FvwDR5J tj5vD6O73+sutwxn2sYfB7k67fS/zDBMi9L1hGYRvEJIWznuMcYCkAP6Tg2V/lhfxF6c Zgmw== 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:references:in-reply-to:message-id:date:subject :dkim-signature; bh=vc6UzMZJ99rPT/oGbTC9rWGA9q53ZOjUpC79nvKqcAU=; b=v3CNyJSuovSLIWb9NESlgAIKAz4Y0eB9RVlns2bydcuo7X0Dmva6SwZfSezRg/nHOp fnUYzeXE6LkN8brDqPEB1OPYJh9o0U3FTlMDtCXy3AeqZyipKuuQFFkTD7Ommiowgiu0 zXpt4UI7wClj7SDQN/EgfeT3dSAx7n7FfmTavLBvSykZZKyAfWo+amGY58lkMKm2pMJj BlO6epb/k9MPgbxUZm742zA4XW4+M/TRFt0UWtFvnnfD4MBrJBgoWCW0iM9rSROKSPMi xWcOjqp6rNftwO9Cgs/Et4MLFuU52dvAX5GLc+/ReGR7B0eTz/nxmkzT1CAbOZqr/f67 Y2ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=xn7tGQsd; 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 d16-20020a170902ced000b0016158ec5ac9si10420784plg.431.2022.05.23.01.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:08:26 -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=xn7tGQsd; 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 5C900E15C5; Mon, 23 May 2022 00:04:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351164AbiETPqG (ORCPT + 99 others); Fri, 20 May 2022 11:46:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351073AbiETPpl (ORCPT ); Fri, 20 May 2022 11:45:41 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95BCF17997F for ; Fri, 20 May 2022 08:45:29 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id l14so8395173pjk.2 for ; Fri, 20 May 2022 08:45:29 -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:in-reply-to:references:mime-version :content-transfer-encoding:cc:from:to; bh=vc6UzMZJ99rPT/oGbTC9rWGA9q53ZOjUpC79nvKqcAU=; b=xn7tGQsd1Ammyb30tKhGhYaTasZDR6D+KopoaEElpoNqc6cGf0hpG8c/xcaW+oBpAb NQDMz08xYT3+AcMmulQAk6hqyDWTp+nOeQiNtJHz9aUl3GAakkxCzJCkqmNuICNj6ku9 Vl5uzJywr8dENe3WususOJPHvvwQ2N9Zb7UXl2j98MpGfkZKlVUup3aNUYpiWXSSsMnF HepGggexSW9DzDTaB5r53P4KdrOWLX4hD7rWWZIHZzryaJzlILIHBDAqaXM69uvA+q0+ HTb8rFfgcXIiymlN8fTxxIcV4a/06ryRKb3FCuQF+PfCqhJ1VLcOJ4sJZ6Wafv1dnUgs vWtQ== 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:in-reply-to:references :mime-version:content-transfer-encoding:cc:from:to; bh=vc6UzMZJ99rPT/oGbTC9rWGA9q53ZOjUpC79nvKqcAU=; b=R8RFTq+HC73AvlFUeFaZm4v44QwETC2LO12xEJa94BvYgg08MUw9FtsS/DXOqSYyqb UVOez1dSh+POqZRJc3zGkpdPzl/W1hoQl0FsT93t+cvsqHU+zVCuHHniPovDpds+5tOC 7B3s84AOWQAmIOuBMshkF/XoVCiPyVaCHazGr8CNWu9CYb7nFxGMFbu4UaD0S5fB6cxd kZMKZNJAZSbFOz6v6H0j7c2MgPYjQscANrauViSvpxn5+73TTb6w5mIgzzg/hoCJxVHI aHPknOextskPPt2FAl6qvLbIRPCwc/l6prizj56XdTGZAc2s+wzuivVeb0XnPUogwDgh b9kw== X-Gm-Message-State: AOAM5331MbrrvRjbr7wCnxVeIwooHD5Kc6PnuikpqC6ogjlHjh8ZmO54 JCek2Edy+uyrBRgAucq1xBeYWQ== X-Received: by 2002:a17:902:8c98:b0:15f:3e78:dc43 with SMTP id t24-20020a1709028c9800b0015f3e78dc43mr10194800plo.120.1653061528884; Fri, 20 May 2022 08:45:28 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id hi4-20020a17090b30c400b001cda0b69a30sm1987977pjb.52.2022.05.20.08.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 08:45:28 -0700 (PDT) Subject: [PATCH v1 5/5] RISC-V: Allow kexec_file() on 32-bit platforms Date: Fri, 20 May 2022 08:44:31 -0700 Message-Id: <20220520154430.18593-6-palmer@rivosinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220520154430.18593-1-palmer@rivosinc.com> References: <20220520154430.18593-1-palmer@rivosinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, robh+dt@kernel.org, frowand.list@gmail.com, zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, jmorris@namei.org, serge@hallyn.com, liaochang1@huawei.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux@rivosinc.com, Palmer Dabbelt From: Palmer Dabbelt To: lizhengyu3@huawei.com 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,T_SCC_BODY_TEXT_LINE 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 From: Palmer Dabbelt With the build issues now sorted out we can enable kexec_file() on 32-bit platforms as well. Signed-off-by: Palmer Dabbelt --- arch/riscv/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 898052ff743e..a246f2fe60c2 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -388,7 +388,6 @@ config KEXEC_FILE select KEXEC_CORE select KEXEC_ELF select HAVE_IMA_KEXEC if IMA - depends on 64BIT help This is new version of kexec system call. This system call is file based and takes file descriptors as system call argument -- 2.34.1