Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1892714imn; Mon, 1 Aug 2022 04:13:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR6iJEMGESTGwo6r9YgjQahV1uDztt09/eBw9abRLzsIVqqedAMTeTgrvxDGhkLEjLBJTsqa X-Received: by 2002:a05:6402:50ce:b0:43d:559d:43f4 with SMTP id h14-20020a05640250ce00b0043d559d43f4mr9491979edb.325.1659352432143; Mon, 01 Aug 2022 04:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659352432; cv=none; d=google.com; s=arc-20160816; b=eN3gBp3V+GjU5XjbbuSQ9Zj5rIFSmTRMBWzZfvEzAS8WhARJQm5yEMEw/+ndCv3cHO 2z56fJalEuP0xnNdZKps6JuhW5lA5l/1OVTaWLgbEtkwQlSnqpvNkPgHN0lW7FAJPOck 4p/g9dxVrn3Q19f/Ud3d7qCR5BmfXUAhDhP94sLsp3RbB7mhCqqTFKa3Rkm1dJjZWLz1 9Qt3tLRhN7ZhrPlQ2wbPx2Ul5WaVEi4PahjBnFp4Wj0+NVfayYod68Garksju0jk+RRa w2uA7zSeWydswVzwJr5W0OKlTMyc7Am339drVWA0j7ybkmzK9RRKJm9/976nWwIcXoNP i+sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=t7XQ6tgMvM6w86WIYWzSJ7XCcwSXGMEdKRROUaQFQLM=; b=IB11x0VcSYbENfRdSt/xljyXYRkupHWaqaKmuRbisXUEofkcPhFNNr8LJW1bpPrXwB Zm2g9JVhlotdWH9RPSjIrEVeoPyz8uvd+P+P9A4vwUjkkG/umanEbgfNlzFK0Uk0d6cR skg/gLEm9wrAW71Fqd8Rc5u1+F35EtTpcqEoPQKWPaVurb7k5iToZBm2iQk19PjVD61D LMsLGLVPd3cXoJX6aNz4kDO7YBR5tN4GDJDFU6hOCRLHisDmYy1SP6+EHaXP2Jy5hzF6 47AdZ2Fo6w66z085D0kHmVLtmkFCs6bxiW2iHbj+kcYZFCJZdTKv4M9IHj8GztoPqmTD OeJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=v9H4tKDd; 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 y27-20020a1709063a9b00b00702d7a823casi8703390ejd.317.2022.08.01.04.13.27; Mon, 01 Aug 2022 04:13:52 -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=@xen0n.name header.s=mail header.b=v9H4tKDd; 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 S229983AbiHAKoh (ORCPT + 99 others); Mon, 1 Aug 2022 06:44:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231187AbiHAKog (ORCPT ); Mon, 1 Aug 2022 06:44:36 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E95CD88 for ; Mon, 1 Aug 2022 03:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1659350669; bh=1EJPgP5q2q4V6iN2Gc8k3q+T6sP+TuI5mAZxt56oEQs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=v9H4tKDdubqQVOdqaUwRK8QP0jXaMIWtxKlvyIiTLreQbdA/IBUpyp9xVApCdYE31 qnwe8Onyel1WcDO1/+4Z0XsEul2UA6IJTyRB4/XKeAd93kZdLHfvvUrLFMEZHsQ/z8 l48EYuJEuTFwWCnGyEkFelCf7Y43U5Iq8m6M3BtM= Received: from [100.100.57.219] (unknown [220.248.53.61]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id 2590B60103; Mon, 1 Aug 2022 18:44:29 +0800 (CST) Message-ID: Date: Mon, 1 Aug 2022 18:44:28 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Thunderbird/105.0a1 Subject: Re: [PATCH v4 0/4] LoongArch: Support new relocation types Content-Language: en-US To: Jinyang He , Xi Ruoyao , Huacai Chen , Youling Tang Cc: loongarch@lists.linux.dev, LKML , Lulu Cheng References: <32a74a218c76611f897fd1df1ad0059068621133.camel@xry111.site> <0179679b736aea7258981dec2d83107cce74dfc1.camel@xry111.site> <6b5d2188f93ed72b67a4bbb7116113f833fe1ee5.camel@xry111.site> <7cad6e78014168a8906e130e1cf3809077d2bda7.camel@xry111.site> <1d0783b87bda3e454a111862fcc5b5faffcb16b0.camel@xry111.site> <00eede4b1380888a500f74b1e818bb25a550632b.camel@xry111.site> <7512ae16-b171-d072-674f-a6b9a5e764d6@loongson.cn> <10751c9af5d45fea741e0bbed6c818ddb9db3ac3.camel@xry111.site> <7b1f9813-85fc-acfd-8e24-7e01469ded3a@loongson.cn> From: WANG Xuerui In-Reply-To: <7b1f9813-85fc-acfd-8e24-7e01469ded3a@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 2022/8/1 18:08, Jinyang He wrote: > [snip] > > Actually, I really hope kernel image is in the XKVRANGE, rather > than being in XKPRANGE. So that we can limit kernel and modules > be in 4GB range. I think it will make all work normally. :-( Just my 2c. I'd prefer any scheme in which memfd_secret is possible. The current design makes it impossible to carve out memory regions from kernel's view, IIUC, which is of course something to improve... -- WANG "xen0n" Xuerui Linux/LoongArch mailing list: https://lore.kernel.org/loongarch/