Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1418813rdh; Fri, 27 Oct 2023 13:48:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMJfGx4DqhUvs6qvLuV2l2zNn+wN4dgig/YQ3V3eEoCUCG74JUbCXrfE0pu9CWUmbINWPQ X-Received: by 2002:a25:d489:0:b0:da1:b041:70ac with SMTP id m131-20020a25d489000000b00da1b04170acmr2807443ybf.10.1698439691422; Fri, 27 Oct 2023 13:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698439691; cv=none; d=google.com; s=arc-20160816; b=OhI3RvFQ9YE4I1skuiBL0sMZjn6UIfsVub88sIP+l1uzEP43mrQNTwu1j5kZZ4pY+n GIuLr+f4S4dL1HeZmYD22PYccTIL8M6MXdgo+b87hWZLJ/dw2yAnxCFjPh0iAEqmvCcy 0qsJwD8W+L9g52ram0qlNLY7kujCdfqe3djygIzxUZZoEKQ12zGTjjwjmcH3aE7ALwQR hAZQwUpljMsEcbQVF0HrdpPTMRd0/xsvnOJOdivs+Gq6ggrHnbGnBHEwW7egBng+sA/j DogDm7gTs1IxjdXoRL8usdO8aT+1xm680QW3cKsKB6t+ObFqfuCd38kUYH0WAbEUA58r imZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=ek3ttmqAGFF4b8P7ZekDoufP/IL89Iv8HyQdghd7eQw=; fh=A1lcRVFThVUxe/lCR9A6w4qLTYChjDfCFCwl3Z2kRMI=; b=po5669WjYmBG2fcJBn3ov1wad3/9Xi9Qsj5nx0ZV2Vfd8XpNp5IwQYakFkZ5PTIr8r L8Y04sER6iBy2JP5ZAeduOEkVwDU9T14ZP7w9nrfp2eVRFlS2Ld+bz8E6snXSd5Zq0r5 Q8DMTl4x3DlDGKh71dXvVXo+y77b3zWXQ8NKP5/0O0mLBBBQvS1ORu52DSKFLQyhg24k xdgAePUYJv1AQ1C3Nwf1DzlUIhQaMCCDF+41LHqRKzmjMOuD6LBPA4C5uEMP6GxcmHK4 uGvNt9loTaI9mfqwqinoFuxWFJLdx5nMwPPtGmv+o8h5SWGlSNMVYlumo+9Jhi9vZYJh FPoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=Z4WMUZhD; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=fXiENQFK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id p136-20020a25d88e000000b00da0ad860b8csi4042737ybg.457.2023.10.27.13.48.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 13:48:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=Z4WMUZhD; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=fXiENQFK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 50C9083B00BD; Fri, 27 Oct 2023 13:48:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232617AbjJ0Ur7 (ORCPT + 99 others); Fri, 27 Oct 2023 16:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbjJ0Ur6 (ORCPT ); Fri, 27 Oct 2023 16:47:58 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F5091AA; Fri, 27 Oct 2023 13:47:56 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9B4CC32009ED; Fri, 27 Oct 2023 16:47:52 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Fri, 27 Oct 2023 16:47:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1698439672; x=1698526072; bh=ek3ttmqAGFF4b8P7ZekDoufP/IL89Iv8HyQ dghd7eQw=; b=Z4WMUZhDnZqz+a0WJMIJMI5XvTPevqCISq4SLnCfib77DmwNemj olY2i7UYWCJutyEHM2xBEtIQCnm8azJ3RvZt26lIocoNTbxfFPLU3w9mO7nKjmHG xjzkaUWBjjLJyaCHHtEKY/7nfUeMxYFy8Rneb9LXpgV97o9vJQh6bxVOEslZGQ6n KoiU0U0ESxN4VnBSluoKvwQEfrKGj7Tjnbwm9Cn67rfsALyej0ToWV/iXPsWbeMJ jr4FnG/6+VY9MbS/1bNtkYebWQiFBLtQn9svmy6JfPujbXz/GXb5jnehQS3zVEaW IMlidcL5zmMpMMxbnnpDcyCwu9JPpY9HqWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698439672; x=1698526072; bh=ek3ttmqAGFF4b8P7ZekDoufP/IL89Iv8HyQ dghd7eQw=; b=fXiENQFKwbENZ9r0XcfO44FFDNd/9GhNP1B3Rw5tFkmzHbqXhI2 hzINZsyksx/AczjafefYQjk+0rUPqB95H8Z3eqpiO47kLOYs3lXtbNTri4GGEydx 4v5XR0BGlBnp2a5ReMBLtfvZO2ZkW4dvfAW8MKugDxKjc8ZwC6HvhAPkvuuiPNfO HC3AbVFvWV+pd3EXy2cQL2y23D6ajfwqLXK4aThMx2QF0GH5FY4sdbsiR4hE8MK1 YutanSSRHHLZD+/Xjn6ebphHHoocg9A8uXvThwKW5gQbiq1rEgd+uoFx0vFNAoYB wwA5cROhgc+fFpqIz44GcW/CkVUIgZuwHNA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrleeggdduheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfl ihgrgihunhcujggrnhhgfdcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtoh hmqeenucggtffrrghtthgvrhhnpefhueefgfeuueeuvedvhfehkedtuefhheefffdugeel keetffetgffhgefhlefhjeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgpdgsohhoth hlihhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 83A3C36A0075; Fri, 27 Oct 2023 16:47:51 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1048-g9229b632c5-fm-20231019.001-g9229b632 MIME-Version: 1.0 Message-Id: In-Reply-To: <875y2s81lx.fsf@BL-laptop> References: <20231023191400.170052-1-jiaxun.yang@flygoat.com> <875y2s81lx.fsf@BL-laptop> Date: Fri, 27 Oct 2023 21:47:33 +0100 From: "Jiaxun Yang" To: "Gregory CLEMENT" , "linux-mips@vger.kernel.org" Cc: linux-kernel@vger.kernel.org, "Thomas Bogendoerfer" , vladimir.kondratiev@intel.com Subject: Re: [PATCH 0/5] MIPS: Fix kernel in XKPHYS Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 27 Oct 2023 13:48:08 -0700 (PDT) =E5=9C=A82023=E5=B9=B410=E6=9C=8827=E6=97=A5=E5=8D=81=E6=9C=88 =E4=B8=8B= =E5=8D=885:35=EF=BC=8CGregory CLEMENT=E5=86=99=E9=81=93=EF=BC=9A > Hello Jiaxun, > > >> Hi all, >> >> This series fixes support for loading kernel to XKPHYS space. >> It is derived from "MIPS: use virtual addresses from xkphys for MIPS6= 4" [1]. >> >> Boot tested on boston and QEMU with loading address set to 0xa8000000= 90000000. >> QEMU patch on the way. >> >> Gregory and Vladimir, do let me know if I missed anything. > > Thanks for this series, I reviewed it and tested it on my platform, so > you can add for all the patches: > > Reviewed-by: Gregory CLEMENT > Tested-by: Gregory CLEMENT > > However I add to fix the patch " MIPS: Handle mips_cps_core_entry with= in > lower 4G", I think you missed a case. I will comment on it. I found a better solution for CPS handling, will send v2 later together = with fixes to bring TO_CAC to 32bit. Thanks. - Jiaxun > > Gregory > > >> >> Thanks >> - Jiaxun >> >> [1]: https://lore.kernel.org/lkml/20231004161038.2818327-3-gregory.cl= ement@bootlin.com/ >> >> Jiaxun Yang (5): >> MIPS: Export higher/highest relocation functions in uasm >> MIPS: genex: Fix except_vec_vi for kernel in XKPHYS >> MIPS: Fix set_uncached_handler for ebase in XKPHYS >> MIPS: Handle mips_cps_core_entry within lower 4G >> MIPS: Allow kernel base to be set from Kconfig for all platforms >> >> arch/mips/Kconfig | 18 +++++++++++++---- >> arch/mips/include/asm/mips-cm.h | 1 + >> arch/mips/include/asm/uasm.h | 2 ++ >> arch/mips/kernel/genex.S | 19 +++++++++++++---- >> arch/mips/kernel/smp-cps.c | 27 +++++++++++++++++++------ >> arch/mips/kernel/traps.c | 36 +++++++++++++++++++++++--------= -- >> arch/mips/mm/uasm.c | 6 ++++-- >> 7 files changed, 82 insertions(+), 27 deletions(-) >> >> --=20 >> 2.34.1 >> > > --=20 > Gregory Clement, Bootlin > Embedded Linux and Kernel engineering > http://bootlin.com --=20 - Jiaxun